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

body {
    font-family: "Nunito", sans-serif;
    color: #18324b;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #db322b;
}

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

b,
strong {
    font-weight: 700;
}

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

#topbar {
    background-image: url(../img/kreise-header-links.png), url(../img/kreise-header-rechts.png);
    background-position: bottom left, bottom right;
    background-repeat: no-repeat;
    padding: 5px 0 0 0;
}

@media (max-width: 991px) {
    #topbar {
        background-size: 0, auto;
    }
}

#topbar>div {
    gap: 30px 0;
}

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

#text-logo :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2.5rem, 4vw, 3.4375rem);
    margin-bottom: 0;
    line-height: 1;
    hyphens: auto;
}

#topbar a,
#topbar a:hover {
    color: #18324b;
    text-decoration: none;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

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

@media (min-width: 768px) {
    #bannerOverlay {
        position: absolute;
        left: 30px;
        top: 50%;
        z-index: 61;
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}

@media (min-width: 992px) {
    #bannerOverlay {
        padding-bottom: 40px;
    }

    #slider {
        max-height: 400px;
    }

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

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

    #headerpic .nivo-controlNav {
        bottom: 10px;
    }
}

@media (min-width: 1200px) {
    #bannerOverlay {
        left: 120px;
    }

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

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

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

.slider-mask {
    display: none;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    .dropdown-toggle-button-wrapper2 {
        top: 5px !important;
    }

    #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: #3d619f;
        color: #fff;
        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 {
        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[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: 7px;
    }
}

@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-wrapper {
        padding: 10px 0;
        background-color: rgba(255, 255, 255, 0.5);
        -webkit-transition: all 0.3s 0s linear;
        -moz-transition: all 0.3s 0s linear;
        -o-transition: all 0.3s 0s linear;
        transition: all 0.3s 0s linear;
    }

    .is-sticky .menu-wrapper {
        background-color: #fff;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
    }

    #menu-fix {
        position: relative;
    }

    #menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        z-index: 60;
    }

    nav.horizontally .navbar-nav {
        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;
    }

    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }

    nav.horizontally li[class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        margin: 0;
        padding: 10px 25px;
        padding-top: 20px;
        padding-bottom: 20px;
        max-height: 60vh;
        overflow: visible;
        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;
    }

    nav.horizontally li[class*="toplevel"]>ul::after {
        content: "";
        display: block;
        position: absolute;
        width: 100vw;
        z-index: -1;
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        left: 50%;
        top: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.95);
        -webkit-box-shadow: 0 8px 8px 0 rgba(84, 73, 73, 0.1);
        box-shadow: 0 8px 8px 0 rgba(84, 73, 73, 0.1);
    }

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
        -webkit-column-gap: 30px;
        -moz-column-gap: 30px;
        column-gap: 30px;
        max-width: 992px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
        height: auto;
    }

    nav.horizontally li[class*="secondlevel"] {
        float: none;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
        display: table !important;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
        z-index: 1003;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 100%;
    }

    .nav li[class*="toplevel"].open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    #mCSB_1_scrollbar_vertical {
        left: 50%;
        margin-left: calc(962px/2);
    }

    nav.horizontally .dropdown-menu {
        display: block !important
    }
}

@media (min-width: 1200px) {

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        max-width: 1200px;
        padding-top: 0;
        padding-bottom: 0;
    }

    #mCSB_1_scrollbar_vertical {
        margin-left: calc(1170px/2);
    }
}

nav.horizontally li[class$="_end"], nav.horizontally li[class$="_start"] {
    display: none;
}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    background: #3d619f;
    font-weight: 700;
    text-align: left;
    padding: 12px 15px;
    position: relative;
    font-size: clamp(16px, 1.1vw, 1.125rem);
    line-height: 1.2;
    text-decoration: none;
    font-family: "Nunito", sans-serif;
    hyphens: auto;
}

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

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

.navbar-default .navbar-nav>li:nth-child(7n + 4)>a {
    background: #fcbf54;
    color: #18324b;
}

