@import url('https://fonts.verwaltungsportal.de/import/?family=Open+Sans:300,300i,400,400i,600,600i,700,700i');

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
}

body {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: #333333;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    body {
        font-size: 1.125rem;
    }
}

a {
    color: #266442;
}

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

:is(main, footer, #headerpic) a,
b,
strong {
    font-weight: 600;
}

:is(#content-area, #headerpic, #news .tab, #events .tab, #topics, #footer) a {
    text-decoration: underline;
}

/* #region ------------------------------------ bf controls ------------------------------------- */

.bf-controls {
    color: #191919;
    font-size: 1rem;
}

@media (max-width: 991px) {
    .bf-controls {
        background: #4cbd7f;
        padding: 0 15px;
    }
}

@media (min-width: 992px) {
    .bf-controls>.row>* {
        padding-left: 0;
    }

    .bf-controls-bg {
        background: #4cbd7f;
    }
}

#search-button {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #266442 url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M39.75 43.35 26.3 29.95q-1.45 1.15-3.425 1.8-1.975.65-4.275.65-5.75 0-9.75-4t-4-9.65q0-5.65 4-9.65t9.7-4q5.65 0 9.625 4 3.975 4 3.975 9.65 0 2.25-.625 4.175-.625 1.925-1.875 3.625l13.5 13.4ZM18.55 27.7q3.75 0 6.325-2.625t2.575-6.325q0-3.75-2.575-6.35Q22.3 9.8 18.55 9.8t-6.375 2.6Q9.55 15 9.55 18.75q0 3.7 2.625 6.325T18.55 27.7Z' fill='%23fff'/%3E%3C/svg%3E") center / 24px auto no-repeat;
}

#search-button:hover,
#search-button:focus {
    background-color: rgba(255, 255, 255, 0.3);
}

/* contrast + font-size */

#contrast_style {
    padding-right: clamp(25px, 4vw, 40px);
}

#style {
    padding-left: 32px;
    padding-right: 32px;
    position: relative;
}

#contrast_style+#style::after {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 1px;
    background: #fff;
    opacity: 0.2;
}

:is(#contrast_style, #style) button {
    color: #fff;
    font-weight: 600;
    width: 24px;
    height: 24px;
    display: inline-block;
    border: none;
    padding: 0;
    font-size: 16px;
}

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

#contrast_style button {
    font-size: 0;
    border-radius: 50%;
    background: #266442;
    position: relative;
}

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

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 1px solid #fff;
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(-45deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, #1a1a1a 51%);
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(-45deg, #1a1a1a 50%, rgba(255, 255, 255, 1) 51%, rgba(255, 255, 255, 1));
}

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

#style button {
    background: transparent;
    color: #191919;
    font-weight: 600;
}

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

/* #endregion --------------------------------- bf controls ------------------------------------- */

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
    display: inline-block;
    position: absolute;
    top: 0;
    z-index: 55;
}

@media (max-width: 991px) {
    #logo {
        padding-top: 20px;
        position: relative;
    }
}

#logo img {
    display: block;
    transition: all 300ms;
}

body:not(.index) #logo img {
    max-width: 120px;
}

.is-sticky #logo img {
    max-width: 120px;
}

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

#logo .row {
    margin-left: -15px;
    margin-right: -15px;
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        position: static !important;
    }

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

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #266442;
        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 {
        padding: 20px 10px;
    }

    .navbar-collapse {
        top: 0;
        background: #fff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        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: 7px;
    }

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

@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 {
        position: relative;
        z-index: 60;
    }

    #menu>.row {
        position: relative;
    }

    #menu>.row::after {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        top: 0;
        right: 45px;
        bottom: 0;
        left: 29%;
        background: #fff;
        box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.1);
        -webkit-transition: left 200ms linear;
        -moz-transition: left 200ms linear;
        -ms-transition: left 200ms linear;
        -o-transition: left 200ms linear;
        transition: left 200ms linear;
    }

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

    .is-sticky #menu>.row::after {
        left: 15px;
    }

    nav.horizontally :is(.navbar, #myNavbar) {
        min-height: 100%;
        height: 100% !important;
    }

    nav.horizontally #myNavbar {
        background-color: #fff;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    nav.horizontally .navbar-nav {
        width: 100%;
        position: relative;
        padding: 20px 15px 20px 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        flex-wrap: wrap;
    }

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

    /* Fade in Hover Start */
    .navbar-default .navbar-nav li[class*="toplevel"]>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        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>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 30px;
        left: 0;
        right: 0;
        top: -30px;
    }

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

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

