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

body {
    font-family: "Noto Sans", sans-serif;
    color: #646464;
    background: #f5f5ff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #4156c4;
}

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

b, strong {
    font-weight: 700;
}

#logo :is(h1, h2, h3) {
    color: #4d0b74;
    font-size: clamp(1.375rem,3vw, 2.25rem);
    margin-bottom: 0;
}
#logo :is(h4, h5, h6) {
    font-size: clamp(1.125rem,3vw, 1.625rem);
    margin-bottom: 0;
}
/* --------------------------------------- navigation --------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        padding: 10px 0;
    }

    #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-color: #581e76;
        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 {
        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.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 {
        padding-top: 0;
        padding-bottom: 0;
        position: relative;
        z-index: 100;
        background-color: #ffffff;
        box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1);
    }

    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end !important;
        -ms-flex-pack: end !important;
        justify-content: flex-end !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: #3f3f3f;
    font-weight: 500;
    text-align: left;
    padding: 15px 35px 15px 15px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 30px 5px 30px 5px;
        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 .navbar-nav>li>a {
        display: block;
    }
}

.navbar-default .navbar-nav>li>a::after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    bottom: 0;
    height: 4px;
    left: 50%;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #581e76;
    -webkit-transition: width 300ms linear;
    -moz-transition: width 300ms linear;
    -ms-transition: width 300ms linear;
    -o-transition: width 300ms linear;
    transition: width 300ms linear;
}

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

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

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background: #ffffff;
    box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2);
}

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

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 26px;
        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::before {
        content: "";
        position: absolute;
        top: -8px;
        left: 50%;
        margin-left: -20px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 20px 8px 20px;
        border-color: transparent transparent #683287 transparent;
    }

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

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #3f3f3f;
    font-weight: 500;
    text-align: left;
    padding: 8px 25px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
}

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: center;
        padding: 13px 25px;
    }
}

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

.navbar-nav>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    background: #683287;
    color: #ffffff;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    background: #683287;
    color: #ffffff;
}

/* ------------------------------------------------ buttonDonate ----------------------------------------------- */

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

.buttonDonate a {
    background: #683287 url('../img/diakonie-schmuckicon-button.png') left center no-repeat;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    padding: 10px 10px 10px 55px;
    transition: background-color 300ms linear;
}

.buttonDonate a:hover,
.buttonDonate a:focus {
    background-color: #4d0b74;
}

.contrast_dark_font .buttonDonate a {
    color: #ffffff !important;
}

/* ------------------------------------------------ @8b header ----------------------------------------------- */

header {
    background: url('../img/Kringeling.png'), #ede1f4;
    background-size: cover;
    padding: 15px 0 60px 0;
}

.contactHeader {
    padding-bottom: 15px;
    color: #444444;
}

.contactHeader p {
    display: inline-block;
}

.contactHeader p+p {
    margin-left: 10px;
}

.headerTab {
    color: #444444;
    font-size: clamp(1.125rem, 3vw, 1.5625rem);
    line-height: 1.3;
}

.headerTab a {
    color: #ffffff;
    background: #683287;
    font-size: 1rem;
    transition: all 500ms;
    padding: 5px 15px;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    font-family: "Montserrat", sans-serif;
}

.headerTab a:hover {
    background: #4d0b74;
}

/* ------------------------------------------------ headerpic ----------------------------------------------- */

#headerpic {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    padding: 20px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    z-index: 12;
    border-radius: 5px;
}

@media (min-width: 992px) {
    #headerpic {
        background: url('../img/bg-Bannerbereich.png'), #ffffff;
        background-position: right bottom;
        background-repeat: no-repeat;
        background-size: contain;
        padding: 45px;
    }
}

@media (min-width: 1200px) {
    #headerpic {
        max-width: 1200px !important;
        width: 100%;
    }
}

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

#slider {
    max-height: 390px;
    overflow: hidden;
    position: relative;
    overflow: unset;
    padding-top: 30px;
    border-radius: 5px;
}

.slider-wrapper {
    height: 100%;
}

@media (min-width: 768px) {
    .noPadding {
        padding-left: 0;
        padding-right: 0;
    }

    #slider {
        padding-top: 0px;
    }
}

/*********** Banner Arrows *************/

