@import url("https://fonts.verwaltungsportal.de/import/?family=Jost:300,400,500,600,700,300i,400i,500i,600i,700i");

body {
    font-family: "Jost", sans-serif;
    color: #222222;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #b92327;
}

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


b, strong {
    font-weight: 600;
}


#overflow {
    overflow: hidden;
}



#optionsbar {
    position: relative;
}

@media (min-width: 992px) {
    #optionsbar {
        position: absolute;
        top: 128px;
        left: 30px;
        z-index: 55;
        width: 100%;
        overflow: hidden;
    }

    #optionsbar>.row {
        padding: 5px 0;
    }

    #optionsbar>.row::before {
        content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -50%;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8); 
    clip-path: polygon(0 0, 100% 0%, 98% 100%, 0% 100%);
    }
}

@media (min-width: 992px) {
    #style {
        display: inline-block;
        margin-right: 20px;
    }
    #style button {
        border: none;
        color: #444444;
        display: inline-block;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        font-weight: 400;
        text-align: center;
        background-color: #fdfcfb;
        position: relative;
        line-height: 1;
        -webkit-transition: transform 150ms linear;
        -moz-transition: transform 150ms linear;
        -ms-transition: transform 150ms linear;
        -o-transition: transform 150ms linear;
        transition: transform 150ms linear;
    }
    #style button+button {
        margin-left: 8px;
    }
    #style button:hover {
        background-color: #b8cb88;
    }
    #style button:focus-visible {
        outline: 2px auto;
    }
}


#search {
    height: 30px;
    display: inline-block;
    position: relative;
}
#search_input {
    color: #58453a;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 30px;
    padding-left: 10px;
    padding-right: 43px;
    height: 30px;
    width: 100%;
}
#search_submit {
    width: 33px;
    background: url('../img/icon-search.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 30px;
    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;
    border-left: 1px solid #7ca12b;
}

#search_input::-ms-input-placeholder {
    color: #58453a !important;
}
#search_input::-webkit-input-placeholder {
    color: #58453a !important;
}
#search_input::-moz-placeholder {
    opacity: 1;
}
#search_input:-moz-placeholder {
    opacity: 1;
}

#search2 {
    height: 30px;
    display: inline-block;
    position: relative;
    background-color: #fff;
}
#search_input2 {
    color: #58453a;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 30px;
    padding-left: 10px;
    padding-right: 43px;
    height: 30px;
    width: 100%;
}
#search_submit2 {
    width: 33px;
    background: url('../img/icon-search.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 30px;
    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;
    border-left: 1px solid #7ca12b;
}
/*--------------------- @14b ---------------------*/

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

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

@media (min-width: 992px) {
    #logo::before {
        content: '';
        display: block;
        height: 87px;
        width: 20vw;
        position: absolute;
        top: -26%;
        background: linear-gradient(-90deg, #547a00, #7ca12b);
        z-index: -1;
    }
}

@media (min-width: 1200px) {
    #logo::before {
        height: 99px;
        width: 32vw;
        top: -22%;
        right: -30px;
    }
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo {
        padding: 15px;
        background-color: rgba(84, 122, 0, 0.6);
        border-radius: 20PX;
        margin-bottom: 20PX;
        margin-top: 20PX;
    }

    #logo img {
        max-width: 210px;
        width: 100%;
    }

    #logo::before {
        width: 60vw;
    }
}

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

/* burgermenu for tablet */

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

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

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

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

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

    #burgerButtonInner {
        top: 10px;
    }

    #burgerButton:before {
        top: 18px;
    }

    #burgerButton:after {
        top: 26px;
    }

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

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

    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

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

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

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

/* menu desktop */

.is-sticky .horizontally {
    left: 0;
    right: 0;
    width: 100% !important;
}

@media (max-width: 991px) {
    .is-sticky .horizontally {
        background: #547a00;
    }
}

@media (min-width: 992px) {
    #nav-container {
        position: absolute;
        top: 30px;
        left: 30px;
        right: 30px;
        z-index: 150;
    }

    .horizontally {
        padding: 15px 0;
        background: #ffffff;
        -webkit-box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
        box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    }

    .is-sticky #logo::before {
        width: 38vw;
        left: -18vw;
    }

    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }

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

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

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

    /* Pseudo */

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

    /* 3rd */

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

    /* Fade in Hover End */
}


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

