html {
    background: #f1f1f1;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #878787 #ffffff;
    scrollbar-width: thin;
}

body {
    font-family: "Helvetica", 'Arial', sans-serif;
    color: #000001;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.25rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #9152ff;
}

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

#content a {
    color: #9152ff;
}

#content a,
b,
strong {
    font-weight: 700;
}

:focus-visible {
    outline: 3px solid #03a9ff !important;
}

@media (min-width: 992px) {

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

@media (min-width: 1100px) {

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

@media (min-width: 1200px) {

    .row,
    .compact,
    ._op-container .container {
        max-width: 1000px;
    }
}

@media (min-width: 1600px) {

    .row,
    .compact,
    ._op-container .container {
        max-width: 1400px;
    }
}

@media (min-width: 1800px) {

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


/* #endregion ------------------ topbar + contrast + styler  ------------------------ */

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

#logo {
    display: inline-block;
}

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

#logo img {
    display: block;
}

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

/* ------------------------------------------- optitonsBox --------------------------------------------- */

#optitonsBox {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    gap: 30px;
    padding: 15px 0 20px 0;
}

@media (max-width: 991px) {
    #optitonsBox {
        gap: 10px;
        flex-wrap: wrap;
        padding-bottom: 0;
        padding-top: 10px;
    }

    .optionsBoxMobile {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: start;
        display: flex;
        padding: 10px;
    }
}

/* ------------------------------------------- tabLink --------------------------------------------- */

.tabLink {
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    line-height: 1.2;
    padding-left: 45px;
    position: relative;
}

.tabLink::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.tabLink1::before {
    width: 36px;
    height: 35px;
    background: url('../img/icon-tourismus.png') center no-repeat;
}

.tabLink2::before {
    width: 35px;
    height: 36px;
    background: url('../img/icon-rathaus.png') center no-repeat;
}

@media (max-width: 991px) {
    .tabLink {
        padding-left: 20px;
    }

    .tabLink::before {
        width: 15px;
        height: 15px;
        background-size: contain;
    }
}

.tabLink a {
    color: #ffffff;
}

.tabLink a::after {
    content: ' \00BB';
    color: #ffffff;
}

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

/* contact tab */

#contact-content {
    position: absolute;
    top: calc(100% + -35px);
    left: 15px;
    right: 15px;
    background: #9152ff;
    color: #010101;
    border-radius: 6px;
    padding: 32px 28px;
    font-size: 1rem;
    transition: all 300ms linear;
}

@media (min-width: 992px) {
    #contact-content {
        width: 100%;
        left: unset;
        right: 0px;
        max-width: 290px;
    }
}

#contact-content :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

#contact-content :is(h1, h2, h3, h4, h5, h6, a) {
    color: inherit;
}

/* ------------------------------------------------- select ------------------------------------------------ */

#select21summary::marker,
#select2 summary::marker {
    display: none;
    opacity: 0;
    color: transparent;
    font-size: 0;
}

#selectList2.contrast_light_font,
#select2.contrast_light_font {
    background-color: transparent !important;
}

#selectList2.contrast_light_font *,
#selectList2>label.contrast_light_font,
#selectList2>label.contrast_light_font * {
    background-color: #fff !important;
}


#select2.contrast_light_font *,
#select.contrast_light_font * {
    color: #000 !important;
}


#select {
    position: fixed;
    z-index: 99;
    right: clamp(2.8125rem, -4.5366rem + 11.8534vw, 9.6875rem);
    display: flex;
    top: 80px;
}

@media (min-width: 992px) {
    #select {
        top: 60px;
    }

    .is-sticky #select {
        top: 37px;
    }
}

@media (min-width: 1200px) {
    #select {
        top: 50px;
    }

    .is-sticky #select {
        top: 30px;
    }
}

@media (min-width: 1200px) and (max-width:1799px) {
    #select {
        right: 2.1vw;
    }
}

#select summary {
    background: #ffffff;
    display: block;
    position: relative;
    padding: 5px;
    cursor: pointer;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.09);
    border-radius: 50%;
    height: 60px;
    width: 60px;
    position: absolute;
    top: 0;
    right: 4px;
}

#selectedItems {
    display: block;
    text-align: left;
    background: #ffffff;
    padding: 15px;
    border: #010101 1px solid;
}

#selectedItems>span {
    color: #010101;
    text-align: center;
    width: 100%;
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}


