
body {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    color: #212121;
    background: #ffffff;
}

a {
    color: #2a51c2;
}

a:hover {
    color: #2a51c2;
}

#maindiv {
    width: 100%;
    line-height: 1.3em;
    text-align: left;
}

#bg-left .bg-wrapper {
    background: #c2e0f2;
    height: 100%;
}

#content-wrapper {
    background: url('../img/bg_content.png') top right no-repeat;
}

#content {
    line-height: 1.3em;
    text-align: left;
    min-height: 400px;
    padding-bottom: 50px;
    padding-top: 20px;
}

/* ----------------------------------------------- footer ----------------------------------------------- */

/* change to #footer for inner-containment */
#footer-wrapper {
    background: url('../img/bg_footer.jpg') top no-repeat;
    background-color: #2a51c2;
}

#footer {
    min-height: 100px;
    color: #ffffff;
}

/*  xs  */
@media (max-width: 767px) {
    /* xs-footer-separator (lines) */
    #footer .row > .col-xs-12:not(:first-child)::before {
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 0;
    }

    #footer .row > .col-xs-12.hidden-xs ~ .col-xs-12::before,
    #footer .row > .col-xs-12.hidden-sm ~ .col-xs-12::before {
        display: none;
    }
}

/* xs, sm */
@media (max-width: 991px) {
    #footer {
        padding: 5px 15px;
    }
}

/* md, lg */
@media (min-width: 768px) {
    /* footer-spacer-top */
    #footer > .row {
        padding-top: -15px;
        padding-bottom: 10px;
    }
}

#innerfooter {
    line-height: 94px;
    padding-top: 18px;
    color: #ffffff;
    font-weight: normal;
    font-style: normal;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
}

#innerfooter a:hover {
    color: #ffffff;
    font-weight: normal;
}

/* ########################################### custom-section ########################################### */

#myNavbar {
    background: #c2e0f2;
}

#logo a {
    max-width: 100%;
    display: inline-block;
}

#logo img {
    margin: 0 auto;
}

/* small logo */
#navbar-logo {
    max-width: 70%;
    display: inline-block;
}

#navbar-logo img {
    max-width: 100%;
    max-height: 85px;
}

#vernetzt {
    background: #3960c7;
    text-align: center;
    padding-top: 18px;
    padding-bottom: 18px;
}

/* xs, sm */
@media (max-width: 991px) {
    #vernetzt {
        background: transparent;
    }
}

#content_buttons_div {
    top: 45%;
}

/* xs, sm, md  */
@media (max-width: 1199px) {
    /*  custom stuff here  */
}

/* xs, sm */
@media (max-width: 991px) {
    /*  custom stuff here  */
    /* hide side-labels */
    #content_buttons_div {
        display: none;
    }

    /* hide slider-mask */
    .slider-mask {
        display: none !important;
    }
}

/*  xs  */
@media (max-width: 767px) {
    /*  custom stuff here  */
}

.sticky-wrapper {
    position: relative;
    z-index: 51;
}

#headerpic {
    max-height: 437px;
    margin: 0 auto;
    overflow: hidden;
    /*-webkit-box-shadow: inset 10px 10px 5px 0px rgba(0,0,0,0.69);*/
    /*-moz-box-shadow: inset 10px 10px 5px 0px rgba(0,0,0,0.69);*/
    /*box-shadow: inset 10px 10px 5px 0px rgba(0,0,0,0.69);*/
}

.slider-mask {
    display: block;
    background: url('../img/slider_mask.png') left top no-repeat;
    background-size: contain;
}

/* ie-fix btgrid images */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .btgrid .row img {
        width: auto;
    }
}

/* ----------------------------------------------- styler ----------------------------------------------- */

#style {
    min-height: 23px;
}

#styler {
    color: #323232;
    line-height: 23px;
    float: left;
    text-align: left;
}

#switch {
    float: right;
    font-size: 1px;
    line-height: 1px;
}

/* ------------------------------------------ h1, #content .legacy_h1, .legacy_h1 - h6, #content .legacy_h6, .legacy_h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:visited, h6, #content .legacy_h6, .legacy_h6, h5, #content .legacy_h5, .legacy_h5, h4, #content .legacy_h4, .legacy_h4, h3, #content .legacy_h3, .legacy_h3, h2, #content .legacy_h2, .legacy_h2, h1, #content .legacy_h1, .legacy_h1 {
    color: #212121;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Arial, Verdana, Helvetica, sans-serif;
}

/*
h1, #content .legacy_h1, .legacy_h1 {

}
*/

#newslinks, #newsmandate {
    border: 1px solid #212121;
}

/* ------------------------------------------------ dark ------------------------------------------------ */

/* use if page is dark
.vorschau, .description{
    color: #FFFFFF;
}

.immo-tab{
    color: #000000;
}
*/

/* for white background */
#startseite_news ul a {
    font-size: 12px;
    color: #7c7c7c;
    font-weight: normal;
}

/* ---------------------------------------------- tab-fonts --------------------------------------------- */

