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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #525252 #ffffff;
    scrollbar-width: thin;
}

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

a {
    color: #85143c;
}

a:is(:hover, :focus) {
    color: #85143c;
    text-decoration: underline;
}

b,
strong {
    font-weight: 700;
}

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

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

#logo {
    display: inline-block;
}

@media (min-width: 992px) {
    #logo {
        position: absolute;
        z-index: 12;
        top: 0;
        left: 20px;
    }
}

#logo img {
    display: block;
}

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

    #logo {
        margin-bottom: -15px;
        position: relative;
        z-index: 12;
    }
}

/* #region ---------------------------------- navigation ---------------------------------------- */

nav.horizontally {
    background: #ffffff;
    position: relative;
}

nav.horizontally::after {
    content: '';
    position: absolute;
    pointer-events: none;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to bottom, #000000, #ffffff);
    opacity: 0.08;
}

/* 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: #ffffff;
        border: none !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #cc2261;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

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

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButton::before {
        top: 24px;
        content: "";
    }

    #burgerButton::after {
        top: 32px;
        content: "";
    }

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

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

    .dropdown-toggle-button-wrapper {
        top: 5px;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 4px;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        background: #ffffff;
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding-top: 48px;
        margin-left: -30px;
    }

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

    nav.horizontally .navbar-nav [class*="secondlevel"]>ul {
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav li {
        position: relative;
    }

    /* nav.horizontally .navbar-nav li:is(.open:focus-within, :hover)>ul,
    nav.horizontally .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
    } */

    nav.horizontally .navbar-nav li:is(:hover, :focus-within)>ul {
        z-index: 1003;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #0078bd;
    font-weight: 400;
    font-family: "Rancho", cursive;
    text-align: left;
    padding: 12px 15px;
    font-size: 1.625rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"].dropdown-toggle {
        padding-right: 35px;
    }

    nav.horizontally a[class*="toplevel"] {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }
}

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"] {
        padding: 5px 11px 20px 11px;
        font-size: 1.75rem;
        text-align: center;
    }
}

nav.horizontally a[class*="toplevel"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #cc2261;
    opacity: 0;
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open>a,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"]>a,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #cc2261;
    background-color: #ffffff;
}

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a::after,
nav.horizontally li[class*="toplevel"]>a::after:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open>a::after,
nav.horizontally li[class*="toplevel"].open>a::after:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"]>a::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a::after:is(:hover, :focus) {
    opacity: 1;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    nav.horizontally [class*="secondlevel"]>ul {
        padding: 10px 0;
    }
}

@media(min-width:992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: #ffffff;
    }

    nav.horizontally [class*="toplevel"]>ul {
        left: 0;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        margin-top: -10px;
        margin-left: 15px;
    }

    nav.horizontally [class*="secondlevel"]>ul::before {
        content: "";
        display: block;
        position: absolute;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
}

/* secondlevel + thirdlevel */

