@import url('https://fonts.verwaltungsportal.de/import/?family=Rubik:300,300i,500,500i,800,800i');
@import url("https://fonts.verwaltungsportal.de/import/?family=Allison:400");
@import url("https://fonts.verwaltungsportal.de/import/?family=Source+Sans+3:700,700i");

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

body {
    font-family: "Rubik", sans-serif;
    font-weight: 300;
    color: #333333;
    background: #fff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

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

a {
    color: #355d1d;
}

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

:is(main, footer, #headerpic) a,
b,
strong {
    font-weight: 500;
}

:is(#content-area, #headerpic, #events .tab, #topics, #footer) a {
    text-decoration: underline;
}

#tickerWrapper,
#tickerWrapper a {
    color: #355d1d;
}

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

@media (max-width: 991px) {
    .bf-controls-bg {
        margin-top: 20px;
    }
}

/* contrast + font-size */

#contrast_style {
    padding-right: clamp(25px, 4vw, 40px);
}

#style {
    padding-left: 32px;
    padding-right: 32px;
    position: relative;
}

#contrast_style+#style::after {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 1px;
    background: #606060;
    opacity: 0.2;
}

#contrast_style button {
    font-weight: 500;
    width: 24px;
    height: 24px;
    display: inline-block;
    border: none;
    padding: 0;
    border: 1px solid #bbb;
}

#contrast_style button {
    background: #f0f8eb;
    border-radius: 50%;
}

#contrast_style button:focus,
#contrast_style button:focus-visible,
#contrast_style button:hover {
    outline: 2px auto !important;
}



#contrast_style button {
    font-size: 0;
    position: relative;
}

#style button {
    border: none;
    color: #fff;
    display: inline-block;
    min-width: 30px;
    min-height: 30px;
    border-radius: 50%;
    font-weight: 400;
    text-align: center;
    background-color: #355d1d;
    position: relative;
    line-height: 1;
    transition: background 150ms linear;
    padding: 0;
}

#style button:hover {
    background: #f0f8eb;
    color: #191919;

}

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

:is(#contrast_style, #style) button+button {
    margin-left: 4px;
}


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

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

#logo {
    display: inline-block;
}

@media (max-width: 991px) {
    #logo {
        padding-top: 20px;
    }
}

#logo img {
    display: block;
    transition: max-width 200ms linear;
}

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

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


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

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

/* burgermenu for tablet */

#burgerButton {
    font-size: 0;
    border: none !important;
    position: relative;
    z-index: 1002;
    display: block;
    width: 48px;
    height: 48px;
    cursor: pointer;
    background: #355d1d;
    border-radius: 50%;
}

#burgerButton.contrast_dark {
    background: #3c3c3c !important;
}

#burgerButton.contrast_light {
    background: #000 !important;
}

@media (max-width: 991px) {

    #burgerButton {
        position: fixed;
        right: 15px;
        top: 15px;
        width: 53px;
        height: 53px;
        border: 2px solid #fff !important;
    }
}

@media (min-width: 992px) {
    #burgerButton {
        width: 48px;
        height: 48px;
        margin-left: auto;
        z-index: 1003;
    }
}

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

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

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

#burgerButtonInner2,
#burgerButton:after,
#burgerButtonInner {
    position: absolute;
    background: #f0f8eb;
    width: 24px;
    height: 2px;
    left: 12px;
    transition: transform 200ms linear, opacity 200ms linear;
}


#burgerButton.contrast_dark #burgerButtonInner2,
#burgerButton.contrast_dark #burgerButton:after,
#burgerButton.contrast_dark #burgerButtonInner {
    background-color: #fff !important;
}

@media (min-width: 992px) {

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        left: 12px;
    }
}

#burgerButtonInner {
    top: 16px;
}

#burgerButtonInner2 {
    top: 23px;
}

#burgerButton:after {
    top: 30px;
    content: "";
    display: block;
}

@media (min-width: 992px) {
    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 23px;
    }

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

/* burgermenu for tablet */

