/*
    Template: pearl
    Theme Name: Pearl Child Theme
    Theme URI: http://pearl.stylemixthemes.com/
    Author: StylemixThemes
    Author URI: http://stylemixthemes.com/
    Description: Pearl WP is a true multi-niche WordPress theme, which consist of several micro-niche themes. Each micro-niche layout has its own features, modules and specifications. You can use UI modules from any layout and mix it with other UI modules. 300+ UI modules and 250+ prebuilt pages are available for use. Open the shell and find the Pearl!
    Version: 1.1.1
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: beauty salon, blog, business, church, coach, construction, consulting, corporate, ecommerce, multipurpose, music, portfolio, restaurant, transportation, travel, custom-header, custom-menu, editor-style, sticky-post, theme-options
	Text Domain: pearl-child-theme
*/

/* Home */
body.home .stm_markup__content > h1 { 
	display: none; 
}
body.home .stm-header {
	margin-bottom: -60px;
}

/* Titoli */
body .stm_titlebox_style_2 {
	background-color: #fff !important;
	padding: 50px 0;	
}
body .stm_titlebox_style_2 .stm_titlebox__title.h1 {
	color: #fff;
	text-align: left;
	text-shadow: 1px 2px 2px rgba(0,0,0,0.7);
}

/* Breadcrumb */
.stm_page_bc .stm_breadcrumbs .container {
	padding: 0;
}

/* Header */
.stm-header .fullwidth-header-part {
	padding: 0 40px;	
}
.stm-header .stm-header__cell.stm-header__cell_center {
	flex-direction: column;
}
.stm-header .stm-header__cell.stm-header__cell_center div {
	margin: 0 15px 5px 0;
}
.stm-header .stm-navigation__hamburger .stm_mobile__switcher span {
    height: 2px;
    width: 35px;
}
body .stm-header .pearl_is_sticky.pearl_sticked .stm-logo {
  	margin: 0 0 -5px 0 !important;
}
body .stm-header .pearl_is_sticky.pearl_sticked .logo:nth-child(1) {
  	display: block !important;
	width: 65px !important;
}
.stm-header .pearl_is_sticky.pearl_sticked .stm-header__cell.stm-header__cell_center div:nth-child(2) {
  	display: none !important;
}

/* Menu */
.stm-navigation__default > ul > li {
	background-color: #fff !important;
}
.stm-header.active .stm-navigation__hamburger > ul {
	margin-top: 70px;
  	background-color: #ffff !important;
}
body.stm_header_style_1 .stm-navigation__line_bottom > ul > li:hover {
  	padding: 0 20px;
}
body.stm_header_style_1 .stm-navigation > ul > li.current-menu-item:before,
body.stm_header_style_1 .stm-navigation__line_bottom > ul > li:hover:before {
  	bottom: 0;
}
.stm-navigation__default > ul > li > a {
  	font-weight: 400 !important;
}
.stm-navigation__default > ul > li > a:hover,
.stm-navigation__default > ul > li.current-menu-item > a{
  	font-weight: 700 !important;
}
.stm-navigation__default > ul > li:hover > ul {
  	top: 34px;
  	overflow: visible !important;
}
html > body.stm_header_style_1 .stm-navigation__hamburger > ul > li ul.sub-menu li > a {
    color: #222222 !important;
	font-weight: 400 !important;
}

/* NexGEN Gallery */
body .ngg-albumoverview.default-view .ngg-album-compact {
  	padding: 0 !important;
	border: 0 !important;
    box-shadow: none;
}
body .ngg-album-compactbox {
  	padding: 0 !important;
	box-shadow: 0 0 4px 2px rgba(150,150,150,.1);
}
body.page-id-2435 .ngg-albumoverview.default-view .ngg-album-compact {
  	width: 30%;
}

/* Medaglie */
body.page-id-3145 img.medaglia {
	width: 60px;
}

