@import url("https://fonts.verwaltungsportal.de/css/?family=Lato:400,700,400i,700i");

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

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

a {
    color: #cc0512;
}

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


b,
strong {
    font-weight: 700;
}


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

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

#content a:not(.has-image),
#tabWrapper a,
#newsElement .tab_link_title a,
#eventsCalendar .tab_link_title a,
#tabannouncements .tab_link_title a,
#footerTop a:not(.has-image) {
    text-decoration: underline;
}

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

#logo {
    display: inline-block;
}

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

#logo img {
    display: block;
    padding: 10px;
}

@media (max-width: 991px) {

    #logo {
        padding: 10px 0;
    }

    #logo img {
        max-width: 180px;
        width: 100%;
        padding: 0;
    }
}

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


#menu {
    background: #fff;

}

.is-sticky #menu {
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: none !important;
        position: relative;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #9e050f;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

    #burgerButton[aria-expanded="true"]::before {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 10px;
    }

    #burgerButton::before {
        top: 18px;
    }

    #burgerButton::after {
        top: 26px;
    }

    #burgerButton::before,
    #burgerButton::after {
        content: "";
        display: block;
    }

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

    .navbar-collapse {
        top: 0;
        background: #9e050f;
        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;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    .navbar-collapse.in::after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 90px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

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

    .navbar-collapse.collapse.in::after {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {

    #myNavbar {
        background: #cc0512;
    }

    #myNavbar::after {
        content: '';
        pointer-events: none;
        background: #cc0512;
        top: 0;
        height: 100%;
        position: absolute;
        width: 40vw;
        right: calc(-40vw + 15px);
        display: block;
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between !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;
    }

    /* Fade in Hover Start */
    .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;
    }

    /* Pseudo */

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

    /* 3rd */

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


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

.navbar-default .navbar-nav>li>a {
    color: #fff;
    font-weight: 700;
    padding: 10px 35px 15px 15px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    text-align: left;
    hyphens: auto;
}

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

@media (min-width: 992px) {

    .navbar-default .navbar-nav>li>a {
        padding: 45px 10px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 100%;
        text-align: center;
    }

}

@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 {
    background: #9e050f;
}


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

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

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

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


    .navbar-default .navbar-nav>li>.dropdown-menu>li+li+li,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li+li+li {
        border-top: 1px solid #cccccc;
    }

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #252525;
    font-weight: 400;
    text-align: left;
    padding: 9px 16px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    hyphens: auto;
}


.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    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:hover>a,
.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 {
    color: #cc0512;
}

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

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

#headerpic {
    position: relative;
}

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

body:not(.index) #slider {
    height: 450px
}

@media (min-width: 992px) {
    #headerpic a.nivo-prevNav {
        left: 65px;
        top: 20px;
    }

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


    #headerpic .nivo-controlNav {
        top: 15px;
        bottom: unset;
        pointer-events: none;
    }

    #headerpic .slick-dots {
        pointer-events: all;
    }
}

@media (max-width: 991px) {

    #slider {
        height: 34vw;
    }

    body:not(.index) #slider {
        height: 24vw;
    }


    #slider-onebanner,
    #slider .nivo-box>div,
    #slider .nivo-slice>div,
    #slider .nivo-main-image,
    #slider div[style*='background-size'] {
        background-attachment: unset !important;
        background-size: 100% auto !important;
    }
}

.slider-mask {
    display: block;
    background: url(../img/slider-mask.png) no-repeat bottom center / 100% auto;
}


#overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 12;
}

#overlay::after {
    content: '';
    background: url(../img/dekor-banner-left.png) no-repeat bottom left;
    width: 545px;
    height: 119px;
    position: absolute;
    left: 0px;
    bottom: -24px;
}

#overlay .tabHeadline {
    background: #9e050f;
    color: #fff;
    font-size: 1.875rem;
    width: fit-content;
    display: inline-block;
    padding: 20px 30px;
    font-weight: 700;
    hyphens: auto;
}