@media (max-width: 991px) {

    .is-sticky #nav4 {
        position: relative !important;
    }

    .navbar-collapse {
        top: 0;
        background: #fff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 150px 0 rgba(0, 0, 0, 1);
        box-shadow: 0 0 150px 0 rgba(0, 0, 0, 1);
        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-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        -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;
    }
}

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

    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    .navbar-default {
        margin-left: auto;
    }

    nav.horizontally #myNavbar {
        background-color: #fff;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    #navWrapper {
        padding: 20px 0;

    }

    #navWrapper::after {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: #fff;
        box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.1);
        border-bottom-right-radius: 4px;
        width: 100%;
    }

    #nav4 {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        transition: padding-top 200ms linear;
    }

    #nav4-sticky-wrapper {
        height: 0 !important;
    }

    .is-sticky #nav4 {
        padding-top: 0;
    }

    .is-sticky #navWrapper::after {
        width: 100vw;
        max-width: 1200px;
        left: unset;
    }

    .navbar-default {
        width: auto;
    }

    .navbar-default .navbar-nav {
        width: 100%;
        margin: 0;
        display: block;
        padding: 30px;
        overflow-y: auto;
        position: relative;
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 30px;
        -moz-column-gap: 30px;
        column-gap: 30px;
        max-width: 992px;
        margin-left: auto;
        margin-right: auto;
    }

    .navbar-default li[class*="toplevel"] {
        float: none;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
        display: list-item !important;
    }

    .navbar-nav::after,
    .navbar-nav::before {
        display: none;
    }

    #myNavbar {
        max-height: 70vh;
    }

    #myNavbar.navbar-collapse {
        pointer-events: none;
        position: absolute;
        z-index: 1002;
        top: 50%;
        right: 0;
        opacity: 0;
        width: 600px;
        background: #ffffff;
        height: auto !important;
        box-shadow: 0 0px 5px 0 rgba(84, 73, 73, 0.15);
        transition: opacity 300ms linear, top 300ms linear;
    }

    #burgerButton::before {
        content: "";
        display: block;
        position: absolute;
        pointer-events: none;
        right: 10px;
        bottom: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 15px 25px 15px;
        border-color: transparent transparent #ffffff transparent;
        opacity: 0;
        -webkit-transition: opacity 300ms linear, bottom 300ms linear;
        -moz-transition: opacity 300ms linear, bottom 300ms linear;
        -ms-transition: opacity 300ms linear, bottom 300ms linear;
        -o-transition: opacity 300ms linear, bottom 300ms linear;
        transition: opacity 300ms linear, bottom 300ms linear;
    }

    #burgerButton[aria-expanded="true"]::before {
        opacity: 1;
        bottom: -47px;
    }

    #burgerButton[aria-expanded="true"]+#myNavbar {
        pointer-events: auto;
        opacity: 1;
        top: 195%;
    }

    #myNavbar:focus-within {
        pointer-events: auto;
        opacity: 1;
        top: 195%;
    }

    #myNavbar {
        max-height: 50vh;
        overflow: auto;
        scrollbar-color: #555555 #f1f1f1;
        scrollbar-width: thin;
    }
}

