@import url('https://fonts.verwaltungsportal.de/import/?family=Barlow:400,400i,500,500i,600,600i');

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

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

a {
    color: #e50e32;
}

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

#contentBox a, b, strong {
    font-weight: 500;
}


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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #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: #156a2f;
        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;
    }
}

@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 */

.is-sticky #menu {
    background: #fff;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}

@media (min-width: 992px) {

    #menu {
        background: #fff;
        padding-top: 10px;
        padding-bottom: 10px;
        -webkit-transition: all 0.4s 0s linear;
        -moz-transition: all 0.4s 0s linear;
        -o-transition: all 0.4s 0s linear;
        transition: all 0.4s 0s linear;
    }

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

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

.navbar-default .navbar-nav>li>a {
    color: #1b1b1b;
    font-weight: 600;
    text-align: left;
    padding: 15px 15px;
    position: relative;
    font-size: 1.1875rem;
    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.8);
    }

    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: 11px 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: "";
    width: 0;
    height: 4px;
    display: block;
    position: absolute;
    left: 0;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 0;
    background-color: #e50e32;
    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;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a::before {
        left: 50%;
    }
}

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

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #ffffff;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
}

@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: 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 {
        margin-top: 10px;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
    }

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

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -10px;
        border-radius: 3px;
        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: #1b1b1b;
    font-weight: 400;
    text-align: left;
    padding: 9px 25px 9px 35px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
    hyphens: auto;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: "";
    display: block;
    position: absolute;
    left: 20px;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #156a2f;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li+li:not(:nth-child(2)), .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li+li:not(:nth-child(2)) {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

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

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

.navbar-nav>li>.dropdown-menu>li:focus-within>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a::before {
    background: #e50e32;
}

/* ------------------------------------------- button design ------------------------------------------- */

.buttonStyle .tabBtn a+a {
    margin-left: 0;
}

.buttonStyle a {
    display: inline-block;
    background: #adcc4e;
    border-radius: 3px;
    color: #1d1d1b;
    border: 1px solid #ffffff;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 5px 20px;
    font-weight: 600;
    text-decoration: none;
    -webkit-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -moz-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -ms-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -o-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    transition: background 300ms linear, color 300ms linear, border 300ms linear;
}

@media (min-width: 768px) {
    .buttonStyle a+a {
        margin-left: 12px;
    }
}

.buttonStyle a::after {
    content: "\00BB";
    margin-left: 4px;
    position: relative;
    bottom: 1px;
}

.buttonStyle a:hover,
.buttonStyle a:focus {
    color: #fff;
    background: #158236;
    border-color: #158236;
}

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

#slider {
    min-height: 200px;
    max-height: 300px;
    overflow: hidden;
    position: relative;
    border-radius: 3px;
}

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

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



#headerpic {
    margin: 0;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 3px;
    background: #000000;
}

.slider-mask {
    display: none;
}

.nivo-directionNav a {
    color: #ffffff !important;
}

a.nivo-control {
    color: #ffffff !important;
}

a.nivo-control.active {
    color: #ffffff !important;
}

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

#bannerOverlay {
    background: #158236;
    color: #ffffff;
    padding: 30px;
    line-height: 1.4;
    hyphens: auto;
}

@media (max-width: 767px) {
    body:not(.index) #headerpic {
        display: none;
    }
}

@media (min-width: 768px) {
    #bannerOverlay {
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 50;
        background: none;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }
}

#bannerOverlay a {
    text-shadow: none;
    line-height: 1.5;
    margin-bottom: 5px;
}

#bannerOverlay h1,
#bannerOverlay h2,
#bannerOverlay h3,
#bannerOverlay h4,
#bannerOverlay h5,
#bannerOverlay h6 {
    color: #ffffff;
}

.bannerHeadline {
    margin: 0 0 5px 0;
}

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

#news .tab {
    border-radius: 3px;
    background-color: #156a2f;
    overflow: hidden;
}

#news .tab {
    padding: 30px;
    color: #ffffff;
    background-position: top 20px right 20px;
    background-repeat: no-repeat;
}

