@import url("https://fonts.verwaltungsportal.de/import/?family=Jost:400,400i,500,500i,700,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Rouge+Script:400,400i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Catamaran:500,500i");

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

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

a {
    color: #ac3737;
}

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

b, strong {
    font-weight: 500;
}

@media (min-width: 1200px) {
    .row, .compact, ._op-container .container {
        max-width: 1440px;
        width: 100%;
    }
}

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

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

#topbar {
    padding: 20px 0;
}

@media (max-width: 991px) {
    #topbar {
        display: grid;
    }

    #topbar>.row>*:first-child {
        order: 2;
    }

    #topbar>.row>*:last-child {
        order: 1;
    }

    #topbar>.row>*:nth-child(2) {
        order: 3;
    }

    #topbar>.row>*:nth-child(3) {
        order: 4;
    }
}

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

#logo {
    display: inline-block;
    text-decoration: none;
    font-size: clamp(25px, 3vw, 45px);
    font-weight: 500;
    color: #222222;
    font-family: "Catamaran", sans-serif;
}

#logo b,
#logo strong {
    color: #ac3737;
    font-weight: 500;
    margin-left: 10px;
}

@media (min-width: 468px) {
    #logo .tiny_p {
        display: flex;
        align-content: center;
        align-items: center;
    }
}

#logo img {
    display: block;
    margin-right: 20px;
}

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

    #logo {
        margin-top: 15px;
    }
}

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

form[id^="search"] {
    height: 50px;
    background: #f6f6f6;
    display: inline-block;
    position: relative;
}

form [id^="search_input"] {
    color: #666666;
    font-size: 15px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 50px;
    padding-left: 25px;
    padding-right: 120px;
    height: 50px;
    width: 100%;
    display: block;
}

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

    form [id^="search_input"] {
        padding-left: 10px;
        font-size: 14px;
        padding-right: 85px;
    }
}

form [id^="search_submit"] {
    width: 114px;
    background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%23ffffff"><path d="M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"/></svg>') left 15px center no-repeat, #ac3737;
    padding: 0;
    cursor: pointer;
    line-height: 50px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 18px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    padding-left: 30px;
    color: #ffffff;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

@media (max-width: 991px) {
    form [id^="search_submit"] {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    form [id^="search_submit"] {
        width: 80px;
        padding-left: 20px;
        background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 -960 960 960" width="18px" fill="%23ffffff"><path d="M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"/></svg>') left 5px center no-repeat, #ac3737;
    }
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: #222222;
}

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

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

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

/* ------------------------------------------------- tabLink ------------------------------------------------ */

.tabLink {
    font-weight: 700;
    font-size: 1rem;
    color: #666666;
    padding-left: 60px;
    position: relative;
}

.tabLink::before {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.tabLink1::before {
    width: 36px;
    height: 36px;
    background: url('../img/icon-newsletter.png') center no-repeat;
}

.tabLink2::before {
    width: 36px;
    height: 32px;
    background: url('../img/icon-wetter.png') center no-repeat;
}

@media (min-width: 992px) {
    .tabLink+.tabLink {
        margin-top: 20px;
    }
}

@media (max-width: 991px) {
    .tabLink::before {
        left: 15px;
    }

    .tabLink {
        margin-top: 15px;
        font-size: 0.875rem;
    }
}

.tabLink a {
    color: #666666;
}

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

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

@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: #ffffff;
        position: relative;
    }

    .is-sticky .horizontally {
        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);
    }

    .horizontally::after {
        content: "";
        display: block;
        pointer-events: none;
        position: absolute;
        z-index: -1;
        left: 0;
        right: 0;
        top: 59px;
        height: 485px;
        opacity: 0;
        background: linear-gradient(to bottom, rgba(46, 46, 46, 1) 33%, rgba(46, 46, 46, 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;
    }

    .horizontally:hover::after,
    .horizontally:focus::after {
        opacity: 1;
    }

    .horizontally:focus-within::after {
        opacity: 1;
    }

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

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

    .navbar-default .navbar-nav li[class*="toplevel"]>ul {
        display: flex !important;
        min-height: 250px;
        flex-wrap: wrap;
        pointer-events: none;
        position: absolute;
        opacity: 0;
        top: calc(100% + 30px);
        left: 0;
        right: 15px;
        z-index: 1000;
        padding: 30px 40px;
        -webkit-transition: top 300ms linear, opacity 300ms linear;
        -moz-transition: top 300ms linear, opacity 300ms linear;
        -ms-transition: top 300ms linear, opacity 300ms linear;
        -o-transition: top 300ms linear, opacity 300ms linear;
        transition: top 300ms linear, opacity 300ms linear;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
    }

    .nav li[class*="toplevel"].open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        width: 25%;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li:not(:nth-child(1)):not(:nth-child(4n+5)) {
        border-right: 1px solid rgba(0, 0, 0, 0.12);
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        display: block !important;
        padding-bottom: 10px;
    }
}

@media (min-width: 1200px) {
    .navbar-default .navbar-nav li[class*="toplevel"]>ul {
        left: 120px;
    }
}

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

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

.navbar-default .navbar-nav>li>a::before {
    content: "";
    display: inline-block;
    top: calc(50% - 9.5px);
    position: relative;
    left: -10px;
    width: 25px;
    height: 19px;
    background: url('../img/icon-schwan.png') no-repeat;
}

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

    .navbar-default .navbar-nav>li>a {
        hyphens: auto;
    }

    .navbar-default .navbar-nav>li>a::before {
        left: -5px;
    }
}

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

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

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu {
    background-color: #ffffff;
}

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

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        content: "";
        position: absolute;
        display: block;
        height: 20px;
        left: 0;
        right: 0;
        top: -20px;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #222222;
    text-align: left;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        hyphens: auto;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 15px;
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a {
        padding-bottom: 4px;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    font-weight: 400;
    font-size: 0.875rem;
    padding: 6px 15px 6px 33px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 20px;
    border-radius: 50%;
    width: 3px;
    height: 3px;
    border: 1px solid #222222;
    transition: background 300ms linear, border 300ms linear;
    transform: translateY(-50%);
}

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

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

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

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

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

.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a::after {
    background: #ac3737;
    border-color: #ac3737;
}

/* ----------------------------------------------- bannerBox ----------------------------------------------- */

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

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

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

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

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

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

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

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

.slider-mask {
    display: none;
}

.index .slider-mask {
    display: block;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 50%);
}