#overlay .row,
#overlay .col-xs-12 {
    padding: 0;
    margin: 0;
}

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

#overlay .tabContent {
    background-color: #cc0512;
    color: #fff;
    width: fit-content;
    padding: 15px 30px 75px 30px;
}

@media (min-width: 768px) {
    #overlay .tabContent {
        max-width: 400px;
        width: 100%;
        text-align: center;
    }
}

#overlay :is(a, h1, h2, h3, h4, h5, h6) {
    color: #fff;
}


#overlay :is(h2, h3) {
    font-size: clamp(1.875rem, 3vw, 2.8125rem);
}


/* ------------------------------------------------ @bfControlBar ----------------------------------------------- */

#bfControlBar {
    z-index: 12;
    position: relative;
}

#search {
    min-height: 27px;
    background: #fff;
    display: inline-block;
    position: relative;
    border: 1px solid #d9d9d9;
    max-width: 370px;
    width: 100%;
}

@media (max-width: 767px) {
    #search {
        max-width: 100%;

    }
}

#search_input {
    color: #252525;
    font-size: 0.9375rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 10px;
    padding-right: 43px;
    min-height: 27px;
    width: 100%;

}

#search_submit {
    width: 30px;
    background: #fff url('../img/icon-suche.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    min-height: 100%;
    font-size: 0;
    transition: background-color 300ms linear;
}

#search_submit {
    border-left: 1px solid #9e050f;
    margin-top: 2px;
    margin-bottom: 2px;
    min-height: calc(100% - 4px);
}

#search_submit:hover {
    outline: 2px auto;
}

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

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

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

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




#bfControlBar button {
    border: none;
    color: #252525;
    display: inline-block;
    min-width: 29px;
    min-height: 29px;
    font-weight: 400;
    font-size: 0.875rem;
    text-align: center;
    background-color: #fff;
    position: relative;
    line-height: 1;
    transition: 150ms linear;
    padding: 0;
    border: 1px solid #d9d9d9;
}


#bfControlBar button+button {
    margin-left: 4px;
}

#search,
#style {
    margin-left: 30px;
}

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

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

#contrast_style button:hover,
#contrast_style button:focus {
    outline: 2px auto;
}

#contrast_style button {
    font-size: 0px !important;
}

/* ------------------------------------------------ @26tab ----------------------------------------------- */

#tab26Wrapper {
    padding-top: 78px;
    margin-top: 60px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-bottom: 58px;
}

#tab26Wrapper::before {
    content: '';
    background: url(../img/slider-mask-tab.png) no-repeat top center;
    height: 70px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

#tab26Wrapper .tabHeadline {
    color: #fff;
    font-size: 1.875rem;
    hyphens: auto;
}

#tab26Wrapper .headlineTab,
#tab26Wrapper .headlineTab :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
}

#tab26 {
    margin: auto;
    width: 100%;
    max-width: 770px;
    text-align: center;
}

#tab26 .tab {
    font-size: 1.125rem;
    color: #fff;
    text-align: left;
}

#tab26Wrapper :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
}

#tab26 .tab a {
    text-decoration: underline;
}

#tab26 .tab hr {
    background-color: #fff !important;
    opacity: 1 !important;
    margin-top: 15px;
    margin-bottom: 15px;
}

#tab26 .tab :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.25rem;
    font-weight: 700;
    color: #444444;
}


/* ----------------------- @26tab slider arrows + dots ------- DO NOT DELETE ----------------------- */

#tab26 .slick-slide {
    padding: 15px;
}

#tab26 .slick-dots button,
#tab26 .slick-button {
    background: transparent !important;
    border: none;
    padding: 5px;
}

#tab26 .slick-button {
    font-size: 0px;
    position: relative;
    top: 4px;
}

#tab26 .slick-prev {
    margin-left: 14px;
}

@media (max-width: 767px) {
    #tab26 .slick-next {
        margin-left: 30px;
    }
}

