/*
 Theme Name:   Ali Tasci
 Description:  Ali Tasci WordPress Child Theme
 Author:       Antonello Vertucci
 Template:     enfold
 Version:      1.0
*/

/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/montserrat-v26-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - 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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/montserrat-v26-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root{
	--primary-color: #00a886;
	--secondary-color: #1d2c38;
}

/* @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: 'Montserrat', sans-serif; font-size: var(--step-0); font-weight: 400; line-height: 1.6}
p{margin: 0 0 1em;}
b,strong{font-weight: 600}
h1,h2,h3,h4,h5,h6{font-family: 'Montserrat', sans-serif; font-weight: 400; line-height: 1.2; letter-spacing: -0.025em !important; text-transform: inherit !important; margin: 0 0 1em 0 !important}

#top h1{font-size: var(--step-4);}
#top h2{font-size: var(--step-3);}
#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 .av-special-heading h1:after,
#top .av-special-heading h2:after{
	content: '';
	width: 146px;
	height: 3px;
	display: block;
	background: linear-gradient(90deg, var(--primary-color) 0, var(--primary-color) 33%, transparent 33%, transparent 37%, var(--secondary-color) 37%, var(--secondary-color) 100%);
	margin: .4em 0 0 .1em;
}

#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}

.main_color strong, .main_color b{color: inherit}
.avia_textblock p a{text-decoration: underline !important}

/* Button */
#top div .avia-button{
    font-size: var(--step-0);
    font-weight: 700;
    padding: 1em 2em;
    border-radius: .6em;
    background: var(--primary-color);
    border: 1px solid var(--primary-color) !important;
    color: #fff;
    text-decoration: none !important;
    transition: .2s ease;
}
#top div .avia-button.avia-color-dark{color: #000;}
#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 .entry-content-wrapper ul{
    list-style: none;
    margin: 0 0 1em 0;
}
#top .entry-content-wrapper ul > li{
    margin: 0 0 0.5em 0;
    padding: 0 0 0 1em;
    position: relative;
}
#top .entry-content-wrapper ul > li:before{
    content: '\e875';
    font-family: 'entypo-fontello';
    position: absolute;
    left: 0;
    display: inline-block;
}


/* =======================================================================================================================================
Header
======================================================================================================================================= */
#header:not(.av_header_transparency){
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.02), 0 2px 2px rgba(0,0,0,0.02), 0 4px 4px rgba(0,0,0,0.02), 0 6px 8px rgba(0,0,0,0.02), 0 8px 16px rgba(0,0,0,0.02);
    box-shadow: 0 1px 1px rgba(0,0,0,0.02), 0 2px 2px rgba(0,0,0,0.02), 0 4px 4px rgba(0,0,0,0.02), 0 6px 8px rgba(0,0,0,0.02), 0 8px 16px rgba(0,0,0,0.02);
}

@media only screen and (max-width: 989px){ 
    .responsive #top #header{position: fixed !important; top: 0; left: 0; right: 0; width: 100%}
    .responsive #top #main,
    .responsive.html_mobile_menu_tablet.html_header_top #top #main{padding-top: 80px !important}
    .responsive #top #wrap_all .av-logo-container,
    .responsive #top #header_main > .container .main_menu .av-main-nav > li > a,
    .responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container,
    .responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a{
        height: 80px;
        line-height: 80px;
    }
}

/* Logo */
#header_main .inner-container > .logo,
#header_main .inner-container > .logo a{display: flex; align-items: center;}
#header_main .inner-container > .logo a svg,
#header_main .inner-container > .logo a img{width: auto; height: 40px !important}

@media only screen and (min-width: 1280px){
    #header_main .inner-container > .logo a svg,
    #header_main .inner-container > .logo a img{height: 64px !important}
}


/* Navigation */
#top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text{
    padding: .6em 1.2em;
    border-radius: .6em;
}

@media only screen and (min-width: 768px){
    #header_main .inner-container > nav ul#avia-menu > li > a{font-size: var(--step--1); font-weight: 600; padding: 0 1em}
	#header_main .inner-container > nav ul#avia-menu > li > a i{display: inline-block; font-size: 1.5em; color: var(--primary-color)}
    #header_main .inner-container > nav ul#avia-menu > li li > a{font-size: var(--step--1); font-weight: 600}
    #header_main .inner-container > nav ul#avia-menu li:hover > a > .avia-menu-text,
    #header_main .inner-container > nav ul#avia-menu li.current-menu-item:not(.av-menu-button) > a > .avia-menu-text{color: var(--primary-color)}
}

@media only screen and (min-width: 1280px){
	#header_main .inner-container > nav ul#avia-menu > li > a{font-size: var(--step-0);}
}

