/*
Theme Name: eseom-bootstrap-4-theme
Author: eseom GmbH
Author URI: https://eseom.de
Version: 1.0.0

Corporate Design - Dinger Stone
Braun RGB-Wert: R146  G127  B119
Hexcode: #927f77

Rot RGB-Wert: R190 G23 B22
Hexcode: #be1716
*/

@font-face {
    font-family: "FrutigerFont";
    font-display: swap;
    src:url(fonts/FrutigerLTStd-Cn.otf) format("opentype");
}

@font-face {
    font-family: "FrutigerFont";
    font-weight: bold;
    font-display: swap;
    src:url(fonts/FrutigerLTStd-BoldCn.otf) format("opentype");
}

body{
    font-family: "FrutigerFont";
    font-size: 1.1rem;
}

body.admin-bar header:not(.entry-header):not(.page-header){
    position: sticky;
    position: -webkit-sticky;
    top: -45px;
    z-index: 11;
}

@media(min-width:601px){
    body.admin-bar header:not(.entry-header):not(.page-header){
        top: 2px;
    }
}

@media(min-width:783px){
    body.admin-bar header:not(.entry-header):not(.page-header){
        top: -12px;
    }
}

header:not(.entry-header):not(.page-header){
    position: sticky;
    position: -webkit-sticky;
    top: -44px;
    z-index: 11;
}

/* BEGIN - GLOBAL STYLES */
h1{
    font-size: 2.2rem;
}

h1, h2{
    font-weight: bold;    
}

a{
    color: #927f77;
    text-decoration: none;
    -webkit-transition: 0.2s all ease-in;
    -moz-transition: 0.2s all ease-in;
    -o-transition: 0.2s all ease-in;
    transition: 0.2s all ease-in;
}

a:hover{
    color: #73635b;
    text-decoration: none;
}

.alert.alert-info{
    color: #ffffff;
    background-color: #927f77;
    border-color: #927f77;
}

.alert.alert-info p{
    margin-bottom: 0;   
}

ul.custom-dinger-list-style{
    list-style: none;
}

ul.custom-dinger-list-style li{
    background: url(/wp-content/themes/eseom-bootstrap-4-theme/img/dinger-stone-list-bullet.png) no-repeat top left;
    background-position: 0 4px;
    line-height: 1.5625;
    padding: 0 0 4px 25px;
    margin-left: 1em;
}

.btn{
    border-radius: 0;
    font-size: 1.1rem;
}

button:focus, .btn.focus, .btn:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show>.btn-secondary.dropdown-toggle:focus {
    outline: 0;
    box-shadow: none;
}

.btn-red {
    color: #fff;
    background-color: #be1716;
    border-color: #be1716;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 12px;
}

.btn-red svg{
    width: 14px;
    fill: #fff;
    position: relative;
    top: -2px;
    margin-right: 10px;
}

.btn-red:hover {
    color: #fff;
    background-color: #910101;
    border-color: #910101;
}

.btn-brown {
    color: #fff;
    background-color: #927f77;
    border-color: #927f77;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 12px;
}

.btn-brown svg{
    width: 14px;
    fill: #fff;
    position: relative;
    top: -2px;
    margin-right: 10px;
}

.btn-brown:hover {
    color: #fff;
    background-color: #7c6d66;
    border-color: #7c6d66;
}

.text-color-red{
    color: #be1716;
}
/* END - GLOBAL STYLES */

.navbar-brand img{
    width: 205px;
}

@media(min-width: 380px){
    .navbar-brand img{
        width: 255px;
    }
}

.header-top-area{
    background-color: #e0d9d1;
    padding: 10px 0;
}

.header-top-area a{
    font-size: 0.9rem;
    color: #000;
    padding-right: 25px;
}

.header-top-area a:hover{
    color: #8a7c73;
}

.header-top-area #header-lang-switcher-btn{
    background: transparent;
    border: 0;
    cursor: pointer;
    height: 20px;
    font-size: 0.9rem;
    position: relative;
    top: 0px;
    line-height: 1;
}

.header-top-area #header-lang-switcher-btn img{
    position: relative;
    top: -1px;
}   

.header-top-area #header-lang-switcher-dropdown{
    min-width: 4rem;
    padding: 10px 0;
    background-color: #e0d9d1;
}

.header-top-area #header-lang-switcher-dropdown a:hover{
    background-color: #8a7c73; 
    color: #fff;
}

.header-top-area .header-lang-element{
    display: flex;
    align-items: center;
    padding: 5px 10px;
    font-size: 0.9rem;
}

.header-top-area div.header-lang-element{
    background-color: #fff;
}

.header-top-area .header-lang-element img{
    margin-right: 7px;
}

/* BEGIN - NAVBAR STYLES */
#main-navbar{
    background-color: #efece7;
}

