@import url('https://fonts.verwaltungsportal.de/import/?family=Outfit:300,400,500,600,700,800,900');

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: #010101;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #4e7d31;
}

#content a {
    text-decoration: underline;
}

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

b, strong {
    font-weight: 600;
}

@media (min-width: 1440px) {
    .row, .compact, ._op-container .container {
        max-width: 1400px;
      }
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo {
        margin: 15px 0;
    }

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



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

.contact {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 400;
}

@media (min-width: 992px) {
    .contact {
        background-color: #4e7d31;
    }

    .contact div[class*="contact"] {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .contactMail+.contactPhone {
        margin-left: 30px;
    }
}

.contact a {
    color: #ffffff;
}

.contactMail,
.contactPhone {
    padding-left: 20px;
    background-position: center left;
    background-repeat: no-repeat;
}

.contactMail {
    background-image: url('../img/mail-icon.png');
}

.contactPhone {
    background-image: url('../img/phone-icon.png');
}

.social {
    line-height: 1;
    margin-right: 30px;
}

.social p {
    display: inline-block;
}

.social img {
    display: block;
}

.social p+p,
.social img+img {
    margin-left: 10px;
}

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

form[id^="search"] label {
    text-transform: uppercase;
    font-weight: 400;
    margin-right: 10px;
    color: #fff;
}

form[id^="search"] {
    padding-left: 40px;
    margin-right: 40px;
    margin-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

@media (min-width: 992px) {
    form[id^="search"] {
        padding-left: 40px;
        margin-right: 0px;
    }
}


@media (min-width: 1200px) {
    form[id^="search"] label {
        margin-right: 20px;
    }
}

form[id^="search"] {
    height: 36px;
    background: #4e7d31;
    display: inline-block;
    position: relative;
}

form [id^="search_input"] {
    color: #ffffff;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 36px;
    padding-left: 5px;
    padding-right: 30px;
    height: 36px;
    width: 100%;
    min-width: 170px;
}

@media (min-width: 1200px) {
    form [id^="search_input"] {
        max-width: 170px;
    }
}

form [id^="search_submit"] {
    width: 30px;
    height: 36px;
    border: none;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0;
}

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

[id^="search_input"]::-ms-input-placeholder {
    color: #ffffff !important;
    font-style: italic;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #ffffff !important;
    font-style: italic;
}

[id^="search_input"]::-moz-placeholder {
    opacity: 1;
    font-style: italic;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #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: #00704d;
        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: #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[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: 7px;
    }
}

@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: 18px 0;
        background-color: #ffffff;
    }

    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>.dropdown-menu {
        display: flex !important;
        flex-wrap: wrap;
        pointer-events: none;
        position: absolute;
        opacity: 0;
        margin-top: 48px;
        top: 120%;
        right: 15px;
        z-index: 1000;
        padding: 30px 100px 0 100px;
        -ms-transform-origin: top center;
        -webkit-transform-origin: top center;
        transform-origin: top center;
        -webkit-transition: opacity 300ms linear, top 300ms linear;
        -moz-transition: opacity 300ms linear, top 300ms linear;
        -ms-transition: opacity 300ms linear, top 300ms linear;
        -o-transition: opacity 300ms linear, top 300ms linear;
        transition: opacity 300ms linear, top 300ms linear;
        background-color: rgba(255,255,255,1);
        border-radius: 10px;
        border-bottom: 10px solid #4e7d31;
        width: 130%;
    }
    nav.horizontally .navbar-nav>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 48px;
        left: 0;
        right: 0;
        top: -48px;
    }
    nav.horizontally .navbar-nav>li:hover>.dropdown-menu,
    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
    }
    .navbar-default .nav .open > li[class*="toplevel"] > .dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }
    nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        margin-bottom: 30px;
        width: 20%;
    }
    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        display: block !important;
    }
}

@media (min-width: 1200px) {
    #menu {
        padding: 25px 0;
        background-color: #ffffff;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu {
        display: flex !important;
        flex-wrap: wrap;
        pointer-events: none;
        position: absolute;
        opacity: 0;
        margin-top: 48px;
        top: 120%;
        right: 15px;
        z-index: 1000;
        padding: 30px 100px 0 100px;
        -ms-transform-origin: top center;
        -webkit-transform-origin: top center;
        transform-origin: top center;
        -webkit-transition: opacity 300ms linear, top 300ms linear;
        -moz-transition: opacity 300ms linear, top 300ms linear;
        -ms-transition: opacity 300ms linear, top 300ms linear;
        -o-transition: opacity 300ms linear, top 300ms linear;
        transition: opacity 300ms linear, top 300ms linear;
        background-color: rgba(255,255,255,1);
        border-radius: 10px;
        border-bottom: 10px solid #4e7d31;
        width: 145%;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #010101;
    font-weight: 700;
    text-align: left;
    padding: 12px 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(0, 0, 0, 0.15);
    }

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

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

    .navbar-default .navbar-nav>li>a {
        padding: 5px 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;
    }
}

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 10px;
    margin: 0;
   
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        background: rgba(255, 255, 255, 0.97);
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        background: transparent;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding: 0;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    text-align: left;
    padding: 8px 35px;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    color: #010101;
    font-size: 1.125rem;
    font-weight: 700;
    border-bottom: 3px solid #4e7d31;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #010101;
    font-size: 1rem;
    font-weight: 400;
}

