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

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

body {
    font-family: "PT Sans", sans-serif;
    color: #2e2e2e;
    background: #ffffff;
    font-weight: 400;
    font-size: 1.125rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #0a7a0a;
}

#content a {
    text-decoration: underline;
}

a:hover,
a:focus {
    color: #0a7a0a;
    text-decoration: underline;
}

b,
strong {
    font-weight: 700;
}

@media (min-width: 1200px) {

    .row,
    .compact,
    ._op-container .container {
        max-width: 1600px;
        width: 100%;
    }
}


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


#topbar {
    font-size: 1rem;
    padding: 35px 0;
    background: #fff;
}

#topbar .controls-col {
    gap: 25px;
}

#topbar .controls-col {
    transition: padding 200ms linear;
}

/* style + contrast */

#style,
#contrast_style {
    column-gap: 10px;
}

#contrast_style {
    margin-top: 10px;
}

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

:is(#style, #contrast_style) button {
    width: 35px;
    height: 35px;
    padding: 0;
    border: 2px solid #adadad;
    background: #ffffff;
    font-weight: 700;
    flex-shrink: 0;
    transition: background-color 300ms linear, color 300ms linear;
    position: relative;
    line-height: 1;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    right: 3px;
    bottom: 3px;
    left: 3px;
    border: 2px solid #8d8d8d;
}

:is(#style, #contrast_style) button:is(:hover, :focus) {
    background-color: #0a7a0a;
    color: #fff;
}


/* contrast */

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

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

#contrast_style button:nth-of-type(3)::after {
    background: #ea5b0c !important;
    border: none;
    filter: none !important;
}

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

form[id^="search"] {
    height: 40px;
    background: #e6e6e6;
    display: inline-block;
    position: relative;
    margin-top: 15px;
}



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

@media (min-width: 992px) {
    form[id^="search"] {
        margin-top: 0;
        width: 100%;
        max-width: 350px;
    }
}

form [id^="search_input"] {
    color: #444444;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 40px;
    padding-left: 14px;
    padding-right: 47px;
    height: 40px;
    width: 100%;
}

form [id^="search_submit"] {
    width: 48px;
    height: 48px;
    border: none;
    background: url("../img/icon-suche.png") center no-repeat;
    background-size: 18px 18px;
    padding: 0;
    cursor: pointer;
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0;
    -webkit-transition: transform 150ms linear;
    -moz-transition: transform 150ms linear;
    -ms-transition: transform 150ms linear;
    -o-transition: transform 150ms linear;
    transition: transform 150ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

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

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

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

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

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

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

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

    #banner-texts-description {
        bottom: 125px !important;
    }

}

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

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

.slider-mask {
    display: none;
}

@media (min-width: 992px) {
    .slider-mask {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 30%);
        display: block;
    }
}


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

#headerpic .nivo-directionNav {
    height: 40px;
    pointer-events: none;
    width: 100%;
    position: absolute;
    z-index: 7;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
}

@media (min-width: 992px) {
    #headerpic .nivo-directionNav {
        max-width: 992px;
        bottom: 100px;
    }
}

@media (min-width: 1200px) {
    #headerpic .nivo-directionNav {
        max-width: 1600px;
    }
}

#headerpic .nivo-directionNav a {
    pointer-events: auto;
    background: #fff url('../img/banner-arrows.png') top -19px center / 18px auto no-repeat;
    transition: background 300ms linear;
    width: 40px;
    height: 40px;
}

#headerpic .nivo-directionNav a:hover,
#headerpic .nivo-directionNav a:focus {
    background: #0a7a0a url('../img/banner-arrows.png') top 12px center / 18px auto no-repeat;
}

#headerpic .nivo-directionNav a.nivo-nextNav {
    transform: scaleX(-1)
}

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

@media (min-width: 576px) {
    #headerpic .nivo-controlNav {
        bottom: 65px;
    }
}

@media (min-width: 992px) {
    #headerpic .nivo-controlNav {
        bottom: 78px;
    }
}

#headerpic .nivo-controlNav button {
    background: transparent;
    border-radius: 50%;
    border: 1px solid #ffffff;
    width: 12px;
    height: 12px;
    padding: 0;
}

