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

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

a {
    color: #df0029;
}

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

b,
strong {
    font-weight: 700;
}

@media (min-width: 1200px) {

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

.news .tab_link_entry.contrast_light_font * {
    background: #000 !important;
}


@media (max-width: 768px) {
    .news .tab_link_entry {
        margin-top: 30px;
    }
}


#burgerButton.contrast_light_font,
#searchbar.contrast_dark_font *,
#tabs .tab.contrast_dark_font *,
.news .tab_link_entry.contrast_dark_font * {
    background-color: #fff !important;
}


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


a:focus {
    outline: 3px solid #2a4a9a !important;
}

button:focus {
    outline: 3px solid #2a4a9a !important;
}

form:focus {
    outline: 3px solid #2a4a9a !important;
}

#search_input:focus,
#search_submit:focus {
    outline: 3px solid #2a4a9a;
}

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


@media (min-width: 992px) {
    #logo {
        left: 0px;
        position: absolute;
        top: -40px;
        z-index: 55;
    }
}

#logo {
    display: inline-block;
    width: 100%;
}

#logo img {
    display: block;
}

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

/* --------------------------------------- Options --------------------------------------- */

/* ------------------------------------------ searchbar ----------------------------------------- */


#searchbar {
    font-size: 1.875rem;
}

@media (min-width: 1200px) {
    #searchbar {
        position: absolute;
        bottom: 240px;
        left: 0;
        right: 0;
        z-index: 12;
    }


    body:not(.index) #searchbar {
        bottom: 40px;

    }
}

@media (max-width: 1199px) {
    #searchbar {
        background-color: #930b06;
    }
}

#searchbar {
    color: #ffffff;
    pointer-events: none;
}

#searchbar .tabHeadline {
    color: #ffffff;
    pointer-events: all;
}

#searchbar .tab {
    pointer-events: all;
}

@media (min-width: 1200px) {
    #searchbar {
        color: #ffffff;
    }

    #searchbar .tabHeadline {
        font-size: 2.5rem;
        margin: 0px;
    }

    #searchbar .tab {
        padding-left: 45px;
        padding-right: 45px;
        pointer-events: all;
    }
}

@media (max-width: 1199px) {
    #searchbar>.row>div {
        padding: 0px 5px;

    }
}


#search {
    pointer-events: all;
    height: 80px;
    background: #ffffff;
    display: inline-block;
    position: relative;
    width: 100%;
    margin-top: 20px;
}

#search_input {
    color: #252525;
    font-size: 18px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 80px;
    padding-left: 80px;
    padding-right: 160px;
    height: 80px;
    width: 100%;
}

@media (max-width: 767px) {
    #search_input {
        padding-left: 40px;
        padding-right: 40px;
    }
}

#search_submit {
    width: 33px;
    background: url('../img/icon-search.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 80px;
    border: none;
    position: absolute;
    top: 0;
    right: 80px;
    height: 100%;
    font-size: 0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
}

#search_submit:hover,
#newsletter_submit:hover {
    background-color: transparent;
    right: 60px;
}

@media (max-width: 767px) {
    #search_submit {
        right: 40px;
    }

    #search_submit:hover,
    #newsletter_submit:hover {
        background-color: transparent;
        right: 30px;
    }
}

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

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

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

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

@media (min-width: 992px) {
    #style {
        display: inline-block;
    }

    #style button {
        border: 2px solid #4f8000;
        color: #222222;
        display: inline-block;
        width: 30px;
        height: 30px;
        font-weight: 400;
        text-align: center;
        background-color: #ffffff;
        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;
        padding: 0;
    }

    #style button+button {
        margin-left: 8px;
    }

    #style button:hover {
        background-color: #4f8000;
        color: #ffffff;
    }
}

#contrast_style {
    margin-left: 20px;
}