#news .tabHeadline {
    color: #ffffff;
    margin: 0 0 20px 0;
}

@media (min-width: 768px) {
    #news .tabHeadline {
        margin: 0 0 25px 0;
    }
}

@media (min-width: 1200px) {
    #news .tabHeadline {
        -webkit-hyphens: manual;
        -moz-hyphens: manual;
        -ms-hyphens: manual;
        hyphens: manual;
    }
}

#news .tabHeadline::after {
    display: none;
}

#news .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
}

#news .tab_link_title a {
    line-height: 1.2;
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 8px;
}

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

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

#news {
    padding: 30px 0 60px 0;
}

#news .tab {
    background-image: url('../img/icon-zeitung.png');
}

#news .tab,
#news .tab_link,
#news .tab_link>div {
    height: 100%;
    min-height: 100%;
}

#news .tab_link_entry {
    border-radius: 3px;
    padding: 160px 30px 30px 30px;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

@media (min-width: 576px) and (max-width: 767px) {
    #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: 768px) {
    #news .tab_link_entry {
        width: calc(33.33% - 20px);
    }

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

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

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

@media (max-width: 991px) {
    #news .tab_link {
        margin-top: 30px;
    }
}

#news .tab_link_entry::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 120px;
    overflow: hidden;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background: #ffffff;
}

#news .tab_link_entry::before {
    content: "";
    background: url('../img/platzhalter-aktuelles.jpg') center / cover no-repeat;
}

#news .tab_preview_picture{
    background: #ffffff;
}

#news .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 350px;
    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%);
}

#news .tab_date {
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    left: -1px;
    top: 105px;
    z-index: 1;
    display: inline-block;
    padding: 6px 20px;
    background: #adcc4e;
    color: #291809;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

#news .tab_link_title a {
    color: #158236;
}

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

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

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

@media (min-width: 992px) {
    #contentBox {
        padding-bottom: 80px;
        padding-top: 15px;
    }
}

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

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

h1 em, h1 i,
h2 em, h2 i,
h3 em, h3 i {
    color: #158236;
    display: inline-block;
    font-style: normal;
    font-size: 68%;
}

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

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

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

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


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

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

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

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

#newslinks, #newsmandate {
    border: 1px solid #156a2f;
}

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

#tabArea {
    color: #fff;
    padding-top: 40px;
}

#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.events {
    background-color: #156a2f;
    min-height: 100%;
    height: 100%;
    font-style: 1.125rem;
}

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

#tabArea .tabHeadline {
    margin: 0;
    text-align: center;
    color: #1d1d1b;
    font-weight: 700;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.2;
}

.events .tabHeadline {
    background-color: #adcc4e;
}

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

#tabArea .left .tabHeadline::before {
    background-image: url('../img/grafik-logo-tab.png');
}
#tabArea .events .tabHeadline::before {
    background-image: url('../img/kalender-icon-tab.png');
}

@media (min-width: 992px) {
    #tabArea .tabHeadline {
        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: #fff;
    font-weight: 600;
}

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

.tab_spacer {
    height: 15px;
}

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

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

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

.events .tab_link_mehr a,
.left a {
    background: #ccdc65;
    font-weight: 600;
    color: #000000;
    padding: 8px 20px 8px 20px;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

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

.events .tab_link_mehr a:hover,
.events .tab_link_mehr a:focus,
.left a:hover,
.left a:focus {
    background: #9cbb3e;
    color: #000000;
}

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

#contact {
    background: #158236;
    overflow: hidden;
    position: relative;
    line-height: 1.4;
}

#contact::before {
    content: '';
    position: absolute;
    width: 276px;
    height: 294px;
    bottom: -12%;
    right: 13%;
    z-index: 1;
    background: url('../img/grafik-logo.png') no-repeat;
}

@media (max-width: 991px) {
    #contact::before {
        bottom: -12%;
        right: 0;
    }
}