@media (min-width: 1200px) {


    .navbar-default .navbar-nav {
        max-width: 1200px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

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

.navbar-default li[class*="toplevel"]>a {
    color: #191919;
    font-weight: 500;
    text-align: left;
    padding: 9px 20px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    background: #f0f8eb;
    margin-bottom: 2px;
    border: 2px solid #fff;
    border-radius: 5px;
}

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

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

.navbar-default li[class*="toplevel"]:hover>a:after,
.navbar-default li[class*="toplevel"]>a:hover,
.navbar-default li[class*="toplevel"]>a:focus,
.navbar-default li[class*="toplevel"].open>a,
.navbar-default li[class*="toplevel"].open>a:hover,
.navbar-default li[class*="toplevel"].open>a:focus,
.navbar-default li[class*="toplevel"][class$="_over"]>a,
.navbar-default li[class*="toplevel"][class$="_over"]>a:hover,
.navbar-default li[class*="toplevel"][class$="_over"]>a:focus {
    color: #355d1d;
    border: 2px solid #355d1d;
    background: #fff;
}

/* -------------------------------------- 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: rgba(255, 255, 255, 0.5);
    }
}

@media (min-width: 992px) {

    .navbar-default li[class*="toplevel"]>.dropdown-menu,
    .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: #191919;
    font-weight: 300;
    text-align: left;
    padding: 8px 35px 8px 15px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

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

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

    .navbar-default li[class*="secondlevel"]>a::before,
    .navbar-default li[class*="thirdlevel"]>a::before {
        content: "";
        position: absolute;
        left: 15px;
        top: 50%;
        background: #191919;
        width: 5px;
        height: 5px;
        margin-top: -2px;
        border-radius: 50%;
    }

    .navbar-default li[class*="thirdlevel"]>a::before {
        left: 35px;
    }
}

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

.navbar-nav li[class*="secondlevel"]:hover>a::before,
.navbar-nav li[class*="secondlevel"]>a:hover::before,
.navbar-nav li[class*="secondlevel"]>a:focus::before,
.navbar-nav li[class*="secondlevel"].open>a::before,
.navbar-nav li[class*="secondlevel"].open>a:hover::before,
.navbar-nav li[class*="secondlevel"].open>a:focus::before,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a::before,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:hover::before,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:focus::before,
.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 {
    background: #496d33;
}


/* #region -------------------------------------- header ---------------------------------------- */

#bannerOverlay {
    position: relative;
    margin: 30px 0;
}

@media (min-width: 1200px) {
    #bannerOverlay {
        padding-top: 0;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        margin: 100px 0 30px 0;
        z-index: 10;
        pointer-events: none;
    }

    #header-text {
        width: 100%;
        height: 100%;
        padding: 70px 30px 40px 70px;
        background-color: rgba(255, 255, 255, 0.01);
    }
}

@media (min-width: 1600px) {
    #bannerOverlay {
        margin: 140px 0 30px 0;
    }
}

@media (min-width: 1800px) {
    #bannerOverlay {
        margin: 170px 0 30px 0;
    }
}

#header-text {
    color: #1a1a1a;
    line-height: 0.85;
    font-weight: 400;
    font-family: 'Allison', cursive;
    font-size: clamp(3.125rem, 7vw, 7.5rem) !important;
    text-shadow: 1px 1px 1px #fff, 1px -1px 1px #fff, -1px 1px 1px #fff, -1px -1px 1px #fff;
}

#header-text b,
#header-text strong {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
}

.headline-border {
    margin-bottom: clamp(20px, 4vw, 40px);
}

/* #endregion ----------------------------------- header ---------------------------------------- */

/* #region -------------------------------------- search ---------------------------------------- */

@media (min-width: 576px) {
    #searchArea {
        position: relative;
        z-index: 54;
        margin-top: -50px;
    }
}

#searchBox {
    background: #ffffff;
    padding: 10px;
    position: relative;
    border-radius: 4px;
    -webkit-box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.1);
}

#search {
    display: flex;
    align-content: center;
    align-items: center;
    background: #355d1d;
    position: relative;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    padding-left: clamp(10px, 4vw, 30px);
    overflow: hidden;
}

#search.contrast_light_font,
#search.contrast_dark_font {
    background-color: #000 !important;
}

@media (min-width: 992px) {
    #search {
        font-size: 18px;
    }
}

#search+*,
#header-search>.template-page {
    margin-top: 25px;
}

#search label {
    font-weight: 500;
    padding-right: 10px;
    white-space: nowrap;
}

#search_input {
    color: #fff;
    font-style: normal;
    font-weight: 300;
    background: transparent;
    border: 0;
    padding: clamp(10px, 4vw, 18px) 74px clamp(10px, 4vw, 18px) 10px;
    width: 100%;
}

#search_input:hover,
#search_input:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

#search_submit {
    width: 64px;
    background: 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 / 34px auto no-repeat;
    padding: 0;
    cursor: pointer;
    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;
}

#search_submit:hover,
#search_submit:focus {
    background-color: rgba(255, 255, 255, 0.2)
}

#search_input::-ms-input-placeholder {
    color: #fff !important;
    font-style: italic;
}

#search_input::-webkit-input-placeholder {
    color: #fff !important;
    font-style: italic;
}

#search_input::-moz-placeholder {
    opacity: 1;
    font-style: italic;
}

#search_input:-moz-placeholder {
    opacity: 1;
    font-style: italic;
}

/* #endregion ----------------------------------- search --------------------------------------- */

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

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

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

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

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

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

    .theme-default .nivo-controlNav {
        bottom: 60px !important;
    }
}

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

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