@media (max-width: 991px) {
    #select {
        left: 0;
        display: flex;
        top: 29%;
    }

    #select summary {
        left: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    #select summary .col-xs-12 {
        padding: 0;
    }

    #selectedItems {
        margin-top: 65px;
        width: fit-content;
    }
}

@media (min-width: 992px) {
    #selectedItems {
        margin-top: 75px;
    }
}

/* styler */

#style {
    width: 100%;
    max-width: 200px;
}

#style button {
    outline: violet;
}

#style button {
    border: none;
    font-size: 1rem;
    background: transparent;
    padding: 10px 0 10px 35px;
    position: relative;
}

#style button:focus,
#style button:focus-within {
    border: 2px solid #0070ff;
}

#style button::before {
    content: '';
    display: block;
    height: 27px;
    width: 27px;
    position: absolute;
    top: calc(50% - 13px);
    left: 0;
    background: url('../img/a-icon.png') center no-repeat;
    background-size: contain;
}

#style button:nth-child(1)::before {
    background: url('../img/lupe-plus-icon.png');
    background-repeat: no-repeat;
}

#style button:nth-child(3)::before {
    background: url('../img/lupe-minus-icon.png');
    background-repeat: no-repeat;
}

/* contrast */

#contrast_style {
    max-width: 250px;
}

#contrast_style button {
    background: transparent;
    border: none;
    font-size: 1rem;
    padding: 10px 0 10px 35px;
    position: relative;
}

#contrast_style button::before {
    content: '';
    display: block;
    height: 27px;
    width: 27px;
    position: absolute;
    top: calc(50% - 13px);
    left: 0;
    background: url('../img/lightbulb-icon.png') center no-repeat;
    background-size: contain;
}

#contrast_style button:nth-child(1)::before {
    background: url('../img/contrast-icon.png');
    background-repeat: no-repeat;
}

#contrast_style button:nth-child(2)::before {
    background: url('../img/grayscale-icon.png');
    background-repeat: no-repeat;
}

/* search */

#search {
    height: 33px;
    background: #fff;
    display: inline-block;
    position: relative;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

#search span {
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    margin-left: 10px;
}

#search_input {
    color: #010101;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 33px;
    padding-left: 10px;
    padding-right: 10px;
    height: 33px;
    width: 100%;
}

#search_submit {
    width: 50px;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 33px;
    border: none;
    position: relative;
    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;
}

@media (min-width: 992px) {
    #search_submit {
        border-left: 1px solid #9152ff;
    }
}

#search_input::-ms-input-placeholder {
    color: #010101 !important;
}

#search_input::-webkit-input-placeholder {
    color: #010101 !important;
}

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

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


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

/* burgermenu for tablet */

