/*
 Theme Name:   Iervolino Sanitärtechnik
 Description:  Iervolino Sanitärtechnik Child Theme
 Author:       Antonello Vertucci
 Template:     enfold
 Version:      1.0
*/

/* archivo-narrow-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo Narrow';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/archivo-narrow-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* archivo-narrow-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo Narrow';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/archivo-narrow-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* archivo-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/archivo-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* archivo-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/archivo-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root{
	--primary-font: 'Archivo', sans-serif;
	--heading-font: "Archivo Narrow", sans-serif;;
	--golden-horizon-1: #A65D03;
	--golden-horizon-2: #D9A711;
	--golden-horizon-3: #5FA0D9;
	--golden-horizon-4: #375CA6;
	--golden-horizon-5: #162059;
}

/* @link https://utopia.fyi/type/calculator?c=375,16,1.2,1240,18,1.25,8,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

:root {
  --step--2: clamp(0.69rem, calc(0.68rem + 0.05vw), 0.72rem);
  --step--1: clamp(0.83rem, calc(0.80rem + 0.12vw), 0.90rem);
  --step-0: clamp(1.00rem, calc(0.95rem + 0.23vw), 1.13rem);
  --step-1: clamp(1.20rem, calc(1.11rem + 0.38vw), 1.41rem);
  --step-2: clamp(1.44rem, calc(1.30rem + 0.59vw), 1.76rem);
  --step-3: clamp(1.73rem, calc(1.52rem + 0.87vw), 2.20rem);
  --step-4: clamp(2.07rem, calc(1.78rem + 1.25vw), 2.75rem);
  --step-5: clamp(2.49rem, calc(2.08rem + 1.75vw), 3.43rem);
  --step-6: clamp(2.99rem, calc(2.42rem + 2.41vw), 4.29rem);
  --step-7: clamp(3.58rem, calc(2.81rem + 3.29vw), 5.36rem);
  --step-8: clamp(4.30rem, calc(3.26rem + 4.45vw), 6.71rem);
}



/* =======================================================================================================================================
Typo
======================================================================================================================================= */
html{-webkit-tap-highlight-color: transparent;}
body{-webkit-font-smoothing: antialiased;}
body,p{font-family: var(--primary-font); font-size: var(--step-0); font-weight: 400; line-height: 1.6}
p{margin: 0 0 1em;}
h1,h2,h3,h4,h5,h6{font-family: var(--heading-font); font-weight: 700 !important; line-height: 1.2; letter-spacing: 0 !important; text-transform: inherit !important; margin: 0 0 .4em 0 !important}

#top h1{font-size: var(--step-6);}
#top h2{font-size: var(--step-4);}
#top h3{font-size: var(--step-2);}
#top h4{font-size: var(--step-1);}

#top .special_amp{color: inherit; font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit;}
#top .av-special-heading{padding: 0 !important}
#top .av-special-heading .special-heading-border{display: none;}
#top .av-special-heading.avia-builder-el-no-sibling .av-special-heading-tag{margin: 0 !important}

#top .avia-section b,
#top .avia-section strong,
#top .footer_color b,
#top .footer_color strong,
#top .socket_color b,
#top .socket_color strong{color: inherit}

/* Button */
#top div .avia-button{
    font-size: var(--step--1);
    font-weight: 700;
    padding: 1em 2em;
    border-radius: 0;
    background: var(--golden-horizon-3);
    border: 1px solid var(--golden-horizon-3) !important;
    color: #fff !important;
    text-decoration: none !important;
    -webkit-transition: .2s ease;
    -o-transition: .2s ease;
    transition: .2s ease;
}
#top div .avia-button.avia-color-dark{color: #000 !important;}
#top div .avia-button.avia-color-light{border: 1px solid #fff !important;}
#top div .avia-button:hover{opacity: 1}
html.no-touch-device #top div .avia-button:hover{translate: 0 -2px}

/* Blockquote */
#top blockquote{border: 0; font-size: var(--step-1); margin: 2em 0 2em; padding: 0 0 0 2em; position: relative; max-width: 420px; font-style: italic; line-height: 1.6}
#top blockquote:before{content: '\e833'; font-family: 'entypo-fontello'; position: absolute; top: -.3em; left: 0; opacity: .1; font-size: 4em; font-style: normal; line-height: 1}
#top blockquote p{font-size: 1em; margin: 0}

/* List */
#top .avia_textblock ul{
    list-style: none;
    margin: 0 0 1em 0;
}
#top .avia_textblock ul > li{
    margin: 0 0 0.5em 0;
    padding: 0 0 0 1em;
    position: relative;
}
#top .avia_textblock ul > li:before{
    content: '\e875';
    font-family: 'entypo-fontello';
    position: absolute;
    left: 0;
    display: inline-block;
}



/* =======================================================================================================================================
Header
======================================================================================================================================= */
/* Logo */
#header_main .inner-container > .logo,
#header_main .inner-container > .logo a{display: -webkit-box;display: -ms-flexbox;display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center;}
#header_main .inner-container > .logo a svg,
#header_main .inner-container > .logo a img{width: 160px}

@media only screen and (min-width: 768px){
    #header_main .inner-container > .logo a svg,
    #header_main .inner-container > .logo a img{width: 280px}
}

/* Navigation */
#header_main_alternate .container{max-width: 1620px}