@media(min-width:992px) {
    nav li > a, .secondandthird-wrapper a {
        display: inline-block;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        padding: 5px 0px;
        text-align: left;
    }
    
}

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

.navbar-nav > li > .dropdown-menu > li:hover > a,
.navbar-nav > li > .dropdown-menu > li:focus-within > 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:focus-within > a,
.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: #4e7d31;
}

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

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

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

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

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

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

.slider-mask {
    display: none;
}


#banneroverlay {
    position: relative;
}

@media (min-width: 992px) {
    #banneroverlay{
       position: absolute;
       z-index: 55;
       top: 0;
       bottom: 0;
       display: flex;
  align-items: center;
  justify-content: center;
width: 100%;
margin: 0 auto;
    }
}

.button {
    display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  color: #010101;
  font-size: clamp(1.25rem, 3vw, 2.8125rem);
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
  margin-bottom: 10px;
}

.button:hover {
    transform:scale(1.15);
    transition: all 300ms;
}

.button {
    animation: move 3s;
    -webkit-animation: move 3s;
  }
  
  @keyframes move {
    from {
      opacity: 0; 
    }
  
    to {
      opacity: 1;
    }
  }
              
  @-webkit-keyframes move {
    from {
        opacity: 0; 
    }
  
    to {
        opacity: 1;
    }
  }

@media (min-width: 992px) {
    .button {
        width: 330px;
        height: 330px;
        overflow: hidden;
        border-radius: 50%;
        padding: 80px;
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

@media (min-width: 1200px) {
    .button {
        width: 430px;
        height: 430px;
        overflow: hidden;
    }
}




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

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





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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #010101;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
}

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

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

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

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

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

@media (min-width: 992px) {
    h3, .h3, .legacy_h3 {
        font-size: 1.875rem;
    }
}

h4, .h4, .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 #21242a;
}

/* -------------------------------------------------- aktuelles ------------------------------------------------ */
.aktuellesHeadline {
    border-bottom: 3px solid #010101;
    margin-bottom: 30px;
    color: #010101;
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    padding-bottom: 20px;
    text-transform: uppercase;
}
#aktuelles {
    margin-top: 30px;
}

@media (max-width: 991px) {
    #aktuelles > .row > *:first-child{
        margin-bottom: 30px;
    }
}

@media (min-width: 576px) {
    #aktuelles .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

#aktuelles .tab_link_entry {
    border-bottom: none !important;
    position: relative;
    background: #ffffff;
    border-radius: 2px;
    width: 100%;
    padding: 200px 0px 20px 0px;
}

@media (min-width: 576px) and (max-width: 767px) {
    #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: 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(24% - 10px);
    }

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

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

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

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

#aktuelles .tab_link_entry::before {
    content: "";
    position: absolute;
    display: block;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: url("../img/news-standard.jpg") center / cover no-repeat;
    border-radius: 20px;
}

#aktuelles .tab_link_entry .tab_preview_picture {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 180px;
    overflow: hidden;
    border-radius: 20px;
}

#aktuelles .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 500px;
    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_date {
    font-size: 1.125rem;
    font-weight: 400;
    color: #5e5e5e;
}

#aktuelles .tab_link_title a {
    color: #010101;
    font-weight: 700;
    font-size: 1.5625rem;
    line-height: 1.2;
    display: block;
    margin-bottom: 10px;
}

#aktuelles .tab_spacer,
#aktuelles .tab_link_entry > div:nth-last-child(2) {
    display: none;
}

#aktuelles .tab_link_mehr {
    margin-top: 5px;
    font-size: 1.5625rem;
    color: #4e7d31;
}

#aktuelles .tab_link_mehr a {
    font-weight: 700;
    color: #4e7d31;
}

#aktuelles .tab_link_mehr hr {
    margin: 15px 0 0 0;
}

