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

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

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

a {
    color: #bf4343;
}

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

b,
strong {
    font-weight: 500;
}

/* a:focus {
    outline: 3px solid #444444 !important;
}

button:focus {
    outline: 3px solid #444444 !important;
}

form:focus {
    outline: 3px solid #444444 !important;
} */

/* ----------------------------------------------- 3tp topbar ----------------------------------------------- */

#topbar {
    padding-top: 0;
    padding-bottom: 0;
    background: #bf4343;
    font-size: 0.875rem;
    color: #ffffff;
}

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

.tabSocial {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: end;
    line-height: 0;
}

@media (max-width: 767px) {
    .tabSocial {
        margin: 15px 0;
    }
}

.tabSocial p {
    display: inline-block;
    line-height: 0;
    height: auto;
}

.tabSocial p+p {
    margin-left: 10px;
}

.tabSocial a {
    display: inline-block;
    line-height: 0;
    height: auto;
}

/* ------------------------------------------------ styler ---------------------------------------------- */

@media (min-width: 576px) {
    #style {
        margin-left: 10px;
    }
}


@media (min-width: 992px) {
    #style {
        margin-left: 30px;
    }
}



@media (max-width: 575px) {
    #style{
        margin-top: 10px;        
    }
}

#contrast_style button,
#style button {
    padding: 0;
    border: none;
    color: #444444;
    display: inline-block;
    width: 29px;
    height: 29px;
    font-weight: 600;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    line-height: 1;
}

#style button {
    padding: 0;
}

#style button+button {
    margin-left: 3px;
}

#style button:hover,
#style button:focus {
    color: #444444;
    background: #f1d302;
}

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

form[id^="search"] {
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    display: block;
    position: relative;
}

@media (min-width: 576px) {
    form[id^="search"] {
        margin-left: 30px;
        max-width: 270px;
    }
}

@media (max-width: 575px) {
    form[id^="search"] {
        margin-top: 15px;
        max-width: 230px;
    }
}

@media (min-width: 992px) {
    form[id^="search"] {
        max-width: 270px;
        width: 100%;
    }
}

form [id^="search_input"] {
    color: #444444 !important;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 35px;
    padding-left: 14px;
    padding-right: 54px;
    height: 35px;
    width: 100%;
}

form [id^="search_submit"] {
    width: 40px;
    background: transparent url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    font-size: 0;
    border-left: 1px solid #f1d302;
    -webkit-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -moz-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -ms-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -o-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

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

[id^="search_input"]::-ms-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-moz-placeholder {
    opacity: 0.8;
}

[id^="search_input"]:-moz-placeholder {
    opacity: 0.8;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    .horizontally {
        position: relative !important;
        padding-top: 15px;
    }

    #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: #bf4343;
        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;
        background-color: #ffffff;
    }

    .navbar-collapse {
        top: 0;
        background-color: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse.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);
    }

    .dropdown-toggle-button {
        background-color: #ffffff;
    }

    .dropdown-toggle-button::before,
    .dropdown-toggle-button::after {
        background-color: #bf4343;
    }
}

@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) {
    .horizontally {
        background-color: #ffffff;
        padding-top: 30px;
    }

    .is-sticky .horizontally {
        padding-top: 15px;
        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);
    }

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

    /* 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: 10px;
        left: 0;
        right: 0;
        top: -10px;
    }

    /* 3rd */

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

    /* Fade in Hover End */
}

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

.navbar-default .navbar-nav>li>a {
    color: #444444;
    font-weight: 500;
    text-align: left;
    padding: 10px 35px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid #b2b2b2;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 30px 12px 25px 12px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

    .navbar-default .navbar-nav>li>a[data-toggle="dropdown"]::after {
        content: "";
        position: absolute;
        display: block;
        right: 2px;
        top: 50%;
        margin-top: -3px;
        width: 6px;
        height: 6px;
        border-radius: 1px;
        display: inline-block;
        border-left: 2px solid #b2b2b2;
        border-bottom: 2px solid #b2b2b2;
        -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;
    }
}

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

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}

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

.navbar-nav>li:hover>a,
.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.navbar-nav>li.open>a,
.navbar-nav>li.open>a:hover,
.navbar-nav>li.open>a:focus,
.navbar-nav>li[class$="_over"]>a,
.navbar-nav>li[class$="_over"]>a:hover,
.navbar-nav>li[class$="_over"]>a:focus {
    color: #bf4343;
}

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

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background: #bf4343;
}

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

