@import url('https://fonts.verwaltungsportal.de/css?family=Lato:300,300i,400,400i,700,700i&display=swap');

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #666666;
    background: #ffffff;
    font-size: 20px;
}

a {
    color: #034b90;
    -webkit-transition: background-color 300ms linear, color 300ms linear;
    -moz-transition: background-color 300ms linear, color 300ms linear;
    -ms-transition: background-color 300ms linear, color 300ms linear;
    -o-transition: background-color 300ms linear, color 300ms linear;
    transition: background-color 300ms linear, color 300ms linear;
}

a:hover {
    color: #034b90;
}

#content a,
b,
strong {
    font-weight: 600;
}

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

/* ----------------------------------------------- topbar ----------------------------------------------- */
#topbar {
    padding-top: 15px;
    padding-bottom: 15px;
}

@media (min-width: 992px) {
    #topbar {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    #topbar .row {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        align-content: flex-end;
    }

    #topbar .row>div:nth-child(2) {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 6px;
    }
}

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo img {
        max-width: 300px;
        width: 100%;
    }
}

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

#logo-wrapper{
    background: #fff;
    padding-top: 20px;
    padding-bottom: 10px;
}

#menu {
    background-color: #ffffff;
    position: relative;
    z-index: 51;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

@media (min-width: 992px) {
    #menu .row {
        display: flex;
    }

    #menu .row>div:nth-child(1) {
        display: flex;
        align-content: center;
        align-items: center;
    }

    .navbar,
    #menu .navbar-collapse,
    .navbar-default .navbar-nav,
    .navbar-default .navbar-nav>li {
        height: 100% !important;
    }
}

/* --------------------------------------- navigation bar (22681) --------------------------------------- */
.navbar {
    min-height: 0;
    margin-bottom: 0px;
    border: none;
}

/* burgermenu - background */
.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #ffffff;
    border-color: transparent;
    -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
}

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

    .navbar-collapse {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        z-index: 100;
        width: 70%;
        background: #ffffff;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        border: none;
        opacity: 0;
        pointer-events: none;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse::after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 30%;
        z-index: -1;
        pointer-events: none;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .navbar-collapse.collapse.in,
    .navbar-header .collapse,
    .navbar-toggle {
        left: 0;
        opacity: 1;
        border: none;
        pointer-events: auto;
        z-index: 60;
    }

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

    .navbar-nav {
        float: none;
        margin: 12px auto;
        max-width: 400px;
    }

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

    .navbar-toggle {
        position: fixed;
        right: 15px;
        top: 15px;
        z-index: 101;
        left: auto;
        margin: 0 !important;
        padding: 6px;
        line-height: 0;
        display: block;
        -webkit-transition: background 300ms linear;
        -moz-transition: background 300ms linear;
        -ms-transition: background 300ms linear;
        -o-transition: background 300ms linear;
        transition: background 300ms linear;
    }

    #myNavbar.navbar-collapse.collapse {
        overflow-y: auto !important;
    }
}

/* menu fixed top (tablet) */
/*** Menü über komplette Breite (1200px) ***/
@media (min-width: 992px) {
    .navbar-default .navbar-nav {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

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

    .navbar-nav::after,
    .navbar-nav::before {
        display: none;
    }

    .navbar-collapse {
        -webkit-box-shadow: none;
        box-shadow: none
    }

    .navbar-nav>li {
        display: inline-block !important;
    }

    #menu .navbar-collapse {
        padding-left: 0;
        padding-right: 0;
        display: flex !important;
        align-content: center;
        align-items: center;
    }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */
.navbar-default .navbar-nav>li>a {
    color: #002769;
    font-weight: 500;
    text-align: center;
    padding: 10px 5px;
    position: relative;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 55px 10px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}

/* -------------------------------------------- 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_22681_over>a,
.navbar-default .navbar-nav>li.menue_point_toplevel_22681_over>a:hover,
.navbar-default .navbar-nav>li.menue_point_toplevel_22681_over>a:focus {
    color: #ffffff;
    background-color: #011b48;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 20px 0;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.12);
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding: 15px;
    }
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 12px;
        left: 50%;
        -moz-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        content: "";
        position: absolute;
        top: -12px;
        left: 50%;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 14px 12px 14px;
        border-color: transparent transparent rgba(255, 255, 255, 0.9) transparent;
        -moz-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -20px;
    }
}

/* keep dropdown open in case the secondlevel is active */
.menue_point_secondlevel_22681_over>.dropdown-menu {
    display: block !important;
}

@media (min-width: 992px) {

    /* 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;
        margin-left: 15px;
    }
}

.menue_group_22681_start,
.menue_group_22681_end,
.menue_list_thirdlevel_22681_start,
.menue_list_thirdlevel_22681_end {
    display: none;
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #2e3c48;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    padding: 6px 25px;
}

/* ------------------------------------------ secondlevel + thirdlevel 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_22681_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_22681_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_22681_over>a:focus,
.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_22681_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_22681_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_22681_over>a:focus {
    background: rgba(1, 27, 72, 0.9);
    color: #ffffff;
}

/* ----------------------------------------------- banner ----------------------------------------------- */
#slider {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    #slider {
        max-height: 550px;
    }

    body:not(.index) #slider {
        max-height: 450px;
    }
}

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.slider-wrapper,
#slider {
    height: 100%;
}

