@import url("https://fonts.verwaltungsportal.de/css/?family=Open+Sans:400,400i,600,600i%7CQuicksand:600,600i");

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

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

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

a {
    color: #84694D;
}

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

#content a {
    font-style: italic;
}

b,
strong {
    font-weight: 600;
}

@media (min-width: 992px) {
    #over {
        padding-top: clamp(25px, 4vw, 45px);
        padding-left: clamp(25px, 4vw, 45px);
        padding-right: clamp(25px, 4vw, 45px);
    }
}

#over {
    position: relative;
    overflow: hidden;
}

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

@media (min-width: 992px) {
    #logo {
        display: inline-block;
        box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
        background: #fff;
        padding: 120px 40px 50px 50px;
        position: absolute;
        top: -184.1px;
        border-radius: 50%;
        left: -73px;
    }

    .is-sticky #logo {
        top: -39px;
    }

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

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo img {
        max-width: 200px;
        width: 100%;
    }
    .horizontally {
        padding: 10px 0;
        background: #fff;
        border-bottom: 2px solid #84694D;
    }
}

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

/* burgermenu for tablet */

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #84694D;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

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

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

    #burgerButtonInner {
        top: 16px;
    }

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

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

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

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

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

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

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


@media (min-width: 1200px) {
    nav.horizontally>.row {
        max-width: 100%;
        width: 100%;
        padding-right: calc(calc(100% - 1200px) / 2);
    }

    @media (min-width: 1400px) {
        nav.horizontally>.row>.col-lg-9::after {
            position: absolute;
            display: block;
            content: '';
            width: 146px;
            height: 135px;
            z-index: 110;
            top: -21.3px;
            right: -303.5px;
            background: url(../img/wasseramsel.png) no-repeat;
        }

        .is-sticky nav.horizontally>.row::after {
            opacity: 0;
        }
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        border-top: 2px solid #333333;
        background: #b9ce03;
        position: relative;
    }

    nav.horizontally .navbar-nav>li {
        display: inline-block;
    }

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

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
    }

    #myNavbar ul {
        display: flex;
        justify-content: space-between;
    }

    nav.horizontally .navbar-nav [class*="secondlevel"]>ul {
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav li {
        position: relative;
    }

    nav.horizontally .navbar-nav li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav li.open:focus-within>ul,
    nav.horizontally .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
    }

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

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #333333;
    font-weight: 600;
    text-align: left;
    padding: 10px 15px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 16px 5px;
        margin: 10px 0;
    }
}

nav.horizontally a[class*="toplevel"]::before {
    content: "";
    width: 0;
    height: 2px;
    display: block;
    position: absolute;
    left: 0;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 0;
    background-color: #333333;
    opacity: 0;
    -webkit-transition: opacity 300ms linear, width 300ms linear;
    -moz-transition: opacity 300ms linear, width 300ms linear;
    -ms-transition: opacity 300ms linear, width 300ms linear;
    -o-transition: opacity 300ms linear, width 300ms linear;
    transition: opacity 300ms linear, width 300ms linear;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a::before {
        left: 50%;
        top: -10px;
    }
}

/* toplevel-over */

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

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

/* secondlevel + thirdlevel dropdown-box */

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

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

@media (min-width:992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding-top: 20px;
        padding-bottom: 20px;
        border-radius: 2px;
    }

    nav.horizontally [class*="toplevel"]>ul {
        margin-top: -10px;
        left: 50%;
        transform: translate(-50%, 0);
    }

    nav.horizontally [class*="secondlevel"]>ul {
        margin-top: -10px;
        border-radius: 2px;
        margin-left: 10px;
    }

    nav.horizontally [class*="secondlevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
}

/* secondlevel + thirdlevel */

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

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
    content: "\00BB";
    position: absolute;
    top: 7px;
    left: 25px;
    margin-right: 4px;
}

/* secondlevel + thirdlevel over */

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

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

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

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

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

@media (min-width: 768px) {
    #headerpic .nivo-directionNav a {
        top: auto;
        bottom: 12px;
    }

    #headerpic .nivo-controlNav {
        width: calc(100% - 100px);
        left: 50px;
    }
}

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

    #headerpic .nivo-controlNav {
        bottom: 10px;
    }

    body.index #slider {
        max-height: clamp(300px, 62vw, 675px);
    }
}

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

.slider-mask {
    display: none;
}



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

/* ----------------------------------------- scroll bottom -------------------------------------- */

#scrollBottom {
    border-bottom: 2px solid #b9ce03;
    padding: clamp(10px, 2vw, 24px) 0;
}

#scrollBottom a {
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
    margin: 0 auto;
}

#scrollBottom a::after {
    content: "";
    width: 0;
    height: 0;
    display: block;
    border-style: solid;
    border-width: 8px 8px 0 8px;
    border-color: #84694D transparent transparent transparent;
    transition: border 300ms linear;
}

#scrollBottom a:is(:hover, :focus)::after {
    border-color: #666666 transparent transparent transparent;
}

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

#content {
    text-align: left;
    padding-bottom: clamp(30px, 6vw, 80px);
    padding-top: clamp(30px, 4vw, 50px);
}

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

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

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

h2,
.h2,
.legacy_h2 {
    font-size: 1.6875rem;
}

h3,
.h3,
.legacy_h3 {
    font-size: 1.5625rem;
}

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

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

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

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

