@import url('https://fonts.verwaltungsportal.de/import/?family=Lato:400,400i,700,700i%7CKhand:400,500,600');

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

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

a {
    color: #246324;
}

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

b,
strong {
    font-weight: 700;
}

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

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

#topbar>.row {
    row-gap: 15px;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

/* ------------------------------------------- topCol ------------------------------------------- */

.topCol {
    position: relative;
    z-index: 1;
    padding-top: 30px;
    padding-bottom: 30px;
}

.topCol::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: -2px;
    bottom: -2px;
    left: 0;
    width: 95px;
    clip-path: polygon(0 0, 0 100%, 100% 0);
    background: #ffffff;
}

.topCol::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: -2px;
    bottom: -2px;
    right: -365px;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #2b732b;
    z-index: -1;
}

/* #region ------------------------------- styler ------------------------------------ */

#stylerBox {
    width: 100%;
    margin-bottom: 22px;
    background: rgba(43, 115, 43, 0.1);
}

#stylerBox h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9375rem;
    font-family: inherit;
    margin: 0;
    background: rgba(43, 115, 43, 0.1);
}

#stylerBox button {
    color: #254c6b;
    padding: 3px 2px 0px 2px;
    border: unset;
    font-family: "Khand", sans-serif;
    display: inline-block;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    font-weight: 600;
    text-align: center;
    background: #ffffff;
    position: relative;
    font-size: 1.0625rem;
    z-index: 1;
    line-height: 1;
    margin-left: 10px;
}

#stylerBox button:is(:hover, :focus) {
    color: #246324;
    background: #d8ad08;
}

/* #endregion ---------------------------- styler ------------------------------------ */

.topBox {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 16px;
}

.buttonStyle a {
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    color: #2b2b2b;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-family: "Khand", sans-serif;
    padding: 9px 20px 6px 20px;
    background: #d8ad08;
}

.buttonStyle a:is(:hover, :focus) {
    background: #ffffff;
}

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

form[id^="search"] {
    display: inline-flex;
    border-radius: 5px;
    border: 2px solid #ffffff;
    background: rgba(43, 115, 43, 0.1);
    overflow: hidden;
}

@media (max-width: 991px) {
    form[id^="search"] {
        width: calc(100% - 30px);
        margin: 20px 15px;
    }
}

form [id^="search_input"] {
    color: #ffffff;
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 700;
    background: transparent;
    padding: 8px 15px;
    border: 0;
    width: 100%;
}

form [id^="search_submit"] {
    min-width: 40px;
    border: none;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    font-size: 0;
}

form [id^="search_submit"]:is(:hover, :focus) {
    background-color: #2b732b;
}

form [id^="search_input"]::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
    font-style: normal !important;
}

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

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

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

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

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

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

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

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

.slider-mask {
    display: none;
}

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

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

    #bannerOverlay .tab {
        box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
    }
}

#bannerOverlay .tab {
    text-align: center;
    padding: 25px 30px;
    border-radius: 10px;
    border-left: 10px solid #d8ad08;
    background: #ffffff;
}

#bannerOverlay .tab :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    color: #2b732b;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    #bannerOverlay {
        position: absolute;
        pointer-events: none;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 12;
        padding-bottom: clamp(40px, 5vw, 80px);
    }

    #bannerOverlay .tab {
        pointer-events: all;
    }
}

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

/* burgermenu for tablet */

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #246324;
        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: #2b732b;
        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: 14px;
    }

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

/* menu desktop */

@media (min-width: 1200px) {
    nav.horizontally>.row {
        max-width: 1600px;
        width: 100%;
    }
}

@media (min-width: 992px) {
    nav.horizontally {
        border-top: 5px solid #ffffff;
        background-color: #2b732b;
        position: sticky;
        top: 0;
        z-index: 101;
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

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

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

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

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

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #ffffff;
    font-weight: 500;
    text-align: left;
    padding: 15px 15px;
    position: relative;
    font-size: 1.375rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Khand", sans-serif;
}

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

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

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"] {
        padding: 18px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

nav.horizontally a[class*="toplevel"]::before {
    content: "";
    width: 0;
    height: 5px;
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    background: #ffffff;
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 300ms linear, width 300ms linear;
}

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"]::before {
        bottom: unset;
        top: -5px;
        background: #d8ad08;
    }
}

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

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a::before,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"].open>a::before,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"][class*="_over"]>a::before,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::before {
    opacity: 1;
    width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #404040;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Khand", sans-serif;
}

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

