/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/************* 
    BASIC   
*************/
.fusion-text p {
    margin: 0 !important;
}
.textcenter {
    text-align: center;
}
.positionabsolut {
    position: absolute !important;
    top: 60px;
    z-index: 999 !important;
    width: 100%;
    left: 50%;
    max-width: 300px !important;
    transform: translateX(-50%);
}
.btnwithicon .button-icon-right {
    font-size: 30px;
    position: absolute;
    right: 20px;
}
.btnwithicon .fusion-button-text {
    padding-right: 40px !important;
}

/************* 
    Header
*************/
.fusion-standard-logo {
    width: auto !important;
    height: 45px !important;
    max-width: none !important;
}
.mainmenu>ul>li>a>.fusion-megamenu-image>img {
    width: auto !important;
    height: 45px !important;
    max-height: none !important;
}
#wrapper .fusion-main-menu > ul > li > a, 
#wrapper .fusion-vertical-menu-widget ul.menu li a {
    text-transform: uppercase;
    padding: 0 20px;
}

/************* 
    CONTENT
**************/
#content .hundred-percent-fullwidth .fusion-imageframe {
    display: block;
}
#content .hundred-percent-fullwidth .fusion-imageframe img {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}
.fusion-counters-box .fusion-counter-box {
    padding: 0 !important;
    margin: 0 !important;
}
.fusion-counters-box .fusion-counter-box .counter-box-container {
    padding: 0 !important;
    border: none !important;
}
.fusion-counters-box .fusion-counter-box .display-counter {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    line-height: normal;
    font-size: 60px;
    background: -webkit-linear-gradient(#7c9d84, #c2d24f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.fusion-counters-box .fusion-counter-box .counter-box-container .counter-box-content {
    font-size: 16px;
    text-transform: uppercase;
}

.fusion-checklist .fusion-li-item {
    display: inline-flex;
}
.fusion-checklist .fusion-li-item-content, ul.fusion-checklist .fusion-li-item-content {
    margin: 0 !important;
}
.fusion-checklist .icon-wrapper, ul.fusion-checklist .icon-wrapper {
   float: none !important;
}

.firstline:before {
    content: "";
    background: #fff;
    display: block;
    width: 20px;
}
.lastline:after{
    content: "";
    background: #fff;
    display: block;
    width: 150px;
}

@media (max-width: 1024px) {
    .firstline:before {
        display: none;
    }
    .lastline:after{
        display: none;
    }
    .coc-teaser .fusion-button {
        width: 100% !important;
        margin: 0 !important;
    }
    .coc-teaser .fusion-title,
    .coc-teaser .fusion-text {
        margin: 0 !important;
    }
}

.coc-icon {
    margin: -40px auto 0;
}
.coc-servicelist {
    width: auto;
    max-width: none;
    display: inline-block;
    text-align: center;
}
.coc-servicelist li {
    display: inline-block !important;
    text-align: center;
    background: #fff;
    border: 1px solid #000;
    padding: 0 !important;
    margin: 0 !important;
    line-height: normal;
    height: auto !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    margin: 0 5px 10px !important;
}
.coc-servicelist .circle-no {
    display: none !important;
}
.automotive-icon img {
    width: 200px;
}

/* Historie */
.esc-historie .fusion-button {
    width: 220px;
    font-weight: normal;
    font-size: 20px;
    text-align: center;
}
.esc-historie .btngroup {
    border: none !important;
    padding: 0 !important;
}
#esc-timeline-project-wrapper .fusion-button {
    display: none;
}
.esc-historie .fusion-layout-column:last-child {
    border-left: 2px solid #2F414B;
    padding-left: 20px;
}
.esc-historie .fusion-layout-column:first-child{
    border-right: 2px solid #2F414B;
    padding-right: 20px;
}
#fancyhistory-historie {
    text-align: right;
    margin-top: 60px;
}
#fancyhistory-projekte {
    text-align: left;
    margin-top: 40px;
    display: none;
}

.esc-historie .esc-timeline-entry p {
    line-height: 1.5;
}
.esc-historie .esc-timeline-entry p:last-child {
    margin: 0 !important;
}
.esc-historie .esc-timeline-date {
    font-weight: bold;
    font-size: 32px;
}
.esc-historie .esc-timeline-entry {
    margin-bottom: 20px;
}
.esc-historie .esc-timeline-entry:last-child {
    margin-bottom: 0px;
}

#fancyhistory-historie .esc-timeline-entries {
    margin-bottom: 40px;
}
#fancyhistory-projekte .esc-timeline-entries {
    margin-bottom: 20px;
}
.esc-historie #fancyhistory-projekte .esc-timeline-date {
    font-size: 25px;
}

#esc-timeline-project-wrapper .timeline-button-row {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

#esc-timeline-project-wrapper .timeline-button-row > div {
    margin: 0;
    width: auto;
    flex: 0 0 auto;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

