@import url("https://fonts.verwaltungsportal.de/import/?family=PT+Sans:400,400i,700,700i%7CPT+Sans+Narrow:400,700");

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

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

a {
    color: #227752;
}

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

b,
strong {
    font-weight: 700;
}

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

/* ------------------------------------------------- optionsbox ------------------------------------------------ */

@media (max-width: 991px) {
    #optionsbox {
        padding: 15px;
        background: #ffffff;
    }
}

@media (min-width: 992px) {
    #optionsbox {
        padding-top: 15px;
        padding-bottom: 20px;
    }
}

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

@media (min-width: 992px) {
    .styleName {
        margin-right: 35px;
        text-align: center;
    }

    .styleName span {
        font-size: 0.875rem;
        padding-bottom: 6px;
    }
}

#style button {
    padding: 0;
    border: none;
    color: #ffffff;
    display: inline-block;
    min-width: 24px;
    min-height: 24px;
    font-weight: 400;
    font-size: 0.9375rem;
    text-align: center;
    background: #227752;
    position: relative;
    line-height: 1;
    transition: color 300ms linear, background 300ms linear;
}

#style button+button {
    margin-left: 8px;
}

#style button:hover,
#style button:focus {
    color: #191919;
    background: #d7e9dd;
}

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

form[id^="search"] {
    min-height: 31px;
    display: block;
    position: relative;
    background: #d7e9dd;
}

@media (max-width: 575px) {
    form[id^="search"] {
        display: inline-block;
    }
}

form [id^="search_input"] {
    font-size: 0.9375rem;
    color: #252525;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 5px;
    padding-right: 40px;
    min-height: 31px;
    width: 100%;
    display: block;
}

form [id^="search_submit"] {
    width: 35px;
    background: url('../img/icon-lupe.png') center no-repeat, #227752;
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    font-size: 0;
    transition: background 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: #185d3f;
}

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

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

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

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

#search input::placeholder {
    color: #252525 !important;
    opacity: 1 !important;
    font-style: normal !important;
}

/* -------------------------------------------- @nav1 Navigation ------------------------------------------- */

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (min-width: 992px) {
    #logo img {
        max-width: 340px;
        width: 100%;
    }
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        padding: 10px 0;
        position: static !important;
        background-color: #ffffff;
        box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        position: relative;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
    }

    #burgerButton:before, #burgerButton:after, #burgerButtonInner {
        background-color: #227752;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        -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"]:before {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 10px;
    }

    #burgerButton:before {
        top: 18px;
    }

    #burgerButton:after {
        top: 26px;
    }

    #burgerButton:before, #burgerButton:after {
        content: "";
        display: block;
    }

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

    .navbar-collapse {
        top: 0;
        background: #227752;
        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.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        -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);
    }

    .navbar-collapse.in:after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 90px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in:after {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        background-color: #ffffff;
        box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
    }

    .is-sticky #menu {
        left: unset !important;
    }

    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end !important;
        -ms-flex-pack: end !important;
        justify-content: flex-end !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        flex-wrap: wrap;
        background: #227752;
    }

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

    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav>li, nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }

    .navbar-default .open>.dropdown-menu,
    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

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

    .navbar-default .nav .open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover>u {
        z-index: 1003;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 15px 35px 15px 15px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}

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

    .navbar-default .navbar-nav>li {
        display: flex;
        align-content: center;
        align-items: center;
        flex-grow: 1;
    }

    .navbar-default .navbar-nav>li+li::before {
        content: '';
        display: block;
        width: 1px;
        height: 55px;
        border-left: 1px solid #ffffff;
    }
}

@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:focus-within>a,
.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 {
    color: #191919;
    background: #9ac8a9;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background: #9ac8a9;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding: 10px;
    }
}

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 30px;
        padding-bottom: 30px;
        border-top: 2px solid #ffffff;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        left: 50%;
        transform: translate(-50%, 0);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        content: "";
        display: block;
        position: absolute;
        left: 50%;
        top: -20px;
        margin-left: -20px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 20px 0 20px;
        border-color: #ffffff transparent transparent transparent;
        -webkit-transition: top 150ms linear;
        -moz-transition: top 150ms linear;
        -ms-transition: top 150ms linear;
        -o-transition: top 150ms linear;
        transition: top 150ms linear;
    }

    .navbar-default .navbar-nav>li:hover>.dropdown-menu::after {
        top: 0;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -32px;
        margin-left: 10px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #191919;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: center;
        padding: 13px 25px;
    }
}

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