@media (min-width: 992px) {
    #headerpic {
        background: #222222;
    }

    .theme-nivo .nivo-controlNav .slick-dots li,
    .nivo-directionNav a,
    a.nivo-control,
    a.nivo-control.active {
        color: #ffffff !important;
    }

}

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

#bannerOverlay .tab {
    font-family: 'Rouge Script', cursive;
    font-weight: 400;
    color: #dfc744;
    line-height: 1;
    font-size: 2.5rem;
}

@media (max-width: 991px) {
    #bannerOverlay {
        background: #222222;
        padding: 15px 20px;
    }
}

#bannerOverlay .tab a {
    color: #dfc744;
}

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

    #bannerOverlay .tab {
        pointer-events: all;
        font-size: 4.375rem;
    }
}

/* ----------------------------------------------- optionsBox ----------------------------------------------- */

#optionsBox {
    background: #ac3737;
    color: #ffffff;
    padding: 20px 40px;
    min-height: 100%;
    height: 100%;
    position: relative;
}

#optionsBox::after {
    content: '';
    position: absolute;
    pointer-events: none;
    bottom: -40px;
    right: -50px;
    width: 355px;
    height: 88px;
    background: url('../img/slogan.png') center no-repeat;
}

@media (max-width: 1599px) {
    #optionsBox::after {
        bottom: -65px;
        right: 0;
    }
}

@media (max-width: 575px) {
    #optionsBox::after {
        bottom: -45px;
        right: 0;
        background-size: 60vw;
    }
}

@media (max-width: 991px) {
    #optionsBox {
        padding: 20px 20px;
    }
}

@media (min-width: 1200px) {
    #optionsBox {
        background: url('../img/wasserzeichen-wappen-kontakt.png') right center no-repeat,
            #ac3737;
    }
}

#optionsBox .tab+.tab {
    margin-top: 25px;
}

#optionsBox .tab {
    font-size: 1rem;
}

#optionsBox .tab .tabHeadline {
    color: #ffffff;
    font-size: 1.125rem;
    margin-bottom: 5px;
}

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

/* ----------------------------------------------- stylerBox ----------------------------------------------- */

