@import url('https://fonts.verwaltungsportal.de/import/?family=Open+Sans:400,300,600');
@import url('https://fonts.verwaltungsportal.de/import/?family=Calligraffitti');
body {
    font-family: Open Sans, sans-serif;
    color: #2b2b2b;
    background: #fff;
}

a {
    color: #0061b3;
}

a:hover {
    color: #0061b3;
}

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

#content {
    line-height: 1.2em;
    text-align: left;
    min-height: 400px;
    padding-bottom: 30px;
    padding-top: 10px;
}

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

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

#footer-wrapper {
    background-color: #004a88;
}

#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: 20px;
        padding-bottom: 10px;
    }
}

#innerfooter {
    line-height: 30px;
    color: #a6b6cb;
    font-weight: normal;
    font-style: normal;
}

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

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

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

#topbar {
    height: 44px;
    line-height: 44px;
    padding: 5px 0;
    background-color: #004a88;
}

/* xs, sm */

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

#menu-wrapper {
    background-color: #fff;
}

#tab-wrapper {
    background: url('../img/tab-wrapper.png') top center no-repeat, #fff;
    padding: 60px 0;
}

#bg-logo {
    padding-left: 0px;
    padding-right: 0px;
}

#logo {
    min-height: 10px;
    max-height: 125px;
    margin-top: -44px;
}

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

#logo img {
    margin: 0 auto;
}

/* small logo */

#navbar-logo {
    max-width: 70%;
    display: inline-block;
    padding-right: 3px;
}

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

#vernetzt {
    text-align: center;
}

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

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

#footerpic {
    max-height: 180px;
    min-height: 180px;
    margin: 0 auto;
    /*overflow: hidden;*/
}

#content_spacer {
    height: 24px;
    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: #f6f6f6;
    margin-bottom: 10px;
    -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

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

.boxtop {
    color: #004a88;
    font-size: 26px;
    font-family: 'Calligraffitti', cursive;
    min-height: 60px;
    line-height: 60px;
    padding: 0 6%;
}

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

.boxindent {
    color: #2b2b2b;
    width: 88%;
    padding: 5px 0;
    margin: 0 auto;
    min-height: 190px;
}

.box a {
    color: #0061b3;
    text-decoration: underline;
}

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

.box2 {
    width: 100%;
    margin-bottom: 10px;
}

.boxindent2 {
    color: #2b2b2b;
    width: 100%;
    margin: 0 auto;
    height: 271px;
    overflow: hidden;
}

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

#style {
    min-height: 18px;
    padding-top: 9px;
}

#switch {
    float: left;
}

.a, .aa, .aaa {
    display: block;
    height: 18px;
    float: left;
    padding: 0;
    margin: 0 0 0 10px;
    font-size: 1px;
    line-height: 1px;
}

.a {
    background: url('../img/a.png') top center no-repeat;
    width: 10px;
}

.a:hover {
    background: url('../img/a_over.png') top center no-repeat;
    width: 10px;
}

.aa {
    background: url('../img/aa.png') top center no-repeat;
    width: 13px;
}

.aa:hover {
    background: url('../img/aa_over.png') top center no-repeat;
    width: 13px;
}

.aaa {
    background: url('../img/aaa.png') top center no-repeat;
    width: 16px;
}

.aaa:hover {
    background: url('../img/aaa_over.png') top center no-repeat;
    width: 16px;
}

/* ------------------------------------------ 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 {
    color: #2b2b2b;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Open Sans, sans-serif;
}

h1, #content .legacy_h1, .legacy_h1 {
    color: #2b2b2b;
    font-weight: normal;
    line-height: 1.2em;
    font-family: 'Calligraffitti', cursive;
    margin-top: 25px;
}

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

}
*/

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

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

.tab_link {
    color: #2b2b2b;
}

.tab_link_mehr {
    color: #2b2b2b;
}

.tab_link_mehr a {
    color: #0061b3;
}

.tab_link_mandat a {
    color: #0061b3;
}

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

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

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

/* burgermenu - background */

.navbar-default .navbar-toggle {
    background-color: #004a88;
    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 {
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }
    .navbar-default .navbar-nav>li {
        display: inline-block;
        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: #484848;
    font-weight: normal;
    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_18247_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_18247_over>a, .navbar-default .navbar-nav>li.menue_point_toplevel_18247_over>a:hover, .navbar-default .navbar-nav>li.menue_point_toplevel_18247_over>a:focus {
    color: #0061b3;
    font-weight: normal;
}

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

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

.navbar-default .navbar-nav>li>.dropdown-menu {
    padding: 0px;
    margin: 0;
    background-color: #fff;
    /* min-width: px; */
    -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_18247_start {
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

.menue_group_18247_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: #2b2b2b;
    font-weight: normal;
    line-height: 30px;
    text-align: left;
    /*
    background: url('../img/secondlevel.jpg') top right no-repeat;
    padding-right: 0px;
    */
}

/* ------------------------------------------ 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_18247_over>a, .navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_18247_over>a:hover, .navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_18247_over>a:focus {
    color: #004a88 !important;
    font-weight: normal;
    background-color: #f6f6f6 !important;
    -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 0px;
    margin: 0;
    background-color: #fff;
    -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_list_thirdlevel_18247_start {
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

.menue_list_thirdlevel_18247_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 {
        position: absolute;
        left: 100%;
        top: 0;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    background-color: transparent;
    /*override bootstrap*/
    color: #2b2b2b;
    font-weight: normal;
    line-height: 30px;
}

/* ------------------------------------------- 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_18247_over>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_18247_over>a:hover, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_18247_over>a:focus {
    color: #004a88 !important;
    font-weight: normal;
    background-color: #f6f6f6 !important;
    -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}