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

body {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: #2b2b2b;
    background: #fafafa;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #cc3835;
}

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

b, strong {
    font-weight: 500;
}

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
    outline: 3px solid #000000 !important;
}

/* ------------------------------------------------ @2tp ----------------------------------------------- */

header {
    background: #ffffff;
}

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

@media (min-width: 992px) {
    #tp2 {
        z-index: 103;
        margin-bottom: -30px;
    }

    .contrast_light_font #tp2 {
        margin-bottom: 0 !important;
    }
}

#tp2 div.col-xs-12 {
    padding: 0px;
}

#tp2::before {
    content: '';
    width: 100%;
    height: 10px;
    background: #a5af3e;
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
}

#tp2 .optionsbar {
    background-color: #507737;
    min-height: 38px;
}

@media (min-width: 992px) {
    #tp2 .optionsbar {
        margin-left: auto;
    }
}

#contrast_style {
    padding-left: 25px;
    padding-right: 17px;
}

#contrast_style button {
    color: #000000;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.6);
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-weight: 400;
    text-align: center;
    background: #ffffff;
    position: relative;
    z-index: 1;
    font-size: 0;
}

#contrast_style button::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: -6px;
    top: -6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    -webkit-transition: opacity 150ms linear;
    -moz-transition: opacity 150ms linear;
    -ms-transition: opacity 150ms linear;
    -o-transition: opacity 150ms linear;
    transition: opacity 150ms linear;
}

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

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    right: 3px;
    left: 3px;
    bottom: 3px;
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 0.6) 50%);
}

#contrast_style button:nth-of-type(3)::after {
    background: #cc3835;
    border: none;
}

@media (max-width: 991px) {
    .optionsbar::after {
        content: '';
        width: 50vw;
        position: absolute;
        left: -50vw;
        top: 0px;
        pointer-events: none;
        background-color: #609142;
        display: inline-block;
        height: 100%;
    }
}

@media (min-width: 992px) {
    .optionsbar::after {
        content: '';
        width: 50vw;
        position: absolute;
        right: -50vw;
        top: 0px;
        pointer-events: none;
        background-color: #3e6029;
        display: inline-block;
        height: 100%;
    }
}

@media (min-width: 992px) {

    #style {
        padding-left: 15px;
        padding-right: 15px;
        border-left: 1px solid rgba(255, 255, 255, 0.50);
    }

    #style button {
        font-size: 20px;
        background: transparent;
        padding: 0;
        border: none;
        color: #ffffff;
        display: inline-block;
        font-weight: 500;
        text-align: center;
        position: relative;
        line-height: 1.2;
        -webkit-transition: color 150ms linear;
        -moz-transition: color 150ms linear;
        -ms-transition: color 150ms linear;
        -o-transition: color 150ms linear;
        transition: color 150ms linear;
        margin-top: -2px;
    }

    #style button+button::before {
        content: '';
        height: 20px;
        width: 1px;
        background: #ffffff;
        display: inline-block;
        pointer-events: none;
        margin: 0 10px;
        position: relative;
        top: 4px;
    }

    #style button:hover {
        color: #e0ffcc;
        text-decoration: underline;
    }

    #style button:focus-visible {
        outline: 2px auto
    }
}

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

#search {
    height: 38px;
    width: 38px;
    background: #3e6029;
    display: inline-block;
    position: relative;
}

#search_submit {
    width: 32px;
    height: 32px;
    background: #3e6029 url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 32px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    font-size: 0;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

#search_submit:hover {
    background-color: #3e6029;
}


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

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

/* ----------------------------------------------- topbar ----------------------------------------------- */

#topbar {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.9);
}

@media (min-width: 992px) {
    #topbar {
        background: url('../img/birkenast.png') right center no-repeat, rgba(255, 255, 255, 0.9);
    }
}

.contrast_light_font #logo img {
    background-color: #ffffff !important;
}

#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) {
    #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: #cc3835;
        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: #a5af3e;
        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: 14px;
    }

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

@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 {
        background-color: #a5af3e;
    }

    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;
        flex-wrap: wrap;
    }

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

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

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

    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: #2b2b2b;
    font-weight: 400;
    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(0, 0, 0, 0.2);
    }

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 18px 10px;
        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: 50%;
    bottom: 0;
    background: #cc3835;
    opacity: 0;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -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,
.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: #2b2b2b;
}

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

.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: #ffffff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

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

@media(min-width:992px) {

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

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

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

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #2b2b2b;
    font-weight: 300;
    text-align: left;
    padding: 8px 25px;
    font-size: 1.125rem;
    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;
    }
}

/* ------------------------------------------ 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: #cc3835;
    color: #ffffff;
}

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

/* ----------------------------------------------- topBox ----------------------------------------------- */

@media (min-width: 992px) {
    #topBox {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 102;
    }
}

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

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

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

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

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

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

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

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

.slider-mask {
    display: none;
}

/* --------------------------------------------- bannerOverlay -------------------------------------------- */