/* secondlevel + thirdlevel over */

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

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

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

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

/* ------------------------------------------- tabs ------------------------------------------ */

#tabs {
    padding-top: clamp(30px, 3vw, 40px);
    padding-bottom: clamp(40px, 4vw, 70px);
}

@media (min-width: 992px) {
    #tabs {
        background: #ffffff center bottom / 100% auto no-repeat;
    }
}

#tabs>.row {
    row-gap: 40px;
}

#tabs .tab {
    font-size: 1rem;
    height: 100%;
    padding: clamp(30px, 3vw, 40px);
    border-radius: 20px;
    border: 2px solid #d8ad08;
    background: #ffffff;
}

#tabs .tab .tabHeadline {
    padding-top: 100px;
    position: relative;
    text-transform: uppercase;
}

#tabs .tab .tabHeadline::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background-color: #d8ad08 !important;
}

#tabs .tab1 .tabHeadline::before {
    background: url('../img/event.png') center no-repeat;
}

#tabs .tab2 .tabHeadline::before {
    background: url('../img/membership.png') center no-repeat;
}

#tabs .tab3 .tabHeadline::before {
    background: url('../img/add.png') center no-repeat;
}

#tabs .tab:not(.tab1) a,
#tabs .tab1 .linkStyle a {
    font-size: clamp(1rem, 1vw, 1.125rem);
    font-weight: 700;
    color: #2b732b;
}

#tabs .tab1 .linkStyle,
#tabs .tab1 .tab_link_entry+.tab_link_entry {
    margin-top: 25px;
}

#tabs .tab1 .tab_link_entry {
    border: unset !important;
}

#tabs .tab1 .tab_link_title a {
    color: #404040;
    font-weight: 700;
}

#tabs .tab1 .tab_link_mehr,
#tabs .tab1 .tab_preview_picture,
#tabs .tab1 .tab_spacer {
    display: none;
}

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

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

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

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

}

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

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

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

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

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

footer {
    color: #ffffff;
    background: #2b732b;
    font-size: 0.9375rem;
}

footer a,
footer a:is(:hover, :focus) {
    color: #ffffff;
}

footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
    color: #ffffff;
    font-size: 1.375rem;
    text-transform: uppercase;
    margin: 0;
}

#footer {
    padding: 40px 0;
}

@media (min-width: 992px) {
    #footer {
        padding: 65px 0 45px 0;
    }
}

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

:is(.footerTab, .socialTab) a {
    text-decoration: underline;
}

@media (min-width: 992px) {
    .colDeko {
        padding-left: 20px;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/*  newsletter  */

#newsletter {
    margin-top: 30px;
}

#newsletterInputs {
    min-height: 36px;
    background: #2b732b;
    display: inline-block;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

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

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

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

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

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

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

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

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

/*  innerfooter  */

#innerfooter ul {
    padding: 0;
    hyphens: auto;
    line-height: 1.7;
}

#innerfooter a {
    font-size: 1.25rem;
    font-family: "Khand", sans-serif;
    text-transform: uppercase;
}

#innerfooter li::before {
    content: "\0007C";
    color: #ffffff;
    position: relative;
    bottom: 2px;
    margin-right: 4px;
}

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

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

#vernetzt {
    gap: 18px;
    text-align: right;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}

/* ------------------------------------------- footer2 ------------------------------------------ */

#footer2 {
    padding: 15px 0;
    background: #246324;
}

/*  socialTab  */

.socialTab p {
    display: inline-block;
    padding: 0 5px;
}

.socialTab img {
    max-height: 25px;
    vertical-align: middle;
}

.socialTab a img {
    transition: all 0.3s 0s ease;
}

.socialTab a:is(:focus, :hover) img {
    transform: scale(1.3);
}

/*  scrollTopBtn  */

#scrollTopBtn {
    position: relative;
    text-decoration: none;
    padding: 4px 15px 3px 15px;
    display: inline-block;
    border-radius: 5px;
    font-size: 0.9375rem;
    color: #ffffff;
    font-weight: 600;
    font-family: "Khand", sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

#scrollTopBtn:is(:hover, :focus) {
    background: rgba(0, 0, 0, 0.2);
}

#scrollTopBtn::after {
    content: "\00BB";
    position: relative;
    bottom: 1px;
    display: inline-block;
    margin-left: 15px;
    transform: rotate(-90deg);
}