@import url('https://fonts.verwaltungsportal.de/import/?family=Work+Sans:400,400i,500,500i,600,600i,700,700i');

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #dff5fb;
}

body {
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    color: #444444;
    background: #fff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: clamp(200px, 40vw, 300px);
}

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

body::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: clamp(300px, 30vw, 500px);
    background-position: top left, center;
    background-color: #dff5fb;
    background-size: 100% clamp(30px, 10vw, 140px), cover;
    background-repeat: no-repeat;
}

a {
    color: #0c5e99;
}

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

b,
strong {
    font-weight: 700;
}

.row,
.compact,
._op-container .container {
    width: 100%;
    max-width: 1430px;
}

#overflow {
    overflow: clip;
}

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
    outline: 3px solid #4f822d !important;
}

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
    display: inline-block;
}

@media (min-width: 992px) {
    #logo img {
        transition: max-width 300ms linear;
    }

    .is-sticky #logo img {
        max-width: 100px;
    }
}

#logo img {
    display: block;
}

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

#logo .row {
    margin-left: -15px;
    margin-right: -15px;
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

/* #region ------------------------------------ navigation -------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background: #fff;
        border: none !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #00365c;
        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 {
        padding: 20px 10px;
    }

    .navbar-collapse {
        top: 0;
        background: #fff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        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: 7px;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 3px;
    }

    .dropdown-toggle-button-wrapper {
        right: 0;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 5px;
        right: 0;
    }
}

@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 */

.static {
    position: static;
}

@media (min-width: 992px) {
    #menu {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 61;
        /* padding-top: 12px;
        padding-bottom: 12px; */
        background-color: #fff;
        box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.12);
    }

    /* #menu .navbar,
    div#myNavbar,
    div#myNavbar>ul,
    li[class*="toplevel"],
    li[class*="toplevel"]>a {
        height: 100% !important;
        min-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;
        flex-wrap: wrap;
    }

    nav.horizontally li[class*="toplevel"]>ul {
        position: absolute !important;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        margin: 0;
        padding: 10px 25px;
        padding-top: 20px;
        padding-bottom: 20px;
        max-height: 60vh;
        overflow: visible;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        background: rgba(0, 76, 126, 0.95);
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }

    nav.horizontally li[class*="toplevel"]>ul::after {
        content: "";
        display: block;
        position: absolute;
        width: 100vw;
        z-index: -1;
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        left: 50%;
        top: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0);
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    }

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        /* column-gap: 15px; */
        row-gap: 30px;
        max-width: 992px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
        height: auto;
        overflow: visible;
    }

    nav.horizontally li[class*="toplevel"]>ul .mCustomScrollBox {
        max-height: 45vh !important;
    }

    /* .navbar-nav .open>ul.dropdown-menu {
        position: absolute !important;
    } */

    nav.horizontally li[class*="secondlevel"] {
        float: none;
        break-inside: avoid;
        display: block;
        max-width: 100%;
        width: 100%;
        padding-right: 15px;
        position: relative;
    }

    nav.horizontally li[class*="secondlevel"]:not(:first-child, :nth-child(2), :nth-child(7), :last-child) {
        border-left: 1px solid #ffffff;
        padding-left: 15px;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
        z-index: 1003;
    }

    .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;
    }

    #mCSB_1_scrollbar_vertical {
        left: 50%;
        margin-left: calc(962px/2);
    }

    /* Pseudo */

    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 25px;
        left: 0;
        right: 0;
        top: -25px;
    }

    nav.horizontally .dropdown-menu {
        min-width: auto !important;
    }
    .dropdown-toggle-button-wrapper2 {
        display: block;
      }
    .navbar-default .navbar-nav > li > .dropdown-menu > li > a.dropdown-toggle2 {
        padding-right: 25px;
    }
    .navbar-default .navbar-nav > li > .dropdown-menu > li > a.dropdown-toggle2::after {
        content: "";
        position: absolute;
        display: block;
        right: 10px;
        top: 50%;
        margin-top: -4px;
        width: 8px;
        height: 8px;
        border-radius: 1px;
        border-right: 2px solid rgba(0,0,0,0.3);
        border-bottom: 2px solid rgba(0,0,0,0.3);
        -moz-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transition: border 300ms linear;
        -moz-transition: border 300ms linear;
        -ms-transition: border 300ms linear;
        -o-transition: border 300ms linear;
        transition: border 300ms linear;
    }
    #mCSB_1_scrollbar_vertical,
    #mCSB_2_scrollbar_vertical,
    #mCSB_3_scrollbar_vertical,
    #mCSB_4_scrollbar_vertical {
        filter: brightness(0) saturate(100%) invert(91%) sepia(91%) saturate(32%) hue-rotate(197deg) brightness(108%) contrast(100%);
    }
}

