@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.eot');
    src: url('../fonts/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular.woff') format('woff'),
         url('../fonts/OpenSans-Regular.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

:root {
    --input-border-color:  #E8E2C8;
    --input-shadow-color: #E7E7E7;
    --input-border-radius: 3px;
}

* {
  box-sizing: border-box;
}


body, html {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    background-color: #FDFBF0;
}
#wrapper {
    background-color: #FFF;
    -moz-box-shadow: 0 0 15px #D4D3CA;
    box-shadow: 0 0 15px #D4D3CA;
    width: 100%;
    max-width: 1180px;
}

#main .inside {
    padding: 0 20px 0 20px;
}

#header-mobile #logo-hamburger {
    background-color: #BC0B36;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: 35px;
}

#logo img {
    width: 75%;
    height: auto;
    display: block;
}

#headergrafik img {
    max-height: 440px;
    display: block;
    width: 100%;
    object-fit: cover;
    height: auto;
}

#header-mobile {
    margin-bottom: 25px;
}

#header-desktop {
    display: none;
}

#main, #left, #right, .float_right, .float_left {
    float: none;
}

.image_container.float_right, .image_container.float_left {
    margin: 0px !important;
    padding: 0px !important;
}

.float_right img {
    margin-left: 20px;
}

.float_left img {
    margin-right: 20px;
}

#right {
    width: 95%;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .float_left {
        float: left;
    }
    
    .float_right {
        float: right;
    }
    
    #right .image_container.float_right {
        padding: 0px 10px 15px 15px !important;
    }
    
    #right .image_container.float_left {
        padding: 0px 15px 15px 10px !important;
    }
}

@media screen and (min-width: 900px) {
    #header-mobile {
        display: none;
    }
    
    #mobile-mmenu {
        display: none;
    }
    
    #header-desktop {
        display: block;
        height: auto;
    }
    
    #galerie_header {
        display: block;
        margin-top: 35px;
        padding: 0px;
        max-width: 56%;
    }
    
    #galerie_header div.ce_gallery.block ul {
        flex-wrap: nowrap;
        background-color: #FFF;
        margin: 0 0 0 60px;
        padding: 0 0 0 3px;
        border-top: 3px solid #FFF;
    }
    
    #galerie_header div.ce_gallery.block ul li .image_container img {
        max-width: 98%;
        height: auto;
    }
    
    #container {
        padding-right: 380px;
    }
    
    #main .inside {
        margin-top: 30px;
        padding: 0 20px 0 60px;
    }
    
    #headergrafik img {
        position: absolute;
        z-index: -1;
        top: 0;
        object-fit: fill;
    }
    
    .content-slider .image_container {
        display: flex;
        place-content: center;
    }
    
    #hauptnavigation_modul {
        display: block;
    }
    
    #main, #left, #right {
        float: left;
    }
    
    aside #right {
        display: block;
    }
    
    #right {
        margin-right: -100%;
        width: 320px;
        margin-top: -140px;
    }
    
    #right nav {
        display: block;
    }
}

@media screen and (min-width: 1190px) {
    #galerie_header {
        max-width: 64%;
    }
    
    #main .inside {
        /*margin-top: 117px;*/
    }
}

aside #right, #right nav {
    display: block;
}

/*#right {
margin-right: 0;
width: 100%;
position: relative;
(*top: -115px;*)
(*height: calc(100% - 115px);*)
}*/
#container {
    padding-right: 0;
}

/*Mobile Navigation */
#hamburger {
    position: relative;
    right: -22px;
    display: block;
}

#hamburger img {
    width: 3.3em;
    /*position: absolute;*/
    /*right: 33px;*/
    /*bottom: 25px;*/
    z-index: 999;
}

a.mm-navbar__title, a.mm-navbar__title:focus {
    background: #BC0B36;
}

a.mm-navbar__title span {
    color: #FFF;
}

.mm-listitem {
    background-color: #BC0B36;
    border-bottom: 1px solid #FFF;
    color: #FFF;
}

.mm-listitem::after {
    border: none;
}

.mm-listitem.mm-listitem_selected .mm-btn::after {
    border-left: 1px solid #6F6F6F;
    border-top: 1px solid #000;
}

.mm-listitem a:hover, .mm-listitem a:focus {
    background-color: #BC0B36;
}

.mm-listitem_selected {
    background-color: #EDEEED;
    color: #BC0B36;
}

.mm-menu_position-top {
    height: 74vh;
    min-height: 140px;
    max-height: 880px;
}

.header-nav li a:hover, .header-nav li a:focus {
    color: #FFF !important;
    background-color: #BC0B36 !important;
}

.mm-counter {
    color: #FFF;
}

.mm-btn::after {
    border: 2px solid #DFDFDF;
    border-right-color: transparent;
    border-bottom-color: transparent;
}

/* @end */
#footer {
    background-color: #CAC6AE;
    border-top: 3px solid #948F7B;
    margin-top: -11px;
}

#footer .inside {
    text-align: center;
}

#footer a {
    color: #000;
}

.footer-partner {
    background-color: #FFF;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-end;
    margin: 15px auto;
}

#partner .inside {
    max-width: 985px;
    margin: 0 auto;
}

#partner {
    border-top: 2px solid #948F7B;
    margin-top: 25px;
}

#partner h1.partner {
    font-size: 1.2rem;
    color: #7B7B7B !important;
}

.footer-partner img {
    margin: 10px;
}

#footer h1.ce_headline.partner {
    font-size: 1.1em;
    margin: 10px;
    color: #494949 !important;
}

#footer #logo_copyright {
    font-size: 0.7em;
}

.custom #login-heitech .inside {
    max-width: 1140px;
    margin: 0 auto;
    background-color: #FFF;
    padding: 10px 20px 50px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
}

.login {
    color: #FFF;
    width: 50px;
    height: 25px;
}

.login a {
    display: block;
}

@media screen and (min-width: 900px) {
    #container {
        padding-right: 380px;
    }
}

.uc-corner-modal-content h6{
background:none;	
}
.uc-corner-modal-content{
line-height:1;	
}