#quick-links {
    position: relative;
    z-index: 2;
    margin-top: clamp(15px, 4vw, 30px);
    font-size: 1rem;
}

#quick-links-bg {
    font-size: 1rem;
    background: #f0f8eb;
    border-radius: 4px;
    box-shadow: 0 50px 20px -30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 576px) {
    #quick-links-bg {
        padding: 10px 0;
    }
}

#quick-links-bg :is(b, strong, a) {
    font-size: 1.125rem;
}

#quick-links-bg>.row {
    margin: 0;
}

#quick-links-bg>.row>* {
    padding: 15px;
}

@media (min-width: 576px) {
    #quick-links-bg>.row>* {
        padding: 0 30px;
        margin-top: 15px;
        margin-bottom: 15px;
        flex-grow: 1;
        max-width: none;
    }
}

@media (max-width: 575px) {
    #quick-links-bg>.row>*+* {
        border-top: 1px solid rgba(0, 0, 0, 0.3);
    }
}

@media (min-width: 576px) {
    #quick-links-bg>.row>*+* {
        border-left: 1px solid rgba(0, 0, 0, 0.3);
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    #quick-links-bg>.row>*+*:nth-child(3) {
        border-left: none;
    }
}

@media (min-width: 992px) {
    #quick-links-bg>.row>*+*:nth-child(5) {
        border-left: none;
    }
}

#quick-links-bg a {
    color: inherit;
}

#quick-links-bg img {
    margin-bottom: 2px;
}

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

/* #region ----------------------------------- events ------------------------------------ */


#events {
    padding: 30px 0 40px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#events>.row>*+* {
    margin-top: 35px;
}

/* tab image */

@media (max-width: 991px) {
    .tab-narrow>* {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 992px) {
    #events .tab-narrow {
        padding-left: clamp(30px, 4vw, 45px);
        display: flex;
        align-items: center;
    }
}

#events .tab-image {
    position: relative;
    z-index: 1;
    min-height: 80px;
}


#events .tab-image::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: -28px;
    right: -15px;
    top: 50%;
    bottom: -28px;
    background: #fff;
    border-bottom-left-radius: 200px;
}

@media (min-width: 992px) {
    #events .tab-image::after {
        left: -28px;
        right: -25px;
        top: -140px;
        bottom: -40px;
        border-top-right-radius: 235px;
    }
}

#events .tab-image .banner {
    overflow: hidden;
    border-radius: 200px 200px 0 200px;
    margin-bottom: 28px;
}

@media (max-width: 991px) {
    #events .tab-image .banner {
        margin-bottom: -30px;
    }
}

#events .tab-image img {
    display: block;
}

/* tab */

#events .tab {
    border: 8px solid #1a1a1a;
    background: #fff;
    padding: 40px clamp(15px, 3vw, 30px) clamp(30px, 3vw, 36px) clamp(15px, 3vw, 30px);
}

#events .tab>h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    margin-bottom: clamp(15px, 4vw, 25px);
}

#events .button-design {
    margin-top: clamp(20px, 4vw, 40px);
}

/* tabevents */


#events .tab_link_entries {
    margin-top: clamp(10px, 1vw, 30px);
}

#events .tab_link_entries {
    display: grid;
    gap: 30px 30px;
}

@media (min-width: 992px) {

    #events .tab_link_entries {
        grid-template-columns: 1fr 1fr;
    }
}

#events .tab_link_entry {
    font-size: 1rem;
    border-bottom: none !important;
    position: relative;
    border-radius: 4px;
    padding: 140px clamp(15px, 4vw, 30px) clamp(15px, 4vw, 26px) clamp(15px, 4vw, 30px);
    box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.1);
}



#events .tab_link_entry {
    display: flex;
    flex-direction: column;
    background: #fff;
}

