@import url('https://fonts.verwaltungsportal.de/import/?family=Quicksand:400,700,400i,700i');

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

body {
    font-family: "Quicksand", sans-serif;
    font-weight: 400;
    color: #222222;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.25rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #0064ad;
}

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

b,
strong {
    font-weight: 700;
}

#over {
    overflow: hidden;
    position: relative;
}

@media (min-width: 1200px) {

    .row,
    .compact,
    ._op-container .container {
        max-width: 1920px;
        width: 100% !important;
    }

    #news>.row {
        max-width: 1200px;
        width: 100% !important;
    }
}

/* ----------------------------------------------- @tp1 topbar ----------------------------------------------- */

.contact {
    color: #ffffff;
    background-color: #0064ad;
    font-size: 0.875rem;
    font-weight: 400;
    padding: 9px 0;
    z-index: 1000;
    position: relative;
}

@media (max-width: 991px) {
    .contact {
        padding: 10px;
    }

    .contact>*+* {
        margin-top: 7px;
    }
}

@media (min-width: 992px) {
    .contact div[class*="contact"] {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .contactMail+.contactPhone {
        margin-left: 30px;
    }
}

.contact a {
    color: #ffffff;
}

.contactMail,
.contactPhone {
    padding-left: 40px;
    background-position: center left 10px;
    background-repeat: no-repeat;
}

.contactMail {
    background-image: url('../img/icon-mail.png');
}

.contactPhone {
    padding-right: 10px;
    background-image: url('../img/icon-telefon.png');
}

.buttonRed {
    margin-right: 30px;
}

@media (min-width: 992px) {
    .contactMail {
        padding-left: 40px;
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }

    .buttonRed {
        margin-right: 90px;
    }
}

.buttonRed a {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    background-color: #e60a23;
    border-radius: 18px;
    border: 2px solid #ffffff;
    padding: 5px 10px 5px 35px;
    background-image: url('../img/icon-notausgang.png');
    background-repeat: no-repeat;
    background-position: left center;
}

.buttonRed a:is(:hover, :focus) {
    background-color: #b9071c;
}

.spenden{
    padding-left: 35px;
    position: relative;
    margin: auto;
    font-size: 0.875rem;
}

.spenden::before {
	content: '';
	background: url(../img/icon-spenden.png) no-repeat center;
	width: 40px;
	height: 40px;
	position: absolute;
	left: -14.2px;
	top: 49%;
	transform: translateY(-50%);
}

.spenden .template-page>.row {
    width: auto !important;
}

@media (min-width: 992px) {
    .tabSpendenIcon {
        padding-right: 25px;
    }
}

/* ------------------------------------------------- select ------------------------------------------------ */

#select {
    margin-right: clamp(10px, 2vw, 30px);
    font-size: 1rem;
}

@media (max-width: 991px) {
    #select div[class*="col"] {
        padding: 0px;
    }
}

#select summary {
    cursor: pointer;
    background: #fff url("../img/icon-spenden.png") center no-repeat;
    font-size: 0;
    list-style: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: relative;
}

@media (max-width: 575px) {
    #select summary {
        background: #fff url("../img/icon-spenden.png") center no-repeat;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        position: relative;
        background-size: 20px;
    }
}

#select summary::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 15px 15px 15px;
    border-color: transparent transparent #0064ad transparent;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

@media (min-width: 578px) {
    #select summary::after {
        top: 65px;
    }
}

#select[open] summary::after {
    opacity: 1;
}

/* contact tab */

#contact-content {
    position: absolute;
    top: calc(100% + 40px);
    width: 100%;
    right: 15px;
    background: #0064ad;
    color: #ffffff;
    border-radius: 5px;
    padding: 20px;
    font-size: 1rem;
    transition: all 300ms linear;
    left: 0;
}

@media (max-width: 991px) {
    #contact-content {
        left: 50%;
        transform: translate(-50%);
        right: unset;
        width: calc(100% - 20px);
    }
}

@media (min-width: 992px) {
    #contact-content {
        max-width: 290px;
    }
}

