@import url("https://fonts.verwaltungsportal.de/css/?family=Inria+Sans:400,400i,300,300i,700,700i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Delicious+Handrawn:400,400i");

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

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

a {
    color: #0045ad;
}

a:hover,
a:focus {
    color: #0045ad;
    text-decoration: underline;
}

b,
strong {
    font-weight: 700;
}

.over {
    overflow: hidden;
}

.googleTranslate {
    margin-bottom: 10px;
}

.newsticker a {
    font-weight: 700;
}

.newsticker-position h2 {
    font-weight: 700;
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    color: #c00075;
}

#tabalbums-slider {
    border: 3px solid #ffffff !important;
}

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

#topbar {
    position: relative;
    padding-top: 20px;
    padding-bottom: 5px;
}

@media (max-width: 575px) {
    #topbar>.row>*:first-child {
        margin-bottom: 30px;
    }

    #topbar {
        padding-bottom: 10px;
    }
}

#topbar::before {
    content: '';
    position: absolute;
    pointer-events: none;
    height: 5px;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgba(223, 131, 6, 1) 0%, rgba(186, 184, 18, 1) 25%, rgba(134, 197, 58, 1) 50%, rgba(73, 151, 137, 1) 75%, rgba(39, 40, 60, 1) 100%);
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

@media (min-width: 992px) {
    #style {
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: end;
    }

    #style button {
        font-size: 20px;
        background: transparent;
        padding: 0;
        border: none;
        color: #010101;
        display: inline-block;
        font-weight: 800;
        text-align: center;
        position: relative;
        line-height: 1;
        width: 33px;
        height: 33px;
        transition: all 150ms linear;
        border: 2px solid #d4d4d4;
    }

    #style button+button {
        margin-left: 10px;
    }

    #style button:hover {
        color: #0b6499;
        border-color: transparent;
    }

    #style button::before {
        content: "";
        position: absolute;
        display: block;
        top: -2px;
        right: -2px;
        bottom: -2px;
        left: -2px;
        border: 2px solid;
        pointer-events: none;
        border-image-slice: 1;
        border-width: 2px;
        border-image-source: linear-gradient(to right, rgba(223, 131, 6, 1) 0%, rgba(186, 184, 18, 1) 25%, rgba(134, 197, 58, 1) 50%, rgba(73, 151, 137, 1) 75%, rgba(39, 40, 60, 1) 100%);
        opacity: 0;
        transition: all 300ms linear;
    }

    #style button:hover::before {
        opacity: 1;
    }

    #style button:focus-visible {
        outline: 2px auto;
    }
}

/* ------------------------------------------------- tabProfil ------------------------------------------------ */

.tabProfil a,
.tabProfil {
    display: inline-block;
}

@media (max-width: 767px) {
    .tabProfil img {
        max-width: 30px;
        width: 100%;
    }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    .is-sticky #menu {
        position: relative !important;
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        position: relative;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
    }

    #burgerButton:before,
    #burgerButton:after,
    #burgerButtonInner {
        background: linear-gradient(to right, rgba(223, 131, 6, 1) 0%, rgba(186, 184, 18, 1) 25%, rgba(134, 197, 58, 1) 50%, rgba(73, 151, 137, 1) 75%, rgba(39, 40, 60, 1) 100%);
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        -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"]:before {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 10px;
    }

    #burgerButton:before {
        top: 18px;
    }

    #burgerButton:after {
        top: 26px;
    }

    #burgerButton:before,
    #burgerButton:after {
        content: "";
        display: block;
    }

    .navbar-nav {
        padding: 20px 0;
        background-color: #ffffff;
        margin-bottom: 20px;
    }

    .navbar-collapse {
        top: 0;
        background: #ffffff;
        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.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        -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);
    }

    .navbar-collapse.in:after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 90px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in:after {
        width: 40%;
    }
}

