@import url("https://fonts.verwaltungsportal.de/css/?family=Open+Sans:400,400i,600,600i,700,700i");

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #3c657b #ffffff;
    scrollbar-width: thin;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #2b2b2b;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #3c657b;
}

#content a,
a:is(:hover, :focus) {
    color: #3c657b;
    text-decoration: underline;
}

#content a {
    font-weight: 600;
}

b,
strong {
    font-weight: 700;
}

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

/* ----------------------------------------------- @tp2 topbar ----------------------------------------------- */

#tp2 {
    overflow: hidden;
    position: relative;
}

#tp2 div.col-xs-12 {
    padding: 0px;
}

#tp2::before {
    content: '';
    width: 100%;
    height: 10px;
    background: #b9d6e1;
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
}

#tp2 .optionsbar {
    background-color: #3c657b;
    margin-left: auto;
    min-height: 38px;
    z-index: 13;
    position: relative;
}

@media (max-width: 991px) {
    #tp2 .optionsbar {
        margin-right: auto;
        margin-left: unset !important;
    }
}

#tp2 .optionsbar::after {
    content: '';
    width: 50vw;
    position: absolute;
    top: 0;
    right: -50vw;
    pointer-events: none;
    background-color: #3c657b;
    display: inline-block;
    height: 100%;
}

@media (max-width: 991px) {
    #tp2 .optionsbar::after {
        right: unset !important;
        left: -50vw;
        background-color: #3c657b;
    }
}

.optionsbar span {
    color: #ffffff;
    font-size: 0.875rem;
}

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

#contrast_style {
    padding-left: 25px;
    padding-right: 17px;
}

#contrast_style button {
    display: inline-block;
    color: #000000;
    position: relative;
    z-index: 1;
    padding: 0;
    font-size: 0;
    width: 21px;
    height: 21px;
    font-weight: 400;
    border-radius: 50%;
    text-align: center;
    background: #ffffff;
    border: unset;
    transition: background 300ms linear;
}

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

#contrast_style button:hover,
#contrast_style button:focus {
    background-color: rgba(255, 255, 255, 0.8);
}

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

@media (min-width: 992px) {
    #style {
        padding-left: 12px;
        padding-right: 5px;
        border-left: 1px solid rgba(255, 255, 255, 0.50);
    }

    #style button {
        font-size: 20px;
        background: transparent;
        padding: 0;
        border: none;
        color: #ffffff;
        display: inline-block;
        font-weight: 400;
        text-align: center;
        position: relative;
        width: 25px;
        height: 20px;
        line-height: 1;
        margin: 0 3px;
        transition: color 150ms linear;
    }

    #style button+button::before {
        content: '';
        position: absolute;
        pointer-events: none;
        display: inline-block;
        left: -3px;
        top: 0;
        bottom: 0;
        width: 1px;
        height: 100%;
        background: #ffffff;
    }

    #style button:hover {
        color: #ffffff;
        text-decoration: underline;
    }

    #style button:focus-visible {
        outline: 2px auto
    }
}

/* ------------------------------------------- topbar --------------------------------------------- */

#topbar {
    padding-bottom: clamp(40px, 5vw, 85px);
}

@media (max-width: 991px) {
    #topbar {
        padding-top: clamp(40px, 5vw, 85px);
    }
}

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

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

#logo {
    display: inline-block;
    position: relative;
    z-index: 12;
    padding: 8px 50px 41px 50px;
    background: #ffffff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

#logo img {
    display: block;
}

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

/* ------------------------------------------- tabWap --------------------------------------------- */

.tabWap {
    position: relative;
    z-index: 12;
    margin-top: -36px;
}

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