/* 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-2); border: 0; padding-top: 1em !important; padding-bottom: 1em !important}
#top ul#av-burger-menu-ul > li li > a{font-size: var(--step-1); border: 0}


/* =======================================================================================================================================
Misc
======================================================================================================================================= */
/* Layout */
@media only screen and (max-width: 767px){
    .responsive #top #wrap_all .container{width: 90%; max-width: 90%;}
}

#top.home .avia-section{background-image: url(https://www.transparenttextures.com/patterns/concrete-wall.png); background-image: url("https://www.transparenttextures.com/patterns/nistri.png");}

/* Images */
#top .image-overlay{display: none !important;}
#top .avia_image,
#top .av-image-caption-overlay,
#top .avia-image-container-inner{border-radius: 0}

/* Toggle */
#top section.av_toggle_section .toggler{padding: 1em 3em 1em 1rem; margin: 0 0 .8em; font-size: var(--step-0); background: transparent; border: 1px solid #ebebeb; border-radius: .5em}
#top section.av_toggle_section .toggler:hover{background: transparent;}
#top section.av_toggle_section .toggler .toggle_icon{display: none;}
#top section.av_toggle_section .toggler:after{
    content: '\e87d';
    font-family: 'entypo-fontello';
    position: absolute;
    right: 1em;
    transition: .2s ease;
}
#top section.av_toggle_section .toggler.activeTitle:after{rotate: 90deg}
#top section.av_toggle_section .toggle_content{border: 0; background: transparent; padding: .5em 1rem 1.5em;}
#top section.av_toggle_section .toggle_content *{font-size: var(--step--1);}


/* =======================================================================================================================================
Template Section 1
======================================================================================================================================= */
#top .__template--section--1{display: flex; flex-wrap: wrap; align-items: flex-start}
#top .__template--section--1 > .flex_cell{flex-basis: 100%; width: 100%;}
#top .__template--section--1 > .flex_cell:nth-child(1){padding: 4rem 4%; position: relative;}
#top .__template--section--1 > .flex_cell:nth-child(1)::before{
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000a8;
}
#top .__template--section--1 > .flex_cell:nth-child(1) *{color: #fff}
#top .__template--section--1 > .flex_cell:nth-child(2){padding: 4rem 4%}
#top .__template--section--1 > .flex_cell:nth-child(2) .avia_textblock{max-width: 990px}

#top .__template--section--1 > .flex_cell:nth-child(1) .widget{padding: 0}
#top .__template--section--1 > .flex_cell:nth-child(1) ul.menu{margin: 0}
#top .__template--section--1 > .flex_cell:nth-child(1) ul.menu > li{font-size: var(--step-0); margin: 0; padding: .4em .4em .4em 1.4em; transition: .2s}
#top .__template--section--1 > .flex_cell:nth-child(1) ul.menu > li:hover a{translate: .25em 0;}
#top .__template--section--1 > .flex_cell:nth-child(1) ul.menu > li > a{padding: 0; transition: .2s; font-size: 1em}
#top .__template--section--1 > .flex_cell:nth-child(1) ul.menu > li.current-menu-item{background: transparent; color: var(--primary-color)}
#top .__template--section--1 > .flex_cell:nth-child(1) ul.menu > li.current-menu-item > a{font-weight: 600; translate: .25em 0;}
#top .__template--section--1 > .flex_cell:nth-child(1) ul.menu > li:before{content: '\e88d';}

@media only screen and (min-width: 990px){
	#top .__template--section--1 > .flex_cell:nth-child(1){flex-basis: 0; flex-grow: 1; width: auto; position: sticky; top: 90px; min-height: calc(100vh - 90px);}	
	#top .__template--section--1 > .flex_cell:nth-child(2){flex-basis: 0; flex-grow: 4; width: auto; float: left}
    html.responsive, .responsive body, #wrap_all {
        overflow: inherit;
        overflow-x: inherit;
        overflow-y: inherit !important;
    }

}

@media only screen and (min-width: 1440px){
	#top .__template--section--1 > .flex_cell:nth-child(1) ul.menu > li{font-size: var(--step-1)}
	#top .__template--section--1 > .flex_cell:nth-child(1){padding: 4rem 4% 4rem calc((100vw - 1340px) / 2);}
}


/* =======================================================================================================================================
Blog: Single Post
======================================================================================================================================= */
#top .template-single-blog article.post-entry .big-preview{max-width: 720px; margin: auto;}
#top .fullsize .template-blog .post .entry-content-wrapper{max-width: 720px; text-align: left; line-height: 1.6; font-size: var(--step-0);}
#top .template-single-blog article.post-entry .entry-content-wrapper header h1{text-align: left; font-size: var(--step-3); padding: 1rem 0}
#top .template-single-blog article.post-entry .entry-content-wrapper header .post-meta-infos{text-align: left; font-size: var(--step--1);}


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

#socket{font-size: var(--step--1);}
#socket .container{padding-top: 2rem; padding-bottom: 4rem;}
#socket .copyright a{font-weight: 600}

#scroll-top-link{display: none !important}