.navbar-default .navbar-nav>li>a {
    color: #444444;
    font-weight: 700;
    text-align: center;
    padding: 10px 35px 15px 35px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 20px;
    }

    .navbar-default .navbar-nav>li>a {
        padding: 18px 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

@media (min-width: 1200px) {
    .navbar-default .navbar-nav>li>a {
        font-size: 1.125rem;
    }
}

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

.navbar-default .navbar-nav>li>a::before {
    content: "...";
    display: block;
    font-size: 3.1rem;
    color: #b92327;
    position: absolute;
    left: calc(50% - 22px);
    bottom: -5px;
    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-nav>li>a:hover, .navbar-nav>li>a:focus,
.navbar-nav>li.open>a, .navbar-nav>li.open>a:hover,
.navbar-nav>li.open>a:focus,
.navbar-nav>li[class$="_over"]>a,
.navbar-nav>li[class$="_over"]>a:hover,
.navbar-nav>li[class$="_over"]>a:focus {
    color: #222;
    background-color: transparent;
}

.navbar-nav>li>a:hover::before,
.navbar-nav>li>a:focus::before,
.navbar-nav>li.open>a::before,
.navbar-nav>li.open>a:hover::before,
.navbar-nav>li.open>a:focus::before,
.navbar-nav>li[class$="_over"]>a::before,
.navbar-nav>li[class$="_over"]>a:hover::before,
.navbar-nav>li[class$="_over"]>a:focus::before {
    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: #ffffff;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 40px;
        padding-bottom: 40px;
    }

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #444444;
    font-weight: 400;
    text-align: left;
    padding: 9px 40px;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
    position: relative;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: "...";
    display: block;
    font-size: 3.1rem;
    color: #b92327;
    position: absolute;
    left: -7px;
    bottom: 0;
    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;
}

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

.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    color: #444444;
}

.navbar-nav>li>.dropdown-menu>li>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>a:focus::before,
.navbar-nav>li>.dropdown-menu>li.open>a::before,
.navbar-nav>li>.dropdown-menu>li.open>a:hover::before,
.navbar-nav>li>.dropdown-menu>li.open>a:focus::before,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a::before,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover::before,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus::before {
    opacity: 1;
}

/* ------------------------------------------ Banner ------------------------------------------ */

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    max-height: 860px;
    padding: 30px 30px 0 30px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (min-width: 1200px) {
    #headerpic::before {
        content: '';
        display: block;
        position: absolute;
        bottom: -1px;
        left: 0px;
        right: 0px;
        width: 100%;
        height: 283px;
        background: url('../img/slider-mask.png') center bottom no-repeat;
        z-index: 30;
    }
}

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

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

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

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

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

    #headerpic .nivo-controlNav {
        -moz-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        max-width: 800px;
        top: 0;
        left: 29%;
    }
}

@media (min-width: 1200px) {
    #headerpic .nivo-controlNav {
        left: 44%;
    }
    .index #headerpic .nivo-controlNav {
        left: 39%;
    }
}

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

.slider-mask {
    display: none;
}

@media (min-width: 992px) {
    .slider-mask {
        display: block;
        background: linear-gradient(-90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    }
}

/*  Banner Dots + Arrows  */

.theme-default .nivo-controlNav a {
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 50%;
    width: 14px;
    height: 13px;
    margin: 0 5px;
    position: relative;
}

.theme-default .nivo-controlNav .active {
    background: #ffffff;
}

@media (min-width: 992px) {
    .theme-default .nivo-controlNav a:not(:first-child):before {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background: #ffffff;
        position: absolute;
        top: 42%;
        left: -100%;
    }
}

.theme-default .nivo-directionNav .nivo-nextNav {
    background: url('../img/arrow.png') center bottom no-repeat;
}

.theme-default .nivo-directionNav .nivo-prevNav {
    background: url('../img/arrow.png') center bottom no-repeat;
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* Banner Tab */

@media (min-width: 992px) {
    #bannerOverlay {
        position: absolute;
        top: 35%;
        left: 0;
        right: 0;
        width: 100%;
    }

    #bannerOverlay .tab {
        position: relative;
        z-index: 51;
    }
}

#bannerOverlay .tab {
    font-size: 1.1875rem;
}

#bannerOverlay .tabHeadline {
    color: #444444;
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

#bannerOverlay .tabContent a {
    display: inline-block;
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
    padding: 15px 35px;
    background: #b92327;
    border-radius: 30px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-transform: uppercase;
}

#bannerOverlay .tabContent a::before {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    -webkit-transition: width 0.4s 0s ease;
    -moz-transition: width 0.4s 0s ease;
    -o-transition: width 0.4s 0s ease;
    transition: width 0.4s 0s ease;
}

