/*
 Theme Name:   KBS Kunststoff-Beschichtungs-Service GmbH
 Description:  KBS Kunststoff-Beschichtungs-Service GmbH - WordPress Child Theme
 Author:       Neckarmedia
 Author URI:   https://www.neckarmedia.com
 Template:     enfold
 Version:      1.0
*/

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


/* @link https://utopia.fyi/type/calculator?c=375,16,1.2,1540,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.6944rem, 0.6862rem + 0.0351vw, 0.72rem);
  --step--1: clamp(0.8333rem, 0.8119rem + 0.0916vw, 0.9rem);
  --step-0: clamp(1rem, 0.9598rem + 0.1717vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1336rem + 0.2833vw, 1.4063rem);
  --step-2: clamp(1.44rem, 1.3377rem + 0.4365vw, 1.7578rem);
  --step-3: clamp(1.728rem, 1.5769rem + 0.6445vw, 2.1973rem);
  --step-4: clamp(2.0736rem, 1.857rem + 0.9243vw, 2.7466rem);
  --step-5: clamp(2.4883rem, 2.1842rem + 1.2977vw, 3.4332rem);
  --step-6: clamp(2.986rem, 2.5657rem + 1.793vw, 4.2915rem);
  --step-7: clamp(3.5832rem, 3.0098rem + 2.4463vw, 5.3644rem);
  --step-8: clamp(4.2998rem, 3.5254rem + 3.304vw, 6.7055rem);
}

:root {
    --primary-font: 'Roboto', sans-serif;
    --heading-font: 'Roboto', sans-serif;
    --green: #05df71;
}


/* =======================================================================================================================================
Typo
======================================================================================================================================= */
html{-webkit-tap-highlight-color: transparent;}
body{-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;}
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: 600 !important; line-height: 1; letter-spacing: 0 !important; text-transform: inherit !important; margin: 0 0 .4em 0 !important; hyphens: auto;}

#top h1{font-size: var(--step-7);}
#top h2{font-size: var(--step-5);}
#top h2 span{opacity: .4;}
#top h3{font-size: var(--step-2);}
#top h4{font-size: var(--step-1);}
#top h5{font-size: var(--step-0);}
#top h6{font-size: var(--step-0);}

#top p a:where(:not(.wp-element-button)) {
    text-decoration: underline;
}
#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:not(.avia-builder-el-no-sibling){margin-top: 1rem;}
#top .av-special-heading .special-heading-border{display: none;}
#top .av-special-heading .av-special-heading-tag{float: none;}
#top .av-special-heading.avia-builder-el-no-sibling .av-special-heading-tag{margin: 0 !important}
#top .av-special-heading .av-subheading_above p{
    background: #000;
    display: inline-block;
    color: #fff;
    line-height: 1;
    padding: .5em 1em;
    border-radius: 1.5em;
    text-transform: uppercase;
    font-size: var(--step--1);
    margin: 0 0 1.5em 0;
}
#top .av-special-heading .av-subheading_below p{
    font-size: var(--step-2);
    margin: 1em 0 0;
    opacity: .66;
}

#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}
#top mark{color: var(--green);}

/* Button */
#top div .avia-button{
    font-size: var(--step-0);
    font-weight: 600;
    padding: .75em 2em;
    border-radius: 2em;
    background-color: #000;
    border-style: solid;
    border-width: 2px;
    border-color: #000;
    color: #fff;
    text-decoration: none !important;
    text-transform: uppercase;
    line-height: 1;
    transition: .2s ease;
}
#top div .avia-button.avia-color-dark{color: #000 !important; background-color: transparent !important; border-color: #000 !important;}
#top div .avia-button.avia-color-light{color: #ffffff !important; background-color: transparent !important; border-color: #ffffff !important;}
#top div .avia-button.avia-color-theme-color-highlight{color: #000 !important; background-color: var(--green) !important; border-color: var(--green) !important;}
#top div .avia-button:hover{opacity: 1}

