@import url('https://fonts.verwaltungsportal.de/import/?family=Comfortaa:400,400i,700,700i%7CYanone+Kaffeesatz:700,700i');

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

body {
    font-family: "Comfortaa", sans-serif;
    font-weight: 400;
    color: #514d4d;
    background: #ffffff;
    font-size: 0.9375rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #135e32;
}

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

main a,
b,
strong {
    font-weight: 700;
}

#overflow {
    overflow: hidden;
}

a:focus {
    outline: 3px solid #f2ab00 !important;
}

button:focus {
    outline: 3px solid #f2ab00 !important;
}

form:focus {
    outline: 3px solid #f2ab00 !important;
}

#newsletter_input:focus,
#newsletter_submit:focus,
#search_input:focus,
#search_submit:focus,
#search_input2:focus,
#search_submit2:focus {
    outline: 3px solid #f2ab00 !important;
}

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

#topbarGreen {
    background-color: #135e32;
    color: #fff;
}

#topbarGreen>.row {
    font-size: 0.875rem;
}

@media (min-width: 992px) {
    #controls {
        padding-top: 9px;
        padding-bottom: 9px;
        column-gap: 25px;
    }

    #controls>*:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        padding-right: 20px;
    }
}

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

:is(#contrast_style, #style) h2 {
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    color: inherit;
    margin: 0 5px 0 0;
    width: unset;
}

:is(#contrast_style, #style) button {
    border: none;
    color: #fff;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    background: transparent;
    line-height: 1;
    min-width: 32px;
    min-height: 32px;
    position: relative;
    padding: 6px;
    overflow: hidden;
}

:is(#contrast_style, #style) button:is(:hover, :focus) {
    background: rgba(255, 255, 255, 0.1);
}

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

#contrast_style button:nth-of-type(2) {
    transform: scale(-1);
}

#contrast_style button::after {
    content: "";
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    display: block;
    position: absolute;
    top: calc(50% - 7px);
    left: calc(50% - 7px);
}

#contrast_style button:after {
    background: linear-gradient(45deg, #135e32, #135e32 50%, #ffffff 50%);
}

#contrast_style button:nth-of-type(3):after {
    background: #ea5b0c;
}

/* --------------------------------------------- logo ------------------------------------------- */
#topbar {
    padding: 20px 0;
    background: rgba(255, 255, 255, 1);
}

.is-sticky #topbar {
    padding: 5px 0;
}

.logo {
    position: relative;
    display: inline-block;
}

.logo img {
    display: block;
}

@media (max-width: 991px) {
    .logo img {
        max-width: calc(100vw - 145px);
        width: 100%;
    }
}

.contrast_dark .logo img,
.contrast_dark .logo2 img {
    background-color: #fff !important;
}

#search, #search2 {
    height: 2.8125rem;
    background: #c7e7b9;
    display: block;
    position: relative;
}

#search2 {
    min-height: 60px;
}

@media (min-width: 992px) {
    #search2 {
        pointer-events: all;
    }

    #searchBox {
        position: absolute;
        pointer-events: none;
        left: 0;
        right: 0;
        top: 74%;
        z-index: 12;
    }

    .index .theme-nivo .nivo-controlNav {
        bottom: 15px;
    }
}

@media (min-width: 1200px) {
    #searchBox {
        top: 24%;
        bottom: 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 991px) {
    #search, #search2 {
        margin-top: 15px;
    }
}


#search_input, #search_input2 {
    color: #383535;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    height: 2.8125rem;
    padding-left: 20px;
    padding-right: 43px;
    width: 100%;
}

#search_input {
    height: 2.8125rem;
}

#search_input2 {
    font-size: 1.25rem;
    min-height: 60px;
    padding-left: 40px;
    padding-right: 105px;
}

#search_submit, #search_submit2 {
    width: 33px;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    height: 2.8125rem;
    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_submit2 {
    width: 100px;
    min-height: 60px;
    background-image: url('../img/lupe-icon-big.png');
}

