@import url("https://fonts.verwaltungsportal.de/css/?family=Oswald:500,600,700,i500,i600,i700");
@import url("https://fonts.verwaltungsportal.de/css/?family=Nunito:400,500,600,i400,i500,i600");

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

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

a {
    color: #930b06;
}

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

#content a {
    font-weight: 700;
}

b,
strong {
    font-weight: 700;
}

@media (min-width: 1200px) {

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


#select.contrast_light_font {
    background: transparent !important;
}

.news .tab_link_entry.contrast_light_font * {
    background: #000 !important;
}


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

#selectList.contrast_light_font *,
#burgerButton.contrast_light_font,
#searchbar.contrast_dark_font *,
#tabs .tab.contrast_dark_font *,
.news .tab_link_entry.contrast_dark_font * {
    background-color: #fff !important;
}


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


*:focus-visible {
    outline-color: #0070ff !important;
}

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


@media (min-width: 1200px) {
    #logo {
        left: -20px;
        position: relative;
    }
}

#logo {
    display: inline-block;
    width: 100%;
}

#logo img {
    display: block;
}

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

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


#burgerButton {
    font-size: 0;
    border: none !important;
    position: fixed;
    z-index: 1002;
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    padding: 3px;
    background: #fff;
    margin-left: auto;
    right: 8vw;
    top: 50px;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.09);
    color: #930b06;
}

@media (max-width: 991px) {
    #burgerButton {
        right: 20px;
        top: 28px;
    }
}


#burgerButton:before,
#burgerButton:after,
#burgerButtonInner {
    background-color: #252525;
    border-radius: 2px;
    position: absolute;
    width: 35px;
    height: 3px;
    left: 17px;
    -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;
    color: #fff;
}

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

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

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

#burgerButton:before {
    top: 24px;
}

#burgerButtonInner {
    top: 33px;
    width: 25px;
    left: 27px;
}

#burgerButton:after {
    top: 42px;
}

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

@media (max-width: 991px) {
    #menu {
        padding: 0;
        height: 85px;
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        z-index: 999;
    }

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

    .navbar-collapse {
        top: 0;
        background: #930b06;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.15);
        box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.15);
        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.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

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

    .navbar-header {
        width: 28px;
        z-index: 101;
        margin-left: auto;
    }

    .navbar-collapse {
        width: calc(100% - 120px);
    }

}


@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) {

    #menu {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }

    .horizontally>.row {
        max-width: 1600px;
        width: 100%;
    }

    #myNavbar {
        position: fixed;
        top: 30vh;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 1200px;
    }



    #myNavbar::before {
        content: '';
        position: fixed;
        left: -50vw;
        right: -50vw;
        top: -50vh;
        bottom: -50vh;
        pointer-events: none;
        opacity: 0;
        background: #930b06;
        display: block;
        transition: all, 300ms;
        z-index: -1;
    }

    #myNavbar>ul {
        display: block !important;
        max-height: 500px;
        overflow: auto;
        scrollbar-width: thin;
        scrollbar-color: dark;
    }

    #myNavbar {
        opacity: 0;
        pointer-events: none;
    }

    #myNavbar.show::before,
    #myNavbar.show {
        opacity: 1.0;
        pointer-events: all;
    }


    nav.horizontally .dropdown-menu {
        z-index: 1000;
    }

    nav.horizontally li[class*="start"] {
        display: none !important;
    }


    .navbar-default .navbar-nav li[class*="toplevel"]>ul>div:nth-child(1) {
        padding-right: 25px;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
        z-index: 9999;
    }
}

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

.navbar-default li[class*="secondlevel"],
.navbar-default li[class*="toplevel"] {
    position: relative;
}

.navbar-default li[class*="toplevel"]>a {
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 10px 35px 15px 35px;
    position: relative;
    font-size: 1.5rem;
    line-height: 1.2;
    text-decoration: none;
    outline-offset: -5px;
}

@media (max-width: 991px) {
    .navbar-default li[class*="toplevel"]+li {
        border-top: 2px solid rgba(255, 255, 255, 0.2);
    }

    .navbar-default li[class*="toplevel"]>a {
        color: #fff;
        padding: 10px 35px 15px 25px;
        font-size: 1.125rem;
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]+li {
        border-top: 1px solid #f1efec;
    }
}