@media (min-width: 1200px) {
    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        max-width: 1200px;
        padding-top: 55px;
        padding-bottom: 50px;
    }

    #mCSB_1_scrollbar_vertical {
        margin-left: calc(1170px/2);
    }
}

@media (min-width: 9999px) {
    nav.horizontally li[class*="toplevel"]>ul {
        left: 0px !important;
        right: 0px !important;
        width: 100% !important;
    }

    nav.horizontally li[class*="toplevel"]>ul::after {
        width: 100% !important;
    }
}

nav.horizontally li[class$="_end"],
nav.horizontally li[class$="_start"] {
    display: none !important;
}

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

.navbar-default li[class*="toplevel"]>a {
    color: #444444;
    text-transform: uppercase;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px 12px 16px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-top: 4px;
    }

    nav.horizontally li[class*="toplevel"]>a.dropdown-toggle {
        padding-right: 32px;
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]+li {
        margin-left: 15px;
    }

    .navbar-default li[class*="toplevel"]>a {
        padding: 60px 15px 60px 16px;
        padding-right: 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
        transition: padding 300ms linear;
    }

    .is-sticky .navbar-default li[class*="toplevel"]>a {
        padding: 35px 15px 35px 16px;
        padding-right: 0;
    }

    .navbar-default li[class*="toplevel"]>a::before {
        content: "";
        position: absolute;
        display: block;
        height: 20px;
        left: 0;
        right: 0;
        bottom: -12px;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        display: block;
    }
}

.navbar-default li[class*="toplevel"]>a::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: calc(50% - 6px);
    width: 13px;
    height: 13px;
    background: #0d759b;
    pointer-events: none;
    -webkit-transition: background 300ms linear, height 300ms linear;
    -moz-transition: background 300ms linear, height 300ms linear;
    -ms-transition: background 300ms linear, height 300ms linear;
    -o-transition: background 300ms linear, height 300ms linear;
    transition: background 300ms linear, height 300ms linear;
}

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

.navbar-default li[class*="toplevel"]:hover>a::after,
.navbar-default li[class*="toplevel"]>a:hover::after,
.navbar-default li[class*="toplevel"]>a:focus::after,
.navbar-default li[class*="toplevel"].open>a::after,
.navbar-default li[class*="toplevel"].open>a:hover::after,
.navbar-default li[class*="toplevel"].open>a:focus::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a:hover::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a:focus::after {
    background: #004c7e;
    height: calc(50% + 6px);
}

.navbar-default li[class*="toplevel"]:focus-within>a::after {
    background: #004c7e;
    height: calc(50% + 6px);
}

@media (min-width: 992px) {

    .navbar-default li[class*="toplevel"]:hover>a::after,
    .navbar-default li[class*="toplevel"]>a:hover::after,
    .navbar-default li[class*="toplevel"]>a:focus::after,
    .navbar-default li[class*="toplevel"].open>a::after,
    .navbar-default li[class*="toplevel"].open>a:hover::after,
    .navbar-default li[class*="toplevel"].open>a:focus::after,
    .navbar-default li[class*="toplevel"][class*="_over"]>a::after,
    .navbar-default li[class*="toplevel"][class*="_over"]>a:hover::after,
    .navbar-default li[class*="toplevel"][class*="_over"]>a:focus::after {
        height: calc(50% + 6px);
    }

    .navbar-default li[class*="toplevel"]:focus-within>a::after {
        height: calc(50% + 6px);
    }
}

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