#contrast_style button {
    padding: 0;
    border: none;
    color: #58453a;
    display: inline-block;
    width: 30px;
    height: 30px;
    font-weight: 400;
    text-align: center;
    background: #fcf9f0;
    position: relative;
    line-height: 1;
    border: 2px solid #4f8000;
}

#contrast_style button {
    padding: 2px 0 0 0;
}

#contrast_style button+button {
    margin-left: 10px;
}

#contrast_style button:hover,
#contrast_style button:focus {
    color: #58453a;
    background: #e8e8e8;
}



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

#menu {
    position: relative;
    z-index: 100;
    background-color: #ffffff;
    -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);
}

/* burgermenu for tablet */

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

    #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: #0A5A7F;
        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 */

@media (min-width: 992px) {
    #menu {
        padding-top: 40px;
        padding-bottom: 0;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 90;
    }
   
    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;
        margin-top: 20px;
        z-index: 56;
        position: relative;
    }
    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;
    }
    .navbar-nav .open > ul.dropdown-menu {
        position: absolute !important;
      }
    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: #444444;
    font-weight: 400;
    text-align: left;
    padding: 15px 35px 15px 15px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 20px 5px 20px 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;
    }
}

.navbar-default .navbar-nav>li>a::after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    bottom: 0;
    height: 2px;
    left: 50%;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #4f8000;
    -webkit-transition: width 300ms linear;
    -moz-transition: width 300ms linear;
    -ms-transition: width 300ms linear;
    -o-transition: width 300ms linear;
    transition: width 300ms linear;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a::after {
        top: 0;
        bottom: auto;
    }
}

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

.navbar-nav > li:hover > a,
.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: #4f8000;
}

.navbar-nav > li:focus-within > a {
    color: #4f8000;
}

.navbar-nav > li:hover > a::after,
.navbar-nav > li > a:hover::after,
.navbar-nav > li > a:focus::after,
.navbar-nav > li.open > a::after,
.navbar-nav > li.open > a:hover::after,
.navbar-nav > li.open > a:focus::after,
.navbar-nav > li[class$="_over"] > a::after,
.navbar-nav > li[class$="_over"] > a:hover::after,
.navbar-nav > li[class$="_over"] > a:focus::after {
    width: 100%;
}

.navbar-nav > li:focus-within > a::after {
    width: 100%;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu {
    background: #4f8000;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background: #4f8000;
}

@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-top: 10px;
        padding-bottom: 10px;
    }
    .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: #ffffff 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: -30px;
        margin-left: 10px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        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: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px;
    font-size: 1rem;
    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 {
        padding: 13px 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: rgba(255,255,255,1);
    color: #4f8000;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
    background: rgba(255,255,255,1);
    color: #4f8000;
}

/* ------------------------------------------ Logo ------------------------------------------ */

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

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

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

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

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

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


.nivo-controlNav,
.nivo-directionNav {
    display: none !important;
}

@media (min-width: 1200px) {

    #slider {
        height: 600px;
    }
}

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

.slider-wrapper {
    height: 100%;
}

.slider-mask {
    display: none;
}

/* ------------------------------------------ scrollDown ----------------------------------------- */

@media (min-width: 1200px) {
    #scrollDown {
        position: absolute;
        bottom: 160px;
        left: 0;
        right: 0;
        z-index: 12;
    }
}

#scrollBottom a {
    position: relative;
    font-size: 0;
    display: block;
    width: 38px;
    height: 38px;
    text-align: center;
    border: 3px solid #ffffff;
    pointer-events: auto;
    border-radius: 100px;
    margin: 0 auto;
    -webkit-animation: bounceAni 2s infinite 2s;
    animation: bounceAni 2s infinite 2s;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
    color: #fff;
    background-color: rgba(117, 117, 117, 0.9);
}

#scrollBottom a::after,
#scrollBottom a::before {
    position: absolute;
    content: "";
}

#scrollBottom a::after {
    left: 11px;
    top: 14px;
    width: 8px;
    height: 8px;
    display: inline-block;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    -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;
}

