@import url('https://fonts.verwaltungsportal.de/css/?family=Open+Sans:300,300i,400,400i,600,600i,700,700i%7CMali:700,700i');
@import url("https://fonts.verwaltungsportal.de/css/?family=Comic+Neue:400,400i,700,700i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Gloria+Hallelujah:400");

body {
    font-family: "Comic Neue", cursive;
    font-weight: 400;
    color: #252525;
    background: #ffffff;
    font-size: 0.9375rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #386bb2;
}

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

b,
strong {
    font-weight: 700;
}

#overflow {
    overflow: hidden;
}

@media (min-width: 992px) {
    #overflow {
        background: url('../img/Logo_Linksoben.png') no-repeat top left / 54vw auto;
    }
}

/* ----------------------------------------------- topbar ----------------------------------------------- */

#topbar {
    background: rgba(255, 255, 255, 0);
    font-size: 0.875rem;
    padding: 22px 0;
}

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

.toponeBox {
    gap: 30px
}

@media (max-width: 575px) {
    .toponeBox {
        flex-wrap: wrap;
    }
}

@media (max-width: 991px) {
    .toponeBox {
        margin-top: 30px;
    }
}

.buttonWorkshops a {
    font-weight: 400;
    font-size: 0.9375rem;
    position: relative;
    padding-right: 20px;
    border-bottom-right-radius: 20px;
    padding: 15px 60px 15px 25px;
    background-color: #2e5b8e;
    color: #fff;
    font-family: 'Gloria Hallelujah', cursive;
}

.buttonWorkshops a:hover,
.buttonWorkshops a:focus {
    text-decoration: none;
    background-color: #3971b1;
    color: #fff;
}

.buttonWorkshops a::after {
    content: '';
    position: absolute;
    right: 5px;
    bottom: 0;
    left: 0;
    top: 0;
    background-image: url('../img/arrow.png');
    background-position: right center;
    background-repeat: no-repeat;
}

@media (max-width: 991px) {

    .logo2,
    .buttonWorkshops {
        display: inline-block;
    }
}

.contact {
    font-family: 'Gloria Hallelujah', cursive;
    background-color: rgba(255, 255, 255, 0.65);
    padding: 5px 12px;
    font-size: 1.125rem;
    text-align: center;
}

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

.logo {
    display: inline-block;
}

@media (max-width: 991px) {
    .logo {
        position: relative;
        z-index: 50;
    }
}

@media (min-width: 992px) {
    .logo {
        position: fixed;
        left: -50px;
        top: 0px;
        /* z-index: 50; */
        display: block;
        transition: all 0.4s 0s linear;
    }
}

.logo img {
    display: block;
}

.is-sticky .logo img {
    max-width: 300px;
}

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

/* --------------------------------------- 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: #ffffff;
        border: none !important;
        -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: #1f3a61;
        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 {
        padding-top: 30px;
        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[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;
    }

    .dropdown-toggle-button-wrapper {
        top: 6px;
        right: 0;
    }

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

    .noPadding {
        padding-left: 0;
        padding-right: 0;
    }
}

@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) {
    .is-sticky #menu {
        background: rgba(255, 255, 255, 0.8);
        padding-bottom: 10px;
    }

    nav.horizontally .navbar-nav {
        margin: 30px 0 0 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
    }

    nav.horizontally .navbar-default .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>a {
    color: #fff;
    background: #1f3a61;
    font-weight: 400;
    text-align: left;
    padding: 12px 10px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: 'Gloria Hallelujah', cursive;
}

.navbar-default .navbar-nav>li:nth-child(3n+2)>a {
    background: #2e5b8e;
}

.navbar-default .navbar-nav>li:nth-child(3n+3)>a {
    background: #3971b1;
}

@media (max-width: 991px) {
    nav.horizontally .navbar-nav>li>a.dropdown-toggle {
        padding-right: 35px;
    }
}

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

    .navbar-default .navbar-nav>li>a {
        padding: 26px 15px 20px 15px;
        text-align: center;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        height: 100%;
        min-height: 101px;
    }
}

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

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
        min-height: 0px;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a::after {
        content: "";
        display: block;
        position: absolute;
        height: 4px;
        width: 0;
        max-width: 100px;
        background: #fff;
        margin: 2px 0 0 0;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear, width 300ms linear;
        -moz-transition: opacity 300ms linear, width 300ms linear;
        -ms-transition: opacity 300ms linear, width 300ms linear;
        -o-transition: opacity 300ms linear, width 300ms linear;
        transition: opacity 300ms linear, width 300ms linear;
        bottom: 20px;
    }
}

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

.navbar-nav>li:hover>a::after,
.navbar-nav>li>a:hover::after,
.navbar-nav>li>a:focus::after,
.navbar-nav>li.open>a::after,
.navbar-nav>li.open>a:hover::after,
.navbar-nav>li.open>a:focus::after,
.navbar-nav>li[class$="_over"]>a::after,
.navbar-nav>li[class$="_over"]>a:hover::after,
.navbar-nav>li[class$="_over"]>a:focus::after {
    width: 80%;
    opacity: 1;
}

.navbar-nav>li:focus-within>a::after {
    width: 100%;
    opacity: 1;
}

@media (min-width: 992px) {

    .navbar-nav>li:hover>a.dropdown-toggle::before,
    .navbar-nav>li>a.dropdown-toggle:hover::before,
    .navbar-nav>li>a.dropdown-toggle:focus::before {
        bottom: -30px;
        opacity: 1;
    }

    .navbar-nav>li:focus-within>a.dropdown-toggle::before {
        bottom: -30px;
        opacity: 1;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu {
    background: #ffffff;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.08);
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background: #ffffff;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.08);
}

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

    .navbar-default .navbar-nav>li>.dropdown-menu {
        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);
    }

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

    .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: #252525;
    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: #2e5b8e;
    color: #fff;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    background: #2e5b8e;
    color: #fff;
}



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

main {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 991px) {
    main {
        background: transparent !important;
    }
}

#contentBG {
    text-align: left;
    padding: 30px 15px 40px 15px;
    background-color: rgba(255, 255, 255, 0.65);
    position: relative;
    z-index: 45;
    -webkit-box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
    #contentBG {
        padding: 30px 40px 60px 40px;
    }
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #2e5b8e;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Gloria Hallelujah', cursive;
}

h1,
.h1,
.legacy_h1 {
    font-size: 2rem;
    position: relative;
}

@media (min-width: 768px) {

    h1,
    .h1,
    .legacy_h1 {
        font-size: 2.375rem;
        margin-bottom: 25px;
    }
}

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

@media (min-width: 768px) {

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

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

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
    font-size: 1.7rem;
}

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

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


/* ------------------------------------------------- tabs2 ------------------------------------------------- */

