/*
Farben-Übersicht (mit Zeilennummern):


Schriftgrößen-Übersicht (mit Zeilennummern):

355:  1.125rem (Footer) → 18px
370:  1.25rem (Footer) → 20px
474:  1.125rem (Footer) → 18px
588:  0 (Footer)
628:  0.9375rem (Footer) → 15px
641:  1.4375rem (Footer) → 23px

Schriftschnitte/font-weight (mit Zeilennummern):
 16:  400 (Body)
 36:  700 (b, strong)
 66:  800 (Logo h1-h3)
351:  500 (Footer)
472:  400 (Footer)
*/


@import url("https://fonts.verwaltungsportal.de/import/?family=Spectral:400,700,800,400i,700i,800i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Open+Sans:400,700,400i,700i");

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #e1eefa;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #ab3b03 #ffffff;
    scrollbar-width: thin;
}

body {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: #262626;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
    border-top: 10px solid #dfdfdf;
}

a {
    color: #0137b6;
}

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

b,
strong {
    font-weight: 700;
}


/* ------------------------------------------- Logo ------------------------------------------ */

#logo {
    text-decoration: none;
    gap: 30px;
    color: #262626;
}

.logoMark {
    margin-top: -10px;
}

.wordMark {
    font-size: clamp(1.25rem, 2vw, 1.3125rem);
}

.wordMark :is(h1, h2, h3) {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 800;
    margin: 0;
}

@media (max-width: 991px) {
    #logo {
        padding-top: 15px;

    }

    .logoMark {
        margin-top: -25px;
    }
}

/* ------------------------------------------- contact ------------------------------------------ */

#topbar {
    border-bottom: 1px solid #444;
    padding: 30px 0;
}


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

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        position: static !important;
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #ffffff;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #ab3b03;
        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: #fff;
        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: 6px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        right: 0;
        top: 0;
        max-width: 1930px;
        width: 100% !important;
        z-index: 101;
        transition: background 150ms linear, border 150ms linear;
    }

    .is-sticky nav.horizontally {
        background: #fff;
        border-bottom: 1px solid #262626;
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .is-sticky nav.horizontally .navbar-nav {
        border: none;
        background: transparent;
    }

    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, :hover)>ul,
    nav.horizontally .navbar-nav li.open:focus-within>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.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    font-family: "Spectral", serif;
    color: #262626;
    font-weight: 600;
    text-align: left;
    padding: 10px 35px;
    position: relative;
    font-size: 1.375rem;
    line-height: 1.2;
    text-decoration: none;
}


@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"] {
        padding: 22px 15px;
        text-align: center;
    }
}

@media (min-width: 1200px) {
    .navbar-default .navbar-nav>li>a {
        font-size: 1.25rem;
    }
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #ffffff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

    nav.horizontally [class*="toplevel"] ul {
        margin: 10px;
    }
}

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

    nav.horizontally [class*="toplevel"]>ul {
        left: 0;
        margin-top: 20px;
    }

    nav.horizontally [class*="toplevel"] ul::after {
        content: "";
        position: absolute;
        top: 0;
        transform: translateY(-50%);
        background: #ab3b03 url(../img/arrow-icon-unten.png);
        background-repeat: no-repeat;
        background-position: center;
        height: 30px;
        width: 30px;
        border-radius: 100%;
        left: 20px;
    }

    nav.horizontally [class*="secondlevel"] ul::after {
        top: 10px;
        transform: translatex(-50%) rotate(-90deg);
        left: 0;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        height: 20px;
        left: 0;
        right: 0;
        top: -20px;
    }

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #1a1a1a;
    font-weight: 400;
    padding: 8px 25px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;

}

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

/* secondlevel + thirdlevel over */

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

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


/* #region ------------------------------------ banner ------------------------------------------ */



#slider {
    height: 100%;
    min-height: 100%;
}

@media (min-width: 992px) {

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

@media (max-width: 991px) {
    #slider {
        overflow: hidden;
        position: relative;
        /*1920px * 768px*/
        height: 40vw;
    }

    body:not(.index) #slider {
        /*1920px * 576px*/
        height: 30vw;
    }

    #slider-onebanner,
    #slider .nivo-box>div,
    #slider .nivo-slice>div,
    #slider .nivo-main-image,
    #slider div[style*='background-size'] {
        background-attachment: unset !important;
        background-size: 100% auto !important;
    }
}

@media (min-width: 992px) {
    .slider-mask {
        display: block;
        background: linear-gradient(to right, #e3e4df , transparent 40%);
    }

}


#headerpic {
    background: #e3e4df;
}

#headerpic .row,
#headerpic .col-xs-12 {
    margin: 0;
    padding: 0;
}


@media (min-width: 992px) {
    #headerpic>.row {
        max-width: calc(100% - calc(calc(100% - 992px) / 2));
        width: 100%;
        margin-left: calc(calc(100% - 992px) / 2);
    }

}

@media (min-width: 1200px) {
    #headerpic>.row {
        max-width: calc(100% - calc(calc(100% - 1200px) / 2));
        width: 100%;
        margin-left: calc(calc(100% - 1200px) / 2);
    }

}

#bannerTab {
    padding: clamp(20px, 4vw, 60px) 0;
}

body:not(.index) #bannerTab {
    padding: 30px 0;
}

body:not(.index) #bannerTab img {
    max-width: 200px;
}



