@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: #2e2e2e;
    background: #ffffff;
    font-size: 1rem; /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #e93b42;
}

a:hover {
    color: #e93b42;
}

b, strong {
    font-weight: 700;
}

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

#logo {
    display: inline-block;
    margin: 0px 0;
}

#logo img {
    display: block;
    max-height: 70px;
}

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

    #logoTab {
        margin-top: 10px;
    }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #ffffff;
        -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);
    }
    #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
        background-color: #000000;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -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"] #burgerButtonInner2 {
        opacity: 0;
    }
    #burgerButton[aria-expanded="true"]:after {
        -webkit-transform: rotate(45deg) translate(-4px, -6px);
        transform: rotate(45deg) translate(-4px, -6px);
    }
    #burgerButtonInner {
        top: 16px;
    }
    #burgerButtonInner2 {
        top: 24px;
    }
    #burgerButton:after {
        top: 32px;
        content: "";
        display: block;
    }
    .navbar-nav {
        margin: 20px 0;
    }
    .navbar-collapse {
        top: 0;
        background: #e73552;
        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[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }
    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }
    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        -webkit-transition: width 300ms linear, opacity 300ms linear;
        -moz-transition: width 300ms linear, opacity 300ms linear;
        -ms-transition: width 300ms linear, opacity 300ms linear;
        -o-transition: width 300ms linear, opacity 300ms linear;
        transition: width 300ms linear, opacity 300ms linear;
    }
    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }
    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        z-index: 100;
    }
    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;
    }
    nav.horizontally .navbar-nav::before {
        content: "";
        transform: skewX(-30deg);
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: -100vw;
        z-index: -1;
        background: #e73552;
    }
    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 > ul,
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        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;
    }
    .open > .dropdown-menu,
    .navbar-default .navbar-nav > li:hover > ul,
    .navbar-default .navbar-nav > li > .dropdown-menu > li:hover > .dropdown-menu,
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .nav .open > .dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    #secondwrapper .nav .open > .dropdown-menu {
        pointer-events: all !important;
        opacity: 1 !important;
    }

    .hideOverflow {
        overflow: hidden;
        position: relative;
    }

    .sticky-wrapper {
        height: 0 !important;
    }

    #menu {
        -webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;
    }

    .is-sticky #menu {
        background: #e73552;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #fff;
    text-align: center;
    padding: 10px 5px;
    font-size: 1.125rem;
    font-weight: 400;
    position: relative;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>a {
        margin-bottom: 2px;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 2px;
    }
    .navbar-default .navbar-nav>li>a {
        padding: 22px 15px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 98px;
        max-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;
    }
}

.navbar-default .navbar-nav>li>a::before {
    content: "";
    transform: skewX(-10deg);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    right: -4px;
    z-index: -1;
    background: #e73552;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a::before {
        left: 0;
        right: 0;
        transform: skewX(-30deg);
    }
}

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

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

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

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



.secondandthird-only {
background: #fff;
padding: 10px 10px;
}

.secondandthird-only > li {
    background: #fff;
    }

.secondandthird-only > li > ul > li {
    background: #fff;
    }

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

@media (min-width: 992px) {
    nav.horizontally .dropdown-menu {
        padding-top: 34px;
        padding-bottom: 18px;
    }

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

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

    .navbar-default .navbar-nav>li>.dropdown-menu::before,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        position: absolute;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        left: 35px;
        top: -14px;
        border-width: 0 15px 15px 15px;
        border-color: transparent transparent #e73552 transparent;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        left: -14px;
        top: 6px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 15px 15px 15px 0;
        border-color: transparent #e73552 transparent transparent;
    }

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #fff;
    font-weight: 400;
    text-align: center;
    padding: 10px 20px;
    position: relative;
    font-size: 1.125rem;
}

.secondandthird-only > li > a {
    background-color: transparent;
    color: #e73552;
    font-weight: 400;
    text-align: left;
    padding: 5px 20px;
    position: relative;
    font-size: 1.125rem;
    border-bottom: 1px solid #fbe1e5;
}


.secondandthird-only > li > ul > li > a {
    background-color: transparent;
    color: #e73552;
    font-weight: 400;
    text-align: left;
    padding: 4px 10px 4px 30px;
    position: relative;
    font-size: 1.125rem;
}

@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: left;
        padding: 5px 20px;
    }


}

/* ------------------------------------------ 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: #fff;
    background-color: #a6192e;
}

.secondandthird-only > li > a:hover,
.secondandthird-only > li > a:focus,
.secondandthird-only > li.open > a,
.secondandthird-only > li.open > a:hover,
.secondandthird-only > li.open > a:focus,
.secondandthird-only > li[class*="_over"] > a,
.secondandthird-only > li[class*="_over"] > a:hover,
.secondandthird-only > li[class*="_over"] > a:focus {
    color: #e73552 !important;
    background: #fdeaed !important;
    font-weight: 700;
}


.secondandthird-only > li > ul > li > a:hover,
.secondandthird-only > li > ul > li > a:focus,
.secondandthird-only > li > ul > li.open > a,
.secondandthird-only > li > ul > li.open > a:hover,
.secondandthird-only > li > ul > li.open > a:focus,
.secondandthird-only > li > ul > li[class*="_over"] > a,
.secondandthird-only > li > ul > li[class*="_over"] > a:hover,
.secondandthird-only > li > ul > li[class*="_over"] > a:focus {
    color: #e73552 !important;
}


.secondandthird-only > li > ul > li > a:hover::before,
.secondandthird-only > li > ul > li > a:focus::before,
.secondandthird-only > li > ul > li.open > a::before,
.secondandthird-only > li > ul > li.open > a:hover::before,
.secondandthird-only > li > ul > li.open > a:focus::before,
.secondandthird-only > li > ul > li[class*="_over"] > a::before,
.secondandthird-only > li > ul > li[class*="_over"] > a:hover::before,
.secondandthird-only > li > ul > li[class*="_over"] > a:focus::before {
    content: '•';
display: block;
position: absolute;
top: 50%;
margin-top: -35px;
left: 10px;
color: #e73552;
font-size: 50px;
}
/* ----------------------------------------------- banner ----------------------------------------------- */