#bannerOverlay .tabContent a:focus,
#bannerOverlay .tabContent a:hover {
    text-decoration: none;
    color: #444444;
}

#bannerOverlay .tabContent a:focus::before,
#bannerOverlay .tabContent a:hover::before {
    width: 100%;
}

@media (min-width: 992px) {
    #bannerOverlay .tab {
        color: #ffffff;
    }

    #bannerOverlay .tabHeadline {
        color: #ffffff;
        font-size: 1.875rem;
    }
}

/* Scroll Down Button */

#scroll-container {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 51;
}

a#scrollBottomBtn {
    font-size: 0;
    border: 1px solid #ffffff;
    border-radius: 50%;
    position: relative;
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
    pointer-events: auto;
    -webkit-animation: bounceAni 2s infinite 2s;
    animation: bounceAni 2s infinite 2s;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

a#scrollBottomBtn:focus,
a#scrollBottomBtn:hover {
    background-color: #b92327;
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

a#scrollBottomBtn::before {
    content: '';
    display: block;
    border: solid #ffffff;
    border-width: 0 0 2px 2px;
    height: 8px;
    width: 8px;
    position: absolute;
    top: calc(50% - 4px);
    left: calc(50% - 5px);
    -moz-transform: rotate(315deg);
    -webkit-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    -ms-transform: rotate(315deg);
    transform: rotate(315deg);
}

a#scrollBottomBtn::after {
    content: '';
    display: block;
    width: 2px;
    height: 10px;
    background: #ffffff;
    position: absolute;
    left: calc(50% - 1px);
    top: calc(50% - 5px);
}

@keyframes bounceAni {
    0%, 100%, 20%, 50%, 80% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    60% {
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

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

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

.index #content {
    padding-bottom: 50px;
}

.index main {
    padding-bottom: 0px;
}

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

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #547a00;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Jost", sans-serif;
}

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

@media (min-width: 768px) {
    h1, .h1, .legacy_h1 {
        font-size: 2.5rem;
    }
}

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

@media (min-width: 768px) {
    h2, .h2, .legacy_h2 {
        font-size: 2rem;
    }
}

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

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

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

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


/* ---------------------------------------------- 6nw aktuelles ---------------------------------------------- */

#aktuellesBG {
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll, fixed;
    background-size: cover;
    font-size: 1rem;
    position: relative;
}

#aktuellesBG::before {
    content: '';
    display: block;
    position: absolute;
    top: 35px;
    left: 35px;
    height: calc(100% - 70px);
    width: calc(100% - 70px);
    background: rgba(222,233,199,0.85); 
}

#aktuellesBG > div {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (max-width: 991px) {
    #aktuelles {
        background-size: 992px auto;
    }

    #aktuellesBG::before {
        top: 35px;
        left: 5px;
        height: calc(100% - 50px);
        width: calc(100% - 10px);
    }
}

@media (min-width: 992px) {
    #aktuellesBG > div {
        padding-top: 56px;
    padding-bottom: 50px;
    }
}

#aktuelles .tabHeadline {
    margin-bottom: 0;
    color: #547a00;
    font-size: 2.1875rem;
    font-weight: 700;
    margin-bottom: 5px;
}

#aktuelles .tabContent {
    font-size: 1.25rem;
    color: #444444;
}

#aktuelles .tab_link {
    margin-top: 12px;
}

@media (min-width: 768px) {
    #aktuelles .tab_link {
        margin-top: 50px;
    }

    #aktuelles .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #aktuelles .tab_link_entries {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    #aktuelles .tab_link_entries + div {
        width: 50% !important;
        text-align: right;
        margin-left: 50%;
        margin-top: -80px;
    }
}

#aktuelles .tab_link_entry {
    border-bottom: none !important;
    text-align: center;
    position: relative;
    background: #ffffff;
    width: 100%;
    padding: 205px 20px 20px 20px;
    -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) and (max-width: 991px) {
    #aktuelles .tab_link_entry {
        width: calc(50% - 15px);
    }

    #aktuelles .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }

    #aktuelles .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }
}

@media (min-width: 992px) {
    #aktuelles .tab_link_entry {
        width: calc(33.33% - 20px);
    }

    #aktuelles .tab_link_entry:nth-child(3n+1) {
        margin-right: 15px;
    }

    #aktuelles .tab_link_entry:nth-child(3n+2) {
        margin-right: 15px;
        margin-left: 15px;
    }

    #aktuelles .tab_link_entry:nth-child(3n+3) {
        margin-left: 15px;
    }
}

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

@media (min-width: 768px) {
    #aktuelles .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }
}