@media(min-width:992px) {

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

    .navbar-default .navbar-nav>li>.dropdown-menu {
        left: 50%;
        -moz-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        content: "";
        display: block;
        position: absolute;
        left: 50%;
        top: -20px;
        margin-left: -20px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 20px 0 20px;
        border-color: #ffffff transparent transparent transparent;
        -webkit-transition: top 150ms linear;
        -moz-transition: top 150ms linear;
        -ms-transition: top 150ms linear;
        -o-transition: top 150ms linear;
        transition: top 150ms linear;
    }

    .navbar-default .navbar-nav>li:hover>.dropdown-menu::after {
        top: 0;
    }

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: center;
        padding: 13px 25px;
    }
}

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

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

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

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

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

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

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

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

    .theme-default .nivo-controlNav {
        bottom: unset !important;
        top: 12%;
    }
}

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

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

.slider-mask {
    display: none;
}


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

#overlay .tab {
    pointer-events: all;
    font-size: clamp(1.25rem, 2vw, 2.5rem);
    font-weight: 600;
    color: #444444;
    line-height: 1.3;
    position: relative;
    padding: 30px;
    background-color: #f5f5f5;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}

#overlay .tab::before {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 10px;
    top: 5%;
    bottom: 5%;
    width: 6px;
    height: 90%;
    margin: auto;
    background-color: #f6b923;
}

/* ------------------------------------------------ tabSpecialHeadline ----------------------------------------------- */

.tabSpecialHeadline {
    line-height: 1.8;
    font-size: 1rem;
}

.tabSpecialHeadline i,
.tabSpecialHeadline em {
    text-transform: uppercase;
    font-style: normal;
}

.tabSpecialHeadline h2 {
    text-transform: none;
    font-size: 1.875rem;
    font-weight: 600;
    position: relative;
    margin-bottom: 30px;
    color: #bf4343;
}

@media (min-width: 1200px) {
    .tabSpecialHeadline h2 {
        margin-bottom: 40px;
        font-size: 2.5rem;
    }
}

.tabSpecialHeadline h2::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 100px;
    height: 8px;
    pointer-events: none;
    background-color: #f1d302;
}

.tabSpecialButton a {
    background-color: #bf4343;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 80px 15px 30px;
    display: inline-block;
    position: relative;
    margin-top: 30px;
    line-height: 1.2;
    width: 100%;
    max-width: 269px;
}

.tabSpecialButton a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: auto;
    width: 50px;
    margin: auto;
    background-color: #ac3535;
}

.tabSpecialButton a::after {
    content: '\00BB';
    position: absolute;
    right: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
    font-size: 1.875rem;
    line-height: 1.6;
}

.tabSpecialButton a:hover::before,
.tabSpecialButton a:focus::before {
    background-color: #bf4343;
}

.tabSpecialButton a:hover,
.tabSpecialButton a:focus {
    background-color: #ac3535;
}

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

main {
    text-align: left;
}

#content {
    padding-bottom: 30px;
    padding-top: 30px;
}

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

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

.news {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 65px;
    margin-top: 0px;
}

