body {
    font-family: "EuclidFlex", sans-serif !important;
    color: #343434;
    background: #f5f3f3;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #953809;
}

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


b,
strong {
    font-weight: 600;
}


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

#topbar {
    background: #85a489;
}

#topbar .paddingLeft {
    padding-left: 0;
}

@media (min-width: 576px) {
    #topbar .socialMedia img {
        margin-left: auto;
    }
}

#topbar .socialMedia img {
    display: block;
}


#search {
    height: 33px;
    display: inline-block;
    position: relative;
}

@media (min-width: 576px) {
    #search {
        border-left: 2px solid rgba(0, 0, 0, 0.1);
        padding-left: 30px;
    }

}

#search label {
    font-weight: 500;
    color: #191919;
    font-size: 0.875rem;
}

#search_input {
    color: #424242;
    font-size: 0.875rem;
    font-style: italic;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 33px;
    padding-left: 10px;
    padding-right: 43px;
    height: 33px;
    width: 100%;
}

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

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

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

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

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

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

#logo {
    display: inline-block;
    z-index: 12;
    position: relative;
}

#logo img {
    display: block;
}


#logo img {
    margin-bottom: -35px;

}

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

}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        padding: 10px 0;
        background-color: #356442;
    }

    .is-sticky #menu {
        position: relative !important;
    }

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

    #burgerButton:before,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #356442;
        border-radius: 2px;
        position: absolute;
        width: 30px;
        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: 5px;
    }

    #burgerButton:before {
        top: 13px;
    }

    #burgerButton:after {
        top: 21px;
    }

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

    .navbar-nav {
        margin: 0;
    }

    .navbar-collapse {
        top: 0;
        background: #356442;
        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: 40px;
        width: 50px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 30px;
        right: 7px;
        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);
        transition: top 200ms linear;
    }

    .is-sticky .navbar-header {
        top: 10px;
    }

    .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: #356442;
        -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
        box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
        border-top: 30px solid #85a489;
    }

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

    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: #fff;
    font-weight: 400;
    text-align: left;
    padding: 10px 35px 10px 15px;
    position: relative;
    font-size: 1.4375rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}


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

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

@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: 25px 0;
        border-radius: 0 0 20px 20px;
        box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        left: 50%;
        -moz-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        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: #356542 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: -25px;
        margin-left: 20px;
    }

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #343434;
    font-weight: 500;
    text-align: left;
    padding: 8px 25px;
    font-size: 1.125rem;
    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: 9px 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 {
    background: #396742;
    color: #fff;
}

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


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

#headerpic {
    border-bottom: 6px solid #346442;
}

#slider {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

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

    body.index #slider {
        max-height: 570px;
    }

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

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

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
}

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

.slider-mask {
    display: none;
}

@media (min-width: 768px) {
    #overlay {
        position: absolute;
        bottom: -33px;
        pointer-events: none;
        left: 0px;
        right: 0px;
        z-index: 12;
    }
}

@media (min-width: 768px) {
    #headerpic .nivo-controlNav {
        top: 40px;
        bottom: unset;
    }
}

#overlay .tabContentWrapper {
    background: #fff;
    border-radius: 20px;
    padding: 40px 40px 40px 40px;
    font-size: clamp(1.5625rem, 2vw, 1.875rem);
    font-weight: 400;
    color: #376542;
    box-shadow: 0 7px 16px 0 rgba(0, 0, 0, 0.15);
    pointer-events: all;
}

#overlay .tabContent {
    padding-bottom: 15px;
    border-bottom: 2px solid #c8c8c8;
}

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

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

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

@media (min-width: 768px) {
    .index #content {
        padding-top: 80px;
    }

    body:not(.index) #content>.row::after {
        width: 417px;
        height: 292px;
        content: '';
        pointer-events: none;
        display: block;
        border-bottom-left-radius: 290px;
        background-color: #d9deda;
        position: absolute;
        right: -359px;
        top: -80px;
        z-index: -1;
    }

}


body:not(.index) #content>.row::after {
    top: -30px;
}

@media (min-width: 992px) {
    #content {
        padding-bottom: 60px;
        padding-top: 30px;
    }

    .index #content {
        padding-top: 80px;
    }
}


/* ------------------------------------------ tabRow----------------------------------------- */

#tabRow {
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 45px;
    margin-bottom: 60px;
    padding: 10px 0;
}

#tabRow .tabHeadline {
    font-size: clamp(1.875rem, 3vw, 2.8125rem);
}