@media (max-width: 991px) {
    .sticky-wrapper {
        height: unset !important;
    }

    nav.horizontally {
        background: #00520b;
        padding: 10px 0;
        position: static !important;
    }

    nav.horizontally>.row {
        row-gap: 10px;
    }

    #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 5px 0 rgba(0, 0, 0, 0.15);
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #003807;
        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: #00520b;
        padding-bottom: 140px;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 0ms linear, opacity 0ms linear, box-shadow 0ms 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;
        transition: top 300ms linear;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    .bgMenü {
        padding-left: 70px;
        padding-top: 20px;
    }

    nav.horizontally {
        background: #00520b;
    }

    .is-sticky nav.horizontally {
        box-shadow: 0 15px 50px 0 rgba(66, 58, 1, 0.2);
    }

    nav.horizontally .navbar-nav {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    nav.horizontally .navbar-nav li[class*="toplevel"]>ul {
        display: flex !important;
        flex-wrap: wrap;
        column-gap: 35px;
        column-count: 5;
        pointer-events: none;
        position: absolute;
        opacity: 0;
        top: auto;
        left: -34.4%;
        right: 0;
        z-index: 1000;
        padding: clamp(30px, 4vw, 50px) clamp(20px, 7vw, 45px);
        margin-top: 20px;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

    nav.horizontally .navbar-nav>li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav>li.open:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
        top: auto;
    }

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

    nav.horizontally li[class*="secondlevel"] {
        margin-bottom: 20px;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        display: block !important;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2 {
        padding-right: 25px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2::after {
        content: "";
        position: absolute;
        display: block;
        right: 10px;
        top: 50%;
        margin-top: -4px;
        width: 8px;
        height: 8px;
        border-radius: 1px;
        border-right: 2px solid rgba(0, 0, 0, 0.3);
        border-bottom: 2px solid rgba(0, 0, 0, 0.3);
        -moz-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transition: border 300ms linear;
        -moz-transition: border 300ms linear;
        -ms-transition: border 300ms linear;
        -o-transition: border 300ms linear;
        transition: border 300ms linear;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #ffffff;
    font-weight: normal;
    letter-spacing: 1px;
    line-height: 1.2;
    font-family: "ABCProphet-Bold", 'Arial', sans-serif;
    text-align: left;
    padding: 10px 15px;
    position: relative;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
}

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

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

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"] {
        padding: 8px 0;
        text-align: center;
        font-size: 1.375rem;
    }

    nav.horizontally li[class*="toplevel"]+li {
        margin-left: 5px;
    }

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

    nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
        content: "";
        position: absolute;
        display: block;
        right: 0;
        top: 50%;
        margin-top: -5px;
        width: 5px;
        height: 5px;
        border-left: 1px solid #ffffff;
        border-bottom: 1px solid #ffffff;
        transform: rotate(-45deg);
    }
}

nav.horizontally a[class*="toplevel"]::before {
    content: '';
    position: absolute;
    pointer-events: none;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #9152ff;
    transition: width 300ms linear;
}

/* 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: #fff;
}

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

/* secondlevel + thirdlevel dropdown-box */

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

@media (max-width: 991px) {
    nav.horizontally [class*="toplevel"]>ul {
        padding: 10px 0;
        box-shadow: inset -1px 0px 5px 0 rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"]>ul {
        border-radius: 0 0 10px 10px;
        box-shadow: 0 15px 50px 0 rgba(66, 58, 1, 0.2);
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        height: 40px;
        left: 0;
        right: 0;
        top: -30px;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #003807;
    text-align: left;
    position: relative;
    width: 100%;
    line-height: 1.2;
    text-decoration: none;
}

nav.horizontally a[class*="secondlevel"] {
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: 1px;
    font-family: "ABCProphet-Bold", 'Arial', sans-serif;
    padding: 0 20px 6px 0;
    margin-bottom: 10px;
    font-size: 1.25rem;
    border-bottom: 2px solid #003807;
}

nav.horizontally a[class*="thirdlevel"] {
    font-weight: 400;
    padding: 5px 0;
    font-size: 1.125rem;
    border-bottom: 2px solid transparent;
}

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

    nav.horizontally a[class*="thirdlevel"] {
        padding: 8px 30px;
    }
}

@media (min-width: 992px) {
    nav.horizontally a[class*="thirdlevel"] {
        width: fit-content;
    }

    nav.horizontally a[class*="secondlevel"] {
        padding-right: 35px;
        position: relative;
    }

    nav.horizontally li:is([class*="secondlevel"])>a[data-toggle="dropdown-toggle"]::after {
        content: "";
        position: absolute;
        display: block;
        right: 8px;
        top: 50%;
        margin-top: -6px;
        width: 6px;
        height: 6px;
        border-radius: 1px;
        display: inline-block;
        border-left: 2px solid #003807;
        border-bottom: 2px solid #003807;
        transform: rotate(-45deg);
        transition: border 300ms linear;
    }

    nav.horizontally a[class*="secondlevel"] {
        position: relative;
    }

    nav.horizontally a[class*="secondlevel"]::after {
        content: "";
        position: absolute;
        display: block;
        right: 10px;
        top: 50%;
        margin-top: -4px;
        width: 8px;
        height: 8px;
        border-radius: 1px;
        border-right: 2px solid rgba(0, 0, 0, 1);
        border-bottom: 2px solid rgba(0, 0, 0, 1);
        -moz-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transition: border 300ms linear;
        -moz-transition: border 300ms linear;
        -ms-transition: border 300ms linear;
        -o-transition: border 300ms linear;
        transition: border 300ms linear;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2 {
        padding-right: 25px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2::after {
        content: "";
        position: absolute;
        display: block;
        right: 10px;
        top: 50%;
        margin-top: -4px;
        width: 8px;
        height: 8px;
        border-radius: 1px;
        border-right: 2px solid rgba(0, 0, 0, 1);
        border-bottom: 2px solid rgba(0, 0, 0, 1);
        -moz-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transition: border 300ms linear;
        -moz-transition: border 300ms linear;
        -ms-transition: border 300ms linear;
        -o-transition: border 300ms linear;
        transition: border 300ms linear;
    }
}

/* 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: transparent;
    color: #003807;
    border-color: #9152ff;
}

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

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

#headerpic {
    max-height: 700px;
}

#slider {
    overflow: hidden;
    position: relative;
    /*1920px * 700px*/
    height: 27.4vw;
}

body:not(.index) #headerpic {
    max-height: 400px;
}

body:not(.index) #slider {
    /*1920px * 400px*/
    height: 20.84vw;
}

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

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