@media (min-width: 768px) {
    .news {
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media (max-width: 1199px) {
    .news {
        background-image: none !important;
    }
}

@media (max-width: 767px) {
    .tabSpecialButton.tabSpecialHeadline .btgrid>.row-1>div:last-child>.content>.tiny_p {
        text-align: left !important;
    }
}

.news .tabSpecialButton a {
    margin-top: 6px;
}

.news .tabSpecialHeadline h2::after {
    content: '';
    display: none;
}

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

.news .tab_link {
    max-width: 1170px;
    margin: 0 auto;
    width: 100%;
}

.news .tab_link_entry {
    font-size: 1rem;
    position: relative;
    -webkit-box-shadow: 0 15px 30px 0 rgba(66, 58, 1, 0.2);
    box-shadow: 0 15px 30px 0 rgba(66, 58, 1, 0.2);
    width: 100%;
    background: #ffffff;
    padding: 230px 20px 60px 20px;
    line-height: 1.2;
    color: #444444;
    border: none !important;
}

.events .tab_link_entry {
    font-size: 1rem;
    position: relative;
    -webkit-box-shadow: 0 15px 30px 0 rgba(66, 58, 1, 0.2);
    box-shadow: 0 15px 30px 0 rgba(66, 58, 1, 0.2);
    width: 100%;
    background: #ffffff;
    padding: 45px 20px 45px 20px;
    line-height: 1.2;
    color: #444444;
    border: none !important;
}

.news .tab_link_title a,
.events .tab_link_title a {
    font-weight: 500;
    font-size: 1.25rem;
    display: block;
    color: #bf4343;
    margin-bottom: 20px;
}

.news .tab_date,
.events .tab_date {
    font-size: 0.875rem;
    font-style: italic;
    color: #444444;
}

.news .tab_link_entry>div:nth-last-child(2),
.events .tab_link_entry>div:nth-last-child(2) {
    font-size: 0;
    text-align: left !important;
}

.news .tab_link_entry>div:nth-last-child(2) a,
.events .tab_link_entry>div:nth-last-child(2) a {
    font-size: 0;
    display: inline-block;
    position: absolute;
    text-decoration: none;
    bottom: 20px;
}

.news .tab_link_entry>div:nth-last-child(2) a::after,
.events .tab_link_entry>div:nth-last-child(2) a::after {
    content: 'mehr lesen';
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    color: #444444;
    right: 0;
    padding: 12px 26px;
    background-color: #ffffff;
    border: 2px solid #f1d302;
    margin-top: 25px;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

.news .tab_link_entry>div:nth-last-child(2) a:hover::after,
.news .tab_link_entry>div:nth-last-child(2) a:focus::after,
.events .tab_link_entry>div:nth-last-child(2) a:hover::after,
.events .tab_link_entry>div:nth-last-child(2) a:focus::after {
    background-color: #f1d302;
    color: #444444;
}

@media (min-width: 576px) {

    .news .tab_link_entries,
    .events .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

@media (max-width: 1199px) {

    .news .tab_link_entry,
    .events .tab_link_entry {
        width: calc(50% - 20px);
    }

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

    .news .tab_link_entry:nth-child(3),
    .events .tab_link_entry:nth-child(3) {
        margin-left: 0;
    }

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

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

@media (max-width: 767px) {

    .news .tab_link_entry,
    .events .tab_link_entry {
        width: 100%;
    }

    .news .tab_link_entry+.tab_link_entry,
    .events .tab_link_entry+.tab_link_entry {
        margin-left: 0;
    }

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

    .news .tab_link,
    .events .tab_link {
        margin-top: 30px !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {

    .news .tab_link_entry,
    .events .tab_link_entry {
        width: calc(50% - 15px);
    }

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

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

@media (min-width: 1200px) {

    .news .tab_link_entry,
    .events .tab_link_entry {
        width: calc(25% - 23px);
    }

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

@media (max-width: 767px) {

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

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

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

.news .tab_link_title a::before,
.news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: -1px;
    left: 0px;
    right: 0px;
    height: 200px;
    overflow: hidden;
}

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

.news .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 350px;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.news .tab_link_title a::after,
.events .tab_link_title a::after {
    content: "";
    position: absolute;
    display: block;
    top: -25px;
    left: 0;
    right: 0;
    width: 50px;
    height: 50px;
    margin: auto;
    background-color: #ffffff;
    background-image: url('../img/icon-aktuelles.png');
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 100%;
    z-index: 12;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
}

.news .tab_spacer {
    height: 5px;
}

.news .vorschau {
    line-height: 1.5;
}

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

.events {
    padding-top: 30px;
    padding-bottom: 50px;
    background-color: #f5f5f5;
}

@media (min-width: 768px) {
    .events {
        margin-left: 30px;
        margin-right: 30px;
    }
}


@media (min-width: 1200px) {
    .events {
        padding-top: 75px;
        padding-bottom: 70px;
    }
}

.events .tabSpecialButton a {
    margin-top: 6px;
}

.events .tab_link_title a,
.events .tab_link_mandat a {
    color: #444444;
}

.events .tab_link {
    margin-top: 8px;
}

.events .tab_link_mehr,
.events .tab_spacer {
    display: none !important;
}


#tickerWrapper {
    padding-top: 70px;
}

/* ------------------------------------------------ spot ----------------------------------------------- */

.index .spot {
    margin-top: 0px;
}

.spot {
    padding: 45px 0 50px 0;
}

@media (min-width: 768px) {
    .spot {
        margin-left: 30px;
        margin-right: 30px;
    }
}

.spotTabs {
    margin-top: 45px;
}

@media (min-width: 1200px) {
    .spot {
        padding: 60px 0 95px 0;
    }

    .spotTabs {
        margin-top: 70px;
    }
}

@media (max-width: 767px) {
    .spot>.row>div:last-child {
        margin-top: 30px;
    }
}

.spotTabsBanner .banner img,
.spotTabs .tab {
    position: relative;
    transition: all, 250ms;
}

.spotTabsBanner .banner img:hover,
.spotTabsBanner .banner img:focus,
.spotTabs .tab:hover,
.spotTabs .tab:focus {
    transform: scale(1.05);
}

.spotTabs .shadow::after {
    bottom: 10px;
}

.spotTabs .tab {
    color: #444444;
    background-color: #f1d302;
    position: relative;
    z-index: 2;
    line-height: 1.2;
    display: inline-block;
    margin-bottom: 6px;
}

.spotTabs .tab a {
    color: #444444;
    text-decoration: none;
    word-break: break-word;
    background-color: #f1d302;
    font-size: 2.25rem;
    font-weight: 600;
    padding: 150px 50px 31px 22px;
    position: relative;
    z-index: 2;
    line-height: 1.2;
    width: 100%;
    height: 100%;
    display: inline-block;
}

@media (min-width: 1200px) {
    .spotTabs>.row {
        display: grid !important;
        gap: 30px 0;
        grid-template-columns: 50% 50%;
    }

    .spotTabs>.row>div {
        display: grid !important;
        max-width: unset !important;
    }

    .spotTabs>.row>div:first-child,
    .spotTabs>.row>div:nth-child(3) {
        grid-column-start: 1;
        grid-column-end: 2;
    }

    .spotTabs>.row>div:nth-child(2),
    .spotTabs>.row>div:nth-child(4) {
        grid-column-start: 2;
        grid-column-end: 3;
    }

    .spotTabs>.row>div:first-child,
    .spotTabs>.row>div:nth-child(2) {
        grid-row-start: 1;
        grid-row-end: 2;
    }

    .spotTabs>.row>div:nth-child(3),
    .spotTabs>.row>div:nth-child(4) {
        grid-row-start: 2;
        grid-row-end: 3;
    }
}

@media (max-width: 1199px) {
    .spotTabs .tab a {
        font-size: 1.5625rem;
        padding: 135px 50px 31px 22px;
    }

    .spotTabs>.row {
        display: grid !important;
        gap: 30px 0;
        grid-template-columns: 50% 50%;
    }

    .spotTabs>.row>div {
        display: grid !important;
        max-width: unset !important;
    }

    .spotTabs>.row>div:first-child,
    .spotTabs>.row>div:nth-child(3) {
        grid-column-start: 1;
        grid-column-end: 2;
    }

    .spotTabs>.row>div:nth-child(2),
    .spotTabs>.row>div:nth-child(4) {
        grid-column-start: 2;
        grid-column-end: 3;
    }

    .spotTabs>.row>div:first-child,
    .spotTabs>.row>div:nth-child(2) {
        grid-row-start: 1;
        grid-row-end: 2;
    }

    .spotTabs>.row>div:nth-child(3),
    .spotTabs>.row>div:nth-child(4) {
        grid-row-start: 2;
        grid-row-end: 3;
    }
}

@media (max-width: 991px) {
    .spotTabs .tab a {
        padding: 60px 22px 30px 22px;
    }
}

@media (max-width: 575px) {
    .spotTabs .tab a {
        font-size: 1.125rem;
        padding: 80px 50px 50px 20px;
    }
}

@media (max-width: 375px) {
    .spotTabs .tab a {
        padding: 50px 15px 20px 15px;
    }
}

@media (min-width: 992px) {
    .shadow {
        position: relative;
        display: block;
        z-index: 1;
        margin-left: auto;
        margin-right: auto;
    }

    .shadow::after {
        content: "";
        position: absolute;
        display: block;
        z-index: -1;
        left: 60px;
        right: 60px;
        top: 80%;
        bottom: 2px;
        -webkit-box-shadow: 0 20px 40px 0 rgba(66, 58, 1, 0.2);
        box-shadow: 0 20px 40px 0 rgba(66, 58, 1, 0.2);
    }
}

/* ------------------------------------------------ service ----------------------------------------------- */

.service {
    padding: 50px 0;
}

@media (min-width: 1200px) {
    .service {
        padding: 100px 0 95px 0;
    }
}

.service .tab {
    background-color: #f5f5f5;
    border-bottom: 8px solid #f1d302;
    height: 100%;
    padding-top: 30px;
    padding-bottom: 35px;
}

.service .iframetab {
    background-color: #f5f5f5;
    border-bottom: 8px solid #f1d302;
    height: 100%;
}

.iframetab iframe,
.iframetab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
    max-height: 410px;
}

.service .tabHeadline {
    color: #444444;
    padding-left: 30px;
    padding-right: 140px;
    font-size: 1.5625rem;
    margin-bottom: 25px;
    position: relative;
    min-height: 90px;
    border-bottom: 2px solid #ffffff;
}

@media (min-width: 768px) {
    .service .tabHeadline {
        font-size: 1.875rem;
    }
}

.service .tabContent {
    padding: 0 30px 0 30px;
    color: #444444;
}

.service .tab a {
    color: #bf4343;
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.service .tab a:hover,
.service .tab a:focus {
    text-decoration: underline;
}

.service .tab a::after {
    content: '  \00BB';
}

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

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

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #bf4343;
    font-weight: 600;
    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 #bf4343;
}

/* ----------------------------------------------- footerwrapper ----------------------------------------------- */

.footerwrapper {
    background: url('../img/wasserzeichen-footer.png') center bottom no-repeat, #bf4343;
    padding-top: 45px;
    padding-bottom: 35px;
    color: #ffffff;
    font-size: 1rem;
    position: relative;
}

@media (min-width: 1200px) {
    .footerwrapper {
        padding-top: 55px;
        padding-bottom: 40px;
    }
}

.footerwrapper a {
    color: #ffffff;
}

.footerwrapper .tabHeadline {
    margin-bottom: 20px;
    font-size: 1.5625rem;
    color: #ffffff;
}

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

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

.theme a {
    text-decoration: underline;
}

#scrollTopBtn {
    font-weight: 500;
    font-size: 1.125rem;
    border: 2px solid #ffffff;
    text-decoration: none;
    padding: 9px 55px 9px 19px;
    display: inline-block;
    position: fixed;
    width: 100%;
    color: #ffffff;
    right: 50px;
    bottom: 50px;
    max-width: 270px;
    background-color: #bf4343;
}



@media (max-width: 991px) {
    #scrollTopBtn {
        position: relative;
        left: unset;
        right: unset;
        top: unset;
        bottom: unset;
    }
}

#scrollTopBtn::before {
    content: '';
    position: absolute;
    right: 55px;
    top: 0;
    bottom: 0;
    height: 30px;
    width: 2px;
    margin: auto;
    background-color: #ffffff;
}

#scrollTopBtn::after {
    content: '\00BB';
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
    font-size: 1.875rem;
    line-height: 1.3;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
}

#scrollTopBtn:hover,
#scrollTopBtn:focus {
    background-color: rgba(0, 0, 0, 0.1);
}

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

#vernetzt {
    text-align: right;
    font-size: 0.8125rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 400;
    display: inline-block;
    text-decoration: none;
    margin-top: 25px;
}

#vernetzt b {
    color: #ffffff;
    font-weight: 500;
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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

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

.footer {
    background-color: #ac3535;
    padding-top: 25px;
    padding-bottom: 20px;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

#innerfooter a:hover,
#innerfooter a:focus {
    color: rgba(255, 255, 255, 0.6);
}

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

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

@media (max-width: 767px) {
    #innerfooter li {
        display: block;
        text-align: center;
        padding: 5px;
        margin: 0;
    }

    #innerfooter li+li::before {
        display: none;
    }
}