#bannerElement {
    position: relative;
    max-width: 540px;
    z-index: 12;
    margin-top: -56px;
}

@media (max-width: 767px) {
    #tabRow {
        padding-top: 60px;
    }

    #bannerElement {

        margin-top: 50px;

    }
}


@media (min-width: 768px) and (max-width: 1199px) {
    #bannerElement::after {
        width: 100%;
        background-size: contain;
        content: '';
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="603px" height="502px"><defs><filter id="Filter_0"><feFlood flood-color="%23396742" flood-opacity="1" result="floodOut" /><feComposite operator="atop" in="floodOut" in2="SourceGraphic" result="compOut" /><feBlend mode="normal" in="compOut" in2="SourceGraphic" /></filter></defs><g filter="url(%23Filter_0)"><path fill-rule="evenodd" fill="rgb(55, 101, 66)" d="M149.123,237.615 C167.500,176.682 114.913,124.247 141.263,74.625 C162.542,34.554 229.886,38.271 327.650,15.049 C367.030,5.695 396.768,-2.961 441.515,1.592 C473.602,4.857 566.393,20.615 594.879,86.989 C610.669,123.781 599.828,159.914 592.771,183.781 C567.390,269.626 557.581,344.268 523.019,387.116 C447.593,480.627 330.117,499.777 265.731,501.077 C137.420,503.668 -1.387,439.300 0.012,383.371 C1.310,331.437 124.166,320.361 149.123,237.615 Z"/></g></svg>');
        height: 520px;
        display: block;
        position: absolute;
        right: -25px;
        top: -10px;
        z-index: -1;
        background-position: right top;
        background-repeat: no-repeat;
    }
}

@media (min-width: 1200px) {
    #bannerElement::after {
        width: 610px;
        content: '';
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="603px" height="502px"><defs><filter id="Filter_0"><feFlood flood-color="%23396742" flood-opacity="1" result="floodOut" /><feComposite operator="atop" in="floodOut" in2="SourceGraphic" result="compOut" /><feBlend mode="normal" in="compOut" in2="SourceGraphic" /></filter></defs><g filter="url(%23Filter_0)"><path fill-rule="evenodd" fill="rgb(55, 101, 66)" d="M149.123,237.615 C167.500,176.682 114.913,124.247 141.263,74.625 C162.542,34.554 229.886,38.271 327.650,15.049 C367.030,5.695 396.768,-2.961 441.515,1.592 C473.602,4.857 566.393,20.615 594.879,86.989 C610.669,123.781 599.828,159.914 592.771,183.781 C567.390,269.626 557.581,344.268 523.019,387.116 C447.593,480.627 330.117,499.777 265.731,501.077 C137.420,503.668 -1.387,439.300 0.012,383.371 C1.310,331.437 124.166,320.361 149.123,237.615 Z"/></g></svg>');
        height: 520px;
        display: block;
        position: absolute;
        right: -25px;
        top: -10px;
        z-index: -1;
        background-position: right top;
        background-repeat: no-repeat;
    }
}


#bannerElement .buttonStyle a {
    aspect-ratio: 1 / 1;
    background: #953809;
    border-radius: 50%;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    width: 125px;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.15);
    transition: transform 200ms linear;
    text-decoration: none;
}

@media (min-width: 768px) {
    #bannerElement .buttonStyle {
        position: absolute;
        right: 100px;
        bottom: -50px;
    }
}


#bannerElement .buttonStyle a:hover,
#bannerElement .buttonStyle a:focus {
    transform: scale(1.05);
}

/* ------------------------------------------ highlightRow----------------------------------------- */

#highlightRow {
    padding-top: 60px;
    padding-bottom: 60px;
}

#highlightRow .tabHeadline {
    font-size: clamp(1.875rem, 3vw, 2.8125rem);
    margin-bottom: 40px;
}

#highlightRow img {
    border-radius: 50%;
    border: 8px solid #97ad9a;
}

#highlighRow h3 {
    font-size: 1.5625rem;
}


#highlightRow a strong:not(.has-image):not([rel]) {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 10px;
    background: #396742;
    font-weight: 500;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
}

#highlightRow a strong:not(.has-image):not([rel]):hover,
#highlightRow a strong:not(.has-image):not([rel]):focus {
    background: #953809;
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #376542;
    font-weight: 500;
    line-height: 1.2;
    font-family: "EuclidFlex", sans-serif !important;
}

h1,
.h1,
.legacy_h1 {
    font-size: 1.7rem;
}

