@import url("https://fonts.verwaltungsportal.de/import/?family=Poppins:300,400,500,600,700,300i,400i,500i,600i,700i");

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #c7e4f1;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #007db5 #ffffff;
    scrollbar-width: thin;
}

body {
    font-family: "Poppins", sans-serif;
    color: #6f6f6f;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #007db5;
}

a:is(:hover, :focus) {
    color: #007db5;
    text-decoration: underline;
}

b,
strong {
    font-weight: 600;
}

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

#logo {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    hyphens: auto;
}

#logo :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 500;
    font-size: 1.25rem;
    color: #d40000;
    margin: 0;
}

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

#menu {
    background: #fff;
}

.is-sticky #menu {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.08);
}

/* burgermenu for tablet */

@media (max-width: 991px) {

    #logo,
    #menu {
        min-height: 80px;
    }

    #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: #d40000;
        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: #ffffff;
        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 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

    nav.horizontally .navbar-nav [class*="secondlevel"]>ul {
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav li {
        position: relative;
    }

    nav.horizontally .navbar-nav li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav li.open:focus-within>ul,
    nav.horizontally .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
    }

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #6f6f6f;
    font-weight: 400;
    text-align: left;
    padding: 10px 35px 15px 10px;
    text-transform: uppercase;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 35px 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: #d40000;
    background-color: transparent;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}

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

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    nav.horizontally [class*="toplevel"]>ul {
        left: 0;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        margin-top: -18px;
        margin-left: 10px;
    }

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"])>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

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

    nav.horizontally [class*="secondlevel"]>ul::before {
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #6f6f6f;
    font-weight: 400;
    text-align: left;
    padding: 9px 15px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        padding-right: 35px;
    }
}

/* secondlevel + thirdlevel over */

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

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

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

#headerpic {
    position: relative;
    overflow: hidden;
    background: #444;

}

@media (min-width: 992px) {

    #headerpic {
        display: flex;
        align-items: center;
        min-height: 500px;
    }

    .index #headerpic {
        min-height: 880px;
    }

    #slider {
        height: 100%;
    }

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

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

    #headerpic .slider-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }


    .slider-mask {
        display: block;
        background: rgba(31, 44, 108, 0.65);
    }
}

#overlay {
    pointer-events: none;
    z-index: 12;
    position: relative;
    width: 100%;
}

#overlay .tabHeadline {
    color: #ffffff;
    font-weight: 600;
    font-size: clamp(1.875rem, 4vw, 3.375rem);
    text-transform: uppercase;
}

#overlay .tab {
    color: #fff;
    text-transform: uppercase;
    font-size: clamp(1rem, 2vw, 1.25rem);
    pointer-events: all;
}


@media (max-width: 991px) {

    #slider-onebanner,
    #slider .nivo-box>div,
    #slider .nivo-slice>div,
    #slider .nivo-main-image,
    #slider div[style*='background-size'] {
        background-attachment: unset !important;
        background-size: 100% auto !important;
    }

    #slider {
        overflow: hidden;
        position: relative;
        /*1920px * 768px*/
        height: 56vw;
    }

    body:not(.index) #slider {
        /*1920px * 576px*/
        height: 30vw;
    }

    #overlay {
        background: rgba(31, 44, 108, 1);
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* ------------------------------------------- buttonStyle ------------------------------------------ */

.buttonStyle a:not(.has-image):not([rel]) {
    display: inline-block;
    padding: clamp(5px, 2vw, 15px) clamp(5px, 2vw, 18px);
    background: #d40000;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
}

.buttonStyle a:not(.has-image):not([rel]):hover,
.buttonStyle a:not(.has-image):not([rel]):focus {
    background: #43485c;
    color: #fff;
}


/* ------------------------------------------- buttonStyle ------------------------------------------ */


#content {
    padding-top: 30px;
    padding-bottom: 60px;
}

.specialHeadlineElement {
    border-top: 1px solid #e5ebf2;
    border-bottom: 1px solid #e5ebf2;
    padding: 45px 0;
}

.specialHeadlineElement :is(h1, h2, h3) {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 0;
}

.contentElement {
    padding: clamp(30px, 7vw, 100px) 0;
    font-size: 1rem;
}

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

/* ------------------------------------------- breaker ------------------------------------------ */

#breakerOne a {
    color: #6f6f6f;
    text-decoration: underline;
}

#breakerOne hr {
    background: #999fb3;
    opacity: 1;
}

.socialMedia {
    background-color: #d40000;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.3);
}

.socialMedia .template-page {
    padding: 30px 0;
}

.socialMedia a.has-image {
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: transform 150ms linear;
}

.socialMedia a.has-image:hover,
.socialMedia a.has-image:focus {
    transform: scale(1.05)
}

#breakerTwo {
    background: #f9fbfd;
}


#breakerTwo .specialHeadlineElement {
    border-top: none;
}

.dateElement {
    font-weight: 300;
    color: #636a82;
}


.dateElement b,
.dateElement strong {
    font-weight: 400;
    color: #43485c;
}


.dateElement a {
    color: #636a82;
    text-decoration: underline;
}

.dateElement hr {
    margin-top: 15px;
    margin-bottom: 15px;
    position: relative;
    opacity: 1;
    background: #b2c1ce;
    overflow: visible;
}

.dateElement hr::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #d40000;
    border: 5px solid #f9fbfd;
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 100%;
}

.specialRow {
    max-width: 1200px;
    padding: 0 15px;
    margin: auto;
    overflow: scroll;
    width: 100%;
    margin-bottom: 40px;
}