.navbar-default li[class*="toplevel"]>a {
    color: #191919;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 30px;
    -webkit-transition: color 300ms linear, border 300ms linear;
    -moz-transition: color 300ms linear, border 300ms linear;
    -ms-transition: color 300ms linear, border 300ms linear;
    -o-transition: color 300ms linear, border 300ms linear;
    transition: color 300ms linear, border 300ms linear;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-top: 4px;
    }

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

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

    .navbar-default li[class*="toplevel"]>a {
        padding: 11px 8px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

@media (min-width: 1200px) {

    .navbar-default li[class*="toplevel"]>a {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        display: block;
    }
}

@media (min-width: 992px) {

    .navbar-default li[class*="toplevel"]>a.dropdown-toggle::before,
    .navbar-default li[class*="toplevel"]>a.dropdown-toggle::after {
        content: "";
        display: block;
        position: absolute;
    }

    .navbar-default li[class*="toplevel"]>a.dropdown-toggle::before {
        width: 7px;
        height: 7px;
        left: calc(50% - 3px);
        bottom: -5px;
        background: #fff;
        border-bottom: 1px solid #191919;
        border-right: 1px solid #191919;
        -moz-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .navbar-default li[class*="toplevel"]>a.dropdown-toggle::after {
        left: calc(50% - 8px);
        bottom: -41px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 8px 8px 8px;
        border-color: transparent transparent #fff transparent;
        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;
    }
}

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

.navbar-default li[class*="toplevel"]:hover>a,
.navbar-default li[class*="toplevel"]>a:hover,
.navbar-default li[class*="toplevel"]>a:focus,
.navbar-default li[class*="toplevel"].open>a,
.navbar-default li[class*="toplevel"].open>a:hover,
.navbar-default li[class*="toplevel"].open>a:focus,
.navbar-default li[class*="toplevel"][class*="_over"]>a,
.navbar-default li[class*="toplevel"][class*="_over"]>a:hover,
.navbar-default li[class*="toplevel"][class*="_over"]>a:focus {
    color: #266442;
    border-color: #1a1a1a;
}

.navbar-default li[class*="toplevel"]:focus-within>a {
    color: #266442;
    border-color: #1a1a1a;
}

@media (min-width: 992px) {

    .navbar-default li[class*="toplevel"]:hover>a.dropdown-toggle::after,
    .navbar-default li[class*="toplevel"]>a.dropdown-toggle:hover::after,
    .navbar-default li[class*="toplevel"]>a.dropdown-toggle:focus::after,
    .navbar-default li[class*="toplevel"].open>a.dropdown-toggle::after,
    .navbar-default li[class*="toplevel"].open>a.dropdown-toggle:hover::after,
    .navbar-default li[class*="toplevel"].open>a.dropdown-toggle:focus::after {
        opacity: 1;
    }

    .navbar-default li[class*="toplevel"]:focus-within>a.dropdown-toggle::after {
        opacity: 1;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #266442;
    border-radius: 40px;
}

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

    #menu .dropdown-toggle-button-wrapper,
    #menu .dropdown-toggle-button-wrapper2 {
        top: 3px;
    }
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 25px;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding: 20px;
        box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
    }

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 9px 25px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 30px;
}

@media (max-width: 991px) {

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: left;
        font-size: 1rem;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li+li:not(:nth-child(2)),
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li+li:not(:nth-child(2)) {
    border-top: 1px solid rgba(46, 93, 157, 0.2);
}

/* ------------------------------------------ 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:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a,
.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:hover>a,
.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 {
    background: #4cbd7f;
    color: #191919;
}

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

/* #region -------------------------------------- header ---------------------------------------- */

header {
    position: relative;
    z-index: 101;
}

header::after,
header::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
}