#contact-content {
    padding: 20px;
}

@media (min-width: 768px) {
    #contact-content>* {
        width: 50%;
        flex-grow: 1;
    }
}

:is(.contact-tab) :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.contact-tab :is(h1, h2, h3, h4, h5, h6, a) {
    color: inherit;
}

.contact-tab a {
    text-decoration: underline;
}


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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

/* #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: #0064ad;
        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 15px;
    }

    .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: 2px;
    }

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

/* menu desktop */

#menu {
    padding: 9px 0;
}

@media (min-width: 992px) {
    .horizontally {
        background: #ffffff;
        padding: 12px 20px;
        transition: box-shadow 300ms linear;
    }

    .is-sticky .horizontally {
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    }

    nav.horizontally .navbar-nav {
        padding-left: clamp(15px, 2vw, 30px);
        flex-grow: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

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

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

    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"] {
    color: #222222;
    font-weight: 700;
    text-align: center;
    padding: 10px 35px;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (min-width: 992px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-left: 10px;
    }

    nav.horizontally a[class*="toplevel"] {
        padding: 10px 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: #0064ad;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #f2f7fb;
    border-radius: 20px;
    box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.15);
}

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

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

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

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"])>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        height: 30px;
        left: 0;
        right: 0;
        top: -30px;
    }

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

    nav.horizontally [class*="secondlevel"]>ul::before {
        width: 60px;
        top: -40px;
        bottom: 0;
        left: -30px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 10px;
        left: 50%;
        -moz-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #222222;
    font-weight: 400;
    text-align: left;
    padding: 7px 35px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (min-width: 992px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        text-align: center;
        padding: 7px 20px;
    }
}

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

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

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

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

.index #slider {
    max-height: clamp(300px, 58vw, 600px);
}

@media (min-width: 768px) {
    .index #headerpic .nivo-controlNav {
        bottom: 80px;
    }
}

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

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

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

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

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

.slider-mask {
    display: none;
}

/* --------------------------------------------- tabs ------------------------------------------- */

#tabs {
    margin-top: 15px;
    row-gap: 15px;
    padding-bottom: 20px;
}

@media (min-width: 768px) {
    #tabs {
        margin-top: -70px;
        position: relative;
        z-index: 55;
        padding-bottom: 0;
    }
}

@media (min-width: 1200px) {
    #tabs {
        max-width: 1600px;
    }
}

#headerpic .tab {
    font-size: 1rem;
    background: transparent;
    min-height: 100%;
    position: relative;
    border-radius: 20px;
    padding: 15px;
    -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 .tab:is(:hover, :focus) {
    background: #ffffff;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
}

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

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

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

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

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

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2.375rem, 4vw, 2.75rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(2.1875rem, 4vw, 2.5rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(2rem, 4vw, 2.375rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: clamp(1.875rem, 4vw, 2.1875rem);
}

h5,
.h5,
.legacy_h5 {
    font-size: clamp(1.75rem, 4vw, 1.875rem);
}

h6,
.h6,
.legacy_h6 {
    font-size: clamp(1.5625rem, 4vw, 1.75rem);
}

/* #region -------------------------------------- news ------------------------------------------ */

#news {
    padding-top: clamp(40px, 4vw, 80px);
    padding-bottom: clamp(40px, 4vw, 60px);
    margin-top: 40px;
    position: relative;
    color: #ffffff;
    background-color: #0064ad;
}

#news .specialHeadline h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.625rem);
}

#news::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: url(../img/overlay-aktuelles.png) no-repeat top center / 100% auto;
    pointer-events: none;
    display: block;
    z-index: 6;
}

#news>.row::before {
    position: absolute;
    display: block;
    content: '';
    width: 230px;
    height: 441px;
    bottom: -60px;
    left: -330px;
    background: url(../img/superheld.png) no-repeat;
}

#news>.row::after {
    position: absolute;
    display: block;
    content: '';
    width: 379px;
    height: 541px;
    top: -40px;
    right: -360px;
    background: url(../img/superheldin.png) no-repeat;
}