.specialRow .col-xs-3 {
    width: 234px;
    min-width: 234px;
    max-width: 234px;
    padding: 0;
}

#breakerTwo .tabEnd {
    font-size: 0.875rem;
    color: #6f6f6f;
}

#breakerTwo .tabContent :is(h1, h2, h3) {
    text-transform: uppercase;
    font-weight: 400;
    color: #43485c;
    font-size: 1rem;
}

#breakerThree {
    font-size: 1rem;
}

#breakerThree strong,
#breakerThree b {
    font-weight: 500;
    color: #43485c;
}

#breakerThree ul {
    color: #665a5a;
    padding: 0;
    list-style: none;
    z-index: 12;
    position: relative;
    line-height: 2.5;
}

#breakerThree ul em,
#breakerThree ul i {
    font-style: normal;
    text-transform: uppercase;
    padding-right: 15px;
    background: #fff;
}

#breakerThree ul li {
    position: relative;
}

#breakerThree ul li p {
    display: flex;
    align-items: center;
}

#breakerThree ul li strong {
    margin-left: auto;
    color: #d40000;
    font-size: 1rem;
    font-weight: 700;
    background: #fff;
    padding-left: 15px;
    min-width: 40px;
    text-align: right;
}

#breakerThree ul li strong::before {
    height: 1px;
    width: 100%;
    background: #b2c1ce;
    content: '';
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}



#breakerFive .contentElement .tab {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

#breakerFive .contentElement .template-page .col-xs-12,
#breakerFive .contentElement .template-page .row {
    margin: 0;
    padding: 0;
}

#breakerFive .tab img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

#breakerFive .contentElement h2 a {
    position: absolute;
    background: rgba(212, 0, 0);
    color: rgba(255, 255, 255);
    font-size: 1rem;
    font-weight: 400;
    top: 0;
    right: 0;
    bottom: 15px;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    transition: opacity 200ms linear;
    z-index: 12;
    text-decoration: none;
}

#breakerFive .contentElement .tab:focus-visible h2 a,
#breakerFive .contentElement .tab:hover h2 a,
#breakerFive .contentElement .tab:focus h2 a {
    display: flex;
    opacity: 1;
}

#breakerFive .contentElement h2 a {
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
    -webkit-animation-duration: .7s;
    animation-duration: .7s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }

    50% {
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }

    50% {
        opacity: 1;
    }
}

#breakerFive .contentElement>.row {
    gap: 2px;
}

#breakerFive .contentElement .col-xs-6 .row,
#breakerFive .contentElement .col-xs-6 {
    margin: 0;
    padding: 0;
}


@media (max-width: 574px) {
    #breakerFive .contentElement .col-xs-6 {
        max-width: calc(50% - 2px);
    }
}



@media (min-width: 575px) {
    #breakerFive .contentElement .col-xs-6 {
        max-width: calc(33.333% - 2px);
    }
}


@media (min-width: 992px) {
    #breakerFive .contentElement .col-xs-6 {
        max-width: calc(25% - 2px);
    }
}

#breakerSix .tab {
    position: relative;
}

#breakerSix .contentElement>.row>*+* {
    margin-top: 0;
}

#breakerSix .contentElement .tab {
    margin-bottom: 30px;
}

#breakerSix .tab img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

#breakerSix .contentElement h2 a {
    position: absolute;
    background: rgba(31, 44, 108, 0.50);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 400;
    top: 0;
    right: 15px;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    opacity: 0;
    text-transform: uppercase;
    z-index: 12;
    text-decoration: none;
}

#breakerSix .contentElement .tab:focus-visible h2 a,
#breakerSix .contentElement .tab:hover h2 a,
#breakerSix .contentElement .tab:focus h2 a {
    opacity: 1;
}

/* ------------------------------------------------ @26tab ----------------------------------------------- */

#tab26 {
    margin: auto;
    width: 100%;
    max-width: 1200px;
}

#tab26 .tab {
    font-size: 1rem;
}

#tab26 .slider-mask {
    display: none;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #43485c;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Poppins", sans-serif;
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.1875rem);
}

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

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

#footerTop {
    background: #f9fbfd;
}

#footerTop .tab {
    color: #6f6f6f;
}


#footerTop a {
    color: #6f6f6f;
    text-decoration: underline;
}

#footerTop .tabHeadline {
    color: #3c4258;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}


#footerTop .tab .strong,
#footerTop .tab b {
    color: #43485c;
    font-weight: 500;
}

@media (max-width: 767px) {
    footer>.row>.col-xs-12+* {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 15px;
        padding-top: 15px;
    }
}

@media (max-width: 991px) {
    footer>.row>.col-xs-12:last-child {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 15px;
        padding-top: 15px;
    }
}

#footerBottom {
    padding: clamp(30px, 4vw, 60px) 0;
}

#innerfooter ul {
    padding: 0;
}

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

#innerfooter a:is(:hover, :focus) {
    color: #d40000;
}

@media (min-width: 576px) {
    #innerfooter li+li::before {
        content: "";
        margin: 0 15px;
        color: #6f6f6f;
    }

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

/* #endregion -------------------------------- footer ------------------------------------------- */

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

#vernetzt {
    gap: 18px;
    text-align: right;
    font-size: 0.9375rem;
    color: #6f6f6f;
    line-height: 1.3;
    font-weight: 300;
    text-decoration: none;
}

@media (max-width: 767px) {
    #vernetzt {
        margin-top: 40px;
    }
}

#vernetzt span span {
    display: block;
}