@media (min-width: 992px) {
    #aktuelles .tab_link_entry:nth-child(3) {
        margin-top: 0;
    }
}

#aktuelles .tab_link_entry::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: grey;
    background: url("../img/platzhalterbild-aktuelles.jpg") center / cover no-repeat;
}

#aktuelles .tab_link_entry .tab_preview_picture {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 150px;
    overflow: hidden;
    background: #ffffff;
}

#aktuelles .tab_preview_picture img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

#aktuelles .tab_link_date {
    font-size: 1rem;
    position: absolute;
    left: 50%;
    top: 134px;
    z-index: 1;
    display: inline-block;
    padding: 4px 10px;
    background: #b2c980;
    color: #444444;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    font-weight: 400;
    border-radius: 30px;
}

#aktuelles .tab_link_title a {
    color: #547a00;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

#aktuelles .tab_link_entry > div:nth-last-child(2) {
    color: transparent;
    line-height: 0;
}

#aktuelles .tab_link_entry > div:nth-last-child(2) > a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(84, 122, 0, 0.8), rgba(84, 122, 0, 1) 150px);
    z-index: 1;
    color: #ffffff;
    text-align: center;
    font-size: 0;
    font-weight: 600;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    opacity: 0;
    -webkit-transition: opacity 200ms linear;
    -moz-transition: opacity 200ms linear;
    -ms-transition: opacity 200ms linear;
    -o-transition: opacity 200ms linear;
    transition: opacity 200ms linear;
}

#aktuelles .tab_link_entry:hover div:nth-last-child(2) > a {
    opacity: 1;
}

#aktuelles .tab_link_entry div:nth-last-child(2) > a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -40px;
    margin-top: -60px;
    display: block;
    background: url("../img/mehr-erfahren.png") center no-repeat;
    width: 80px;
    height: 80px;
}

#aktuelles div:nth-last-child(2) > a::after {
    content: "mehr erfahren";
    margin-top: 100px;
    font-size: 1.25rem;
}

#aktuelles a:hover, #aktuelles a:focus {
    text-decoration: none;
  }

  .tab_link_mehr {
    display: none;
  }
/* ----------------------------------------- news button ---------------------------------------- */
  
#aktuelles .tab_link_mehr_main {
    color: transparent;
    font-size: 0;
    text-align: right;
}

#aktuelles .tab_link_mehr_main a {
    background: #b92327;
    font-weight: 700;
    color: #fff;
    padding: 15px 35px 15px 20px;
    position: relative;
    text-decoration: none;
    display: inline-block;
    border-radius: 30px;
}

#aktuelles .tab_link_mehr_main a::before {
    content: "zu allen Kursen";
    font-size: 1rem;
    text-transform: uppercase;
}

#aktuelles .tab_link_mehr_main a::after {
    content: "\203A";
    display: block;
    position: absolute;
    right: 0;
    top: 14px;
    bottom: 9px;
    width: 35px;
    text-align: center;
    font-size: 16px;
}

#aktuelles .tab_link_mehr_main a:hover,
#aktuelles .tab_link_mehr_main a:focus {
    background: #547a00;
    color: #ffffff;
}



/* ------------------------------------------ 19ev ----------------------------------------- */

#ev19 {
  position: relative;
  padding-top: 200px;
  padding-bottom: 100px;
}

@media (max-width: 991px) {
    #ev19 {
        padding-top: 80px;
      }
}

@media (min-width: 1200px) {
    #ev19 {
        background: url('../img/sportler-sg-tab-links.png') bottom left 20px no-repeat;
    }
}

#ev19>.row {
    position: relative;
    z-index: 3;
}

#ev19>.row::after {
    content: '';
    display: block;
    position: absolute;
    top: -110px;
    right: -190px;
    height: 367px;
    width: 237px;
    background: url('../img/sportler-sg-tab-rechts.png') top right no-repeat;
    z-index: -1;
}

@media (max-width: 767px) {
  #ev19 {
    padding-bottom: 130px;
    padding-top: 40px;
  }
}

#ev19>.row::before {
  content: '';
  z-index: -1;
  position: absolute;
  left: 0;
  top: -92px;
  width: 470px;
  height: 470px;
  background: #dee9c7;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 1199px) {
  #ev19>.row::before {
    display: none;
  }
}

@media (max-width: 767px) {
  #ev19>.row::before {
    bottom: -92px;
    top: unset;
  }
}


#eventsHeadline {
  font-size: 1.75rem;
  font-size: clamp(1.5625rem, 2vw, 2.1875rem);
  text-transform: uppercase;
  position: relative;
  color: #547a00;
  margin-bottom: 20px;
  font-weight: 700;
  display: inline-block;
}