@media (max-width: 991px) {
    .navbar-default li[class*="toplevel"]>.dropdown-menu,
    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        padding: 10px;
        background-color: #00365c;
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        display: block;
    }
}

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

.navbar-default li[class*="secondlevel"]>a,
.navbar-default li[class*="thirdlevel"]>a {
    color: #ffffff;
    text-align: left;
    padding: 8px 35px 8px 15px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    hyphens: auto;
}

@media (min-width: 992px) {
    .navbar-default li[class*="secondlevel"]>a,
    .navbar-default li[class*="thirdlevel"]>a {
        max-width: 86%;
    }
}

.navbar-default li[class*="secondlevel"]>a {
    font-weight: 500;
    text-transform: uppercase;
}

.navbar-default li[class*="thirdlevel"]>a {
    font-weight: 400;
}

@media (min-width: 992px) {
    .navbar-default li[class*="secondlevel"]>a {
        padding: 10px 0 10px;
    }

    .navbar-default li[class*="thirdlevel"]>a {
        padding: 5px 0 5px 0;
    }
}

@media (max-width: 991px) {
    .navbar-default li[class*="secondlevel"]>a,
    .navbar-default li[class*="thirdlevel"]>a {
        color: #ffffff;
    }
}

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

.navbar-nav li[class*="secondlevel"]:hover>a,
.navbar-nav li[class*="secondlevel"]>a:hover,
.navbar-nav li[class*="secondlevel"]>a:focus,
.navbar-nav li[class*="secondlevel"].open>a,
.navbar-nav li[class*="secondlevel"].open>a:hover,
.navbar-nav li[class*="secondlevel"].open>a:focus,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:focus,
.navbar-nav li[class*="thirdlevel"]>a:hover,
.navbar-nav li[class*="thirdlevel"]>a:focus,
.navbar-nav li[class*="thirdlevel"].open>a,
.navbar-nav li[class*="thirdlevel"].open>a:hover,
.navbar-nav li[class*="thirdlevel"].open>a:focus,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus {
    color: #e2b23e;
}

/* #endregion -------------------------------- navigation --------------------------------------- */

/* #region -------------------------------------- banner ---------------------------------------- */

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

#headerpic .nivo-controlNav {
    bottom: clamp(20px, 5vw, 40px);
}

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

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

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

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

    #headerpic .nivo-controlNav {
        bottom: 54px;
    }

    body.index #headerpic .nivo-controlNav {
        bottom: 104px;
    }
}

@media (min-width: 1200px) {
    body.index #slider {
        max-height: 632px;
    }

    #headerpic .nivo-controlNav {
        bottom: 200px;
    }

    body.index #headerpic .nivo-controlNav {
        bottom: 245px;
    }
}

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

.slider-mask {
    display: block;
    background: linear-gradient(-4deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) calc(50% + 1px));
    background-size: 100% clamp(30px, 10vw, 140px);
    background-position: bottom left;
    background-repeat: no-repeat;
}

/* #endregion ------------------------------------ banner --------------------------------------- */

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

#content-box {
    background: #fff;
    padding: 0;
}

@media (min-width: 992px) {
    #content-box {
        margin-top: -30px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    }

    #background {
        position: relative;
        z-index: 60;
        background-repeat: no-repeat;
        background-position: top 560px left, top 100px right;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='455px' height='525px'%3E%3Cpath fill-rule='evenodd' fill='rgb(255, 255, 255)' d='M454.1000,262.492 L0.000,524.992 L0.000,-0.008 L454.1000,262.492 Z'/%3E%3C/svg%3E"),
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='455px' height='526px'%3E%3Cpath fill-rule='evenodd' fill='rgb(255, 255, 255)' d='M-0.000,263.040 L454.1000,0.540 L454.1000,525.539 L-0.000,263.040 Z'/%3E%3C/svg%3E");
    }
}

@media (min-width: 1200px) {
    #content-box {
        margin-top: -175px;
    }
}