@media only screen and (min-width: 768px){
	#header{margin-bottom: -32px; float: left;}
	#header .header_bg{display: none}
	.html_header_top.html_bottom_nav_header #header_main_alternate .main_menu>div, .html_header_top.html_bottom_nav_header #header_main_alternate .main_menu ul:first-child{height: 70px}
	#header_main_alternate nav.main_menu{box-shadow: 0 15px 40px -15px #333;}
	#header_main_alternate nav.main_menu > .avia-menu{width: 100%}
	#header_main_alternate nav.main_menu ul#avia-menu{display: flex;}
	#header_main_alternate nav.main_menu ul#avia-menu > li{flex-grow: 1; float: inherit; text-align: center;}
	#header_main_alternate nav.main_menu ul#avia-menu > li > a{
		text-shadow: 1px 1px 1px #000;
		height: 70px;
		line-height: 70px;
		background: var(--golden-horizon-3);
		color: #ffffff;
		text-transform: uppercase;
		letter-spacing: 0;
		font-size: 16px;
		border: 0;
	}
	#header_main_alternate nav.main_menu ul#avia-menu > li li > a{font-size: 16px;}
	#header_main_alternate nav.main_menu ul#avia-menu > li:hover > a,
	#header_main_alternate nav.main_menu ul#avia-menu > li.current-menu-item > a{background: var(--golden-horizon-4);}
}

/* Hamburger Menu */
.av-hamburger-box{width: 32px}
.av-hamburger-inner, 
.av-hamburger-inner::before, 
.av-hamburger-inner::after{border-radius: 0}
#top ul#av-burger-menu-ul{vertical-align: top}
#top ul#av-burger-menu-ul li a:hover{background: inherit !important;}
#top ul#av-burger-menu-ul > li > a{font-size: var(--step-0);}
#top ul#av-burger-menu-ul > li li > a{font-size: var(--step--1);}

/* Badges */
.right_badges{position: absolute; right: 30px; top: 8px;}
.right_badges img{width: 80px}

@media only screen and (max-width: 767px){
	.right_badges{display: none;}
}


/* =======================================================================================================================================
Misc
======================================================================================================================================= */
/* Layout */
#top .__section--full .container{max-width: 100%}
#top .__section--full .container .av_one_third img{aspect-ratio: 16/9; object-fit: cover}
#top .content{
	padding-top: clamp(64px, 10vh, 120px);
	padding-bottom: clamp(64px, 10vh, 120px);
}

.avia-section, 
.av-layout-grid-container{max-width: 1620px; margin: auto; float: inherit;}

#wrap_all{
	background-color: #ffffff;
	background-attachment: fixed;
	background-position: top center;
}

/* Images */
#top .av-image-caption-overlay-center p:last-child{font-family: var(--heading-font); font-weight: 700 !important; line-height: 1.2; font-size: var(--step-2)}

/* Slider */
#top .avia-fullwidth-slider{max-width: 1620px; margin: auto;}
#top .avia-fullwidth-slider .container{max-width: 1280px}
#top .avia-fullwidth-slider .avia-slide-wrap > .av-slideshow-caption{position: relative; z-index: 5;}
#top .avia-fullwidth-slider .avia-slide-wrap > .av-slideshow-caption .slideshow_caption{width: 95%; position: static; padding: 10vh 0}
#top .avia-fullwidth-slider .avia-slide-wrap > .av-slideshow-caption .slideshow_caption h1{color: #fff}
#top .avia-fullwidth-slider .avia-slide-wrap > .av-slideshow-caption .slideshow_caption h1 span{color: var(--golden-horizon-3)}
#top .avia-fullwidth-slider .avia-slide-wrap > .av-slideshow-caption .slideshow_caption p{font-size: var(--step-1); color: #fff}
#top .avia-fullwidth-slider .avia-slide-wrap > img{position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover}

#top.home .avia-fullwidth-slider .avia-slide-wrap > .av-slideshow-caption .slideshow_caption{padding: 20vh 0}
#top.home .avia-fullwidth-slider .avia-slide-wrap > .av-slideshow-caption .slideshow_caption h1{font-size: var(--step-5)}

/* CTA */
#top .__cta{position: relative; z-index: 2; max-width: 100%}
#top .__cta .content{display: flex; gap: 2rem; align-items: flex-start; flex-direction: column; padding-bottom: 48px; padding-top: 48px;}
#top .__cta .content > img{width: 160px;}
#top .__cta .content > div{}
#top .__cta .content > div > *:last-child{margin-bottom: 0}

@media only screen and (min-width: 1280px){
	#top .__cta .content{flex-direction: row; align-items: center;}
	#top .__cta .content > img{transform-origin: right center; scale: 2;}
}

/* Icon List */
#top ul.av-iconlist-big{
	display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
}
#top ul.av-iconlist-big > li{padding: 0}
#top ul.av-iconlist-big > li .iconlist-timeline{display: none}
#top ul.av-iconlist-big > li .iconlist_icon {
    background-color: transparent;
    border: 1px solid;
    color: green;
}


/* =======================================================================================================================================
Footer
======================================================================================================================================= */
#footer{padding: 4rem 0 2rem; border: 0}

#socket{font-size: var(--step--1); border: 0}
#socket .container{padding-top: 2rem; padding-bottom: 4rem;}

#scroll-top-link{display: none}