#headerpic .nivo-controlNav button:is(:hover, :focus),
#headerpic .nivo-controlNav .slick-active button {
    background: #ffffff !important;
}

#headerpic .nivo-controlNav {
    pointer-events: none;
}

#headerpic .nivo-controlNav button {
    pointer-events: auto;
}

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

/* burgermenu for tablet */

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

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #0a7a0a;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

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

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

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

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

    .navbar-collapse {
        top: 0;
        background: #0a7a0a;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        -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;
    }

    .dropdown-toggle-button-wrapper {
        top: 9px;
    }
}

@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) {

    #menu-sticky-wrapper {
        background: #ffffff;
    }

    nav.horizontally .navbar-nav {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        flex-wrap: wrap;
    }

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

    .navbar-default .navbar-nav li[class*="toplevel"]>ul {
        display: inline-block !important;
        pointer-events: none;
        position: absolute;
        opacity: 0;
        top: auto;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 30px 50px 30px 50px;
        -ms-transform-origin: top center;
        -webkit-transform-origin: top center;
        transform-origin: top center;
        -webkit-transition: top 300ms linear, opacity 300ms linear;
        -moz-transition: top 300ms linear, opacity 300ms linear;
        -ms-transition: top 300ms linear, opacity 300ms linear;
        -o-transition: top 300ms linear, opacity 300ms linear;
        transition: top 300ms linear, opacity 300ms linear;
        column-count: 4;
        column-gap: 25px;
        column-rule: 1px solid #c7c7c7;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        z-index: 1003;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .nav li[class*="toplevel"].open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    nav.horizontally .navbar-nav {
        background: #0a7a0a;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
    }


    .is-sticky nav.horizontally .navbar-nav {
        box-shadow: none;
    }


    nav.horizontally {
        position: relative;
        z-index: 30;
        transition: top 300ms linear, background 300ms liner;
        top: -35px;
    }


    .is-sticky .horizontally {
        top: 0 !important;
        background: #0a7a0a;
    }


    nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        margin-bottom: 10px;
        width: 100%;
        padding-right: 10px;
        /* display: inline-block !important; */
    }

    /*This will work for firefox*/
    @-moz-document url-prefix() {
        nav.horizontally .navbar-nav>li>.dropdown-menu>li {
            display: inline-block !important;
        }
    }


    nav.horizontally .navbar-nav>li>.dropdown-menu>li:first-child {
        display: none !important;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        display: inline-block !important;
    }
}

@media (min-width: 1200px) {
    nav.horizontally .navbar-nav>li>.dropdown-menu {
        padding: 30px;
    }
}

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



.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    padding: 12px 35px 12px 15px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    word-wrap: break-word;
    hyphens: auto;
    font-family: "Source Serif 4", serif;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>a {
        text-align: left;
    }

    nav.horizontally .navbar-nav>li>a.dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 23px 15px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .navbar-default .navbar-nav>li {
        position: static;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}

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

.navbar-nav>li:hover>a,
.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.navbar-nav>li.open>a,
.navbar-nav>li.open>a:hover,
.navbar-nav>li.open>a:focus,
.navbar-nav>li[class$="_over"]>a,
.navbar-nav>li[class$="_over"]>a:hover,
.navbar-nav>li[class$="_over"]>a:focus {
    background: #075a07;
}

.navbar-nav>li:focus-within>a {
    background: #075a07;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.97);
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        content: "";
        position: absolute;
        display: block;
        height: 30px;
        left: 0;
        right: 0;
        top: -30px;
    }


    .navbar-default .navbar-nav>li>.dropdown-menu>li>a::after {
        content: "";
        display: block;
        height: 3px;
        background-color: rgba(0, 0, 0, 0);
        transition: background-color 300ms linear;
        margin-top: 7px;
    }


    nav.horizontally .dropdown-menu {
        min-width: unset;
    }
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #2e2e2e;
    font-weight: 400;
    position: relative;
    text-align: left;
    line-height: 1;
    text-decoration: none;
    display: block;
    width: 100%;
    word-wrap: break-word;
    hyphens: auto;
    display: inline-block !important;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    padding: 5px 15px 5px 5px;
    font-size: 1.125rem;
    margin-bottom: 0;
    font-weight: 700;
}