.navbar-default .navbar-nav>li:nth-child(7n + 5)>a {
    background: #ac497c;
}

.navbar-default .navbar-nav>li:nth-child(7n + 6)>a {
    background: #fcbf54;
    color: #18324b;
}

.navbar-default .navbar-nav>li:nth-child(7n + 7)>a {
    background: #925c49;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 2px solid #ffffff;
    }

    nav.horizontally .navbar-nav>li>a.dropdown-toggle {
        padding-right: 35px;
    }
}

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

    .navbar-default .navbar-nav>li>a {
        padding: 19px 10px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

    .navbar-default .navbar-nav>li>a::before {
        content: "";
        width: 20px;
        height: 9px;
        display: block;
        position: absolute;
        left: 30px;
        bottom: 0;
        border-top-left-radius: 90px;
        border-top-right-radius: 90px;
        background-color: #ffffff;
        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;
    }

    @media (min-width: 992px) {
        .navbar-default .navbar-nav>li>a::before {
            left: 50%;
            margin-left: -9px;
        }
    }
}

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

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

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

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

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

@media (max-width: 991px) {

    .navbar-default li[class*="toplevel"]>.dropdown-menu,
    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        padding: 10px;
        background: #ffffff;
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        display: block;
    }
}

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

.navbar-default li[class*="secondlevel"]>a,
.navbar-default li[class*="thirdlevel"]>a {
    color: #18324b;
    text-align: left;
    padding: 8px 35px 8px 15px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    font-weight: 400;
}

.navbar-default li[class*="secondlevel"]>a {
    font-weight: 600;
    font-size: 1.125rem;
}

@media (min-width: 992px) {
    .navbar-default li[class*="secondlevel"]>a {
        padding: 20px 0 2px 0;
    }

    .navbar-default li[class*="thirdlevel"]>a {
        padding: 5px 0 5px 0;
    }
}

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

.navbar-nav li[class*="secondlevel"]:hover>a,
.navbar-nav li[class*="secondlevel"]>a:hover,
.navbar-nav li[class*="secondlevel"]>a:focus,
.navbar-nav li[class*="secondlevel"].open>a,
.navbar-nav li[class*="secondlevel"].open>a:hover,
.navbar-nav li[class*="secondlevel"].open>a:focus,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:focus,
.navbar-nav li[class*="thirdlevel"]>a:hover,
.navbar-nav li[class*="thirdlevel"]>a:focus,
.navbar-nav li[class*="thirdlevel"].open>a,
.navbar-nav li[class*="thirdlevel"].open>a:hover,
.navbar-nav li[class*="thirdlevel"].open>a:focus,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus {
    color: #db322b;
}

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

#content {
    text-align: left;
    padding-bottom: 30px;
    padding-top: 30px;
    background-image: url(../img/kreise-content.png);
    background-position: bottom -160px left;
    background-repeat: no-repeat;
}

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

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

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

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

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

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

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

#newslinks,
#newsmandate {
    border: 1px solid #2e3c48;
}

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

#news .tab {
    border-radius: 3px;
    background-color: #3d619f;
    overflow: hidden;
    padding: 30px;
    color: #ffffff;
    background-position: top 20px right 20px;
    background-repeat: no-repeat;
}

#news .tabHeadline {
    color: #ffffff;
    margin: 0 0 20px 0;
    font-weight: 700;
    font-size: 1.875rem;
}

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

@media (min-width: 1200px) {
    #news .tabHeadline {
        -webkit-hyphens: manual;
        -moz-hyphens: manual;
        -ms-hyphens: manual;
        hyphens: manual;
    }
}

#news .tabHeadline::after {
    display: none;
}

#news .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
}

#news .tab_link_title a {
    line-height: 1.2;
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
}

#news .tab_link_entries {
    gap: 30px 30px;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

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

#news {
    padding: 90px 0;
    position: relative;
}

