/*
 Theme Name:   Babyschlaf Katharina Seeger
 Theme URI:    https://vertucci.de
 Description:  Babyschlaf Katharina Seeger - WordPress Child Theme
 Author:       Antonello Vertucci
 Author URI:   https://vertucci.de
 Template:     enfold
 Version:      1.0
*/

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

:root{
    --primary-font-family: 'Figtree', sans-serif;
    --heading-font-family: 'Prata', sans-serif;
}

/* @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-family); 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-family); font-weight: 400; line-height: 1.4; letter-spacing: 0 !important; text-transform: inherit !important; margin: 0 0 .4em 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 p a{
    text-decoration: underline;
    text-decoration-thickness: .05em;
    text-underline-offset: .2em;
}

#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-layout-grid-container b,
#top .av-layout-grid-container strong,
#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-0);
    font-weight: 700;
    padding: .8em 2.4em;
    border-radius: 1em;
    background: var(--enfold-main-color-heading);
    border: 2px solid var(--enfold-main-color-heading) !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: .2s ease;
    font-family: var(--heading-font-family);
}
#top div .avia-button.avia-color-dark{color: var(--enfold-main-color-heading) !important;}
#top div .avia-button.avia-color-light{border-color: #fff !important;}
#top div .avia-color-theme-color-highlight{border-color: var(--enfold-main-color-border) !important; color: var(--enfold-main-color-border) !important; background: transparent !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){
    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{
    translate: 0 8px;
    border-radius: 50%;
    scale: 1.4;
    width: 80px;
	padding: 4px;
    transform-origin: top left;
    background: #fff;
    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);
	transition: .2s;
}
#header_main .inner-container > .logo a{transition: .2s;}
#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: 80px; transition: .3s}


@media only screen and (min-width: 990px){
	#header_main .inner-container > .logo:hover{scale: 1.6;}
	#header_main .inner-container > .logo:hover a{rotate: -16deg}
	#header_main .inner-container > .logo,
	#header_main .inner-container > .logo a svg,
    #header_main .inner-container > .logo a img{width: 120px}
}

/* Navigation */
@media only screen and (max-width: 989px){
#header_main ul > li.aside_cta_trigger{display: none}
}

@media only screen and (min-width: 990px){
    #header_main .inner-container > nav ul#avia-menu > li > a{font-size: var(--step-0); font-weight: 400; text-transform: uppercase;}
    #header_main .inner-container > nav ul#avia-menu > li li > a{font-size: var(--step--1); font-weight: 400}
    #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 > a > .avia-menu-text{}
    #header_main .inner-container > nav ul#avia-menu > li > a i{font-size: 3em; margin: 0 0 0 1em}
}

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


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

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

/* Pakete */
@media only screen and (min-width: 990px){
	#pakete .__highlight{transform: scale(1.1); z-index: 5; box-shadow: 0 0 16px 0 rgba(10, 10, 10, 0.2);}
}

/* 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);}

/* Slideshow */
#top .slideshow_align_caption{vertical-align: bottom;}
#top .slideshow_caption{width: 66%}
.caption_framed .slideshow_caption .avia-caption-content p, 
.caption_framed .slideshow_caption .avia-caption-title, 
.avia-caption .avia-caption-content p, 
.avia-caption .avia-caption-title{background: #808E99}

@media only screen and (min-width: 1440px){
    #top .slideshow_align_caption .avia-caption-title{font-size: var(--step-4); padding: 1em}
	#top .slideshow_caption{width: 44%}
}

/* Step box */
#top .__section--steps .container{max-width: 1440px}
#top .__section--steps .entry-content-wrapper > .flex_column{padding: 2rem; background: var(--enfold-footer-color-bg); box-shadow: 0px 8px 16px #0000004f;}
#top .__section--steps .entry-content-wrapper > .flex_column *{color: #fff}
#top .__section--steps .entry-content-wrapper > .flex_column:before{
    visibility: visible;
    opacity: 1;
    display: inline-block;
    font-size: 24px;
    color: #fff;
    height: auto;
    width: auto;
    background: var(--enfold-main-color-heading);
    font-family: var(--heading-font-family);
    padding: .5em 1em;
    border-radius: .2em;
    margin: 0 0 1em 0;
	z-index: 2;
}
#top .__section--steps .entry-content-wrapper > .flex_column:nth-child(1)::before{content: '1.'}
#top .__section--steps .entry-content-wrapper > .flex_column:nth-child(2)::before{content: '2.'}
#top .__section--steps .entry-content-wrapper > .flex_column:nth-child(3)::before{content: '3.'}

