@import url("https://fonts.verwaltungsportal.de/import/?family=Lato:400,i400,700,i700,900,i900");

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

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

a {
    color: #078930;
}

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


b,
strong {
    font-weight: 700;
}

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

/* ----------------------------------------------- 3tp topbar ----------------------------------------------- */

#topbar {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #f2f0ee;
    font-size: 0.875rem;
    color: #1e9343;
}

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

#name {
    font-weight: 700;
    display: block;
    font-size: 1.25rem;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    #name {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
}

/* ------------------------------------------------ styler ---------------------------------------------- */

@media (min-width: 992px) {
    #style {
        margin-left: 30px;
    }
}

#contrast_style button,
#style button {
    padding: 0;
    border: none;
    color: #1e1e1e;
    display: inline-block;
    width: 29px;
    height: 29px;
    font-weight: 00;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    line-height: 1;
}

#style button {
    padding: 0;
}

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

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

#style button:hover,
#style button:focus {
    color: #fff;
    background: #1e9343;
}

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

form[id^="search"] {
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    display: block;
    position: relative;
}


@media (min-width: 992px) {
    form[id^="search"] {
        margin-left: 30px;
        max-width: 270px;
        width: 100%;
    }
}

form [id^="search_input"] {
    color: #1e1e1e;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 35px;
    padding-left: 14px;
    padding-right: 54px;
    height: 35px;
    width: 100%;
}

form [id^="search_submit"] {
    width: 40px;
    background: url('../img/icon-lupe.png') center no-repeat;
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    font-size: 0;
    border-left: 1px solid rgba(88, 69, 58, 0.3);
    -webkit-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -moz-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -ms-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -o-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: #b9cf68;
    top: 0;
    bottom: 0;
}

[id^="search_input"]::-ms-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-moz-placeholder {
    opacity: 0.8;
}

[id^="search_input"]:-moz-placeholder {
    opacity: 0.8;
}

#search_submit1.contrast_light_font{
    background-color: #fff !important;
}

#search_input1.contrast_light_font{
    color: #000 !important;
}

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

#logo {
    display: inline-block;
}

#logo.contrast_light_font img{
    background: #fff !important;
}

#logo img {
    display: block;
}

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

/* ----------------------------------------- header ----------------------------------------- */



#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

#menu {
    -webkit-transition: all 0.4s 0s ease;
    -moz-transition: all 0.4s 0s ease;
    -o-transition: all 0.4s 0s ease;
    transition: all 0.4s 0s ease;
}

.is-sticky #menu {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid #078930;
}

/* burgermenu for tablet */

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

    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background: #ffffff;
        border: none !important;
        -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);
    }

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #078930;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -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"] #burgerButtonInner2 {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

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

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

    .navbar-collapse {
        top: 0;
        background: #fff;
        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[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

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

    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        -webkit-transition: width 300ms linear, opacity 300ms linear;
        -moz-transition: width 300ms linear, opacity 300ms linear;
        -ms-transition: width 300ms linear, opacity 300ms linear;
        -o-transition: width 300ms linear, opacity 300ms linear;
        transition: width 300ms linear, opacity 300ms linear;
    }

    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }

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

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

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

    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        padding-top: 30px;
        padding-bottom: 30px;
        border-bottom: 6px solid #078930;
    }

    nav.horizontally .navbar-nav {
        margin-bottom: -16px;
        padding-left: 30px;
        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;
    }

    #myNavbar {
        margin-top: 20px;
    }

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

@media (min-width: 1200px) {
    nav.horizontally .navbar-nav {
        padding-left: 120px;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #1e1e1e;
    font-weight: 900;
    text-align: left;
    padding: 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(255, 255, 255, 0.2);
    }

    nav.horizontally .navbar-nav>li>a.dropdown-toggle {
        padding-right: 35px;
    }
}

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

    .navbar-default .navbar-nav>li>a {
        padding: 9px 0;
        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::before {
    content: "";
    max-width: 40px;
    width: 0;
    height: 4px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    background: #078930;
    opacity: 0;
    -webkit-transition: opacity 300ms linear, width 300ms linear;
    -moz-transition: opacity 300ms linear, width 300ms linear;
    -ms-transition: opacity 300ms linear, width 300ms linear;
    -o-transition: opacity 300ms linear, width 300ms linear;
    transition: opacity 300ms linear, width 300ms linear;
}

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

.navbar-nav>li:hover>a::before,
.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;
    width: 100%;
}

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