@media (min-width: 992px) {
    .nav .open>.dropdown-menu {
        display: none;
    }

    .navbar-default li[class*="toplevel"]>a {
        padding: 9px 45px 12px 25px;
        height: 100%;
        transition: all, 250ms;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        display: block;
    }
}

.dropdown-toggle-button-wrapper,
.dropdown-toggle-button-wrapper2 {
    position: absolute;
    right: 5px;
}

.dropdown-toggle-button-wrapper2 {
    display: block;
}

.dropdown-toggle-button::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    background: #fff;
    left: 50%;
    transform: translate(-50%) rotate(90deg);
    transition: all 100ms linear;
}

.dropdown-toggle-button::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 2px;
    background: #fff;
    transform: none;
    left: 50%;
    top: 16px;
    transform: translate(-50%);
}

.dropdown-toggle-button {
    position: relative;
    padding: 15px;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
}

.dropdown-toggle-button-wrapper,
.dropdown-toggle-button-wrapper2 {
    top: 9px !important;
    display: block !important;
}

.dropdown-toggle-button-open::after {
    transform: rotate(0deg);
    left: 5px;
    top: 16px;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav li[class*="toplevel"]>.dropdown-menu {
        background: #930b06;
    }

    .navbar-default .navbar-nav li[class*="secondlevel"]>a {
        font-size: 1rem;
    }

    .navbar-default .navbar-nav li[class*="thirdlevel"]>a {
        font-size: 1rem;
    }

    .dropdown-toggle-button-wrapper,
    .dropdown-toggle-button-wrapper2 {
        top: 5px !important;
        right: 13px !important;
        z-index: 12;
    }
}





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

.navbar-default li[class*="toplevel"]:hover>a,
.navbar-default li[class*="toplevel"]>a:hover,
.navbar-default li[class*="toplevel"]>a:focus,
.navbar-default li[class*="toplevel"].open>a,
.navbar-default li[class*="toplevel"].open>a:hover,
.navbar-default li[class*="toplevel"].open>a:focus,
.navbar-default li[class*="toplevel"][class$="_over"]>a,
.navbar-default li[class*="toplevel"][class$="_over"]>a:hover,
.navbar-default li[class*="toplevel"][class$="_over"]>a:focus {
    color: #ffffff;
    background-color: #b10d06;
    text-decoration: underline;
}

.navbar-default li[class*="toplevel"]:focus-within>a {
    color: #ffffff;
    background-color: #b10d06;
    text-decoration: underline;
}

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

.navbar-default .navbar-nav li[class*="secondlevel"]>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 9px 45px 12px 70px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav li[class*="thirdlevel"]>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 9px 45px 12px 100px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav li[class*="secondlevel"]>a,
.navbar-default .navbar-nav li[class*="thirdlevel"]>a {
    position: relative;
    outline-offset: -4px;
}

.navbar-default .navbar-nav li[class*="secondlevel"]>a::before,
.navbar-default .navbar-nav li[class*="thirdlevel"]>a::before {
    content: "\203A";
    opacity: 0;
    position: absolute;
    left: 55px;
    top: 18%;
}

.navbar-default .navbar-nav li[class*="thirdlevel"]>a::before {
    left: 85px;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav li[class*="secondlevel"]>a {
        font-size: 1rem;
        padding: 9px 45px 12px 40px;
    }

    .navbar-default .navbar-nav li[class*="thirdlevel"]>a {
        padding: 9px 45px 12px 60px;
    }


    .navbar-default .navbar-nav li[class*="secondlevel"]>a::before {
        left: 29px;
    }


    .navbar-default .navbar-nav li[class*="thirdlevel"]>a::before {
        left: 49px;
    }
}

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