#search_input::-ms-input-placeholder,
#search_input2::-ms-input-placeholder {
    color: #383535 !important;
}

#search_input::-webkit-input-placeholder,
#search_input2::-webkit-input-placeholder {
    color: #383535 !important;
}

#search_input::-moz-placeholder,
#search_input2::-moz-placeholder {
    opacity: 1;
}

#search_input:-moz-placeholder,
#search_input2:-moz-placeholder {
    opacity: 1;
}

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

/* #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: #135e32;
        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);
        padding: 15px 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: 5px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    .sticky-wrapper {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
    }

    nav.horizontally {
        transition: all 300ms 0s linear;
    }

    .is-sticky nav.horizontally {
        background: rgba(199, 231, 185, 0.8);
        padding-bottom: 10px;
    }

    .is-sticky nav.horizontally .navbar-nav {
        margin: 10px 0 0 0;
    }

    nav.horizontally::after {
        content: "";
        display: block;
        pointer-events: none;
        position: absolute;
        z-index: -1;
        left: 0;
        right: 0;
        top: 0;
        height: 450px;
        opacity: 0;
        background: linear-gradient(to bottom, rgba(199, 231, 185, 0.95) 33%, rgba(199, 231, 185, 0));
        transition: opacity 300ms linear;
    }

    nav.horizontally:is(:hover, :focus-within)::after {
        opacity: 1;
    }

    nav.horizontally .navbar-nav {
        margin: 30px 0 0 0;
        display: flex;
        justify-content: space-between;
    }

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

    .navbar-default .navbar-nav li[class*="toplevel"]>ul {
        display: flex !important;
        flex-wrap: wrap;
        pointer-events: none;
        position: absolute;
        opacity: 0;
        top: calc(100% + 30px);
        left: -233px;
        right: 15px;
        z-index: 1000;
        padding: 30px 40px 30px 270px;
        visibility: hidden;
        transition: top 200ms linear, opacity 200ms linear;
    }

    nav.horizontally .navbar-nav>li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav>li.open:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
        top: 100%;
    }

    nav.horizontally .navbar-nav>li.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

    nav.horizontally .navbar-nav>li:is(:hover, :focus)>ul {
        z-index: 1003;
    }

    nav.horizontally li[class*="secondlevel"] {
        width: 33.33%;
    }

    nav.horizontally li[class*="secondlevel"]:not(:nth-child(3n+4)) {
        border-right: 1px solid rgba(0, 0, 0, 0.12);
    }

    nav.horizontally li[class*="toplevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        top: 0;
        bottom: 0;
        left: 0;
        width: 230px;
        height: 100%;
        background: #cfbfeb center / cover no-repeat;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        display: block !important;
        padding-bottom: 10px;
    }
}

@media (min-width: 1200px) {
    .navbar-default .navbar-nav li[class*="toplevel"]>ul {
        left: 0px;
        padding-left: 290px;
    }

    nav.horizontally li[class*="toplevel"]>ul::before {
        width: 270px;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #fff;
    background: #135e32;
    font-weight: 700;
    text-align: left;
    padding: 8px;
    position: relative;
    font-size: 1.5rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Yanone Kaffeesatz", sans-serif;
    border: 3px solid #135e32;
    z-index: 1;
}

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 24px 12px 20px 12px;
        text-align: center;
        display: flex;
        align-content: center;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column;
        height: 100%;
        min-height: 101px;
    }

    .is-sticky nav.horizontally a[class*="toplevel"] {
        min-height: 60px;
    }

    nav.horizontally a[class*="toplevel"].dropdown-toggle::before {
        content: "";
        opacity: 0;
        pointer-events: none;
        position: absolute;
        display: block;
        left: calc(50% - 24px);
        bottom: -60px;
        width: 48px;
        height: 20px;
        clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
        background: #ffffff;
        transition: opacity 200ms linear, bottom 200ms linear;
    }
}

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

nav.horizontally a[class*="toplevel"]::after {
    content: "";
    position: absolute;
    display: block;
    height: 23px;
    width: 90px;
    background: url('../img/wappen-aktiv.png') bottom no-repeat;
    margin: 0 auto;
    pointer-events: none;
    opacity: 0;
    transition: opacity 300ms linear, width 300ms linear;
    bottom: 0px;
    right: 0;
    z-index: -1;
    background-size: 13vw;
}

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"]::after {
        margin-left: auto;
        margin-right: auto;
        left: 0;
        background-size: 5vw;
    }
}

/* toplevel-over */

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