/* ---------------------------------------------  4e7d31 ------------------------------------------- */
.newsHeadline {
    border-bottom: 3px solid #fff;
    margin-bottom: 30px;
    color: #fff;
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    padding-bottom: 20px;
    text-transform: uppercase;
}

#news {
    background: #4e7d31;
    padding-top: 60px;
    padding-bottom: 60px;
}

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

#news .tab_link_entry {
    width: 100%;
    color: #fff;
}

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

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

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

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

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

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

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

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

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

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

#news a {
color: #fff !important;
}


#news .tab_link_mehr {
    margin-top: 30px;
    color: transparent;
    font-size: 0;
}

#news .tab_link_mehr a {
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: inline-block;
    padding: 4px 18px;
    border-radius: 2px;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 700;
}

#news .tab_link_title a {
    color: #fff;
    font-size: 25px;
    font-weight: 700;
}

/* ---------------------------------------------  wrapper ------------------------------------------- */
#wrapper {
    padding: 60px 0;
}

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

#events {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    background-position: top;
    color: #fff;
    font-size: 1rem;
}

@media (min-width: 768px) {
    #events .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) {
    #events .tab_link_entry {
        width: calc(50% - 15px);
    }
    #events .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }
    #events .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }
}

@media (min-width: 992px) {
    #events .tab_link_entry {
        width: calc(33.33% - 10px);
    }
    #events .tab_link_entry:nth-child(3n+1) {
        padding-right: 30px;
    }
    #events .tab_link_entry:nth-child(3n+2) {
        padding-right: 30px;
        padding-left: 30px;
    }
    #events .tab_link_entry:nth-child(3n+3) {
        padding-left: 30px;
    }
}

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

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

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

#events .tab_link_title a {
    color: #fff;
    font-weight: 600;
    margin-bottom: 6px;
    display: inline-block;
    font-size: clamp(1.125rem, 1.5vw, 1.5625rem);
}

#events .tab_link_mandat a {
    color: inherit;
}

#events .specialHeadline a {
    color: #ffffff;
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

#events .specialHeadline a::after {
    content: "\00BB";
    margin-left: 4px;
}

#events .specialHeadline h1,
#events .specialHeadline h2,
#events .specialHeadline h3,
#events .specialHeadline h4,
#events .specialHeadline h5,
#events .specialHeadline h6{
    font-size: clamp(1.375rem, 1.5vw, 1.875rem);
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
}

#events .specialHeadline {
    border-bottom: 3px solid #fff;
}

.eventclndr-tab {
    margin-bottom: 0px;
}

#eventsWrapper{
    display: flex;
    align-content: center;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
}

#clr-events-hide > p:nth-last-of-type(1),
#eventsWrapper .tab_link_mehr{
    display: none;
}

#eventsWrapper .eventclndr-tab{
   -webkit-box-flex: 0;
   -ms-flex: 0 0 23%;
   flex: 0 0 23%;
   max-width: 23%;
    order: 2;
}

#eventsWrapper #clr-events-hide{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 77%;
    flex: 0 0 77%;
    max-width: 77%;
    order: 1;
}

#events .specialHeadline{
    width: 100%;
    max-width: 73%;
    margin-bottom: 10px;
}

@media (min-width: 1920px) {
    /*Fix for 4K Monitor */
    #events .specialHeadline{
        margin-bottom: 10px;
    }
}

#events .specialHeadline .btgrid > .row > div:nth-child(1){
     -webkit-box-flex: 0;
     -ms-flex: 0 0 75%;
     flex: 0 0 75%;
     max-width: 75%;
}

#events .specialHeadline .btgrid > .row > div:nth-child(2){
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
    text-align: right;
}

#events .btgrid > .row{
    align-content: center;
    align-items: center;
}

@media (max-width: 991px) {
    #events .specialHeadline{
        margin-bottom: 25px;
        max-width: 100%;
    }

    #eventsWrapper .eventclndr-tab{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        order: 2;
        justify-content: center;
        margin: 30px auto 0 auto;
    }

    #eventsWrapper #clr-events-hide{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        order: 1;
    }

    #events .specialHeadline .btgrid > .row > div:nth-child(1){
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    #events .specialHeadline .btgrid > .row > div:nth-child(2){
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        text-align: left;
    }
}

@media (max-width: 767px) {
    #eventsWrapper .eventclndr-tab{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin: 30px auto 0 auto;
    }
}


/* ------------------------------------------ 7f footer ---------------------------------------- */

#maps_contact>.row {
    max-width: 100%;
    width: 100%;
}

#maps_contact .noPadding {
    padding: 0px;
}

#maps_contact {
    background: #4e7d31;
    color: #fff;
    font-size: 1rem;
    padding-top: 36px;
    position: relative;
}

