@import url("https://fonts.verwaltungsportal.de/import/?family=Nunito+Sans:400,500,600,700");

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

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

a {
    color: #ad0a0a;
}

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


b,
strong {
    font-weight: 700;
}

a:focus-visible {
    outline: 3px solid #5c0000 !important;
}

button:focus-visible {
    outline: 3px solid #5c0000 !important;
}

form:focus-visible,
#search_input:focus-visible,
#search_submit:focus-visible,
#newsletter_input:focus-visible,
#newsletter_submit:focus-visible {
    border: 3px solid #5c0000 !important;
}

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

#logoWrapper {
    position: absolute;
    top: 0;
    z-index: 55;
    left: -15px;
}

@media (min-width: 992px) {
    .logo {
        background: rgba(34, 34, 34, 0.8);
        padding: 14px 25px;
    }
    .logo img {
        max-width: 220px;
    }
}

@media (min-width: 1600px) {
    #logoWrapper {
        position: fixed;
        z-index: 195;
        top: 0;
        left: -15px;
    }
    .logo img {
        max-width: 170px;
    }
}
@media (min-width: 1800px) {
    .logo img {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .horizontally {
        padding: 14px 0;
        background: #222222;
    }
}

.logo img {
    display: block;
}

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

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

#topbar {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #222222;
    font-size: 0.875rem;
    color: #fff;
}

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

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

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

#style button {
    padding: 0;
    border: none;
    color: #222222;
    display: inline-block;
    width: 29px;
    height: 29px;
    font-weight: 400;
    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: #ffffff;
    background: #9f0c0c;
}

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

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

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

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

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

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

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

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

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

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

@media (max-width: 575px) {
    form[id^="search"] {
        margin-top: 10px;
        display: inline-block;
    }
}

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

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

form [id^="search_input"] {
    color: #58453a;
    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: 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 rgba(88, 69, 58, 0.3);
    -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: #fafafa;
    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;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        padding: 10px 0;
    }

    .is-sticky #menu {
        position: relative !important;
    }

    #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: #ad0a0a;
        padding: 3px;
    }

    #burgerButton:before,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #ffffff;
        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 {
        padding: 20px 0;
        background-color: #ffffff;
        margin-bottom: 20px;
    }

    .navbar-collapse {
        top: 0;
        background: #fff;
        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: #ad0a0a;
        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) {
    #menu {
        background-color: #ffffff;
        padding: 11px 0;
        border-bottom: 1px solid #e6e6e6;
    }

    nav.horizontally .navbar-nav {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        flex-wrap: wrap;
    }

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

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

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

    nav.horizontally .navbar-nav>li, nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }

    .navbar-default .open>.dropdown-menu,
    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

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

    .navbar-default .nav .open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

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

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

.navbar-default .navbar-nav>li {
    position: static;
}

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

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

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

@media (max-width: 991px) {
    .dropdown-toggle-button-wrapper {
        top: 6px;
    }
}

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

.navbar-nav>li:focus-within>a {
    color: #ffffff;
    background-color: #ad0a0a;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu {
    background: rgba(34, 34, 34, 0.9);
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background: rgba(34, 34, 34, 0.9);
}

@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: 10px;
        padding-bottom: 10px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        left: 50%;
        margin-top: 20px;
        -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>li>.dropdown-menu {
        margin-top: -10px;
        margin-left: 10px;
    }

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

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

@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: #ad0a0a;
}

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

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

#slider .nivo-main-image,
#slider {
    max-height: 300px !important;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {

    #slider .nivo-main-image,
    #slider {
        max-height: 700px !important;
    }

    body.index #slider .nivo-main-image,
    body.index #slider {
        max-height: 800px !important;
    }

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

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

    .theme-nivo .nivo-controlNav {
        bottom: unset !important;
        top: 10px;
    }
}

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

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

.slider-mask {
    display: none;
}

/* --------------------------------------------- dots -------------------------------------------- */

.slider-wrapper .nivo-controlNav a {
    display: inline-block;
    width: 10px !important;
    height: 10px !important;
    text-indent: -9999px;
    border: 1px solid #ad0a0a !important;
    margin: 0 5px !important;
    background: #ffffff !important;
    border-radius: 0%;
    color: #000;
}

.slider-wrapper .nivo-controlNav a.active,
.slider-wrapper .nivo-controlNav a:hover,
.slider-wrapper .nivo-controlNav a:focus {
    background: #ad0a0a !important;
    border: 1px solid #ad0a0a !important;
}

.slider-wrapper .nivo-controlNav a+a {
    margin-top: 10px;
}