@media (min-width: 992px) {

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

    nav.horizontally li[class*="toplevel"]:hover>a.dropdown-toggle::before,
    nav.horizontally li[class*="toplevel"].open>a.dropdown-toggle::before,
    nav.horizontally li[class*="toplevel"].open>a.dropdown-toggle:is(:hover, :focus)::before {
        bottom: -30px;
        opacity: 1;
    }
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"]>ul {
    background-color: #ffffff;
}

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

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

    nav.horizontally [class*="toplevel"]>ul::after {
        content: "";
        position: absolute;
        display: block;
        height: 40px;
        left: 0;
        right: 0;
        top: -40px;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #383535;
    text-align: left;
    line-height: 1.2;
    text-decoration: none;
}

nav.horizontally a[class*="secondlevel"] {
    font-weight: 700;
    font-size: 1.25rem;
    font-family: "Yanone Kaffeesatz", sans-serif;
    padding: 8px 15px;
}

@media(min-width:992px) {
    nav.horizontally a[class*="secondlevel"] {
        text-transform: uppercase;
        padding-bottom: 4px;
    }
}

nav.horizontally a[class*="thirdlevel"] {
    font-weight: 400;
    font-size: 0.875rem;
    padding: 6px 15px 6px 30px;
}

nav.horizontally a[class*="thirdlevel"]::after {
    content: "";
    display: block;
    position: absolute;
    top: 11px;
    left: 20px;
    border-radius: 50%;
    width: 3px;
    height: 3px;
    border: 1px solid #514d4d;
    transition: background 300ms linear, border 300ms linear;
}

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

/* secondlevel + thirdlevel dropdown-box */

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: #135e32;
}

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

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

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

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

@media (min-width: 992px) {
    body.index #slider {
        max-height: clamp(00px, 69vw, 670px);
    }

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

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

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



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

#headerpic .slider-mask {
    display: block;
    background: url('../img/banner-overlay.png') center bottom / 100% auto no-repeat;
}

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

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

main {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 40px;
}

@media (max-width: 991px) {
    main {
        background: transparent !important;
    }
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #135e32;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Yanone Kaffeesatz", sans-serif;
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2.375rem, 4vw, 2.8125rem);
    text-transform: uppercase;
    margin-bottom: clamp(15px, 2vw, 25px);
}

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: clamp(2rem, 4vw, 2.1875rem);
}

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

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

/* ----------------------------------------------- Quicklinks / Schnellzugriff -------------------------------------------- */

#quicklinks {
    padding: 40px 0;
}

#quicklinks>.row {
    position: relative;
    z-index: 1;
}

#quicklinks>.row::after {
    content: '';
    display: block;
    position: absolute;
    top: -70px;
    right: -300px;
    width: 388px;
    height: 427px;
    background: url('../img/wappen.png') no-repeat;
    z-index: -1;
}

#quicklinks .tabHeadline {
    color: #383535;
    font-size: clamp(1.875rem, 3vw, 2.375rem);
    font-weight: 700;
    margin-bottom: 5px;
}

#quicklinks .tabContent {
    padding: 30px;
    background-color: #c7e7b9;
    hyphens: 0 auto;
    font-weight: 700;
}

#quicklinks .tabContent a {
    color: #383535;
}

#quicklinks .tabContent .btgrid>.row>div {
    padding: 0 10px 20px 10px;
    position: relative;
}

