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

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #fff9e6;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #9f241b #ffffff;
}

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

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

a {
    color: #9f241b;
}

#content a,
a:hover,
a:focus {
    color: #9f241b;
    text-decoration: underline;
}

b,
strong {
    font-weight: 600;
}

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

#over {
    overflow: clip;
    position: relative;
}

/* ----------------------------------------------- @tp3 topbar ----------------------------------------------- */

#tp3 {
    color: #ffffff;
}

@media (max-width: 991px) {
    #tp3 {
        padding-top: 10px;
        padding-bottom: 10px;
        background: #9f241b;
    }
}

@media (max-width: 767px) {
    #tp3 .topRow>*+* {
        margin-top: 10px;
    }
}

@media (max-width: 575px) {

    #tp3 .topRow>.row>*>*+*,
    #tp3 .topRow>.row>*+* {
        margin-top: 10px;
    }
}

@media (min-width: 992px) {
    #tp3 {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 12;
    }

    .topRow {
        padding: 5px 16px;
        background: #9f241b;
        position: relative;
    }

    .topRow::after {
        content: "";
        background: #9f241b;
        position: absolute;
        z-index: -1;
        top: 0;
        bottom: 0;
        right: 50%;
        width: 55vw;
    }
}

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

#logo {
    display: inline-block;
}

#logo > .template-page .row > div {
    padding-right: 0;
}

#logo img {
    display: block;
}

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

a#logoText {
color: #fff;
font-size: clamp(1.25rem, 3vw, 1.875rem);
line-height: 1.2;
}

a#logoText:hover {
    text-decoration: none;
}

#logoText :is(b, strong) {
    color: #fff;
    font-size: clamp(1.875rem, 3vw, 2.8125rem);
    font-family: Borea !important;
    font-weight: 400;
}
/* ------------------------------------------------ contrast_style ---------------------------------------------- */

#contrast_style button {
    color: #191919;
    padding: 0;
    font-size: 0;
    border: unset !important;
    display: inline-block;
    text-align: center;
    width: 29px;
    height: 29px;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.9);
    transition: background 300ms linear;
    position: relative;
    z-index: 1;
}

#contrast_style button:hover,
#contrast_style button:focus {
    background: rgba(255, 244, 206, 0.9);
}

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

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

@media (min-width: 992px) {
    #style {
        margin-left: 30px;
    }
}

#style button {
    padding: 0;
    border: none;
    color: #191919;
    display: inline-block;
    width: 29px;
    height: 29px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    line-height: 1;
    transition: color 300ms linear, background 300ms linear;
}

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

#style button:hover,
#style button:focus {
    color: #191919;
    background: rgba(255, 244, 206, 0.9);
}

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

form[id^="search"] {
    min-height: 35px;
    display: block;
    position: relative;
    background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 575px) {
    form[id^="search"] {
        display: inline-block;
    }
}

@media (min-width: 576px) {
    form[id^="search"] {
        margin-left: 30px;
    }
}

form [id^="search_input"] {
    font-size: 0.875rem;
    color: #191919;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 14px;
    padding-right: 54px;
    min-height: 35px;
    width: 100%;
    display: block;
}

form [id^="search_submit"] {
    width: 40px;
    background: url('../img/icon-suche.png') center no-repeat;
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    font-size: 0;
    border-left: 1px solid #191919;
    -webkit-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -moz-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -ms-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -o-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    top: 0;
    bottom: 0;
    background-color: rgba(255, 244, 206, 0.9);
}

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

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

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

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

/* für :focus-visible -> setzt die Umrandung -3px weiter hinein */
form[id^="search"],
form [id^="search_input"],
form [id^="search_submit"] {
    outline-offset: -3px;
}

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

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

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

    body.index #slider {
        max-height: 800px;
    }

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

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

    #headerpic .theme-nivo .nivo-controlNav .slick-dots li,
    #headerpic .nivo-directionNav a,
    #headerpic a.nivo-control,
    #headerpic a.nivo-control.active {
        color: #ffffff !important;
    }

    #headerpic .theme-nivo .nivo-controlNav,
    #headerpic .theme-default .nivo-controlNav {
        bottom: 115px !important;
    }

    #headerpic {
        background-color: #191919;
    }
}

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

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

.slider-mask {
    display: block;
    background: linear-gradient(to top, rgba(25, 25, 25, 0.7), rgba(25, 25, 25, 0));
}

/* ----------------------------------------------- bannerOverlay ----------------------------------------------- */

