@import url('https://fonts.verwaltungsportal.de/import/?family=Nunito:400,700');

body {
    font-family: 'Nunito', sans-serif;
    color: #696969;





}

a {
    color: #2f4d8d;
}

a:hover {
    color: #2f4d8d;
}

#maindiv {
    width: 100%;
    line-height: 1.3em;
    text-align: left;
    background: #fff url('../img/bg_body.jpg') top center no-repeat;
    background-size:cover;


}

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


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

/* change to #footer for inner-containment */
#footer-wrapper {

    background-color: #2f4d8d;
    min-height:166px;
}

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

/*  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: 55px;
        padding-bottom: 10px;
    }
}

#innerfooter {
    line-height: 30px;
    color: #fff;
    font-weight: bold;
    margin-top:10px;
    font-style: normal;
    border-right:1px solid #4d618d;
}

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

#innerfooter a:hover {
    color: #fff;
    font-weight: bold;
}


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

#topbar {
    min-height: 20px;
    line-height: 1.3em;

    /*
        background: url('../img/bg_top.jpg') top center no-repeat;
    */

    background-color: #2f4d8d;

}

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

#menu-wrapper{
    background-color: #ffffff;

}


#logo {

    position:absolute;
    padding-top:15px;
}

#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: 80%;
}

#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  */
}

.slider-mask{
    display:block;
    max-height: 432px;
    min-height: 432px;    margin: 0 auto;
    background: url('../img/slider_mask.png') top center no-repeat;
    background-size: contain; /* remove if not correctly sliced */
}

/* 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: 432px;
    min-height: 432px;    margin: 0 auto;
    /*overflow: hidden;*/

}

@media(max-width:991px){
    #headerpic{
        min-height: 250px;
        max-height:250px;
    }
}



#content_spacer {
    height: 23px;
    line-height: 1px;
    font-size: 1px;
}

/* 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: transparent;
    padding-top:5px;
    padding-bottom:5px;

}

.box * {
    max-width: 100%;
}

.boxtop {
    background: transparent;
    color: #f0f5ff;
    font-size: 22px;
    font-family: 'Nunito', sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: bold;
    padding: 0 6%;
}

.boxbody {
    color: #f0f5ff;
    min-height: 50px;
}


.boxindent {
    color: #f0f5ff;
    width: 100%;
    padding: 5px 0;
    margin: 0 auto;
    text-align:right;

}

.box a {
    color: #f0f5ff;

}

.boxbottom {

    line-height: 1px;
    font-size: 1px;
}











.box2 {
    width: 100%;
    background: transparent;
    margin-top: 30px;
}

.box2 * {
    max-width: 100%;
}

.boxtop2 {
    background: transparent;
    color: #2f4d8d;
    font-size: 22px;
    font-family: 'Nunito', sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: bold;
}

.boxbody2 {
    color: #696969;
    min-height: 50px;
}


.boxindent2 {
    color: #696969;
    width: 100%;
    padding: 5px 0;
    margin: 0 auto;
    text-align: left;

}

.box2 a {
    color: #696969;

}

.boxbottom2 {
    line-height: 1px;
    font-size: 1px;
}



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



#style {
    min-height: 19px;
    margin-top:18px;
}

#styler {

    line-height: 19px;
    float: left;
    text-align: right;
}

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

}

#switch a{
    margin-right:6px;
}




/* ------------------------------------------ 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: #2f4d8d;
    font-weight: bold;
    line-height: 1.2em;
    font-family: 'Nunito', sans-serif;
}

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

}
*/

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


/* ------------------------------------------------ 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: #f0f5ff;
    font-weight: bold;
}

.tab_link {
    color: #f0f5ff;
}

.tab_link_mehr {
    color: #f0f5ff;
}

.tab_link_mehr a {

}

.tab_link_mandat a {

}



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

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

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

/* burgermenu - background */
.navbar-default .navbar-toggle {
    background-color: #2f4d8d;
    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-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;
    }

    /* fixed burgermenu-height */
    /*
    #menu-wrapper-sticky-wrapper{
        max-height: 84px !important;
    }
    */

}

/* menu fixed top (tablet) */

/*** Menü über komplette Breite (1200px) ***/
@media (min-width: 992px) {
    .navbar-default .navbar-nav {
        display: table;
        width: 100%;
        table-layout: auto;
    }

    .navbar-default .navbar-nav > li {
        display: table-cell;
        float: none;
        vertical-align: middle;
    }
}

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

.navbar-default .navbar-nav > li {
    /*
    background: url('../img/toplevel.jpg') top left no-repeat;
    */

}

.navbar-default .navbar-nav > li > a {
    color: #2f4d8d;
    font-weight: bold;
    border-bottom:3px solid transparent;
    text-align: center;
    padding: 10px 5px;
}

/* -------------------------------------------- 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_18714_over{
    /*
    background: url('../img/toplevel_over.jpg') top right no-repeat;
    */

}

.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_18714_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_18714_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_18714_over > a:focus {
    color: #2f4d8d;
    font-weight: bold;
    border-bottom-color:#8294bb;
}


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

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

.navbar-default .navbar-nav > li > .dropdown-menu {
    /* min-width: px; */
    border-top:3px solid #7889ad;
    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_18714_start{
    height: 12px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

.menue_group_18714_end{
    height: 12px;
    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: #5c5c5c;
    font-weight: bold;
    line-height: 36px;

    text-align: left;
    /*
    background: url('../img/secondlevel.jpg') top right no-repeat;
    */
    padding-left: 15px;
    padding-right:30px;
}

/* ------------------------------------------ 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_18714_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_18714_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_18714_over > a:focus {
    color: #ffffff !important;
    font-weight: bold;
    background: url('../img/secondlevel_over.png') center right no-repeat;
    background-color: #2f4d8d !important;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    /* min-width: px; */
    padding: 0px;
    margin: 0;
    background-color: #ffffff;
    width:100%;

}

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

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

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

    /* Thirdlevel - right dropdown */
    .navbar-default .navbar-nav > li > .dropdown-menu > li {
        position: relative;
    }

    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        top: 0;
    }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent; /*override bootstrap*/
    color: #5c5c5c;

    font-weight: normal;
    line-height: 30px;
    /*
    background: url('../img/thirdlevel.jpg') top right no-repeat;
    */
    padding-left: 25px;
    padding-right:30px;

}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a::before{
    position:relative;
    line-height: 30px;
    padding-right:3px;
    content:"\2022";
    width:4px;
    height:4px;
    bottom:2px;

}

/* ------------------------------------------- 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_18714_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_18714_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_18714_over > a:focus {
    color: #ffffff;
    font-weight: normal;
    background: url('../img/secondlevel_over.png') center right no-repeat;
    background-color: #5971a4}