#stylerBox {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

@media (min-width: 992px) {
    #stylerBox {
        display: flex;
        align-items: center;
        align-content: center;
    }

    #stylerBox>*:first-child {
        margin-right: 30px;
        padding-right: 30px;
        border-right: 2px solid #ffffff;
    }
}

.styleWord {
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 4px;
    display: block;
}

.oneStyle {
    padding-bottom: 4px;
}

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

#contrast_style {
    display: flex;
    align-items: center;
    align-content: center;
}

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

#contrast_style button {
    color: #ffffff;
    padding: 0;
    font-family: "Khand", sans-serif;
    display: inline-block;
    width: 15px;
    height: 15px;
    font-weight: 400;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 1;
    font-size: 0;
    border: none;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    border: 2px solid #ffffff;
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(45deg, #ac3737 0%, #ac3737 50%, #ffffff 51%, #ffffff 100%);
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(45deg, #ffffff 0%, #ffffff 49%, #ac3737 50%, #ac3737 100%);
}

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

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

@media (min-width: 992px) {
    #style {
        display: flex;
        align-items: center;
        align-content: center;
        padding-left: 30px;
        background: url('../img/icon-styler.png') center left no-repeat;
    }

    #style button {
        font-size: 16px;
        background: transparent;
        padding: 0;
        border: none;
        color: #ffffff;
        display: inline-block;
        font-weight: 400;
        text-align: center;
        position: relative;
        line-height: 1;
        transition: all 150ms linear;
    }

    #style button+button {
        margin-left: 8px;
        padding-left: 8px;
        border-left: 1px solid #ffffff;
    }

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

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

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

#tickerWrapper {
    padding-top: 80px;
}

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

#tickerWrapper .newsTickerBox {
    background: #f6f6f6;
    padding: 6px 15px;
}

#tickerWrapper .newsticker,
#tickerWrapper .newsticker a {
    color: #ac3737;
}

#tickerWrapper .newsticker-position {
    margin: 0;
}

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

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

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

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

#news {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #2e2e2e;
    padding-top: 55px;
    padding-bottom: 55px;
}

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

#news .tab {
    margin-bottom: 45px;
    color: #ffffff;
}

#news .tab .btgrid>.row {
    align-items: center;
    align-content: center;
}

#news .tab :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    color: #ffffff;
}

#news .tab a {
    font-weight: 500;
    font-size: 1.25rem;
    color: #dfc744;
}

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

#news .tab_link_entry {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 180px 20px 60px 20px;
    line-height: 1.2;
    color: #222222;
    border: none !important;
}

#news .tab_link_title a {
    font-weight: 700;
    font-size: 1.25rem;
    display: block;
    color: #222222;
}

#news .tab_date {
    font-size: 0.9375rem;
    color: #222222;
    font-weight: 500;
}

#news .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 {
    font-size: 0;
    display: inline-block;
    position: absolute;
    text-decoration: none;
    bottom: 20px;
}

#news .tab_link_entry>div:nth-last-child(2) a::after {
    content: 'weiterlesen';
    font-size: 1.125rem;
    position: relative;
    display: inline-block;
    color: #ac3737;
    font-weight: 500;
}

#news .tab_link_entry>div:nth-last-child(2) a:hover::after,
#news .tab_link_entry>div:nth-last-child(2) a:focus::after {
    text-decoration: underline;
}

@media (min-width: 576px) {
    #news .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 {
        width: calc(50% - 20px);
    }

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

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

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

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

@media (max-width: 767px) {
    #news .tab_link_entry {
        width: 100%;
    }

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

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

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

@media (min-width: 576px) and (max-width: 767px) {
    #news .tab_link_entry {
        width: calc(50% - 15px);
    }

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

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

@media (min-width: 1200px) {
    #news .tab_link_entry {
        width: calc(25% - 23px);
    }

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

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

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

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

#news .tab_link_entry::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: 320px;
    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_spacer {
    height: 5px;
}

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

/* ------------------------------------------------ eventsBox ----------------------------------------------- */

#eventsBox {
    padding-top: 55px;
    padding-bottom: 60px;
    position: relative;
}

@media (max-width: 991px) {
    #eventsBox>.row>*+* {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid rgba(46, 46, 46, 0.5);
    }
}