/* menu desktop */
@media (min-width: 992px) {
    #menu {
        background-color: #ffffff;
        padding: 11px 0;
    }

    .is-sticky #menu {
        -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);
    }

    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;
        flex-wrap: wrap;
    }

    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[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: #222222;
    font-weight: 700;
    text-align: left;
    padding: 10px 35px 10px 10px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li:first-child>a {
    background: url('../img/home-button.png') center no-repeat;
    padding: 32px 10px;
    font-size: 0;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li:first-child>a {
        background: url('../img/home-button.png') center left 10px no-repeat;
    }
}

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

    .navbar-default .navbar-nav>li>a {
        padding: 20px 1px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
        font-size: 1.375rem;
    }
}

@media (max-width: 991px) {
    .dropdown-toggle-button-wrapper {
        top: 6px;
    }
}

@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: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    width: 100%;
    background: #0b6499;
    width: 0;
    opacity: 0;
}

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

.navbar-nav>li:focus-within>a {
    color: #222222;
}

.navbar-nav>li:first-child:hover>a,
.navbar-nav>li:first-child>a:hover,
.navbar-nav>li:first-child>a:focus,
.navbar-nav>li.open:first-child>a,
.navbar-nav>li.open:first-child>a:hover,
.navbar-nav>li.open:first-child>a:focus,
.navbar-nav>li[class$="_over"]:first-child>a,
.navbar-nav>li[class$="_over"]:first-child>a:hover,
.navbar-nav>li[class$="_over"]:first-child>a:focus {
    filter: brightness(0) saturate(100%) invert(26%) sepia(83%) saturate(908%) hue-rotate(169deg) brightness(101%) contrast(95%);
}

.navbar-nav>li:focus-within:first-child>a {
    filter: brightness(0) saturate(100%) invert(26%) sepia(83%) saturate(908%) hue-rotate(169deg) brightness(101%) contrast(95%);
}

.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 {
    width: 100%;
    opacity: 1;
}

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

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #0b6499;
    padding: 10px 0;
}

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

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 20px;
        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-left: 15px;
    }

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 9px 35px;
    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 {
        padding: 9px 15px;
        text-align: center;
        font-size: 1.25rem;
    }
}

/* ------------------------------------------ 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: linear-gradient(to right, rgba(223, 131, 6, 1) 0%, rgba(186, 184, 18, 1) 25%, rgba(134, 197, 58, 1) 50%, rgba(73, 151, 137, 1) 75%, rgba(39, 40, 60, 1) 100%);
    color: #222222;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    background: linear-gradient(to right, rgba(223, 131, 6, 1) 0%, rgba(186, 184, 18, 1) 25%, rgba(134, 197, 58, 1) 50%, rgba(73, 151, 137, 1) 75%, rgba(39, 40, 60, 1) 100%);
    color: #222222;
}

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

#slider {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

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

    body.index #slider {
        max-height: 600px;
    }

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

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

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
}

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

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

@media (min-width: 1200px) {
    .theme-default .nivo-controlNav {
        bottom: unset !important;
        top: 10px;
    }
}

/* --------------------------------------------- dots -------------------------------------------- */

.slider-wrapper .nivo-controlNav a {
    display: inline-block;
    width: 10px !important;
    height: 10px !important;
    text-indent: -9999px;
    border: 1px solid #00446d !important;
    margin: 0 5px !important;
    background: #ffffff !important;
    border-radius: 0%;
    color: #000;
}

.slider-wrapper .nivo-controlNav a.active,
.slider-wrapper .nivo-controlNav a:hover,
.slider-wrapper .nivo-controlNav a:focus {
    background: #00446d !important;
    border: 1px solid #00446d !important;
}

.slider-wrapper .nivo-controlNav a+a {
    margin-top: 10px;
}

@media (max-width: 767px) {
    #slider .nivo-directionNav {
        display: none !important;
    }

    .slider-wrapper .nivo-controlNav a {
        display: inline-block;
    }

    .slider-wrapper .nivo-controlNav a+a {
        margin-top: 0;
        margin-left: 7px;
    }
}

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

