@import url("https://fonts.verwaltungsportal.de/import/?family=Vollkorn:400,400i,700,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Roboto:400,400i,700,700i");

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

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

@media (min-width: 1200px) {
    body {
        padding: 0 30px 30px 30px;
    }
}

a {
    color: #008500;
}

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

b,
strong {
    font-weight: 700;
}

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
    outline: 3px solid #fefe00 !important;
}

/* für :focus-visible -> setzt die Umrandung -3px weiter hinein */

form[id^="search"],
form [id^="search_input"],
form [id^="search_submit"],
form[id^="newsletter"],
form [id^="newsletter_input"],
form [id^="newsletter_submit"] {
    outline-offset: -3px;
}

@media (min-width: 1200px) {
    .row, .compact, ._op-container .container {
        max-width: 1600px;
        width: 100%;
    }
}

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

#topbar {
    padding: 20px 0 5px 0;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .is-sticky #topbar {
        position: static !important;
    }

    .topbar-col {
        display: grid;
        gap: 15px;
    }
}

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

@media (min-width: 992px) {
    #topbar {
        padding: 30px 0 13px 0;
    }

    .is-sticky #topbar {
        background-color: #ffffff;
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
        padding: 5px 0;
    }

    .topbar-col {
        column-gap: 30px;
    }

    .is-sticky .topbar-col {
        margin-bottom: 0;
    }
}

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

#logo {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 12px;
    flex-wrap: wrap;
    text-decoration: none;
}

#logo .logoImg img {
    display: block;
}

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

#logo .logoTxt {
    line-height: 1.2;
    color: #444444;
    font-family: "Vollkorn", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1rem, 2vw, 1.375rem);
}

#logo .logoTxt :is(b, strong) {
    color: #0477a2;
    font-weight: 700;
    font-size: clamp(1.125rem, 2vw, 2.375rem);
    display: block;
    line-height: 1;
}

/* ------------------------------------------ tabZitat -------------------------------------------- */

.tabZitat {
    color: #444444;
    font-family: "Vollkorn", sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.75rem);
    text-transform: uppercase;
}

/* ------------------------------------------------ contrast_style ---------------------------------------------- */

#contrast_style button {
    color: #2b2b2b;
    padding: 0;
    font-size: 0;
    border: unset !important;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    font-weight: 400;
    background: #ffffff;
    transition: background 300ms linear;
    position: relative;
    z-index: 1;
}

#contrast_style button:hover,
#contrast_style button:focus {
    background: #f1f1f1;
}

#contrast_style button+button {
    margin-left: 10px;
}

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

@media (min-width: 992px) {
    #style button {
        border: none;
        color: #444444;
        display: inline-block;
        font-weight: 400;
        text-align: center;
        line-height: 1;
        font-size: 0.9375rem;
        min-width: 30px;
        min-height: 30px;
        padding: 0 0 2px 0;
        margin-left: 10px;
        border-radius: 4px;
        background: #ffffff;
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
    }

    #style button:is(:hover, :focus) {
        color: #ffffff;
        background: #0477a2;
    }
}

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

#search {
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    display: inline-flex;
    width: 100%;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

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

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

#search_submit {
    min-width: 40px;
    flex-shrink: 0;
    background: url('../img/icon-suche.png') center no-repeat, #ffffff;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 0;
}

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

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


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

/* burgermenu for tablet */

#burgerButton {
    font-size: 0;
    border: none !important;
    position: relative;
    z-index: 1004;
    display: block;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-color: transparent !important;
}

@media (max-width: 991px) {
    #burgerButton {
        position: fixed;
        right: 15px;
        top: 15px;
        background-color: #ffffff !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        border-radius: 2px;
    }
}

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

#burgerButton::before,
#burgerButton::after,
#burgerButtonInner {
    position: absolute;
    background: #0074b3;
    width: 28px;
    height: 2px;
    left: calc(50% - 14px);
    color: #ffffff !important;
    transition: transform 200ms linear, opacity 200ms linear, width 200ms linear;
}

@media (prefers-contrast: more) {

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        border: 1px solid #ffffff;
        box-sizing: border-box;
    }
}

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

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

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

#burgerButtonInner {
    top: 16px;
}

#burgerButton::before {
    top: 23px;
    content: "";
}

#burgerButton::after {
    top: 30px;
    width: 14px;
    content: "";
}