@media (max-width: 767px) {
    #slider .nivo-directionNav {
        display: none !important;
    }

    .slider-wrapper .nivo-controlNav a {
        display: inline-block;
    }

    .slider-wrapper .nivo-controlNav a+a {
        margin-top: 0;
        margin-left: 7px;
    }
}

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

#headerpic .nivo-directionNav a {
    background: #ffffff;
    width: 60px;
    height: 48px;
    -webkit-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    -moz-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    -ms-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    -o-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
}

#headerpic:hover .nivo-directionNav a,
#headerpic:focus .nivo-directionNav a {
    width: 70px;
}

#headerpic .nivo-directionNav a::before,
#headerpic .nivo-directionNav a::after {
    content: "";
    display: block;
    position: absolute;
}

#headerpic .nivo-directionNav a::before {
    height: 2px;
    width: 16px;
    top: 50%;
    margin-top: -1px;
    background: #ad0a0a;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}

#headerpic .nivo-directionNav a::after {
    height: 8px;
    width: 8px;
    top: 50%;
    margin-top: -5px;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: border-color 300ms linear;
    -moz-transition: border-color 300ms linear;
    -ms-transition: border-color 300ms linear;
    -o-transition: border-color 300ms linear;
    transition: border-color 300ms linear;
}

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

#headerpic a.nivo-prevNav::before {
    right: 26px;
}

#headerpic a.nivo-prevNav::after {
    right: 32px;
    border-left: 2px solid #ad0a0a;
    border-bottom: 2px solid #ad0a0a;
}

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

#headerpic a.nivo-nextNav::before {
    left: 26px;
}

#headerpic a.nivo-nextNav::after {
    left: 32px;
    border-right: 2px solid #ad0a0a;
    border-top: 2px solid #ad0a0a;
}

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

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

/* ------------------------------------------------ greenButton ----------------------------------------------- */

.greenButton a {
    background-color: #ad0a0a;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    position: relative;
    padding: 9px 50px 9px 20px;
    display: inline-block;
}

.greenButton a+a {
    margin-top: 32px;
}

.greenButton a::after {
    content: '\2192';
    right: 25px;
    top: 9px;
    bottom: 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;
    position: absolute;
}

.greenButton a:hover::after,
.greenButton a:focus::after {
    right: 15px;
}

/* ------------------------------------------------ whiteButton ----------------------------------------------- */

.whiteButton a {
    background-color: #ffffff;
    color: #222222;
    text-decoration: none;
    font-size: 0.875rem;
    position: relative;
    padding: 9px 50px 9px 20px;
    display: inline-block;
}

.whiteButton a+a {
    margin-top: 32px;
}

.whiteButton a::after {
    content: '\2192';
    right: 25px;
    top: 9px;
    bottom: 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;
    position: absolute;
    color: #ad0a0a;
}

.whiteButton a:hover::after,
.whiteButton a:focus::after {
    right: 15px;
}

/* ------------------------------------------ @21nw ----------------------------------------- */

#nw21 {
    padding: 20px 0 60px 0;
    color: #444444;
    font-size: 1rem;
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

#nw21 .tab_link_title a {
    color: #333333;
    font-size: 1.25rem;
    font-weight: 700;
}

#nw21 .nwContent {
    padding: 87px 35px 50px 40px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    margin-top: 80px;
    position: relative;
}

@media (min-width: 768px) {
    #nw21 .nwContent {
        margin-left: -95px;
        margin-right: 95px;
        background: #ffffff;
    }
}

@media (max-width: 991px) {
    #nw21 .nwContent {
        margin-right: 0;

    }
}

#nw21 .nwContent::after {
    content: '';
    pointer-events: none;
    width: 100%;
    height: 4px;
    background: #434343;
    display: inline-block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

#nw21 .nwContent::before {
    content: '';
    pointer-events: none;
    width: 100%;
    max-width: 180px;
    height: 4px;
    background: #ad0a0a;
    display: inline-block;
    position: absolute;
    left: -100px;
    top: 55px;
}

#nw21 h2 {
    font-size: 1.875rem;
    margin-bottom: 40px;
}

#nw21 h1,
#nw21 h2,
#nw21 h3,
#nw21 h4,
#nw21 h5,
#nw21 h6 {
    color: #222222;
    font-weight: 800;
}


#nw21 .tab_link_mehr {
    font-size: 0px;
    text-align: left !important;
    position: relative;
    margin-top: 25px;
}

#nw21 .tab_link_mehr a {
    position: relative;
    text-decoration: none;
}