.navbar-nav li[class*="secondlevel"]:hover>a,
.navbar-nav li[class*="secondlevel"]>a:hover,
.navbar-nav li[class*="secondlevel"]>a:focus,
.navbar-nav li[class*="secondlevel"].open>a,
.navbar-nav li[class*="secondlevel"].open>a:hover,
.navbar-nav li[class*="secondlevel"].open>a:focus,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:focus,
.navbar-nav li[class*="thirdlevel"]>a:hover,
.navbar-nav li[class*="thirdlevel"]>a:focus,
.navbar-nav li[class*="thirdlevel"].open>a,
.navbar-nav li[class*="thirdlevel"].open>a:hover,
.navbar-nav li[class*="thirdlevel"].open>a:focus,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.navbar-nav li[class*="secondlevel"]:focus-within>a,
.navbar-nav li[class*="thirdlevel"]:focus-within>a {
    color: #ffffff;
    text-decoration: underline;
}

.navbar-nav li[class*="secondlevel"]:hover>a::before,
.navbar-nav li[class*="secondlevel"]>a:hover::before,
.navbar-nav li[class*="secondlevel"]>a:focus::before,
.navbar-nav li[class*="secondlevel"].open>a::before,
.navbar-nav li[class*="secondlevel"].open>a:hover::before,
.navbar-nav li[class*="secondlevel"].open>a:focus::before,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a::before,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:hover::before,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:focus::before,
.navbar-nav li[class*="thirdlevel"]>a:hover::before,
.navbar-nav li[class*="thirdlevel"]>a:focus::before,
.navbar-nav li[class*="thirdlevel"].open>a::before,
.navbar-nav li[class*="thirdlevel"].open>a:hover::before,
.navbar-nav li[class*="thirdlevel"].open>a:focus::before,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a::before,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:hover::before,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus::before {
    opacity: 1;
}

.navbar-nav li[class*="secondlevel"]:focus-within>a::before,
.navbar-nav li[class*="thirdlevel"]:focus-within>a::before {
    opacity: 1;
}

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

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

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

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

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


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

@media (min-width: 1200px) {

    #slider {
        height: 600px;
    }
}


#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    background: #930b06;
}

.slider-wrapper {
    height: 100%;
}

.slider-mask {
    display: none;
}

/* ------------------------------------------------- select ------------------------------------------------ */

#select21summary::marker,
#select2 summary::marker {
    display: none;
    opacity: 0;
    color: transparent;
    font-size: 0;
}

#selectList2.contrast_light_font,
#select2.contrast_light_font {
    background-color: transparent !important;
}

#selectList2.contrast_light_font *,
#selectList2>label.contrast_light_font,
#selectList2>label.contrast_light_font * {
    background-color: #fff !important;
}


#select2.contrast_light_font *,
#select.contrast_light_font * {
    color: #000 !important;
}


#select {
    position: fixed;
    z-index: 99;
    right: 8.1vw;
    display: flex;
    top: 130px;
}


#select summary {
    background: #ffffff;
    display: block;
    position: relative;
    padding: 5px;
    cursor: pointer;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.09);
    border-radius: 50%;
    height: 60px;
    width: 60px;
    position: absolute;
    top: 0;
    right: 4px;
}

#selectedItems {
    display: block;
    text-align: left;
    background: #ffffff;
    padding: 15px;
    border: #010101 1px solid;
}

#selectedItems>span {
    color: #010101;
    text-align: center;
    width: 100%;
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}



@media (max-width: 991px) {
    #select {
        left: 0;
        display: flex;
        top: 29%;
    }

    #select summary{
     
            left: 0;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        
    }

    #select summary .col-xs-12{
        padding: 0;
    }

    #selectedItems{
        margin-top: 65px;
        width: fit-content;
    }
}












@media (min-width: 992px) {
    #selectedItems {
        margin-top: 75px;
    }
}





/* styler */

#style {
    width: 100%;
    max-width: 200px;
}

#style button {
    outline: violet;
}



#style button {
    border: none;
    font-size: 1rem;
    background: transparent;
    padding: 10px 0 10px 35px;
    position: relative;

}

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


#style button::before {
    content: '';
    display: block;
    height: 27px;
    width: 27px;
    position: absolute;
    top: calc(50% - 13px);
    left: 0;
    background: url('../img/a-icon.png') center no-repeat;
    background-size: contain;
}