.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    padding: 5px 15px 5px 25px;
    font-size: 1rem;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: "»";
    position: absolute;
    left: 10px;
    top: 47%;
    transform: translateY(-50%);
}

@media (max-width: 991px) {
    nav.horizontally .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2 {
        padding-right: 35px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        padding: 12px 15px 12px 20px;
        display: inline-block;
        font-size: 1.125rem;
        margin-bottom: 0;
        font-weight: 700;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        padding: 9px 15px 9px 37px;
    }


    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
        left: 20px;
    }

}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    color: #0a7a0a;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    color: #0a7a0a;
}

.navbar-nav>li>.dropdown-menu>li:hover>a::after,
.navbar-nav>li>.dropdown-menu>li>a:hover::after,
.navbar-nav>li>.dropdown-menu>li>a:focus::after,
.navbar-nav>li>.dropdown-menu>li.open>a::after,
.navbar-nav>li>.dropdown-menu>li.open>a:hover::after,
.navbar-nav>li>.dropdown-menu>li.open>a:focus::after,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a::after,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover::after,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus::after {
    background: #0a7a0a;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a::after {
    background: #0a7a0a;
}

/* ------------------------------------------------ topInfo ----------------------------------------------- */

#topInfo {
    padding-top: 40px;
    background: #e6e6e6 url("../img/pseudo.png") center left no-repeat;
    padding-bottom: 80px;
    position: relative;
}

#topInfo>.row {
    background: #e6e6e6;
}

@media (min-width: 768px) {
    #topInfo {
        padding-top: 60px;
    }
}

@media (min-width: 992px) {
    #topInfo {
        padding-top: 150px;
        padding-bottom: 105px;
    }
}

@media (max-width: 575px) {
    #topInfo>.row>div+div {
        margin-top: 30px;
    }
}

#topInfo .topText {
    line-height: 1.4;
    font-size: 1.375rem;
}

@media (max-width: 991px) {
    #topInfo .topText {
        margin-bottom: 30px;
    }
}

@media (min-width: 992px) {
    #topInfo .topText {
        padding-top: 45px;
        padding-right: 30px;
        font-size: 1.5625rem;
    }
}

#topInfo .topText h1,
#topInfo .topText h2,
#topInfo .topText h3 {
    color: #2e2e2e;
    margin-bottom: 20px;
}

@media (min-width: 992px) {

    #topInfo .topText h1,
    #topInfo .topText h2,
    #topInfo .topText h3 {
        margin-bottom: 40px;
    }
}

@media (min-width: 1200px) {

    #topInfo .topText h1,
    #topInfo .topText h2,
    #topInfo .topText h3 {
        margin-bottom: 55px;
    }
}

#topInfo .tab {
    font-size: 1rem;
    background: #ffffff;
    padding: 35px 30px 30px 30px;
    position: relative;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
    #topInfo .tab {
        padding-bottom: 55px;
    }

    .tab_spacer {
        height: 20px;
    }
}

@media (min-width: 1200px) {
    #topInfo .tab {
        padding: 45px 40px 55px 40px;
    }
}

#topInfo .tabHeadline {
    color: #2e2e2e;
    font-size: 1.875rem;
    margin-bottom: 15px;
}

@media (min-width: 992px) {
    #topInfo .tabHeadline {
        margin-bottom: 30px;
    }
}

#topInfo .tab_link_mehr {
    color: transparent;
    font-size: 0;
}

.tab_link_title a {
    font-weight: 600;
}

.tab_link_title a,
.tab_link_mandat a {
    color: inherit;
}

@media (min-width: 575px) {
    .eventclndr-tab {
        max-width: 250px !important;
        display: inline-block !important;
        float: left;
        margin: 0;
    }
}

@media (min-width: 992px) {
    .calenderBox {
        display: flex;
        gap: 35px;
    }

    .calenderBox>*:last-child:not(.tab_link) {
        display: none;
    }

    #tab2 .mehrButton a {
        position: absolute;
        right: -50px;
        bottom: -80px;
    }
}

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

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