@media (min-width: 768px) {

    #quicklinks .tabContent .btgrid>.row>div:nth-child(3n+2):before,
    #quicklinks .tabContent .btgrid>.row>div:nth-child(3n+3):before {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        width: 1px;
        height: 80%;
        background: #ffffff;
    }

    #quicklinks .tabContent .btgrid>.row:not(:last-child)>div:after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        height: 1px;
        width: 80%;
        background: #ffffff;
    }
}

#quicklinks .tabContent .btgrid>.row>div:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 1px;
    width: 80%;
    background: #ffffff;
}

/* ----------------------------------------------- @6nw news -------------------------------------------- */

#nw6 {
    font-size: 1rem;
    padding-top: clamp(30px, 4vw, 65px);
    padding-bottom: clamp(30px, 3vw, 50px);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll, fixed;
    background-size: cover;
}

/* ----------------------------------------------- @9nw news -------------------------------------------- */

#nw9 .tab {
    font-size: 1rem;
    color: #444444;
    padding: 35px 30px 20px 30px;
    background-color: #f9f9f9;
}

#nw9 .tabSpecial {
    margin-bottom: 20px;
}

#nw9 .tabHeadline {
    font-size: clamp(1.875rem, 3vw, 2.8125rem);
    font-weight: 700;
    color: #135e32;
    margin-bottom: 0;
}

#nw9 .tab_link_entry {
    border: none !important;
    display: flex !important;
    flex-wrap: wrap;
    position: relative;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
    padding-left: 95px;
    z-index: 12;
}

#nw9 .tab_link_entry+.tab_link_entry {
    margin-top: 30px;
}

#nw9 .tab_link_entry+.tab_link_entry::before {
    content: '';
    pointer-events: none;
    height: 1px;
    width: 100%;
    position: absolute;
    top: -15px;
    left: -30px;
    right: 0px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

#nw9 .tab_preview_picture {
    background: #ffffff;
}

#nw9 .tab_preview_picture,
#nw9 .tab_link_entry::after {
    position: absolute;
    display: inline-block;
    overflow: hidden;
    top: 50%;
    left: 10px;
    width: 70px;
    height: 70px;
    margin: -35px 0 0 0;
    border-radius: 50%;
}

#nw9 .tab_link_entry::after {
    content: '';
    background: center / cover no-repeat, #666666;
    z-index: -1;
}

#nw9 .tab_preview_picture img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 110px;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
}

#nw9 .tab_link_title a {
    color: #444444;
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

#nw9 .tab_date {
    font-style: italic;
}

#nw9 .vorschau,
#nw9 .tab_link_entry>div:nth-last-child(2) {
    display: none;
}

#nw9 .tab_link_entry .tab_spacer {
    height: 0;
}

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

#nw9 .tab_link_mehr a {
    text-decoration: none !important;
    display: block;
    position: relative;
    text-align: right;
    bottom: -21px;
    left: -30px;
    right: -30px;
    width: calc(100% + 60px);
    color: #ffffff;
    font-weight: 400;
    padding: 15px 30px;
    font-size: 1.125rem;
    background-color: #383535;
}

#nw9 .tab_link_mehr a:hover,
#nw9 .tab_link_mehr a:focus {
    color: #ffffff;
    background-color: #135e32;
}

/* ----------------------------------------------- @9ev events -------------------------------------------- */

#ev9 .tab {
    font-size: 1rem;
    color: #444444;
    padding: 35px 30px 30px 30px;
    background-color: #f9f9f9;
}

#ev9 .tabSpecial {
    margin-bottom: 20px;
}

#ev9 .tabHeadline {
    font-size: clamp(1.875rem, 3vw, 2.8125rem);
    font-weight: 700;
    color: #135e32;
    margin-bottom: 0;
}

#ev9 .tab_link_entry {
    border: none !important;
    display: flex !important;
    flex-wrap: wrap;
    position: relative;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
    z-index: 12;
}

#ev9 .tab_link_entry+.tab_link_entry {
    margin-top: 30px;
}

#ev9 .tab_link_entry+.tab_link_entry::before {
    content: '';
    pointer-events: none;
    height: 1px;
    width: 100%;
    position: absolute;
    top: -15px;
    left: -30px;
    right: 0px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