/* burgermenu for tablet */

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #3c657b;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    #burgerButton[aria-expanded="true"]:before {
        opacity: 0;
    }

    #burgerButton[aria-expanded="true"]:after {
        transform: rotate(45deg) translate(-4px, -6px);
    }

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButton:before {
        top: 24px;
        content: "";
    }

    #burgerButton:after {
        top: 32px;
        content: "";
    }

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #3c657b;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

    .dropdown-toggle-button-wrapper {
        top: 7px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }

    nav.horizontally .navbar-nav {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    nav.horizontally .navbar-nav li[class*="toplevel"]>ul {
        display: flex !important;
        flex-wrap: wrap;
        column-gap: 15px;
        column-count: 4;
        pointer-events: none;
        position: absolute;
        opacity: 0;
        top: auto;
        left: -1px;
        right: -1px;
        z-index: 1000;
        padding: 8px 22px;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

    nav.horizontally .navbar-nav>li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav>li.open:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
        top: auto;
    }

    nav.horizontally .navbar-nav>li.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

    nav.horizontally .navbar-nav>li:is(:hover, :focus)>ul {
        z-index: 1003;
    }

    nav.horizontally li[class*="secondlevel"] {
        width: 23.4%;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        display: block !important;
        min-width: auto !important;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 10px 35px 15px 15px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    hyphens: auto;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    nav.horizontally a[class*="toplevel"] {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }
}

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"] {
        padding: 18px 0;
        text-align: center;
    }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open>a,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"]>a,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #555555;
    background-color: #b9d6e1;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"]>ul {
    background-color: #ffffff;
}

@media (max-width: 991px) {
    nav.horizontally [class*="toplevel"]>ul {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"]>ul {
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        height: 10px;
        left: 0;
        right: 0;
        top: -10px;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #2b2b2b;
    text-align: left;
    position: relative;
    width: 100%;
    line-height: 1.2;
    font-size: 1rem;
    font-weight: 400;
    hyphens: auto;
    text-decoration: none;
}

nav.horizontally a[class*="secondlevel"] {
    padding: 10px 10px;
    border-top: 1px solid #3c657b;
    border-bottom: 1px solid #3c657b;
    color: #3c657b;
}

nav.horizontally a[class*="thirdlevel"] {
    padding: 12px 12px;
}

@media (max-width: 991px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }

    nav.horizontally a[class*="secondlevel"] {
        padding: 10px 15px;
    }

    nav.horizontally a[class*="thirdlevel"] {
        padding: 8px 30px;
    }
}

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"]):is(:hover, :focus-within)>a,
nav.horizontally li:is([class*="secondlevel"])>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"]).open>a,
nav.horizontally li:is([class*="secondlevel"]).open>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"])[class*="_over"]>a,
nav.horizontally li:is([class*="secondlevel"])[class*="_over"]>a:is(:hover, :focus) {
    background: #3c657b;
    color: #ffffff;
}

nav.horizontally li:is([class*="thirdlevel"]):is(:hover, :focus-within)>a,
nav.horizontally li:is([class*="thirdlevel"])>a:is(:hover, :focus),
nav.horizontally li:is([class*="thirdlevel"]).open>a,
nav.horizontally li:is([class*="thirdlevel"]).open>a:is(:hover, :focus),
nav.horizontally li:is([class*="thirdlevel"])[class*="_over"]>a,
nav.horizontally li:is([class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus) {
    background: transparent;
    color: #3c657b;
    text-decoration: underline;
}

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

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

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-wrapper {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
}

#slider {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* ------------------------------------------- menuBox + mainBox ------------------------------------------ */

@media (min-width: 1200px) {

    .menuBox,
    .mainBox {
        max-width: 1600px;
        width: 100%;
        margin: auto;
    }

    #f5>.row,
    .menuBox>.row,
    .mainBox>.row {
        max-width: 1600px;
        width: 100%;
    }
}

.menuBox {
    z-index: 13;
    position: relative;
    background: #3c657b;
}

.mainBox {
    z-index: 12;
    position: relative;
    background: #ffffff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------- menuBox ------------------------------------------ */

@media (max-width: 991px) {
    .menuBox {
        padding: 10px 0;
    }

    .menuBox>.row {
        row-gap: 10px;
    }
}

/* ------------------------------------------- menuBox ------------------------------------------ */

@media (max-width: 575px) {
    #search {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    #search {
        margin-right: 115px;
        width: calc(100% - 125px);
    }
}

#search {
    min-height: 30px;
    background: #3c657b;
    display: inline-block;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.50);
}

#search_input {
    color: #ffffff;
    font-size: 0.9375rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 0;
    padding-right: 35px;
    min-height: 30px;
    width: 100%;
}

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

#search_submit:hover {
    background-color: #3c657b;
}

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

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

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

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

#search input::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
    font-style: normal !important;
}

/* ------------------------------------------- newsletter ------------------------------------------ */