/* BEGIN - MOBILE NAVBAR / MENU */
@media (max-width: 1199px){
    #main-navbar .navbar-toggler{
        border: 0;    
    }

    #main-navbar .navbar-nav{
        max-height: 400px;
        overflow-y: scroll;
        flex-wrap: nowrap;
    }

    /* BEGIN - CHANGE COLOR AND BACKGROUND COLOR OF ACTIVE MENU/NAVBAR ITEMS */
    #main-navbar .current-menu-ancestor>a{
        color: #000;
        background-color: #efece7;
        font-weight: bold;
    }

    #main-navbar .dropdown-menu .current-menu-ancestor>.dropdown-item{
        background-color: #efece7;
        font-weight: bold;
    }

    #main-navbar .current-menu-ancestor .current-menu-item>a{
        background-color: #efece7;
        font-weight: bold;
    }

    #main-navbar .current-menu-ancestor .submenu .current-menu-item:last-child a{
        background-color: #efece7;
        font-weight: bold;
    }
    /* END - CHANGE COLOR AND BACKGROUND COLOR OF ACTIVE MENU/NAVBAR ITEMS */

    #main-navbar .dropdown-toggle::after, #main-navbar .dropdown-menu>.menu-item-has-children>.dropdown-item::after{
        position: absolute;
        right: 22px;
        top: 23px;
    }

    #main-navbar .nav-mobile-caret{
        position: absolute;
        width: 40px;
        height: 38px;
        content: "";
        border: 1px solid #ccc;
        right: 8px;
        z-index: 9;
    }

    #main-navbar .dropdown-item.active, #main-navbar .dropdown-item:active{
        background-color: #efece7;
        color: #000;
    }

    #main-navbar .nav-link{
        padding: .8rem 1rem;
        border-bottom: 1px solid #ccc;
        display: flex;
        align-items: center;
    }

    #main-navbar .dropdown-menu{
        border: 0;
        background-color: #efece7;
        padding: 0;
    }

    #main-navbar .dropdown-menu .dropdown-item{
        padding: .8rem 2.5rem;
        border-bottom: 1px solid #ccc;
        display: flex;
        align-items: center;
    }

    #main-navbar .dropdown-menu .menu-item-has-children>a:after{
        border-right: 0 dotted;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #000;
        content: '';
        right: 10px;
        top: 22px;
        position: absolute;
    }

    #main-navbar .dropdown-menu .submenu a{
        padding: .8rem 3.5rem;
    }
}
/* END - MOBILE NAVBAR / MENU */

/* BEGIN - DESKTOP NAVBAR / MENU */
@media (min-width: 1200px){
    #main-navbar{
        padding: 0;
        margin-top: -1px;
    }

    /* BEGIN - RED COLOR FOR "ANGEBOTE" NAV ELEMENT */
    #main-navbar #menu-item-dropdown-725{
        color: #be1716;
    }

    #main-navbar #menu-item-dropdown-725:hover{
        color: #910101;
    }
    /* END - RED COLOR FOR "ANGEBOTE" NAV ELEMENT */

    #main-navbar .dropdown-item:hover, #main-navbar .dropdown-item:hover{
        background-color: #e0d9d1;
    }

    #main-navbar .submenu .menu-item:last-child a:hover{
        background-color: #e0d9d1;
    }

    #main-navbar .dropdown-item.active, #main-navbar .dropdown-item:active{
        color: #000;
        background-color: #efece7;
        outline: 0;
    }

    #main-navbar .nav-mobile-caret{
        display: none;
    }

    /* BEGIN - CHANGE COLOR AND BACKGROUND COLOR OF ACTIVE MENU/NAVBAR ITEMS */
    #main-navbar .current-menu-ancestor>a{
        color: #000;
    }

    #main-navbar .dropdown-menu .current-menu-ancestor>.dropdown-item{
        background-color: #efece7;
        font-weight: bold;
    }

    #main-navbar .current-menu-ancestor .current-menu-item>a{
        background-color: #efece7;
        font-weight: bold;
    }

    #main-navbar .current-menu-ancestor .submenu .current-menu-item:last-child a{
        background-color: #efece7;
        font-weight: bold;
    }
    /* END - CHANGE COLOR AND BACKGROUND COLOR OF ACTIVE MENU/NAVBAR ITEMS */

    #main-navbar .navbar-nav>li>a{
        color: #212529;
        padding: 35px 12px 25px 12px;
        font-weight: bold;
        text-transform: uppercase;
    }

    #main-navbar .navbar-nav>li>a:after{
        content: none;   
    }

    #main-navbar .dropdown-item{
        padding: 0.55rem 1.75rem;
    }

    #main-navbar .dropdown-menu .menu-item:focus, #main-navbar .dropdown-menu .menu-item:hover{
        background: none;
    }

    #main-navbar .dropdown-menu .menu-item a{
        position: relative;
        font-size: 1.07em;
        padding-top: 12px;
    }

    #main-navbar .dropdown-menu .menu-item:not(:last-child) a{
        border-bottom: 1px solid #ccc;
    }

    #main-navbar .submenu .menu-item:last-child a{
        border-bottom: 0;
        background-color: #fff;
    }

    #main-navbar .navbar-nav>li>.dropdown-menu:before{
        border-bottom: 15px solid rgba(0, 0, 0, 0.2);
        border-left: 15px solid rgba(0, 0, 0, 0);
        border-right: 15px solid rgba(0, 0, 0, 0);
        content: "";
        display: inline-block;
        left: 20%;
        position: absolute;
        top: -14px;
    }

    #main-navbar .dropdown-menu{
        margin: 0;
        border: 0;
        border-radius: 0;
        min-width: 14rem;
        -webkit-box-shadow: 5px 5px 17px -12px rgba(0,0,0,0.75);
        -moz-box-shadow: 5px 5px 17px -12px rgba(0,0,0,0.75);
        box-shadow: 5px 5px 17px -12px rgba(0,0,0,0.75);
    }

    /* BEGIN - MAKE MUTLILEVEL DROPDOWN MENU ON MOBILE CLICKABLE */
    #main-navbar .navbar-nav>li>.dropdown-menu{
        top: 80px;
    }

    #main-navbar .navbar-nav>li>.dropdown-menu:after {
        border-bottom: 14px solid #FFFFFF;
        border-left: 15px solid rgba(0, 0, 0, 0);
        border-right: 15px solid rgba(0, 0, 0, 0);
        content: "";
        display: inline-block;
        left: 20%;
        position: absolute;
        top: -13px;
    }

    #main-navbar .dropdown-menu .menu-item-has-children>a:after{
        border-right: 0 dotted;
        border-top: 5px solid transparent;
        border-left: 5px solid #000;
        border-bottom: 5px solid transparent;
        content: '';
        right: 10px;
        top: 17px;
        position: absolute;
    }

    #main-navbar .dropdown-menu .dropdown-toggle:after{
        border-top: .3em solid transparent;
        border-right: 0;
        border-bottom: .3em solid transparent;
        border-left: .3em solid;
    }
    #main-navbar .dropdown-menu .dropdown-menu{
        margin-left:0; margin-right: 0;
    }
    #main-navbar .dropdown-menu li{
        position: initial;
    }
    #main-navbar .nav-item .submenu{ 
        min-height: 100%;
        display: none;
        position: absolute;
        left:100%; 
        top:0;
    }
    #main-navbar .nav-item .submenu-left{ 
        right:100%; left:auto;
    }
    #main-navbar .dropdown-menu > li:hover{ background-color: #f1f1f1 }
    #main-navbar .dropdown-menu > li:hover > .submenu{
        display: flex;
        flex-direction: column;
    }
    /* END - MAKE MUTLILEVEL DROPDOWN MENU ON MOBILE CLICKABLE */
}