:is(nav.horizontally, #menu-left) a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    text-align: left;
    font-size: 0.9375rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

:is(nav.horizontally, #menu-left) a:is([class*="secondlevel"]) {
    padding: 11px 30px 11px 13px;
    color: #6B3200;
    font-weight: 600;
    background-color: #FFA519;
    background: linear-gradient(to bottom, #FFA519, #FF900C);
}

:is(nav.horizontally, #menu-left) li:is([class*="secondlevel"])+li {
    margin-top: 1px;
}

@media (min-width: 992px) {
    #menu-left .secondandthird-wrapper>ul+ul {
        margin-top: 1px;
    }
}

:is(nav.horizontally, #menu-left) a:is([class*="thirdlevel"]) {
    padding: 6px 30px 6px 23px;
    color: #5b5b5b;
    font-weight: 400;
    background-color: #ffffff;
    background: linear-gradient(to bottom, #ffffff, #F6F6F6);
}

:is(nav.horizontally, #menu-left) li:is([class*="thirdlevel"])+li {
    margin-top: 1px;
}

@media (max-width: 991px) {
    :is(nav.horizontally, #menu-left) a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        padding-left: 25px;
        padding-right: 35px;
    }
}

:is(nav.horizontally, #menu-left) a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 100%;
    opacity: 0;
    transition: opacity 300ms linear;
}

:is(nav.horizontally, #menu-left) a:is([class*="secondlevel"])::after {
    right: 11px;
    width: 10px;
    height: 10px;
    background: #ffffff;
}

:is(nav.horizontally, #menu-left) a:is([class*="thirdlevel"])::after {
    right: 13px;
    width: 4px;
    height: 4px;
    background: #C41D58;
}

/* secondlevel + thirdlevel over */

:is(nav.horizontally, #menu-left) li[class*="secondlevel"]:is(:hover, :focus-within)>a,
:is(nav.horizontally, #menu-left) li[class*="secondlevel"]>a:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li[class*="secondlevel"].open>a,
:is(nav.horizontally, #menu-left) li[class*="secondlevel"].open>a:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li[class*="secondlevel"][class*="_over"]>a,
:is(nav.horizontally, #menu-left) li[class*="secondlevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #ffffff;
    background-color: #0084D0;
    background: linear-gradient(to bottom, #0084D0, #0161B1);
}

:is(nav.horizontally, #menu-left) li[class*="thirdlevel"]:is(:hover, :focus-within)>a,
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"]>a:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"].open>a,
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"].open>a:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"][class*="_over"]>a,
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #85143c;
}

:is(nav.horizontally, #menu-left) li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::after,
:is(nav.horizontally, #menu-left) li:is([class*="secondlevel"], [class*="thirdlevel"])>a::after:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::after,
:is(nav.horizontally, #menu-left) li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::after:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::after,
:is(nav.horizontally, #menu-left) li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::after:is(:hover, :focus) {
    opacity: 1;
}

/* #endregion ------------------------------- navigation ---------------------------------------- */

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

#slider {
    max-height: clamp(300px, 42vw, 466px);
    position: relative;
}

#headerpic {
    padding: 0;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    #headerpic a.nivo-prevNav {
        left: 65px;
    }

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

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

.slider-mask {
    display: none;
}

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

#style {
    background: #fff;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
    max-width: fit-content;
    margin: 0 auto;
    margin-top: 18px;
}

#style button {
    border: none;
    color: #85143c;
    display: inline-block;
    padding: 0;
    min-width: 38px;
    min-height: 38px;
    font-size: 2rem;
    font-family: 'Rancho', cursive;
    font-weight: 400;
    text-align: center;
    background-color: #ffffff;
    position: relative;
    transition: all 150ms linear;
}

#style button+button {
    border-left: 1px solid #e6e6e6;
}

#style button:hover,
#style button:focus {
    color: #6b0f30;
}

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

#content-area {
    text-align: left;
    row-gap: 20px;
}

@media (min-width: 992px) {
    #menu-left {
        box-shadow: -5px 0px 5px 0px rgba(0, 0, 0, 0.2) inset;
        padding-right: 0;
    }

    #menu-left::before {
        content: '';
        position: absolute;
        pointer-events: none;
        right: 0;
        top: 0;
        height: 200px;
        width: 20px;
        background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0));
    }

    #menu-left::after {
        content: '';
        position: absolute;
        pointer-events: none;
        right: 0;
        bottom: 0;
        height: 200px;
        width: 20px;
        background: linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0));
    }
}

@media (min-width: 1200px) {
    #menu-left {
        flex: 0 0 23.9%;
        max-width: 23.9%;
    }

    #content {
        flex: 0 0 76.1%;
        max-width: 76.1%;
        padding-left: 24px;
    }
}

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

/* ------------------------------------------- introTabs ------------------------------------------ */

#introTabs {
    padding-top: clamp(20px, 4vw, 55px);
    padding-bottom: clamp(20px, 6vw, 108px);
}

#introTabs .rowunder,
#introTabs>.row {
    row-gap: 20px;
}

@media (min-width: 1200px) {

    #introTabs .rowunder>*,
    #introTabs>.row>* {
        padding-left: 10px;
        padding-right: 10px;
    }

    #introTabs>.row {
        max-width: 980px;
        width: 100%;
    }
}

#introTabs .innerBox+.innerBox {
    margin-top: 30px;
}

#introTabs .rowunder>*>*+*,
#introTabs>.row>*>*+* {
    margin-top: 20px;
}

#introTabs .tab {
    color: #222222;
    min-height: 255px;
    padding: 15px;
}

#introTabs .tab1 {
    height: 100%;
    background: #f1f5fc;
}

#introTabs .tab2 {
    height: 100%;
    background: #daf6e6;
}

#introTabs .tab3 {
    height: 100%;
    background: #f6dada;
}

#introTabs .tab4 {
    height: 100%;
    background: #cdd9f4;
}

#introTabs .tab5 {
    height: 100%;
    background: #d7dbe4;
}

#introTabs .tab6 {
    height: 100%;
    background: #f6ebda;
}