#scrollBottom a::before {
    left: 15px;
    top: 11px;
    width: 2px;
    height: 12px;
    background-color: #ffffff;
}

#scrollBottom:hover,
#scrollBottom:focus {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

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


/* ------------------------------------------------ tab14 ----------------------------------------------- */

@media (min-width: 1200px) {
    #tab14>.row>div {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 14.2% !important;
        flex: 0 0 14.2% !important;
        max-width: 14.2% !important;
    }

    #tab14>.row {
        max-width: 1570px;
        width: 100%;
    }
}

#tab14 {
    font-size: 1rem;
}

#tab14 .template-page>.row>div {
    padding: 0;
}


#tab14 .tabContent a {
    color: #ffffff;
    text-align: center;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    text-transform: uppercase;
    position: relative;
    display: block;
}


#tab14 .tabContent a::before {
    content: '';
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 75px;
    height: 75px;
    display: block;
    pointer-events: none;
    position: absolute;
    top: 35px;
    left: calc(50% - 38px);
}

#tab14 .firstab .tabContent a::before {
    background: url('../img/icon-dienstleistungen.png');
}

#tab14 .secondtab .tabContent a::before {
    background: url('../img/icon-kalender.png');
}

#tab14 .thirdtab .tabContent a::before {
    background: url('../img/icon-event.png');
}

#tab14 .tab4 .tabContent a::before {
    background: url('../img/icon-gruppe.png');
}

#tab14 .tab5 .tabContent a::before {
    background: url('../img/icon-info.png');
}

#tab14 .tab6 .tabContent a::before {
    background: url('../img/icon-entdecken.png');
}

#tab14 .tab7 .tabContent a::before {
    background: url('../img/icon-kultur-und-sport.png');
}

#tab14>.row>.col-xs-12 {
    padding: 0px;
}

#tab14 .tab {
    text-align: center;
    color: #fff;
    background-color: #4f8000;
    transition: 500ms cubic-bezier(.65, .05, .36, 1);
    pointer-events: all;
    transition: border, 0ms ease-out;
    position: relative;
}

#tab14 .tabContent a {
    padding: 70px 30px;
}

#tab14 .tabContent h2 {
    margin-bottom: 30px;
}

#tab14 .tabContent {
    max-height: 100%;
    overflow: hidden;
}

#tab14 .tab:focus-within,
#tab14 .tab:hover {
    background: #4f8000;
}

#tab14 .template-page>.row {
    margin: auto;
}

#tab14 .tab a {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

#tab14 .tab a:focus,
#tab14 .tab a:hover {
    text-decoration: none;
}

@media (max-width: 1199px) {
    #tab14 {
        background-color: #4f8000;
        padding-bottom: 15px;
    }

    #tab14>.row>div {
        margin-top: 10px;
    }

    #tab14>.row>div .tab {
        border: 2px solid #ffffff;
    }

    #tab14>.row>.col-xs-12 {
        padding: 0 5px;
    }

    #tab14 .tab {
        padding: 15px;
    }

}

@media (max-width: 1199px) {
    #tab14 .tab {
        min-height: 100%;
    }
}