#ev9 .tab_link_title a {
    color: #444444;
    font-weight: 600;
}

#ev9 .tab_link_mandat a {
    color: #444444;
}

#ev9 .tab_preview_picture,
#ev9 .vorschau,
#ev9 .tab_link .tab_link_mehr {
    display: none;
}

#ev9 .tab_link_entry .tab_spacer {
    height: 0;
}

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

#ev9 .tab_link_mehr a {
    text-decoration: none !important;
    display: block;
    position: relative;
    text-align: right;
    bottom: -30px;
    left: -30px;
    right: -30px;
    width: calc(100% + 60px);
    color: #ffffff;
    font-weight: 400;
    padding: 15px 30px;
    font-size: 1.125rem;
    background-color: #383535;
}

#ev9 .tab_link_mehr a:hover,
#ev9 .tab_link_mehr a:focus {
    color: #ffffff;
    background-color: #135e32;
}

/* ----------------------------------------------- Galerie ----------------------------------------------- */

#galerie {
    font-size: 1rem;
    padding: 30px 0;
    display: grid;
    row-gap: 20px;
}

#galerie .tabHeadline {
    font-size: clamp(1.875rem, 3vw, 2.8125rem);
    font-weight: 700;
    color: #135e32;
    margin-bottom: 0;
}

#tabBox {
    color: #ffffff;
    position: relative;
    padding: clamp(30px, 5vw, 76px) clamp(30px, 3vw, 40px);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #c7e7b9;
}

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

#galerie .tab_link_mehr a {
    text-decoration: none !important;
    display: block;
    position: relative;
    text-align: right;
    bottom: 20px;
    left: 0px;
    right: 0px;
    width: 100%;
    color: #ffffff;
    font-weight: 400;
    padding: 15px 30px;
    font-size: 1.125rem;
    background-color: #383535;
}

#galerie .tab_link_mehr a:hover,
#galerie .tab_link_mehr a:focus {
    color: #ffffff;
    background-color: #135e32;
}

/* ----------------------------------------------- @2f footer ----------------------------------------------- */

#footer {
    color: #383535;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #c7e7b9;
}

@media (min-width: 992px) {
    #footer {
        padding-top: 60px;
        padding-bottom: 45px;
    }
}

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

@media (max-width: 767px) {
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #000000;
        content: " ";
        display: block;
        height: 1px;
        margin: 25px 0;
        opacity: 0.2;
        width: 100%;
    }

    #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
    #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

/* --------------------------------------------- footerTab -------------------------------------------- */

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

#footer .tabHeadline {
    font-size: 1.25rem;
    font-weight: 400;
    color: #135e32;
    margin-bottom: 30px;
    font-family: "Comfortaa", sans-serif;
}

#footer .tab a {
    text-decoration: underline;
    color: #383535;
}

/* ----------------------------------------------- scrollTop ----------------------------------------------- */

#scrollTop {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    opacity: 1 !important;
    max-width: 170px;
    padding: 10px 20px;
    margin: 0 auto 25px auto;
    background-color: #383535;
}

@media (min-width: 768px) {
    #scrollTop {
        margin: auto 0 45px auto;
    }
}

#scrollTop:hover,
#scrollTop:focus {
    background-color: #135e32
}

#scrollTop span {
    position: relative;
    display: inline-block;
    font-size: 0;
    height: 35px;
    width: 18px;
    margin-right: 4px;
    transition: border-radius 300ms linear;
}

#scrollTop span::after {
    content: "";
    position: absolute;
    display: inline-block;
    margin-top: -1px;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: rotate(-45deg);
}

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

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

#vernetzt span span {
    display: block;
}

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

#innerfooter {
    font-size: 1rem;
    color: #ffffff;
    padding-top: 22px;
    padding-bottom: 22px;
    background-color: #135e32;
}

#innerfooter ul {
    padding: 0 !important;
}

#innerfooter li {
    display: inline-block;
}

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

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

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

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