html.no-touch-device #top div .avia-button:hover{scale: 1.05;}

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

@media only screen and (min-width: 990px){
    #header .inner-container{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    #header .inner-container > .logo{order: 1; margin-right: auto; position: relative;}
    #header .inner-container > nav{order: 3; position: relative;}
}

/* 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; overflow: visible}
#header_main .inner-container > .logo a{height: auto}
#header_main .inner-container > .logo a svg,
#header_main .inner-container > .logo a img{width: 220px}

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

/* Navigation */
#top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text{
    border-radius: 2em;
    padding: .5em 1.5em;
    color: #000;
    background-color: var(--green);
    text-transform: uppercase;
    font-size: var(--step--1);
}

@media only screen and (min-width: 990px){
	#header_main .inner-container > nav{display: flex; align-items: center;}
	#header_main .inner-container > nav > div,
	#header_main .inner-container > nav > div > ul,
	#header_main .inner-container > nav > div > ul > li{height: 100%}
	#header_main .inner-container > nav > div > ul > li.menu-item{display: flex; align-items: center}
	#header_main .inner-container > nav ul#avia-menu > li > a{line-height: 1.6 !important; height: auto !important; font-size: var(--step-0); font-weight: 600}
    #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{opacity: 1}
}

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


/* =======================================================================================================================================
Accessibility
======================================================================================================================================= */
#top :focus-visible{
    overflow: visible; 
    outline: -webkit-focus-ring-color auto 1px !important; 
    opacity: 1 !important;
	box-shadow: inset 0 0 0 2px #fff;
}


/* =======================================================================================================================================
Misc
======================================================================================================================================= */
/* Layout */
.widgettitle{font-weight: inherit; text-transform: inherit; letter-spacing: inherit; font-size: inherit;}
.__section--small .container{max-width: 1280px;}

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


#top .__no--max--width img{width: 115%; max-width: unset;}

@media (min-width: 1240px){
    #top .__no--max--width img{
        width: calc(100% + ((100vw - 1240px) / 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; 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);}

/* Social Icons */
#top ul.__social--media--icons{
    display: flex;
    gap: 0;
    font-size: var(--step-2);
    margin: 0 0 1em 0;
    line-height: 1;
}
#top ul.__social--media--icons > li > a{padding: .2em .4em;}

/* Card */
#top .__card{
    padding: 2rem;
    border-radius: 1.5em;
    box-shadow: 0 1em 2em rgba(0, 0, 0, .15);
}
#top .__card ul.av-iconlist-small{
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    flex-direction: column;
}
#top .__card ul.av-iconlist-small li{display: flex;}
#top .__card ul.av-iconlist-small li .iconlist_icon{background: #05df710f;}

/* Hero */
#top .__hero .__info--cta{
    background: var(--green);
    display: inline-block;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    color: #000;
    line-height: 1.2;
    position: absolute;
    top: 5vh;
    right: 0;
    transform: rotate(5deg) translate(40px, 0px);
    animation: hero-svg-opacity 1s infinite alternate ease-in-out;
}

#top .__hero h1{text-transform: uppercase !important; font-weight: 700 !important;}
#top .__hero h1 span{color: #fff; display: block;}

#top .__hero .__card{
    background: #ffffff21;
    backdrop-filter: blur(8px);
    border: 1px solid hsl(0deg 0% 100% / 20%);
}
#top .__hero .__card ol li{
    color: #8e8e8e; 
    font-size: var(--step--1); 
    border-bottom: 1px solid hsl(0deg 0% 100% / 20%);
}
#top .__hero .__card ol li strong{color: #fff; display: block;}
#top .__hero .__card ol li::marker{
    color: var(--green);
    font-size: 2em;
    font-weight: 700;
}

#top .__hero ul.av-iconlist-small{display: flex; flex-wrap: wrap; gap: 1rem;}
#top .__hero ul.av-iconlist-small > li{display: inline-flex}
#top .__hero ul.av-iconlist-small > li .iconlist_title_small{line-height: 1.2;}
#top .__hero ul.av-iconlist-small > li svg{
    fill: var(--green); 
    scale: 3;
    animation: hero-svg-opacity 1s infinite alternate ease-in-out;
} 