#tab2 .tab_preview_picture {
    background: #ffffff;
}

#tab2 .tab_preview_picture,
#tab2 .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%;
}

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

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

#tab2 .tab_link_title a {
    color: #2e2e2e;
    font-weight: 700;
}

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

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

.tab_link_title.no-headline-styles {
    margin-left: 0 !important;
}

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

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

@media (min-width: 768px) {
    #content {
        padding-bottom: 60px;
    }

    .index #content {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* ----------------------------------------------- aside tab ----------------------------------------------- */
#content .tab {
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

#content .tab .tabHeadline {
    background: #10597a;
    color: #fff;
    text-align: center;
    padding: 24px 20px;
    margin: 0;
    font-size: 1.25rem;
}

#content .tab .tabContent {
    padding: 15px 20px;
}

@media (max-width: 992px) {
    #content .tab {
        margin-top: 30px;
    }
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #2e2e2e;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Source Serif 4", serif;
    hyphens: auto;
}

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

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

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

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

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

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


/* #region --------------------------------- quick-access --------------------------------------- */

#quick-access {
    font-size: 1rem;
    background: #0a7a0a;
    margin: 70px auto;
}

@media (min-width: 1200px) {
    #quick-access {
        position: relative;
        z-index: 50;
        border: 2px solid #ffffff;
    }
}

#quick-access * {
    color: #ffffff;
}

#quick-access .tab {
    padding: 30px 15px;
    position: relative;
    transition: background 200ms linear, margin 200ms linear, padding 200ms linear, height 200ms linear;
}

#quick-access .tab+.tab::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    transition: opacity 200ms linear, margin 200ms linear;
}

@media (min-width: 1200px) {
    #quick-access .tab {
        padding: 75px clamp(15px, 1vw, 30px);
        height: 16rem;
        overflow: hidden;
    }

    #quick-access .tab+.tab::after {
        top: 45px;
        bottom: 45px;
        width: 1px;
        height: unset;
    }

    #quick-access .tab:is(:hover, :focus-within)::after,
    #quick-access .tab:is(:hover, :focus-within)+.tab::after {
        opacity: 0;
    }

    #quick-access .tab:is(:hover, :focus-within) {
        background: #075a07;
        height: 23rem;
        margin: -55px 0;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

#quick-access .tab :is(.row, .row>*) {
    position: static;
}

@media (min-width: 1200px) {
    #quick-access .tab .template-page {
        max-height: 0;
        opacity: 0;
        transition: opacity 200ms linear;
    }

    #quick-access .tab:is(:hover, :focus-within) .template-page {
        opacity: 1;
    }
}

#quick-access .tab a {
    font-weight: 700;
    text-decoration: underline;
}

#quick-access .tab a::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#quick-access .tab-heading {
    font-size: 1.5625rem;
    padding-top: 65px;
    background: url("../img/quick-access/icon-1.svg") center top / 50px auto no-repeat;
    transition: padding 200ms linear, transform 200ms linear;
}

@media (min-width: 1200px) {
    #quick-access .tab-heading {
        margin: 0;
    }

    #quick-access .tab:is(:hover, :focus-within) .tab-heading {
        padding: 75px 0 30px 0;
        transform: scale(1.2);
    }
}


#quick-access .tab-1 .tab-heading {
    background-image: url("../img/quick-access/couple.png");
}

#quick-access .tab-2 .tab-heading {
    background-image: url("../img/quick-access/spek.png");
}

#quick-access .tab-3 .tab-heading {
    background-image: url("../img/quick-access/map.png");
}

#quick-access .tab-4 .tab-heading {
    background-image: url("../img/quick-access/service.png");
}

#quick-access .tab-5 .tab-heading {
    background-image: url("../img/quick-access/political-science.png");
}

#quick-access .tab-6 .tab-heading {
    background-image: url("../img/quick-access/verwaltung-icon.png");
}

/* #endregion ------------------------------ quick-access --------------------------------------- */

/* ----------------------------------------------- News ----------------------------------------------- */

#news {
    padding-top: 50px;
    padding-bottom: 50px;
}