#content-box>*>*:not(.bf-controls-position):not(#innerfooter) {
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 576px) {
    #content-box>*>*:not(.bf-controls-position):not(#innerfooter) {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 992px) {
    #background #content-box>*>*:not(.bf-controls-position) {
        padding-left: clamp(15px, 8vw, 135px);
    }

    #content-box>*>*:not(.bf-controls-position):not(#innerfooter) {
        padding-right: clamp(15px, 8vw, 135px);
    }
}

#content>*:not(.bf-controls-position) {
    padding-top: clamp(30px, 8vw, 58px);
    padding-bottom: clamp(30px, 8vw, 58px);
}

#content #content-area {
    padding-top: clamp(30px, 10vw, 50px);
}

#content>*:not(.bf-controls-position):not(:last-child) {
    border-width: 0 0 1px 0;
    border-style: solid;
    border-image: linear-gradient(to right, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.05)) 1;
}

#content :is(#content-area, #news) {
    border-image: linear-gradient(to right, #7bb8cd, #e2f1f6) 1;
}

#content-area {
    text-align: left;
}

/* #region ------------------------------------ bf controls ------------------------------------- */

.bf-controls-position {
    color: #fff;
    position: fixed;
    z-index: 30;
    left: 0;
    bottom: 0;
    right: 0;
}

@media (max-width: 991px) {
    .bf-controls-position {
        background: #1c6492;
        padding: 0 15px;
        border-top: 2px solid #fff;
    }
}

@media (min-width: 992px) {
    .bf-controls-position {
        position: absolute;
        z-index: 51;
        left: 0;
        right: unset;
        top: 0;
        width: 60px;
    }

    .bf-controls {
        position: sticky;
        top: 150px;
        left: 0;
        right: 0;
    }

    .bf-controls>*+* {
        margin-top: 4px;
    }
}

/* search + contact buttons */

#search-button,
#contact-tab summary {
    width: 100%;
    max-width: 70px;
    display: block;
    position: relative;
    height: clamp(54px, 3vw, 60px);
}

#search-button {
    background: #00365c url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M39.75 43.35 26.3 29.95q-1.45 1.15-3.425 1.8-1.975.65-4.275.65-5.75 0-9.75-4t-4-9.65q0-5.65 4-9.65t9.7-4q5.65 0 9.625 4 3.975 4 3.975 9.65 0 2.25-.625 4.175-.625 1.925-1.875 3.625l13.5 13.4ZM18.55 27.7q3.75 0 6.325-2.625t2.575-6.325q0-3.75-2.575-6.35Q22.3 9.8 18.55 9.8t-6.375 2.6Q9.55 15 9.55 18.75q0 3.7 2.625 6.325T18.55 27.7Z' fill='%23fff'/%3E%3C/svg%3E") center / 28px auto no-repeat;
}

#contact-tab summary {
    cursor: pointer;
    background: #0d759b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M38.8 23.65q-.25-6.05-4.45-10.25T24.1 8.95v-3q3.6.1 6.775 1.525Q34.05 8.9 36.45 11.3q2.4 2.4 3.825 5.575Q41.7 20.05 41.8 23.65Zm-8.45 0q-.25-2.5-2-4.225Q26.6 17.7 24.1 17.45v-3q3.75.25 6.375 2.85t2.875 6.35ZM39.75 42q-6.1 0-12.125-3T16.8 31.2Q12 26.4 9 20.375 6 14.35 6 8.25q0-.95.65-1.6Q7.3 6 8.25 6h7q.7 0 1.225.475.525.475.675 1.275l1.35 6.3q.1.7-.025 1.275t-.525.975l-5 5.05q2.8 4.65 6.275 8.1Q22.7 32.9 27.1 35.3l4.75-4.9q.5-.55 1.15-.775.65-.225 1.3-.075l5.95 1.3q.75.15 1.25.75T42 33v6.75q0 .95-.65 1.6-.65.65-1.6.65Zm-28.3-23.4 4.05-4.1L14.35 9H9q0 1.95.6 4.275t1.85 5.325ZM29.9 36.75q2.05.95 4.45 1.55 2.4.6 4.65.7v-5.35l-5.15-1.05ZM11.45 18.6ZM29.9 36.75Z' fill='%23fff'/%3E%3C/svg%3E") center / 28px auto no-repeat;
    font-size: 0;
    list-style: none;
}