@media (min-width: 1440px){
    #main-navbar .navbar-nav>li>a{
        padding: 35px 30px 25px 30px;
    }
}
/* END - DESKTOP NAVBAR / MENU */
/* END - NAVBAR STYLES */

/* BEGIN - FOOTER STYLES */
#top-footer-element{
    background-color: #fff;
}

#top-footer-element .container{
    padding-bottom: 70px;
    border-top: 1px solid #ebebeb;
}

#top-footer-element .container .col-md-4{
    margin-top: 70px;
}

#top-footer-element .container .col-md-4 .above-footer-icon-text{
    color: #b5b5b5;
}

#top-footer-element .container .col-md-4 .above-footer-icon-text svg{
    width: 55px;
    height: 55px;
    margin-top: -9px;
    margin-right: 20px;
    fill: #b5b5b5;
}

#top-footer-element .container .col-md-4:nth-child(1) .above-footer-icon-text svg{
    width: 35px;
    height: 55px;
}

#top-footer-element .container .col-md-4:nth-child(2) .above-footer-icon-text svg{
    width: 55px;
    height: 55px;
}

#top-footer-element .container .col-md-4:nth-child(3) .above-footer-icon-text svg{
    width: 40px;
    height: 55px;
}

footer{
    background-color: #f8f8f8;
}

footer a{
    color: #000;
}

footer a:hover{
    color: #be1716;
}

#footer-newsletter-wrapper{
    background-color: #efece7;
    padding-bottom: 40px;
    padding-top: 50px;
}

#footer-main-wrapper{
    padding-top: 50px;
}

footer .footer-content {
    margin-top: 20px;
    margin-bottom: 20px;
}

footer .footer-contact-phone svg{
    width: 25px;
    height: 24px;
    margin-right: 10px;
}

footer .footer-contact-mail{
    margin-top: 15px;
}

