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

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

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

a {
    color: #d01666;
}

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

b, strong {
    font-weight: 700;
}

.over {
    overflow: hidden;
}

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

@media (min-width: 1200px) {
    #topbar {
        border-top: 40px solid #375ba5;
        position: relative;
    }

    #topbar>.row {
        z-index: 1;
        margin-top: -40px;
        margin-bottom: -46px;
    }

    #topbar>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 0;
        bottom: 0;
        right: -19vw;
        width: 400px;
        z-index: -1;
        background: #d01666;
        box-shadow: -10px 10px 0px 0px rgba(255, 255, 255, 1);
        -webkit-box-shadow: -10px 10px 0px 0px rgba(255, 255, 255, 1);
        -moz-box-shadow: -10px 10px 0px 0px rgba(255, 255, 255, 1);
        border-left: unset;
    }
}

@media (max-width: 1199px) {
    #topbar {
        border-top: 10px solid #375ba5;
        background: #d01666;
    }

    .tabSocials {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* ----------------------------------------------- optionsbar ----------------------------------------------- */

@media (max-width: 991px) {
    .optionsMobil {
        background: #d01666;
        color: #ffffff;
        padding: 20px 10px;
    }
}

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

    #optionsbar {
        background: #d01666;
        color: #ffffff;
        position: relative;
    }
}

/* ----------------------------------------------- tabSocials ----------------------------------------------- */

@media (max-width: 991px) {
    .tabSocials {
        border-bottom: 2px solid #ffffff;
        font-size: 1rem;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

@media (min-width: 992px) {
    .tabSocials {
        border-right: 2px solid #ffffff;
        font-size: 1rem;
        padding-right: 25px;
        width: 100%;
        height: 100%;
        display: flex;
        align-content: center;
        align-items: center;
    }
}

.tabSocials a {
    color: #ffffff;
}

.tabSocials .btgrid>.row {
    display: flex;
    align-items: center;
    align-content: center;
}

.tabSocials p {
    display: inline-block;
}

.tabSocials p+p {
    margin-left: 20px;
}

@media (min-width: 1200px) {
    .tabSocials .btgrid>.row>div:nth-child(1) {
        flex: 0 0 65%;
        max-width: 65%;
        min-width: 65%;
    }

    .tabSocials .btgrid>.row>div:nth-child(2) {
        flex: 0 0 35%;
        max-width: 35%;
        min-width: 35%;
    }
}

/* ----------------------------------------------- search ----------------------------------------------- */

@media (max-width: 991px) {
    .search {
        height: 45px;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        width: 45px;
        margin: auto;
    }
}

@media (min-width: 992px) {
    .search {
        height: 100%;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: end;
        width: 70px;
        min-height: 80px;
        padding-right: 6px;
    }
}

.search:hover,
.search:focus {
    background: #375ba5;
}

/*  --------------------------------------- logoBox --------------------------------------- */

#logoBox {
    padding-top: clamp(15px, 3vw, 40px);
    padding-bottom: clamp(15px, 3vw, 30px);
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        position: static !important;
    }

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

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #375ba5;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        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 {
        padding: 20px 10px;
    }

    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        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;
        transition: top 300ms linear;
    }

    .is-sticky .navbar-header {
        top: 15px;
    }

    .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);
        transition: width 300ms linear, opacity 300ms linear;
    }

    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }

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

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

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-header {
        top: 27px;
    }
}

@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) {
    #menu {
        padding: 20px 0;
        background: rgba(255, 255, 255, 0.9);
        transition: background 300ms linear;
    }

    .is-sticky #menu {
        background: #ffffff;
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.12);
    }

    #menuBox {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 61;
    }

    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;
        transition: margin 300ms linear;
    }

    nav.horizontally li[class*="toplevel"]>.dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

    nav.horizontally li[class*="secondlevel"]>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) {
        position: relative;
    }

    .navbar-default .navbar-nav li :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
    }

    .navbar-default :is(.open>.dropdown-menu, .navbar-nav li[class*="toplevel"]:hover>ul, .navbar-nav li[class*="secondlevel"]:hover>ul, .navbar-nav li[class*="secondlevel"]>ul[style*="block"]) {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .navbar-nav :is(li[class*="toplevel"]:focus-within>ul, 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 :is(li[class*="toplevel"]:hover>ul, li[class*="secondlevel"]:hover>ul) {
        z-index: 1003;
    }
}

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

.navbar-default li[class*="toplevel"]>a {
    color: #252525;
    font-weight: 700;
    text-align: left;
    padding: 14px 15px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    .navbar-default li[class*="toplevel"]+li {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-top: 2px;
    }

    nav.horizontally li[class*="toplevel"]>a.dropdown-toggle {
        padding-right: 35px;
    }
}

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

    .navbar-default li[class*="toplevel"]>a {
        padding: 20px 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        display: block;
    }
}

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