@media (max-width: 575px) {
    #newsletterInputs {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    #newsletter {
        margin-left: 115px;
    }

    #newsletterInputs {
        width: 100%;
    }
}

#newsletterInputs {
    min-height: 30px;
    background: #3c657b;
    display: inline-block;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.50);
}

#newsletter_input {
    color: #ffffff;
    font-size: 0.9375rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 0;
    padding-right: 35px;
    min-height: 30px;
    width: 100%;
}

#newsletter_submit {
    width: 30px;
    background: #3c657b url('../img/icon-newsletter.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    transition: background-color 300ms linear;
}

#newsletter_submit:hover {
    background-color: #3c657b;
}

#newsletter_input::-ms-input-placeholder {
    color: #ffffff !important;
}

#newsletter_input::-webkit-input-placeholder {
    color: #ffffff !important;
}

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

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

#newsletter_input::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
    font-style: normal !important;
}

/* ------------------------------------------- mainBox ------------------------------------------ */

.mainBox {
    text-align: left;
    padding-top: clamp(30px, 4vw, 60px);
    padding-bottom: clamp(30px, 4vw, 60px);
}

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

@media (max-width: 991px) {
    #content {
        padding-top: clamp(30px, 4vw, 60px);
        padding-bottom: clamp(30px, 4vw, 60px);
    }
}

@media (min-width: 1200px) {
    #content {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* ------------------------------------------- tabsLeft + tabsRight ------------------------------------------ */

@media (min-width: 1200px) {
    #tabsLeft {
        padding-right: 4px;
    }

    #tabsRight {
        padding-left: 4px;
    }
}

#tabsLeft>*+*,
#tabsRight>*+* {
    margin-top: 30px;
}

#tabsLeft .tabHeadline,
#tabsRight .tabHeadline,
#tabsRight .tabButton a {
    color: #2c2b2b;
    font-size: 1.25rem;
    text-align: center;
    font-weight: 600;
    padding: 8px 20px;
    margin-bottom: 10px;
    background: #b9d6e1;
    hyphens: auto;
}

#tabsRight .tabButton a {
    text-align: left;
    display: inline-block;
}

@media (min-width: 1200px) {
    #tabsLeft .tabHeadline {
        margin-left: -15px;
        margin-right: 0;
        width: calc(100% + 15px);
    }

    #tabsRight .tabHeadline,
    #tabsRight .tabButton a {
        margin-right: -15px;
        margin-left: 0;
        width: calc(100% + 15px);
    }
}

#tabsLeft .tab,
#tabsRight .tab,
#tabsRight .tabButton {
    font-size: 0.875rem;
}

#tabsLeft .tab_link_title a,
#tabsRight .tab_link_title a {
    font-weight: 600;
    color: #2b2b2b;
}

#tabsLeft .tab_link_mandat a,
#tabsRight .tab_link_mandat a {
    color: #2b2b2b;
}

#tabsLeft .tab_link_mehr,
#tabsRight .tab_link_mehr {
    font-size: 0;
}

#tabsLeft .tab_link_mehr a,
#tabsRight .tab_link_mehr a {
    text-decoration: none;
    display: inline-block;
    font-size: 0.875rem;
    color: #ffffff;
    padding: 3px 15px;
    background: #3c657b;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #2b2b2b;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Open Sans", sans-serif;
}

h1,
.h1,
.legacy_h1 {
    font-size: 2rem;
}

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited),
.legacy_h4 {
    font-size: 1.625rem;
}

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

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

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
    z-index: 12;
    background-color: #3a3a3a;
}

#f5>.row {
    row-gap: 30px;
}

/* --------------------------------------------- innerfooter -------------------------------------------- */

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    color: #ffffff;
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9375rem;
}

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

#innerfooter li+li::before {
    content: "I";
    margin: 0 6px;
}

@media (min-width: 992px) {
    #innerfooter li+li::before {
        margin: 0 clamp(15px, 3vw, 40px);
    }
}

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

    #innerfooter li+li::before {
        display: none;
    }
}

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

#vernetzt {
    gap: 8px;
    text-align: right;
    font-size: 0.8125rem;
    color: #ffffff;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt strong {
    font-weight: 600;
}

#vernetzt span span {
    display: block;
}

/* --------------------------------------------- kontraste -------------------------------------------- */

.contrast_light #search_input,
.contrast_light #newsletter_input {
    background-color: #000000 !important;
}