#slider .nivo-directionNav a {
    display: block;
    width: 45px;
    height: 45px;
    text-indent: -9999px;
    border: 0;
    opacity: 0;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
    z-index: 14;
    opacity: 1;
    background: #ffffff;
}

#slider .nivo-directionNav a {
    position: absolute;
    top: unset !important;
    bottom: 0px;
    right: 0px;
    z-index: 9;
    cursor: pointer;
}

#slider a.nivo-prevNav {
    bottom: 0px;
    left: unset;
    right: 60px;
}

@media (min-width: 992px) {
    #slider .nivo-directionNav a {
        bottom: -45px;
    }

    #slider a.nivo-prevNav {
        bottom: -45px;
    }
}

#slider a.nivo-prevNav::after,
#slider a.nivo-nextNav::after {
    content: '\203A';
    position: absolute;
    left: 32%;
    color: #3f3f3f;
    z-index: 15;
    font-size: 65px;
    text-indent: initial;
    line-height: 0px;
    top: 16px;
}

#slider a.nivo-prevNav::after {
    content: '\2039';
}

#slider .nivo-directionNav a:hover,
#slider .nivo-directionNav a:focus {
    background: #683287;
}

#slider a.nivo-prevNav:hover::after,
#slider a.nivo-nextNav:hover::after {
    color: #ffffff;
}

/********** BannerDots *********/

.slider-wrapper .nivo-controlNav {
    bottom: 10px !important;
    right: 16px;
}

@media (max-width: 992px) {
    .slider-wrapper .nivo-controlNav {
        right: unset;
        left: 16px;
        bottom: auto !important;
        top: 0 !important;
    }
}

@media (max-width: 767px) {
    .slider-wrapper .nivo-controlNav {
        top: 30px !important;
    }
}

.slider-wrapper .nivo-controlNav {
    text-align: center;
    position: absolute;
    bottom: 0px;
    z-index: 50;
    margin: 0px auto;
    padding: 0px;
    width: unset;
}

.slider-wrapper .nivo-controlNav a {
    display: inline-block;
    width: 15px;
    height: 15px;
    text-indent: -9999px;
    border: 0;
    margin: 0 6px;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #010101;
}

.slider-wrapper .nivo-controlNav a.active,
.slider-wrapper .nivo-controlNav a:hover,
.slider-wrapper .nivo-controlNav a:focus {
    background: #ffffff;
}

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

@media (max-width: 767px) {
    .slider-wrapper .nivo-controlNav a {
        display: inline-block;
    }

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

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

@media (max-width: 991px) {
    #optionsbar {
        padding: 0 15px 20px 15px;
    }
}

@media (min-width: 992px) {
    #optionsbar {
        position: absolute;
        left: 0;
        z-index: 99;
        top: 24%;
    }
}

.buttonAside {
    background: #683287;
    padding: 12px 55px 12px 15px;
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.buttonAside a {
    color: #ffffff;
}

@media (min-width: 992px) {
    .buttonAside {
        min-height: 60px;
        position: relative;
        left: -240px;
        width: 300px;
        white-space: nowrap;
        -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;
        margin-bottom: 20px;
    }

    .buttonAside:hover {
        left: 0;
        background: #683287;
    }

    .buttonAside::before {
        content: '';
        display: block;
        position: absolute;
        top: 10px;
        bottom: 0;
        right: 12px;
        height: 40px;
        width: 40px;
    }

    .contrast_dark_font .buttonAside::before {
        background-color: #010101 !important;
    }

    .firstBTN::before {
        background: url('../img/icon-kontrast.png');
    }

    .secondBTN::before {
        background: url('../img/icon-Schriftgroeße.png');
    }

    .thirdBTN::before {
        background: url('../img/Icon-Suche.png');
    }
    .fourthBTN::before {
        background: url('../img/icon-sprache.png');
    }
}

#language {
    text-align: center;
    font-weight: 700;
}

#language a {
    padding: 5px;
    border: 1px solid #fff;
    border-radius: 50%;
}

#language a:hover {
    background: #fff;
    color: #4d0b74;
    transition: all 300ms;
}

#language a+a {
    margin-left: 8px;
}
/* ------------------------------------------------ search ----------------------------------------------- */