@media (min-width: 1700px) {
    #news>.row::before {
        content: "";
        position: absolute;
        top: -80px;
        right: -15.396vw;
        transform: translateY(-75%);
        background-image: url(../img/hase.png);
        width: 12.1875vw;
        height: 15.0521vw;
        max-height: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        pointer-events: none;
    }

    #news::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        transform: translateY(50%);
        background-image: url(../img/kuh-und-katze.png);
        width: 20.1563vw;
        height: 14.4271vw;
        max-height: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        pointer-events: none;
    }
}

#news .tab {
    background-image: url("../img/icon-aktuelles.png");
}

#news .tab a {
    color: #fff;
    text-decoration: underline;
}

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

#news .tab_link_entry {
    background: #ffffff;
    border-radius: 3px;
    padding: 160px 30px 30px 30px;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

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

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

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

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

#news .tab_preview_picture {
    background: #ffffff;
}

#news .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 120px;
    overflow: hidden;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

#news .tab_link_title a::before {
    content: "";
    background: #666666 url("../img/platzhalter-aktuelles.jpg") center / cover no-repeat;
}

#news .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 350px;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

#news .tab_date {
    font-size: 0.8125rem;
    font-weight: 700;
    position: absolute;
    left: -1px;
    top: 105px;
    z-index: 1;
    display: inline-block;
    padding: 6px 20px;
    background: #db322b;
    color: #fff;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

#news .tab_link_title a {
    color: #3d619f;
    font-size: 1.125rem;
}

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

/* ------------------------------------------- button design ------------------------------------------- */

#news .buttonStyle a {
    background: #db322b;
    color: #ffffff;
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    padding: 5px 20px;
    text-decoration: none;
    transition: all 300ms linear, color 300ms linear, border 300ms linear;
    outline: 2px solid transparent;
    outline-offset: -2px;
    margin-top: 15px;
}

@media (min-width: 768px) {
    #news .buttonStyle a+a {
        margin-left: 12px;
    }
}

#news .buttonStyle a:hover,
#news .buttonStyle a:focus {
    background: #3d619f;
    color: #fff;
    outline: 2px solid #fff;
}

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

#events {
    padding-top: 65px;
    padding-bottom: 50px;
    position: relative;
    background-image: url(../img/kreise-veranstaltungen.png);
    background-position: bottom -60px right;
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
    #events::before {
        width: 4px;
        height: 35px;
        background-color: #db322b;
        content: "";
        display: block;
        position: absolute;
        left: calc(50% - 2px);
        top: 0;
    }
}

#events .tabHeadline {
    font-size: 2.8125rem;
    font-weight: 700;
    margin-bottom: 0;
}

@media (max-width: 575px) {
    #events .tabHeadline {
        font-size: 2.1875rem;
    }
}

#events .tabContent {
    color: #18324b;
    font-size: 1.125rem;
}

#eventsList {
    margin-top: 50px;
}

#eventsList .tab_link_entries {
    display: flex;
    flex-direction: row;
}

#eventsList .tab_link_entry {
    width: 33.33%;
    background: #fff url("../img/icon-kalender.png") no-repeat top 30px right 30px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    padding: 65px 30px 50px 30px;
    display: flex;
    flex-direction: column;
    color: #18324b;
    font-size: 1rem;
    position: relative;
}

#eventsList .tab_link_entry:nth-child(2) {
    margin-left: 30px;
    margin-right: 30px;
}

@media (max-width: 991px) {
    #eventsList .tab_link_entry {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    #eventsList .tab_link_entries {
        flex-direction: column;
    }

    #eventsList .tab_link_entry:nth-child(2) {
        margin: 35px 0;
    }
}

@media (min-width: 992px) {

    #eventsList .tab_link_entry::before,
    #eventsList .tab_link_entry::after {
        content: "";
        display: block;
        position: absolute;
        width: 57px;
        height: 4px;
        top: 20px;
        left: -7px;
        background-color: #db322b;
        opacity: 0;
        -webkit-transition: opacity 0.5s 0s ease;
        -moz-transition: opacity 0.5s 0s ease;
        -o-transition: opacity 0.5s 0s ease;
        transition: opacity 0.5s 0s ease;
    }

    #eventsList .tab_link_entry::after {
        width: 37px;
        top: 30px;
    }

    #eventsList .tab_link_entry:hover::before,
    #eventsList .tab_link_entry:hover::after,
    #eventsList .tab_link_entry:focus::before,
    #eventsList .tab_link_entry:focus::after {
        opacity: 1;
    }
}

