/*
Theme Name: YourProtect Child
Author: WebGeniusLab
Author URI: http://webgeniuslab.net
Description: -
Version: 1.0
Template: yourprotect
Text Domain: yourprotect-child
*/

/*
 * LAYOUT 
 */
.wgl-container {width: 1280px;}

/*
 * STICKY HEADER 
 */
/***
* class: .sticky-header
*/
header.sticky-header {
	--header-height: 60px;
	--shrink-header-to: 0.6;
	--transition: .45s cubic-bezier(.4, 0, .2, 1);
	background-color: rgba(255, 255, 255, 1);
	transition: background-color var(--transition),
				backdrop-filter var(--transition),
				box-shadow var(--transition);
}

/***
* Sticky header activated
*/
header.sticky-header.elementor-sticky--effects {
	background-color: rgba(255, 255, 255, .8);
	box-shadow: 0px 4px 33px 1px rgba(0, 0, 0, .07);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
}
header.sticky-header > .elementor-container {
	min-height: var(--header-height);
	transition: min-height var(--transition);
}
header.sticky-header.elementor-sticky--effects > .elementor-container {
	min-height: calc( var(--header-height) * var(--shrink-header-to) );
}

/***
* Shorter header on mobile (70px instead of 100px)
*/
@media only screen and (max-width: 767px) {
	header.sticky-header {
		--header-height: 50px;
	}
	
	.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer > ul {text-align:left;}
}

/***
* class: .logo
*/
header.sticky-header .logo img {
	transition: transform var(--transition);
}
header.sticky-header.elementor-sticky--effects .logo img {
	/*transform: scale(.8);*/
}

/*
 * TOP HEADER 
 */
 #header_top_colonna_3 > .elementor-widget-wrap {justify-content: flex-end;}
 #header_top_colonna_3 > .elementor-widget-wrap > div {width: auto; margin-bottom: 0;}
 #lang_sel_footer {margin-bottom: 0;}
 
 
.wgl-header-row-section_top .wgl-button:hover,
.wgl-header-row-section_top .wgl-button:active {border: 1px solid #FFF;}
#top-payoff {font-size: 12px;}
.top-socials {margin-left: 5px;display: inline-block;padding-top: 12px;}
a.top-socials img {height: 18px; width: auto;}

/*
 * HEADER MIDDLE
*/
 #header_colonna_3 > .elementor-widget-wrap {justify-content: flex-end;}
 #header_colonna_3 > .elementor-widget-wrap > div {width: auto; margin-bottom: 0;}
 #header_colonna_3 .header_search-button:before {color: transparent;}
 #header_colonna_3 .header_search-button {background-image: url(/wp-content/uploads/2022/03/cerca.png);background-repeat: no-repeat;background-position: 0px 8px;}
 #header_colonna_2_mobile > .elementor-widget-wrap {justify-content: flex-end;}
 #header_colonna_2_mobile > .elementor-widget-wrap > div {width: auto; margin-bottom: 0; margin-left: 8px;}
 #header_colonna_2_mobile .header_search-button:before {color: transparent;}
 #header_colonna_2_mobile .header_search-button {background-image: url(/wp-content/uploads/2022/03/cerca.png);background-repeat: no-repeat;background-position: 0px 8px;}


/*
 * 
 */
.home #main {padding-top: 0;}