@media (min-width: 992px) {
    #news {
        padding-bottom: 0;
    }
}

#news .tabHeadline {
    margin-bottom: 40px;
}

#news .tab_link_entries>div {
    margin-bottom: 30px;
}

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

#news .tab_link_entry {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    width: 100%;
    padding: 20px;
}

@media (min-width: 768px) and (max-width: 991px) {
    #news .tab_link_entry {
        width: calc(50% - 15px);
        margin-top: 0;
    }
}

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

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

    #news .tab_link_entry:nth-child(4n+2),
    #news .tab_link_entry:nth-child(4n+3) {
        margin-right: 15px;
        margin-left: 15px;
    }

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



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

@media (min-width: 992px) {
    #news .tab_link_entry:nth-child(3) {
        margin-top: 0;
    }
}

/* ----------------------------------------------- news  -------------------------------------------- */
#news .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
}

#news .tab_link_title a {
    line-height: 1.2;
    font-weight: 600;
    font-size: 1.25rem;
    display: block;
    margin-bottom: 8px;
}

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

#news {
    padding-top: 30px;
}

@media (min-width: 992px) {

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


#news .tab_link_entry {
    background: #ffffff;
    border-radius: 3px;
    padding: 180px 30px 30px 30px;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

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

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

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

@media (min-width: 992px) {
    #news .tab_link_entry {
        width: calc(33.333% - 20px);
    }
}

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

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

@media (min-width: 992px) {
    #news .tab_link_entry {
        width: calc(25% - 23px);
    }
}

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

#news .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 160px;
    overflow: hidden;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background: #fff;
}

#news .tab_link_title a::before {
    content: "";
    background: #fff url("../img/news-standard.jpg") center / cover no-repeat;
}

#news .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 350px;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.tab_link_entries+div,
.tab_link_entries .tab_spacer,
.tab_link_entry>div:nth-last-child(2) {
    display: none;
}


/* #region ------------------------------------- regionElements ----------------------------------------- */

#regionElements {
    padding-top: 75px;
    padding-bottom: 60px;
}

#regionElements ul,
#regionElements li {
    all: unset;
    list-style: none;
}

#regionElements,
#regionElements a {
    font-size: clamp(1rem, 2vw, 1.375rem);
    text-decoration: none;
    color: #2e2e2e;
}

#regionElements ul img {
    margin-bottom: 10px;
    filter: brightness(50%);
    transition: filter 300ms ease;
}

#regionElements ul li img:hover,
#regionElements ul li img:focus,
#regionElements ul li:hover img,
#regionElements ul li:focus img {
    filter: brightness(100%);
}

#regionElements li::before {
    display: none;
}

#regionElements img {
    display: block;
    margin: auto;
    border-radius: 50%;
    margin-bottom: 10px;
}

#regionElements ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: stretch;
}

#regionElements ul li {
    flex-grow: 1;
    min-width: 12%;
    text-align: center;
}

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

footer {
    overflow: clip;
    background: #e8e8e8;
    padding-bottom: 40px;
}


.headlineElement {
    font-size: 1.25rem;
}

.headlineElement :is(h2, h3) {
    font-size: 1.6875rem;
}

.tabElement a {
    text-decoration: underline;
}


@media (min-width: 1200px) {
    #footer::after {
        content: '';
        background: url(../img/dekor-footer.png) no-repeat right center;
        width: 123px;
        height: 470px;
        display: block;
        position: absolute;
        right: -160px;
        top: 100px;
    }

    .elmTab::after {
        content: '';
        background: url(../img/wasserzeichen-neu-wiesenburg-mark.png) no-repeat top center;
        width: 149px;
        height: 149px;
        display: block;
        position: absolute;
        left: -124px;
        top: -88px;
    }
}

body:not(.index) footer {
    border-top: 4px solid #e8e8e8;
}

#footer {
    padding: clamp(40px, 5vw, 70px) 0;
    row-gap: 30px;
}

#footer .button-style.button-small a:not([href^="mailto:"]):not(.has-image):not([rel]) {
    display: block;
    text-align: center;
}

#footer .button-style.button-small p+p,
#footer .button-style.button-small a:not([href^="mailto:"]):not(.has-image):not([rel])+* {
    margin-top: 15px;
}