@media (min-width: 992px) {
    #menuspan {
        font-size: 0.8125rem;
        text-transform: uppercase;
        font-weight: 600;
    }
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    .navbar-nav {
        margin: 20px 0;
        background-color: #ffffff;
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    }

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

    .dropdown-toggle-button::before,
    .dropdown-toggle-button::after {
        background: #008400;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #myNavbar {
        padding: 30px 15px;
        background: #ffffff;
        box-shadow: none;
        pointer-events: none;
        position: absolute;
        z-index: 1002;
        top: 70px;
        right: 0;
        opacity: 0;
        width: 992px;
        border-radius: 0;
        height: auto !important;
        overflow: visible !important;
        visibility: hidden;
        transition: opacity 300ms linear, top 300ms linear;
        box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.15);
    }

    #burgerButton[aria-expanded="true"]+#myNavbar,
    #myNavbar:focus-within {
        pointer-events: auto;
        opacity: 1;
        top: 82px;
        visibility: visible;
    }

    #myNavbar::before {
        content: "";
        display: block;
        position: absolute;
        right: 14px;
        top: -16px;
        width: 30px;
        height: 16px;
        clip-path: polygon(0 100%, 100% 100%, 50% 0);
        background: #ffffff;
    }

    #myNavbar>.mCustomScrollBox {
        max-height: 70vh;
        padding-right: 15px;
    }

    nav.burger .navbar-nav {
        display: block;
        column-count: 3;
        column-gap: 30px;
        column-rule: 1px solid rgba(0, 0, 0, 0.2);
    }

    nav.burger .navbar-nav>li {
        padding-bottom: 17px;
        padding-top: 7px;
        float: none;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
        display: table !important;
    }

    nav.burger .navbar-nav ul {
        display: block !important;
    }
}

@media (min-width: 1200px) {
    #myNavbar.navbar-collapse {
        width: 1200px;
    }

    nav.burger .navbar-nav {
        column-count: 4;
    }
}

/* toplevel */

nav.burger a[class*="toplevel"] {
    color: #0477a2;
    font-weight: 700;
    font-family: "Vollkorn", sans-serif;
    text-align: left;
    padding: 12px 15px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

@media (min-width: 992px) {
    nav.burger a[class*="toplevel"] {
        padding: 5px 20px;
        hyphens: auto;
    }
}

/* toplevel-over */

nav.burger li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.burger li[class*="toplevel"]>a:is(:hover, :focus),
nav.burger li[class*="toplevel"].open>a,
nav.burger li[class*="toplevel"].open>a:is(:hover, :focus),
nav.burger li[class*="toplevel"][class*="_over"]>a,
nav.burger li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #008400;
    text-decoration: underline;
}

/* secondlevel + thirdlevel dropdown-box */

nav.burger [class*="toplevel"] ul {
    background: #ffffff;
}

/* secondlevel + thirdlevel */

nav.burger a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #444444;
    font-weight: 400;
    text-align: left;
    padding: 8px 35px;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.burger a[class*="secondlevel"] {
        padding-left: 30px;
    }

    nav.burger a[class*="thirdlevel"] {
        padding-left: 45px;
    }
}

@media (min-width: 992px) {
    nav.burger a[class*="secondlevel"] {
        padding: 5px 5px 5px 30px;
        hyphens: auto;
    }

    nav.burger a[class*="thirdlevel"] {
        padding: 4px 10px 4px 53px;
        hyphens: auto;
    }

    nav.burger a[class*="thirdlevel"]::after {
        content: "\00BB";
        position: absolute;
        left: 41px;
        top: 2px;
        bottom: 0;
        margin: auto;
    }
}

nav.burger li:is([class*="_start"], [class*="end"]) {
    display: none;
}

/* secondlevel + thirdlevel over */

nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a,
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus),
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a,
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus),
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a,
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus) {
    color: #008400;
    text-decoration: underline;
}

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

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

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

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

    #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: block;
    background: url('../img/overlay-banner.png') top -1px center / 100% auto no-repeat;
}

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

#tabs {
    padding-bottom: clamp(30px, 4vw, 50px);
}

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

@media (max-width: 1199px) {
    #tabs {
        padding-top: clamp(30px, 4vw, 50px);
    }
}

@media (min-width: 1200px) {

    .index .theme-nivo .nivo-controlNav,
    .index .theme-default .nivo-controlNav {
        bottom: 80px;
    }

    #tabs>.row {
        margin-top: -80px;
        position: relative;
        z-index: 12;
    }
}

#tabs .tab {
    height: 100%;
    padding: 50px 25px;
    border-radius: 40px;
    border: 3px solid #c7c7c7;
    background: #ffffff;
}

#tabs .tab .tabHeadline {
    font-size: 1.25rem;
    text-transform: uppercase;
}

#tabs .tab a {
    text-decoration: underline;
}

/* ------------------------------------------- tickerWrapper ------------------------------------------ */

#tickerWrapper {
    font-size: 1rem;
    position: relative;
}

#tickerWrapper::before {
    content: "";
    display: block;
    margin: 0 auto clamp(15px, 4vw, 30px) auto;
    max-width: 1570px;
    height: 1px;
    opacity: 1;
    background: #ececec;
}

#tickerWrapper::after {
    content: "";
    display: block;
    margin: clamp(15px, 4vw, 30px) auto 0 auto;
    max-width: 1570px;
    height: 1px;
    opacity: 1;
    background: #ececec;
}

.newsticker,
.newsticker a {
    color: #008500;
}

.newsticker-position {
    margin: 0;
}

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

#content {
    text-align: left;
    padding-top: clamp(30px, 4vw, 40px);
    padding-bottom: clamp(30px, 5vw, 95px);
}

/* ------------------------------------------- tabIMG ------------------------------------------ */