#search-button::after,
#contact-tab summary::after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: 4px;
    left: 4px;
    border: 2px solid #ffffff;
    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;
}

@media (min-width: 992px) {

    #search-button::after,
    #contact-tab summary::after {
        top: 8px;
        right: 8px;
        bottom: 8px;
        left: 8px;
    }
}

#contact-tab:hover summary::after,
#contact-tab:focus summary::after {
    opacity: 0.5;
}

#search-button:hover::after,
#search-button:focus::after,
#contact-tab[open] summary::after {
    opacity: 1;
}

/* contact tab */

#contact-tab {
    width: 100%;
    max-width: 70px;
}

#contact-content {
    position: fixed;
    left: 15px;
    right: 15px;
    bottom: 70px;
    max-width: unset;
    background: #094e81;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    #contact-content {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }

    #contact-content::before {
        content: "";
        display: block;
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        bottom: clamp(54px, 3vw, 60px);
        left: 0;
        background: rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 992px) {
    #contact-content {
        position: absolute;
        left: calc(100% + 15px);
        right: unset;
        bottom: unset;
        top: 10px;
        width: 720px;
    }

    #contact-content::after {
        content: "";
        display: block;
        position: absolute;
        top: 9px;
        left: -22px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 12px 22px 12px 0;
        border-color: transparent #094e81 transparent transparent;
    }
}

#contact-content>* {
    padding: clamp(24px, 3vw, 30px) 24px;
}

@media (min-width: 768px) {
    #contact-content>* {
        width: 50%;
        flex-grow: 1;
    }
}

:is(.contact-tab-1, .contact-tab-2) :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
    margin-bottom: 20px;
    text-transform: uppercase;
    hyphens: manual;
}

.contact-tab-1 :is(h1, h2, h3, h4, h5, h6, a) {
    color: inherit;
}

.contact-tab-1 a {
    text-decoration: underline;
}

.contact-tab-2 {
    background: #ffffff;
    color: #444444;
}

.contact-tab-2 :is(h1, h2, h3, h4, h5, h6) {
    color: #0c5e99;
}

/* contrast + font-size */

#contrast_style,
#style {
    padding: 10px 15px;
}

#contrast_style {
    background: #1c6492;
}

#style {
    background: #004c7e;
}

:is(#contrast_style, #style) button {
    font-size: 15px;
    line-height: 15px;
    color: #0d759b;
    font-weight: 600;
    width: 26px;
    height: 26px;
    display: inline-block;
    border: none;
    padding: 0;
    margin: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    position: relative;
    -webkit-transition: border-radius 300ms linear;
    -moz-transition: border-radius 300ms linear;
    -ms-transition: border-radius 300ms linear;
    -o-transition: border-radius 300ms linear;
    transition: border-radius 300ms linear;
}

@media (min-width: 992px) {
    :is(#contrast_style, #style) button {
        width: 20px;
        height: 20px;
    }
}

#contrast_style button {
    font-size: 0;
}

:is(#contrast_style, #style) :is(button:hover, button:focus) {
    border-radius: 0;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 50%;
    border: 1px solid #4b4b4b;
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, #4b4b4b 51%);
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(to top, #4b4b4b 50%, rgba(255, 255, 255, 1) 51%, rgba(255, 255, 255, 1));
}

#contrast_style button:nth-of-type(3)::after {
    background: #ea5b0c;
    border-color: #ea5b0c;
}

/* #endregion --------------------------------- bf controls ------------------------------------- */

/* #region ------------------------------------ quick links ------------------------------------- */

#quick-links {
    font-size: 1rem;
    padding-bottom: clamp(30px, 10vw, 58px);
}

@media (min-width: 992px) {
    #content-box #quick-links {
        padding-top: 0;
    }
}

#quick-links>.row {
    row-gap: 15px;
}

@media (min-width: 576px) {
    #quick-links>.row {
        row-gap: 30px;
    }
}

@media (min-width: 1200px) {
    #quick-links>.row {
        flex-wrap: nowrap;
    }

    #quick-links>.row>* {
        flex-shrink: 1;
    }
}