@keyframes hero-svg-opacity {
    from {
        opacity: 0.25;
    }
    to {
        opacity: 1;
    }
}


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


/* =======================================================================================================================================
Formular
======================================================================================================================================= */
#top .input-text, 
#top input[type=email], 
#top input[type=input], 
#top input[type=number], 
#top input[type=password], 
#top input[type=search], 
#top input[type=tel], 
#top input[type=text], 
#top input[type=url], 
#top select, 
#top textarea{
    font-family: var(--primary-font);
    padding: 1em;
    border-radius: .5em;
    border: 1px solid;
    margin: 0;
    font-size: var(--step--1);
}

#top form label{font-size: var(--step--1)}
#top form button{
	font-size: var(--step--1);
    font-weight: 700;
    padding: 1em 2em;
    border-radius: .5em;
    background: var(--enfold-main-color-color);
    color: var(--enfold-main-color-bg);
	border: 1px solid var(--enfold-main-color-color);
    box-shadow: none;
}
#top .alternate_color form button{
	background: var(--enfold-alternate-color-color);
    color: var(--enfold-alternate-color-bg);
}

/* Formidable Forms */
#top .frm_forms > form .frm_primary_label{
	color: inherit;
	font-weight: 700;
}
#top .frm_forms > form .frm_required{
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
}
#top .frm_forms > form p.description, 
#top .frm_forms > form div.description, 
#top .frm_forms > form div.frm_description, 
#top .frm_forms > form .frm-show-form > div.frm_description, 
#top .frm_forms > form .frm_error, 
#top .frm_forms > form .frm_pro_max_limit_desc{
	color: inherit;
	font-size: var(--step--1);
}
#top .frm_forms .frm_button_submit{
    width: 100%;
    font-size: var(--step-0);
    font-weight: 600;
    padding: .75em 2em;
    border-radius: 2em;
    background-color: #000;
    border-style: solid;
    border-width: 2px;
    border-color: #000;
    color: #fff;
    text-decoration: none !important;
    line-height: 1;
    transition: .2s ease;
}
html.no-touch-device #top .frm_forms .frm_button_submit:hover{scale: 1.05;}

.frm_style_formidable-stil.with_frm_style .frm_error, 
.frm_style_formidable-stil.with_frm_style .frm_limit_error{
    font-weight: normal;
    color: #F04438 !important;
}


/* =======================================================================================================================================
Footer
======================================================================================================================================= */
#footer{padding: 4rem 0 2rem; font-size: var(--step--1);}
#footer p{font-size: var(--step--1);}
#footer .widget{margin: 0;}
#footer .widget .widgettitle{font-size: var(--step--1); font-weight: 600 !important; margin: 0 0 1em 0 !important;}

#footer .container{
    display: flex;
    flex-direction: column;
    gap: 2rem 0;
    flex-wrap: wrap;
}
#footer .container .flex_column{
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-top: 2rem;
    padding-right: 2rem;
    border-top: 1px solid var(--enfold-footer-color-border);
}
#footer .container .flex_column:nth-child(1){
    padding: 0;
    border-top: none;
}
#footer .container .flex_column:nth-child(1) > .widget{max-width: 1100px;}
#footer .container .flex_column:nth-child(1) > .widget img{width: 280px; filter: grayscale(1); margin: 0 0 2rem 0;}

@media (min-width: 990px){
    #footer .container{
        flex-direction: row;
    }
    #footer .container .flex_column:not(:nth-child(1)){
        width: auto;
        flex-basis: 0;
        flex-grow: 1;
    }
}


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

/*Borlabs*/
h2#BorlabsCookieEntranceA11YHeadline, h2#BorlabsCookiePreferencesA11YHeadline {
    font-size: var(--step-1);
}