header::after {
    right: 0;
    bottom: 286px;
    left: calc(50% + 73px);
    background: #4cbd7f;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom-left-radius: 500px;
}

@media (min-width: 992px) {
    header::after {
        left: calc(50% - 200px);
    }
}

body:not(.index) header::after {
    bottom: 65px;
}

@media (min-width: 992px) {
    header::before {
        left: 0;
        max-width: 545px;
        width: 30vw;
        bottom: 170px;
        background: url('../img/wellenlinien.png') center / cover no-repeat;
    }
}

#headerpic {
    overflow: hidden;
    padding-top: clamp(30px, 10vw, 50px);
}

.index #headerpic {
    padding-top: clamp(30px, 10vw, 140px);
}

/* header text */

#header-text {
    padding-bottom: clamp(30px, 5vw, 62px);
}

@media (min-width: 576px) {
    #header-tab>.template-page {
        max-width: 370px;
    }
}

@media (min-width: 992px) {
    #header-text {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    body:not(.index) #header-text {
        margin-top: 40px;
    }
}

#header-tab :is(b, strong) {
    font-weight: 700;
}

#header-tab :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.5rem, 5vw, 2.125rem);
    margin-bottom: clamp(20px, 4vw, 40px);
    line-height: 1.15;
    color: #1a1a1a;
    font-weight: 400 !important;
    left: 0;
    width: calc(100% + 80px);
    position: relative;
    padding-left: 20px;
}

@media (min-width: 768px) {
    #header-tab :is(h1, h2, h3, h4, h5, h6) {
        margin-right: -40px;
        width: calc(100% + 40px);
    }
}

@media (min-width: 992px) {
    #header-tab :is(h1, h2, h3, h4, h5, h6) {
        margin-right: -80px;
        width: calc(100% + 80px);
    }
}

/* #endregion ----------------------------------- header ---------------------------------------- */

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

#search {
    background: #4cbd7f;
    display: block;
    position: relative;
    border-radius: 4px;
    color: #191919;
    font-size: 16px;
    padding-left: clamp(10px, 4vw, 30px);
    overflow: hidden;
    margin-top: 25px;
}

@media (min-width: 992px) {
    #search {
        font-size: 18px;
    }
}

#search+*,
#header-search>.template-page {
    margin-top: 25px;
}

#search label {
    font-weight: 500;
    padding-right: 10px;
}

#search_input {
    color: #191919;
    font-style: normal;
    font-weight: 300;
    background: transparent;
    border: 0;
    padding: clamp(10px, 4vw, 18px) 74px clamp(10px, 4vw, 18px) 10px;
    width: 100%;
}

#search_input:hover,
#search_input:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

#search_submit {
    width: 64px;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M39.75 43.35 26.3 29.95q-1.45 1.15-3.425 1.8-1.975.65-4.275.65-5.75 0-9.75-4t-4-9.65q0-5.65 4-9.65t9.7-4q5.65 0 9.625 4 3.975 4 3.975 9.65 0 2.25-.625 4.175-.625 1.925-1.875 3.625l13.5 13.4ZM18.55 27.7q3.75 0 6.325-2.625t2.575-6.325q0-3.75-2.575-6.35Q22.3 9.8 18.55 9.8t-6.375 2.6Q9.55 15 9.55 18.75q0 3.7 2.625 6.325T18.55 27.7Z' fill='%23191919'/%3E%3C/svg%3E") center / 34px auto no-repeat;
    padding: 0;
    cursor: pointer;
    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_submit:hover,
#search_submit:focus {
    background-color: rgba(255, 255, 255, 0.2)
}

#search_input::-ms-input-placeholder {
    color: #191919 !important;
    font-style: italic;
}

#search_input::-webkit-input-placeholder {
    color: #191919 !important;
    font-style: italic;
}

#search_input::-moz-placeholder {
    opacity: 1;
    font-style: italic;
}