@media (min-width: 1200px) {
    #tab14 {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        width: 100%;
        height: 900px;
        z-index: 12;
        pointer-events: none;
        top: -450px;
    }

    #tab14>.row>div:nth-of-type(1) .tab {
        border-left: 1px solid #fff;
    }

    #tab14>.row>div:nth-last-of-type(1) .tab {
        border-right: 1px solid #fff;
    }

    #tab14 .tab::after,
    #tab14 .tab::before {
        content: '';
        pointer-events: none;
        height: 1px;
        top: 0px;
        left: 0px;
        right: 0px;
        position: absolute;
        background: #fff;
        display: inline-block;
        opacity: 1;
        transition: all, 600ms;
    }

    #tab14 .tab::after {
        bottom: 0px;
        top: unset;
    }


    #tab14 .col-xl-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }

    #tab14>.row {
        height: 900px;
    }

    #tab14 .tab {
        transition: 500ms cubic-bezier(.65, .05, .36, 1);
        pointer-events: all;
        transition: border, 0ms ease-out;
        margin-right: -2px;
        transition: all 500ms ease-in-out;
    }

    #tab14 .tabContent {
        min-height: 100px;
        overflow: hidden;
        transition: all 500ms ease-in-out;
    }

    #tab14 .tabContent a {
        padding: 120px 10px 80px 10px;
    }

    #tab14>.row>div+div::before {
        content: '';
        height: 100%;
        max-height: 150px;
        width: 1px;
        background: #fff;
        position: absolute;
        left: 0px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        display: inline-block;
        z-index: 1;
    }

    #tab14 .tab:focus-within,
    #tab14 .tab:hover,
    #tab14 .tab:focus {
        padding-top: 60px;
        padding-bottom: 60px;
        background: #4f8000;
        border: 2px solid #fff;
        z-index: 12;
    }

    #tab14 .tab a:focus {
        border: #2a4a9a 2px solid;
    }

    #tab14 .tab:focus-within>.tabContent,
    #tab14 .tab:hover>.tabContent {
        max-height: 600px;
        transform: scale(1.12);
    }
}


@media (max-width: 1199px) {
    #tab14 .tabContent a::before {
        background-position: center top !important;
    }

    #tab14 .tabContent a {
        padding: 90px 30px 70px 30px;
    }
}

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

main {
    text-align: left;
    position: relative;
}

.index #content #aboveContent>*:not(#share_button_skip, #content_buttons_div),
.index #content .template-page {
    display: none !important;
}



body:not(.index) #mainContent {
    padding-bottom: 30px;
    padding-top: 30px;
}

@media (min-width: 992px) {

    body:not(.index) #mainContent {
        padding-top: 30px;
    }


    body:not(.index) .mainInhalt,
    .newsticker-position {
        padding-left: 45px;
        padding-right: 45px;
    }
}

.newsticker,
.newsticker a {
    color: #2b2b2b;
    font-size: 1rem;
}

/* --------------------------------------------- 4nw news --------------------------------------------- */


.news .tab_link_entry *:not(.tab_preview_picture, .tab_preview_picture img),
.events .tab_link_entry *:not(.tab_preview_picture, .tab_preview_picture img) {
    position: relative;
    z-index: 12;
}

.news,
.events {
    font-size: 1.125rem;
}

.news .tab_link_entry,
.events .tab_link_entry {
    font-size: 1rem;
    background: #fff;
    border: 3px solid #4f8000 !important;
    padding: 5px;
}

.news,
.events {
    padding: 20px 0 50px 0;
}

@media (min-width: 992px) {
    .index .news {
        padding: 150px 0 50px 0;
    }

    .index .events {
        padding: 50px 0 50px 0;
    }

}

.events {
    padding: 50px 0 70px 0;
}

.news .tab_spacer,
.events .tab_spacer {
    display: none;
}

.news h2,
.events h2 {
    color: #2b2b2b;
    font-size: 2.8125rem;
    font-weight: 700;
    position: relative;
    margin-bottom: 0px;
}

.news .tab_link,
.events .tab_link {
    margin-top: 40px;
}

.news .tab_link_mandat a,
.events .tab_link_mandat a {
    color: inherit;
}


.news .tab_spacer,
.events .tab_spacer {
    display: none;
}

.news .tab_link_mehr,
.events .tab_link_mehr {
    margin-top: 15px;
}

.news .tab_link_entry,
.events .tab_link_entry {
    position: relative;
    color: #252525;
}

.news .tab_link_entry,
.events .tab_link_entry {
    position: relative;
    min-height: 105px;
    padding: 265px 30px 30px 30px;
}

