@import url('https://fonts.verwaltungsportal.de/import/?family=Comfortaa:400,400i,700,700i%7CYanone+Kaffeesatz:700,700i');
body {
    font-family: "Comfortaa", sans-serif;
    font-weight: 400;
    color: #514d4d;
    background: #ffffff;
    font-size: 0.9375rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #a90107;
}

a:hover, a:focus {
    color: #a90107;
    text-decoration: underline;
}

main a, b, strong {
    font-weight: 700;
}

#overflow {
    overflow: hidden;
}

#banner-texts-teaser {
    bottom: 80px !important;
    left: 10% !important;
}

@media (min-width: 1200px) {
#banner-texts-teaser {
    bottom: 150px !important;
    left: 10% !important;
}
}
/* ----------------------------------------------- topbar ----------------------------------------------- */

#topbar {
    border-top: 4px solid #a90107;
}

@media (min-width: 992px) {
    #topbar {
        border-top-width: 8px;
    }
}

#topbar>.row {
    background: #ffffff;
    font-size: 0.875rem;
}

@media (min-width: 992px) {
    #topbar>.row>div:last-child {
        padding-top: 17px;
        padding-bottom: 17px;
    }
    #topbar>.row>div>*:not(:last-child) {
        border-right: 1px solid rgba(0, 0, 0, 0.12);
        margin-right: 30px;
        padding-right: 25px;
    }
}

/* ----------------------------------------------- search ----------------------------------------------- */

form[id^="search"] {
    height: 30px;
    background: transparent;
    display: inline-block;
    position: relative;
    margin-top: 10px;
    border-bottom: 1px solid #c1c1c1;
}

@media (min-width: 992px) {
    form[id^="search"] {
        max-width: 240px;
        margin-top: 0;
        width: 100%;
    }
}

form [id^="search_input"] {
    color: #444444;
    font-size: 14px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 30px;
    padding-left: 5px;
    padding-right: 47px;
    height: 30px;
    width: 100%;
}

form [id^="search_submit"] {
    width: 30px;
    height: 30px;
    border: none;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: rgba(0,0,0,0.1);
}

[id^="search_input"]::-ms-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-moz-placeholder {
    opacity: 1;
}
/* ----------------------------------------------- logo ----------------------------------------------- */

.logo, .logoSticky {
    background: #ffffff;
    padding: 16px 20px 17px 20px;
    display: inline-block;
    -webkit-box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .logo {
        position: relative;
        z-index: 50;
        margin-bottom: -20px;
    }
}