@media (max-width: 767px) {
    #bannerOverlay {
        background: #fafafa;
    }
}

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

@media (min-width: 992px) {
    #bannerOverlay {
        bottom: 115px;
    }
}

#bannerOverlay p,
#bannerOverlay a {
    pointer-events: auto;
}

#slogan {
    padding: 20px 0;
    color: #444444;
    font-weight: 300;
    line-height: 1.2;
}

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

#slogan p {
    background: rgba(255, 255, 255, 0.9);
    display: inline-block;
    padding: 10px 4px;
}

@media (min-width: 768px) {
    #slogan p {
        padding: 6px 20px;
    }
}

#slogan p:first-of-type {
    background: rgba(84, 126, 58, 0.85);
    font-size: 25px;
    padding: 10px 4px 4px 4px;
    font-family: 'Galada', sans-serif;
    font-weight: 400;
    color: #ffffff;
    border-radius: 4px 4px 0 0;
    line-height: 1;
}

#slogan p:last-of-type {
    border-top: 4px solid #a5af3e;
}

@media (min-width: 768px) {
    #slogan p:first-of-type {
        padding: 14px 20px 4px 20px;
    }
}

@media (min-width: 992px) {
    #slogan p {
        font-size: 22px;
    }

    #slogan p:first-of-type {
        font-size: 40px;
    }
}

/* ------------------------------------------------ quickTabs ----------------------------------------------- */

#quickTabs {
    padding: 30px 0;
    background: #ffffff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

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

#quickTabs .tabHeadline {
    margin: 0;
    color: #cc3835;
    font-size: 1.5rem;
}

#quickTabs a {
    background: #f8f5f0;
    text-decoration: none;
    display: inline-block;
    position: relative;
    color: #4c4c4c;
    padding: 5px 15px;
}

#quickTabs a:hover,
#quickTabs a:focus {
    background: #cc3835;
    color: #ffffff;
}

#quickTabs .tabContent p {
    display: inline-block;
}

#quickTabs .tabContent p+p {
    margin-left: 15px;
}

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

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

@media (max-width: 991px) {
    #contentCol {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }
}

@media (min-width: 992px) {
    #content {
        padding-top: 30px;
        padding-bottom: 100px;
    }

    #contentCol {
        padding-top: 26px;
    }
}

/* -------------------------------------------- 3nw news--------------------------------------------- */

#news {
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 1rem;
}

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

#news .headline {
    margin-bottom: 30px;
    color: #2b2b2b;
    font-size: 1.875rem;
}

#news .tab_link_title a {
    color: #cc3835;
    font-weight: 500;
}

#news .tab_link_mandat a {
    color: inherit;
}

#news .vorschau {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

@media (min-width: 992px) {
    #news .tab_link_title a {
        font-size: 1.125rem;
    }

    #news .tab_link_mandat a,
    #news .tab_date,
    #news .vorschau {
        font-size: 1rem;
    }
}

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

@media (min-width: 992px) {
    #news .tab_link_entry+.tab_link_entry {
        margin-top: 25px;
        padding-top: 15px;
    }
}

#news .tab_spacer {
    display: none;
}

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

#news .tab_link_entry {
    position: relative;
    margin-left: 185px;
    min-height: 105px;
    border-bottom: none !important;
    padding: 15px;
    background: #ffffff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

#news .tab_link_title a {
    display: block;
}

#news .tab_link_entry::after {
    content: "";
    background: #821816 url('../img/Platzhalterbild-Aktuelles.png') center no-repeat;
}

#news .tab_preview_picture {
    background: #ffffff;
}

#news .tab_link_entry::after,
#news .tab_preview_picture {
    display: block;
    width: 170px;
    height: 100%;
    position: absolute;
    left: -185px;
    top: 0;
    overflow: hidden;
}

@media (max-width: 767px) {
    #news .tab_link_entry {
        margin-left: 0px;
        padding-top: 185px !important;
    }

    #news .tab_link_entry::after,
    #news .tab_preview_picture {
        display: block;
        width: 100%;
        height: 170px;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0px;
        right: 0px;
        overflow: hidden;
        background-size: cover;
    }
}

#news .tab_preview_picture img {
    position: absolute;
    z-index: 2;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

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

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

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

#news .tab_link_mehr a {
    background: #cc3835;
    font-weight: 500;
    color: #ffffff;
    padding: 8px 20px;
    position: relative;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

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

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

#tabsLeft>*+*,
#tabsRight>*+* {
    margin-top: 60px !important;
}

@media (max-width: 991px) {

    #tabsLeft,
    #tabsRight {
        padding-top: 40px;
    }
}

@media (min-width: 992px) {
    #tabsLeft {
        padding-right: 20px;
    }

    #tabsRight {
        padding-left: 20px;
    }
}

@media (min-width: 1200px) {
    #tabsLeft {
        padding-right: 40px;
    }

    #tabsRight {
        padding-left: 40px;
    }
}