#ev9 .tab {
    font-size: 1rem;
    color: #666666;
    padding: 35px 30px 30px 30px;
    background-color: #ffffff;
    margin: 30px 0;
    box-shadow: 0 0 10px 0 rgba(0, 1, 0, 0.1);
}

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

#ev9 .tabHeadline {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    margin-bottom: 0;
    color: #84694d;
}

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

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

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

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

#ev9 .tab_link_mandat a {
    color: #84694d;
}

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

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

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

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

#ev9 .tab_link_mehr a:hover,
#ev9 .tab_link_mehr a:focus {
    color: #fff;
    background-color: #84694d;
}

/* ----------------------------------------------- @13nw news -------------------------------------------- */

#nw13 {
    border-top: 2px solid #b9ce03;
    padding-top: clamp(30px, 4vw, 60px);
    padding-bottom: clamp(30px, 5vw, 85px);
}

#nw13 .tabHeadline {
    font-size: clamp(1.75rem, 2vw, 2.1875rem);
    margin-bottom: 0;
}

#nw13>.row {
    row-gap: clamp(30px, 3vw, 45px);
}

#nw13>.row::before {
    position: absolute;
    display: block;
    content: '';
    width: 311px;
    height: 256px;
    bottom: -170px;
    right: -360px;
    background: url(../img/bunter-vogel.png) no-repeat;
}

#nw13 .tab_link_entries {
    display: grid;
    gap: 30px;
}

@media (min-width: 576px) {
    #nw13 .tab_link_entries {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    #nw13 .tab_link_entries {
        grid-template-columns: repeat(3, 1fr);
    }
}

#nw13 .tab_link_entry {
    width: 100%;
    padding: 20px;
    display: grid;
    color: #666666;
    background: #ffffff;
    box-shadow: 0 0 10px 0 rgba(0, 1, 0, 0.1);
}

#nw13 .tab_link_title {
    order: 1;
    margin-bottom: 8px;
}

#nw13 .vorschau {
    order: 2;
    opacity: 1;
}

#nw13 .tab_date {
    order: 3;
    font-style: italic;
}

#nw13 .tab_link_title a {
    font-weight: 600;
    color: #84694D;
    font-size: clamp(1.125rem, 3vw, 1.375rem);
}

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

#nw13 .tab_link_mehr a {
    color: #707c03;
    display: inline-block;
    font-size: clamp(1rem, 2vw, 1.3125rem);
    font-style: italic;
}

#nw13 .tab_link_mehr a::after {
    content: ' \00BB';
}

#nw13 .tab_link_entry .tab_link_mehr,
#nw13 .tab_spacer,
#nw13 .tab_preview_picture {
    display: none;
}

/* -------------------------------------------- teaser ------------------------------------------ */

#teaser {
    padding: clamp(50px, 10vw, 100px) 0;
    background-color: #84694D;
    color: #ffffff;
    font-weight: 400;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 1.25rem;
    z-index: 1;
    position: relative;
}

#teaser .tabHeadline {
    margin: 0 0 30px 0;
    font-size: clamp(2rem, 5vw, 3.125rem);
    color: #ffffff;
}

@media (max-width: 575px) {
    #teaser .tabHeadline {
        margin: 0;
    }
}

#teaser a {
    display: inline-block;
    background: #ffffff;
    color: #84694D;
    font-size: clamp(16px, 3vw, 1.125rem);
    border-radius: 40px;
    padding: 6px 20px;
    text-decoration: none;
}

#teaser a:is(:hover, :focus) {
    background: #b9ce03;
    color: #4a4a4a;
}

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

@media (max-width: 767px) {
    #footer>.row>div+div {
        border-top: 2px solid #333333;
        margin-top: 20px;
        padding-top: 20px;
    }
}

@media (min-width: 768px) {
    #footer>.row>div:not(:last-child) {
        padding-top: 10px;
        padding-bottom: 10px;
        border-left: 2px solid #333333;
    }
}

#footer {
    padding: 30px 0;
    border-top: 3px solid #333333;
    color: #333333;
    font-size: 1rem;
    background-color: #b9ce03;
}

#footer h6,
h5,
h4,
h3,
h2,
h1 {
    color: #333333;
}

#footer .footerContactTab a {
    position: relative;
    color: #333333;
}

#footer a:is([href*="mailto:"], a[href*="tel:"]) {
    position: relative;
    display: inline-block;
    padding-left: 30px;
    margin-top: 5px;
}

#footer a:is([href*="mailto:"], a[href*="tel:"])::before {
    content: '';
    display: block;
    position: absolute;
    height: 22px;
    width: 22px;
    background: url('../img/mail-icon.png') center no-repeat, #333333;
    top: 50%;
    left: 0;
    border-radius: 50%;
    transform: translateY(-50%);
}

#footer a[href*="tel:"]::before {
    background: url('../img/phone-icon.png') center no-repeat, #333333 !important;
}

#innerfooter ul {
    padding: 0;
}

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

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

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

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

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

#vernetzt span span {
    display: block;
}

#vernetzt b {
    color: #333333;
    font-weight: 600;
}

/* ------------------------------------------ scroll top ---------------------------------------- */

#scrollTop {
    font-size: 0;
    background-color: #b9ce03;
    color: #333333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: block !important;
    position: relative;
    margin: 0 0 0 auto;
}

#scrollTop:is(:hover, :focus) {
    background-color: #d1e70a;
}

#scrollTop::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    left: 9px;
    top: 12px;
    border-style: solid;
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent #333333 transparent;
    transform: none;
}