/* merriweather-sans-300 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 300;
    src: url('/files/cto_layout/fonts/merriweather-sans-v26-latin_latin-ext-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('/files/cto_layout/fonts/merriweather-sans-v26-latin_latin-ext-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* merriweather-sans-regular - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 400;
    src: url('/files/cto_layout/fonts/merriweather-sans-v26-latin_latin-ext-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('/files/cto_layout/fonts/merriweather-sans-v26-latin_latin-ext-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* merriweather-sans-700 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 700;
    src: url('/files/cto_layout/fonts/merriweather-sans-v26-latin_latin-ext-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('/files/cto_layout/fonts/merriweather-sans-v26-latin_latin-ext-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}




html, body {
    font-family: 'Merriweather Sans';
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .ce_revolutionslider_text.bold, .font_headline,
.mainmenu ul li a {
    font-family: 'Merriweather Sans';
    font-weight: 700;
}

.bg-gray {
    background-color: #F7F7F7;
}

p a,
.ce_text ul li a,
a.read_more_inline {
    color: var(--accentColor);
    text-decoration: underline;
    font-weight: 700;
}



/*
.autogrid_row {
    margin-top: 70px;
    margin-bottom: 70px;
}
*/




.mod_article.color-white form p.error,
.mod_article.color-white form .captcha_text {
    color: var(--secondColor) !important;
}




input.submit,
button.submit {
    background: var(--secondColor);
    border: 2px solid var(--secondColor);
    border-radius: 0;
    min-width: 190px;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.8rem;
    height: auto;
}

input.submit[type="submit"]:hover,
button.submit[type="submit"]:hover {
    background: var(--secondColor);
    opacity: 0.8;
}

form span.mandatory {
    color: #646363;
}

.mod_article.color-white form span.mandatory {
    color: #fff;
}

input, textarea, select {
    border-color: #646363;
}

.mod_article.color-white input, .mod_article.color-white textarea, .mod_article.color-white select {
    border-color: #fff;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--secondColor) !important;
}



.ce_hyperlink a,
a.btn {
    border: 0;
    margin-top: 15px;
}

/*
.ce_hyperlink a:hover,
a.btn:hover {
    opacity: 1;
}
*/

.ce_hyperlink-extended a.link-sec-color:hover {
    color: #fff;
}





.image_container .caption {
    background-color: transparent;
    color: #646363;
    border-radius: 0;
    padding: 0;
    margin-top: 13px;
}



.autogrid_row .column > .ce_image:first-child {
    margin-top: 9px;
}



.autogrid_row.flex-align-center-h {
    justify-content: center;
}








@media only screen and (min-width: 1026px) and (max-width: 1189px) {
    .header .mainmenu ul li {
        margin-left: 8px;
        margin-right: 8px;
    }

    .header .mainmenu ul li a {
        font-size: 17px;
    }
}












.ce_timeline {
    margin-top: 50px;
}

.ce_timeline .timeline-item i.timeline-icon {
    box-shadow: 0 0 0 4px var(--secondColor);
}

.ce_timeline .timeline-item i {
    background-color: var(--secondColor);
}






.ce_iconbox.benefits {
    background-color: #fff;
    padding-top: 30px;
    padding-bottom: 5px;
    padding-left: 30px;
    padding-right: 30px;
}

.ce_iconbox.benefits .ce_iconbox_icon {
    height: 60px;
}

.ce_iconbox.benefits .ce_iconbox_icon i {
    color: var(--secondColor) !important;
}

.ce_iconbox.benefits:not(.version2):not(.version3) .ce_iconbox_cwrapper {
    margin-top: 10px;
}

.ce_iconbox.benefits .headline {
    color: var(--accentColor) !important;
    font-size: 22px;
    line-height: 32px;
}

.ce_iconbox.benefits .content {
    font-size: 14px;
}

.ce_iconbox.benefits p {
    color: #646363 !important;
}




.ce_iconbox .ce_iconbox_outside.padding .content {
    opacity: 1;
}





@media only screen and (max-width: 767px) {
    .column > .ce_image,
    .column > .ce_image_extended {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}







.ce_countup .headline {
    color: #646363;
}




/* Teambox */
.ce_teambox .image {
    text-align: left;
    display: inline-block;
}

.ce_teambox .image .overlay {
    text-align: center;
}

.ce_teambox .teambox_content p {
    margin-bottom: 0;
}





/* Jobs */
.jobs_list {
    overflow: visible;
}

.jobs_list > p.empty {
    text-align: center;
    font-weight: bold;
}

.layout_job_teaser .content .ce_text > * {
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 26px;
    text-align: left;
}

.layout_job_details h1 {
    color: var(--accentColor);
}

.layout_job_details + .back a:before {
    content: none;
    display: none;
}






/* Referenzen + Jobs */
.ce_referenzen_box,
.layout_job_teaser {    
    box-shadow: 4px 4px 20px 0px rgba(34, 47, 129, 25%);
    background-color: #fff;
    height: 100%;
    border: 4px solid transparent;
    transition: border-color 0.3s ease;
    -webkit-transition: border-color 0.3s ease;
}

.ce_referenzen_box:hover {
    border-color: var(--accentColor);
    cursor: pointer;
}

.ce_referenzen_box .content,
.layout_job_teaser .content {
    text-align: center;
    padding: 56px 36px 26px 36px;
}

.layout_job_teaser .content {
    padding: 56px 70px 51px 70px;
}

.ce_referenzen_box .content .image_container {
    display: inline-block;
    margin-bottom: 30px;
}

.ce_referenzen_box .content .headline {
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 20px;
    -ms-hyphens: none;
    -webkit-hyphens: none;
    hyphens: none;
}

.ce_referenzen_box > .overlay {
    display: none;
}

.ref_overlay_content {
    padding: 140px 60px 45px 60px;
}

.ref_overlay_content .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.ref_overlay_content .head .client {
    color: var(--accentColor);
    font-size: 25px;
    line-height: 35px;
    font-weight: 700;
    margin-bottom: 25px;
}

.ref_overlay_content .head .headline {
    color: #646363;
    margin-bottom: 0;
}

.ref_overlay_content .head > .ce_image {
    margin-left: 60px;
    flex-shrink: 0;
}

.ref_overlay_content .reg_pages {
    margin-top: 80px;
    text-align: center;
}

#colorbox.ref_overlay #cboxLoadedContent {
    border: 0;
}