#headerpic .nivo-directionNav a {
    background: #ffffff;
    width: 60px;
    height: 48px;
    -webkit-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    -moz-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    -ms-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    -o-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
}

#headerpic:hover .nivo-directionNav a,
#headerpic:focus .nivo-directionNav a {
    width: 70px;
}

#headerpic .nivo-directionNav a::before,
#headerpic .nivo-directionNav a::after {
    content: "";
    display: block;
    position: absolute;
}

#headerpic .nivo-directionNav a::before {
    height: 2px;
    width: 16px;
    top: 50%;
    margin-top: -1px;
    background: #00446d;
    -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 .nivo-directionNav a::after {
    height: 8px;
    width: 8px;
    top: 50%;
    margin-top: -5px;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: border-color 300ms linear;
    -moz-transition: border-color 300ms linear;
    -ms-transition: border-color 300ms linear;
    -o-transition: border-color 300ms linear;
    transition: border-color 300ms linear;
}

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

#headerpic a.nivo-prevNav::before {
    right: 26px;
}

#headerpic a.nivo-prevNav::after {
    right: 32px;
    border-left: 2px solid #00446d;
    border-bottom: 2px solid #00446d;
}

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

#headerpic a.nivo-nextNav::before {
    left: 26px;
}

#headerpic a.nivo-nextNav::after {
    left: 32px;
    border-right: 2px solid #00446d;
    border-top: 2px solid #00446d;
}

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

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

/* ------------------------------------------------ greenButton ----------------------------------------------- */

#newsBox .tab_link_mehr a,
.greenButton a {
    background: linear-gradient(to right, rgba(223, 131, 6, 1) 0%, rgba(186, 184, 18, 1) 25%, rgba(134, 197, 58, 1) 50%, rgba(73, 151, 137, 1) 75%, rgba(39, 40, 60, 1) 100%);
    color: #222222;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    padding: 9px 50px 9px 20px;
    display: inline-block;
    pointer-events: all;
    border: 3px solid #fff;
    box-shadow: 0 0 6px 0 rgba(255, 255, 255, 0.7);
}

.greenButton a+a {
    margin-top: 32px;
}

#newsBox .tab_link_mehr a::after,
.greenButton a::after {
    content: '\2192';
    right: 25px;
    top: 9px;
    bottom: 0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
    position: absolute;
}


#newsBox .tab_link_mehr a:hover::after,
#newsBox .tab_link_mehr a:focus::after,
.greenButton a:hover::after,
.greenButton a:focus::after {
    right: 15px;
}


/* ------------------------------------------------ themes ----------------------------------------------- */

#themes {
    position: relative;
    padding-bottom: 65px;
}

@media (max-width: 767px) {
    #themes {
        padding-bottom: 30px;
        padding-top: 30px;
    }
}

@media (min-width: 1200px) {
    #themes>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        right: -19vw;
        bottom: 0px;
        width: 298px;
        height: 480px;
        background: url('../img/junge-in-rot.png') center no-repeat;
        z-index: 13;
    }
}

#themes .themesTab2 {
    color: #fff;
    font-size: 1.125rem;
    position: relative;
    background: #0b6499;
}

#themes .themesTab2 a {
    font-size: 1.375rem;
}

.themesTab2 {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #fff;
    line-height: 1.2;
    height: 100%;
    font-size: 1.4375rem;
}

@media (max-width: 991px) {
    #themes .themesTab2 {
        font-size: 1rem;
    }

    #themes>.row>div {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .themesTab2 {
        height: unset;
    }
}

@media (max-width: 991px) {
    .themesTab2::after {
        height: 160px;
    }
}