@media (max-width: 991px) {
    #bannerOverlay {
        padding: 30px 0;
        background: #9f241b;
    }
}

#bannerOverlay .tab {
    color: #ffffff;
    font-weight: 500;
    line-height: 1.2;
    font-size: clamp(1.25rem, 3vw, 2.3125rem);
}

#bannerOverlay .tab :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.75rem, 3vw, 3.5rem);
    color: #ffffff;
    font-weight: 700;
    font-family: 'Josefin Sans', sans-serif;
}

#bannerOverlay .tab :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    font-family: "Borea", cursive;
    font-weight: 400;
    font-size: clamp(1.875rem, 4vw, 3.75rem);
}

#bannerOverlay .tab a {
    color: #ffffff;
}

@media (min-width: 992px) {
    #bannerOverlay {
        position: absolute;
        pointer-events: none;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 12;
    }

    #bannerOverlay .tab {
        pointer-events: all;
        margin-bottom: 65px;
    }
}

/* -------------------------------------------- @nav2 Navigation ------------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        position: static !important;
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        position: relative;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #9f241b;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        -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"]::before {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 10px;
    }

    #burgerButton::before {
        top: 18px;
    }

    #burgerButton::after {
        top: 26px;
    }

    #burgerButton::before,
    #burgerButton::after {
        content: "";
        display: block;
    }

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

    .navbar-collapse {
        top: 0;
        background: #9f241b;
        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.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        -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);
    }

    .navbar-collapse.in::after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 90px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in::after {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        transition: background 300ms linear;
        position: relative;
        pointer-events: all;
    }

    .is-sticky #menu {
        background: #9f241b;
        position: relative;
    }

    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;
        background: #9f241b;
        padding: 16px 20px;
    }

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

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

    nav.horizontally li[class*="toplevel"]>ul::before {
        content: '';
        position: absolute;
        top: -30px;
        height: 35px;
        width: 100%;
        left: 0;
        right: 0;
    }

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
        -webkit-column-gap: 30px;
        -moz-column-gap: 30px;
        column-gap: 30px;
        max-width: 992px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
        height: auto;
    }

    nav.horizontally li[class*="secondlevel"] {
        float: none;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
        display: table !important;
    }

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

    nav.horizontally .dropdown-menu {
        display: block !important;
    }
}

@media (min-width: 1200px) {

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        max-width: 11170px;
        padding: 15px 20px 45px 20px;
    }

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

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

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

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

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

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

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        padding: 20px 2px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

    .navbar-default li[class*="toplevel"]+li {
        border-left: 1px solid #ffffff;
        margin-left: 10px;
        padding-left: 10px;
    }
}

.navbar-default li[class*="toplevel"]>a::after {
    content: "";
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 300ms linear;
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a::after {
        bottom: 10px;
        height: 4px;
    }
}

/* -------------------------------------------- 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 {
    width: 100%;
}

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

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

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

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

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

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

.navbar-default li[class*="thirdlevel"]>a {
    position: relative;
}

.navbar-default li[class*="thirdlevel"]>a::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: 2px;
    width: 0;
    background: #ffffff;
    transition: width 300ms linear;
}

/* ------------------------------------------ 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 {
    color: #ffffff;
    text-decoration: underline;
}

.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: #ffffff;
}

.navbar-nav li[class*="thirdlevel"]>a:hover::before,
.navbar-nav li[class*="thirdlevel"]>a:focus::before,
.navbar-nav li[class*="thirdlevel"].open>a::before,
.navbar-nav li[class*="thirdlevel"].open>a:hover::before,
.navbar-nav li[class*="thirdlevel"].open>a:focus::before,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a::before,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:hover::before,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus::before {
    width: 10px;
}

@media (min-width: 992px) {

    .navbar-nav li[class*="thirdlevel"]>a:hover::before,
    .navbar-nav li[class*="thirdlevel"]>a:focus::before,
    .navbar-nav li[class*="thirdlevel"].open>a::before,
    .navbar-nav li[class*="thirdlevel"].open>a:hover::before,
    .navbar-nav li[class*="thirdlevel"].open>a:focus::before,
    .navbar-nav li[class*="thirdlevel"][class$="_over"]>a::before,
    .navbar-nav li[class*="thirdlevel"][class$="_over"]>a:hover::before,
    .navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus::before {
        width: 15px;
    }
}

/* ------------------------------------------------ tabsFirst ----------------------------------------------- */