/* #endregion --------------------------------- banner ------------------------------------------ */

/* ----------------------------------------- scroll bottom -------------------------------------- */

#scrollBottom {
    border-bottom: 1px solid #eeeeee;
    padding: 15px 0;
}

#scrollBottom a {
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
    margin: 0 auto;
}

#scrollBottom a::after {
    content: "";
    width: 0;
    height: 0;
    display: block;
    border-style: solid;
    border-width: 8px 8px 0 8px;
    border-color: #000000 transparent transparent transparent;
    transition: border 300ms linear;
}

#scrollBottom a:is(:hover, :focus)::after {
    border-color: #ab3b03 transparent transparent transparent;
}

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

#contentWrapper {
    text-align: left;
    padding-top: clamp(30px, 4vw, 50px);
    padding-bottom: clamp(30px, 6vw, 80px);
}

/* ----------------------------------------------- @10ev events -------------------------------------------- */

#ev10 .tab {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background: #ffffff;
    font-size: 0.9375rem;
    color: #444444;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}


#ev10 .tabSpecial {
    padding: 20px;
    background: #ab3b03;
}

#ev10 .tabSpecial .tabHeadline {
    text-align: center;
    font-size: 1.75rem;
    color: #fff;
    margin: 0;
    font-weight: 800;
}

#ev10 #clr-events-hide {
    margin-top: 25px;
    padding-left: 20px;
    padding-right: 20px;
}

#ev10 .tab .eventclndr-tab {
    margin-bottom: 0;
}

#ev10 .tab .tab_link_title a {
    color: #444444;
    font-weight: 600;
}

#ev10 .tab .tab_link_mandat a {
    color: #444444;
    font-weight: 600;
}

#ev10 .tab #clr-events-hide>p:nth-child(1) {
    display: none !important;
}

#ev10 .tab .tab_spacer {
    height: 15px;
}

#ev10 .tab .tab_link_mehr {
    color: transparent;
    font-size: 0;
    padding-bottom: 20px;
    padding-right: 20px;
}

#ev10 .tab .tab_link_mehr a {
    text-decoration: none;
    display: inline-block;
    font-size: 0.9375rem;
    color: #0137b6;
    font-weight: 400;
    border-radius: 2px;
    padding: 3px 11px;
    background: #f9f9f9;
    border: 1px solid #0137b6;
}

#ev10 .tab .tab_link_mehr a:hover,
#ev10 .tab .tab_link_mehr a:focus {
    color: #ffffff;
    background: #0137b6;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #b64003;
    font-weight: 800;
    line-height: 1.2;
    font-family: "Spectral", serif;
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(1.875rem, 3vw, 2.1875rem);
}

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

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

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

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

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



/* #region ----------------------------------- footer ------------------------------------------- */


@media (min-width: 768px) {
    #footer>.row>div {
        padding-top: 10px;
        padding-bottom: 10px;
        border-left: 1px solid #d6d8d6;
    }
}

#footer {
    padding: 50px 0;
    font-size: 1rem;
    background: #e3e4df;
    position: relative;
    overflow: clip;
}


@media (max-width: 767px) {
    #footer>.row {
        gap: 30px;
    }
}



#footer>.row::after {
    content: '';
    background: url(../img/wasserzeichen.png) no-repeat right center;
    width: 184px;
    height: 258px;
    position: absolute;
    right: -275px;
    top: -25px;
    display: block;
}

#footer .footerContactTab a {
    position: relative;
}

#footer .footerContactTab :is(h1, h2, h3) {
    font-size: 1.5rem;
    font-weight: 800;
}

#footer a:is([href*="mailto:"], a[href*="tel:"]) {
    position: relative;
    display: inline-block;
    padding-left: 30px;
    margin-top: 5px;
}

#footer a:is([href*="mailto:"], a[href*="tel:"])::before {
    content: '';
    display: block;
    position: absolute;
    height: 22px;
    width: 22px;
    background: url('../img/mail-icon.png') center no-repeat, #ab3b03;
    top: 50%;
    left: 0;
    border-radius: 50%;
    transform: translateY(-50%);
}

#footer a[href*="tel:"]::before {
    background: url('../img/telefon-icon.png') center no-repeat, #ab3b03 !important;
}

#innerfooter ul {
    padding: 0;
    line-height: 2;
}

#innerfooter a {
    color: #262626;
    text-decoration: none;
    display: inline-block;
}

#innerfooter a:is(:hover, :focus) {
    color: #ab3b03;
}


.specialButton {
    margin-bottom: 30px;
}

.specialButton a:not(.has-image):not([rel]) {
    font-family: "Spectral", serif;
    font-size: 1.25rem;
    display: inline-block;
    padding: 8px 40px 8px 75px;
    border: 4px solid #ab3b03;
    color: #ab3b03;
    background: url(../img/donate.png) no-repeat left 20px center;
    transition: border-width 300ms cubic-bezier(.68, -0.55, .27, 1.55);
    font-weight: 800;
}

.specialButton a:not(.has-image):not([rel]):hover,
.specialButton a:not(.has-image):not([rel]):focus {
    border-right-width: 10px;
}


/* #endregion -------------------------------- footer ------------------------------------------- */



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

#vernetzt {
    gap: 12px;
    text-align: right;
    font-size: 0.875rem;
    color: #262626;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}