.themesTab2 p:not(.has-image):not([rel]) {
    word-wrap: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.themesTab2 .tabContent:not(.has-image):not([rel]) {
    padding: 20px;
    position: relative;
    margin-top: 15px;
    margin-bottom: 15px;
}

.themesTab2 a {
    color: #ffffff;
    font-weight: 700;
}

.themesTab2 a:hover {
    text-decoration: none;
}

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

main {
    text-align: left;
}

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

@media (min-width: 992px) {
    #content {
        padding-top: 60px;
        padding-bottom: 55px;
    }
}

/* ------------------------------------------------ newsBox ----------------------------------------------- */

#newsBox {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-color: #222222;
    margin-bottom: 40px;
}

@media (min-width: 1200px) {
    #newsBox::before {
        content: '';
        position: absolute;
        display: block;
        left: 20%;
        top: -35px;
        height: 136px;
        width: 72px;
        background: url('../img/arrow-left.png') no-repeat;
    }

    #newsBox::after {
        content: '';
        position: absolute;
        display: block;
        right: 20%;
        bottom: -35px;
        height: 232px;
        width: 73px;
        background: url('../img/arrow-right.png') no-repeat;
    }
}


#newsBox .forum {
    padding: 90px 40px 60px 40px;
    color: #222222;
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    margin-top: -20px;
    margin-bottom: -20px;
}

@media (min-width: 576px) {
    #newsBox .forum::before {
        content: '';
        position: absolute;
        display: block;
        right: -30px;
        top: 60px;
        height: 71px;
        width: 71px;
        background: url('../img/icon-forum.jpg') no-repeat;
    }
}


#newsBox .forum strong,
#newsBox .forum b {
    font-size: 1.25rem;
    font-weight: 400;
}

#newsBox .forum a {
    color: #ffffff;
}

#newsBox .forum a {
    background: #0b6499;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    padding: 9px 50px 9px 20px;
    display: inline-block;
    pointer-events: all;
}

#newsBox .forum :is(h1, h2, h3, h4, h5, h6) {
    color: #00446d;
    margin-bottom: 20px;
    font-size: clamp(1.875rem, 3vw, 3.125rem);
}

#newsBox .tab_link_mehr {
    font-size: 0;
}

#newsBox .tab_link_mehr a {
    color: #222222 !important;
}

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


.buttonNewsBox a {
    background: linear-gradient(to right, rgba(250, 169, 56, 1) 0%, rgba(233, 230, 32, 1) 25%, rgba(168, 214, 113, 1) 50%, rgba(104, 182, 168, 1) 75%, rgba(64, 67, 99, 1) 100%);
    color: #222222;
    text-decoration: none;
    font-size: clamp(1rem, 4vw, 1.125rem);
    position: relative;
    padding: 20px 50px 20px 20px;
    display: inline-block;
    pointer-events: all;
    position: relative;
    border: 3px solid #fff;
    box-shadow: 0 0 6px 0 rgba(255, 255, 255, 0.7);
}

.buttonNewsBox a::before {
    position: absolute;
    display: block;
    content: '';
    width: 139px;
    height: 139px;
    right: 0;
    top: -122px;
    background: url('../img/icon-gluhbirne.png') no-repeat;
}

.buttonNewsBox a:hover::before,
.buttonNewsBox a:focus::before {
    animation: shake 1s ease 1;
}

@media (max-width: 767px) {
    .buttonNewsBox a {
        margin: 150px 0 40px 0;
    }
}



@keyframes shake {
    30% {
        transform: scale(1.02);
    }

    40%,
    60% {
        transform: rotate(-5deg) scale(1.02);
    }

    50% {
        transform: rotate(5deg) scale(1.02);
    }

    70% {
        transform: rotate(0deg) scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* ------------------------------------------------ tabsBox ----------------------------------------------- */

#tabsBox {
    padding-top: 35px;
    padding-bottom: clamp(35px, 5vw, 45px);
}

/* ------------------------------------------------ events ----------------------------------------------- */

#events {
    padding-top: 55px;
    position: relative;
    margin-top: 40px;
    padding-bottom: 55px;
}

