@import url("https://fonts.verwaltungsportal.de/css/?family=Open+Sans:300,400,500,600,700,300i,400i,500i,600i,700i");
body {
    font-family: "Open Sans", sans-serif;
    color: #101010;
    background: #ffffff;
    font-size: 1rem; /* 1rem = 16px */
    line-height: 1.5;
    font-weight: 300;
}

@media (min-width: 768px) {
    body {
        font-size: 1.125rem;
    }
}

a {
    color: #00619e;
}

#content a {
    color: #00619e;
    font-style: italic;
}


a:hover {
    color: #00619e;
}

b, strong {
    font-weight: 700;
}

/* ----------------------------------------------- logo ----------------------------------------------- */

#logo {
    display: inline-block;
    margin: 30px 0;
}

#logo img {
    display: block;
}

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

    #logo {
        margin: 10px 0px;
    }
}

.contrast_dark #logo img {
    background-color: #fff;
}

/* ------------------------------------------------ contrast_style ---------------------------------------------- */

#contrast_style button {
    color: #000000;
    padding: 0;
    font-size: 0;
    display: inline-block;
    text-align: center;
    width: 29px;
    height: 29px;
    font-weight: 400;
    background: rgba(255, 255, 255, 1);
    transition: background 300ms linear;
    position: relative;
    z-index: 1;
    border: 1px solid #00619e;
    border-radius: 5px;
}

#contrast_style button:hover,
#contrast_style button:focus {
    background: #00619e;
}

#contrast_style *+* {
    margin-left: 3px;
}

@media (max-width: 991px) {
    #contrast_style {
        margin-bottom: 10px;
    }
}

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

@media (min-width: 992px) {
    #style {
        margin-left: 30px;
    }
    #search {
        margin-left: 30px;
    }
}
#style span,
#contrast_style span {
    font-size: 14px;
    font-weight: 700;
    margin-right: 8px;
}
#style button {
    padding: 0;
    color: #101010;
    display: inline-block;
    min-width: 29px;
    min-height: 29px;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    background: rgba(255, 255, 255, 1);
    position: relative;
    line-height: 1;
    transition: color 300ms linear, background 300ms linear;
    border: 1px solid #00619e;
    border-radius: 5px;
}

#style button+button {
    margin-left: 3px;
}

#style button:hover,
#style button:focus {
    color: #fff;
    background: #00619e;
}

#search {
    height: 35px;
    background: #ffffff;
    border: 1px solid #2075aa;
    border-radius: 10px 0px 10px 10px;
    display: inline-block;
    position: relative;
}

#search_input {
    color: #00619e;
    font-size: 15px;
    font-style: italic;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 33px;
    padding-left: 10px;
    padding-right: 43px;
    height: 35px;
    width: 100%;
}

#search_submit {
    width: 33px;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 33px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

#search_input::-ms-input-placeholder {
    color: #00619e !important;
}

#search_input::-webkit-input-placeholder {
    color: #00619e !important;
}

#search_input::-moz-placeholder {
    opacity: 1;
}

#search_input:-moz-placeholder {
    opacity: 1;
}

@media (max-width: 991px) {
    #search {
        display: block;
        margin: 15px;
    }
}

@media (min-width: 992px) {
    #search {
        min-width: 300px;
    }
}

/* ------------------------------------------- navigation ------------------------------------------- */

nav {
    background-color: #00619e;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #ffffff;
        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }
    #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
        background-color: #00619e;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }
    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        -webkit-transform: rotate(-45deg) translate(-6px, 6px);
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    #burgerButton[aria-expanded="true"] #burgerButtonInner2 {
        opacity: 0;
    }
    #burgerButton[aria-expanded="true"]:after {
        -webkit-transform: rotate(45deg) translate(-4px, -6px);
        transform: rotate(45deg) translate(-4px, -6px);
    }
    #burgerButtonInner {
        top: 16px;
    }
    #burgerButtonInner2 {
        top: 24px;
    }
    #burgerButton:after {
        top: 32px;
        content: "";
        display: block;
    }
    .navbar-nav {
        margin: 20px 0;
    }
    .navbar-collapse {
        top: 0;
        background: #00619e;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        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);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -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[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }
    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }
    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        -webkit-transition: width 300ms linear, opacity 300ms linear;
        -moz-transition: width 300ms linear, opacity 300ms linear;
        -ms-transition: width 300ms linear, opacity 300ms linear;
        -o-transition: width 300ms linear, opacity 300ms linear;
        transition: width 300ms linear, opacity 300ms linear;
    }
    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }
    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    .navbar, .navbar>div#myNavbar, .navbar>div#myNavbar>ul, .navbar>div#myNavbar>ul>li {
        height: 100% !important;
    }
    nav.horizontally .navbar-nav {
        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;
    }
    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }
    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }
    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }
    nav.horizontally .navbar-nav>li, nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }
    .navbar-default .navbar-nav > li > ul,
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }
    .open > .dropdown-menu,
    .navbar-default .navbar-nav > li:hover > ul,
    .navbar-default .navbar-nav > li > .dropdown-menu > li:hover > .dropdown-menu,
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .nav .open > .dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    padding: 10px 5px;
    position: relative;
    font-size: 1.25rem;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 15px 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-nav > li:hover > a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.open > a,