@media (max-width: 991px) {

    #slider-onebanner,
    #slider .nivo-box>div,
    #slider .nivo-slice>div,
    #slider .nivo-main-image,
    #slider div[style*='background-size'] {
        background-attachment: unset !important;
        background-size: 100% auto !important;
    }
}

#headerpic {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.slider-mask {
    display: none;
}

/* #region -------------------------------- scroll bottom --------------------------------------- */

#scrollBottom {
    font-size: 0;
    border-radius: 50%;
    display: block;
    width: 50px;
    height: 50px;
    text-align: center;
    background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="60px" viewBox="0 -960 960 960" width="60px" fill="%23843dff"><path d="M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z"/></svg>') top -3px center no-repeat, #ffffff;
    transition: all .2s ease-in;
    position: absolute;
    left: calc(50% - 20px);
    bottom: 20px;
    z-index: 50;
}

@media (min-width: 768px) {
    #scrollBottom {
        bottom: 35px;
    }
}

#scrollBottom:is(:hover, :focus) {
    background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="60px" viewBox="0 -960 960 960" width="60px" fill="%23003807"><path d="M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z"/></svg>') top -3px center no-repeat, #ffffff;
}

/* #endregion ----------------------------- scroll bottom --------------------------------------- */

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

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

.index main {
    padding-top: clamp(40px, 4vw, 65px);
}

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

@media (min-width: 992px) {
    .index #content {
        padding-bottom: 0;
        padding-top: 0;
    }
}

.index #contenttop_right,
.index #breadcrumbincontent,
.index #content_footer {
    display: none;
}

.index #aboveContent {
    margin: 0;
}

/* #region ----------------------------- tabSpecialHeadline ------------------------------------- */

.tabSpecialHeadline {
    font-size: 1rem;
}

.tabSpecialHeadline :is(h1, h2, h3, h4, h5, h6) {
    text-transform: none;
    position: relative;
    margin: 0;
    font-family: "ABCProphet-Bold", 'Arial', sans-serif;
}

.tabSpecialHeadline :is(i, em) {
    font-style: normal;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: 1px;
    font-family: "ABCProphet-Bold", 'Arial', sans-serif;
}

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

#news .tab_link_mehr a,
.tabSpecialButton a {
    color: #843dff;
    font-weight: 700;
    line-height: 1.2;
    font-size: 1.375rem;
    border-radius: 10px;
    background: #fff;
    border: 2px solid #003807;
    text-decoration: none;
    padding: 10px 85px 10px 35px;
    display: inline-block;
    width: auto;
    position: relative;
    line-height: 1.2;
    overflow: hidden;
    transition: color 300ms linear, background 300ms linear, border 300ms linear;
}

#news .tab_link_mehr a {
    color: #ffffff;
    border-color: #fff;
    background: #003807;
    font-size: 1.125rem;
    margin-top: 10px;
}

#news .tab_link_mehr a:is(:hover, :focus),
.tabSpecialButton a:is(:hover, :focus) {
    color: #ffffff;
    background: #003807;
    border-color: #003807;
}

#news .tab_link_mehr a::after,
.tabSpecialButton a::after {
    content: "\00BB";
    position: absolute;
    width: 50px;
    text-align: center;
    right: 0;
    top: 0;
    bottom: 0;
    color: #000001;
    font-family: "Helvetica", 'Arial', sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 42px;
    border-left: 2px solid #843dff;
    background: #843dff;
    transition: border 300ms linear, background 300ms linear, color 300ms linear;
}

#news .tab_link_mehr a::after {
    background: #003807;
    border-left-color: #fff;
    color: #ffffff;
    font-size: 24px;
    line-height: 39px;
}

#news .tab_link_mehr a:is(:hover, :focus) {
    background: #fff;
    border-color: #843dff;
    color: #003807;
}

#news .tab_link_mehr a:is(:hover, :focus)::after {
    background: #fff;
    border-color: #843dff;
    color: #003807;
}

.tabSpecialButton .btgrid>.row {
    align-items: center;
}

/* #endregion -------------------------- tabSpecialHeadline ------------------------------------- */

/* #region ------------------------------------ news -------------------------------------------- */

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