footer .footer-contact-mail svg{
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

footer .footer-contact-divider{
    width: 100%;   
}

footer .footer-service-icon-element{
    max-width: 145px;
}

footer .footer-service-icon-element svg{
    margin-bottom: 7px;
    -webkit-transition: 0.2s all ease-in;
    -moz-transition: 0.2s all ease-in;
    -o-transition: 0.2s all ease-in;
    transition: 0.2s all ease-in;
}

footer .footer-service-icon-element a:hover svg{
    fill: #be1716;
}

footer .footer-service-icon-element-1 svg{
    width: 34px;
}

footer .footer-service-icon-element-2 svg{
    width: 25px;
}

footer .footer-service-icon-element-3 svg{
    width: 34px;
}

footer .btn.footer-btn-to-shop-link svg{
    width: 16px;
    top: -2px;
}

footer .footer-category-links-wrapper{
    margin-top: 25px;
}

footer .footer-category-links-wrapper h5{
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-bottom a:hover{
    color: #e6d5cb;
}

.footer-bottom-logo-copyright{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer-bottom-copyright{
    margin-left: 0;
    text-align: center;
}

.footer-bottom-logo-copyright img{
    width: 225px;
    margin-right: 20px;
    margin-bottom: 25px;
}

.footer-bottom-logo-copyright small{
    width: 100%;
    float: left;
    margin-bottom: 25px;
    text-align: center;
}

@media(min-width: 992px){
    .footer-bottom-logo-copyright{
        display: block;
    }

    .footer-bottom-copyright{
        margin-left: auto;
    }

    .footer-bottom-logo-copyright img{
        width: 170px;
        margin-bottom: 0;
    }

    .footer-bottom-logo-copyright small{
        width: auto;
        float: none;
        margin-bottom: 0;
        text-align: left;
    }
}

@media(min-width: 992px){
    .footer-bottom-logo-copyright img{
        width: 225px;
    }
}

.footer-bottom-social{
    background-color: #efece7;
    margin-top: 80px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.footer-bottom-social p{
    margin-bottom: 0;
}

.footer-bottom-social a{
    position: relative;
    float: left;    
    margin-left: 15px;    
    height: 30px;
}

.footer-bottom-social-icon-paragraph{
    margin-top: -10px;
}

.footer-bottom-social-facebook-link{
    top: 5px;
}

.footer-bottom-social-instagram-link{
    top: 5px;
}

.footer-bottom-social-pinterest-link{
    top: 5px;
}

.footer-bottom-social-linkedin-link{
    top: 1px;
}

.footer-bottom-social .footer-bottom-social-linkedin-link svg{
    width: 35px;
}

.footer-bottom-social-youtube-link{
    top: 1px;
}

.footer-bottom-social .footer-bottom-social-youtube-link svg{
    width: 35px;
}

.footer-bottom-social a svg{
    width: 25px;
}

.footer-bottom{
    background-color: #927f77;
    color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-bottom a{
    color: #fff;
}

.footer-bottom p{
    margin-bottom: 0;
}

@media(min-width:768px){
    footer .footer-contact-divider{
        margin-left: 0;
        width: 80%;
    }
}

@media(min-width:992px){
    footer .footer-service-icon-elements-area{
        margin-left: -25px;
    }
}
/* END - FOOTER STYLES */

/* BEGIN - FIXED CONTACT BADGE RIGHT */
#fixed-contact-badge-right{
    position: fixed;
    right: 0;
    top: 70%;
    padding: 15px;
    background-color: #927f77;
    color: #fff;
    -webkit-transition: 0.2s all linear;
    -moz-transition: 0.2s all linear;
    -o-transition: 0.2s all linear;
    transition: 0.2s all linear;
    z-index: 9;
}

#fixed-contact-badge-right:hover{
    cursor: pointer;
    background-color: #927f77;
}

#fixed-contact-badge-right svg{
    fill: #fff;
    width: 20px;
    height: 24px;
}

.fixed-contact-badge-right-content{
    position: absolute;
    top: 0;
    width: 250px;
    background-color: #927f77;
    padding: 20px;
    left: 50px;
}

.fixed-contact-badge-right-content a{
    color: #fff;
}

.fixed-contact-badge-right-content a:hover{
    color: #ededed;
}

#fixed-contact-badge-right.active{
    right: 250px;
}

@media(min-width:768px){
    #fixed-contact-badge-right{
        padding: 20px 25px 20px;
    }

    #fixed-contact-badge-right svg{
        width: 35px;
        height: 40px;
    }

    .fixed-contact-badge-right-content{
        left: 85px;
    }
}

@media(min-width:992px){
    #fixed-contact-badge-right{
        top: 50%;
    }
}
/* END - FIXED CONTACT BADGE RIGHT */

/* BEGIN - VISUAL COMPOSER ELEMENT STYLING */
/* BEGIN - ADJUST GENERAL PADDINGS OF THE ELEMENTS */
@media(min-width:768px){
    body .vc_column_container>.vc_column-inner {
        box-sizing: border-box;
        padding-left: 5px;
        padding-right: 5px;
        width: 100%;
    }
}
/* END - ADJUST GENERAL PADDINGS OF THE ELEMENTS */

.vc-hoverbox-wrapper .vc-hoverbox-inner {
    min-height: 450px !important;
}

.hover-box-3-grid .vc-hoverbox-wrapper .vc-hoverbox-inner{
    min-height: 371px !important;
}