#tabIMG {
    padding-top: clamp(30px, 5vw, 90px);
    padding-bottom: clamp(30px, 3vw, 55px);
    position: relative;
    background: linear-gradient(to left, #f3f3f3, #fdfdfd);
}

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

@media (min-width: 1200px) {
    #tabIMG::before {
        content: "";
        position: absolute;
        pointer-events: none;
        left: 0;
        top: 0;
        bottom: 0;
        width: 39.47%;
    }
}

#tabIMG .tab,
#tabIMG .tab2,
#tabIMG .tab2 #tab_albums_link {
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

#tabIMG .tab2 #tab_albums_link #tabalbums-slider-wrapper {
    height: 100% !important;
}

#tabIMG .tab {
    padding: 50px 20px;
    border: 3px solid #c7c7c7;
    background: #ffffff;
}

#tabIMG .tab .tabHeadline {
    font-size: 1.25rem;
    text-transform: uppercase;
}

#tabIMG .tab a {
    text-decoration: underline;
}

#tabIMG .tab2 {
    background: #ffffff;
}

#tabIMG .tab2 .tab_link_mehr {
    text-align: center !important;
    font-size: 0;
}

#tabIMG .tab2 .tab_link_mehr a {
    position: absolute;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: end;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    font-size: 1.25rem;
    font-family: "Vollkorn", sans-serif;
    font-weight: 700;
    hyphens: auto;
    text-transform: uppercase;
    color: #ffffff !important;
    text-decoration: none;
    background: url('../img/icon-galerie.png') top 80px center no-repeat, rgba(0, 132, 0, 0.8);
    padding: 190px 70px 100px 70px;
    transition: opacity 300ms linear;
}

#tabIMG .tab2:hover .tab_link_mehr a,
#tabIMG .tab2:focus .tab_link_mehr a {
    opacity: 0;
    pointer-events: none;
}

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

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

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

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

/* ------------------------------------------ footer ------------------------------------------ */

footer {
    color: #ffffff;
    padding-bottom: clamp(30px, 4vw, 55px);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #07698d;
}

/* ------------------------------------------ firstFooter ------------------------------------------ */

#firstFooter {
    padding-top: clamp(30px, 4vw, 55px);
    padding-bottom: clamp(30px, 4vw, 55px);
    position: relative;
}

@media (min-width: 1200px) {
    #firstFooter>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        left: 460px;
        bottom: clamp(-55px, -3vw, -30px);
        width: 213px;
        height: 216px;
        background: url('../img/silhouette-footer-links.png') center no-repeat;
    }

    #firstFooter>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        right: 372px;
        bottom: clamp(-56px, -3vw, -30px);
        width: 143px;
        height: 184px;
        background: url('../img/silhouette-footer-rechts.png') center no-repeat;
    }
}

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

#firstFooter :is(h1, h2, h3, h4, h5, h6, .tabHeadline, a) {
    color: #ffffff;
}

#firstFooter .tabHeadline {
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* ------------------------------------------ newsletter ------------------------------------------ */

#newsletter {
    margin-top: 20px;
}

#newsletterInputs {
    min-height: 51px;
    border-radius: 4px;
    background: #ffffff;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

#newsletter_input {
    color: #444444;
    font-size: 0.9375rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 30px;
    padding-right: 65px;
    min-height: 51px;
    width: 100%;
    min-width: 19.3vw;
}

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

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

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

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

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

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

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

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

#vernetzt b {
    font-size: 1rem;
    font-weight: 700;
    font-family: "Vollkorn", sans-serif;
}

#vernetzt span span {
    display: block;
}

/* ------------------------------------------ lastFooter ------------------------------------------ */

#lastFooter {
    font-size: 1rem;
    padding: 18px 0;
    background-color: #0477a2;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
}

#lastFooter>.row {
    row-gap: 18px;
}

#lastFooter a {
    color: #ffffff;
}

.tabSocials img {
    vertical-align: middle;
}

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

#innerfooter ul {
    padding: 0;
}

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

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

@media (min-width: 576px) {
    #innerfooter li+li::before {
        content: "|";
        margin: 0 clamp(15px, 2vw, 35px);
        color: #ffffff;
    }

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

/* ------------------------------------------ scrollTopBtn ------------------------------------------ */

#scrollTopBtn {
    font-size: 0.875rem;
    color: #ffffff;
    position: relative;
    padding-right: 55px;
}

#scrollTopBtn::after {
    content: '';
    position: absolute;
    pointer-events: none;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 -960 960 960" width="18px" fill="%23008500"><path d="M450-180v-485.08L222.15-437.23 180-480l300-300 300 300-42.15 42.77L510-665.08V-180h-60Z"/></svg>') center no-repeat, #ffffff;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

/* ------------------------------------------ kontraste ------------------------------------------ */

.contrast_light_font #newsletter_input {
    color: #ffffff !important;
}

.contrast_light_font #search_input {
    background-color: #ffffff !important;
}

.contrast_light_font #style button {
    border: 1px solid #ffffff !important;
}