.quick-link {
    padding: 25px 10px 40px 10px;
    background: #094f81 linear-gradient(to bottom, #0c5f9a, rgba(255, 255, 255, 0) 60%) top center no-repeat;
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100%;
    min-height: 100%;
    transition: background 300ms linear;
}

@media (min-width: 992px) {
    .quick-link {
        margin-top: -50px;
        height: calc(100% + 42px);
        min-height: calc(100% + 42px);
    }
}

.quick-link:hover,
.quick-link:focus {
    background-position: 0 -150px;
}

.quick-link * {
    pointer-events: none;
}

.quick-link a {
    pointer-events: all;
}

.quick-link,
.quick-link :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
}

.quick-link :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.125rem;
    margin: 0;
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    hyphens: none !important;
}

html[style*="font-size: 110%;"] .quick-link :is(h1, h2, h3, h4, h5, h6),
html[style*="font-size: 120%;"] .quick-link :is(h1, h2, h3, h4, h5, h6),
html[style*="font-size: 130%;"] .quick-link :is(h1, h2, h3, h4, h5, h6),
html[style*="font-size: 140%;"] .quick-link :is(h1, h2, h3, h4, h5, h6),
html[style*="font-size: 150%;"] .quick-link :is(h1, h2, h3, h4, h5, h6),
html[style*="font-size: 160%;"] .quick-link :is(h1, h2, h3, h4, h5, h6),
html[style*="font-size: 170%;"] .quick-link :is(h1, h2, h3, h4, h5, h6),
html[style*="font-size: 180%;"] .quick-link :is(h1, h2, h3, h4, h5, h6),
html[style*="font-size: 190%;"] .quick-link :is(h1, h2, h3, h4, h5, h6),
html[style*="font-size: 200%;"] .quick-link :is(h1, h2, h3, h4, h5, h6){
    hyphens: auto !important;
}

.quick-link-text :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.375rem, 4vw, 2.5rem);
    margin-bottom: 0;
    text-transform: uppercase;
}

.quick-link img {
    margin-bottom: 18px;
}

.quick-link :is(.row, .row > *) {
    position: static;
}

.quick-link a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 0;
}

/* #endregion ---------------------------------- quick links ------------------------------------ */

/* #region ----------------------------------- news + events ------------------------------------ */

#news {
    background: #fefce8;
}

#events {
    padding-bottom: clamp(30px, 8vw, 100px) !important;
}

:is(#events, #news) .tab-headline :is(h1, h2, h3, h4, h5, h6) {
    color: #0c5c97;
    opacity: 0.7;
    text-transform: uppercase;
    font-size: clamp(1.875rem, 6vw, 4.0625rem);
    line-height: 1;
    hyphens: manual;
    word-wrap: anywhere;
}

@media (min-width: 992px) {
    :is(#events, #news) .tab-headline :is(h1, h2, h3, h4, h5, h6) {
        margin-bottom: 0;
    }
}

:is(#events, #news) .tab-content a {
    color: #004c7e;
    display: inline-block;
    padding-right: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
    line-height: 1.2;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13.488' viewBox='0 0 13 13.488'%3E%3Cpath d='M5.863-11.8,8.342-13.52Q9.279-12,10.177-10.778A18.4,18.4,0,0,0,12.041-8.6,18.238,18.238,0,0,0,14.1-6.844v.117a17.676,17.676,0,0,0-2.059,1.767,19.51,19.51,0,0,0-1.864,2.176q-.9,1.21-1.835,2.752L5.863-1.75a14.8,14.8,0,0,1,1.747-2.2A12.538,12.538,0,0,1,9.454-5.517,11.4,11.4,0,0,1,11.27-6.552a9.33,9.33,0,0,1,1.62-.566v.664a9.8,9.8,0,0,1-1.62-.556A10.832,10.832,0,0,1,9.454-8.035,12.243,12.243,0,0,1,7.61-9.616,15.778,15.778,0,0,1,5.863-11.8ZM1.1-8.445H5.687a23.7,23.7,0,0,1,3.035.185,24.8,24.8,0,0,1,2.645.478l1.64,1-1.64,1a24.794,24.794,0,0,1-2.645.478,23.7,23.7,0,0,1-3.035.185H1.1Z' transform='translate(-1.1 13.52)' fill='%23004c7e'/%3E%3C/svg%3E%0A") center right / 16px auto no-repeat;
}

