@import url('https://fonts.verwaltungsportal.de/import/?family=Open+Sans:400,300,600');

body {
    font-family: Open Sans, sans-serif;
    color: #1d1d1d;
    background: url('../img/body_bg.jpg') center top no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

a {
    color: #e07004;
}

a:hover {
    color: #e07004;
}

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

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

#content-wrapper {
    background: url('../img/footer_shadow.png') bottom center no-repeat;
    background-size: contain;
}


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

/* change to #footer for inner-containment */
#footer-wrapper {
    background: url('../img/footer_bg.png') top repeat;
    background-color: #4b4b4b;
}

#footer {
    min-height: 100px;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

/*  xs  */
@media (max-width: 767px) {
    /* xs-footer-separator (lines) */
    #footer .row > .col-xs-12:not(:first-child)::before{
        background: none;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 5px 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: 10px;
        padding-bottom: 10px;
    }
}

#innerfooter {
    line-height: 15px;
    color: #fff;
    font-weight: normal;
    font-style: normal;
    padding-top: 35px;
}

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

#innerfooter a:hover {
    color: #fff;
    font-weight: normal;
    text-decoration: underline;
}


@media (max-width: 991px) {
    #innerfooter {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}


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

#topbar {
    min-height: 37px;
    line-height: 37px;
    padding: 5px 0;
    background-color: #ffffff;
}

/* xs, sm */
@media (max-width: 991px) {
    /* spacing */
    #topbar .row > div{
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

#menu-wrapper{
    background-color: #fff;
    border-top: 10px solid #cfe080;
    position: fixed;
    width: 100%;
    z-index: 30;
}


#logo {
    min-height: 10px;
}

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

#logo img {
    margin: 0 auto;
}

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

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

#vernetzt {
    /* padding: 10px 0; */
}

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

#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;
    }
}

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

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


#headerpic {
    max-height: 400px;
    margin: 0 auto;
    overflow: hidden;
}

#headerpic_shadow {
    content: '';
    position: relative;
    width: 100%;
    height: 35px;
    background: url('../img/headerpic_shadow.png') top center no-repeat;
    background-size: contain;
}

.slider-mask{
    display: block;
    background: url('../img/slider_mask.png') bottom center no-repeat;
    background-size: contain; /* remove if not correctly sliced */
}



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


/* --------------------------------------------- tab-section -------------------------------------------- */

.box {
    width: 100%;
    background: #cfe080;
    margin-bottom: 15px;
    margin-top: 0px;
    padding: 5px;
}

.box1 {
    width: 100%;
    background: none;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0px;
}

.box1 a {
    color: #ec9d4e;
}

.box *:not(.row) {
    max-width: 100%;
}

#boxtop_top {
    background: url('../img/boxtop_top.png') bottom center no-repeat;
    background-size: contain;
    height: 50px;
    width: 100%;
}

@media (max-width: 991px) {
    #boxtop_top {
        display: none;
    }
}

.boxtop {
    background: #cfe080;
    color: #1d1d1d;
    font-size: 22px;
    font-family: Open Sans, sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    padding: 5px;
}

.boxtop1 {
    background: none;
    color: #fff;
    font-size: 22px;
    font-family: Open Sans, sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    padding: 0;
}

.boxbody {
    color: #1d1d1d;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    min-height: 50px;
}

.boxbody1 {
    color: #fff;
    min-height: 50px;
}


.boxindent {
    width: 100%;
    padding: 5px 0;
    margin: 0 auto;
}

.box a {
    color: #e07004;
}



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

#style {
    min-height: 34px;
}

#styler {
    color: #1d1d1d;
    line-height: 34px;
    float: left;
    text-align: right;
    padding-right: 45px;
}

#switch {
    float: left;
    font-size: 15px;
    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: #01a9c9;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Open Sans, sans-serif;
}



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


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


#startseite_news ul a {
    font-size: 12px;
    color: #7c7c7c;
    font-weight: normal;
}


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