@media (min-width: 768px) {
    #events::before {
        content: '';
        left: 0;
        top: 0;
        bottom: 0;
        position: absolute;
        pointer-events: none;
        width: 100%;
        height: 435px;
        background: linear-gradient(to right, rgba(223, 131, 6, 1) 0%, rgba(186, 184, 18, 1) 25%, rgba(134, 197, 58, 1) 50%, rgba(73, 151, 137, 1) 75%, rgba(39, 40, 60, 1) 100%);
    }
}

@media (min-width: 1200px) {
    #events {
        padding-bottom: 120px;
    }

    #events>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        right: -19vw;
        bottom: -290px;
        width: 511px;
        height: 849px;
        background: url('../img/meadchen-macht-kickflip.png') center no-repeat;
        z-index: -1;
    }
}

@media (min-width: 1500px) {
    #events::before {
        width: 75%;
    }
}

@media (max-width: 767px) {
    #events {
        background: linear-gradient(to right, rgba(223, 131, 6, 1) 0%, rgba(186, 184, 18, 1) 25%, rgba(134, 197, 58, 1) 50%, rgba(73, 151, 137, 1) 100%);
        padding-bottom: 60px;
    }
}

#events .tabContent :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0;
    color: #022222;
    font-size: 2.625rem;
}

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

#events .tab_link_entry {
    font-size: 1.0625rem;
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 0 30px 30px 30px;
    box-shadow: 0px 0px 20px 10px rgba(37, 37, 37, 0.1);
    -webkit-box-shadow: 0px 0px 20px 10px rgba(37, 37, 37, 0.1);
    -moz-box-shadow: 0px 0px 20px 10px rgba(37, 37, 37, 0.1);
    border: none !important;
    z-index: 1;
}

#events .tab_link_entries {
    counter-reset: section;
}

#events .tab_link,
.eventclndr-tab {
    margin-top: 35px;
}

#events .tab,
#events .tab_link,
#events .tab_link>div {
    min-height: 100%;
}

@media (min-width: 768px) {
    #events .tab_link_entry {
        width: calc(50% - 20px);
    }

    #events .tab_link_entry+.tab_link_entry {
        margin-left: 30px;
    }
}

@media (max-width: 767px) {
    #events .tab_link_entry+.tab_link_entry {
        margin-top: 85px;
    }
}

#events .tab_link_title a {
    line-height: 1.2;
    font-weight: 700;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 20px;
    color: #ffffff;
    padding: 70px 25px 12px 25px;
    background: #0b6499;
    margin-left: -30px;
    margin-right: -30px;
    height: 100%;
    min-height: 140px;
    align-content: end;
    align-items: end;
}

@media (max-width: 991px) {
    #events .tab_link_title a {
        font-size: 1.125rem;
    }
}

#events .tab_link_date {
    font-size: 1.0625rem;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 20px;
    z-index: 1;
    display: inline-block;
    padding: 8px 30px;
    background: #ffffff;
    color: #222222;
}

#events .vorschau {
    color: #222222;
    opacity: 1 !important;
}

#events .tab_preview_picture,
#events .tab_link_mandat,
#events .tab_link_entries+div,
#events .tab_link_entries .tab_spacer,
#events .tab_link_entry>div:nth-last-child(2) {
    display: none;
}

#events .greenButton p:last-child {
    text-align: right;
}

@media (max-width: 767px) {
    #events .greenButton p:last-child {
        text-align: left;
    }
}

@media (max-width: 767px) {
    #events .greenButton a {
        margin-top: 10px;
    }
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #00446d;
    font-weight: 400;
    line-height: 1.2;
    font-family: "Delicious Handrawn", sans-serif;
}

h1,
.h1,
.legacy_h1 {
    font-size: 2.1875rem;
}

@media (min-width: 992px) {

    h1,
    .h1,
    .legacy_h1 {
        font-size: 2.5rem;
    }
}

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