.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: #078930;
}

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

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

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

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

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-left: 15px;
    }
}

@media(min-width:992px) {

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

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -26px;
        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: #1e1e1e;
    font-weight: 400;
    text-align: left;
    padding: 10px 15px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media(max-width: 991px) {
    nav.horizontally .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2 {
        padding-right: 35px;
    }
}

@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-left: 40px;
        padding-right: 40px;
    }
}

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

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

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

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

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

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

    #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 (max-width: 767px) {

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

/* ----------------------------------------------- overlay ----------------------------------------------- */


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

#overlay .tab {
    display: table;
    pointer-events: all;
}

#overlay .tabHeadline {
    color: #078930;
    font-weight: 900;
    font-size: clamp(1.25rem, 4vw, 2.625rem);
    background: rgba(255, 255, 255, 0.90);
    padding: 5px 20px;
    border-bottom: 5px solid #fff;
    margin: 0px;
}

#overlay .tabContent {
    background-color: rgba(255, 255, 255, 0.75);
    display: table;
    padding: 5px 20% 5px 20px;
    font-size: 1.25rem;
    letter-spacing: 1px;
    font-weight: 700;
}

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


    #overlay .tab {
        display: block;
    }

    body:not(.index) #overlay {
        padding-bottom: 10px;
    }

    #overlay .tabHeadline {
        border-bottom: 3px solid #078930;
        display: block;
    }
}

@media (max-width: 575px) {
    body:not(.index) #overlay>.row>div {
        padding: 0px;
    }
}

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

#scrollBottom a {
    position: relative;
    font-size: 0;
    display: block;
    width: 30px;
    height: 30px;
    margin: 50px auto 10px auto;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid #fff;
    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;
}

@media (min-width: 1200px) {
    #scrollBottom a {
        margin-top: 70px;
    }
}

#scrollBottom a:hover,
#scrollBottom a:focus {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

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

#scrollBottom a::after {
    left: 8px;
    top: 9px;
    width: 8px;
    height: 8px;
    display: inline-block;
    border-left: 2px solid #1e1e1e;
    border-bottom: 2px solid #1e1e1e;
    -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: 12px;
    top: 7px;
    width: 2px;
    height: 12px;
    background-color: #1e1e1e;
}

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



/* ----------------------------------------------- tabs ----------------------------------------------- */

#tabs {
    background: #f2f0ee;
    padding: 40px 0;
}

@media (max-width: 767px) {
    #tabs>.row>div {
        margin-top: 30px;

    }

    #tabs {
        padding-top: 0px;
    }
}

#tabs .tab {
    background-color: #fff;
    min-height: 250px;
    transition: all, 300ms;
    box-shadow: 0px 0 20px 0 rgba(0, 0, 0, 0.05);
}

#tabs img {
    margin-bottom: 20px;
}

#tabs .tabHeadline {
    font-size: 24px;
    color: #078930;
    font-weight: 900;
}

#tabs a {
    font-size: 0px;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 12;
}

#tabs .tab:hover,
#tabs .tab:focus {
    transform: scale(1.05);
    box-shadow: 0px 11px 20px 0 rgba(0, 0, 0, 0.20);
    background-color: #078930;
    color: #fff;
}

#tabs .tab:hover .tabHeadline,
#tabs .tab:focus .tabHeadline {
    color: #fff;
}

#tabs .tab:hover img,
#tabs .tab:focus img {
    filter: brightness(0) invert(1);
    animation: shake 1s ease 1;
}

@keyframes shake {
    30% {
        transform: scale(1.15);
    }

    40%,
    60% {
        transform: rotate(-5deg) scale(1.02);
    }

    50% {
        transform: rotate(5deg) scale(1.02);
    }

    70% {
        transform: rotate(0deg) scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

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

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

}



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

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

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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


/* ----------------------------------------------- 6ev tabArea ----------------------------------------------- */

#tabArea {
    padding: 60px 0;
}