#search {
    height: 36px;
    display: inline-block;
    position: relative;
}

#search_input {
    color: #ffffff;
    font-size: 14px;
    font-style: italic;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 36px;
    padding-left: 15px;
    padding-right: 53px;
    height: 36px;
    width: 100%;
}

#search_input::-ms-input-placeholder {
    color: #ffffff !important;
}

#search_input::-webkit-input-placeholder {
    color: #ffffff !important;
}

#search_input::-moz-placeholder {
    opacity: 1;
}

#search_input:-moz-placeholder {
    opacity: 1;
}

/* ------------------------------------------------ contrast & style ----------------------------------------------- */

#style {
    padding: 3px 22px 3px 22px;
    text-align: center;
}

#contrast_style {
    padding: 3px 22px 3px 22px;
    text-align: center;
    display: flex;
}

@media (min-width: 992px) {
    #style button {
        border: none;
        color: #3f3f3f;
        display: inline-block;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        font-weight: 400;
        text-align: center;
        background-color: #ffffff;
        position: relative;
        line-height: 1;
        transition: all, 300ms;
        font-size: 16px;
        padding: 0;
    }

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

    #style button:hover {
        background: #4d0b74;
        color: #ffffff;
    }
}

@media (min-width: 992px) {
    #contrast_style button+button {
        margin-left: 4px;
    }

    #contrast_style button {
        padding: 3px;
        border: none;
        background: transparent;
        display: inline-block;
        background: #ffffff;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        font-size: 0;
        position: relative;
    }

    #contrast_style button::after {
        content: "";
        display: block;
        position: absolute;
        top: 6px;
        right: 6px;
        left: 6px;
        bottom: 6px;
        border: 1px solid #010101;
        border-radius: 50%;
    }

    #contrast_style button:nth-of-type(1)::after {
        background: linear-gradient(to right, #ffffff, #ffffff 50%, #0076a8 50%);
        transition: all 300ms linear;
    }

    #contrast_style button:nth-of-type(2)::after {
        background: linear-gradient(to right, #0076a8, #0076a8 50%, #ffffff 50%);
        transition: all 300ms linear;
    }

    #contrast_style button:nth-of-type(3)::after {
        background: #0076a8;
        transition: all 300ms linear;
    }

    #contrast_style button:nth-of-type(1):hover::after,
    #contrast_style button:nth-of-type(1):focus:after {
        background: linear-gradient(to right, #ffffff, #ffffff 50%, #4d0b74 50%);
    }

    #contrast_style button:nth-of-type(2):hover::after,
    #contrast_style button:nth-of-type(2):focus:after {
        background: linear-gradient(to right, #4d0b74, #4d0b74 50%, #ffffff 50%);
    }

    #contrast_style button:nth-of-type(3):hover::after,
    #contrast_style button:nth-of-type(3):focus:after {
        background: #4d0b74;
    }
}

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

main {
    text-align: left;
    padding-top: 0;
    padding-bottom: 30px;
}

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

@media (min-width: 992px) {
    main {
        padding-bottom: 95px;
    }

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

.hrBox hr {
    background: #e7e7e7;
    opacity: 1;
    height: 3px;
    margin-top: 25px;
    margin-bottom: 15px;
}

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

#news {
    padding-bottom: 5px;
}

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

#news .tab {
    border-radius: 3px;
    background-color: #581e76;
    overflow: hidden;
    padding: 30px;
    color: #ffffff;
}

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

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

@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: 0.875rem;
    position: relative;
    width: 100%;
    color: #444444;
}

#news .tab_link_title a {
    line-height: 1.2;
    font-weight: 500;
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
    color: #0076a8;
    font-family: "Montserrat", sans-serif;
}

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

#news .tab a {
    color: #ffffff;
    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);
    }

    #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(33.33% - 20px);
    }

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

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

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

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

#news .tab_preview_picture {
    background: #ffffff;
}

#news .tab_link_entry::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_entry::before {
    content: "";
    background: #ffffff url("../img/Platzhalter.png") 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.875rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    position: absolute;
    left: -1px;
    top: 105px;
    z-index: 1;
    display: inline-block;
    padding: 6px 20px;
    background: #0076a8;
    color: #ffffff;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

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

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