#tabsFirst {
    padding-top: clamp(30px, 4vw, 60px);
    padding-bottom: 30px;
}

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

#tabsFirst .tabsFirstBigImg {
    line-height: 0;
    font-size: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#tabsFirst .tabsFirstSmallImg {
    line-height: 0;
    font-size: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 768px) {
    #tabsFirst .tabsFirstBigImg {
        height: 100%;
        min-height: 100%;
        max-width: 355px;
        width: 100%;
    }

    #tabsFirst .tabsFirstSmallImg {
        max-width: 160px;
        width: 100%;
    }
}

@media (max-width: 767px) {

    #tabsFirst .tabsFirstBigImg,
    #tabsFirst .tabsFirstSmallImg {
        width: 100%;
        max-height: 200px;
    }
}

#tabsFirst .tabsFirstBigBox {
    height: 100%;
    min-height: 100%;
    background: #fff4ce;
}

#tabsFirst .tabsFirstBox {
    background: #fff4ce;
}

#tabsFirst .tabsFirstBox+.tabsFirstBox {
    margin-top: 30px;
}

#tabsFirst .tab {
    font-size: 1rem;
    padding: 30px 30px 40px 30px;
}

#tabsFirst .tab .tabHeadline {
    color: #191919;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

#tabsFirst .tab a {
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
    position: relative;
    line-height: 1.2;
    font-size: 0.875rem;
    color: #191919;
    font-weight: 700;
    padding: 4px 8px;
    border: 1px solid #191919;
}

#tabsFirst .tab a:hover,
#tabsFirst .tab a:focus {
    color: #ffffff;
    background: #9f241b;
    border-color: #9f241b;
}

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

#content {
    text-align: left;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (min-width: 992px) {
    #content {
        padding-top: 55px;
        padding-bottom: 50px;
    }
}

/* ------------------------------------------------ @17ev ----------------------------------------------- */

#ev17 {
    padding-top: 30px;
    padding-bottom: clamp(30px, 4vw, 55px);
}

#ev17 .tab {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 30px;
    font-size: clamp(1.25rem, 4vw, 1.875rem);
}

#ev17 .tab .tabHeadline {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0;
}

#ev17 .tab_link_entries {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

#ev17 .tab_link_entry {
    width: 100%;
    color: #191919;
    font-size: 1rem;
    padding: 170px 30px 20px 30px;
    background: #fff4ce;
    hyphens: auto;
    position: relative;
}

@media (min-width: 575px) and (max-width: 767px) {
    #ev17 .tab_link_entry {
        max-width: calc(50% - 15px);
    }

    #ev17 .tab_link_entry:last-child {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    #ev17 .tab_link_entry {
        max-width: calc(33.3333333% - 20px);
    }
}

#ev17 .vorschau {
    opacity: 1;
}

#ev17 .tab_link_title a {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    color: #191919;
    display: inline-block;
    margin-bottom: 5px;
}

#ev17 .tab_date {
    color: #191919;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 10px;
}

#ev17 .tab_link_mandat {
    display: none;
}

#ev17 .tab_spacer,
#ev17 .tab_preview_picture {
    display: none;
}

#ev17 .tab_link_mehr {
    font-size: 0;
}

#ev17 .tab_link_mehr a {
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    position: relative;
    line-height: 1.2;
    font-size: 0.875rem;
    color: #191919;
    font-weight: 700;
    padding: 4px 8px;
    border: 1px solid #191919;
}

#ev17 .tab_link_mehr a:hover,
#ev17 .tab_link_mehr a:focus {
    color: #ffffff;
    background: #9f241b;
    border-color: #9f241b;
}

#ev17 .tab_link_entry::before,
#ev17 .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 149px;
    overflow: hidden;
    border-radius: 3px 3px 0 0;
}

#ev17 .tab_link_entry::before {
    content: "";
    background: #9f241b url("../img/platzhalterbild-meldungen.png") center / cover no-repeat;
}

#ev17 .tab_preview_picture img {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----------------------------------------------- @1nw news -------------------------------------------- */

#nw1 {
    padding-top: clamp(30px, 4vw, 55px);
    padding-bottom: clamp(30px, 4vw, 60px);
}

#nw1 .tab {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 30px;
    font-size: clamp(1.25rem, 4vw, 1.875rem);
}

#nw1 .tab .tabHeadline {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0;
}

@media (min-width: 576px) {
    #nw1 .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

#nw1 .tab,
#nw1 .tab_link,
#nw1 .tab_link>div {
    height: 100%;
    min-height: 100%;
}