#style button:nth-child(1)::before {
    background: url('../img/lupe-plus-icon.png');
    background-repeat: no-repeat;
}

#style button:nth-child(3)::before {
    background: url('../img/lupe-minus-icon.png');
    background-repeat: no-repeat;
}

/* contrast */
#contrast_style {
    max-width: 250px;
}

#contrast_style button {
    background: transparent;
    border: none;
    font-size: 1rem;
    padding: 10px 0 10px 35px;
    position: relative;
}

#contrast_style button::before {
    content: '';
    display: block;
    height: 27px;
    width: 27px;
    position: absolute;
    top: calc(50% - 13px);
    left: 0;
    background: url('../img/lightbulb-icon.png') center no-repeat;
    background-size: contain;
}

#contrast_style button:nth-child(1)::before {
    background: url('../img/contrast-icon.png');
    background-repeat: no-repeat;
}

#contrast_style button:nth-child(2)::before {
    background: url('../img/grayscale-icon.png');
    background-repeat: no-repeat;
}

/* ------------------------------------------ searchbar ----------------------------------------- */


#searchbar {
    font-size: 1.875rem;
}

@media (min-width: 1200px) {
    #searchbar {
        position: absolute;
        bottom: 240px;
        left: 0;
        right: 0;
        z-index: 12;
    }


    body:not(.index) #searchbar {
        bottom: 40px;

    }
}

@media (max-width: 1199px) {
    #searchbar {
        background-color: #930b06;
    }
}

#searchbar {
    color: #ffffff;
    pointer-events: none;
}

#searchbar .tabHeadline {
    color: #ffffff;
    pointer-events: all;
}

#searchbar .tab {
    pointer-events: all;
}

@media (min-width: 1200px) {
    #searchbar {
        color: #ffffff;
    }

    #searchbar .tabHeadline {
        font-size: 2.5rem;
        margin: 0px;
    }

    #searchbar .tab {
        padding-left: 45px;
        padding-right: 45px;
        pointer-events: all;
    }
}

@media (max-width: 1199px) {
    #searchbar>.row>div {
        padding: 0px 5px;

    }
}


#search {
    pointer-events: all;
    height: 80px;
    background: #ffffff;
    display: inline-block;
    position: relative;
    width: 100%;
    margin-top: 20px;
}

#search_input {
    color: #252525;
    font-size: 18px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 80px;
    padding-left: 80px;
    padding-right: 160px;
    height: 80px;
    width: 100%;
    display: block;
}

@media (max-width: 767px) {
    #search_input {
        padding-left: 40px;
        padding-right: 40px;
    }
}

#search_submit {
    width: 33px;
    background: url('../img/icon-search.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 80px;
    border: none;
    position: absolute;
    top: 0;
    right: 80px;
    height: 100%;
    font-size: 0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
}

#search_submit:hover,
#newsletter_submit:hover {
    background-color: transparent;
    right: 60px;
}

@media (max-width: 767px) {
    #search_submit {
        right: 40px;
    }

    #search_submit:hover,
    #newsletter_submit:hover {
        background-color: transparent;
        right: 30px;
    }
}

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

/* ------------------------------------------ scrollDown ----------------------------------------- */

@media (min-width: 1200px) {
    #scrollDown {
        position: absolute;
        bottom: 160px;
        left: 0;
        right: 0;
        z-index: 12;
    }
}

#scrollBottom a {
    position: relative;
    font-size: 0;
    display: block;
    width: 38px;
    height: 38px;
    text-align: center;
    border: 3px solid #ffffff;
    pointer-events: auto;
    border-radius: 100px;
    margin: 0 auto;
    -webkit-animation: bounceAni 2s infinite 2s;
    animation: bounceAni 2s infinite 2s;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
    color: #fff;
    background-color: rgba(117, 117, 117, 0.9);
}

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

#scrollBottom a::after {
    left: 11px;
    top: 14px;
    width: 8px;
    height: 8px;
    display: inline-block;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -ms-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
}

#scrollBottom a::before {
    left: 15px;
    top: 11px;
    width: 2px;
    height: 12px;
    background-color: #ffffff;
}