.navbar-default li[class*="toplevel"]:hover>a,
.navbar-default li[class*="toplevel"]>a:hover,
.navbar-default li[class*="toplevel"]>a:focus,
.navbar-default li[class*="toplevel"].open>a,
.navbar-default li[class*="toplevel"].open>a:hover,
.navbar-default li[class*="toplevel"].open>a:focus,
.navbar-default li[class*="toplevel"][class*="_over"]>a,
.navbar-default li[class*="toplevel"][class*="_over"]>a:hover,
.navbar-default li[class*="toplevel"][class*="_over"]>a:focus {
    color: #375ba5;
}

.navbar-default li[class*="toplevel"]:focus-within>a::after {
    color: #375ba5;
}

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

.navbar-default :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
    background: #ffffff;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.12);
}

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

    .navbar-default li[class*="secondlevel"]>ul {
        margin: 10px;
    }
}

@media(min-width: 992px) {
    .navbar-default :is(li[class*="toplevel"]>ul, li[class*="secondlevel"]>ul) {
        padding: 18px 20px;
    }

    .navbar-default li[class*="secondlevel"]>ul {
        margin-top: -18px;
        margin-left: 35px;
    }

    .navbar-default li[class*="secondlevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        width: 37px;
        top: 0;
        bottom: 0;
        left: -37px;
    }
}

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

.navbar-default :is(li[class*="secondlevel"]>a, li[class*="thirdlevel"]>a) {
    color: #252525;
    text-align: left;
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 20px;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

.navbar-default :is(li[class*="secondlevel"]+li, li[class*="thirdlevel"]+li) {
    margin-top: 1px;
}

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

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

.navbar-default li[class*="secondlevel"]:hover>a,
.navbar-default li[class*="secondlevel"]>a:hover,
.navbar-default li[class*="secondlevel"]>a:focus,
.navbar-default li[class*="secondlevel"].open>a,
.navbar-default li[class*="secondlevel"].open>a:hover,
.navbar-default li[class*="secondlevel"].open>a:focus,
.navbar-default li[class*="secondlevel"][class*="_over"]>a,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:hover,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:focus,
.navbar-default li[class*="thirdlevel"]:hover>a,
.navbar-default li[class*="thirdlevel"]>a:hover,
.navbar-default li[class*="thirdlevel"]>a:focus,
.navbar-default li[class*="thirdlevel"].open>a,
.navbar-default li[class*="thirdlevel"].open>a:hover,
.navbar-default li[class*="thirdlevel"].open>a:focus,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:hover,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:focus {
    background: #375ba5;
    color: #ffffff;
}

.navbar-default li[class*="secondlevel"]:focus-within>a,
.navbar-default li[class*="thirdlevel"]:focus-within>a {
    background: #375ba5;
    color: #ffffff;
}

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

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

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

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

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

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

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

@media (min-width: 1200px) {
    #headerpic>.row {
        width: 100%;
        max-width: 100%;
        align-content: stretch;
        align-items: stretch;
    }

    #headerpic>.row>* {
        padding: 0;
    }

    #headerpic>.row>*:last-child {
        display: flex;
        align-items: center;
        align-content: center;
        background: url('../img/zeichnung-unten.png') bottom left no-repeat,
            url('../img/zeichnung-oben.png') top right no-repeat;
    }
}

@media (min-width:768px) and (max-width: 1199px) {
    #headerpic {
        background: url('../img/zeichnung-unten.png') bottom left no-repeat,
            url('../img/zeichnung-oben.png') top right no-repeat;
    }
}

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

.slider-mask {
    display: none;
}

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