.slider-mask {
    display: none;
}

/* ------------------------------------------------ content ----------------------------------------------- */

#content {
    line-height: 1.6em;
    text-align: left;
    padding-bottom: 30px;
    padding-top: 30px;
}

@media (min-width: 992px) {
    #content {
        padding-bottom: 60px;
        padding-top: 60px;
    }
}

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

/* --------------------------------------------- share buttons -------------------------------------------- */
#content_buttons_div {
    top: 45%;
    z-index: 100;
}

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

/* ------------------------------------------ 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: #034b90;
    font-weight: 600;
    line-height: 1.2em;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
}

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

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

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

/* --------------------------------------------- links below content -------------------------------------------- */
#content_footer {
    margin-top: 40px;
    height: auto;
    font-size: 80%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 479px) {

    #contentbottom_left,
    #contentbottom_right {
        width: 100% !important;
        text-align: center !important;
    }

    .content_footer,
    #content_footer {
        height: auto !important;
    }
}

@media (max-width: 499px) {

    #breadcrumbincontent,
    #contenttop_right {
        width: 100%;
    }
}

#content_footer a {
    text-decoration: none;
}

/* ----------------------------------------------- footer ----------------------------------------------- */
#footer {
    background: url('../img/bg_footer.png') center no-repeat;
    background-color: #011b48;
    padding-top: 30px;
    padding-bottom: 30px;
    color: #ffffff;
    line-height: 1.6em;
}

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

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

@media (min-width: 992px) {
    #footer .row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
    }
}

@media (min-width: 992px) {
    #footer {
        padding-top: 55px;
        padding-bottom: 55px;
    }
}

#footer a {
    color: #ffffff;
}

.tabHeadline {
    text-transform: uppercase;
}

#innerfooter {
    background-color: #00102a;
    padding-top: 15px;
    padding-bottom: 15px;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
}

#innerfooter a:hover {
    color: #fbe867;
}

#innerfooter a+a::before {
    content: "";
    margin: 0 15px;
    color: #ffffff;
}

@media (min-width: 1200px) {
    #innerfooter a+a::before {
        margin: 0 25px;
    }
}

/* --------------------------------------------- vernetzt -------------------------------------------- */
#vernetzt {
    text-align: right;
    font-size: 82%;
    color: #ffffff;
    display: flex;
    align-items: center;
    align-content: center;
    line-height: 130%;
    justify-content: center;
    margin: 0 auto;
    font-weight: 400;
}

@media (min-width: 768px) and (max-width: 991px) {
    #vernetzt {
        margin-top: 30px;
    }
}

@media (min-width: 992px) {
    #vernetzt {
        justify-content: flex-end;
        float: right;
        margin: 0;
    }
}

#vernetzt b {
    color: #ffffff;
    font-weight: 400;
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-left: 10px;
}


/* --------------------------------------------- Sponsoren -------------------------------------------- */

#sponsoren {
    padding-top: 25px;
    padding-bottom: 25px;
}

#sponsoren>.container>.row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#sponsoren .tabHeadline {
    color: #011b48;
}