#nw21 .tab_link_mehr a::after {
    content: 'alle Meldungen';
    font-size: 0.875rem;
    font-weight: 400;
    color: #444444;
    text-decoration: none;
    margin-left: 30px;
    top: 5px;
    position: relative;
    padding-right: 15px;
    transition: width, 200ms ease-in-out;
    padding-left: 8px;
}

#nw21 .tab_link_mehr a::before {
    content: '\279C';
    display: inline-block;
    width: 26px;
    height: 30px;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    background: #ad0a0a;
    color: #ffffff !important;
    font-size: 21px;
    padding-bottom: 0;
    line-height: 29px;
    padding-top: 0;
    padding-left: 4px;
    transition: width, 200ms ease-in-out;
}

#nw21 .tab_link_mehr a:hover::before,
#nw21 .tab_link_mehr a:focus::before {
    width: 100%;
}

#nw21 .tab_link_mehr a:hover::after,
#nw21 .tab_link_mehr a:focus::after {
    color: #ffffff;
}

.nwBanner {
    min-height: 500px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

@media (min-width: 768px) {
    .nwBanner::after {
        content: 'EINSÄTZE';
        text-transform: uppercase;
        font-size: 110px;
        position: absolute;
        left: 100%;
        font-weight: 800;
        top: -40px;
        z-index: -1;
        color: #666666;
        pointer-events: none;
        opacity: .2;
    }
}

@media (max-width: 767px) {
    .nwBanner {
        top: 0px;
        left: -60px;
        position: absolute;
        right: 60px;
        bottom: 0;
        display: block;
        min-height: 400px;
    }
}

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

main {
    text-align: left;
}

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

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

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

    .index #content {
        padding-bottom: 60px;
        padding-top: 60px;
    }
}

/* ------------------------------------------------ newsletterBox ----------------------------------------------- */

#newsletterBox {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-color: #004261;
}

#newsletterBox::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 50%;
    top: 0;
    background-color: rgba(66, 66, 66, 0.8);
    background-blend-mode: multiply;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

@media (max-width: 767px) {
    #newsletterBox::before {
        left: 25px;
        bottom: 25px;
        top: 25px;
    }
}

#newsletterBox .tab {
    padding: 90px 25px 52px 25px;
    color: #ffffff;
}

#newsletterBox strong,
#newsletterBox b {
    font-size: 1.25rem;
}

#newsletterBox :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
}



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

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

@media (min-width: 768px) {
    #events::before {
        content: '';
        left: 0;
        top: 0;
        bottom: 0;
        position: absolute;
        pointer-events: none;
        width: 100%;
        height: 500px;
        background-color: #e6e6e6;
    }
}

@media (min-width: 1500px) {
    #events::before {
        width: 75%;
    }
}

@media (max-width: 767px) {
    #events {
        background-color: #e6e6e6;
        padding-bottom: 60px;
    }
}

#events .tabContent :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 700;
    margin-bottom: 0;
    color: #333333;
    background-color: #e6e6e6;
    font-size: 2.1875rem;
}

#events strong,
#events b {
    color: #333333 !important;
}

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

#events .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 200px 30px 30px 30px;
    box-shadow: 0px 0px 20px 10px rgba(37, 37, 37, 0.1);
    -webkit-box-shadow: 0px 0px 20px 10px rgba(37, 37, 37, 0.1);
    -moz-box-shadow: 0px 0px 20px 10px rgba(37, 37, 37, 0.1);
    border: none !important;
    z-index: 1;
}

#events .tab_link_entries {
    counter-reset: section;
}

#events .tab_link_entry::after {
    counter-increment: section;
    content: "0"counter(section);
    font-size: 100px;
    font-weight: 700;
    pointer-events: none;
    position: absolute;
    color: #d8d8d8;
    line-height: 1;
    top: -64px;
    left: 30px;
    z-index: -1;
}

#events .tab_link {
    margin-top: 110px;
}

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

@media (min-width: 768px) {
    #events .tab_link_entry {
        width: calc(33.33% - 20px);
    }

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

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

#events .tab_link_title a {
    line-height: 1.2;
    font-weight: 700;
    font-size: 1.375rem;
    display: block;
    margin-bottom: 20px;
    color: #252525;
}

@media (max-width: 991px) {
    #events .tab_link_title a {
        font-size: 1.125rem;
    }
}

#events .tab_link_entry::before,
#events .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    overflow: hidden;
}

#events .tab_link_entry::before {
    content: "";
    background: url('../img/platzhalter-aktuelles.jpg') center / cover no-repeat, #ad0a0a;
}