#slider {
    overflow: hidden;
    max-height: 300px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.theme-default .nivo-controlNav {
bottom: 25px !important;
}

#headerpic {
    position: relative;
}

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

    body:not(.index) #slider {
        max-height: 500px;
    }

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

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

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

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

/* --------------------------------------------- tabs + aktuelles -------------------------------------------- */
main .tab {
    background-color: #e73552;
}

main .tabHeadline {
    color: #fff;
    font-weight: bold;
    font-size: 1.375rem;
    padding: 5px 15px 0 15px;
}

main .tabContent {
    padding: 15px;
    color: #fff;
}

.eventclndr-tab {
    margin-left: -15px;
    margin-right: -15px;
}

main .tab_link_title a {
    color: #fff;
}

main .tab_link_mehr {
    color: transparent;
    margin-top: 10px;
}

main .tab_link_mehr a {
    background-color: #a6192e;
    font-weight: 400;
    font-size: 1rem;
    color: #fff;
    padding: 8px;
    margin: 0 auto;
    text-align: center;
    display: block;
    max-width: 100px;
}

#teaser .tabHeadline {
    color: #fff;
    font-weight: bold;
    font-size: 2.1875rem;
    margin-bottom: 35px;
}

#teaser .tab {
    background: url(../img/bg-teaser.png) center center/cover no-repeat #e73552;
    padding: 40px;
    color: #fff;
    margin-bottom: -100px;
    position: relative;
    z-index: 55;
}

#teaser .tab a {
    color: #fff;
}

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

main {
    text-align: left;
    min-height: 200px;
    padding-top: 30px;
    padding-bottom: 30px;
}

/* ------------------------------------------ h1, #content .legacy_h1, .legacy_h1 - h6, #content .legacy_h6, .legacy_h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:visited, h6, #content .legacy_h6, .legacy_h6, h5, #content .legacy_h5, .legacy_h5, h4, #content .legacy_h4, .legacy_h4, h3, #content .legacy_h3, .legacy_h3, h2, #content .legacy_h2, .legacy_h2, h1, #content .legacy_h1, .legacy_h1 {
    color: #e93b42;
    font-weight: bold;
    line-height: 1.2;
    font-family: "Jost", sans-serif;
}

h1, #content .legacy_h1, .legacy_h1, .h1 {
    font-size: 1.5625rem;
}

h2, #content .legacy_h2, .legacy_h2, .h2 {
    font-size: 1.5rem;
}


h3, #content .legacy_h3, .legacy_h3, .h3 {
    font-size: 1.45rem;
}

h4, #content .legacy_h4, .legacy_h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:visited {
    font-size: 1.4rem;
}

h5, #content .legacy_h5, .legacy_h5, .h5 {
    font-size: 1.35rem;
}

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

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

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

#footerImg h1,
#footerImg h2,
#footerImg h3,
#footerImg h4,
#footerImg h5,
#footerImg h6,
#footerImg h1 a ,
#footerImg h2 a,
#footerImg h3 a,
#footerImg h4 a,
#footerImg h5 a,
#footerImg h6 a {
    color: #fff;
}

#footerImg {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    background-size: cover;
    background-position: center center;
    color: #2e2e2e;
    background: #fff;
    box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.08);
}

#footerImg a {
    color: #2e2e2e;
    text-decoration: underline;
}

footer {
    background: #df2f4c;
    color: #fff;
}

@media (max-width: 991px) {
    .contactTab {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #fff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 20px 0;
        opacity: 0.3;
    }
    #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before, #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

.innerfooter1 a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9375rem
}

.innerfooter1 a+a::before {
content: '|';
margin: 0 10px;
}

#innerfooter a {
    color: #ffff;
    text-decoration: none;
    display: inline-block;
    padding: 10px;
    font-size: 1rem;
}

@media (max-width: 767px) {
    #innerfooter {
        padding-top: 8px;
    }
}

@media (min-width: 768px) {
    #innerfooter {
        min-height: 100%;
        flex-wrap: wrap;
    }

    #innerfooter a {
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    #innerfooter a {
        padding: 35px 15px;
    }
}

#innerfooter a:hover {
    color: #fff;
    background-color: #a6192e;
}

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

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #fff;
    line-height: 1.4;
    margin: 0 auto;
}

@media (min-width: 768px) {
    #vernetzt {
        margin: 0;
    }
}

#vernetzt span {
    color: #fff;
}

#vernetzt span span {
    display: block;
}

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


.index #contenttop_right {
    display: none;
}

#news {
    background: #fff;
    padding-bottom: 50px;
}

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

#news .tab_link_entry {
    background: #007aa3;
    width: 100%;
    padding: 20px;
    color: #fff;
}

#news .tab_link_title a {
    color: #fff;
}

@media (min-width: 768px) and (max-width: 991px) {
    #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: 992px) {
    #news .tab_link_entry {
        width: calc(33.33% - 20px);
    }

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

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

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

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

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

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

#news .tab_link_mehr {
    margin-top: 30px;
    color: transparent;
    font-size: 0;
}

#news .tab_link_mehr a {
    background: #007aa3;
    color: #ffffff;
    display: inline-block;
    padding: 4px 18px;
    border-radius: 2px;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 700;
}