@media (min-width: 992px) {
    .logo {
        position: absolute;
        left: 15px;
        top: -8px;
        z-index: 50;
        display: block;
        width: calc(100% - 30px);
    }
    .logoSticky {
        opacity: 0;
        pointer-events: none;
        position: absolute;
        text-align: center;
        top: 0;
        left: 15px;
        right: 15px;
        -webkit-transition: opacity 200ms linear;
        -moz-transition: opacity 200ms linear;
        -ms-transition: opacity 200ms linear;
        -o-transition: opacity 200ms linear;
        transition: opacity 200ms linear;
    }
    .is-sticky .logoSticky {
        opacity: 1;
        pointer-events: auto;
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .logoSticky img {
        max-height: 112px;
    }
}

.logo img {
    display: block;
    margin: 0 auto;
}

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

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

/* 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: #ffffff;
        border: none !important;
        -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: #005191;
        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 {
        padding-top: 30px;
        top: 0;
        background: #ffffff;
        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;
    }
    .dropdown-toggle-button-wrapper {
        top: 6px;
        right: 0;
    }
    .dropdown-toggle-button-wrapper2 {
        top: 3px;
    }
}

@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) {
    #menu, #menu-sticky-wrapper {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        z-index: 49;
        -webkit-transition: background 300ms linear;
        -moz-transition: background 300ms linear;
        -ms-transition: background 300ms linear;
        -o-transition: background 300ms linear;
        transition: background 300ms linear;
    }
    .is-sticky #menu, #menu-sticky-wrapper.is-sticky {
        z-index: 59;
    }
    .is-sticky #menu {
        background: #ffffff;
    }
    #menu::after {
        content: "";
        display: block;
        pointer-events: none;
        position: absolute;
        z-index: -1;
        left: 0;
        right: 0;
        top: 0;
        height: 450px;
        opacity: 0;
        background: linear-gradient(to bottom, rgba(0, 81, 145, 0.60) 33%, rgba(0, 81, 145, 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;
    }
    #menu:hover::after, #menu:focus::after {
        opacity: 1;
    }
    #menu:focus-within::after {
        opacity: 1;
    }
    nav.horizontally .navbar-nav {
        margin: 30px 0 0 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
    }
    nav.horizontally .navbar-default .navbar-nav>li {
        flex-grow: 1;
    }
    .navbar-default .navbar-nav li[class*="toplevel"]>ul {
        display: flex !important;
        min-height: 250px;
        flex-wrap: wrap;
        pointer-events: none;
        position: absolute;
        opacity: 0;
        top: calc(100% + 30px);
        left: -233px;
        right: 15px;
        z-index: 1000;
        padding: 30px 40px 30px 270px;
        -webkit-transition: top 300ms linear, opacity 300ms linear;
        -moz-transition: top 300ms linear, opacity 300ms linear;
        -ms-transition: top 300ms linear, opacity 300ms linear;
        -o-transition: top 300ms linear, opacity 300ms linear;
        transition: top 300ms linear, opacity 300ms linear;
    }
    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
    }
    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
    }
    .nav li[class*="toplevel"].open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }
    nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        width: 33.33%;
    }
    nav.horizontally .navbar-nav>li>.dropdown-menu>li:not(:nth-child(1)):not(:nth-child(3n+4)) {
        border-right: 1px solid rgba(0, 0, 0, 0.12);
    }
    nav.horizontally .navbar-nav>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        top: 0;
        bottom: 0;
        left: 0;
        width: 230px;
        height: 100%;
        background-color: #002e6a;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        display: block !important;
        padding-bottom: 10px;
    }

    .navbar-default:focus-within .navbar-nav li[class*="secondlevel"] > ul,
.navbar-default:focus-within .navbar-nav li[class*="toplevel"] > ul {
z-index: 12;
}
.navbar-default .navbar-nav li[class*="toplevel"]:hover > ul,
.navbar-default .navbar-nav li[class*="toplevel"]:focus > ul {
z-index: 13
}
}

@media (min-width: 1200px) {
    .navbar-default .navbar-nav li[class*="toplevel"]>ul {
        left: -285px;
        padding-left: 290px;
    }
    nav.horizontally .navbar-nav>li>.dropdown-menu::before {
        width: 270px;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #444444;
    background: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 12px 0;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Yanone Kaffeesatz", sans-serif;
}

@media (max-width: 991px) {
    nav.horizontally .navbar-nav>li>a.dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 15px;
    }
    .navbar-default .navbar-nav>li>a {
        font-size: 1.5rem;
        padding: 26px 15px 20px 15px;
        text-align: center;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        height: 100%;
        min-height: 101px;
    }
    .navbar-default .navbar-nav>li>a.dropdown-toggle::before {
        content: "";
        opacity: 0;
        pointer-events: none;
        position: absolute;
        display: block;
        left: 50%;
        margin-left: -24px;
        bottom: -60px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 24px 20px 24px;
        border-color: transparent transparent #ffffff transparent;
        -webkit-transition: opacity 300ms linear, bottom 300ms linear;
        -moz-transition: opacity 300ms linear, bottom 300ms linear;
        -ms-transition: opacity 300ms linear, bottom 300ms linear;
        -o-transition: opacity 300ms linear, bottom 300ms linear;
        transition: opacity 300ms linear, bottom 300ms linear;
    }
}

@media (min-width: 1200px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 20px;
    }
}

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

.navbar-default .navbar-nav>li>a::after {
    content: "";
    display: block;
    height: 4px;
    width: 0;
    max-width: 100px;
    background: #a90107;
    margin: 2px 0 0 0;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity 300ms linear, width 300ms linear;
    -moz-transition: opacity 300ms linear, width 300ms linear;
    -ms-transition: opacity 300ms linear, width 300ms linear;
    -o-transition: opacity 300ms linear, width 300ms linear;
    transition: opacity 300ms linear, width 300ms linear;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a::after {
        margin-left: auto;
        margin-right: auto;
    }
}

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

.navbar-nav>li:focus-within>a {
    color: #005191;
}

.navbar-nav>li:hover>a::after, .navbar-nav>li>a:hover::after, .navbar-nav>li>a:focus::after, .navbar-nav>li.open>a::after, .navbar-nav>li.open>a:hover::after, .navbar-nav>li.open>a:focus::after, .navbar-nav>li[class$="_over"]>a::after, .navbar-nav>li[class$="_over"]>a:hover::after, .navbar-nav>li[class$="_over"]>a:focus::after {
    width: 80%;
    opacity: 1;
}

.navbar-nav>li:focus-within>a::after {
    width: 80%;
    opacity: 1;
}

@media (min-width: 992px) {
    .navbar-nav>li:hover>a.dropdown-toggle::before, .navbar-nav>li>a.dropdown-toggle:hover::before, .navbar-nav>li>a.dropdown-toggle:focus::before {
        bottom: -30px;
        opacity: 1;
    }
    .navbar-nav>li:focus-within>a.dropdown-toggle::before {
        bottom: -30px;
        opacity: 1;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu {
    background-color: #ffffff;
}

@media (max-width: 991px) {
    .navbar-default .dropdown-menu {
        padding: 10px 0;
    }
}

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #444444;
    text-align: left;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    font-weight: 700;
    font-size: 1.25rem;
    font-family: "Yanone Kaffeesatz", sans-serif;
    padding: 8px 15px;
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a {
        text-transform: uppercase;
        padding-bottom: 4px;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    font-weight: 400;
    font-size: 0.875rem;
    padding: 6px 15px 6px 30px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::after {
    content: "";
    display: block;
    position: absolute;
    top: 11px;
    left: 20px;
    border-radius: 50%;
    width: 3px;
    height: 3px;
    border: 1px solid #514d4d;
    -webkit-transition: background 300ms linear, border 300ms linear;
    -moz-transition: background 300ms linear, border 300ms linear;
    -ms-transition: background 300ms linear, border 300ms linear;
    -o-transition: background 300ms linear, border 300ms linear;
    transition: background 300ms linear, border 300ms linear;
}

@media(max-width:991px) {
    nav.horizontally .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2 {
        padding-right: 35px;
    }
}

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

.navbar-nav>li>.dropdown-menu>li:focus-within>a, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    color: #005191;
}

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

.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a::after {
    background: #005191;
    border-color: #005191;
}

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

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

@media (min-width: 992px) {
    #slider {
        max-height: 400px;
    }
    body.index #slider {
        max-height: 670px;
    }
    #headerpic a.nivo-prevNav {
        left: 65px;
    }
    #headerpic a.nivo-nextNav {
        right: 65px;
    }
}

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

@media (min-width: 768px) {
    #headerpic .theme-default .nivo-controlNav {
        bottom: 60px;
        z-index: 48;
    }
}

@media (min-width: 1200px) {
    #headerpic .theme-default .nivo-controlNav {
        bottom: 130px;
    }
}

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

.slider-mask {
    display: block;
    background: url('../img/banner-overlay.png') center bottom / 100% auto no-repeat;
}

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

main {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 991px) {
    main {
        background: transparent !important;
    }
}

#content {
    background: linear-gradient(to top, #005191, #005191 131px, rgba(255, 255, 255, 0) 131px), url('../img/footer-overlay.png') center bottom / 100% auto no-repeat;
}

@media (min-width: 992px) {
    #content {
        background: linear-gradient(to top, #005191, #005191 131px, rgba(255, 255, 255, 0) 131px), url('../img/footer-overlay.png') center bottom 130px / 100% auto no-repeat, url('../img/background-overlay.svg') center top / 100% auto repeat-y;
    }
}

#contentBG, .contentBG2 {
    text-align: left;
    padding: 30px 15px 40px 15px;
    background: #ffffff;
    position: relative;
    z-index: 45;
    -webkit-box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
    border-top: 4px solid #a90107;
}

@media (min-width: 768px) {
    #contentBG {
        margin-top: -50px;
    }
}

@media (min-width: 992px) {
    #contentBG {
        padding: 30px 30px 60px 30px;
        border-top-width: 15px;
    }
}

@media (min-width: 1200px) {
    #contentBG {
        margin-top: -120px;
    }
}

/* ------------------------------------------ h1 - h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #005191;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Yanone Kaffeesatz", sans-serif;
}

main h1 i, main h1 em, main h1 span, main h2 i, main h2 em, main h2 span {
    font-style: normal;
    color: #444444;
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    font-family: "Comfortaa", sans-serif;
    display: block;
}

h1, .h1, .legacy_h1 {
    font-size: 2rem;
    text-transform: uppercase;
    padding-left: 20px;
    position: relative;
}

@media (min-width: 768px) {
    h1, .h1, .legacy_h1 {
        font-size: 2.8125rem;
        margin-bottom: 25px;
    }
}

h1::after, .h1::after, .legacy_h1::after {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 4px;
    background: #a90107;
}

h2, .h2, .legacy_h2 {
    font-size: 1.9rem;
}

@media (min-width: 768px) {
    h2, .h2, .legacy_h2 {
        font-size: 2.6rem;
    }
}

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

@media (min-width: 768px) {
    h3, .h3, .legacy_h3 {
        font-size: 2.4rem;
    }
}

h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
    font-size: 1.7rem;
}

@media (min-width: 768px) {
    h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
        font-size: 2.2rem;
    }
}

h5, .h5, .legacy_h5 {
    font-size: 1.6rem;
}

@media (min-width: 768px) {
    h5, .h5, .legacy_h5 {
        font-size: 2rem;
    }
}

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

@media (min-width: 768px) {
    h6, .h6, .legacy_h6 {
        font-size: 1.8rem;
    }
}

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

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

#tabs {
    padding: 40px 15px;
    font-size: 0.8125rem;
    background: #005191;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
    #tabs {
        padding: 60px 30px;
    }
}

#tabs>.row>*+* {
    margin-top: 30px;
}

#tabs .tabHeadline, #tabs .tabHeadline a {
    color: #ffffff;
}

#tabs .tabHeadline a {
    text-decoration: underline;
}

#tabs .tabHeadline h1, #tabs .tabHeadline h2, #tabs .tabHeadline h3, #tabs .tabHeadline h4, #tabs .tabHeadline h5, #tabs .tabHeadline h6, #tabs .tabHeadline h1 span, #tabs .tabHeadline h1 i, #tabs .tabHeadline h1 em, #tabs .tabHeadline h2 span, #tabs .tabHeadline h2 i, #tabs .tabHeadline h2 em {
    color: #ffffff;
    margin: 0;
    position: relative;
}

#tabs .tabHeadline h1, #tabs .tabHeadline h2 {
    padding-left: 20px;
}

#tabs .tabHeadline h1::after, #tabs .tabHeadline h2::after {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.6);
}

#tabs .tab {
    padding: 15px;
    background: #ffffff;
    height: 100%;
    min-height: 100%;
}

#tabs .tab h1, #tabs .tab h2, #tabs .tab h3, #tabs .tab h4, #tabs .tab h5, #tabs .tab h6 {
    font-size: 1.375rem;
    margin-bottom: 10px;
}

#tabs .tab img {
    display: block;
    width: 100%;
}

#tabs .tab a {
    font-weight: 700;
    font-size: 1.125rem;
    font-family: "Yanone Kaffeesatz", sans-serif;
}

#tabs .tab a::after {
    content: "\00BB";
    margin-left: 4px;
    display: inline-block;
}

/* ------------------------------------------------- tabs2 ------------------------------------------------- */

@media (min-width: 992px) {
    #tabs2 {
        padding-left: 0;
        padding-bottom: 60px;
        margin-top: -90px;
        position: relative;
        z-index: 10;
    }
}