#search_input:-moz-placeholder {
    opacity: 1;
    font-style: italic;
}

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

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

#slider {
    background: #1a1a1a;
    height: 90vw;
    overflow: hidden;
    position: relative;
    border-radius: 300px 300px 0 300px;
}

@media (max-width: 767px) {
    body:not(.index) #headerpic .slider-wrapper {
        display: none;
    }
}

@media (max-width: 991px) {
    #slider {
        max-height: 370px;
    }

    #headerpic .slider-wrapper {
        max-width: 370px;
        margin-left: auto;
        margin-right: auto;
    }
}

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

    body.index #slider {
        height: 500px;
    }

    .slider-wrapper {
        position: relative;
        z-index: 1;
    }

    #header-text+aside {
        margin-top: 44px;
    }

    .slider-wrapper::after {
        content: "";
        pointer-events: none;
        display: block;
        position: absolute;
        z-index: -1;
        top: -35px;
        left: -35px;
        right: -35px;
        bottom: -35px;
        border-radius: 50%;
        border: 12px solid transparent;
        border-top-color: #191a19;
        border-left-color: #191a19;
    }
}

@media (min-width: 1200px) {
    body.index #slider {
        height: 570px;
    }
}

#headerpic .nivo-directionNav a {
    width: 40px;
    height: 40px;
    background: #fff url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='42'%3E%3Cpath d='m15.2 45.1-4-4.05L28.35 23.9 11.2 6.75l4-4.05 21.2 21.2Z' fill='%23191a19'/%3E%3C/svg%3E") center / 18px auto no-repeat;
    top: auto;
    bottom: calc(50% - 40px);
}

@media (min-width: 992px) {
    #headerpic .nivo-directionNav a {
        opacity: 1;
        bottom: 10px;
    }

    .index #headerpic .nivo-directionNav a {
        width: 50px;
        height: 50px;
        background-size: 22px auto;
    }
}

#headerpic .nivo-directionNav :is(a:hover, a:focus) {
    background-color: #4cbd7f;
}

#headerpic a.nivo-prevNav {
    left: 10px;
    right: 60px;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

@media (min-width: 992px) {
    #headerpic a.nivo-prevNav {
        left: auto;
    }

    .index #headerpic a.nivo-prevNav {
        right: 70px;
    }
}

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

#headerpic .nivo-controlNav {
    right: 10px;
    width: auto;
    left: 25%;
    font-size: 0;
    bottom: 10px;
    text-align: right;

}

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

    .index #headerpic .nivo-controlNav {
        right: 135px;
        bottom: 16px;
    }
}

#headerpic .nivo-controlNav a {
    position: relative;
    background: transparent;
    width: 25px;
    height: 30px;
    margin: 0;
}

#headerpic .nivo-controlNav a::after {
    content: "";
    display: block;
    position: absolute;
    left: calc(50% - 7px);
    top: calc(50% - 7px);
    background: #fff;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    -webkit-transition: background 300ms linear, border 300ms linear;
    -moz-transition: background 300ms linear, border 300ms linear;
    -ms-transition: background 300ms linear, border 300ms linear;
    -o-transition: background 300ms linear, border 300ms linear;
    transition: background 300ms linear, border 300ms linear;
}

#headerpic .nivo-controlNav a.active::after,
#headerpic .nivo-controlNav a:hover::after,
#headerpic .nivo-controlNav a:focus::after {
    border-color: #fff;
    background: #1a1a1a;
}

#headerpic .slider-wrapper {
    height: auto;
}

.slider-mask {
    display: none;
}

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


/* ------------------------------------------ 3tab ----------------------------------------- */

#tab3 {
    padding: 30px 0 60px 0;
}

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

#tab3 > .row > div {
    margin-top: 30px;
}

#tab3 .tab {
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
    background-color: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
    color: #191919;
    font-size: 1rem;
    font-weight: 400;
    min-height: 100%;
}

#tab3 .tab a {
  color: #266442;
}