/* Staff e News*/
#staff .vc_grid-item .vc_gitem-zone,
#news .vc_grid-item .vc_gitem-zone {
	background-color: transparent !important;	
	text-align: center;
}
#news .vc_grid-item .vc_gitem-zone {	
	text-align: left;
}
#staff .vc_grid-item .vc_gitem-zone .vc_gitem-zone-mini .vc_btn3.vc_btn3-color-juicy-pink,
#news .vc_grid-item .vc_gitem-zone .vc_gitem-zone-mini .vc_btn3.vc_btn3-color-juicy-pink {
	background-color: #75c91b;
	border-radius: 0;
	letter-spacing: 1.1px;
  	padding: 11px 33px 10px;
  	font-weight: 600;
  	font-size: 12px;
	text-transform: uppercase;	
}
#staff .vc_grid-item .vc_gitem-zone .vc_gitem-zone-mini .vc_btn3-container {
	text-align: center !important;
}
#staff .vc_grid-item .vc_gitem-zone .vc_gitem-zone-mini .vc_btn3-container .vc_btn3.vc_btn3-color-juicy-pink:hover,
#snews .vc_grid-item .vc_gitem-zone .vc_gitem-zone-mini .vc_btn3-container .vc_btn3.vc_btn3-color-juicy-pink:hover {
	background-color: #293742;
}
#staff .vc_grid-item .vc_gitem-zone .vc_gitem-zone-mini h4 {
	font-size: 26px;
	margin-bottom: 10px;
	text-align: center !important;
}
#news .vc_grid-item .vc_gitem-zone .vc_gitem-zone-mini h4 {
	font-size: 20px;
	margin-bottom: 10px;
}

/* Form */
.stm_form_style_4 input[type="text"], .stm_form_style_4 input[type="email"], .stm_form_style_4 input[type="search"], .stm_form_style_4 input[type="password"], .stm_form_style_4 input[type="number"], .stm_form_style_4 input[type="date"], .stm_form_style_4 input[type="tel"], .stm_form_style_4 textarea, .stm_form_style_4 .stm_select .form-control {
  	border: 1px solid #e1e4eb !important;
}
form .stm_form_style_4 .wpcf7-form-control-wrap {
  	margin-bottom: 10px;
}
form p {
  	margin-bottom: 10px;
}
form textarea {
  	min-height: 110px;
}
form span[data-name="field-privacy"] {
  	display: inline;
}
.addresses_wr form .wpcf7-submit {
	background-color: #152229 !important;	
}

/* Sidebar */
.sidebar_inner {
	margin-top: 20px;
}
.sidebar_inner #slideshow-4 {
	padding-bottom: 0;
}
.sidebar_inner #slideshow-4 .ngg_slideshow.widget {
	padding-bottom: 0;
  	border-bottom: 0;
}
.sidebar_inner #tag_cloud-3 {
	border-bottom: 0;
}
.sidebar_inner .widgettitle h5 {
	font-weight: 500;
}

/* Maps */
body .stm_gmap_wrapper.style_2 .gmap_addresses .addresses_wr {
  	padding: 30px 60px 0;
}
#mappa-contatti .gmap_addresses {
	display: none;
}

/* Blog */
body.single-post .stm_titlebox,
body.archive .stm_titlebox,
body.search .stm_titlebox {
	background-image: url(/wp-content/uploads/2019/09/bg-terra-rossa.jpg);
}
body.archive .stm_titlebox,
body.search .stm_titlebox {
	margin-bottom: 12px;
}
body.single-post .stm_titlebox:after,
body.archive .stm_titlebox:after,
body.search .stm_titlebox:after {
  	background-color: transparent;
}
body.single-post .stm-header,
body.archive .stm-header {
	margin-bottom: 0;	
}

/* Projects/Team */
.stm_markup__stm_projects .stm_post_details {
	display: none;
}

/* Footer */
.stm-footer .stm-footer__bottom {
  	border-top: 0;
}
.stm-footer .ngg-widget img {
  	border: 0;
}
.stm-footer h4 {
  	font-size: 18px;
}
.stm-footer #text-4 p {
	padding-right: 18%;	
}

/* Barre skills */
body .vc_progress_bar .vc_single_bar .vc_label:after {
	display: none;
}

/* Varie */
.inline {
	display: inline !important;	
}

