@media screen and (max-width: 900px){
    .mitarbeiter-kurzform{
        padding-top:15px;
    }
    .mitarbeiter-symbole h1:first-child a picture img{
        float: left;
        max-width: 50px;
    }
    .mitarbeiter-symbole img{
        max-width: 50px !important;
    }
}


@media screen and (max-width: 767px) {
    .col-sm-3.mitarbeiter-block {
        margin-bottom: 20px;
    }
}

@media (min-width: 590px) and (max-width: 991px){
    .div-news .col-sm-3{
        width: 50% !important;
        float: left;
    }
}

.quote h5{
    position: relative;
}

.quote h5::before{
    content: '';
    background: url("../design/Zitate_OMC_Berlin_Anfang.png");
    background-size: 25px;
    width: 25px;
    height: 50px;
    float: left;
    margin-right: 7px;
    background-repeat: no-repeat;
}
.quote h5::after{
    content: '';
    background: url("../design/Zitate_OMC_Berlin_Ende.png");
    background-size: 25px;
    width: 25px;
    height: 50px;
    float: right;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -35px;
    margin-left: 5px;
}

.custom-row-flex .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.custom-row-flex .custom-card {
    height: calc(100% - 20px);
    background-color: rgb(234, 234, 234);
}
@media (max-width: 1200px) and (min-width: 772px){
    .hauptspalte .col-sm-3{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .hauptspalte .row{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
    }
    .hauptspalte .custom-card {
        height: calc(100% - 20px);
        background-color: rgb(234, 234, 234);
    }
}



/* General Styles */
.mega-menuh ul, .mega-menuh ul li {list-style: none;}
.mega-menuh ul {position: relative; padding: 0; margin: 0; text-align: right;}
.mega-menuh ul li ul {display: none;}
.mega-menuh .sub {display: none;}
.mega-menuh .sub ul {display: block;}
.mega-menuh > li:last-child{
    background: #951837;
    color: #FFF;
}

.jbmm.custom > ul.mega-menuh > li:last-child > a{
    color: #FFF !important;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.jbmm.custom > ul.mega-menuh > li:nth-child(5) > a{
    border-right: none !important;
}

/* Font Styles */
.jbmm.custom {font: normal 13px Arial, sans-serif !important; line-height: 8px !important; height: auto;}
.jbmm.custom ul.mega-menuh, .jbmm.custom ul.mega-menuh, .jbmm.custom ul.mega-menuh li {margin: 0; padding: 0; border: none;}

/* Background Styles */
.jbmm.custom ul.mega-menuh {background: none; width: auto; float: right !important; height: auto; border-right: none; border-left: none; position: relative; text-align: right;}
.jbmm.custom ul.mega-menuh li {float: none; display: inline-block; margin: 0; padding: 8px 0px 8px 8px; font-size: 1.1em !important;}

/* Link Styles */
.jbmm.custom ul.mega-menuh li a {float: left; display: block; font-size: 1.25em; color: #666 !important; border-right: .5px solid #000; padding:12px 12px 12px 8px!important; text-shadow: none; text-decoration: none !important; font-family: 'Open Sans'}
.jbmm.custom ul.mega-menuh li a.dc-mega {position: relative; padding:12px 12px 12px 8px!important;}

/* Link Icon Styles (i.e. Arrow Icon) */
.jbmm.custom ul.mega-menuh li a .dc-mega-icon {display: none;}

/* Top Level Styles */
.jbmm.custom li.top-level-nav.mega-hover a, .jbmm.custom li.top-level-nav a:hover{background:none;}
.jbmm.custom > ul li.nav-path-selected a, .jbmm.custom > ul li.nav-selected a{background-color:#ccc;}

/* Hover Styles */
.jbmm.custom ul.mega-menuh li.mega-hover a, .jbmm.custom ul.mega-menuh li a:hover {background-position: 100% -40px; color: #333 !important; text-shadow: none;}
.jbmm.custom ul.mega-menuh li.mega-hover a .dc-mega-icon {display: none;}

/* Submenu Container Styles */
.jbmm.custom ul.mega-menuh li .sub-container {position: absolute; right: 0 !important; left:0 !important; top: 71px !important; padding: 0; margin-top:0px; background: rgba(255,255,255,0.8);}
.jbmm.custom ul.mega-menuh li .sub-container.mega {padding-left: 0; padding-top:0px;margin-left: 0 !important;}
.jbmm.custom ul.mega-menuh li .sub {padding: 0px;}
.jbmm.custom ul.mega-menuh li .sub-container.mega .sub {padding: 0;}
.jbmm.custom ul.mega-menuh li .sub .row {width: 100%; overflow: hidden; clear: both;}
.jbmm.custom ul.mega-menuh li .sub li {list-style: none; float: none; font-size: 1em; font-weight: normal;}

/* Submenu Container Row Header Styles */
.jbmm.custom ul.mega-menuh li .sub li.mega-hdr {float: left !important; border:none; width: calc(100% * (1/4) - 20px);}
@media (max-width: 1280px){
    .jbmm.custom ul.mega-menuh li .sub li.mega-hdr {float: left !important; border:none; width: calc(100% * (1/2) - 20px);max-height: 250px;}
    .jbmm.custom ul.mega-menuh li .sub-container.mega .sub .cta-right{
        height: 270px;
    }
}
.jbmm.custom ul.mega-menuh li .sub li.mega-hdr.last {margin-right: 0;}
.jbmm.custom ul.mega-menuh li .sub a, .jbmm.custom ul.mega-menuh li .sub span {background: none; border: none; text-shadow: none; color: #111; padding: 7px 10px; display: block; float: none; text-decoration: none; font-size: 0.9em;}
.jbmm.custom ul.mega-menuh li .sub li.mega-hdr .mega-hdr-a {padding: 0 !important; margin-bottom: 10px; margin-top:20px; font-weight: bold !important; pointer-events: none; cursor: default; font-size: 15px; color: #951837 !important;}
.jbmm.custom ul.mega-menuh li .sub li.mega-hdr a.mega-hdr-a:hover {color: #666; text-shadow: none;}
.jbmm.custom ul.mega-menuh .sub li.mega-hdr li a {padding: 0px !important; background: none; font-weight: normal;}
.jbmm.custom ul.mega-menuh .sub li.mega-hdr li a:hover {color: #666 !important; background: none !important;}
.jbmm.custom ul.mega-menuh .sub ul li {padding-right: 0;}

/* Submenu Container with only 1 Level (no row headers) Styles */
.jbmm.custom ul.mega-menuh li .sub-container.non-mega .sub { }
.jbmm.custom ul.mega-menuh li .sub-container.non-mega li {padding: 0 !important; margin: 0; border:none;}
.jbmm.custom ul.mega-menuh li .sub-container.non-mega li a {padding: 0 !important; background: none}
.jbmm.custom ul.mega-menuh li .sub-container.non-mega li a:hover {color: #666; background: none}

/* Custom */
.jbmm.custom ul.mega-menuh li li { padding-left:0; border:none; padding-top:0; padding-bottom:5px; }
.jbmm.custom ul.mega-menuh li.mega-unit { border-top:solid 5px #DFE588 !important; margin: 5px 10px !important; transition: all ease 0.5s; }
.jbmm.custom ul.mega-menuh li.mega-unit:hover { border-top:solid 5px #951837 !important; }
.jbmm.custom div.area-container.right{ max-width:100%;}


.ccm-page.page-type-blog-entry.page-template-right-sidebar .main-menu{
    margin-top: -16px;
}

@media (max-width: 1280px){
    .jbmm.custom ul.mega-menuh li .sub-container{
        margin-left: 0 !important;
    }
    /*
    .jbmm.custom ul.mega-menuh li .sub-container {position: absolute; left: 0; right: auto; padding: 0; margin-top:0; background: rgba(255,255,255,0.8);}
    */
}

.jbmm.custom > ul.mega-menuh > li > .sub-container.mega > ul.sub{
    /*width: calc(100% - 220px);*/
    width: 100% !important;
}
.jbmm.custom > ul.mega-menuh > li > .sub-container.mega > ul.sub > .row{
    width:100% !important;
}

#mmhamburger ul.mega-menuh ul{
    text-align: left;
}

div#mmhamburger *, #mmhamburger > .mega-menuh > li > ul.sub-menu > li > a{
    color: #951837 !important;
}


div#mmhamburger > .mega-menuh > li > ul.sub-menu >li.pl-885 > a{
    color: #951837 !important;
}


.jbmm.custom ul li ul li:nth-child(5), .jbmm.custom ul li ul li:nth-child(6){
    padding: 0 0 5px 0!important;
}
.jbmm.custom ul li ul li:nth-child(5) a, .jbmm.custom ul li ul li:nth-child(6) a{
    font-size: 0.9em !important;
    color: #333 !important;
}

.jbmm.custom ul:not(.nav-last) ul li:last-child a{
    color: #333 !important;
}

.jbmm.custom .nav-path-selected{
    font-weight: 400 !important;
}
.jbmm.custom > ul li.nav-path-selected a, .jbmm.custom > ul li.nav-selected a{
    background: none;
}

@media (max-width: 1199px){
    #nav-icon3.small{
        top: 130px;
    }
    #top_menu{
        display: none;
    }
    .lupe{
        display: none;
    }
    .themenbox:hover h4 {
        font-size: 18px;
    }
}

@media (max-width: 1080px){
    #top_menu{
        display: none;
    }
}

.themenbox {
    min-height: 315px;
}

.themenbox h5 {
    display: none;
}
.themenbox:hover {
    background-color: #951837;
    color:  white;
}

.themenbox:hover h5 {
    display: inherit;
    color:  #ffffff;
}

.themenbox:hover p, .themenbox:hover h3, .themenbox:hover h4 {
    display: none;
}

.contactform_themenblock form input {
    height: 35px;
}

.ccm-custom-style-main2-14394 .col-sm-3 {
        width:  25%;
}

@media (min-width: 600px){
    .ccm-custom-style-main2-14394 .col-sm-3 {
        width:  50%;
    }
}

@media (min-width: 900px){
    .ccm-custom-style-main2-14394 .col-sm-3 {
        width:  25%;
    }
}

#nav-icon3 span {
    background-color: #951837;
}

.contactform_themenblock {
    width:  60%;
}

.contactform_themenblock form .form-group:last-child{
    margin-top: 20px;
}

.contactform_themenblock form .checkbox {
    margin-top: 0;
}

.contactform_themenblock #ccm-captcha-code {
    width: 190px;
}

.contactform_themenblock img.ccm-captcha-image {
    margin-bottom: 0 !important;
    margin-top: 15px !important;
    margin-left:  0 !important;
}

.cc-color-override-654301748 .cc-highlight .cc-btn:first-child {
    color:  #ffffff !important;
}

.cc-deny.cc-btn {
    background:  #000000 !important;
}