.es-vc-hoverbox-wrapper-higher.vc-hoverbox-wrapper .vc-hoverbox-inner{
    min-height: 450px !important;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-front .vc-hoverbox-block-inner{
    color: #fff;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-front .vc-hoverbox-block-inner h2{
    text-align: left;
    font-size: 1.5rem;
    max-width: 215px;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-front{
    justify-content: flex-end;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-back .vc-hoverbox-block-inner{
    display: flex;
    flex-direction: column;
    color: #fff;
    height: 100%;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-back .vc-hoverbox-block-inner h2{
    align-self: flex-start;
    text-align: left;
    font-size: 1.5rem;
    border-bottom: 1px solid #fff;
    padding-bottom: 15px;
    max-width: 215px;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-back .vc-hoverbox-block-inner .vc_btn3-container{
    margin-top: auto;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-back .vc-hoverbox-block-inner p{
    text-align: left;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-back .vc_btn3.vc_btn3-icon-right .vc_btn3-icon{
    top: 48%;
}

.vc-hoverbox-wrapper .vc_btn3.vc_btn3-size-md.vc_btn3-style-outline{
    padding-bottom: 10px;
}

/* BEGIN - ADD THE CLASS "slider-arrows-black" IN THE WRAPPER AROUND THE SLIDER REVOLUTION ELEMENT SO THE ARROWS OF THE SLIDER WILL BE BLACK */
.slider-arrows-black .tparrows:before{
    color: #000;
}
/* END - ADD THE CLASS "slider-arrows-black" IN THE WRAPPER AROUND THE SLIDER REVOLUTION ELEMENT SO THE ARROWS OF THE SLIDER WILL BE BLACK */

.btn.btn-red.btn-lg{
    font-size: 1.25rem;
}

.btn.btn-red.btn-lg i.fa-angle-right, .btn.btn-red.btn-lg i.fa-angle-down{
    position: relative;
    top: 3px;
    left: 15px;
} 

.btn.btn-red.btn-lg:not(.d-flex) i.fa-angle-right, .btn.btn-red.btn-lg:not(.d-flex) i.fa-angle-down{
    top: 1px;
    left: 9px;
} 

.flex-align-row-center-image-text-elements{
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media(min-width: 768px){
    .flex-align-row-center-image-text-elements{
        flex-direction: row;
    }

    .flex-align-row-center-image-text-elements .wpb_text_column,
    .flex-align-row-center-image-text-elements .vc_custom_heading{
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* BEGIN - BLOG POSTS GRID */
.vc_grid.vc_pageable-wrapper{
    overflow: hidden;
}

.vc-post-grid-dinger-stone .vc_gitem-post-data-source-post_date{
    font-size: 0.9rem;
}

.vc-post-grid-dinger-stone .vc_gitem-post-data-source-post_title{
    font-weight: bold;
    margin-top: 20px;
}

.vc-post-grid-dinger-stone .vc_btn3.vc_btn3-color-danger.vc_btn3-style-flat{
    background-color: #be1716;
    padding: 10px 45px 5px 25px;
}

.vc-post-grid-dinger-stone .vc_btn3.vc_btn3-color-danger.vc_btn3-style-flat:hover{
    background-color: #910101;
}
/* END - BLOG POSTS GRID */

/* BEGIN - IMAGE TOP WITH BACKGROUND TEXTBOX */
.main-image-with-text-box-wrapper{
    overflow-y: hidden;
}

.main-image-top-text-box{
    position: relative;
    display: flex;
    align-items: center;
    bottom: 305px;
    width: 300px;
    left: calc(50% - 135px);
    background-color: #927f77;
    color: #fff;
    padding: 35px 20px;
}

.main-image-top-material-text{
    position: absolute;
    bottom: 224px;
    right: 15px;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 1.18rem;
}


@media(min-width:992px){
    .main-image-top-material-text{
        max-width: 340px;
    }
}

@media(min-width:1200px){
    .main-image-top-material-text{
        max-width: 480px;
    }
}

@media(min-width:992px){
    .main-image-top-material-text{
        bottom: 255px;
    }
}

@media(min-width:1440px){
    .main-image-top-material-text{
        max-width: 670px;
    }
}

@media(max-width: 992px){
    .main-image-with-text-box-wrapper .wpb_single_image img{
        object-fit: cover;
        object-position: center;
        height: 450px;
    }
}

.main-image-with-text-box-wrapper>.vc_column_container{
    margin-bottom: -250px !important;
}

.main-image-top-text-box h1{
    font-size: 18px;
    position: relative;
    margin-bottom: 30px;
    font-weight: normal;
    margin-top: 10px;
}

.main-image-top-text-box h1:before{
    content: "";
    width: 50px;
    height: 5px;
    background-color: #fff;
    position: absolute;
    top: -15px;
}

.main-image-top-text-box h1:after{
    content: "";
    width: 50px;
    height: 5px;
    background-color: #fff;
    position: absolute;
    bottom: -15px;
    left: 0;
}

.main-image-top-text-box .main-image-top-text-box-headline{
    font-size: 18px;
    position: relative;
    margin-bottom: 30px;
    font-weight: normal;
    margin-top: 10px;
}

.main-image-top-text-box .main-image-top-text-box-headline:before{
    content: "";
    width: 50px;
    height: 5px;
    background-color: #fff;
    position: absolute;
    top: -15px;
}

.main-image-top-text-box .main-image-top-text-box-headline:after{
    content: "";
    width: 50px;
    height: 5px;
    background-color: #fff;
    position: absolute;
    bottom: -15px;
    left: 0;
}

.main-image-top-text-box p{
    font-size: 14px;
}

.main-image-top-text-box .wpb_content_element{
    margin-bottom: 0 !important;
}

@media(min-width: 992px){
    .main-image-top-text-box{
        padding: 50px;
        width: 500px;
        left: 120px;
        height: 250px;
        bottom: 250px;
    }

    .main-image-top-text-box h1{
        font-size: 28px;
    }

    .main-image-top-text-box .main-image-top-text-box-headline{
        font-size: 28px;
        line-height: 32px;
    }

    .main-image-top-text-box p{
        font-size: 20px;
    }
}
/* END - IMAGE TOP WITH BACKGROUND TEXTBOX */

/* BEGIN - STYLE CUSTOM VISUAL COMPOSER ELEMENT POPUP SLIDER */
.popup-slider-main-image-wrapper{
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-slider-main-image-hover-area{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0px;
    background: rgba(146, 127, 119, 0.75);
    -webkit-transition: 0.2s all ease-in;
    -moz-transition: 0.2s all ease-in;
    -o-transition: 0.2s all ease-in;
    transition: 0.2s all ease-in;
}

.popup-slider-main-image-hover-area svg{
    width: 32px;   
    fill: #fff;
}

.popup-slider-main-image-hover-area .popup-slider-main-image-hover-title{
    margin-top: 10px;
    color: #fff;
}

.popup-slider-main-image-wrapper:hover .popup-slider-main-image-hover-area{
    opacity: 1;
}

.popup-slider-modal-text{
    margin-top: 25px;
    margin-bottom: 10px;
}

.popup-slider-main-image-wrapper + .modal + .wpb_raw_code{
    margin: 0;
}

.popup-slider-badge{
    position: absolute;
    top: 0;
    right: calc(50% - 100px);
    padding-top: 0px;
    padding-right: 14px;
    padding-left: 10px;
    margin-top: -17px;
    background: #be1716;
    color: #fff;
    font-size: 38px;
    line-height: 0.9;
    font-weight: bold;
    transform: rotate(-90deg) translate(0%, -100%);
    transform-origin: 100%;
}

@media(min-width:768px){
    .popup-slider-badge{
        position: absolute;
        right: 25px;
        margin-top: -6px;
    }
}
/* END - STYLE CUSTOM VISUAL COMPOSER ELEMENT POPUP SLIDER */

/* BEGIN - STYLE FAQ ACCORDION */
.faq-accordion .vc_tta-panel-body{
    background-color: #fff;
}

.faq-accordion .vc_tta-panel-title{
    font-size: 20px;
    background-color: #efece7;
}

.faq-accordion .vc_tta-panel-title a span{
    color: #000;
    position: relative;
    top: 2px;
}
/* END - STYLE FAQ ACCORDION */


/* BEGIN - STYLE CUSTOM BREADCRUMB ELEMENT */
@media(min-width: 992px){
    body .vc-breadcrumb-wrapper-sticky{
        position: sticky;
        z-index: 9;
        top: 82px;
    }

    body.admin-bar .vc-breadcrumb-wrapper-sticky{
        top: 114px;
    }
}

.breadcrumb{
    background-color: #f8f8f8;
    padding: 1rem 1rem .75rem 1rem;
    font-size: .97rem;
    text-transform: uppercase;
}

.breadcrumb a,
.breadcrumb span {
    margin-right: 5px;
    margin-left: 5px;
    color: #434345;
    -webkit-transition: 0.2s all ease-in;
    -moz-transition: 0.2s all ease-in;
    -o-transition: 0.2s all ease-in;
    transition: 0.2s all ease-in;
}

.breadcrumb a:hover{
    color: #be1716;
}
/* END - STYLE CUSTOM BREADCRUMB ELEMENT */

/* BEGIN - STYLE CUSTOM TIMELINE ELEMENT */
.custom-timeline {
    position: relative;
    margin: 0 auto;
    background-color: #fff;
}

.custom-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #f8f8f8;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.custom-timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

@media (min-width: 769px){
    .custom-timeline-container:not(:first-child){
        margin-top: -150px;
    }
}

@media (min-width: 992px){
    .custom-timeline-container:not(:first-child){
        margin-top: -150px;
    }
}

@media (min-width: 1200px){
    .custom-timeline-container:not(:first-child){
        margin-top: -150px;
    }
}

@media (min-width: 1400px){
    .custom-timeline-container:not(:first-child){
        margin-top: -250px;
    }
}

.custom-timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid #927f77;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.custom-timeline-container.left {
    left: 0;
}

.custom-timeline-container.right {
    left: 50%;
}

.custom-timeline-container.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 18px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid #f8f8f8;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #f8f8f8;
}

.custom-timeline-container.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 18px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid #f8f8f8;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f8f8f8 transparent transparent;
}

.custom-timeline-container.right::after {
    left: -13px;
}

.custom-timeline-content {
    padding: 20px 30px;
    background-color: #f8f8f8;
    position: relative;
    border-radius: 6px;
    -webkit-box-shadow: -7px 10px 8px -8px rgba(0,0,0,0.26);
    -moz-box-shadow: -7px 10px 8px -8px rgba(0,0,0,0.26);
    box-shadow: -7px 10px 8px -8px rgba(0,0,0,0.26);
}

.custom-timeline-content-image{
    margin-top: 15px;
    margin-bottom: 25px;
}

@media (max-width: 768px){
    .custom-timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .custom-timeline::after {
        left: 31px;
    }

    .custom-timeline-container.right {
        left: 0%;
    }

    .custom-timeline-container.left::after, .custom-timeline-container.right::after {
        left: 18px;
    }

    .custom-timeline-container.right::before,.custom-timeline-container.left::before {
        left: 60px;
        border: medium solid #f8f8f8;
        border-width: 10px 10px 10px 0;
        border-color: transparent #f8f8f8 transparent transparent;
    }
}
/* END - STYLE CUSTOM TIMELINE ELEMENT */

/* BEGIN - VC CUSTOM RATING SLIDER ELEMENT */
.custom-rating-slider{
    display: flex;
    justify-content: center;
}

.multi-item-carousel{
    width: calc(100% - 100px);
}

.multi-item-carousel .carousel-item{
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Style the Carousel Item to act as a row for the cloned items */
.multi-item-carousel .carousel-item.active,
.multi-item-carousel .carousel-item-next,
.multi-item-carousel .carousel-item-prev {
    display: flex; /* This aligns the cloned items in a row */
}

/*
   Hide cloned items on smaller screens using CSS logic.
   Logic:
   - Mobile: Only show the 1st child (original).
   - Tablet: Show 1st and 2nd child.
   - Desktop: Show 1st, 2nd, and 3rd child.
*/

/* Mobile: Hide everything except the first item */
.multi-item-carousel .carousel-inner .slider-card {
    display: none;
}

.custom-rating-slider-container{
    background-color: #efece7;
    padding: 30px 30px 5px 30px;
}

.multi-item-carousel .carousel-inner .slider-card:first-child {
    display: block;
    flex: 0 0 100%;
    max-width: 100%;
}

/* Tablet (SM): Show 2 items */
@media (min-width: 576px) {
    .multi-item-carousel .carousel-inner .slider-card:nth-child(1),
    .multi-item-carousel .carousel-inner .slider-card:nth-child(2) {
        display: block;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Desktop (MD): Show 3 items */
@media (min-width: 768px) {
    .multi-item-carousel .carousel-inner .slider-card:nth-child(1),
    .multi-item-carousel .carousel-inner .slider-card:nth-child(2),
    .multi-item-carousel .carousel-inner .slider-card:nth-child(3) {
        display: block;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.carousel-control-prev{
    width: 40px;
    border: 1px solid #000;
    top: calc(50% - 12px);
    height: 42px;
    background: #fff;
    left: -50px;
}

.carousel-control-next{
    width: 40px;
    border: 1px solid #000;
    top: calc(50% - 12px);
    height: 42px;
    right: -50px;
}

/* Arrow Styling (Black arrows positioned outside) */
.multi-item-carousel .carousel-control-prev-icon,
.multi-item-carousel .carousel-control-next-icon {
    background-image: none;
    cursor: pointer;
}
.multi-item-carousel .carousel-control-prev-icon::after {
    position: absolute;
    left: 10px;
    top: -1px;
    content: '<';
    color: #000;
    font-size: 30px;
    font-weight: bold;
}
.multi-item-carousel .carousel-control-next-icon::after {
    position: absolute;
    left: 10px;
    top: -1px;
    content: '>';
    color: #000;
    font-size: 30px;
    font-weight: bold;
}

.temp-measure-class {
    display: block !important;
    visibility: hidden !important;
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: -100;
    width: 100% !important; /* Ensure text wraps correctly for measurement */
}

/* Ensure images reserve space before loading to prevent jumping */
.custom-rating-slider-content-image img {
    width: 100%;
    height: auto;
    /* Based on your image size 460x293 */
    aspect-ratio: 460 / 293;
    object-fit: cover;
}

.custom-rating-slider-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* END - VC CUSTOM RATING SLIDER ELEMENT */

/* BEGIN - STYLE REVOLUTION SLIDER WITH IMAGES BELOW */
rs-thumbs .tp-thumb.selected{
    border: 5px solid #927f77;
}

@media(max-width: 1440px){
    body .slider-with-pics-below{
        margin-bottom: 70px !important;
    }
}
/* END - STYLE REVOLUTION SLIDER WITH IMAGES BELOW */

/* BEGIN - CLASS FOR THE VC BUTTON ELEMENT */
.vc-btn-red button, .vc-btn-red a{
    color: #fff!important;
    background-color: #be1716!important;
    border-color: #be1716!important;
    padding-bottom: 10px!important;
    font-size: 1.1rem!important;
}

.vc-btn-red button:hover, .vc-btn-red a:hover{
    color: #fff!important;
    background-color: #910101!important;
    border-color: #910101!important;
}

.vc-btn-red button i, .vc-btn-red a i{
    top: 22px;
}
/* END - CLASS FOR THE VC BUTTON ELEMENT */

/* BEGIN - CHANGE VISUAL COMPOSER STANDARD HOVER BOX FLIP ANIMATION TO OPACITY ANIMATION */
.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-block{
    transition: opacity .5s ease-in-out;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-back{
    transform: none;
    animation-name:vc-hoverbox-opacity-animation-mouseout;
    animation-duration:0.5s;
    animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
}

.vc-hoverbox-wrapper .vc-hoverbox:hover .vc-hoverbox-front{
    transform: none;
}

.vc-hoverbox-wrapper .vc-hoverbox:hover .vc-hoverbox-back{
    animation-name:vc-hoverbox-opacity-animation-mouseover;
    animation-duration:0.5s;
    animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
}

@keyframes vc-hoverbox-opacity-animation-mouseover {
    0% {
        opacity: 0;
        z-index: 0;
    }
    33.333% { 
        z-index: 2; 
    }
    66.666% { 
        z-index: 2; 
    }
    100% {  
        opacity: 1;  
        z-index: 2;
    }
}

@keyframes vc-hoverbox-opacity-animation-mouseout {
    0% {
        opacity: 1;
        z-index: 2;
    }
    33.333% { 
        z-index: 2; 
    }
    66.666% { 
        z-index: 2; 
    }
    100% {  
        opacity: 0;  
        z-index: 0;
    }
}
/* END - CHANGE VISUAL COMPOSER STANDARD HOVER BOX FLIP ANIMATION TO OPACITY ANIMATION */

/* BEGIN - ARTICLE NUMBER / SKU IN THE BOTTOM RIGHT CORNER OF AN IMAGE */
.img-desc-bottom-right-white{
    position: relative;
    margin-bottom: -25px!important;
    right: 5px;
    color: #fff;
    width: 100%;
    text-align: right;
    bottom: 35px;
    font-size: 1rem;
}

.img-desc-bottom-right-black{
    position: relative;
    margin-bottom: -25px!important;
    right: 5px;
    color: #212529;
    width: 100%;
    text-align: right;
    bottom: 35px;
    font-size: 1rem;
}
/* END - ARTICLE NUMBER / SKU IN THE BOTTOM RIGHT CORNER OF AN IMAGE */

/* END - VISUAL COMPOSER ELEMENT STYLING */

/* BEGIN - ADD BREAKPOINT TO BOOTSTRAP 4 */
@media (min-width: 1440px){
    .container {max-width: 1410px;}
}
/* END - ADD BREAKPOINT TO BOOTSTRAP 4 */

/* BEGIN - THE ESEOM DSGVO PLUGIN IS NEEDED FOR THIS PART - A LINK IN THE FOOTER IS DISPLAYED TO BE ABLE TO SHOW THE DATA PROTECTION MODAL */
.dsgvo-plugin-data-protection-settings-link{
    -webkit-transition: 0.2s all ease-in;
    -moz-transition: 0.2s all ease-in;
    -o-transition: 0.2s all ease-in;
    transition: 0.2s all ease-in;
}

.dsgvo-plugin-data-protection-settings-link:hover{
    cursor: pointer;
    color: #e6d5cb;
}
/* END - THE ESEOM DSGVO PLUGIN IS NEEDED FOR THIS PART - A LINK IN THE FOOTER IS DISPLAYED TO BE ABLE TO SHOW THE DATA PROTECTION MODAL */

/* BEGIN - TOPBAR SEARCH */
.search-topbar-wrapper{
    margin-left: 15px;
}

#topbar-search{
    top: -5px;
    position: relative;
    height: 21px;
}

.topbar-expand-search{
    display: flex;
    position: relative;
    height: 30px;
    overflow: hidden;
}

.topbar-expand-search svg{
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    fill: #000;
    cursor: pointer;
    user-select: none;
    transition: 0.24s;
}

.topbar-expand-search svg:hover{
    fill: #8a7c73;
}

.topbar-expand-search input{
    border:none;
    background: transparent;
    font:14px/1.4 sans-serif;
    padding-left: 26px;
    background: transparent;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: 0.24s;
    width: 0px;
    padding: 8px 0px 8px 34px;
}

.topbar-expand-search input:focus{
    border-color: #aaa;
    outline: none;
    width:200px;
    padding: 8px 12px 8px 34px;
    border-color: #927f77;
    background: #fff;
}

.topbar-expand-search input:focus + svg{
    /*padding: 8px 4px 8px 8px ;*/
    color: #ddd;
    pointer-events: none;
    width: 18px;
    height: 18px;
    top: 6px;
    left: 6px;
}
/* END - TOPBAR SEARCH */

/* BEGIN - ANGEBOTE - PRICE */
.ds-angebote-img-price-wrapper .wpb_raw_html{
    position: absolute;
    bottom: 30px;
    right: 0;
    z-index: 2;
}

.ds-angebote-price-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 160px;
}

.ds-angebote-price-wrapper svg{
    position: absolute;
    z-index: 1;
}

.ds-angebote-price{
    color: #fff;
    font-weight: bold;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.ds-angebote-price-tax{
    color: #fff;
    font-size: 0.8rem;
    z-index: 2;
    display: flex;
    justify-content: center;
}
/* END - ANGEBOTE - PRICE */

/* BEGIN - ANSPRECHPARTNER TABS */
.ds-ansprechpartner-tabs-wrapper .vc_tta-panel-body{
    background-color: #fff !important;
    border-left: 1px solid #f0f0f0 !important;
    border-right: 1px solid #f0f0f0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-radius: 0 !important;
    padding-top: 40px !important;
}

.ds-ansprechpartner-tabs-wrapper .vc_tta-tab.vc_active a{
    background-color: #fff !important;
}

.ds-ansprechpartner-tabs-wrapper .vc_tta-tab.vc_active a .vc_tta-title-text{
    color: #000;
    font-weight: bold;
}

.ds-ansprechpartner-tabs-wrapper .vc_tta-tab a{
    background-color: #927f77 !important;
    color: #fff!important;
    border-radius: 0 !important;
}

.ds-ansprechpartner-tabs-wrapper .vc_tta-tab:not(.vc_active) a:hover{
    background-color: #e0d9d1 !important;
}

.ds-ansprechpartner-tabs-wrapper .wpb_text_column a{
    color: #000;
}

.ds-ansprechpartner-tabs-wrapper .wpb_text_column a:hover{
    color: #be1716;
}
/* END - ANSPRECHPARTNER TABS */

/* BEGIN - PAGINATION OF THE SEARCH RESULTS */
.search-pagination-wrapper{
    margin-top: 40px;
}
/* END - PAGINATION OF THE SEARCH RESULTS */

/* BEGIN - STYLE ARCHIVE.PHP E.G. /kategorie/unternehmen */
body.archive .page-header{
    margin-top: 25px;    
}

body.archive article .article-wrapper{
    background-color: #f5f5f5 !important;
}

body.archive article .article-wrapper .entry-image img{
    object-fit: none;
    object-position: center;
    height: 310px;
    width: 100%;
}

body.archive article .article-wrapper .entry-header{
    padding: 10px 20px 0px;
    margin-top: 10px;
}

body.archive article .article-wrapper .entry-header h1{
    font-size: 1.1rem;
}

body.archive article .article-wrapper .entry-content{
    padding: 0 20px 5px;
    margin-bottom: 30px;
}

body.archive article .article-wrapper .entry-content .archive-more-btn-wrapper{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

body.archive article .article-wrapper .entry-content .archive-more-btn-wrapper .btn.btn-red{
    padding: 7px 15px 5px;
}

body.archive article .article-wrapper .entry-content .archive-more-btn-wrapper .btn.btn-red svg{
    margin-left: 10px;
    height: 15px;
    width: 12px;
    margin-right: 0;
}
/* END - STYLE ARCHIVE.PHP E.G. /kategorie/unternehmen */

.vc_grid-btn-load_more .vc_btn3-shape-square{
    padding-top: 13px!important;
    padding-bottom: 8px!important;
    background: transparent!important;
    color: #000!important;
    border: 1px solid #000!important;
    font-size: 16px!important;
}

.vc_grid-btn-load_more .vc_btn3-shape-square:hover{
    background: #000!important;
    color: #fff!important;
}