.navbar-nav>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.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: #ffffff;
    background: #227752;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    color: #ffffff;
    background: #227752;
}

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

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

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

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

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

#headerpic {
    padding: 0;
    position: relative;
    background: #185d3f
}

.theme-nivo .nivo-controlNav .slick-dots li,
.nivo-directionNav a,
a.nivo-control,
a.nivo-control.active {
    color: #ffffff !important;
}

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

.slider-mask {
    display: none;
}

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

@media (max-width: 991px) {
    #bannerOverlay {
        padding: 20px 15px;
        background: #185d3f;
    }
}

#bannerOverlay .tab {
    line-height: 1.2;
    font-size: clamp(1.25rem, 3vw, 2.5rem);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

#bannerOverlay .tab .tabHeadline {
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: clamp(1.875rem, 4vw, 3.4375rem);
}

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

@media (min-width: 992px) {
    #bannerOverlay {
        position: absolute;
        pointer-events: none;
        z-index: 12;
        left: 30px;
        right: 30px;
        bottom: 22px;
    }

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

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

main {
    text-align: left;
    padding-top: clamp(30px, 4vw, 60px);
    padding-bottom: clamp(30px, 4vw, 60px);
}

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

@media (max-width: 991px) {
    #nw9 {
        margin: 30px auto 0 auto;
    }
}

#nw9 .tab {
    font-size: 1rem;
    color: #191919;
    padding: 35px 30px 30px 30px;
    background-color: #e0f0e7;
}

#nw9 .tabSpecial {
    width: calc(100% + 60px);
    top: -35px;
    left: -30px;
    right: -30px;
    position: relative;
}

#nw9 .tabHeadline {
    font-size: 1.625rem;
    color: #ffffff;
    margin-bottom: 0;
    text-align: center;
    background: #227752;
    padding: 21px 17px;
}

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

#nw9 .tab_link_entry::before,
#nw9 .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    overflow: hidden;
}

#nw9 .tab_link_entry::before {
    content: "";
    background: center / cover no-repeat, #ffffff;
}

#nw9 .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;
    transform: translateX(-50%) translateY(-50%);
}

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

#nw9 .tab_link_title {
    order: 1;
}

#nw9 .tab_link_title a {
    color: #191919;
    font-weight: 700;
}

#nw9 .tab_date {
    order: 2;
    margin-bottom: 4px;
}

#nw9 .vorschau {
    order: 3;
}

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

#nw9 .tab_link_entry .tab_spacer {
    display: none;
}

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

#nw9 .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: 700;
    padding: 15px 30px;
    font-size: 1.125rem;
    background-color: #227752;
}

#nw9 .tab_link_mehr a:hover,
#nw9 .tab_link_mehr a:focus {
    color: #191919;
    background: #9ac8a9;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #227752;
    font-weight: 700;
    line-height: 1.2;
    font-family: "PT Sans Narrow", 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;
}

/* ----------------------------------------------- @17f footer ----------------------------------------------- */

/* --------------------------------------------- footerTabs17 -------------------------------------------- */

#footerTabs17 {
    color: #191919;
    font-size: 1rem;
    padding: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #e0f0e7;
}

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

#footerTabs17 .tabHeadline {
    color: #227752;
    font-size: 1.875rem;
    margin-bottom: 0;
}

#footerTabs17 .tabContent :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    color: #227752;
    font-weight: 400;
    font-size: 1.5rem;
}

#footerTabs17 a {
    color: #227752;
    text-decoration: underline;
}

#footerTabs17 .footerTab2 a {
    text-decoration: none;
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    padding: 8px 26px;
    background: #227752;
}

#footerTabs17 .footerTab2 a:is(:hover, :focus) {
    color: #191919;
    background: #9ac8a9;
}

@media (min-width: 992px) {
    #footerTabs17>.row>*+* {
        border-left: 1px solid #227752;
    }

    #footerTabs17 .footerTab2 {
        padding-left: 35px;
    }
}

/* --------------------------------------------- f17 -------------------------------------------- */

#f17 {
    font-size: 0.875rem;
    padding-top: 12px;
    padding-bottom: 12px;
}

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

#innerfooter ul {
    padding: 0;
}

@media (max-width: 767px) {
    #innerfooter ul {
        margin-top: 20px;
    }
}

#innerfooter li {
    display: inline-block;
}

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

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

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

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

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

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

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

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

#vernetzt strong {
    color: #227752;
}

#vernetzt span span {
    display: block;
}