#news .tab_link_entries {
    display: grid;
    gap: 30px;
    margin-top: clamp(30px, 4vw, 60px);
}

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

@media (min-width: 1200px) {
    #news .tab_link_entries {
        grid-template-columns: repeat(4, 1fr);
    }
}

#news .tab_link_entry {
    font-size: 1.125rem;
    color: #003807;
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    margin-top: 20px;
    padding: 30px 20px 30px 20px;
    border: 2px solid #003807 !important;
    hyphens: auto;
}

#news .tab_link_title a {
    font-weight: normal;
    font-family: "ABCProphet-Bold", 'Arial', sans-serif;
    font-size: 1.375rem;
    display: block;
    color: #003807;
    margin-bottom: 20px;
    line-height: 1.2
}

#news .tab_date {
    font-size: 1rem;
}

#news .tab_spacer {
    height: 5px;
}

#news .tab_preview_picture {
    display: none;
}

/* #endregion --------------------------------- news -------------------------------------------- */

/* #region ----------------------------------- events ------------------------------------------- */

#events {
    padding-top: clamp(30px, 3vw, 50px);
    padding-bottom: clamp(40px, 5vw, 85px);
}

#events>.row {
    row-gap: clamp(30px, 4vw, 60px);
}

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

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

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

#events .tab_link_entry {
    font-size: 1.25rem;
    color: #003807;
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #003807 !important;
    padding: 255px 20px 60px 20px;
}

.clndr {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #003807 !important;
    padding: 20px;
}

#events .tab_link_entry::after {
    content: "";
    position: absolute;
    display: block;
    top: 175px;
    left: 0;
    right: 0;
    width: 50px;
    height: 50px;
    margin: auto;
    border: 2px solid #003807;
    background: #ffffff url('../img/icon-aktuelles.png') center no-repeat;
    border-radius: 50%;
    z-index: 2;
}

#events .tab_link_entry .tab_link_title a::before,
#events .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 200px;
    overflow: hidden;
    z-index: 1;
}

#events .tab_link_entry .tab_link_title a::before {
    content: "";
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#events .tab_preview_picture img {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#events .tab_link_entries a {
    color: inherit;
}

#events .tab_link_title a {
    font-weight: 700;
    font-size: 1.375rem;
    color: #003807;
    font-size: 1.25rem;
    line-height: 1.2;
    font-family: "ABCProphet-Bold", 'Arial', sans-serif;
}

#events .tab_link_entry:not(:last-of-type, :nth-child(5)) {
    padding-bottom: 25px;
    border-bottom: 2px solid #9152ff;
}

@media (min-width: 576px) {
    #events .tab_link_entry:nth-last-of-type(2) {
        padding-bottom: 0;
        border-bottom: 0;
    }
}

@media (min-width: 992px) {
    #events .tab_link_entry:nth-last-of-type(3) {
        padding-bottom: 0;
        border-bottom: 0;
    }
}

#events :is(.tab_link_mehr, .tab_spacer, .vorschau) {
    display: none !important;
}

/* #endregion -------------------------------- events ------------------------------------------- */

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #003807;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: 1px;
    font-family: "ABCProphet-Bold", 'Arial', sans-serif;
}

h1,
.h1,
.legacy_h1,
.tabSpecialHeadline :is(h1, h2, h3, h4, h5, h6) {
    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;
}

.ds-toggle :is(h1, h2, h3, h4, h5, h6) {
    color: #fff;
}

/* #region -------------------------------- footerwrapper --------------------------------------- */

.footerwrapper {
    color: #ffffff;
    font-size: 1rem;
    position: relative;
    background: #00520b;
}

.footerwrapper>.row {
    row-gap: 30px;
}

.footerwrapper>.row:first-child {
    padding: 40px 0 5px 0;
}

@media (min-width: 992px) {
    .footerwrapper>.row:first-child {
        padding-top: clamp(30px, 5vw, 50px);
    }

    .footerwrapper>.row:first-child>*:not(:first-child) {
        padding-bottom: 25px;
    }
}

.footerwrapper>.row:last-child {
    padding: 0 0 40px 0;
}

.footerwrapper a {
    color: #c8a8ff;
}

.footerwrapper .tabHeadline {
    margin-bottom: 10px;
    font-size: 1.875rem;
    color: inherit;
}

.tabSocial .tabHeadline {
    margin: 0;
    font-weight: 400;
    width: auto;
    font-size: 1.125rem;
    font-family: "Helvetica", 'Arial', sans-serif;
}