#headerpic .tab {
    padding: 50px 30px;
    color: #252525;
}

@media (max-width: 767px) {
    #headerpic .tab {
        padding: 20px 10px;
    }
}

#headerpic .tab :is(h4, h5, h6) {
    font-size: 1.25rem;
    margin: 0;
    color: #252525;
}

#headerpic .tab :is(h4, h5, h6) :is(em, i) {
    font-style: normal;
    color: #d01666;
}

#headerpic .tab :is(h4, h5, h6) :is(b, strong) {
    font-style: normal;
    color: #375ba5;
}

#headerpic .tab :is(h1, h2, h3) {
    font-size: 2.1875rem;
    margin: 0;
    display: block;
    color: #252525;
}

@media (min-width: 1200px) {
    #headerpic .tab {
        padding: 70px 40px;
        left: -9.6vw;
        position: absolute;
        z-index: 12;
        font-size: 1.75rem;
    }

    #headerpic .tab :is(h4, h5, h6) {
        font-size: 2.5rem;
    }

    #headerpic .tab :is(h1, h2, h3) {
        font-size: 3.4375rem;
    }
}

#headerpic .tab::after {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 185px;
    z-index: -1;
    background: #ffffff;
}

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

#headerpic .slider-wrapper .nivo-control.active::after {
    width: 20px;
}

#headerpic .slider-wrapper .nivo-directionNav a {
    background: #fff;
    font-size: 0px;
    height: 50px;
    left: unset;
    opacity: 1;
    position: absolute;
    text-indent: unset;
    top: unset;
    width: 50px;
}

#headerpic .slider-wrapper .nivo-directionNav a::after {
    content: "\2039";
    font-size: 50px;
    font-weight: 400;
    height: 21px;
    line-height: 12px;
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    transition: all, 250ms;
    width: 15px;
    color: #375ba5;
}

#headerpic .nivo-prevNav::after {
    color: #375ba5 !important;
}

#headerpic .slider-wrapper .nivo-directionNav a.nivo-nextNav::after {
    content: "\203A";
}

#headerpic .slider-wrapper .nivo-directionNav a.nivo-nextNav {
    background: #375ba5;
    color: #ffffff;
    left: unset;
}

#headerpic .slider-wrapper .nivo-directionNav a::after {
    color: #ffffff;
}

#headerpic a.nivo-nextNav,
#headerpic a.nivo-prevNav {
    right: 0;
    bottom: 0;
    top: unset;
    background-image: unset;
    padding: 25px;
    opacity: 1;
}

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

/*--banner dots --*/

#headerpic .theme-default .nivo-controlNav a {
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    position: relative;
}

#headerpic .theme-default .nivo-controlNav a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: 0;
    margin-top: 0;
    display: block;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #ffffff;
    -webkit-transition: width 200ms linear, height 200ms linear, margin 200ms linear;
    -moz-transition: width 200ms linear, height 200ms linear, margin 200ms linear;
    -ms-transition: width 200ms linear, height 200ms linear, margin 200ms linear;
    -o-transition: width 200ms linear, height 200ms linear, margin 200ms linear;
    transition: width 200ms linear, height 200ms linear, margin 200ms linear;
    width: 0;
    height: 0;
    opacity: 0;
    transform: translateX(-50%) translateY(-50%);
}

#headerpic .theme-default .nivo-controlNav a.active::after {
    width: 18px;
    height: 18px;
    opacity: 1.0;
}

#headerpic .theme-default .nivo-controlNav a+a {
    margin-left: 5px;
}

@media (min-width: 992px) {
    #headerpic .theme-default .nivo-controlNav a+a {
        margin-top: 10px;
    }
}

#headerpic .theme-default .nivo-controlNav {
    z-index: 60;
    font-size: 0;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-direction: row;
    align-items: start;
    width: 60%;
}

@media (min-width: 992px) {
    #headerpic .theme-default .nivo-controlNav {
        z-index: 60;
        font-size: 0;
        bottom: 100px;
        right: 50px;
        display: flex;
        flex-direction: column;
        align-items: end;
        width: 100%;
        left: unset;
    }
}

/* ------------------------------------------------ news  ----------------------------------------------- */