#tabs2 .tab {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    font-size: 0.875rem;
    position: relative;
    background-color: rgba(255, 255, 255, 0.4);
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 991px) {
    #tabs2 {
        margin-top: 30px;
    }
}

#tabs2 .tabHeadline {
    font-weight: 400;
    font-size: 1.375rem;
    background-color: #2e5b8e;
    color: #fff;
    padding: 24px 35px;
    margin-top: 0;
    margin-bottom: 0;
}

#tabs2 .tabContent {
    padding: 24px 35px;
}

.tab_link_mehr {
    font-size: 0;
}

#tabs2 .tabContent a:not(.tabLinks .tabContent a):not(.tab_link_title a) {
    color: #fff;
    background-color: #2e5b8e;
    padding: 10px 15px;
    transition: background 300ms;
    font-size: 1rem;
}

.tab_link_title a {
    color: #252525;
    font-weight: 600;
}

#tabs2 .tabContent a:hover:not(.tabLinks .tabContent a:hover):not(.tab_link_title a:hover) {
    background-color: #1f3a61;
    text-decoration: none;
}

/* ------------------------------------------------ @13nw News ----------------------------------------------- */

#news {
    background: rgba(31, 58, 97, 0.8);
    padding-top: 50px;
    padding-bottom: 80px;
    color: #fff;
}

#news>.row {
    position: relative;
}

@media (min-width: 992px) {
    #news {
        padding-top: 70px;
        padding-bottom: 130px;
    }
}

#news .tabHeadline {
    font-size: clamp(1.375rem, 3vw, 2.1875rem);
    color: #fff;
    font-weight: 400;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    #news .tabHeadline {
        margin-bottom: 40px;
    }
}

#news a:not(.has-image):not(:last-child) {
    color: #fff;
    background-color: #2e5b8e;
    padding: 10px 15px;
    transition: background 300ms;
}

#news a:not(.has-image):hover {
    background-color: #1f3a61;
    text-decoration: none;
}



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

footer {
    background: #fff;
    color: #252525;
    font-size: 0.875rem;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (max-width: 767px) {
    footer {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

footer a {
    color: inherit;
}

#innerfooter ul {
    padding: 0;
}

@media (max-width: 767px) {
    #innerfooter ul {
        margin-top: 20px;
    }
}

#innerfooter li {
    display: block;
    line-height: 2;
}

@media (min-width:500px) {
    #innerfooter li {
        display: inline-block;
        line-height: unset;
    }

    #innerfooter li+li {
        margin-left: 20px;
    }
}

#innerfooter a {
    color: #252525;
    position: relative;
}

#innerfooter a::before {
    content: '';
    display: block;
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 4px;
    width: 0%;
    margin: 0 auto;
    background: #2e5b8e;
    transition: width 300ms;
}

@media (min-width: 500px) {
    #innerfooter a::before {
        bottom: -10px;
    }
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #2e5b8e;
    text-decoration: none;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
    width: 80%;
}

@media (min-width: 1200px) {
    #innerfooter li+li {
        margin-left: 35px;
    }
}

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

#vernetzt {
    font-size: 0.75rem;
    color: #252525;
    line-height: 1.4;
    margin: 25px auto 0 auto;
    text-decoration: none;
    position: relative;
    z-index: 45;
    display: inline-block;
}

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

#vernetzt span {
    color: #252525;
    display: block;
}

#vernetzt img {
    margin-bottom: 4px;
}

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

.contrast_dark main,
.contrast_dark_font main,
.contrast_dark #content,
.contrast_dark_font #content,
.contrast_dark .slider-mask,
.contrast_dark_font .slider-mask {
    background: none !important;
}

.contrast_dark_font #tabs2 .tab_link_mehr a::after {
    color: #000000 !important;
}

.contrast_dark #contrast_style button+button,
.contrast_dark_font #contrast_style button+button,
.contrast_dark #style button+button,
.contrast_dark_font #style button+button {
    margin-left: 0 !important;
}