.tabSocial a {
    display: block;
    color: #c8a8ff;
}

.tabSocial a img {
    vertical-align: middle;
}

.footerwrapper .tab2 {
    line-height: 1.8;
}

.footerwrapper .tab2 a:is(:hover, :focus) {
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    text-decoration-color: #c8a8ff;
}

.footerwrapper .theme {
    line-height: 1.6;
}


.tabButtons :is(p+p, a+a) {
    margin-top: 20px;
}

.footerwrapper .theme a:is([href^="mailto:"], [href^="tel:"]) {
    text-decoration-thickness: 2px;
}

.footerwrapper .theme a:not([href^="mailto:"]):not([href^="tel:"]),
.tabButtons a {
    hyphens: auto;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    font-size: 1.375rem;
    border-radius: 10px;
    border: 2px solid #ffffff;
    text-decoration: none;
    padding: 10px 75px 10px 20px;
    display: inline-block;
    position: relative;
    line-height: 1.2;
    background: #003807;
    transition: color 300ms linear, border 300ms linear;
}

.footerwrapper .theme a:not([href^="mailto:"]):not([href^="tel:"]) {
    font-size: 1rem;
}

.footerwrapper .theme a:not([href^="mailto:"]):not([href^="tel:"]):is(:hover, :focus),
.tabButtons a:is(:hover, :focus) {
    color: #c8a8ff;
    border-color: #ae80ff;
}

.tabButtons a::after {
    content: "\00BB";
    position: absolute;
    width: 50px;
    text-align: center;
    right: 0;
    top: 0;
    bottom: 0;
    font-family: "Helvetica", 'Arial', sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 35px;
    border-left: 2px solid #ffffff;
    transition: border 300ms linear;
}

.tabButtons a:is(:hover, :focus)::after {
    border-color: #ae80ff;
}

.tabSocial {
    gap: 10px 30px;
}

.tabSocial .template-page {
    width: auto;
}

.tabSocial :is(p+p, a+a) {
    margin-left: 20px;
}

/* #endregion ----------------------------- footerwrapper --------------------------------------- */

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

@media (min-width: 992px) {
    #scrollTopBtn {
        position: fixed;
        width: 75px;
        height: 75px;
        left: 50px;
        bottom: 30px;
        font-size: 0;
        display: block;
        border-radius: 10px;
        background: url('../img/arrowtop.png') center no-repeat, #9152ff;
        z-index: 102;
    }
}

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

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

#vernetzt span span {
    display: block;
}

#vernetzt strong {
    color: #ffffff;
}

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

#innerfooter {
    padding: 25px 0;
    background: #003807;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 5px;
    display: inline-block;
}

#innerfooter a:is(:hover, :focus) {
    color: #ae80ff;
}

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

    #innerfooter li+li {
        margin-left: clamp(15px, 5vw, 50px);
    }
}

/* ------------------------------------------- resp. --------------------------------------------- */

@media (max-width: 991px) {

    #news,
    #events,
    nav.horizontally,
    .footerwrapper,
    #innerfooter {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* --------------------------------------------- contrast --------------------------------------- */

.contrast_dark :is(#language, #style, #contrast_style) {
    background-color: #ffffff !important;
}

.contrast_dark #contrast_style button {
    background-color: #ffffff !important;
}

.contrast_light_font form [id^="search_submit"] {
    background-color: #ffffff !important;
}

.contrast_light_font form[id^="search"] {
    background: #ffffff !important;
}

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

#scrollBottom a.contrast_dark_font:is(:hover, :focus)::after {
    border-color: rgba(0, 0, 0, 0.5) !important;
}

#scrollBottom a.contrast_light_font:is(:hover, :focus)::after {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

:is(.contrast_light_font, .contrast_dark_font) #news .tab_link_title a::before,
:is(.contrast_light_font, .contrast_dark_font) .tab_link_title a::after {
    display: none !important;
}

.contrast_dark_font .tabSocial img,
.contrast_dark_font #logo img,
.contrast_dark_font #vernetzt img {
    background-color: #000000;
}

#logo .contrast_dark img {
    background: #fff;
}

.navbar-default .navbar-nav>li:is(.contrast_light_font, .contrast_dark_font) .dropdown-menu>li:first-child,
.navbar-default .navbar-nav>li:is(.contrast_light_font, .contrast_dark_font) .dropdown-menu>li:last-child {
    display: none !important;
}