#news .buttonStyle a {
    -moz-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -ms-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -o-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -webkit-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    transition: background 300ms linear, color 300ms linear, border 300ms linear;
    background: #0076a8;
    border-radius: 3px;
    color: #ffffff;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 20px;
    text-decoration: none;
}

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

#news .buttonStyle a::after {
    bottom: 1px;
    content: "\00BB";
    margin-left: 4px;
    position: relative;
}

#news .buttonStyle a:hover,
#news .buttonStyle a:focus {
    background: #683287;
    color: #ffffff;
}

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

#events {
    padding-top: 20px;
}

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

#events .tab {
    border-radius: 3px;
    background-color: #581e76;
    overflow: hidden;
    padding: 30px;
    color: #ffffff;
}

#events .tabHeadline {
    color: #ffffff;
    margin: 0 0 20px 0;
    font-weight: 700;
}

@media (min-width: 768px) {
    #events .tabHeadline {
        margin: 0 0 25px 0;
        font-size: 1.5rem;
    }
}

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

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

#events .tab_link_entry {
    font-size: 0.875rem;
    position: relative;
    width: 100%;
    color: #444444;
}

#events .tab_link_title a {
    line-height: 1.2;
    font-weight: 500;
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
    color: #0076a8;
    font-family: "Montserrat", sans-serif;
}

@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 a {
    color: #ffffff;
    text-decoration: underline;
}

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

#events .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) {
    #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(33.33% - 20px);
    }

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

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

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

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

#events .tab_preview_picture {
    background: #ffffff;
}

#events .tab_link_entry::before,
#events .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;
}

#events .tab_link_entry::before {
    content: "";
    background: #ffffff url("../img/Platzhalter.png") center / cover no-repeat;
}

#events .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%);
}

#events .tab_date {
    font-size: 0.875rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    position: absolute;
    left: -1px;
    top: 105px;
    z-index: 1;
    display: inline-block;
    padding: 6px 20px;
    background: #0076a8;
    color: #ffffff;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

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

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

#events .buttonStyle a {
    -moz-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -ms-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -o-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -webkit-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    transition: background 300ms linear, color 300ms linear, border 300ms linear;
    background: #0076a8;
    border-radius: 3px;
    color: #ffffff;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 20px;
    text-decoration: none;
}

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

#events .buttonStyle a::after {
    bottom: 1px;
    content: "\00BB";
    margin-left: 4px;
    position: relative;
}

#events .buttonStyle a:hover,
#events .buttonStyle a:focus {
    background: #683287;
    color: #ffffff;
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #556f7c;
    font-weight: 500;
    line-height: 1.2;
    font-family: "Montserrat", sans-serif;
}

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

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

h3, .h3, .legacy_h3 {
    font-size: 25.6px;
}

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

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

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

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

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

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

#newslinks, #newsmandate {
    border: 1px solid #556f7c;
}

/* ----------------------------------------------- sponsor ----------------------------------------------- */

#sponsor {
    padding-top: 20px;
    padding-bottom: 30px;
    background-color: #ffffff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

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

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

.lastFooter {
    background-color: #683287;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 30px;
    padding-bottom: 30px;
    color: #ffffff;
    font-size: 1rem;
}

@media (min-width: 992px) {
    .lastFooter {
        padding-top: 80px;
        padding-bottom: 25px;
    }
}

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

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

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

#scrollTopBtn {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    padding-right: 45px;
}

#scrollTopBtn::after {
    content: '';
    position: absolute;
    height: 40px;
    width: 40px;
    right: 0;
    background: #ffffff url('../img/Pfeil.png') center no-repeat;
    border-radius: 3px;
    margin: auto;
    top: 0;
    bottom: 0;
    color: #3f3f3f;
    transition: background-color 300ms linear;
}

#scrollTopBtn:hover::after,
#scrollTopBtn:focus::after {
    background-color: rgba(255, 255, 255, 0.8);
}

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

#innerfooter {
    padding-top: 25px;
}

#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.875rem;
}

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

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

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

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

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

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

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

@media (min-width: 992px) {
    #vernetzt {
        font-size: 1rem;
    }
}

#vernetzt b {
    color: #ffffff;
    font-weight: 400;
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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