#tabs2 .tab {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    padding: 30px 30px 85px 30px;
    font-size: 0.875rem;
    position: relative;
}

@media (min-width: 992px) {
    #tabs2 .tab {
        margin-left: -15px;
    }
}

#tabs2 .tab2 {
    background: #f2f6f9;
    color: #444444;
}

#tabs2 .tabHeadline,
#tabs2 .tabs2headline h1,
#tabs2 .tabs2headline h2,
#tabs2 .tabs2headline h3,
#tabs2 .tabs2headline h4,
#tabs2 .tabs2headline h5,
#tabs2 .tabs2headline h6{
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    font-family: "Yanone Kaffeesatz", sans-serif;
}

@media (min-width: 992px) {
    #tabs2 .tabHeadline,
    #tabs2 .tabs2headline h1,
    #tabs2 .tabs2headline h2,
    #tabs2 .tabs2headline h3,
    #tabs2 .tabs2headline h4,
    #tabs2 .tabs2headline h5,
    #tabs2 .tabs2headline h6 {
        margin: 0 0 18px 0;
    }
}

#tabs2 .tabHeadline,
#tabs2 .tabs2headline h1,
#tabs2 .tabs2headline h2,
#tabs2 .tabs2headline h3,
#tabs2 .tabs2headline h4,
#tabs2 .tabs2headline h5,
#tabs2 .tabs2headline h6 {
    color: #005191;
}