#news {
    padding: clamp(30px, 10vw, 70px) 0 clamp(30px, 10vw, 70px) 0;
    background: #f6f5f5;
}

/* tab */

#news .tab {
    height: 100%;
    min-height: 100%;
    background: #ffffff;
    padding: clamp(15px, 3vw, 45px) clamp(15px, 3vw, 40px) clamp(30px, 3vw, 55px) clamp(15px, 3vw, 40px);
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
}

#news .tab :is(h1, h2, h3, h4, h5, h6) {
    color: #252525;
    margin: 0;
    font-size: 2.1875rem;
}

#news .tab :is(h1, h2, h3, h4, h5, h6) :is(em, i) {
    font-weight: 400;
    font-style: normal;
    display: block;
    color: #252525;
    margin: 0;
    font-size: 1.6875rem;
}

#news .tab hr {
    border-color: #375ba5;
    opacity: 1;
    border-width: 2px;
    margin-top: 16px;
    margin-bottom: 20px;
}

#news .tab a:not([href^="mailto:"]) {
    margin-top: 35px;
    text-decoration: none;
    position: relative;
    display: inline-block;
    color: #ffffff;
    background: #375ba5;
    font-size: 1rem;
    padding: 9px 25px;
    z-index: 1;
}

#news .tab a:not([href^="mailto:"]):hover::after,
#news .tab a:not([href^="mailto:"]):focus::after {
    width: 100%;
    height: 100%;
}

#news .tab a:not([href^="mailto:"])::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 0;
    background: #d01666;
    z-index: -1;
    transition: all 0.25s ease-in-out;
}

/* tabevents */

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

#news .tab_link_entry {
    color: #252525;
    font-size: 1rem;
    border-bottom: none !important;
    position: relative;
    padding: 140px clamp(15px, 4vw, 40px) 40px clamp(15px, 4vw, 40px);
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

#news .tab_link_entry::before {
    content: '';
    display: block;
    overflow: hidden;
    width: 61px;
    height: 76px;
    position: absolute;
    top: 30px;
    left: clamp(15px, 4vw, 40px);
    background: url('../img/logo-deko.png') center / cover no-repeat;
}

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

@media (min-width: 576px) and (max-width: 767px) {
    #news .tab_link_entry {
        width: calc(50% - 15px);
    }

    #news .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }

    #news .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }
}

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

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

@media (max-width: 767px) {

    #news .tab_link,
    #news .tab_link_entry+.tab_link_entry {
        margin-top: 30px;
    }
}

@media (min-width: 576px) {
    #news .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }
}

#news .tab_link_entry .tab_date {
    font-size: 0.875rem;
    background: #d01666 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M9 44q-1.2 0-2.1-.9Q6 42.2 6 41V10q0-1.2.9-2.1Q7.8 7 9 7h3.25V4h3.25v3h17V4h3.25v3H39q1.2 0 2.1.9.9.9.9 2.1v31q0 1.2-.9 2.1-.9.9-2.1.9Zm0-3h30V19.5H9V41Zm0-24.5h30V10H9Zm0 0V10v6.5Z' fill='%23fff'/%3E%3C/svg%3E") center left 10px / 18px auto no-repeat;
    line-height: 1.2;
    padding: 8px 10px 6px 35px;
    position: absolute;
    top: 59px;
    right: clamp(15px, 4vw, 40px);
    max-width: calc(100% - 178px);
    min-width: 130px;
    color: #ffffff;
}

#news .tab_link_entry .tab_link_title a {
    font-size: 1.25rem;
    line-height: 1.2;
    display: block;
    color: #375ba5;
    font-weight: 700;
    margin-bottom: 35px;
}

#news .tab_link_entry .tab_link_mandat {
    order: 100;
    line-height: 1.2;
    text-align: right;
    margin-top: clamp(15px, 4vw, 26px);
    margin-bottom: clamp(-5px, 4vw, -20px);
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