#events .tab_link_entry .tab_link_date {
    font-size: 0.875rem;
    font-weight: 500;
    background: #37611f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M9 44q-1.2 0-2.1-.9Q6 42.2 6 41V10q0-1.2.9-2.1Q7.8 7 9 7h3.25V4h3.25v3h17V4h3.25v3H39q1.2 0 2.1.9.9.9.9 2.1v31q0 1.2-.9 2.1-.9.9-2.1.9Zm0-3h30V19.5H9V41Zm0-24.5h30V10H9Zm0 0V10v6.5Z' fill='%23fff'/%3E%3C/svg%3E") center left 10px / 18px auto no-repeat;
    line-height: 1.2;
    padding: 8px 10px 6px 35px;
    border-radius: 30px;
    position: absolute;
    top: 50px;
    right: clamp(15px, 4vw, 30px);
    max-width: calc(100% - 170px);
    min-width: 130px;
    color: #fff;
}

#events .tab_link_entry .tab_link_title::after {
    content: "-";
    display: block;
    margin: 3px 0;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
}

#events .tab_link_entry .tab_link_title a {
    font-size: 1.25rem;
    line-height: 1.2;
    display: block;
}

#events .tab_link_entry .tab_link_title a::before {
    content: "";
    background: url('../img/meldungen-platzhalter.jpg') center / cover no-repeat;
}

#events .tab_link_entry .tab_preview_picture,
#events .tab_link_entry .tab_link_title a::before {
    display: block;
    overflow: hidden;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    position: absolute;
    top: 20px;
    left: clamp(15px, 4vw, 30px);
}

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

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

#events .tab_link_entry .tab_link_mandat {
    order: 100;
    line-height: 1.2;
    text-align: right;
    margin-top: clamp(15px, 4vw, 26px);
    margin-bottom: clamp(-5px, 4vw, -20px);
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

#events .tab_link_entry .tab_link_mandat a,
#events .tab_link_entry .tab_link_mandat span {
    font-size: 0.875rem;
    padding-left: 20px;
    min-height: 18px;
    display: inline-block;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 23.5q1.45 0 2.475-1.025Q27.5 21.45 27.5 20q0-1.45-1.025-2.475Q25.45 16.5 24 16.5q-1.45 0-2.475 1.025Q20.5 18.55 20.5 20q0 1.45 1.025 2.475Q22.55 23.5 24 23.5Zm0 16.55q6.65-6.05 9.825-10.975Q37 24.15 37 20.4q0-5.9-3.775-9.65T24 7q-5.45 0-9.225 3.75Q11 14.5 11 20.4q0 3.75 3.25 8.675Q17.5 34 24 40.05ZM24 44q-8.05-6.85-12.025-12.725Q8 25.4 8 20.4q0-7.5 4.825-11.95Q17.65 4 24 4q6.35 0 11.175 4.45Q40 12.9 40 20.4q0 5-3.975 10.875T24 44Zm0-23.6Z' fill='%23333333'/%3E%3C/svg%3E") center left / 18px auto no-repeat;
}

/* #endregion -------------------------------- events ------------------------------------ */

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a {
    display: inline-block;
    color: #191919;
    font-size: 1rem;
    font-weight: 500;
    background: #f0f8eb;
    padding: 9px 60px 9px 20px;
    border-radius: 30px;
    position: relative;
    text-decoration: none !important;
}

.button-design a::after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: 4px;
    width: 34px;
    background: #cbd9c2 url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M27 34.85q-.45-.45-.45-1.075t.4-1.025l7.35-7.35H9.5q-.65 0-1.075-.425Q8 24.55 8 23.9q0-.65.425-1.075Q8.85 22.4 9.5 22.4h24.8L26.9 15q-.45-.45-.425-1.05.025-.6.475-1.05.45-.4 1.075-.4t1.025.4L39 22.85q.25.25.35.5.1.25.1.55 0 .3-.1.55-.1.25-.35.5l-9.9 9.9q-.45.45-1.05.45-.6 0-1.05-.45Z' fill='%23191919'/%3E%3C/svg%3E") center / 24px auto no-repeat;
    border-radius: 50%;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}

.button-design a:hover,
.button-design a:focus {
    background-color: #b4cfa3;
}