.tab_link_title a {
    color: #1d1d1d;
    font-weight: normal;
}

.tab_link {
    color: #1d1d1d;
}

.tab_link_mehr {
    color: #e07004;
}

.tab_link_mehr a {
    color: #e07004;
}

.tab_link_mandat a {
    color: #e07004;
}



/* -------------------------------- 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 bar (3236) --------------------------------------- */

.navbar-default ul.navbar-nav{
    height: 60px;
}

.navbar {
    min-height: 60px;
    margin-bottom: 0px;
    border: none;
}


.navbar-default .navbar-toggle {
    background-color: #cfe080;
    border-color: transparent;
}


.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: rgba(207, 224, 128, .2);
}


@media (max-width: 991px) {
    .navbar-default ul.navbar-nav{
        height: auto;
    }

    .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 li .dropdown-menu {
        position: static;
        float: none;
        width: auto;
    }



}


@media (min-width: 992px) {
    .navbar-default .navbar-nav {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
    }

    .navbar-default .navbar-nav > li {
        float: none;
        flex-grow: 1;
    }
}

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

.navbar-default .navbar-nav > li {

}

.navbar-default .navbar-nav > li > a {
    color: #1d1d1d;
    font-weight: normal;
    text-align: center;
    padding: 18px 5px;
    border-bottom: 3px solid #fff;
}

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

.navbar-default .navbar-nav > li:hover,
.navbar-default .navbar-nav > li:focus,
.navbar-default .navbar-nav > li.open,
.navbar-default .navbar-nav > li.menue_point_toplevel_3236_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_3236_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_3236_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_3236_over > a:focus {
    color: #01b5d6;
    font-weight: normal;
    border-bottom: 3px solid #01accc;
}


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

@media(min-width:992px){
    .navbar-default .navbar-nav > li > .dropdown-menu {
        margin-top: 5px;
    }
}

.navbar-default .navbar-nav > li > .dropdown-menu {

    padding: 0px;    
    background-color: #ffffff;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
}

.menue_group_3236_start{
    display: none;
}

.menue_group_3236_end{
    height: 5px;
}

menue_group_3236 dropdown-menu:after {
    content: '';
    display: block;
    position: relative;
    width: 100%;
    height: 50px;
    background: url('../img/secondlevel_end.png') top center no-repeat;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #1d1d1d;
    font-weight: normal;
    line-height: 25px;
    text-align: left;
    padding-left: 10px;
    padding-right: 40px;
}

/* ------------------------------------------ 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_3236_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_3236_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_3236_over > a:focus {
    color: #1d1d1d;
    font-weight: normal;
    background: url('../img/secondlevel_over.png') top right no-repeat;
    background-color: #cfe080;
}

/* --------------------------------------- thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {

    padding: 0px;
    margin: 0;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
}

.menue_point_secondlevel_3236_over > .dropdown-menu{
    display: block !important;
}

.menue_list_thirdlevel_3236_start {
    display: none;
}

.menue_list_thirdlevel_3236_end {
    height: 5px;
}

.menue_list_thirdlevel_3236 dropdown-menu:after {
    content: '';
    display: block;
    position: relative;
    width: 100%;
    height: 50px;
    background: url('../img/secondlevel_end.png') top center no-repeat;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        position: relative;
        margin-left: 0px;
    }


    .navbar-default .navbar-nav > li > .dropdown-menu > li {
        position: relative;
    }

    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        position: absolute;
        left: 100%;        top: 0;
    }
}

/* --------------------------------------------- thirdlevel --------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #1d1d1d;
    font-weight: normal;
    line-height: 25px;
    padding-left: 10px;
    padding-right: 40px;
}

/* ------------------------------------------- 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_3236_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_3236_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_3236_over > a:focus {
    color: #1d1d1d;
    font-weight: normal;
    background: url('../img/secondlevel_over.png') top right no-repeat;
    background-color: #cfe080}