#scrollBottom:hover,
#scrollBottom:focus {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

@keyframes bounceAni {

    0%,
    100%,
    20%,
    50%,
    80% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    60% {
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}




/* ------------------------------------------------ tab14 ----------------------------------------------- */

@media (min-width: 1200px) {
    #tab14>.row>div {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 14.2% !important;
        flex: 0 0 14.2% !important;
        max-width: 14.2% !important;
    }

    #tab14>.row {
        max-width: 1570px;
        width: 100%;
    }
}

#tab14 {
    font-size: 1rem;
}

#tab14 .template-page>.row>div {
    padding: 0;
}


#tab14 .tabContent a {
    color: #ffffff;
    text-align: center;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    text-transform: uppercase;
    position: relative;
    display: block;
}


#tab14 .tabContent a::before {
    content: '';
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 75px;
    height: 75px;
    display: block;
    pointer-events: none;
    position: absolute;
    top: 35px;
    left: calc(50% - 38px);
}

#tab14 .firstab .tabContent a::before {
    background: url('../img/icon-dienstleistungen.png');
}

#tab14 .secondtab .tabContent a::before {
    background: url('../img/icon-kalender.png');
}

#tab14 .thirdtab .tabContent a::before {
    background: url('../img/icon-event.png');
}

#tab14 .tab4 .tabContent a::before {
    background: url('../img/icon-gruppe.png');
}

#tab14 .tab5 .tabContent a::before {
    background: url('../img/icon-info.png');
}

#tab14 .tab6 .tabContent a::before {
    background: url('../img/icon-geo.png');
}

#tab14 .tab7 .tabContent a::before {
    background: url('../img/icon-burger.png');
}

#tab14>.row>.col-xs-12 {
    padding: 0px;
}

#tab14 .tab {
    text-align: center;
    color: #fff;
    background-color: #930b06;
    transition: 500ms cubic-bezier(.65, .05, .36, 1);
    pointer-events: all;
    transition: border, 0ms ease-out;
    position: relative;
}

#tab14 .tabContent a {
    padding: 70px 30px;
}

#tab14 .tabContent h2 {
    margin-bottom: 30px;
}

#tab14 .tabContent {
    max-height: 100%;
    overflow: hidden;
}

#tab14 .tab:focus-within,
#tab14 .tab:hover {
    background: #b10d06;
}

#tab14 .template-page>.row {
    margin: auto;
}

#tab14 .tab a {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    outline-offset: -30px;
    hyphens: auto;
}

#tab14 .tab a:focus,
#tab14 .tab a:hover {
    text-decoration: none;
}

@media (max-width: 1199px) {
    #tab14 {
        background-color: #930b06;
        padding-bottom: 15px;
    }

    #tab14>.row>div {
        margin-top: 10px;
    }

    #tab14>.row>div .tab {
        border: 1px solid #bf706c;
    }

    #tab14>.row>.col-xs-12 {
        padding: 0 5px;
    }

    #tab14 .tab {
        padding: 15px;
    }

}

@media (max-width: 1199px) {
    #tab14 .tab {
        min-height: 100%;
    }
}