#contact>.row>div {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 768px) {
    #contact>.row>div {
        padding-top: 70px;
        padding-bottom: 60px;
    }
}

#contact>.row>div:last-child {
    position: relative;
    background: #156a2f;
}

@media (min-width: 768px) {
    #contact>.row>div:last-child {
        padding-left: 30px;
    }
}

@media (min-width: 1200px) {
    #contact>.row>div:last-child {
        padding-left: 60px;
    }
}

#contact>.row>div:last-child::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -50vw;
    width: 50vw;
    background: #156a2f;
}

@media (max-width: 767px) {
    #contact>.row>div:last-child::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: -50vw;
        width: 50vw;
        background: #156a2f;
    }
}

#contact h1,
#contact h2,
#contact h3,
#contact h4,
#contact h5,
#contact h6,
#contact .tab {
    color: #ffffff;
}

#contact h2 {
    margin-bottom: 25px;
}

#contact .decor {
    position: relative;
}

#contact .decor::before {
    position: absolute;
    content: '';
    height: 4px;
    width: 120px;
    bottom: -17px;
    background-color: #fff;
}

#contact .content {
    margin-top: 7px;
}

#contact .tab a {
    color: #ffffff;
    text-decoration: underline;
}

#contact .tabHeadline2 {
    font-size: 1.25rem;
    margin: 0 0 15px 0;
    width: 100%;
}

#contact .phoneNumber {
    background: #ffffff url('../img/icon-telefon.png') center left 20px no-repeat;
    border-radius: 3px;
    padding: 7px 20px 7px 72px;
    font-weight: 600;
    font-size: 26px;
    width: 100%;
}

@media (min-width: 576px) {
    #contact .phoneNumber {
        font-size: 28px;
    }
}

@media (min-width: 1200px) {
    #contact .phoneNumber {
        font-size: 32px;
    }
}

#contact table td, #contact table th {
    padding: 0 4px;
}

#contact table td:first-of-type, #contact table th:first-of-type {
    padding: 0;
}

/* ------------------------------------------------ parallax ----------------------------------------------- */

#footerImg {
    height: 200px;
    background-color: #000000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (min-width: 768px) {
    #footerImg {
        height: 250px;
    }
}

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

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

footer {
    background-color: #adcc4e;
    padding-top: 40px;
    padding-bottom: 40px;
    color: #1d1d1b;
    font-size: 1rem;
}

@media (min-width: 1199px) {
    footer>.row>div:nth-child(2) {
        padding-left: 30px;
        padding-right: 30px;
    }
}

footer a {
    color: #1d1d1b;
}

footer iframe,
footer .iframe-wrapper-manual-enabling {
    width: 100% !important;
    min-width: 100% !important;
}

footer a:hover,
footer a:focus {
    color: #1d1d1b;
}

.footerTab a,
.footerTab a {
    text-decoration: underline;
    border-radius: 3px;
    padding: 2px;
}

.footerTab a:hover,
.footerTab a:focus {
    background-color: rgba(0, 0, 0, 0.2);
}

.footerTab h1,
.footerTab h2,
.footerTab h3,
.footerTab h4,
.footerTab h5,
.footerTab h6 {
    font-size: 1.375rem;
    margin: 0;
    color: #1d1d1b;
}

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

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

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

#innerfooter a {
    text-decoration: none;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding: 6px 10px 6px 25px;
}

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

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

/* --------------------------------------------- to top -------------------------------------------- */

#scrollTopBtn {
    width: 50px;
    height: 50px;
    border-radius: 3px;
    margin-bottom: 60px;
    font-size: 0;
    color: #000000;
    background: #ffffff url('../img/icon-arrow.png') no-repeat center center;
}

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

#vernetzt {
    text-align: right;
    font-size: 0.8125rem;
    color: #1d1d1b;
    line-height: 1.3;
    margin: 30px auto 0 auto;
    font-weight: 400;
    text-decoration: none;
}

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

#vernetzt span {
    color: #1d1d1b;
}

#vernetzt span span {
    display: block;
}

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