#tab26 .slick-button::before {
    display: block;
    line-height: 12px;
    height: 20px;
    font-size: 40px;
    color: #fff;
}

#tab26 .slick-button::after {
    content: "";
    position: absolute;
    pointer-events: none;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.05);
    transition: width 200ms linear, height 200ms linear;
    z-index: -1;
}

#tab26 .slick-button:focus::after,
#tab26 .slick-button:hover::after {
    width: 28px;
    height: 28px;
}

@media (max-width: 767px) {

    #tab26 .slick-button::after,
    #tab26 .slick-button::after {
        width: 28px;
        height: 28px;
    }
}

#tab26 .slick-dots {
    padding: 0 15px;
    list-style: none;
}

#tab26 .slick-dots>li {
    display: inline-block;
    position: relative;
    top: 50%;
    font-size: 0px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #aaaaaa;
    transform: translateY(-50%);
}

#tab26 .slick-dots,
#tab26 .slick-button {
    display: inline-block !important;
}

@media (max-width: 767px) {
    #tab26 .slick-dots {
        display: none !important;
    }
}

#tab26 .slick-dots>li.slick-active {
    background: #fff;
    transition: background 200ms linear;
}

#tab26 .slick-dots>li+li {
    margin-left: 10px;
}

#tab26 .slick-prev::before {
    content: "\2039";
}

#tab26 .slick-next::before {
    content: "\203A";
}

/* ------------ @26tab slider 1 stop/play button for accessibility ------- DO NOT DELETE ------------ */

#tab26 .slick-animate-control {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    top: -5px;
    left: 10px;
    border: 1px solid #ffffff;
    background-color: #000;
    background-size: 16px 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M12 36V12h24v24Z' fill='%23fff'/%3E%3C/svg%3E");
}

#tab26 .slick-animate-control.slick-pause {
    background-size: 20px 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M16 37.85v-28l22 14Z' fill='%23fff'/%3E%3C/svg%3E");
}

/***********************************SLIDER_ROOT_FILE DO NOT CHANGE OR DELETE************************************/

#tab26 .slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

#tab26 .slick-list {
    position: relative;
    overflow: hidden;
    display: block;
    margin: 0;
    padding: 0;
}

#tab26 .slick-list:focus {
    outline: none;
}

#tab26 .slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

#tab26 .slick-slider .slick-track,
#tab26 .slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

#tab26 .slick-track {
    position: relative;
    left: 0;
    top: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#tab26 .slick-track:before,
#tab26 .slick-track:after {
    content: "";
    display: table;
}

#tab26 .slick-track:after {
    clear: both;
}

#tab26 .slick-loading .slick-track {
    visibility: hidden;
}

#tab26 .slick-slide {
    float: left;
    height: 100%;
    min-height: 1px;
    display: none;
}

#tab26 [dir="rtl"] .slick-slide {
    float: right;
}

#tab26 .slick-slide .tab .template-page .row div>.tiny_p {
    display: flex;
    justify-content: center;
}

#tab26 .slick-slide img {
    display: block;
    height: 100%;
    max-height: 418px;
    max-width: 300px;
    width: 100%;
}

#tab26 .slick-slide.slick-loading img {
    display: none;
}

#tab26 .slick-slide.dragging img {
    pointer-events: none;
}

#tab26 .slick-initialized .slick-slide {
    display: block;
}

#tab26 .slick-loading .slick-slide {
    visibility: hidden;
}

#tab26 .slick-vertical .slick-slide {
    display: block;
    height: auto;
}

#tab26 .slick-arrow.slick-hidden {
    display: none;
}

#tab26 .tabWrapper {
    opacity: 0;
}


#tab26 .tabWrapper.slick-initialized {
    opacity: 1;
    transition: opacity 200ms linear;
}

/***********************************ROOT_FILE_END************************************/


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

#tabAsideLeft,
#tabAsideRight {
    font-size: 1rem;
}