/* --------------------------------------------- contrast -------------------------------------------- */

.contrast_dark #language,
.contrast_dark #style,
.contrast_dark #contrast_style {
    background-color: #ffffff !important;
}

.contrast_light_font #search_input {
    color: #000000 !important;
}

#scrollBottom a.contrast_dark_font:hover::after,
#scrollBottom a.contrast_dark_font:focus::after {
    border-color: rgba(0, 0, 0, 0.5) !important;
}

#scrollBottom a.contrast_light_font:hover::after,
#scrollBottom a.contrast_light_font:focus::after {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.contrast_light_font .news .tab_link_title a::before,
.contrast_dark_font .news .tab_link_title a::before,
.contrast_light_font .news .tab_link_title a::after,
.contrast_dark_font .news .tab_link_title a::after {
    display: none !important;
}

.contrast_dark_font #vernetzt img {
    background-color: #000000;
}

#logo .contrast_dark img {
    background: #ffffff;
}

.navbar-default .navbar-nav>li.contrast_dark_font>.dropdown-menu>li:first-child,
.navbar-default .navbar-nav>li.contrast_dark_font>.dropdown-menu>li:last-child,
.navbar-default .navbar-nav>li.contrast_light_font>.dropdown-menu>li:first-child,
.navbar-default .navbar-nav>li.contrast_light_font>.dropdown-menu>li:last-child {
    display: none !important;
}