@media (min-width: 1200px) {
    #tab14 {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        width: 100%;
        height: 900px;
        z-index: 12;
        pointer-events: none;
        top: -450px;
    }

    #tab14>.row>div:nth-of-type(1) .tab {
        border-left: 1px solid #bf706c;
    }

    #tab14>.row>div:nth-last-of-type(1) .tab {
        border-right: 1px solid #bf706c;
    }

    #tab14 .tab::after,
    #tab14 .tab::before {
        content: '';
        pointer-events: none;
        height: 1px;
        top: 0px;
        left: 0px;
        right: 0px;
        position: absolute;
        background: #bf706c;
        display: inline-block;
        opacity: 1;
        transition: all, 600ms;
    }

    #tab14 .tab::after {
        bottom: 0px;
        top: unset;
    }


    #tab14 .col-xl-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }

    #tab14>.row {
        height: 900px;
    }

    #tab14 .tab {
        transition: 500ms cubic-bezier(.65, .05, .36, 1);
        pointer-events: all;
        transition: border, 0ms ease-out;
        margin-right: -2px;
        transition: all 500ms ease-in-out;
    }

    #tab14 .tabContent {
        min-height: 100px;
        overflow: hidden;
        transition: all 500ms ease-in-out;
    }

    #tab14 .tabContent a {
        padding: 120px 15px 80px 15px;
    }

    #tab14>.row>div+div::before {
        content: '';
        height: 100%;
        max-height: 150px;
        width: 1px;
        background: #bf706c;
        position: absolute;
        left: 0px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        display: inline-block;
        z-index: 1;
    }

    #tab14 .tab:focus-within,
    #tab14 .tab:hover {
        padding-top: 60px;
        padding-bottom: 60px;
        background: #b10d06;
        border: none;
        z-index: 12;
        border: none !important;
    }

    #tab14 .tab:focus-within>.tabContent,
    #tab14 .tab:hover>.tabContent {
        max-height: 600px;
        transform: scale(1.12);
    }
}


@media (max-width: 1199px) {
    #tab14 .tabContent a::before {
        background-position: center top !important;
    }

    #tab14 .tabContent a {
        padding: 90px 30px 70px 30px;
    }
}

/* ------------------------------------------------ tickerWrapper ----------------------------------------------- */

#tickerWrapper {
    position: relative;
}

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

main {
    text-align: left;
    position: relative;
}

.index #content #aboveContent>*:not(#share_button_skip, #content_buttons_div),
.index #content .template-page {
    display: none !important;
}



body:not(.index) #mainContent {
    padding-bottom: 30px;
    padding-top: 30px;
}

@media (min-width: 992px) {

    body:not(.index) #mainContent {
        padding-top: 30px;
    }


    body:not(.index) .mainInhalt {
        padding-left: 45px;
        padding-right: 45px;
    }
}

.newsticker,
.newsticker a {
    color: #252525;
    font-size: 1rem;
}

/* --------------------------------------------- 4nw news --------------------------------------------- */


.news .tab_link_entry *:not(.tab_preview_picture, .tab_preview_picture img) {
    position: relative;
    z-index: 12;
}

.news {
    font-size: 1.125rem;
}

.news .tab_link_entry {
    font-size: 1rem;
    background: #fff;
    border: 5px solid #757575 !important;
}

.news {
    padding: 20px 0 50px 0;
}

@media (min-width: 992px) {
    .index .news {
        padding: 180px 0 50px 0;
    }

}

.events {
    padding: 50px 0 70px 0;
}

.news .tab_spacer {
    display: none;
}

.news h2 {
    color: #252525;
    font-size: 1.875rem;
    font-weight: 700;
    position: relative;
    margin-bottom: 40px;
}

.news h2::before {
    content: '';
    width: 80px;
    height: 3px;
    background-color: #b10d06;
    bottom: -20px;
    left: 0;
    position: absolute;
}

.news .tab_link {
    margin-top: 40px;
}

.news .tab_link_mandat a {
    color: inherit;
}


.news .tab_spacer {
    display: none;
}

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

.news .tab_link_entry {
    position: relative;

    color: #252525;
}

.news .tab_link_entry {
    position: relative;
    min-height: 105px;
    padding: 230px 30px 30px 30px;
    margin-bottom: 15px;
}

@media (max-width: 575px) {
    .news .tab_link_entry {
        padding: 230px 30px 30px 30px;
    }
}

.news .tab_link_title a {
    display: block;
}