#tabAsideLeft .tab_link_title a,
#tabAsideRight .tab_link_title a {
    font-weight: 700;
    color: #252525;
}

#tabAsideLeft .tab_link_mehr,
#tabAsideRight .tab_link_mehr {
    font-size: 0;
}

.moreElement a,
.buttons a,
#tabAsideLeft .tab_link_mehr a,
#tabAsideRight .tab_link_mehr a {
    font-weight: 700;
    color: #cc0512;
    font-size: 0.9375rem;
    display: inline-block;
    padding: 2px 15px 4px 15px;
    background: #fafafa;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    text-decoration: none;
}

.buttons a {
    position: relative;
    color: #252525;
    font-size: 0.875rem;
    font-weight: 400;
    padding: 2px 15px 4px 35px;
}

.buttons a+a {
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 30px;
}

@media (min-width: 879px) {
    .buttons a+a {
        margin-left: 30px;
        margin-right: 30px;
        margin-bottom: 0;
    }
}

.buttons a::before {
    position: absolute;
    display: block;
    content: '';
    width: 20px;
    height: 21px;
    left: 10px;
    top: 2px;
    background: url(../img/icon-gebaerdensprache.png) no-repeat;
}

.buttons a+a::before {
    width: 17px;
    background: url(../img/icon-einfache-sprache-an.png) no-repeat;
}

.buttons a:hover::before,
.buttons a:focus::before {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}

.moreElement a:hover,
.moreElement a:focus,
.buttons a:hover,
.buttons a:focus,
#tabAsideLeft .tab_link_mehr a:hover,
#tabAsideLeft .tab_link_mehr a:focus,
#tabAsideRight .tab_link_mehr a:hover,
#tabAsideRight .tab_link_mehr a:focus {
    background: #cc0512;
    color: #fff;
}


.tabSide+.tabSide::before {
    height: 5px;
    width: 100px;
    margin: 20px auto 20px auto;
    background: #bfb7b5;
    content: '';
    display: block;
}

#contentWrapper .tabHeadline,
#tabAsideLeft .tabHeadline,
#tabAsideRight .tabHeadline {
    font-size: 1.625rem;
    text-align: center;
    color: #252525;
    hyphens: auto;
}

#contentWrapper .tabHeadline {
    text-align: left;
    font-size: 1.875rem;
}

#quickButton .tabHeadline {
    color: #fff;
}

@media (min-width: 1200px) {
    #quickButton::after {
        content: '';
        background: url(../img/dekor-tab-right.png) no-repeat right bottom;
        width: 276px;
        height: 61px;
        position: absolute;
        right: -156px;
        bottom: -12px;
        display: block;
        pointer-events: none;
    }
}

#tabannouncements,
#eventsCalendar {
    margin-top: 60px;
}

@media (max-width: 991px) {

    #quickButton,
    #tabWrapper {
        margin-top: 60px;
    }

}

@media (max-width: 767px) {
    #quickButton {
        margin-top: 40px;

    }
}

.dekorTab {
    background: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
    padding: 60px 30px 30px 30px;
    position: relative;
    border-top: 4px solid #bfb7b5;
}

.dekorTab::before {
    content: '';
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
    display: block;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translate(-50%);
}

#tabWrapper::before {
    background-image: url(../img/icon-kontakt.png);
}

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

#tabannouncements::before {
    background-image: url(../img/icon-bekanntmachungen.png);
}

#quickButton {
    background: #cc0512;
    color: #fff;
    padding: 30px;

}

#quickButton :is(h1, h2, h3, h4, h5, h6, a, li) {
    color: #fff;
}

#quickButton li {
    padding: 0;
}

#quickButton li::before {
    display: none !important;
}

#quickButton li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 6px 10px 8px 28px;
    text-decoration: none;
}

#quickButton li a::before {
    content: '';
    top: 16px;
    position: absolute;
    left: 12px;
    top: 16px;
    height: 5px;
    width: 5px;
    background: #fff;
    border-radius: 50%;
}