#tabs2 .tab_link_mandat a {
    font-weight: 400;
}

#tabs2 .tab_link_title a, #tabs2 .tab_link_mandat a {
    color: inherit;
}

#tabs2 .tab_spacer {
    display: none;
}

#tabs2 .tab_link_entry {
    position: relative;
}

#tabs2 .tab_link_entry+.tab_link_entry {
    margin-top: 24px;
}

#tabs2 .tab_link_entry+.tab_link_entry::before {
    content: "";
    display: block;
    position: absolute;
    top: -12px;
    left: -30px;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.5) 10%, rgba(255, 255, 255, 0));
}

#tabs2 .tab_link_mehr {
    font-size: 0;
    color: transparent;
}

#tabs2 .tab_link_mehr a {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #a90107;
    font-weight: 700;
    font-family: "Yanone Kaffeesatz", sans-serif;
    text-align: left;
    padding: 14px 30px;
    text-decoration: none;
    line-height: 1;
}

#tabs2 .tab_link_mehr a:hover, #tabs2 .tab_link_mehr a:focus {
    background: #8f0106;
}

#tabs2 .tab_link_mehr a::after {
    font-size: 1.125rem;
    color: #ffffff;
}

#events .tab_link_mehr a::after {
    content: "alle Veranstaltungen \00BB";
}