/**************/
/* RESPONSIVE */
/**************/
@media (max-width: 1023px) {
	.stm-header .fullwidth-header-part {
  		padding: 0 20px;
	}
	.stm-header .stm-header__cell.stm-header__cell_center {
  		display: none;
	}
	.stm-header.active .stm-navigation__hamburger > ul {
  		height: auto;
	}
  	body.stm_header_style_1 .stm-navigation__default ul a {
    	padding: 10px 10px 10px 0 !important;
  	}
  	body.stm_header_style_1 .stm-navigation__default ul ul a {
    	padding: 6px 10px 6px 10px !important;
  	}
  	body.stm_layout_business.stm_header_style_1 .stm_titlebox {
    	margin-top: 0;
  	}
	body.stm_sticky_header_mobile .stm_mobile__header {
    	position: static !important;
		padding: 10px 15px;
  	}
  	body.stm_header_style_1 .stm_mobile__header {
    	margin-bottom: 0;
  	}
  	body.home.stm_sticky_header_mobile .stm_mobile__header {
		margin-bottom: 0 !important;
  	}
	body.stm_header_style_1 .stm_mobile__header,
	body.stm_header_style_1 .stm-header {
    	background-color: #fff !important;
  	}
  	body.stm_header_style_1 .stm_mobile__logo img {
    	width: 60px;
  	}
  	body.stm_header_style_1 .stm-navigation.stm-navigation__default ul li ul.sub-menu li a {
    	color: #222 !important;
  	}
	body .stm_gmap_wrapper.style_2 .gmap_addresses .addresses_wr {
	  padding: 30px 30px;
	}
  	body .stm_gmap_wrapper.style_2 .gmap_addresses .addresses_wr {
    	right: 0;
  	}
	.stm-footer .stm_markup__content {
    	width: 50% !important;
  	}
  	.stm-footer .stm_markup__sidebar {
    	width: auto !important;
  	}
	#sponsor .ngg-galleryoverview.default-view .ngg-gallery-thumbnail a {
  		margin: 10px;
	}
}
@media (max-width: 991px) {
  	body .stm_gmap_wrapper.style_2 .gmap_addresses .addresses_wr {
    	right: -40px;
  	}
	body.page-id-2435 .ngg-albumoverview.default-view .ngg-album-compact {
		width: 45%;
	}
}
@media (max-width: 767px) {
  	body.stm_sticky_header_mobile .stm_mobile__header {
    	position: fixed !important;
  	}
  	body.stm_layout_business.stm_header_style_1 .stm_titlebox {
    	margin-top: 80px;
  	}
  	.stm-footer {
	  	text-align: center !important;
  	}
	.stm-footer #text-4 p {
	  	padding: 0 8%;
	}
	.stm-footer .ngg-widget {
  		padding: 0 5%;
	}
	.stm-footer .stm-footer__bottom {
	  	padding-bottom: 40px;
	}
	.stm-footer .stm_footer_bottom__right {
		display: none;	
	}
	.stm-footer .stm-socials {
	  	margin-top: -15px;
	}
}
@media (max-width: 550px) {
	.stm_sticky_header_placeholder {
		display: none;
	}
	.stm-footer .stm-footer__bottom .stm_markup__content {
    	width: 100% !important;
  	}
  	.stm-footer .stm-footer__bottom .stm_markup__sidebar {
    	width: 100% !important;
  	}
  	.stm-footer .stm-footer__bottom .stm_markup__sidebar .stm_markup__sidebar {
    	display: none;
  	}
  	.stm-footer .stm-socials {
    	width: 100%;
		text-align: center;
		margin: 10px 0 !important;
  	}
  	.stm-footer .stm-socials a {
    	float: none;
		display: inline-block;
  	}
	.stm-footer .ngg-widget img {
  		width: CALC(33% - 1px);
	}
	body.page-id-3145 img.medaglia {
		width: 40px;
		margin-bottom: 5px !important;
		vertical-align: -10px;
	}
	body.page-id-3145 p {
	  	line-height: 16px;
	}
	body.page-id-3145 p br {
	  	content: "";
	  	margin: 2em;
	  	display: block;
	  	font-size: 24%;
	}
}