#tabArea .tab>.row,
#tabArea .tab>.row>div {
    padding: 0;
    margin: 0;
}

@media (min-width: 992px) {
    #tabArea .tab>.row {
        height: 100%;
        min-height: 100%;
    }
}

#tabArea .tab {
    background-color: #fff;
    min-height: 100%;
    height: 100%;
    font-style: 1.125rem;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
    #tabArea .tab {
        margin-top: 15px;
    }
}

#tabArea .tabHeadline,
#tabArea .events h2 a {
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 900;
}

#tabArea .events h2 a {
    color: #1e1e1e;
    font-size: 1rem;
    text-decoration: none;
}

#tabArea .events h2 {
    margin-top: 0;
}

#tabArea .tabHeadline::before {
    content: "";
    display: block;
    height: 45px;
    width: 100%;
    margin-bottom: 14px;
    background-position: center;
    background-repeat: no-repeat;
}


@media (min-width: 992px) {
    #tabArea .tabHeadline {
        border-right: 1px solid #078930;
        height: 100%;
        min-height: 100%;
    }
}

@media (min-width: 1200px) {
    #tabArea .tabHeadline {
        font-size: 1.5rem;
    }
}

#tabArea .tabHeadline,
#tabArea .tabContent {
    padding: 28px;
}

@media (max-width: 768px) {
    #tabArea .tabHeadline {
        padding-bottom: 0;
    }

    #tabArea .tabContent {
        padding-top: 10px;
    }
}

#tabArea .tabContent {
    line-height: 1.3;
}

.tab_link_title a {
    color: #1e1e1e;
    font-weight: 600;
}

.tab_link_mandat a {
    color: #1e1e1e;
    font-style: italic;
}

.tab_spacer {
    height: 15px;
}

.news .tab_link_date {
    font-style: italic;
}

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

#tabArea .tab_link_mehr {
    color: transparent;
    font-size: 0;
    text-align: right;
    position: relative;
    right: -45px;
}

#tabArea .tab_link_mehr a {
    background: #078930;
    font-weight: 400;
    font-style: italic;
    color: #fff;
    padding: 8px 20px 8px 20px;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

#tabArea .tab_link_mehr a::before {
    content: "Alle Termine";
    font-size: 1rem;
}

#tabArea .tab_link_mehr a:hover,
#tabArea .tab_link_mehr a:focus {
    background: #fff;
    color: #078930;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}


#tabArea .news .tab_link_mehr a::before {
    content: "Alle Meldungen";
}



/* ------------------------------------------------ facts ----------------------------------------------- */

#parallax {
    min-height: 150px;
    height: 19vw;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


#facts {
    color: #1e1e1e;
    margin-top: -150px;
}

#facts>.row {
    background-color: #fff;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
    padding: 40px 0;
}

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

@media (min-width: 576px) {
    #facts>.row>div+div:not(:last-child) {
        margin-top: 0;
    }
}


#facts b,
#facts strong {
    color: #078930;
    font-size: 2.5rem;
    display: block;
    font-weight: 900;
    line-height: 1.1;
}

@media (min-width: 768px) {

    #facts b,
    #facts strong {
        font-size: 2.8125rem;
    }
}

#facts>.row>div:last-child a {
    font-size: 1.8125rem;
    font-weight: 900;
    color: #078930;
    line-height: 1.2;
    text-decoration: none;
}

#facts>.row>div:last-child a::after {
    content: "\2192";
    display: block;
    font-weight: 400;
    color: #1e1e1e;
    font-size: 3.5rem;
}



/* ----------------------------------------------- 7nw tabArea ----------------------------------------------- */


#tabArea .tab.news {
    min-height: 100%;
    height: 100%;
    font-style: 1.125rem;
}

#tabArea .news .tabHeadline::before {
    background-image: url('../img/icon-news.png');
}

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