#nw1 .tab_link_entry {
    color: #191919;
    font-size: 1rem;
    position: relative;
    width: 100%;
    border-radius: 3px;
    padding: 190px 25px 20px 25px;
    background: #fff4ce;
    border: unset !important;
}

#nw1 .vorschau {
    opacity: 1;
}

@media (min-width: 576px) and (max-width: 767px) {
    #nw1 .tab_link_entry {
        width: calc(50% - 15px);
    }

    #nw1 .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }

    #nw1 .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }
}

@media (max-width: 767px) {
    #nw1 .tab_link_entry+.tab_link_entry {
        margin-top: 30px;
    }
}

@media (min-width: 768px) {
    #nw1 .tab_link_entry {
        width: calc(33.33% - 20px);
    }

    #nw1 .tab_link_entry+.tab_link_entry {
        margin-left: 30px;
    }
}

@media (max-width: 767px) {
    #nw1 .tab_link_entry+.tab_link_entry {
        margin-top: 30px;
    }
}

@media (min-width: 576px) {
    #nw1 .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    #nw1 .tab_link {
        margin-top: 30px;
    }
}

#nw1 .tab_preview_picture {
    background: #ffffff;
}

#nw1 .tab_link_entry::before,
#nw1 .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 149px;
    overflow: hidden;
    border-radius: 3px 3px 0 0;
}

#nw1 .tab_link_entry::before {
    content: "";
    background: #9f241b url("../img/platzhalterbild-veranstaltungen.png") center / cover no-repeat;
}

#nw1 .tab_preview_picture img {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#nw1 .tab_link_date {
    display: inline-block;
    position: absolute;
    z-index: 1;
    left: -2px;
    top: 130px;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 6px 20px;
    background: #9f241b;
    border: 2px solid #ffffff;
    border-radius: 0 3px 3px 0;
}

#nw1 .tab_link_title a {
    display: block;
    font-weight: 700;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: #191919;
    line-height: 1.2;
    margin-bottom: 8px;
}

#nw1 .tab_link_mandat a {
    color: #191919;
    text-decoration: underline;
}

#nw1 .tab_link_entries+div,
#nw1 .tab_link_entries .tab_spacer {
    display: none;
}

#nw1 .tab_link_mehr {
    font-size: 0;
}

#nw1 .tab_link_mehr a {
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    position: relative;
    line-height: 1.2;
    font-size: 0.875rem;
    color: #191919;
    font-weight: 700;
    padding: 4px 8px;
    border: 1px solid #191919;
}

#nw1 .tab_link_mehr a:hover,
#nw1 .tab_link_mehr a:focus {
    color: #ffffff;
    background: #9f241b;
    border-color: #9f241b;
}

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

.buttonStyle {
    margin-top: 30px;
}

.buttonStyle a {
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    padding: 10px 10px;
    background: #9f241b;
    transition: background 300ms linear, color 300ms linear, outline 300ms linear;
}

.buttonStyle a:hover,
.buttonStyle a:focus {
    color: #191919;
    background: #fff4ce;
    outline: 1px solid #191919;
}

/* ------------------------------------------------ tabsBunt ----------------------------------------------- */

#tabsBunt {
    padding-top: clamp(30px, 4vw, 60px);
    padding-bottom: clamp(30px, 4vw, 50px);
}

#tabsBunt .tabsBuntImg {
    line-height: 0;
    font-size: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 767px) {
    #tabsBunt .tabsBuntImg {
        width: 100%;
        max-height: 200px;
    }
}

@media (min-width: 768px) {
    #tabsBunt .tabsBuntImg {
        height: 100%;
        min-height: 100%;
        max-width: 270px;
        width: 100%;
    }
}

#tabsBunt>.row>*:not(:first-child)+* {
    margin-top: 30px;
}

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

#tabsBunt .tabsBuntBox,
#tabsBunt .tab2,
#tabsBunt .tab3 {
    height: 100%;
    min-height: 100%;
}

#tabsBunt :is(.tabsBuntBox1, .tab2, .tab3, .tabsBuntBox2) {
    background: #fff4ce;
}

#tabsBunt .tab {
    font-size: 1rem;
    padding: 30px 30px 40px 30px;
}

#tabsBunt .tab .tabHeadline {
    color: #191919;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

#tabsBunt .tab a {
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
    position: relative;
    line-height: 1.2;
    font-size: 0.875rem;
    color: #191919;
    font-weight: 700;
    padding: 4px 8px;
    border: 1px solid #191919;
}