@media (max-width: 991px) {
    :is(#events, #news) :is(.tab-headline + .tab-content, .tab-content + .tab-headline) {
        margin-top: 20px;
    }
}

/* tabnews/tabevents */

:is(#news, #events) .tab_link_entries {
    display: grid;
    gap: 30px 30px;
    margin-top: clamp(15px, 4vw, 30px);
}

@media (min-width: 576px) {

    :is(#news, #events) .tab_link_entries {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    :is(#news, #events) .tab_link_entries {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    #news .tab_link_entries {
        padding-left: clamp(10px, 10vw, 120px);
    }

    #events .tab_link_entries {
        padding-right: clamp(10px, 10vw, 120px);
    }
}

:is(#news, #events) .tab_link_entry {
    font-size: 1rem;
    color: #fff;
    border-bottom: none !important;
    position: relative;
    z-index: 1;
}

@media (min-width: 576px) and (max-width: 991px) {

    :is(#news, #events) .tab_link_entry:nth-child(3) {
        grid-column-start: 1;
        grid-column-end: 3;
    }
}

#news .tab_link_entry {
    margin-left: 15px;
    margin-top: 114px;
    background-color: #0c5f9b;
    background: linear-gradient(to bottom, #0c5f9b, #094f82);
    padding: 80px clamp(15px, 4vw, 30px) clamp(15px, 4vw, 26px) clamp(15px, 4vw, 30px);
}

#news .tab_link_entry::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    top: -114px;
    right: 15px;
    height: 114px;
    border: 4px solid #b7d6de;
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -ms-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
}

#news .tab_link_entry:hover::after {
    border-color: #0d759b;
}

#news .tab_link_entry:focus-within::after {
    border-color: #0d759b;
}

#events .tab_link_entry {
    padding: 80px clamp(15px, 4vw, 40px) clamp(15px, 4vw, 50px) clamp(15px, 4vw, 40px);
    background: #094e81 linear-gradient(to bottom, #0c5f9a, rgba(255, 255, 255, 0) 60%) top center no-repeat;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}

#events :is(.tab_link_entry:hover, .tab_link_entry:focus) {
    background-position: 0 -150px;
}

:is(#news, #events) .tab_link_entry a {
    color: #fff;
}

:is(#news, #events) .tab_link_mandat a {
    text-decoration: underline;
    display: block;
    margin: 10px 0;
}

:is(#news, #events) .tab_link_entry :is(.tab_date, .tab_link_date) {
    font-size: 0.875rem;
    font-weight: 400;
    color: #444444;
    background: #fff;
    line-height: 1.2;
    padding: 8px 10px;
    position: absolute;
    top: 0;
    z-index: 1;
    right: 0;
    max-width: calc(100% - 15px);
    min-width: 100px;
    text-align: center;
}

#events .tab_link_entry .tab_link_date {
    top: 30px;
}

:is(#news, #events) .tab_link_entry .tab_link_title a {
    font-size: clamp(1.25rem, 3vw, 1.375rem);
    margin-bottom: 4px;
    font-weight: 600;
    line-height: 1.2;
    display: block;
}

#news .tab_link_entry::before {
    content: "";
    background: url('../img/meldungen-platzhalter.jpg') center / cover no-repeat;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15);
}

:is(#news, #events) .tab_link_entry .tab_preview_picture,
#news .tab_link_entry::before {
    display: block;
    overflow: hidden;
    position: absolute;
}

#news .tab_link_entry .tab_preview_picture,
#news .tab_link_entry::before {
    height: 150px;
    top: -95px;
    left: -15px;
    width: calc(100% - 18px);
}

#events .tab_link_entry .tab_preview_picture {
    height: 100%;
    opacity: 0.1;
    top: 0;
    left: 0;
    width: 100%;
}

:is(#news, #events) .tab_link_entry .tab_preview_picture img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin: 0;
}