.navbar-nav > li.open > a:hover,
.navbar-nav > li.open > a:focus,
.navbar-nav > li[class$="_over"] > a,
.navbar-nav > li[class$="_over"] > a:hover,
.navbar-nav > li[class$="_over"] > a:focus {
    color: #00619e;
    background-color: #ffffff;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 25px 0;
    background-color: #00619e;
    border-radius: 0px 30px 30px 30px;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 10px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin: 10px 0 0 10px;
    }
    .navbar-default .navbar-nav > li > .dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 10px;
        left: 0;
        right: 0;
        top: -10px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
}

/* --------------------------------------------- secondlevel + thirdlevel  -------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #ffffff;
    font-weight: 400;
    text-align: center;
    padding: 6px 30px;
    position: relative;
    font-size: 1.125rem;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a  {
        text-align: left;
    }
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav > li > .dropdown-menu > li:hover > a,
.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus {
    color: #00619e;
    background-color: #ffffff;
}


/* ----------------------------------------------- banner ----------------------------------------------- */

#slider, #headerpic {
    overflow: hidden;
    max-height: 300px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

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

    #headerpic a.nivo-prevNav {
        left: 65px;
    }

    #headerpic a.nivo-nextNav {
        right: 65px;
    }
}

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

.slider-mask {
    display: block;
    background: url(../img/slider-mask.png) left -4px bottom no-repeat;
    background-size: contain;
}

/* --------------------------------------------- tabs -------------------------------------------- */

.tab {
padding: 20px 35px;
background-color: #00619e;
border-radius: 30px 0px 30px 30px;
color: #ffffff;
}

.tab a {
    color: #ffffff;
}

.tabHeadline {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    color: #ffffff;
    font-weight: bold;
    font-family: "Open Sans", sans-serif;
}

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

main {
    text-align: left;
    min-height: 200px;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (max-width: 991px) {
    #bg-right {
        padding-top: 30px;
    }
}

#newsticker {
    margin-top: 30px;
    font-size: 1rem;
    color: #101010;
}

#newsticker a {
    color: #101010;
}

@media (min-width: 992px) {

    #newsticker {
        margin-top: 40px;
    }

    main {
        padding-top: 40px;
        padding-bottom: 90px;
    }
}

/* ------------------------------------------ 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: #00619e;
    font-weight: bold;
    line-height: 1.2;
    font-family: "Open Sans", sans-serif;
}

h1, #content .legacy_h1, .legacy_h1, .h1 {
    font-size: 1.8rem;
}

@media (min-width: 992px) {
    h1, #content .legacy_h1, .legacy_h1, .h1 {
        font-size: 2.5rem;
    }
}

h2, #content .legacy_h2, .legacy_h2, .h2 {
    font-size: 1.8rem;
}

@media (min-width: 992px) {
    h2, #content .legacy_h2, .legacy_h2, .h2 {
        font-size: 2.3rem;
    }
}

h3, #content .legacy_h3, .legacy_h3, .h3 {
    font-size: 1.8rem;
}

@media (min-width: 992px) {
    h2, #content .legacy_h2, .legacy_h2, .h2 {
        font-size: 2.1rem;
    }
}

h4, #content .legacy_h4, .legacy_h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:visited {
    font-size: 1.8rem;
}

@media (min-width: 992px) {
    h4, #content .legacy_h4, .legacy_h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:visited {
        font-size: 1.9rem;
    }
}

h5, #content .legacy_h5, .legacy_h5, .h5 {
    font-size: 1.7rem;
}

h6, #content .legacy_h6, .legacy_h6, .h6 {
    font-size: 1.5rem;
}

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

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


footer {
    background: #005489;
    color: #ffffff;
    font-weight: 400;
    font-size: 1rem;
}

footer a {
    color: #ffffff;
}

.footerTab a {
    text-decoration: underline;
    font-style: italic;
}

.footerTab a:hover,
.footerTab a:focus {
    color: #ffffff;
}

.footerTab :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.125rem;
    color: #fff;
}

#footer {
    padding-top: 35px;
    padding-bottom: 35px;
}

@media (min-width: 992px) {
    footer {
        background: url(../img/footer.jpg) top right no-repeat #005489;
    }
}

@media (max-width: 991px) {

    #footer {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 20px 0;
        opacity: 0.3;
    }
    #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before, #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

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

#innerfooter a:hover {
    text-decoration: underline;
}


/* --------------------------------------------- vernetzt -------------------------------------------- */

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.4;
    margin: 0 auto;
    font-weight: 400;
}

@media (min-width: 768px) {
    #vernetzt {
        margin: 0;
    }
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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