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

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

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

a {
    color: #e5006d;
}

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

b,
strong {
    font-weight: 700;
}

.over {
    overflow: hidden;
    position: relative;
}

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

#topbar {
    font-size: 1rem;
    padding: 16px 0 14px 0;
}

@media (min-width: 768px) {
    #topbar>.row>*>*+* {
        padding-left: 20px;
        margin-left: 20px;
        border-left: 1px solid #dcdcdc;
    }

    .tabContact {
        height: 100%;
        display: flex;
        align-items: center;
        align-content: center;
    }
}

/* search */

#search {
    background: #ffffff;
    display: flex;
    width: 100%;
    border: 1px solid #505050;
}

@media (min-width: 992px) {
    #search {
        max-width: 300px;
    }
}

#search_input {
    color: #010101;
    font-size: 0.875rem;
    font-style: normal;
    background: transparent;
    padding: 10px 14px;
    border: 0;
    width: 100%;
}

#search_input:is(:hover, :focus) {
    background: rgba(0, 0, 0, 0.1);
}

#search_submit {
    width: 44px;
    flex-shrink: 0;
    border: none;
    padding: 0;
    cursor: pointer;
    margin: 0;
    font-size: 0;
    background: #ffffff url('../img/lupe-icon.png') center no-repeat;
    transition: background-color 150ms linear;
}

#search_submit:is(:hover, :focus) {
    background-color: #ebbe00;
}

#search_input::placeholder {
    color: #010101 !important;
    opacity: 1 !important;
    font-style: normal !important;
}

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

#logo {
    display: inline-block;
}

@media (min-width: 992px) {
    #logo {
        position: absolute;
        top: -55px;
        transition: top 300ms linear;
    }

    .is-sticky #logo {
        top: 0;
    }

    #logo img {
        transition: max-width 300ms linear;
    }

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

#logo img {
    display: block;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        padding: 10px 0;
        background: #ffffff;
        position: static !important;
    }

    nav.horizontally::before {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(to left, #e5006d 0%, #e5006d 28.5%, #ffcc00 28.5%, #ffcc00 100%);
    }

    #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: #e5006d;
        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 {
        position: relative;
        padding-bottom: 4px;
        background: #ffffff;
    }

    nav.horizontally::before {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 10px;
        background: linear-gradient(to left, #e5006d 0%, #e5006d 28.5%, #ffcc00 28.5%, #ffcc00 100%);
    }

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

    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.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

    nav.horizontally .navbar-nav li:is(: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:is(:hover, :focus)>ul {
        z-index: 1003;
    }
}

/* toplevel */

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

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 24px 5px 42px 5px;
        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: #010101;
    background-color: #ffcc00;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 22px;
    }

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

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

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"])>ul::before {
        background: #ffffff;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        left: 50px;
        top: -10px;
        width: 20px;
        height: 20px;
        transform: rotate(45deg);
    }

    nav.horizontally [class*="secondlevel"]>ul::before {
        left: -10px;
        top: 10px;
        width: 20px;
        height: 20px;
        transform: rotate(45deg);
    }

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    background-color: transparent;
    color: #010101;
    font-weight: 400;
    text-align: left;
    padding: 10px 35px 10px 25px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (min-width: 992px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        padding: 10px 20px;
    }
}

@media (min-width: 1200px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        font-size: 1.125rem;
    }
}

/* 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) {
    color: #010101;
    background-color: #ffcc00;
}

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

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

#slider {
    max-height: clamp(300px, 42vw, 560px);
    position: relative;
}

@media (min-width: 992px) {
    body.index #slider {
        max-height: clamp(400px, 62vw, 760px);
    }

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

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

#headerpic {
    padding: 0;
    overflow: hidden;
    position: relative;
}

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

.slider-mask {
    display: none;
}

/* ------------------------------------------- contentBox ------------------------------------------ */

#contentBox {
    text-align: left;
    padding-top: clamp(30px, 4vw, 3.75rem);
    padding-bottom: clamp(30px, 4vw, 3.75rem);
    position: relative;
}

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

@media (min-width: 1200px) {
    #contentBox {
    padding-top: clamp(30px, 8vw, 135px);
    padding-bottom: clamp(30px, 4vw, 60px);
}
    #contentBox::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 18px;
        right: 0;
        width: 1659px;
        height: 123px;
        background: url('../img/bg_biene_linie1.png') center no-repeat;
    }

    #contentBox::after {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: 0;
        right: 176px;
        width: 193px;
        height: 161px;
        background: url('../img/bg_biene_linie2.png') center no-repeat;
    }

    #contentBox>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: -120px;
        left: -228px;
        width: 129px;
        height: 157px;
        background: url('../img/Biene1.png') center no-repeat;
        animation: float2 6s ease-in-out infinite;
    }

    #contentBox>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: 55px;
        right: -314px;
        width: 128px;
        height: 157px;
        background: url('../img/Biene2.png') center no-repeat;
        animation: float1 6s ease-in-out infinite;
    }

    @keyframes float1 {
        0% {
            transform: translateY(0px) translateX(0px);
        }

        50% {
            transform: translateY(-20px) translateX(10px);
        }

        100% {
            transform: translateY(0px) translateX(0px);
        }
    }

    @keyframes float2 {
        0% {
            transform: translateY(0px) translateX(0px);
        }

        50% {
            transform: translateY(20px) translateX(-10px);
        }

        100% {
            transform: translateY(0px) translateX(0px);
        }
    }
}

/* ------------------------------------------- tabsBox ------------------------------------------ */