@media (max-width: 575px) {

    .news .tab_link_entry,
    .events .tab_link_entry {
        padding: 265px 30px 30px 30px;
    }
}

.news .tab_link_title a,
.events .tab_link_title a {
    display: block;
}


.news .tab_link_title a,
.events .tab_link_title a {
    color: #2b2b2b;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.news .tab_date,
.news .tab_link_date,
.events .tab_date,
.events .tab_link_date {
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
}

.news .tab_preview_picture,
.events .tab_preview_picture {
    display: none;
}

.news .tab_preview_picture,
.events .tab_preview_picture {
    background: #ffffff;
}

.news .tab_link_entry::after,
.news .tab_preview_picture,
.events .tab_link_entry::after,
.events .tab_preview_picture {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 2;
    background-size: cover;
    pointer-events: all;
    max-height: 240px;
}

.news .tab_link_entry::after,
.events .tab_link_entry::after {
    content: "";
    background: #ffffff url('../img/platzhalter-aktuelles-veranstaltungen.png') center no-repeat;
    z-index: 1;
}

.news .tab_preview_picture img,
.events .tab_preview_picture img {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    min-width: 100%;
    max-width: none;
    height: 100%;
    width: auto;
    -ms-interpolation-mode: bicubic;
    transform-origin: top left;
    -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%);
    object-fit: cover;
}

.news .tab_link_entry>div:nth-last-child(2),
.events .tab_link_entry>div:nth-last-child(2) {
    display: none;
}


@media (min-width: 768px) {

    .news .tab_link_entries,
    .events .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .news .tab_link_entries,
    .events .tab_link_entries {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .news .tab_link_entry,
    .events .tab_link_entry {
        position: relative;
        padding: 265px 30px 30px 30px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        align-content: start;
        align-items: start;
        max-width: calc(33.33% - 15px);
    }

    .news .tab_link_entry,
    .events .tab_link_entry {
        width: calc(25% - 12px);
    }



    .news .tab_link_entry:nth-child(2),
    .events .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }

    .news .tab_link_entry,
    .events .tab_link_entry {
        margin-right: 15px;
    }

    .news .tab_link_entry:last-child,
    .events .tab_link_entry:last-child {
        margin-right: 0;
    }

    .news .tab_link_entry>*,
    .events .tab_link_entry>* {
        width: 100%;
    }

    .news .tab_link_entry,
    .events .tab_link_entry {
        position: relative;
        min-height: 100%;
        padding: 265px 30px 30px 30px;
    }

    .news .tab_preview_picture,
    .events .tab_preview_picture {
        background: #ffffff;
    }

    .news .tab_link_title::after,
    .news .tab_preview_picture,
    .events .tab_link_title::after,
    .events .tab_preview_picture {
        display: block;
        width: 98%;
        height: 100%;
        position: absolute;
        top: 4px;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
        margin: 0 auto;
    }

    .news .tab_link_entry .vorschau,
    .events .tab_link_entry .vorschau {
        opacity: 1;
        font-weight: 400;
    }

    .news .tab_link_entry .vorschau+div,
    .news .tab_link_entry .vorschau+div+div,
    .news .tab_link_entry .vorschau+div+div+div,
    .events .tab_link_entry .vorschau+div,
    .events .tab_link_entry .vorschau+div+div,
    .events .tab_link_entry .vorschau+div+div+div {
        display: none;
    }
}

.events .tab_link_date {
    order: -1;
}

@media (min-width: 768px) and (max-width:1199px) {

    .news .tab_link_entry,
    .events .tab_link_entry {
        width: calc(50% - 15px);
        max-width: none;
    }

    .news .tab_link_entry:nth-child(4),
    .news .tab_link_entry:nth-child(3),
    .events .tab_link_entry:nth-child(4),
    .events .tab_link_entry:nth-child(3) {
        margin-top: 15px;
    }
}

/* ----------------------------------------- news button ---------------------------------------- */