#colorbox.ref_overlay #cboxClose {
    background-image: url('/files/bbvl/src/img/overlay_close_inactive.svg');
    background-position: center center;
    background-size: contain;
    width: 23px;
    height: 23px;
    top: 60px;
    right: 37px;
}

#colorbox.ref_overlay #cboxClose:hover {
    background-image: url('/files/bbvl/src/img/overlay_close_active.svg');
}




@media only screen and (max-width: 1024px) {
    .ref_overlay_content {
        padding: 70px 30px 15px 30px;
    }

    .ref_overlay_content .head {
        flex-direction: column-reverse;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .ref_overlay_content .head > .ce_image {
        margin-left: 0;
        margin-bottom: 40px;
    }

    .ref_overlay_content .reg_pages {
        margin-top: 40px;
    }

    #colorbox.ref_overlay #cboxClose {
        top: 7px;
        right: 7px;
    }
}


.ce_referenzen_liste_detail > .content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    padding-top: 5px;
    padding-bottom: 5px;
}

.ce_referenzen_liste_detail > .content > .ce_referenzen_box {
    width: calc(16.66% - 10px);
    box-shadow: 4px 4px 8px 0px rgba(34, 47, 129, 25%);
    margin: 5px;
    height: auto;
}

.ce_referenzen_liste_detail > .content > .ce_referenzen_box > .content {
    padding: 10px;
}

.ce_referenzen_liste_detail > .content > .ce_referenzen_box > .content .image_container {
    margin-bottom: 10px;
}

.ce_referenzen_liste_detail > .content > .ce_referenzen_box > .content .headline {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 22px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ce_referenzen_liste_detail > .content > .ce_referenzen_box > .content .more {
    display: none;
}

@media only screen and (max-width: 1024px) {
    .ce_referenzen_liste_detail > .content > .ce_referenzen_box {
        width: calc(25% - 10px);
    }
}

@media only screen and (max-width: 767px) {
    .ce_referenzen_liste_detail > .content > .ce_referenzen_box {
        width: calc(50% - 10px);
    }
}






.mod_newslist .news-content .h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    hyphens: none;
    min-height: 76px;
}

.mod_newslist .teaser {
    max-height: 2048px;
}

.mod_newslist .teaser.anim {
    transition: max-height 0.3s ease;
    -webkit-transition: max-height 0.3s ease;
}

.mod_newslist .teaser.closed {
    max-height: 278px;
    overflow: hidden;
}

.mod_newslist .teaser + .read_more_inline {
    display: inline-block;
    margin-top: 30px;
}

.newslist .link {
    text-transform: none;
}

.newslist .link:before {
    content: none;
    display: none;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .mod_newslist.newslist_col3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .mod_newslist .news-content {
        margin-bottom: 50px;
    }

    .mod_newslist .news-content .h3 {
        display: block;
        hyphens: auto;
        min-height: auto;
    }
}










/* home */

body.home #fix-wrapper {
    position: absolute;
}

body.home .header.original {
    background: linear-gradient(to bottom,  rgba(247,247,247,1) 0%,rgba(247,247,247,0) 100%);
}

body.home #slider .ce_bgimage .ce_bgimage-image::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,  rgba(247,247,247,1) 50%,rgba(247,247,247,0) 70%);
}

@media only screen and (max-width: 1024px) {
    body.home .header.original {
        background: #fff;
    }

    body.home #slider .ce_bgimage {
        display: flex;
        flex-direction: column-reverse;
    }

    body.home #slider .ce_bgimage .ce_bgimage-image {
        position: relative;
        height: 350px;
        margin-top: -80px;
    }

    body.home #slider .ce_bgimage .ce_bgimage-image::before {
        content: none;
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    body.home #slider .ce_bgimage .ce_bgimage-image {
        background-position: right center;
    }
}





body.home #breadcrumb {
    display: none;
}














#bottom {
    background-position: calc((100vw - 1360px) / 2 + 34px) 95px;
    background-size: 224px;
}

#bottom .inside {
    padding-top: 205px;
    padding-bottom: 105px;
}

#bottom .inside > div {
    border-top: 1px solid #fff;
    padding-top: 10px;
}




@media only screen and (max-width: 1359px) {
    #bottom {
        background-position: 34px 95px;
    }
}

@media only screen and (max-width: 767px) {
    #bottom {
        background-position: 13px 95px;
    }

    #bottom .inside > div {
        display: flex;
        flex-direction: column-reverse;
    }

    #bottom .inside .right {
        padding-bottom: 30px;
    }
}




@media only screen and (max-width: 767px) {
    .autogrid_row>.column.m_align_left_top {
        align-self: unset;
    }

    .autogrid_row.mobile_reverse {
        flex-direction: column-reverse;
    }
}