#introTabs .tab7 {
    height: 100%;
    background: #f6a462;
}

#introTabs .tab8 {
    height: 100%;
    background: #fde592;
}

#introTabs .tab9 {
    background: #ffd9ad;
}

#introTabs .tab .tabHeadline {
    color: #222222;
    font-family: 'Rancho', cursive;
    font-size: 1.75rem;
    margin-bottom: 10px;
}

#introTabs .tab_link_title a {
    color: #000000;
    font-weight: 700;
}

#introTabs .tab1 .tab_link_entry {
    border-bottom: unset !important;
}

#introTabs .tab1 .tab_link_title a {
    display: block;
    font-weight: 400;
    font-size: 1.75rem;
    color: #222222;
    margin-bottom: 8px;
    font-family: 'Rancho', cursive;
}

#introTabs .tab1 .tab_preview_picture {
    background: #ffffff;
}

#introTabs .tab1 .tab_link_entries+div,
#introTabs .tab1 .tab_link_entry>div:nth-last-child(2),
#introTabs .tab1 :is(.vorschau, .tab_link_comment_1) {
    display: none;
}

#introTabs label {
    color: #4a4a4a;
    font-weight: 400;
    text-align: left;
    font-family: 'Rancho', cursive;
    font-size: 1.4375rem;
    margin-bottom: 3px;
    display: block;
}

/*  newsletter  */

#newsletterInputs {
    min-height: 37px;
    background: #EFEFEF;
    display: inline-block;
    position: relative;
}

#newsletter_input {
    color: #484848;
    font-size: 0.9375rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 10px;
    padding-right: 33px;
    min-height: 37px;
    width: 100%;
}

#newsletter_submit {
    width: 31px;
    background: #BF1F53 url('../img/iconv2-newsletter.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    transition: background-color 300ms linear;
}

#newsletter_submit:hover {
    background-color: #BF1F53;
}

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

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

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

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

#newsletter_input::placeholder {
    color: #484848 !important;
    opacity: 1 !important;
    font-style: normal !important;
}

/*  search  */

#search {
    min-height: 37px;
    background: #EFEFEF;
    display: inline-block;
    position: relative;
}

#search_input {
    color: #484848;
    font-size: 0.9375rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 10px;
    padding-right: 33px;
    min-height: 37px;
    width: 100%;
}

#search_submit {
    width: 31px;
    background: #BF1F53 url('../img/iconv2-search.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    transition: background-color 300ms linear;
}

#search_submit:hover {
    background-color: #BF1F53;
}

#search_input::-ms-input-placeholder {
    color: #484848 !important;
}

#search_input::-webkit-input-placeholder {
    color: #484848 !important;
}

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

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

#search input::placeholder {
    color: #484848 !important;
    opacity: 1 !important;
    font-style: normal !important;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #0078bd;
    font-weight: 400;
    line-height: 1.2;
    font-family: "Open Sans", sans-serif;
}

h1,
.h1,
.legacy_h1 {
    font-size: 1.7125rem;
    font-family: "Rancho", cursive;
}

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

h3,
.h3,
.legacy_h3 {
    font-size: 1.4063rem;
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: 1.25rem;
}

h5,
.h5,
.legacy_h5 {
    font-size: 1.0875rem;
}

h6,
.h6,
.legacy_h6 {
    font-size: 0.9938rem;
}

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

footer {
    color: #ffffff;
    padding: clamp(30px, 4vw, 50px) 0;
    background-color: #85143c;
}

@media (min-width: 1200px) {
    footer>.row>* {
        padding-left: 10px;
        padding-right: 10px;
    }
}

footer a {
    color: #ffffff;
}

footer>.row {
    row-gap: 30px;
}

#innerfooter ul {
    padding: 0;
}

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

#innerfooter a:is(:hover, :focus) {
    color: #ffffff;
    text-decoration: underline;
}

@media (min-width: 576px) {
    #innerfooter li {
        display: inline-block;
    }

    #innerfooter li+li::before {
        content: "|";
        margin: 0 clamp(10px, 2vw, 13px);
        color: #ffffff;
    }
}

@media (min-width: 1200px) {
    .tabScoials {
        margin-right: -50px;
        z-index: 1;
        position: relative;
    }
}

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

#vernetzt {
    gap: 10px;
    font-weight: 300;
    text-align: right;
    font-size: 0.8125rem;
    color: #ffffff;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}

#vernetzt :is(b, strong) {
    font-weight: 600;
}