.news .tab_link_mehr {
    color: transparent;
    font-size: 0;
    text-align: right;
}

.events .tab_link_mehr {
    color: transparent;
    font-size: 0;
    text-align: right;
}

@media (min-width: 992px) {
    .events .tab_link_mehr {
        position: absolute;
        right: 20px;
        top: -60px;
    }
}

.news .tab_link_mehr a,
.events .tab_link_mehr a {
    text-shadow: none;
    font-size: 1rem;
    color: #ffffff;
    display: inline-block;
    padding: 10px 44px 10px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: 0px;
    text-decoration: none;
    background-color: #4f8000;
}

.news .tab_link_mehr a::after,
.events .tab_link_mehr a::after {
    content: "\203A";
    font-size: 20px;
    position: absolute;
    width: 34px;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    background: #4f8000;
    padding-top: 5px;
    font-weight: 400;
    border-left: 1px solid #fff;
}

.news .tab_link_mehr a:hover,
.news .tab_link_mehr a:focus,
.events .tab_link_mehr a:hover,
.events .tab_link_mehr a:focus {
    background: #007253;
    color: #ffffff;
}


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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #2b2b2b;
    font-weight: 700;
    line-height: 1.2;
}

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

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

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

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

/* ------------------------------------------------ @13f footer ----------------------------------------------- */

.contactBTN a,
.scrollTop a {
    text-shadow: none;
    font-size: 1rem;
    color: #252525;
    display: inline-block;
    padding: 10px 70px 10px 30px;
    position: relative;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    background-color: #ffffff;
}


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


/* ----------------------------------------------- contact ----------------------------------------------- */

@media (max-width: 991px) {
    #contactFooter>.row>article+article {
        margin-top: 30px;
    }
}

#contactFooter {
    background: #f9f9f9;
    color: #444444;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 992px) {
    #contactFooter {
        padding-top: 65px;
        padding-bottom: 65px;
    }
}

#contactFooter .tabHeadline {
    font-size: 1.375rem;
    color: #252525;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    position: relative;
}

#contactFooter .tabHeadline::before {
    position: absolute;
    content: '';
    display: block;
    bottom: -20px;
    left: 0;
    height: 2px;
    width: 20px;
    background: #4f8000;
}

#contactFooter ul {
    margin: 0;
    list-style: none;
}

#contactFooter ul>li {
    position: relative;
    padding-left: 15px;
    min-height: 11px;
    -webkit-transition: color 300ms linear;
    -moz-transition: color 300ms linear;
    -ms-transition: color 300ms linear;
    -o-transition: color 300ms linear;
    transition: color 300ms linear;
}

#contactFooter ul>li+li {
    margin-top: 8px;
}

#contactFooter ul>li::before {
    content: "\203A";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 13px;
}

#contactFooter ul>li:hover,
#contactFooter ul>li:focus {
    color: #4f8000;
}

body:not(.noListStyle) #contactFooter ul {
    padding-left: 0px;
}

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

footer table td,
footer table th {
    padding: 0;
}

footer {
    font-size: 0.9375rem;
}

/* ----------------------------------------------- footerlast ----------------------------------------------- */

@media (max-width: 767px) {
    #footerlast>.row>*+* {
        margin-top: 30px;
    }
}

#footerlast {
    position: relative;
    padding-top: 20px;
    padding-bottom: 15px;
}

#footerlast>.row:nth-child(1) {
    padding-bottom: 14px;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #252525;
    text-decoration: none;
    border: 2px solid rgba(0, 0, 0, 0);
    padding: 6px 9px;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #4f8000;
    border: 2px solid #4f8000;
}

#innerfooter li+li::before {
    content: "•";
    margin: 0 15px;
    color: #252525;
}

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

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

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

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

#vernetzt span {
    color: #2b2b2b;
}

#vernetzt b {
    color: #4f8000;
}

#vernetzt span span {
    display: block;
}

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