@media only screen and (min-width: 990px){
    #top .__section--steps .entry-content-wrapper > .flex_column::before{
		position: absolute;
        top: -3.5em;
        left: 32px;
        margin: 0;
        font-size: 32px;
    }    
	#top .__section--steps .entry-content-wrapper > .flex_column:after{
		content: '';
		width: 2px;
		height: 2em;
		position: absolute;
		top: -2em;
		left: 45px;
		background: var(--enfold-main-color-heading);
		visibility: visible;
		z-index: 1;
	}
}

/* Box */
#top .avia_textblock.__box{
    background: var(--enfold-main-color-heading);
    padding: 2rem;
    display: inline-block;
    color: #fff;
}
#top .avia_textblock.__box *{color: #fff; margin: 0 !important}


/* =======================================================================================================================================
Section Styled 1
======================================================================================================================================= */
.__section--styled-1 {
    background-color: transparent;
}

#top .__section--styled-1 .content {
    padding: 80px 0
}

#top .__section--styled-1 .entry-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column
}

#top .__section--styled-1 .entry-content-wrapper:before,#top .__section--styled-1 .entry-content-wrapper:after {
    display: none
}

#top .__section--styled-1 .entry-content-wrapper .flex_column {
    margin: 0 !important;
    width: 100%;
    max-width: 100%
}

#top .__section--styled-1 .entry-content-wrapper .__text {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 2em 4%;
    max-width: 100%;
    box-shadow: 0 16px 64px rgba(0,0,0,.1)
}

#top .__section--styled-1 .entry-content-wrapper .__media {
    position: relative;
    z-index: 1
}

#top .__section--styled-1 .entry-content-wrapper .__media img{
    aspect-ratio: 1/1;
    width: 100% !important;
    height: 100% !important;
    -o-object-fit: cover;
    object-fit: cover
}

@media only screen and (min-width: 990px) {
    #top .__section--styled-1 .entry-content-wrapper {
        flex-direction:row
    }

    #top .__section--styled-1 .entry-content-wrapper .__text {
        translate: 40px 0;
        max-width: 520px
    }

    #top .__section--styled-1 .entry-content-wrapper .__media img{
        aspect-ratio: 12/16
    }

    #top .__section--styled-1 .entry-content-wrapper .__media {
        max-width: 50%
    }
}


/* =======================================================================================================================================
Formular
======================================================================================================================================= */
#top .input-text, #top input[type="text"], #top input[type="input"], #top input[type="password"], #top input[type="email"], #top input[type="number"], #top input[type="url"], #top input[type="tel"], #top input[type="search"], #top textarea, #top select{
	margin: 0;
    border-radius: .5em;
    padding: 1em;
    font-family: inherit;
}
#top form button{
	font-size: var(--step-0);
    font-weight: 700;
    padding: .8em 2.4em;
    border-radius: 1em;
    background: var(--enfold-main-color-heading);
    border: 2px solid var(--enfold-main-color-heading) !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: .2s ease;
    font-family: var(--heading-font-family);
	margin: 0;
	width: 100%;
}

#top .frm_style_formidable-style.with_frm_style .frm_blank_field input{border-color: #B94A48;}
#top .frm_forms form p{font-size: var(--step--1); margin: 0}


/* =======================================================================================================================================
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}
#footer .widget_nav_menu li{font-size: inherit}
#footer a {
    text-decoration: underline;
    text-decoration-thickness: .05em;
    text-underline-offset: .2em;
}

#socket{font-size: var(--step--1);}
#socket .container{padding-top: 1.5rem; padding-bottom: 3rem;}

#scroll-top-link{height: 56px; width: 48px; line-height: 56px; border-radius: 0; border: 0 !important; background: #f2f2f2}
#scroll-top-link.avia_pop_class{opacity: 1}
#scroll-top-link:hover{background: #f2f2f2}
#scroll-top-link:before{content: '\e87e'}
#scroll-top-link{display: none !important}