#tabsBunt .tab a:hover,
#tabsBunt .tab a:focus {
    color: #ffffff;
    background: #9f241b;
    border-color: #9f241b;
}

/* ------------------------------------------------ tabsLinksBox ----------------------------------------------- */

#tabsLinksBox {
    padding-top: clamp(30px, 4vw, 50px);
    padding-bottom: clamp(30px, 8vw, 120px);
}

#tabsLinksBox .tab {
    font-weight: 500;
    line-height: 1.2;
    font-size: clamp(1.25rem, 4vw, 1.875rem);
}

#tabsLinksBox .tab .tabHeadline {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0;
}

#tabsLinksBox .tabButton a {
    margin-top: 30px;
    text-decoration: none;
    display: block;
    font-weight: 700;
    color: #191919;
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    border-radius: 2px;
    padding: 18px 30px;
    hyphens: auto;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

#tabsLinksBox .tabButton a::before {
    content: '\00BB ';
}

#tabsLinksBox .tabButton a:hover,
#tabsLinksBox .tabButton a:focus {
    background: #fff4ce;
}

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

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

h1,
.h1,
.legacy_h1 {
    font-size: calc(1.875rem + (50 - 30) * (100vw - 320px) / (1920 - 320));
}

h2,
.h2,
.legacy_h2 {
    font-size: calc(1.625rem + (35 - 26) * (100vw - 320px) / (1920 - 320));
}

h3,
.h3,
.legacy_h3 {
    font-size: calc(1.5rem + (30 - 24) * (100vw - 320px) / (1920 - 320));
}

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
    font-size: calc(1.375rem + (26 - 22) * (100vw - 320px) / (1920 - 320));
}

h5,
.h5,
.legacy_h5 {
    font-size: calc(1.3125rem + (22 - 21) * (100vw - 320px) / (1920 - 320));
}

h6,
.h6,
.legacy_h6 {
    font-size: calc(1.25rem + (21 - 20) * (100vw - 320px) / (1920 - 320));
}

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

/* --------------------------------------------- kontaktFooter -------------------------------------------- */

#kontaktFooter {
    color: #191919;
    font-size: 1rem;
    padding-top: clamp(30px, 4vw, 50px);
    padding-bottom: clamp(30px, 4vw, 60px);
    background-color: #fff4ce;
}

@media (max-width: 767px) {
    #kontaktFooter>.row>*+* {
        padding-top: 15px;
        margin-top: 15px;
        border-top: 1px solid rgba(25, 25, 25, 0.1);
    }
}

#kontaktFooter .iframetab iframe,
#kontaktFooter .iframetab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
}

#kontaktFooter .tabHeadline {
    color: #191919;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

#kontaktFooter .tab a {
    color: #9f241b;
    text-decoration: underline;
}

#newsletter {
    margin-top: 15px;
}

#newsletterInputs {
    height: 36px;
    background: #fff4ce;
    display: inline-block;
    position: relative;
    border-radius: 3px;
    width: fit-content;
    border: 1px solid rgba(25, 25, 25, 0.5);
}

#newsletter_input {
    color: #191919;
    font-size: 16px;
    font-style: italic;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 36px;
    padding-left: 12px;
    padding-right: 45px;
    height: 34px;
    width: 100%;
    display: block;
}

@media (min-width: 992px) {
    #newsletter_input {
        padding-right: 65px;
    }
}

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

#newsletter_submit:hover {
    background-color: #ffffff;
}

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

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

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

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

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

#f5 {
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: #9f241b;
}

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

@media (max-width: 767px) {
    #innerfooter {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

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

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

@media (min-width: 992px) {
    #innerfooter li+li::before {
        margin: 0 12px;
    }
}

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

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

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

#vernetzt {
    display: inline-block;
    font-size: 0;
    line-height: 0;
    text-decoration: none;
}

#vernetzt img {
    display: block;
    background: #ffffff;
    padding: 9px 29px;
}

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

.contrast_light_font #contrast_style button {
    background-color: #ffffff !important;
}

.contrast_light_font #style button,
.contrast_light_font form[id^="search"] {
    border: 1px solid #ffffff !important;
}

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

.contrast_dark_font #contrast_style button,
.contrast_dark_font #style button,
.contrast_dark_font form[id^="search"] {
    border: 1px solid #000 !important;
}

.contrast_dark_font #bannerOverlay {
    background-color: #ffffff !important;
}