@media (min-width: 768px) {

    h1,
    .h1,
    .legacy_h1 {
        font-size: 3.125rem;
    }
}

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

@media (min-width: 768px) {

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

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

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

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

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

#newslinks,
#newsmandate {
    border: 1px solid #2e3c48;
}


/* ------------------------------------------ events----------------------------------------- */

#events {
    padding-top: 80px;
    padding-bottom: 180px;
    position: relative;
    font-size: 1rem;
    background: #ebebeb;
    z-index: 12;
}

#events .tab_link_title a {
    color: #343434;
    font-weight: 700;
    font-size: 1.25rem;
}

#events .tab_link_mandat a {
    color: #343434;
}

#eventsWrapper {
    background-color: #fff;
    position: relative;
    border-top-right-radius: 180px;
    border-bottom-left-radius: 100px;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.1);
    max-width: 1170px;
    width: 100%;
    margin: auto;
    padding: 40px 60px;
}


#eventsWrapper .row {
    width: 100% !important;
}

@media (min-width: 992px) {
    #eventsWrapper::before {
        content: '';
        pointer-events: none;
        left: -60px;
        right: -47px;
        top: 60px;
        bottom: -90px;
        background: #d9deda;
        display: block;
        position: absolute;
        border-top-right-radius: 118px;
        border-bottom-left-radius: 100px;
        z-index: -1;
    }
}


#events .tabHeadline {
    color: #396742;
    font-weight: 500;
    font-size: clamp(1.875rem, 3vw, 2.8125rem);
}

#events .tab_link_entry {
    padding: 70px 20px 20px 20px;
    background: #f9f9f9;
    position: relative;
    margin-bottom: 24px;
    min-height: 106px;
    border-radius: 10px;
    color: #343434;
}

@media (min-width:576px) {
    #events .tab_link {
        padding-right: 70px;
    }

    #events .tab_link_entry {
        padding: 20px 70px 20px 120px;
        border-radius: 10px 60px 10px 10px;
    }
}

#events .tab_link_entry::before {
    color: #ffffff;
    font-weight: 400;
    background: #fff;
    text-align: center;
    line-height: 1;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 50px 15px 10px 15px;
    font-size: 0;
    border-radius: 10px 10px 0 0;
}

@media (max-width: 575px) {
    #eventsWrapper {
        border-top-right-radius: 50px;
        border-bottom-left-radius: 50px;
        padding: 30px 15px;
    }

    #events .tab_link_entry::before {
        background-size: 60px auto;
        background-repeat: no-repeat;
    }
}


#events .nivoSlider,
#events .banner {
    border-top-right-radius: 180px;
    overflow: hidden;
    position: absolute !important;
    top: -40px;
    left: 0px;
    right: -75px;
    bottom: -40px;
    width: unset !important;
    height: unset !important;
}

#events .nivoSlider img,
#events .banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


@media (min-width: 768px) {
    #events .tab_link_entry::before {
        border-radius: 10px 0 0 10px;
    }
}

@media (min-width:576px) {
    #events .tab_link_entry::before {
        right: auto;
        bottom: 0;
        width: 101px;
        padding: 65px 0 20px 0;
    }
}

/* ----------------------------------------- events button ---------------------------------------- */

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

@media (min-width: 992px) {
    #events .tab_link_mehr {
        position: absolute;
        right: -60px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 12;
    }
}

#events .tab_link_mehr a {
    background: #953809;
    font-weight: 500;
    color: #ffffff;
    padding: 20px;
    position: relative;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
    line-height: 1;
    transition: transform 200ms linear;
    border-radius: 5px;
}

@media (min-width: 992px) {
    #events .tab_link_mehr a {
        border-radius: 50%;
        height: 125px;
        width: 125px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

#events .tab_link_mehr a:hover,
#events .tab_link_mehr a:focus {
    transform: scale(1.05);
}

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

footer {
    background-color: #2d5d36;
    padding-top: 15px;
    padding-bottom: 15px;
    color: #ffffff;
}

@media (max-width: 767px) {
    footer .row>.col-xs-12:not(:first-child)::before {
        background: #000000;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 0;
        opacity: 0.2;
    }

    footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
    footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-size: 0.9375rem;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
}

#innerfooter a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    transition: width 200ms linear;
}

#innerfooter a:hover::after,
#innerfooter a:focus::after {
    width: 44px;
}

#innerfooter li+li::before {
    content: "";
    margin: 0 8px;
    color: #ffffff;
}


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

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 300;
    display: inline-block;
    text-decoration: none;
}

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

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