.news .tab_link_title a {
    color: #252525;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.news .tab_date,
.news .tab_link_date {
    font-size: 1rem;
    font-weight: 400;
}

.news .tab_preview_picture {
    display: none;
}

.news .tab_preview_picture {
    background: #ffffff;
}

.news .tab_link_entry::after,
.news .tab_preview_picture {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 2;
    background-size: cover;
    pointer-events: all;
    max-height: 190px;
}

.news .tab_link_entry::after {
    content: "";
    background: #ffffff url('../img/placeholder.png') top left -30px no-repeat;
    z-index: 1;
}

.news .tab_preview_picture img {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    min-width: 100%;
    max-width: none;
    height: 100%;
    width: auto;
    -ms-interpolation-mode: bicubic;
    transform-origin: top left;
    -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%);
    object-fit: cover;
}

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


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

    .news .tab_link_entries {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .news .tab_link_entry {
        position: relative;
        padding: 230px 30px 30px 30px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        align-content: start;
        align-items: start;
        max-width: calc(33.33% - 15px);
    }

    .news .tab_link_entry {
        width: calc(25% - 12px);
    }



    .news .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }

    .news .tab_link_entry {
        margin-right: 15px;
    }

     .news .tab_link_entry:nth-child(4),
    .news .tab_link_entry:last-child {
        margin-right: 0;
    }

    .news .tab_link_entry>* {
        width: 100%;
    }

    .news .tab_link_entry {
        position: relative;
        min-height: 100%;
        padding: 210px 30px 30px 30px;
    }

    .news .tab_preview_picture {
        background: #ffffff;
    }

    .news .tab_link_title::after,
    .news .tab_preview_picture {
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
    }

    .news .tab_link_entry .vorschau {
        opacity: 1;
        font-weight: 400;
        hyphens: auto;
    }

    .news .tab_link_entry .vorschau+div,
    .news .tab_link_entry .vorschau+div+div,
    .news .tab_link_entry .vorschau+div+div+div {
        display: none;
    }
}

.events .tab_link_date {
    order: -1;
}

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

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

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

.news .tab_link_mehr a {
    text-shadow: none;
    font-size: 1rem;
    color: #ffffff;
    display: inline-block;
    padding: 10px 44px 10px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: 25px;
    text-decoration: none;
    background-color: #b10d06;
}

.news .tab_link_mehr a::after {
    content: "\203A";
    font-size: 20px;
    position: absolute;
    width: 34px;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    background: #930b06;
    padding-top: 5px;
    font-weight: 400;
}

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

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

#tabs {
    background-color: #f9f9f9;
    padding: 0;
}

@media (min-width: 1200px) {
    #tabs {
        padding: 65px 0;

    }
}

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

#tabs .tab {
    position: relative;
    padding: 30px;
    color: #ffffff;
    font-size: 1rem;
    overflow: hidden;
    background: rgba(147, 11, 6, 1);
    min-height: 100%;
}

#tabs .tabHeadline {
    color: #252525;
    font-size: 1.5rem;
    position: relative;
    z-index: 4;
    pointer-events: none;
}

#tabs .tiny_p:last-child {
    z-index: 4;
    position: relative;
}

#tabs .tab a,
#tabs .tab {
    color: #252525;
    font-size: 1.5rem;
    position: relative;
    z-index: 4;
    font-weight: 700;
}

#tabs .tab {
    background: #fff;
    border: 5px solid rgba(147, 11, 6, 1);
    color: #252525;
}

#tabs img {
    display: block;
    width: calc(100% + 90px);
    left: -30px;
    position: relative;
    max-width: unset;
    margin-top: -30px;
    width: auto;
}

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

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

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

/* ------------------------------------------------ @13f footer ----------------------------------------------- */

.contactBTN a,
.scrollTop a {
    text-shadow: none;
    font-size: 1rem;
    color: #252525;
    display: inline-block;
    padding: 10px 70px 10px 30px;
    position: relative;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    background-color: #ffffff;
}