@media (min-width: 992px) {

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

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

@media (min-width: 992px) {

    #links .tabHeadline,
    #newsBox .tab :is(h1, h2, h3, h4, h5, h6),
    #events .tabContent :is(h1, h2, h3, h4, h5, h6),
    h3,
    .h3,
    .legacy_h3 {
        font-size: 2.1875rem;
    }
}

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

@media (min-width: 992px) {

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

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

@media (min-width: 992px) {

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

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

@media (min-width: 992px) {

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

#newslinks,
#newsmandate {
    border: 1px solid #00446d;
}

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

footer {
    position: relative;
}

@media (min-width: 1200px) {
    footer {
        margin-top: 80px;
    }

    #footerwrapper>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        left: -18vw;
        bottom: -135px;
        width: 280px;
        height: 474px;
        background: url('../img/tritt-in-die-kamera.png') center no-repeat;
    }
}

@media (max-width: 767px) {
    footer .row>.col-xs-12:not(:first-child)::before {
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 0;
        opacity: 0.2;
    }

    footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
    footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

/* ----------------------------------------------- footerwrapper ----------------------------------------------- */

#footerwrapper {
    padding-top: 40px;
    padding-bottom: 35px;
    font-size: 1.0625rem;
    line-height: 1.7;
    background-color: #f4f4f4 !important;
    position: relative;
}

@media (min-width: 1200px) {
    #footerwrapper {
        background: url('../img/wasserzeichen-footer.png') bottom right no-repeat;
    }
}

.iframetab iframe,
.iframetab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
    max-height: 248px;
}

#footerwrapper .tabHeadline {
    color: #00446d;
    font-size: 1.5625rem;
    margin-bottom: 20px;
}

#footerwrapper a {
    color: #222222;
}

#footerwrapper .tab2 a {
    color: #0045ad;
    text-decoration: underline;
}

.arrowLinks .tiny_p+.tiny_p {
    margin-top: 32px;
}

.greenButton.arrowLinks a {
    width: 100%;
    color: #222222 !important;
}

@media (min-width: 768px) and (max-width:991px) {

    #footerwrapper>.row>div:first-child,
    #footerwrapper>.row>div:nth-child(2) {
        margin-bottom: 30px;
    }
}

/* --------------- scrollTopBtn --------------- */

a#scrollTopBtn {
    background: #0b6499;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    position: relative;
    padding: 9px 62px 9px 32px;
    display: inline-block;
    margin-bottom: 32px;
    width: 100%;
}

a#scrollTopBtn::before {
    content: '\2191';
    right: 30px;
    top: 8px;
    bottom: 0;
    position: absolute;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
    font-size: 20px;
}

a#scrollTopBtn:hover::before,
a#scrollTopBtn:focus::before {
    top: 2px;
}

/* ----------------------------------------------- lastFooter ----------------------------------------------- */

#lastFooter {
    padding-top: 14px;
    padding-bottom: 14px;
    background: #0b6499;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-size: 0.9375rem;
    padding: 7px 8px;
    position: relative;
    z-index: 1;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #222222;
}

#innerfooter a::before {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    opacity: 0;
    transition: all 300ms linear;
    background: linear-gradient(to right, rgba(223, 131, 6, 1) 0%, rgba(186, 184, 18, 1) 25%, rgba(134, 197, 58, 1) 50%, rgba(73, 151, 137, 1) 75%, rgba(39, 40, 60, 1) 100%);
    z-index: -1;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
    opacity: 1;
}

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

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

    #innerfooter a {
        display: block;
    }
}

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

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 400;
    display: inline-block;
    text-decoration: none;
}

#vernetzt b {
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 800;
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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



.blueButton a {
    background: #0b6499;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.9375rem;
    position: relative;
    padding: 9px 50px 9px 20px;
    display: block;
    pointer-events: all;
}

.blueButton a::after {
    content: '\2192';
    right: 25px;
    top: 9px;
    bottom: 0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
    position: absolute;
}

.blueButton a:hover::after,
.blueButton a:focus::after {
    right: 15px;
}