#news .tab_link_entry .tab_link_mandat a,
#news .tab_link_entry .tab_link_mandat span {
    color: #252525;
    font-size: 0.875rem;
    padding-left: 20px;
    min-height: 18px;
    display: inline-block;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 23.5q1.45 0 2.475-1.025Q27.5 21.45 27.5 20q0-1.45-1.025-2.475Q25.45 16.5 24 16.5q-1.45 0-2.475 1.025Q20.5 18.55 20.5 20q0 1.45 1.025 2.475Q22.55 23.5 24 23.5Zm0 16.55q6.65-6.05 9.825-10.975Q37 24.15 37 20.4q0-5.9-3.775-9.65T24 7q-5.45 0-9.225 3.75Q11 14.5 11 20.4q0 3.75 3.25 8.675Q17.5 34 24 40.05ZM24 44q-8.05-6.85-12.025-12.725Q8 25.4 8 20.4q0-7.5 4.825-11.95Q17.65 4 24 4q6.35 0 11.175 4.45Q40 12.9 40 20.4q0 5-3.975 10.875T24 44Zm0-23.6Z' fill='%23252525'/%3E%3C/svg%3E") center left / 18px auto no-repeat;
}

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

#news .tab_link_mehr {
    font-size: 0;
    text-align: center !important;
    display: flex;
    justify-content: center;
}

#news .tab_link_mehr a {
    font-size: 0;
    position: absolute;
    display: inline-block;
    text-decoration: none;
    width: 50px;
    height: 50px;
    bottom: -22px;
    left: 60%;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='12px' height='19px'%3E%3Cimage x='0px' y='0px' width='12px' height='19px' xlink:href='data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAATCAQAAAAO/CQiAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfoBxIKCwJ+nk16AAAAmklEQVQY023RO2pCURSF4V2JRRBtbuNoDCiIRDBIJJVO0kYQbBSnkMZRWGh8fBZe0HM47PJnsdcjhMrKj0gvVA64GuWg6w+c9FMQWnbgapCC8GFbq4YpCJ0aXXymIDRtwL9xCkLbHpz1UhAalrWNaRZL1w0cywrmpR98lVzxW8rhaTZPfnu1/N4V36V27yalPZjle4TK2iJf8AEodCmb04PScwAAAABJRU5ErkJggg==' /%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-color: #d01666;
    opacity: 0;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -ms-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

#news .tab_link_entry:hover .tab_link_mehr a,
#news .tab_link_entry:focus .tab_link_mehr a {
    left: 50%;
    opacity: 1;
    margin-left: -24px;
}

#news .tab_link_entry::after {
    content: '';
    position: absolute;
    pointer-events: none;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #d01666;
    transition: all 0.35s ease-in-out;
}

#news .tab_link_entry:hover::after,
#news .tab_link_entry:focus::after {
    width: 100%;
}

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

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

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

    .index #content {
        padding-bottom: 65px;
    }
}

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

#events {
    padding: clamp(30px, 10vw, 65px) 0 clamp(30px, 10vw, 85px) 0;
    background: #f6f5f5;
}

/* tab */

#events .tab {
    height: 100%;
    min-height: 100%;
    background: #ffffff;
    padding: clamp(15px, 3vw, 45px) clamp(15px, 3vw, 40px) clamp(30px, 3vw, 55px) clamp(15px, 3vw, 40px);
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
}

#events .tab :is(h1, h2, h3, h4, h5, h6) {
    color: #252525;
    margin: 0;
    font-size: 2.1875rem;
}

#events .tab :is(h1, h2, h3, h4, h5, h6) :is(em, i) {
    font-weight: 400;
    font-style: normal;
    display: block;
    color: #252525;
    margin: 0;
    font-size: 1.6875rem;
}

#events .tab hr {
    border-color: #375ba5;
    opacity: 1;
    border-width: 2px;
    margin-top: 16px;
    margin-bottom: 20px;
}

#events .tab a:not([href^="mailto:"]) {
    margin-top: 35px;
    text-decoration: none;
    position: relative;
    display: inline-block;
    color: #ffffff;
    background: #375ba5;
    font-size: 1rem;
    padding: 9px 25px;
    z-index: 1;
}

#events .tab a:not([href^="mailto:"]):hover::after,
#events .tab a:not([href^="mailto:"]):focus::after {
    width: 100%;
    height: 100%;
}

#events .tab a:not([href^="mailto:"])::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 0;
    background: #d01666;
    z-index: -1;
    transition: all 0.25s ease-in-out;
}

/* tabevents */

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