.button-design a+a {
    margin-left: 10px;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

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

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

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

.tab-content h2,
.tab-headline h2 {
    padding-left: 20px;
    position: relative;
}

@media (min-width: 992px) {
    .tab-content h2,
    .tab-headline h2 {
        padding-left: 30px;
    }
}

.tab-content h2::before,
.tab-headline h2::before {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    bottom: clamp(7px, 1vw, 11px);
    left: 0;
    width: 8px;
    background: #37611f;
}

.tab-headline h2::before {
    top: clamp(7px, 1vw, 11px);
}

#header-tab h2::before {
    top: clamp(5px, 1vw, 13px);
    bottom: clamp(5px, 1vw, 13px);
}

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #1a1a1a;
    font-weight: 800;
    line-height: 1.2;
    font-family: "Rubik", sans-serif;
    margin-bottom: 15px;
}

h1,
.h1,
.legacy_h1,
.tab-content h2,
.tab-headline h2 {
    font-size: clamp(1.875rem, 4vw, 3.125rem);
    margin-bottom: clamp(20px, 4vw, 30px);
}

:is(h1, .h1, h2, .h2) :is(i, em) {
    font-style: normal;
    font-weight: 500;
    font-size: 1.125rem;
    display: block;
}

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

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

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

#topics {
    position: relative;
    z-index: 1;
    padding-top: clamp(30px, 10vw, 50px);
    font-size: 1rem;
}

#topics :is(a) {
    font-size: 1.125rem;
}

#topics::after,
#topics::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
}

#topics::after {
    right: 0;
    bottom: 125px;
    left: calc(50% - 200px);
    background: #f0f8eb;
    border-bottom-left-radius: 500px;
}

.topic-tabs :is(h2, h3) {
    font-size: clamp(1.5rem, 2vw, 1.625rem);
    margin-bottom: clamp(15px, 4vw, 22px);
}

@media (min-width: 992px) {
    .topic-tab-1 {
        margin-top: clamp(-20px, 4vw, -30px);
    }
}

.topic-tab-2 {
    margin-top: clamp(30px, 5vw, 100px);
}

.topic-tabs .row {
    display: flex;
    align-content: end;
    align-items: end;
}

.topic-tabs .row+.row {
    padding-top: clamp(20px, 4vw, 55px);
}

.topic-tabs img {
    display: block;
    border-radius: 200px 200px 0 200px;
}

/* #endregion ------------------------------------ topics --------------------------------------- */

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

footer {
    background: #f0f8eb;
}

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

footer hr {
    margin: 0;
    opacity: 1;
    background: rgba(0, 0, 0, 0.3);
}

#footer {
    font-size: 1rem;
    padding: clamp(30px, 10vw, 80px) 0;
}


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

#footer h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

#footer .footerTabIcon {
    background: url(../img/logo-tourist-information.jpg) no-repeat left top;
    padding-left: 100px;
}

@media (max-width: 767px) {
    #footer .footerTabIcon {
        background: url(../img/logo-tourist-information.jpg) no-repeat top center;
        padding-top: 100px;
        padding-left: unset;
    }
}

#footer .footer-headline {
    color: #355d1d;
    font-size: 1.5rem;
}

#innerfooter {
    padding-top: 28px;
    padding-bottom: 28px;
    font-size: 0.9375rem;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

#innerfooter ul a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
}

#innerfooter ul a:hover,
#innerfooter ul a:focus {
    color: #355d1d;
}

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

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

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

/* #region -------------------------------------- vernetzt -------------------------------------- */

#innerfooter #vernetzt {
    text-align: left;
    font-size: 0.8125rem;
    color: #333333;
    line-height: 1.3;
    margin: 0 auto 20px auto;
    font-weight: 300;
    text-decoration: none;
}

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

#innerfooter #vernetzt span span {
    display: block;
}

#innerfooter #vernetzt img {
    margin-right: 15px;
}

#vernetzt b {
    color: #355d1d;
}

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

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

.contrast_dark .tab_link_entry,
.contrast_dark .tab_link_entry :is(.tab_date, .tab_link_date) {
    background: #000 !important;
}

.contrast_light .tab_link_entry,
.contrast_light .tab_link_entry :is(.tab_date, .tab_link_date) {
    background: #fff !important;
}

.contrast_dark #news .tab-image::after,
.contrast_light #news .tab-image::after,
.contrast_dark #events .tab-image::after,
.contrast_light #events .tab-image::after,
:is(.contrast_dark, .contrast_light) #events .tab_link_entry .tab_link_title a::before {
    display: none !important;
}

.contrast_light #search :is(label, input) {
    color: #fff !important;
}

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