@keyframes bounceAni {

    0%,
    100%,
    20%,
    50%,
    80% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    60% {
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}


.contactBTN a::after {
    content: "\203A";
    font-size: 20px;
    position: absolute;
    width: 34px;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    background: #e9e9e9;
    padding-top: 8px;
    font-weight: 400;
}


.scrollTop a::after {
    content: "\203A";
    font-size: 20px;
    position: absolute;
    width: 44px;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    background: #e9e9e9;
    padding-top: 0;
    font-weight: 400;
    transform: rotate(-90deg);
    height: 33px;
    top: 5px;
    right: -5px;
}


.contactBTN a:hover,
.contactBTN a:focus,
.scrollTop a:hover,
.scrollTop a:focus {
    background: #e9e9e9;
}

.contactTEL {
    color: #ffffff;
    font-size: 1.875rem;
    font-weight: 700;
    position: relative;
}

.contactTEL b,
.contactTEL strong {
    font-weight: 700;
}

.contactTEL img {
    position: relative;
    top: 5px;
}

@media (max-width: 767px) {
    .contactTEL {
        display: inline-block;
    }
}

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

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

#contactFooter {
    background: #f9f9f9;
    color: #444444;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 992px) {
    #contactFooter {
        padding-top: 65px;
        padding-bottom: 65px;
        background-image: url('../img/zeichnung-stadt.png');
        background-position: bottom right;
        background-repeat: no-repeat;
    }
}

#contactFooter .tabHeadline {
    font-size: 1.375rem;
    color: #252525;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
}

#contactFooter .tabHeadline::before {
    position: absolute;
    content: '';
    display: block;
    bottom: -20px;
    left: 0;
    height: 2px;
    width: 20px;
    background: #930b06;
}



#contactFooter ul {
    margin: 0;
    list-style: none;
}

#contactFooter ul>li {
    position: relative;
    padding-left: 15px;
    min-height: 11px;
    -webkit-transition: color 300ms linear;
    -moz-transition: color 300ms linear;
    -ms-transition: color 300ms linear;
    -o-transition: color 300ms linear;
    transition: color 300ms linear;
}

#contactFooter ul>li+li {
    margin-top: 8px;
}

#contactFooter ul>li::before {
    content: "\203A";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 13px;
}

#contactFooter ul>li:hover,
#contactFooter ul>li:focus {
    color: #930b06;
}

body:not(.noListStyle) #contactFooter ul {
    padding-left: 0px;
}

.sponsor {
    padding: 40px 0;
    border-top: 1px solid #e9e9e9;
}

.sponsor img{
    display: block;
}

/* ----------------------------------------------- newsletter ----------------------------------------------- */

@media (min-width: 1200px) {

    .contactBTN,
    .tabnewsletter {
        padding-left: 40px;
    }
}

#newsletter {
    display: flex;
    flex-direction: column;
}

#newsletter label {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #252525;
}

#newsletterInputs {
    height: 50px;
    background: #ffffff;
    display: inline-block;
    position: relative;
    border: 1px solid rgba(37, 37, 37, 0.4);
    width: 320px;
}

#newsletter_input {
    color: #252525;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 50px;
    padding-left: 20px;
    padding-right: 85px;
    height: 50px;
    width: 100%;
}

#newsletter_submit {
    width: 33px;
    background: url('../img/newsletter-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 50px;
    border: none;
    position: absolute;
    top: 0;
    right: 20px;
    height: 100%;
    font-size: 0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
}

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

#newsletter_submit:hover {
    background-color: transparent;
    right: 15px;
}

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

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

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

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

/* ----------------------------------------------- quicklinks ----------------------------------------------- */


.quicklinks {
    line-height: 2;
}


.quicklinks a:not(.has-image):not([rel]) {
    font-size: 1rem;
    color: #252525;
}


.quicklinks a:not(.has-image):not([rel]):hover,
.quicklinks a:not(.has-image):not([rel]):focus {
    color: #930b06;
    text-decoration: none;
}

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

footer table td,
footer table th {
    padding: 0;
}

footer {
    font-size: 0.9375rem;
}

#footer {
    padding-top: 30px;
    padding-bottom: 30px;
    color: #ffffff;
    background-color: #757575;
}

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

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

@media (max-width: 767px) {
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 18px 0;
        opacity: 0.08;
    }

    #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
    #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

/* ----------------------------------------------- footerlast ----------------------------------------------- */

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

#footerlast {
    position: relative;
    padding-top: 20px;
    padding-bottom: 15px;
}

#footerlast>.row:nth-child(1) {
    padding-bottom: 14px;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #252525;
    text-decoration: none;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #b10d06;
}

#innerfooter li+li::before {
    content: "•";
    margin: 0 15px;
    color: #252525;
}

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

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

#vernetzt {
    text-decoration: none;
}