#events .tab_link_entry {
    color: #252525;
    font-size: 1rem;
    border-bottom: none !important;
    position: relative;
    padding: 140px clamp(15px, 4vw, 40px) 40px clamp(15px, 4vw, 40px);
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

#events .tab_link_entry::before {
    content: '';
    display: block;
    overflow: hidden;
    width: 61px;
    height: 76px;
    position: absolute;
    top: 30px;
    left: clamp(15px, 4vw, 40px);
    background: url('../img/logo-deko.png') center / cover no-repeat;
}

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

@media (min-width: 576px) and (max-width: 767px) {
    #events .tab_link_entry {
        width: calc(50% - 15px);
    }

    #events .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }

    #events .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }
}

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

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

@media (max-width: 767px) {

    #events .tab_link,
    #events .tab_link_entry+.tab_link_entry {
        margin-top: 30px;
    }
}

@media (min-width: 576px) {
    #events .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }
}

#events .tab_link_entry .tab_link_date {
    font-size: 0.875rem;
    background: #d01666 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M9 44q-1.2 0-2.1-.9Q6 42.2 6 41V10q0-1.2.9-2.1Q7.8 7 9 7h3.25V4h3.25v3h17V4h3.25v3H39q1.2 0 2.1.9.9.9.9 2.1v31q0 1.2-.9 2.1-.9.9-2.1.9Zm0-3h30V19.5H9V41Zm0-24.5h30V10H9Zm0 0V10v6.5Z' fill='%23fff'/%3E%3C/svg%3E") center left 10px / 18px auto no-repeat;
    line-height: 1.2;
    padding: 8px 10px 6px 35px;
    position: absolute;
    top: 59px;
    right: clamp(15px, 4vw, 40px);
    max-width: calc(100% - 178px);
    min-width: 130px;
    color: #ffffff;
}

#events .tab_link_entry .tab_link_title a {
    font-size: 1.25rem;
    line-height: 1.2;
    display: block;
    color: #375ba5;
    font-weight: 700;
    margin-bottom: 35px;
}

#events .tab_link_entry .tab_link_mandat {
    order: 100;
    line-height: 1.2;
    text-align: right;
    margin-top: clamp(15px, 4vw, 26px);
    margin-bottom: clamp(-5px, 4vw, -20px);
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

#events .tab_link_entry .tab_link_mandat a,
#events .tab_link_entry .tab_link_mandat span {
    color: #252525;
    font-size: 0.875rem;
    padding-left: 20px;
    min-height: 18px;
    display: inline-block;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 23.5q1.45 0 2.475-1.025Q27.5 21.45 27.5 20q0-1.45-1.025-2.475Q25.45 16.5 24 16.5q-1.45 0-2.475 1.025Q20.5 18.55 20.5 20q0 1.45 1.025 2.475Q22.55 23.5 24 23.5Zm0 16.55q6.65-6.05 9.825-10.975Q37 24.15 37 20.4q0-5.9-3.775-9.65T24 7q-5.45 0-9.225 3.75Q11 14.5 11 20.4q0 3.75 3.25 8.675Q17.5 34 24 40.05ZM24 44q-8.05-6.85-12.025-12.725Q8 25.4 8 20.4q0-7.5 4.825-11.95Q17.65 4 24 4q6.35 0 11.175 4.45Q40 12.9 40 20.4q0 5-3.975 10.875T24 44Zm0-23.6Z' fill='%23252525'/%3E%3C/svg%3E") center left / 18px auto no-repeat;
}

#events .tab_link_entry :is(.tab_preview_picture, .tab_spacer) {
    display: none;
}

#events .tab_link_mehr {
    font-size: 0;
    text-align: center !important;
    display: flex;
    justify-content: center;
}

#events .tab_link_mehr a {
    font-size: 0;
    position: absolute;
    display: inline-block;
    text-decoration: none;
    width: 50px;
    height: 50px;
    bottom: -22px;
    left: 60%;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='12px' height='19px'%3E%3Cimage x='0px' y='0px' width='12px' height='19px' xlink:href='data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAATCAQAAAAO/CQiAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfoBxIKCwJ+nk16AAAAmklEQVQY023RO2pCURSF4V2JRRBtbuNoDCiIRDBIJJVO0kYQbBSnkMZRWGh8fBZe0HM47PJnsdcjhMrKj0gvVA64GuWg6w+c9FMQWnbgapCC8GFbq4YpCJ0aXXymIDRtwL9xCkLbHpz1UhAalrWNaRZL1w0cywrmpR98lVzxW8rhaTZPfnu1/N4V36V27yalPZjle4TK2iJf8AEodCmb04PScwAAAABJRU5ErkJggg==' /%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-color: #d01666;
    opacity: 0;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -ms-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