@media (min-width: 768px) {
  #eventsHeadline {
    margin-bottom: 39px;
  }
}

#eventsBox {
  background-color: #fff;
  position: relative;
  padding: 50px;
  position: relative;
}

#eventsBox::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 20px;
    left: 20px;
    height: 100%;
    width: 100%;
    background: #edf4de; 
    z-index: -1;
}

#eventsBox::after {
    content: '';
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    height: 100%;
    width: 100%;
    background: #dee9c7; 
    z-index: -1;
}

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

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

#eventsBox a {
background: #b92327;
    font-weight: 700;
    color: #fff;
    padding: 15px 35px 15px 20px;
    position: relative;
    text-decoration: none;
    display: inline-block;
    border-radius: 30px;
}

/* ------------------------------------------ 8f footer ---------------------------------------- */

footer{
    background-color: #fff;
    overflow: hidden;
}

#maps_contact {
    padding-top: 60px;
    position: relative;
}

#maps_contact > .row,
#footer {
    position: relative;
    z-index: 2;
}

#maps_contact::before {
    content: '';
    display: block;
    position: absolute;
    top: 35px;
    left: 35px;
    height: calc(100% - 35px);
    width: calc(100% - 70px);
    background: rgba(222,233,199,0.85); 
}

footer .tabHeadline{
    font-size: 1.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
    text-transform: uppercase;
    position: relative;
}

footer a{
    color: #ffffff;
    text-decoration: underline;
}

footer .tab {
    padding: 30px 30px;
  padding-top: 50px;
  background: #547a00;
  height: 100%;
  color: #fff;
}

footer .tab a{
    color: #fff;
    text-decoration: underline;
    font-style: italic;
}

@media (min-width: 992px) {
    footer .tab {
        padding: 56px 115px 30px 30px;
    }
}

@media (min-width: 1200px) {
    footer .tab {
        padding: 56px 115px 30px 115px;
    }
}

.contactBTN {
    display: block;
}

.contactBTN a {
    color: #b92327 !important;
    font-style: normal !important;
    font-weight: 700;
    font-size: 18px;
    padding: 8px;
    text-align: center;
    background-color: #ffffff;
    text-decoration: none !important;
    position: absolute;
    border-radius: 30px;
    top: 0;
    right: 0;
}

@media (max-width: 767px) {
    .contactBTN a {
        position: relative;
    }

    .contactBTN {
        margin-bottom: 30px;
    }
}

.contactBTN a:hover {
    color: #fff !important;
    background: #b92327;
}

@media (min-width: 992px) {
    .noPadding {
        padding-left: 0;
        padding-right: 0;
    } 
}


/* --------------------------------------------- #Footer -------------------------------------------- */

#footer {
    background-color: #fff;
    padding: 20px 0;
}

#footer>.row {
    position: relative;
}

#footer>.row::before {
    content: '';
    display: block;
    position: absolute;
    top: -190px;
    right: -230px;
    height: 230px;
    width: 145px;
    background: url('../img/sportler-footer.png') top right no-repeat; 
}
/* --------------------------------------------- vernetzt -------------------------------------------- */

#vernetzt {
    color: #444444;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    margin: 0 auto;
}

@media (max-width: 767px) {
    #vernetzt {
        margin: 0 0 50px 0;
    }
}

#vernetzt b{
    font-weight: 400;
}

#vernetzt span {
    color: #444444;
}

#vernetzt span span {
    display: block;
}

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


.social a {
   color: #444444;
}


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

footer {
    background-color: #547a00;
    color: #ffffff;
    font-size: 1rem;
    padding-bottom: 40px;
    padding-top: 40px;
}

footer a {
    color: #ffffff;
}

footer a:hover,
footer a:focus {
    color: #ffffff;
}

footer .footerTab {
    font-size: 1rem;
}

footer .tabHeadline {
    color: #fff;
    font-size: 1.375rem;
    font-weight: 700;
}

@media (max-width: 767px) {
    #innerfooter {
        margin-bottom: 30px;
    }
}

#innerfooter ul {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding: 0;
}

#innerfooter li {
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

#innerfooter a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: 6px 10px 6px 25px;
    position: relative;
    text-decoration: none;
    font-style: normal !important;
}

#innerfooter a::before {
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    -webkit-transition: background 300ms linear;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    content: "";
    display: block;
    height: 6px;
    left: 10px;
    position: absolute;
    top: 16px;
    transition: background 300ms linear;
    width: 6px;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
    background: #ffffff;
}