#tabsLeft .tab,
#tabsRight .tab {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 32px;
    position: relative;
    padding: 45px 20px 20px 20px;
    background: #ffffff;
    font-size: 15px;
    color: #2b2b2b;
    border-top: 4px solid #a5af3e;
    -webkit-box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

#tabsLeft .tab::before,
#tabsRight .tab::before {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    top: -32px;
    left: 50%;
    margin-left: -30px;
    border-radius: 50%;
    background-color: #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

#tab1::before,
#tab6::before,
#tab2::before {
    background-image: url('../img/icon-news.png');
}

#tab3::before {
    background-image: url('../img/icon-veranstaltungen.png');
}

#tab4::before {
    background-image: url('../img/icon-sg-tab.png');
}

#tab5::before {
    background-image: url('../img/icon-uhr.png');
}

#tabsLeft .tab :is(h1, h2, h3, h4, h5, h6, .tabHeadline),
#tabsRight .tab :is(h1, h2, h3, h4, h5, h6, .tabHeadline) {
    color: #2b2b2b;
    font-size: 1.5rem;
    margin: 0 0 16px 0;
    text-align: center;
}

#tabsLeft .tab .tab_link_title a,
#tabsRight .tab .tab_link_title a {
    color: #2b2b2b;
    font-weight: 500;
}

#tabsLeft .tab .tab_link_mandat a,
#tabsRight .tab .tab_link_mandat a {
    color: #2b2b2b;
}

#tabsLeft .tab .tab_link_mehr,
#tabsRight .tab .tab_link_mehr {
    color: transparent;
    font-size: 0;
}

#tabsLeft .tab .tab_link_mehr a,
#tabsRight .tab .tab_link_mehr a {
    text-decoration: none;
    padding: 4px 15px 3px 15px;
    display: inline-block;
    border-radius: 2px;
    font-size: 0.875rem;
    background: #cc3835;
    color: #ffffff;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

#tabsLeft .tab .tab_link_mehr a:hover,
#tabsLeft .tab .tab_link_mehr a:focus,
#tabsRight .tab .tab_link_mehr a:hover,
#tabsRight .tab .tab_link_mehr a:focus {
    background: #821816;
    color: #ffffff;
}

#tabsLeft .tab .eventclndr-tab,
#tabsRight .tab .eventclndr-tab {
    margin-bottom: 22px;
}

#tabsLeft .tab #clr-events-hide>p:first-child,
#tabsRight .tab #clr-events-hide>p:first-child {
    margin-bottom: 15px;
}

#tabsLeft .tab .tab_spacer,
#tabsRight .tab .tab_spacer {
    height: 15px;
}

/* ----------------------------------------------- teaser ----------------------------------------------- */

#teaser {
    min-height: 145px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (min-width: 992px) {
    #teaser {
        min-height: 345px;
    }
}

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

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

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

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

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

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

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 #2b2b2b;
}

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

footer {
    color: #ffffff;
    font-size: 0.9375rem;
}

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

#footer a {
    color: #ffffff !important;
}

.footerTab a {
    text-decoration: underline;
}

.contrast_dark_font .footerTab img {
    background-color: #000000 !important;
}

#footer {
    background: #487a33;
    padding-top: 30px;
    padding-bottom: 30px;
}

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

@media (min-width: 576px) {
    #footer>.row>*+*:nth-child(2) {
        margin-top: 0;
    }
}

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

footer :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
    font-size: 1.375rem;
    margin: 0;
}

.footerLogo {
    display: inline-block;
}

.footerLogo img {
    display: block;
}

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

#innerfooter ul {
    padding: 0;
    line-height: 1.7;
}

@media (min-width: 992px) {
    #innerfooter ul {
        margin-bottom: -10px;
    }
}

#innerfooter a {
    color: #ffffff;
    font-weight: 300;
    font-size: 1rem;
    text-transform: uppercase;
}

#innerfooter li::before {
    content: "\0007C";
    color: #ffffff;
    position: relative;
    bottom: 2px;
    margin-right: 4px;
}

/* --------------------------------------------- tabVernetzt -------------------------------------------- */

.tabVernetzt {
    display: inline-block;
}

.tabVernetzt img {
    display: block;
}

/* --------------------------------------------- footer2 -------------------------------------------- */

#footer2 {
    padding: 15px 0;
    background: #a5af3e;
}

#scrollTopBtn {
    position: relative;
    text-decoration: none;
    padding: 4px 15px 3px 10px;
    display: inline-block;
    border-radius: 2px;
    font-size: 0.9375rem;
    color: #2b2b2b;
    font-weight: 500;
    border: 1px solid rgba(43, 43, 43, 0.15);
}

#scrollTopBtn:hover,
#scrollTopBtn:focus {
    background: rgba(43, 43, 43, 0.05);
}

#scrollTopBtn::after {
    content: "\00BB";
    position: relative;
    bottom: 1px;
    display: inline-block;
    margin-left: 4px;
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

@media (min-width: 576px) {
    #scrollTopBtn::after {
        margin-left: 15px;
    }
}