/* ----------------------------------------------- news ----------------------------------------------- */

#news .tab_link_mehr a::after {
    content: "alle Neuigkeiten \00BB";
}

#news .vorschau, #news .tab_link_entry>div:nth-last-child(2) {
    display: none;
}

#news .tab_link_entry {
    border: none !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 80px;
    padding-left: 90px;
}

#news .tab_link_entry::after {
    content: "";
    background: rgba(255, 255, 255, 1) url('../img/logo.png') center / 60% no-repeat;
}

#news .tab_preview_picture, #news .tab_link_entry::after {
    border-radius: 50%;
    width: 70px;
    height: 70px;
    overflow: hidden;
    display: inline-block;
    position: absolute;
    top: 50%;
    margin: -35px 0 0 0;
    left: 0;
}

#news .tab_preview_picture {
    z-index: 1;
}

#news .tab_preview_picture img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 110px;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

/* ----------------------------------------------- contact ----------------------------------------------- */

#contact {
    padding: 30px 15px;
    margin-top: 30px;
    background: #ffffff;
    border-top: 4px solid #a90107;
    -webkit-box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    #contact > .row > * + * {
        margin-top: 30px;
    }
}

@media (min-width: 992px) {
    #contact {
        margin-top: 50px;
        padding: 30px 30px;
        border-top-width: 15px;
    }
}

#contact .tabHeadline {
    font-size: 1.5625rem;
    color: #005191;
    margin-bottom: 10px;
}

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

footer {
    background: #005191;
    color: #ffffff;
    font-size: 0.875rem;
    padding-top: 30px;
    padding-bottom: 30px;
}

footer a {
    color: inherit;
}

#innerfooter ul {
    padding: 0;
}

@media (max-width: 767px) {
    #innerfooter ul {
        margin-top: 20px;
    }
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
}

#innerfooter li+li {
    margin-left: 20px;
}

@media (min-width: 1200px) {
    #innerfooter li+li {
        margin-left: 35px;
    }
}

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

#vernetzt {
    font-size: 0.75rem;
    color: #ffffff;
    margin: 25px auto 0 auto;
    text-decoration: none;
    position: relative;
    z-index: 45;
    display: inline-block;
}

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

#vernetzt span {
    color: #ffffff;
    display: block;
}

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

/* --------------------------------------------- contrast -------------------------------------------- */

.contrast_dark main, .contrast_dark_font main, .contrast_dark #content, .contrast_dark_font #content, .contrast_dark .slider-mask, .contrast_dark_font .slider-mask {
    background: none !important;
}

.contrast_dark_font #tabs2 .tab_link_mehr a::after {
    color: #000000 !important;
}

.contrast_dark #contrast_style button+button, .contrast_dark_font #contrast_style button+button, .contrast_dark #style button+button, .contrast_dark_font #style button+button {
    margin-left: 0 !important;
}