#esc-timeline-project-wrapper .timeline-button-row > div.fusion-button-slide-hidden {
    opacity: 0;
    transform: translateX(-30px);
    pointer-events: none;
    visibility: hidden;
}

#esc-timeline-project-wrapper .timeline-button-row > div.fusion-button-slide-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
}

#esc-timeline-project-wrapper .fusion-button {
    margin: 0 !important;
    display: none;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

#esc-timeline-project-wrapper .timeline-toggle-plus {
    position: absolute;
    top: 50%;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: #0c3a42;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    transition: transform 0.35s ease;
    z-index: 3;
}

#esc-timeline-project-wrapper .timeline-toggle-plus span {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
}

#esc-timeline-project-wrapper .timeline-toggle-plus span::before,
#esc-timeline-project-wrapper .timeline-toggle-plus span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    transition: opacity 0.2s ease;
}

#esc-timeline-project-wrapper .timeline-toggle-plus span::before {
    width: 14px;
    height: 3px;
}

#esc-timeline-project-wrapper .timeline-toggle-plus span::after {
    width: 3px;
    height: 14px;
}

#esc-timeline-project-wrapper .timeline-toggle-plus.is-open span::after {
    opacity: 0;
}


/************* 
    FOOTER
**************/
.social {
    margin-right: 20px;
}
.cps-copyright {
    color: #fff;
}
#menu-footer li {
    margin-right: 20px;
}
#menu-footer li:after {
    content: "|";
    color: #fff;
    align-items: center;
    display: flex;
    padding-left: 20px;
}
.fusion-footer .fusion-widget-area .trust-wrapper .fusion-row .fusion-layout-column {
    display: flex;
    width: auto;
    float: none;
    flex-grow: 0;
    min-width: 400px;
}

.fusion-footer .fusion-widget-area .trust-wrapper .fusion-row .fusion-layout-column img {
    width: auto;
    max-width: 150px;
}
.fusion-footer .fusion-widget-area .trust-wrapper .fusion-row .fusion-layout-column img.wp-image-147 {
    width: auto;
    max-height: 80px;
}

#footer .social ul {
    padding: 0;
    margin: 0;
}
#footer .social ul li {
    -moz-border-radius: 50%;
    border-radius: 50%;
    color: #fff;
    border: 1px solid #fff;
    font-size: 1.5em;
    width: 2em;
    height: 2em;
    margin-right: 5px;
    text-align: center;
    display: inline-block;
    line-height: normal;
    position: relative;
    z-index: 2;
}
#footer .social ul li:last-child {
    margin-right: 0;
}
#footer .social ul li a {
	color:#fff;
}
#footer .social #kununuicon .cls-1 {
    fill: #fff;
    opacity: 1;
}
#footer .social ul li:hover a {
    color: #fff;
}
#footer .social ul li a i {
    width: 2em;
    height: 2em;
    text-align: center;
    padding: 0.5em;
}
#footer .social ul li.socialSvg a,
#footer .social ul li.socialImg a {
    display: block;
    line-height: 50px;
}
#footer .social .socialImg img {
    position: relative;
    width: 30px;
    height: 30px;
    line-height: normal;
    border-radius: 50%;
    text-align: center;
    top: -2px;
}
#footer .social #kununuicon {
    width: 20px;
    height: 2em;
    vertical-align: middle;
    margin-top: -8px;
    margin-right: -5px;
    text-align: center;
}
#footer .social li:hover #kununuicon .cls-1{
    fill:#fff;
}
.trust-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 70px;
    row-gap: 30px;
    align-items: start;
    width: 100%;
}

.trust-col {
    border-left: 3px solid #33424c;
    padding-left: 18px;
    min-width: 0;
}

.trust-title {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
    color: #263d4d;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;
    min-width: 0;
}

.trust-logo {
    display: block;
    width: auto;
    max-width: none;
    object-fit: contain;
    flex: 0 0 auto;
}

.trust-logo-familienpakt {
    height: 78px;
}

.trust-logo-familie {
    height: 68px;
}

.trust-logo-dekra {
    height: 78px;
}

.trust-logo-tisax {
    height: 54px;
}


@media (max-width: 1100px) {
    .trust-row {
        column-gap: 40px;
    }

    .trust-logos {
        gap: 18px;
    }

    .trust-logo-familienpakt {
        height: 64px;
    }

    .trust-logo-familie {
        height: 56px;
    }

    .trust-logo-dekra {
        height: 80px;
    }

    .trust-logo-tisax {
        height: 46px;
    }
}


@media (max-width: 767px) {
    .trust-row {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .trust-col {
        padding-left: 14px;
    }

    .trust-title {
        margin-bottom: 18px;
        font-size: 18px;
    }

    .trust-logos {
        flex-wrap: wrap;
        gap: 16px;
    }

    .trust-logo-familienpakt {
        height: 52px;
    }

    .trust-logo-familie {
        height: 44px;
    }

    .trust-logo-dekra {
        height: 66px;
    }

    .trust-logo-tisax {
        height: 36px;
    }
}