#events .tab_link_entry:hover .tab_link_mehr a,
#events .tab_link_entry:focus .tab_link_mehr a {
    left: 50%;
    opacity: 1;
    margin-left: -24px;
}

#events .tab_link_entry::after {
    content: '';
    position: absolute;
    pointer-events: none;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #d01666;
    transition: all 0.35s ease-in-out;
}

#events .tab_link_entry:hover::after,
#events .tab_link_entry:focus::after {
    width: 100%;
}

/* ------------------------------------------------ partnerBox ----------------------------------------------- */

#partnerBox {
    padding: clamp(30px, 10vw, 75px) 0;
    position: relative;
}

#partnerBox .tab {
    padding: 20px;
    background: #ffffff;
}

@media (min-width: 992px) {
    #partnerBox .tab {
        padding: 50px 100px 50px 0;
    }

    #partnerBox {
        background: url('../img/deko-partner.png') top left no-repeat;
    }

    #partnerBox::after {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 0;
        bottom: 0;
        right: 0;
        height: 100%;
        width: 44.3vw;
        z-index: -1;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

#partnerBox .tab .btgrid>.row {
    display: flex;
    align-items: center;
    align-content: center;
}

#partnerBox .tab :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    font-size: 1.6rem;
}

@media (min-width: 768px) {
    #partnerBox .tab :is(h1, h2, h3, h4, h5, h6) {
        font-size: 2.1875rem;
    }
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #375ba5;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Source Sans 3", sans-serif;
}

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

@media (min-width: 768px) {
    h1, .h1, .legacy_h1 {
        font-size: 2.8125rem;
    }
}

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

@media (min-width: 768px) {
    h2, .h2, .legacy_h2 {
        font-size: 2.5rem;
    }
}

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

@media (min-width: 768px) {
    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: 768px) {
    h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
        font-size: 1.875rem;
    }
}

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

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

#newslinks, #newsmandate {
    border: 1px solid #375ba5;
}

/* ---------------------------------------------- counterBox ---------------------------------------------- */

#counterBox {
    position: relative;
}

@media (min-width: 1200px) {
    #counterBox>.row {
        margin-bottom: -45px;
        position: relative;
        margin-top: -62px;
    }

    #counterBox>.row {
        z-index: 1;
        padding: 10px 0;
    }

    #counterBox>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 0;
        bottom: 0;
        left: -19vw;
        width: 860px;
        z-index: -1;
        background: #d01666;
        box-shadow: 10px 10px 0px 0px rgba(255, 255, 255, 1);
        -webkit-box-shadow: 10px 10px 0px 0px rgba(255, 255, 255, 1);
        -moz-box-shadow: 10px 10px 0px 0px rgba(255, 255, 255, 1);
        border-left: unset;
    }
}

@media (max-width: 1199px) {
    #counterBox {
        background: #d01666;
    }
}

#counter {
    background: #d01666;
    padding: 30px 40px 30px 40px;
    color: #ffffff;
    position: relative;
}

#counter span {
    font-weight: 700;
    margin-right: 5px;
}

#counter::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 22px;
    height: 22px;
    background: url('../img/icon-besucher.png') center no-repeat;
}

@media (max-width:1200px) {
    #counter::before {
        left: 5px;
    }
}

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

.footer {
    background-color: #375ba5;
    padding-top: 22px;
    padding-bottom: 30px;
    color: #ffffff;
}

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

.footer a {
    color: #ffffff;
}

@media (max-width: 991px) {
    #innerfooter {
        padding-bottom: 20px;
    }
}

@media (max-width: 767px) {
    #innerfooter {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

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

#innerfooter li+li::before {
    content: "▪";
    margin: 0 6px;
}

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

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

.vernetzt {
    display: inline-block;
}

.vernetzt img {
    display: block;
}