#news .tab_link {
    margin-top: clamp(15px, 3vw, 40px);
}

#news :is(.tab_link_mehr, .tab_spacer) {
    display: none;
}

#news .tab_link_entries {
    display: grid;
    gap: 30px;
}

@media (min-width: 576px) {
    #news .tab_link_entries {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    #news .tab_link_entry:nth-child(3) {
        grid-column: 1/3;
    }
}

@media (min-width: 768px) {
    #news .tab_link_entries {
        grid-template-columns: repeat(3, 1fr);
    }
}

#news .tab_link_entry {
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.10);
    border-radius: 40px;
    padding: 140px 30px 30px 30px;
    color: #222222;
    background: #ffffff;
    border-bottom: unset !important;
    font-size: 1rem;
    margin-top: 80px;
}

#news .tab_link_entry::after {
    content: "";
    pointer-events: none;
    background: #0064ad url(../img/icon-kinderschutzbung-weiss.png) no-repeat center center;
    width: 50px;
    height: 50px;
    pointer-events: none;
    border-radius: 50%;
    position: absolute;
    top: 85px;
    right: 30px;
    transition: all, 300ms;
}

@keyframes rotate {
    25% {
        transform: rotate(55deg);
    }

    50% {
        transform: rotate(-45deg);
    }
}

#news .tab_link_entry:hover::after {
    animation-name: rotate;
    animation-duration: 1300ms;
}

#news .tab_link_title a {
    font-size: 1.125rem;
    color: #0064ad;
    font-weight: 700;
    display: inline-block;
    line-height: 1.2;
    margin: 0 0 4px 0;
}

#news .tab_link_entry::before,
#news .tab_preview_picture {
    position: absolute;
    display: block;
    top: -80px;
    height: 200px;
    overflow: hidden;
    border-radius: 30px;
    left: 30px;
    right: 30px;
}

#news .tab_link_entry::before {
    content: "";
    background: center center / cover no-repeat;
}

#news .tab_preview_picture img {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* ----------------------------------------- maps_contact -------------------------------------- */

#maps_contact {
    background-color: #f2f7fb;
    overflow: hidden;
}

#maps_contact .tab {
    padding-top: 40px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    font-size: 1rem;
    border-bottom: 1px solid #0064ad;
}

@media (min-width: 992px) {
    #maps_contact .tab {
        padding-top: 60px;
        padding-bottom: 50px;
        margin-bottom: 60px;
    }
}

#maps_contact .tabHeadline {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0064ad;
    margin-bottom: 10px;
}

#maps_contact .tab a {
    color: #0064ad;
}

#maps_contact .tab a[href^="mailto:"] {
    text-decoration: underline;
}

#maps_contact>.row {
    max-width: 100% !important;
    width: 100% !important;
}

#maps_contact .noPadding {
    padding: 0px;
}

#maps_contact .iframeMapsTab {
    height: 100%;
}

#maps_contact .iframeMapsTab iframe,
#maps_contact .iframeMapsTab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
    max-height: 100%;
    min-height: 100%;
}

@media (min-width: 768px) {
    #maps_contact .colMaps {
        padding-right: 0;
        max-width: 640px;
    }

    #maps_contact .colContact {
        max-width: 1280px;
    }
}

@media (max-width: 767px) {
    #maps_contact .colMaps {
        padding: 0px;
    }

    #maps_contact .colContact {
        max-width: 576px;
        margin: auto;
    }
}

#maps_contact .iframeMapsTab .template-page>.row {
    width: auto !important;
}

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

#vernetzt {
    color: #222222;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    margin: 0 0 40px 0;
}

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

#vernetzt b {
    font-weight: 700;
    color: #0064ad;
}

#vernetzt span {
    color: #222222;
}

#vernetzt span span {
    display: block;
}

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

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #0064ad;
}

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

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

#innerfooter li+li::before {
    content: "•";
    margin: 0 6px;
    color: #ffffff;
}

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

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

    #innerfooter li+li::before {
        display: none;
    }
}


#tabArea {
    padding: 40px 0;
}