#tab3 .specialHeadline h1,
#tab3 .specialHeadline h2,
#tab3 .specialHeadline h3,
#tab3 .tabHeadline {
    color: #191919;
    background-color: #4cbd7f;
    display: block;
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 15px;
    width: 100%;
    z-index: 12;
    padding: 20px 30px;
}

#tab3 .tabContent {
    padding: 20px 30px;
}

#tab3 .tab_link_title a {
    color: #191919;
    font-size: 1rem;
    font-weight: 700;
}

#tab3 .tab_link_mandat a {
    color: #191919;
    font-weight: 400;
}

#tab3 .tab_link_mehr {
    color: #266442;
    font-size: 0rem;
}

#tab3 .tab_link_mehr a {
    color: #191919;
    font-size: 1rem;
    border: 1px solid #4cbd7f;
    padding: 5px 8px;
}

#tab3 a[href*="mailto"] {
    text-decoration: underline;
}



.partner {
    padding: 30px;
}
/* ----------------------------------------------- content -------------------------------------- */

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

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.headline-border,
.tab-content h2,
.tab-headline h2 {
    padding-left: 20px;
    position: relative;
}

@media (min-width: 992px) {

    .headline-border,
    .tab-content h2,
    .tab-headline h2 {
        padding-left: 30px;
    }
}

.headline-border::before,
.tab-content h2::before,
.tab-headline h2::before {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    bottom: clamp(7px, 1vw, 11px);
    left: 0;
    width: 8px;
    background: #4cbd7f;
}

#header-tab :is(h1, h2, h3, h4, h5, h6)::before {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    left: 0;
    width: 8px;
    height: 75px;
    background: #4cbd7f;
}

.tab-headline h2::before {
    top: clamp(7px, 1vw, 11px);
}

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #308255;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Open Sans", sans-serif;
    margin-bottom: 15px;
}

h1,
.h1,
.legacy_h1,
.tab-content h2,
.tab-headline h2 {
    font-size: clamp(1.875rem, 4vw, 3.125rem);
    margin-bottom: clamp(20px, 4vw, 30px);
}

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

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

h4,
.h4,
.legacy_h4 {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
}

h5,
.h5,
.legacy_h5 {
    font-size: clamp(1.375rem, 4vw, 1.625rem);
}

h6,
.h6,
.legacy_h6 {
    font-size: clamp(1.25rem, 4vw, 1.375rem);
}

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */



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

footer {
    background-color: #4cbd7f;
    padding-top: 12px;
    padding-bottom: 12px;
}

@media (min-width: 768px) {
    footer .row {
        align-content: center;
        align-items: center;
    }
}

@media (max-width: 767px) {
    #innerfooter {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

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

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

@media (min-width: 992px) {
    #innerfooter li+li::before {
        margin: 0 20px;
    }
}

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

#vernetzt {
    text-align: right;
    font-size: 0.9375rem;
    color: #191919;
    line-height: 1.3;
    margin: 0 auto;
    text-decoration: none;
}

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

#vernetzt span {
    color: #191919;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-left: 12px;
}

#counter {
    border: 1px solid #191919;
    padding: 5px 10px;
    color: #191919;
    font-size: 1rem;
    text-align: center;
}

#counter-l, #counter-r {
    display: inline-block;
}
/* #region -------------------------------------- contrast -------------------------------------- */

.contrast_dark .tab_link_entry,
.contrast_dark .tab_link_entry :is(.tab_date, .tab_link_date) {
    background: #000 !important;
}

.contrast_light .tab_link_entry,
.contrast_light .tab_link_entry :is(.tab_date, .tab_link_date)  {
    background: #fff !important;
}

.contrast_dark #news .tab-image::after,
.contrast_light #news .tab-image::after,
.contrast_dark #events .tab-image::after,
.contrast_light #events .tab-image::after,
:is(.contrast_dark, .contrast_light) :is(#news, #events) .tab_link_entry .tab_link_title a::before {
    display: none !important;
}

.contrast_light #search :is(label, input){
    color: #fff !important;
}

.contrast_dark #search_submit {
    background-color: #fff !important;
}

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