#eventsList .tab_link_date {
    order: 1;
    color: #3d619f;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

#eventsList .tab_link_title {
    order: 2;
}

#eventsList .tab_link_title a {
    font-weight: bold;
    font-size: 1.125rem;
    color: #3d619f;
}

#eventsList .tab_link_mandat {
    order: 3;
}

#eventsList .tab_link_mandat a {
    color: #444444;
}

#eventsList .tab_link_mehr {
    text-align: center;
    display: block;
    margin-top: 30px;
    font-size: 0;
}

#eventsList .tab_link_mehr a {
    position: relative;
    text-decoration: none;
}

#eventsList .tab_link_mehr a::before {
    display: inline-block;
    content: "Alle Veranstaltungen";
    font-size: 1.125rem;
    font-weight: bold;
    color: #3d619f;
    padding: 7px 20px;
    border: 2px solid #ccdc65;
}

/* ------------------------------------------- button design ------------------------------------------- */

#events-button a {
    background: #ffffff;
    color: #18324b;
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 5px 20px;
    text-decoration: none;
    transition: all 300ms linear, color 300ms linear, border 300ms linear;
    outline: 2px solid #db322b;
    outline-offset: -2px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    #events-button a+a {
        margin-left: 12px;
    }
}

#events-button a:hover,
#events-button a:focus {
    outline: 2px solid #3d619f;
}

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

footer {
    font-size: 1rem;
    position: relative;
}

#footer {
    background: #000000;
    padding-top: 60px;
    padding-bottom: 50px;
    background-position: bottom;
    color: #ffffff;
    position: relative;
}

@media (max-width: 767px) {
    #footer>.row>div:nth-child(2) {
        margin-bottom: 30px;
        margin-top: 30px;
        color: #18324b;
    }
}

@media (min-width: 576px) {
    #footer>.row>*+*:nth-child(2) {
        margin-top: 0;
    }
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer .specialHeadline {
    color: #014f86;
    font-size: clamp(1.375rem, 3vw, 2.1875rem);
    font-weight: 700;
    margin-bottom: 15px;
}

footer .specialHeadline {
    text-transform: uppercase;
}

.footerHeadline {
    color: #ffffff;
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 15px;
}

footer .template-page a {
    color: #fff;
    text-decoration: underline;
}

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

.iframeMapsTab {
    max-height: 246px;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    .maps {
        position: relative;
    }

    .maps::after {
        content: "";
        position: absolute;
        bottom: -120px;
        right: 0;
        transform: translateX(100%);
        background-image: url(../img/baer.png);
        width: 12.1354vw;
        height: 16.5625vw;
        max-height: 100%;
        max-height: calc(100% + 50px + 60px);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }
}

/* --------------------------------------------- footer2 -------------------------------------------- */

#footer2 {
    padding: 15px 0;
    background: #fff;
}

@media (max-width: 767px) {
    #footer2>.row>div+div::before {
        content: "";
        display: block;
        position: absolute;
        top: -15px;
        left: 0;
        right: 0;
        height: 1px;
        width: 100%;
        background: rgba(0, 0, 0, 0.3);
    }

    #footer2>.row>div+div {
        margin-top: 15px;
    }
}

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

#vernetzt {
    text-align: right;
    font-size: .875rem;
    color: #18324b;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 400;
    text-decoration: none;
}

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

#vernetzt span {
    color: #18324b;
}

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

#vernetzt span span {
    display: block;
}

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

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

#innerfooter {
    font-size: 1rem;
}

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #18324b;
    font-size: .9375rem;
}

#innerfooter a:hover {
    text-decoration: none;
    color: #db322b;
}

#innerfooter li+li::before {
    content: "•";
    margin: 0 15px;
    color: #18324b;
}

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