@media (min-width: 768px) {
    #tabArea .tab.news .tab_link_entries {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        position: relative;
    }

    #tabArea .tab.news .tab_link_entries::before {
        position: absolute;
        display: block;
        content: '';
        width: 1px;
        height: 100%;
        left: 50%;
        top: 0;
        background-color: #bdbdbd;
    }

    #tabArea .tab.news .tab_link_entry {
        width: calc(50% - 15px);
    }

    #tabArea .tab.news .tab_link_entry:nth-of-type(2n+1) {
        margin-right: 30px;
    }
}

#tabArea .tab.news .tab_link_entry:not(:last-of-type) {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #bdbdbd;
}

@media (min-width: 768px) {
    #tabArea .tab.news .tab_link_entry:nth-last-of-type(2) {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0;
    }
}

/*--------------------- @f14 ------------------------*/

#f14 {
    padding-top: 35px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}



#f14 .footerHeadline {
    font-size: 1.375rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: #078930;
}

#f14 .tabContent {
    font-size: 1rem;
}

/* Newsletter */

#f14 #newsletterInputs {
    height: 40px;
    background: #f2f0ee;
    display: inline-block;
    position: relative;
    width: 100%;
    min-width: 280px;
    border-radius: 20px;
    margin-top: 35px;
}

@media (min-width: 576px) {
    #f14 #newsletterInputs {
        max-width: 370px;
    }
}

#f14 #newsletter_input {
    color: #1e1e1e;
    font-size: 14px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 33px;
    padding-left: 20px;
    padding-right: 43px;
    height: 40px;
    width: 100%;
}

#f14 #newsletter_submit {
    width: 65px;
    /* background: #ffffff url('../img/icon-mail.png'') center no-repeat;
    REPLACE WITH YOUR URL */
    background: #ffffff url('../img/icon-mail.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 40px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    max-height: 30px;
    font-size: 0;
    margin: 5px 5px 0 0;
    border-radius: 15px;
    -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;
}

#f14 #newsletter_submit:hover {
    background-color: #ccdc65;
}

#f14 #newsletter_input::-ms-input-placeholder {
    color: #ffffff !important;
}

#f14 #newsletter_input::-webkit-input-placeholder {
    color: #ffffff !important;
}

#f14 #newsletter_input::-moz-placeholder {
    opacity: 1;
}

#f14 #newsletter_input:-moz-placeholder {
    opacity: 1;
}

/* Social Media Buttons*/

#f14 .socialMedia {
    flex-wrap: wrap;
    height: 100%;
}

@media (max-width: 991px) {
    #f14 .socialMedia {
        padding: 35px 0;
    }
}


@media (max-width: 767px) {
    #f14 .socialMedia a{
       margin: auto;
    }
}
#f14 .socialMedia a {
    display: flex;
    justify-content: center;
    max-width: 40px;
    width: 100%;
    height: 40px;
    background: #f2f0ee;
    padding: 5px;
    border-radius: 50%;
}

@media (max-width: 991px) {
    #f14 .socialMedia a+a {
        margin-left: 20px;
    }
}

@media (min-width: 992px) {

    #f14 .socialMedia a+a {
        margin-top: 20px;
    }
}

#f14 .socialMedia a:focus,
#f14 .socialMedia a:hover {
    background: #adcfb8;
}

#f14 .socialMedia a img {
    max-width: 26px;
    height: auto;
    object-fit: contain;
}

#f14 #footer>.row {
    margin-top: 35px;
    padding: 20px 0;
    border-top: 1px solid #8e8e8e;
}

#f14 #innerfooter ul {
    padding: 0;
}

@media (min-width:501px) and (max-width: 991px) {
    #f14 #innerfooter ul {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 991px) {
    #f14 #innerfooter {
        width: 100%;
        text-align: center;
        padding: 25px 0;
    }
}

#f14 #innerfooter li {
    display: block;
}

#f14 #innerfooter a {
    color: #1e1e1e;
    text-decoration: none;
    font-size: 0.9375rem;
}

#f14 #innerfooter a:hover,
#f14 #innerfooter a:focus {
    color: #078930;
}

@media (min-width: 500px) {
    #f14 #innerfooter li+li::before {
        content: "•";
        margin: 0 15px;
        color: #1e1e1e;
    }

    #f14 #innerfooter li {
        display: inline-block;
    }
}

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