@media (min-width: 1200px) {
    #eventsBox>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        left: -4vw;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 229px;
        height: 222px;
        background: url('../img/wasserzeichen-wappen-veranstaltungen.png') center no-repeat;
    }
}

#logo2 {
    display: inline-block;
}

#logo2 img {
    display: block;
}

#eventsBox .tab {
    margin-bottom: 25px;
}

#eventsBox .tab .btgrid>.row {
    align-items: center;
    align-content: center;
}

#eventsBox .tab :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    font-size: 1.5625rem;
}

#eventsBox .tab a {
    font-weight: 500;
    font-size: 1rem;
    color: #ac3737;
}

@media (min-width: 768px) {
    #events {
        display: flex;
    }

    #events .eventsKalender {
        max-width: 270px;
        margin-right: 60px;
    }
}

@media (min-width: 992px) {
    #events .eventsKalender {
        margin-right: 90px;
    }
}

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

#events .eventsKalender #clr-events-hide {
    display: none;
}

#events .eventclndr-tab {
    margin: 0;
}

#events .eventsBoxes .tab_link_entry {
    background: #ac3737;
    color: #ffffff;
    border: none !important;
    padding: 15px 20px;
    overflow: hidden;
    position: relative;
    font-size: 1rem;
}

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

@media (max-width: 575px) {
    #events .eventsBoxes .tab_link_entry+.tab_link_entry {
        margin-top: 30px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    #events .eventsBoxes .tab_link_entry {
        width: calc(50% - 15px);
    }

    #events .eventsBoxes .tab_link_entry:not(:nth-child(2))+.tab_link_entry {
        margin-left: 30px;
    }

    #events .eventsBoxes .tab_link_entry:not(:nth-child(1))+.tab_link_entry {
        margin-top: 30px;
    }
}

@media (min-width: 768px) {
    #events .eventsBoxes .tab_link_entry {
        width: calc(52% - 30px);
    }

    #events .eventsBoxes .tab_link_entry:not(:nth-child(2))+.tab_link_entry {
        margin-left: 30px;
    }

    #events .eventsBoxes .tab_link_entry:not(:nth-child(1))+.tab_link_entry {
        margin-top: 30px;
    }
}

#events .eventsBoxes .tab_link_title a {
    color: #ffffff;
    font-weight: 500;
}

#events .eventsBoxes .tab_link_mandat a {
    color: #ffffff;
}

#events .eventsBoxes .tab_spacer,
#events .eventsBoxes .tab_link_mehr {
    display: none;
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #222222;
    font-weight: 500;
    line-height: 1.2;
    font-family: "Catamaran", 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: 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 #222222;
}

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

footer {
    background-color: #2e2e2e;
    padding-top: 15px;
    padding-bottom: 15px;
    color: #ffffff;
    font-size: 1rem;
}

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

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

footer .tab {
    display: flex;
    align-items: center;
    align-content: center;
}

footer .tab .tabHeadline {
    font-size: 1.25rem;
    margin: 0;
    color: #dfc744;
    max-width: fit-content;
    padding-right: 35px;
}

footer .tab a {
    color: #ffffff;
    text-decoration: none;
}

footer .tab a:hover,
footer .tab a:focus {
    color: #dfc744;
}

footer .tab .tabContent p {
    display: inline-block;
}

footer .tab .tabContent p+p {
    border-left: 1px solid #ffffff;
    margin-left: 5px;
    padding-left: 5px;
}

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

@media (min-width: 768px) and (max-width:991px) {
    #innerfooter {
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }
}

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

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

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

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

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

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

@media (min-width: 992px) {
    #vernetzt {
        font-size: 1rem;
    }
}

#vernetzt b {
    color: #dfc744;
    font-weight: 400;
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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

/* --------------------------------------------- kontrast -------------------------------------------- */

.contrast_dark #eyeAble-Bluefilter {
    background-color: transparent !important;
}

.contrast_light_font #logo img,
.contrast_light_font #logo2 img,
.contrast_dark body,
.contrast_dark_font #optionsBox {
    background-color: #ffffff !important;
}

.contrast_dark_font form [id^="search_submit"] {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.contrast_dark #news .tab_link_entry>div:nth-last-child(2) a::after,
.contrast_dark_font #bannerOverlay .tab {
    color: #ffffff !important;
}

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