@media (min-width: 992px) {
    #maps_contact::before {
        content: '';
        display: block;
        position: absolute;
        top: 0px;
        left: 0;
        right: 0;
        height: 36px;
        width: 100%;
        background: rgb(255, 255, 255);
        /* Old browsers */
        background: -moz-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 28%, rgba(255, 255, 255, 1) 28%, rgba(12, 92, 130, 1) 28%, rgba(12, 92, 130, 0) 28%, rgba(12, 92, 130, 0) 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 28%, rgba(255, 255, 255, 1) 28%, rgba(12, 92, 130, 1) 28%, rgba(12, 92, 130, 0) 28%, rgba(12, 92, 130, 0) 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 28%, rgba(255, 255, 255, 1) 28%, rgba(12, 92, 130, 1) 28%, rgba(12, 92, 130, 0) 28%, rgba(12, 92, 130, 0) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    }
}

#maps_contact .tabHeadline {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#maps_contact .tab {
    font-size: 0.875rem;
}

@media (max-width: 991px) {
    #maps_contact .tab {
        margin-bottom: 30px;
    }
}

#maps_contact a {
    color: #fff;
}

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

#maps_contact .tabRight a {
    color: #fff;
    font-style: italic;
}

#maps_contact .tabRight a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (min-width: 992px) {
    .tabLeft {
        padding-right: 30px;
    }

    .tabRight {
        padding-left: 30px;
    }
}

#maps_contact .tab a[href*="mailto"] {
    text-decoration: underline;
    color: #fff;
}

.footerTabs {
    padding: 20px 15px;
}

@media (min-width: 992px) {
    .footerTabs {
        padding: 20px 0;
        margin-left: 65px !important;
    }
}

@media (min-width: 1440px) {
    .footerTabs {
        max-width: 820px;
    }
}

hr {
    background: rgba(255, 255, 255, 1);
    opacity: .7;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 3px;
}



/* ------------------------------------------ innerfooter ---------------------------------------- */

#innerfooter {
    margin-top: auto;
    padding: 0;
    position: relative;
}

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter li+li {
    margin-left: 25px;
}

#innerfooter a {
    display: inline-block;
    font-weight: 400;
    text-decoration: none;
    color: #fff;
    font-size: 0.875rem;
}

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

/* ------------------------------------------ maps ----------------------------------------- */
#maps_contact .iframeMapsTab {
    height: 100%;
}

#maps_contact .iframeMapsTab iframe,
#maps_contact .iframeMapsTab .iframe-wrapper-manual-enabling {
    min-width: 100%;
    width: 100%;
    display: block;
    max-height: 100%;
    min-height: 100%;
}

@media (min-width: 768px) {
    #maps_contact .colMaps {
        padding-left: 0;
        max-width: 1060px;
    }

    #maps_contact .colContact {
        max-width: 506px;
    }
}

@media (max-width: 767px) {
    #maps_contact .colMaps {
        padding: 0px;
    }

    #maps_contact .colContact {
        max-width: 576px;
        margin: auto;
    }
}

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

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

#vernetzt b {
    font-weight: 400;
}

#vernetzt span {
    color: #fff;
}

#vernetzt span span {
    display: block;
}

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

/* --------------------------------------------- footerSlogan -------------------------------------------- */
#footerSlogan {
    padding: 40px 0;
}

#footerSlogan .tabHeadline {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

#footerSlogan .tabContent {
    font-size: 1.875rem;
    font-weight: 600;
    font-style: italic;
    color: #fff;
}

#footerSlogan .tabContent a {
    color: #fff;
}

/* --------------------------------------------- toolbar -------------------------------------------- */
#toolbar {
    font-size: 0.875rem;
}

@media (min-width: 992px) {
    #toolbar {
        padding-top: 45px;
    }
}

.contactBTN a {
    color: #ccdc65;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 991px) {
    .contactBTN, #counter {
        margin-bottom: 30px;
    }
}

/* --------------------------------------------- counter + styler -------------------------------------------- */
#counter {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 5px 15px;
    text-align: center;
    font-size: 0.875rem;
}

#counter-l,
#counter-r {
    display: inline-block;
}

@media (min-width: 992px) {
    #style {
        border: 1px solid rgba(255, 255, 255, 0.4);
        text-align: center;
    }
    #style button {
        border: none;
        color: #fff;
        display: inline-block;
        width: 20px;
        height: 30px;
        font-weight: 400;
        text-align: center;
        background-color: rgba(0, 0, 0, 0);
        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 {
        -moz-transform: scale(1.2);
        -webkit-transform: scale(1.2);
        -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }
}