/* #region --------------------------------- button-style --------------------------------------- */

.mehrButton {
    font-size: 0;
}

.button-style a:not([href^="mailto:"]):not(.has-image):not([rel]),
.mehrButton a,
.tab_link_mehr a {
    display: inline-block;
    background: #0a7a0a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 11px 28px;
    margin: 12px;
    transition: background 300ms ease, color 300ms linear;
    text-transform: uppercase;
}


#tab2 .mehrButton a,
#news .tab_link_mehr a {
    background: #d9d9d9;
    color: #2e2e2e;
}


#news .tab_link_mehr a {
    margin-right: 0;
    margin-top: 20px;
}

.button-style.button-small a:not([href^="mailto:"]):not(.has-image):not([rel]),
#nw23 .tab_link_mehr a {
    padding: 11px 15px;
    outline-color: transparent;
    margin: 0;
}


/* hover */

.button-style a:not([href^="mailto:"]):not(.has-image):not([rel]):is(:hover, :focus),
.tab_link_mehr a:is(:hover, :focus) {
    background: #075a07;
}

#tab2 .mehrButton a:is(:hover, :focus),
#news .tab_link_mehr a:is(:hover, :focus) {
    color: #fff;
    background: #2e2e2e;
}

/* #endregion ------------------------------ button-style --------------------------------------- */

/* scroll-top-button */

#scroll-top-button {
    width: 50px;
    height: 50px;
    padding: 0;
    background-image: url("../img/arrow-top.svg");
    background-position: center;
    background-size: 28px auto;
    display: block;
    background-repeat: no-repeat;
}

#scroll-top-button::before {
    top: 5px;
    bottom: -240px;
    right: -45px;
    width: 2px;
}

#scroll-top-button::after {
    top: 50%;
    width: 180px;
    right: -192px;
    height: 2px;
}


/* innerfooter */

#innerfooter {
    font-size: 1rem;
    background: #e8e8e8;
    padding: 0px 0 60px 0;
}

#innerfooter>.row {
    row-gap: 25px;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter ul a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    padding: 6px 10px;
    outline-offset: 10px;
    background: transparent;
    transition: background 300ms linear, color 300ms linear;
}

#innerfooter ul a:is(:hover, :focus) {
    background: #0a7a0a;
    color: #fff;
}

@media (min-width: 576px) {
    #innerfooter li {
        display: inline-block;
    }

    #innerfooter li+li::before {
        content: "";
        display: inline-block;
        height: 1px;
        width: 15px;
        margin: 0 15px;
        background: #0a7a0a;
        vertical-align: middle;
    }
}

/* logos */

#logos {
    padding: 40px 0;
    background: #fff;
}

#logos .row {
    row-gap: 15px;
}

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

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

#vernetzt {
    gap: 15px;
    text-align: right;
    font-size: 1rem;
    color: inherit;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}

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

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

:is(.contrast_dark, .contrast_light) :is(#news, #events) .tab_link_entry .tab_link_title a::before {
    display: none;
}

.contrast_dark #logo img,
.contrast_dark form[id^="search"],
.contrast_dark input[id^="search_input"],
.contrast_dark input[id^="search_submit"],
.contrast_dark #burgerButton,
.contrast_dark #events .slick-button,
.contrast_dark #events .slick-dots .slick-active button,
.contrast_dark #events .slick-dots button:is(:hover, :focus) {
    background-color: #ffffff !important;
}

.contrast_dark input[id^="search_input"]::placeholder {
    color: #000 !important;
}

.contrast_light #burgerButton::before,
.contrast_light #burgerButton::after,
.contrast_light #burgerButtonInner {
    background: #333333 !important;
}

.contrast_light nav.burger .dropdown-toggle-button::before {
    color: #000000;
}

@media (min-width: 1200px) {
    .contrast_light #quick-access .tab:is(:hover, :focus-within) {
        background: #ffffff;
    }
}

.contrast_light #events .slick-dots .slick-active button,
.contrast_light #events .slick-dots button:is(:hover, :focus) {
    background-color: #000000 !important;
}

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