#tabsBox {
    margin-top: clamp(30px, 4vw, 65px);
    margin-bottom: clamp(30px, 6vw, 100px);
    padding-top: clamp(30px, 12vw, 215px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#tabsBox .tab {
    padding: 25px 30px;
    background: #ffffff;
    box-shadow: -25px 25px 25px 0 rgba(0, 0, 0, 0.08);
    margin-right: 20px;
    margin-left: 66px;
    margin-bottom: clamp(-100px, -6vw, -30px);
}

#tabsBox .tab .tabHeadline {
    margin: 0;
    font-size: clamp(1.75rem, 2vw, 1.875rem);
}

#tabsBox .tab .tabContent :is(h1, h2, h3) {
    margin: 0;
    color: #e5006d;
    font-weight: 700;
    font-size: clamp(1.75rem, 2vw, 1.875rem);
}

#tabsBox .tab a {
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
    color: #221809;
    font-weight: 400;
    letter-spacing: 2px;
    padding: 7px 20px 6px 20px;
    background: #ffcc00;
}

#tabsBox .tab a:is(:hover, :focus) {
    background: #ebbe00;
}

/* ------------------------------------------- tabsRight ------------------------------------------ */

#tabsRight .tab+.tab {
    margin-top: clamp(30px, 3vw, 40px);
}

#tabsRight .tab.newsletter {
    margin-top: 20px;
    color: #505050;
    font-size: 0.9375rem;
    padding: 50px 0 55px 0;
    background: #ffffff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.03);
    position: relative;
}


#tabsRight .tab.newsletter::after {
    content: "";
    position: absolute;
    pointer-events: none;
    top: -102px;
    right: 0;
    display: block;
    width: 32px;
    height: 44px;
    background: url('../img/Biene3.png') center right no-repeat;
}

#tabsRight .tabHeadline {
    margin: 0 0 30px 0;
    padding-right: 155px;
    font-size: 1.5rem;
    color: #e5006d;
    font-weight: 500;
}

/* newsletter */

#newsletter {
    background: #ffffff;
    display: flex;
    width: 100%;
    margin-top: clamp(15px, 2vw, 25px);
    border: 1px solid #505050;
}

#newsletter_input {
    color: #505050;
    font-size: 0.9375rem;
    font-style: normal;
    background: transparent;
    padding: 10px 14px;
    border: 0;
    width: 100%;
}

#newsletter_input:is(:hover, :focus) {
    background: rgba(0, 0, 0, 0.1);
}

#newsletter_submit {
    width: 44px;
    flex-shrink: 0;
    border: none;
    padding: 0;
    cursor: pointer;
    margin: -1px -1px -1px 0;
    font-size: 0;
    background: #ffcc00 url('../img/pfeil-icon.png') center / auto 18px no-repeat;
    transition: background-color 150ms linear;
}

#newsletter_submit:is(:hover, :focus) {
    background-color: #ebbe00;
}

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

/* events */

#tabsRight .tab.events {
    position: relative;
    font-size: 0.9375rem;
}

#tabsRight .tab.events .tab_link {
    position: relative;
}

#tabsRight .tab.events .tab_link_entries {
    display: grid;
    gap: 20px;
}

#tabsRight .tab.events .tab_link_entry {
    color: #010101;
    font-size: 0.875rem;
    position: relative;
    min-height: 90px;
    padding: 11px 22px 11px 87px;
    background: #ffffff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.03);
    border-bottom: none !important;
}

@media (max-width: 575px) {
    #tabsRight .tab.events .tab_link_entry {
        padding: 110px 22px 22px 22px;
    }
}

#tabsRight .tab.events .tab_link_entry::after {
    content: '';
    position: absolute;
    pointer-events: none;
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    width: 72px;
    height: 100%;
    background: url('../img/platzhalter-veranstaltungen.jpg') center no-repeat, #ffcc00;
}

@media (max-width: 575px) {
    #tabsRight .tab.events .tab_link_entry::after {
        width: 100%;
        height: 85px;
    }
}

#tabsRight .tab.events .tab_link_title a {
    display: block;
    color: #010101;
    font-size: clamp(1rem, 1vw, 1.125rem);
    font-weight: 500;
}

#tabsRight .tab.events .tab_link_mandat a {
    color: #010101;
}

#tabsRight .tab.events .tab_link_date {
    position: relative;
    padding-left: 20px;
}

#tabsRight .tab.events .tab_link_date::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 2px;
    left: 0;
    width: 13px;
    height: 14px;
    background: url('../img/event_icon.png') center no-repeat;
}

#tabsRight .tab.events .tab_preview_picture,
#tabsRight .tab.events .tab_spacer,
#tabsRight .tab.events .tab_link_entry>div:nth-last-child(2),
#tabsRight .tab.events .tab_link_mehr {
    display: none;
}

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

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

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

#content :is(h1, .h1, .legacy_h1) {
    color: #e5006d;
}

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

/* --------------------------------------------- contactFooter -------------------------------------------- */

#contactFooter {
    font-size: 1rem;
    padding-top: clamp(30px, 4vw, 60px);
    padding-bottom: clamp(30px, 5vw, 80px);
    position: relative;
}

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

#contactFooter::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #e5006d 0%, #e5006d 28.5%, #ffcc00 28.5%, #ffcc00 100%);
}

#contactFooter .tab .tabHeadline {
    font-weight: 700;
    font-size: 1.625rem;
    margin-bottom: clamp(15px, 3vw, 20px);
}

#contactFooter .tab a {
    color: #010101;
    text-decoration: underline;
}

#contactFooter .tab img {
    vertical-align: middle;
}

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

#f5 {
    padding-top: 24px;
    padding-bottom: 24px;
    background-color: #ffcc00;
}

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

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

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

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

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

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

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

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

#vernetzt {
    gap: 12px;
    text-align: left;
    font-size: 0.9375rem;
    color: #010101;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}