#quickButton li a:hover,
#quickButton li a:focus {
    background: #9e050f;
}


#quickButton li+li {
    border-top: 2px solid #fff;
}



/* ------------------------------------------------ newsWrapper ----------------------------------------------- */



#newsWrapper {
    position: relative;
    margin-bottom: 40px;
}

#newsWrapper .tab_link_entries {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 575px) {
    #newsWrapper .tab_link_entries {
        grid-template-columns: 1fr;

    }
}

.moreElement {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: end;
    padding: 30px;
}

@media (min-width: 576px) {
    .moreElement {
        position: absolute;
        right: 0;
        top: calc(50% + 15px);
        left: calc(50% + 15px);
        bottom: 0;
    }

}

#newsWrapper .tab_link_entry {
    position: relative;
    padding: 168px clamp(10px, 2vw, 30px) 30px clamp(10px, 2vw, 30px);
    font-size: 1rem;
}

#newsWrapper .tab_link_entry::before,
#newsWrapper .tab_preview_picture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-height: 140px;
    height: 100%;
    overflow: hidden;
}

#newsWrapper .tab_preview_picture {
    background-color: #fff;
}

#newsWrapper .tab_link_entry::before,
#newsWrapper .tab_preview_picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

#newsWrapper .tab_link_entry::before {
    background-position: top center;
    content: '';
    background-repeat: no-repeat;
}

#newsWrapper .tab_date {
    background: #9e050f;
    color: #fff;
    font-size: 12px;
    top: 112px;
    position: absolute;
    left: 0;
    display: inline-block;
    padding: 5px 15px;
    z-index: 12;
}

#newsWrapper .tab_spacer,
#newsWrapper .tab_link_entry .tab_link_mehr {
    display: none;
}


#newsWrapper .tab_link_title a {
    font-weight: 700;
    color: #252525;
}

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


main {
    padding-top: 20px;
}

.index #content,
#contentWrapper {
    padding-top: 30px;
}

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

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

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

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

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

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

#newslinks,
#newsmandate {
    border: 1px solid #2e3c48;
}

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

#footerTop {
    position: relative;
    padding: 90px 0;
    font-size: 1rem;
}

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


#footerTop .imgTab img {
    display: block;
}


#footerTop .tabHeadline {
    font-size: 1.5rem;
    hyphens: auto;
}

#footerTop::before {
    content: '';
    background: url(../img/dekor-bottom-slider.png) no-repeat bottom center;
    width: 461px;
    height: 101px;
    position: absolute;
    left: 50%;
    top: -50px;
    transform: translate(-50%);
    pointer-events: none;
    z-index: 12;
}

@media (max-width: 992px) {
    #footerTop::before {
        top: -62px;
    }
}

#footerBottom {
    background: #cc0512;
    color: #fff;
}

.verWrap {
    background: #fff;
}

@media (max-width: 767px) {
    .verWrap {
        padding: 10px 0;

    }
}

.verWrap::after {
    content: '';
    background: #fff;
    right: calc(-40vw + 15px);
    width: 40vw;
    top: 0;
    height: 100%;
    position: absolute;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    padding: 32px 20px;
    font-size: 1rem;
}

@media (max-width: 991px) {
    #innerfooter a {
        padding: 15px;

    }
}

#innerfooter a:hover,
#innerfooter a:focus {
    background: #9e050f;
}

#scrollTopBtn {
    position: relative;
    text-decoration: none;
    padding: 3px 15px 5px 15px;
    display: inline-block;
    border-radius: 2px;
    font-size: 0.9375rem;
    color: #ffffff;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 1);
}

#scrollTopBtn:hover,
#scrollTopBtn:focus {
    background: rgba(0, 0, 0, 0.2);
}

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

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



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

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #252525;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 400;
    display: inline-block;
    text-decoration: none;
}

#vernetzt b {
    color: #252525;
    font-weight: 700;
}

#vernetzt span {
    color: #252525;
}

#vernetzt span span {
    display: block;
}

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