#events .tab_preview_picture {
    background: #ffffff;
}

#events .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 370px;
    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%);
}

#events .tab_link_date {
    font-size: 1rem;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 20px;
    z-index: 1;
    display: inline-block;
    padding: 8px 40px;
    background: #ffffff;
    color: #252525;
}

#events .vorschau {
    color: #252525;
    opacity: 1 !important;
}

#events .tab_link_entries+div,
#events .tab_link_entries .tab_spacer,
#events .tab_link_entry>div:nth-last-child(2) {
    display: none;
}

#events .greenButton p:last-child {
    text-align: right;
}

@media (max-width: 767px) {
    #events .greenButton p:last-child {
        text-align: left;
    }
}

@media (max-width: 767px) {
    #events .greenButton a {
        margin-top: 10px;
    }
}


/* ------------------------------------------ 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: 700;
    line-height: 1.2;
    font-family: "Nunito Sans", sans-serif;
}

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

@media (min-width: 992px) {

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

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

@media (min-width: 992px) {

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

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

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

footer {
    background-color: #222222;
    color: #ffffff;
}

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

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

#footerwrapper {
    padding-top: 50px;
    padding-bottom: 50px;
    font-size: 1rem;
    line-height: 1.7;
}

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

#footerwrapper a {
    color: #ffffff;
}

#footerwrapper .tab2 a {
    color: #ffffff;
    text-decoration: underline;
}

.arrowLinks .tiny_p+.tiny_p {
    margin-top: 32px;
}

.greenButton.arrowLinks a {
    width: 100%;
}

@media (min-width: 768px) and (max-width:991px) {

    #footerwrapper>.row>div:first-child,
    #footerwrapper>.row>div:nth-child(2) {
        margin-bottom: 30px;
    }
}

/* --------------- scrollTopBtn --------------- */

a#scrollTopBtn {
    background-color: #ad0a0a;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    position: relative;
    padding: 9px 62px 9px 32px;
    display: inline-block;
    margin-bottom: 32px;
    width: 100%;
}

a#scrollTopBtn::before {
    content: '\2191';
    right: 30px;
    top: 8px;
    bottom: 0;
    position: absolute;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
    font-size: 20px;
}

a#scrollTopBtn:hover::before,
a#scrollTopBtn:focus::before {
    top: 2px;
}

/* ----------------------------------------------- lastFooter ----------------------------------------------- */

#lastFooter {
    border-top: 2px solid #fefefe;
    padding-top: 8px;
    padding-bottom: 8px;
}

#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;
    padding: 15px;
}

#innerfooter a:hover,
#innerfooter a:focus {
    background-color: #ad0a0a;
}

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

    #innerfooter a {
        display: block;
    }
}

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

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

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

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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

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

.contrast_light main,
.contrast_dark main {
    filter: none;
    background: none;
}

.contrast_dark #contrast_style button {
    background: rgb(212, 212, 212) !important;
    border: none !important;
}

.contrast_light #contrast_style button {
    background: rgb(53, 53, 53) !important;
    border: none !important;
}

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

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

.contrast_dark_font #suche.tab::before {
    filter: brightness(0%);
    -webkit-filter: brightness(0%);
    -moz-filter: brightness(0%);
}

.contrast_light_font .themesTab2 a img,
.contrast_dark_font .themesTab2 a img {
    width: auto !important;
}

.contrast_dark_font #themes .themesTab2 :is(h1, h2, h3, h4, h5, h6) {
    color: #000000 !important;
    background: #ffffff !important;
}

#newsletterBox .contrast_dark_font {
    color: #fff !important;
}

#newsletterBox .contrast_dark_font a {
    color: #000 !important;
}

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

.contrast_dark_font .searchbar,
.contrast_dark_font #bannerOverlay {
    background-color: #ffffff !important;
}

.contrast_dark .navbar {
    background: rgba(0, 0, 0, 0) !important;
}

.contrast_dark_font #road .roadHeadline,
.contrast_dark_font #road .roadHeadline :is(h1, h2, h3, h4, h5, h6) {
    color: #fff !important;
}

.tab_link_title .contrast_grayscale {
    filter: none !important;
}

.contrast_dark_font #burgerButton::before,
.contrast_dark_font #burgerButton::after,
.contrast_dark_font #burgerButtonInner {
    background-color: #000000 !important;
}

.contrast_dark_font .whiteButton a {
    color: #000000 !important;
}

.contrast_light_font #burgerButton::before,
.contrast_light_font #burgerButton::after,
.contrast_light_font #burgerButtonInner {
    background-color: #ffffff !important;
}