:is(#news, #events) .tab_link_entry :is(.tab_spacer, .tab_link_mehr) {
    display: none;
}

/* #endregion -------------------------------- news + events ------------------------------------ */

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #004c7e;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Work Sans", sans-serif;
    margin-bottom: 15px;
}

h1, .h1, .legacy_h1 {
    font-size: clamp(1.875rem, 4vw, 2.8125rem);
    margin-bottom: clamp(15px, 4vw, 25px);
}

h2, .h2, .legacy_h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3, .h3, .legacy_h3 {
    font-size: clamp(1.625rem, 4vw, 2.1875rem);
}

h4, .h4, .legacy_h4 {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
}

h5, .h5, .legacy_h5 {
    font-size: clamp(1.375rem, 4vw, 1.625rem);
}

h6, .h6, .legacy_h6 {
    font-size: clamp(1.25rem, 4vw, 1.375rem);
}

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

/* #region --------------------------------------- footer --------------------------------------- */

footer {
    background-color: #02426e;
    color: #ffffff;
}

@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;
    }
}

/* ----------------------------------------------- footerwrapper ----------------------------------------------- */

#footerwrapper {
    padding-top: 50px;
    padding-bottom: 40px;
    font-size: 1rem;
    line-height: 1.7;
    hyphens: auto;
}

#footerwrapper .tabHeadline {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 40px;
}

#footerwrapper a {
    color: #ffffff;
}

#footerwrapper .tab1 a:hover,
#footerwrapper .tab1 a:focus {
    color: #e2b23e;
    text-decoration: underline;
}

#footerwrapper .tab2 a {
    color: #ffffff;
    text-decoration: underline;
}

.arrowLinks .tiny_p+.tiny_p {
    margin-top: 32px;
}

.greenButton.arrowLinks a {
    width: 100%;
}

@media (min-width: 768px) and (max-width:991px) {

    #footerwrapper>.row>div:first-child,
    #footerwrapper>.row>div:nth-child(2) {
        margin-bottom: 30px;
    }
}

/* --------------- greenButton --------------- */

.greenButton a {
    background-color: #e2b23e;
    color: #444444 !important;
    font-weight: 500 !important;
    text-decoration: none;
    font-size: 0.875rem;
    position: relative;
    padding: 9px 50px 9px 20px;
    display: inline-block;
}

.greenButton a+a {
    margin-top: 32px;
}

.greenButton a::after {
    content: '\2192';
    right: 25px;
    top: 9px;
    bottom: 0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
    position: absolute;
}

.greenButton a:hover::after,
.greenButton a:focus::after {
    right: 15px;
}

/* ----------------------------------------------- lastFooter ----------------------------------------------- */

#lastFooter {
    border-top: 2px solid #80a0b6;
    padding-top: 8px;
    padding-bottom: 8px;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-size: 0.875rem;
    padding: 15px;
}

#innerfooter a:hover,
#innerfooter a:focus {
    background-color: #e2b23e;
    color: #444444;
}

@media (max-width: 767px) {
    #innerfooter li {
        display: block;
        text-align: center;
        padding: 5px;
        margin: 0;
    }

    #innerfooter a {
        display: block;
    }
}

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

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 400;
    display: inline-block;
    text-decoration: none;
}

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

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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

/* #endregion -------------------------------- vernetzt ----------------------------------------- */

/* #region -------------------------------------- contrast -------------------------------------- */

.contrast_dark :is(.quick-link, #footer) {
    background: #000 !important;
}

.contrast_dark #logo img,
.contrast_dark .greenButton a,
.contrast_dark .quick-link img {
    background-color: #ffffff !important;
}

.contrast_dark_font .quick-link img {
    background-color: #000 !important;
}

.contrast_light :is(.quick-link, #footer) {
    background: #fff !important;
}

:is(.contrast_dark, .contrast_light) #news .tab_link_entry::before {
    display: none !important;
}

.contrast_dark_font .greenButton a {
    border: 1px solid #000 !important;
}

.contrast_dark .quick-link a {
    background: transparent !important;
}

/* #endregion ----------------------------------- contrast -------------------------------------- */