/*
.tab_link_title a {
    color: #;
    font-weight: bold;
}

.tab_link {
    color: #;
}

.tab_link_mehr {
    color: #;
}

.tab_link_mehr a {
    color: #;
}

.tab_link_mandat a {
    color: #;
}

*/

/* -------------------------------- optimized events for white background ------------------------------- */

.weekdays, .weekdays a:link a:visited a:active a:hover, .weekdays_active {
    color: #cccccc;
}

.weekdays_active a:link a:visited a:active a:hover {
    color: #f7911e;
}

.events-header-heute {
    color: #ffffff;
    background-color: #4c4c4c;
}

.events-header {
    color: #5b5b5b;
    background-color: #e3e3e3;
}

.event-ort, .event-info {
    color: #4c4c4c;
}

/* ------------------------------------------------ menu ------------------------------------------------ */

/* ------------------------------------ navigation left/right (5366) ------------------------------------ */

.navbar {
    margin-bottom: 0;
    border: none;
}

/* burgermenu - background */
.navbar-default .navbar-toggle {
    background-color: transparent;
    border-color: transparent;
}

/* burgermenu - mouseover */
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: rgba(0, 0, 0, .2);
}

/* burgermenu for tablet */
@media (max-width: 991px) {
    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .navbar-header .collapse, .navbar-toggle {
        display: block !important;
    }

    .navbar-header, .navbar-nav > li {
        float: none;
    }

    .navbar-nav {
        float: none;
        margin: 7.5px -15px;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: auto;
    }

    /* burgermenu - centre text */
    .navbar-default .navbar-nav a {
        text-align: center !important;
    }

    .navbar-nav .menue_point_toplevel_5366_over > .dropdown-menu,
    .navbar-nav .menue_point_secondlevel_5366_over > .dropdown-menu {
        display: block !important;
    }
}

/* menu fixed top (tablet) */
@media (max-width: 991px) {
    #menu-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        background-color: #ffffff;
        z-index: 9;
        border-radius: 0;
    }

    /* prevents the top-content from beeing hidden behind the navbar */
    #maindiv {
        padding-top: 84px;
    }

    /* fixed burgermenu - scrollable */
    #myNavbar {
        height: auto;
        width: 100%;
        max-height: 350px;
        overflow-y: scroll !important;
        border-bottom: 1px solid #cccccc;
    }
}

/* Left Navigation */
@media (min-width: 992px) {
    .navbar-nav {
        float: none;
        margin: 0 -15px;
    }

    .navbar-nav > li {
        float: none !important;
        text-align: left;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
    }

    .navbar-header {
        float: none;
    }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav > li > a {
    line-height: 32px;
    color: #272727;
    font-weight: normal;
    /*
    background: url('../img/toplevel.jpg') top left no-repeat;
    */
    background-color: #a8cde3;
    text-align: left;
    margin: 4px 0;
    text-indent: 20px;
    padding: 0;
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

/* Toplevel - Over */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li.open > a,
.navbar-default .navbar-nav > li.open > a:hover,
.navbar-default .navbar-nav > li.open > a:focus,
.navbar-default .navbar-nav > li.menue_point_toplevel_5366_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_5366_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_5366_over > a:focus {
    color: #272727;
    font-weight: normal;
    background: url('../img/toplevel_over.jpg') center left no-repeat;
}

/* -------------------------------------- secondlevel dropdown-box -------------------------------------- */

.dropdown-menu {
    padding: 0;
    /* min-width: px; */
}

/* Secondlevel - DropdownDesign */
.navbar-default .navbar-nav > li > .dropdown-menu {

}

.menue_group_5366_start {
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

.menue_group_5366_end {
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

/* --------------------------------------------- secondlevel -------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent; /* override bootstrap */
    color: #272727;
    font-weight: normal;
    line-height: 36px;
    text-indent: 20px;
    text-align: left;
    background: url('../img/secondlevel.jpg') top right no-repeat;
    padding-right: 1px;
    background-color: #b2d5e9;
    padding: 0;
}

/* ------------------------------------------ secondlevel-over ------------------------------------------ */

.navbar-default .navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-default .navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_5366_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_5366_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_5366_over > a:focus {
    font-weight: normal;
    background: url('../img/secondlevel_over.png') left no-repeat;
    color: #2a51c2;
    /*
    background: url('../img/secondlevel_over.jpg') top right no-repeat;
    */
    background-color: #b2d5e9;
}

/* Thirdlevel - DropdownDesign */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin: 10px 0;
    background-color: #b2d5e9;
}

.menue_list_thirdlevel_5366_start {
    height: 8px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

.menue_list_thirdlevel_5366_end {
    height: 8px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

/* Thirdlevel - Design */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    color: #272727;
    font-weight: normal;
    line-height: 29px;
    /*
    background: url('../img/thirdlevel.jpg') top right no-repeat;
    padding-right: 0;
    */
    background-color: #b2d5e9;
    text-indent: 42px;
    padding: 0;
}

/* Thirdlevel - Over */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_5366_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_5366_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_5366_over > a:focus {
    color: #272727;
    font-weight: normal;
    background: url('../img/thirdlevel_over.jpg') center left no-repeat;
    background-color: #b2d5e9;
}
