@import url('https://fonts.verwaltungsportal.de/import/?family=Comfortaa:400,400i,700,700i%7CYanone+Kaffeesatz:700,700i');

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

a {
    color: #ce4422;
}

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

main a,
b,
strong {
    font-weight: 700;
}

#overflow {
    overflow: hidden;
}

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

#topbar {
    background: url(../img/header-pattern.png) no-repeat;
    background-attachment: fixed;
    background-size: contain;
}

@media (min-width: 992px) {

    #topbar>.row>div:last-child {
        padding-top: 19px;
        padding-bottom: 19px;
    }

    #topbar>.row>div>*:not(:last-child) {
        border-right: 1px solid rgba(0, 0, 0, 0.12);
        margin-right: 30px;
        padding-right: 25px;
    }
}


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

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

@media (min-width: 992px) {
    .logo {
        position: absolute;
        left: 15px;
        top: -70px;
        z-index: 50;
        display: block;
    }

    .logoSticky {
        opacity: 0;
        pointer-events: none;
        position: absolute;
        text-align: center;
        top: 0;
        left: 15px;
        right: 15px;
        -webkit-transition: opacity 200ms linear;
        -moz-transition: opacity 200ms linear;
        -ms-transition: opacity 200ms linear;
        -o-transition: opacity 200ms linear;
        transition: opacity 200ms linear;
    }

    .is-sticky .logoSticky {
        opacity: 1;
        pointer-events: auto;
    }

    .logoSticky img {
        max-height: 224px;
    }
}

.logo img {
    display: block;
}

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

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

/* burgermenu for tablet */

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

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #261853;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

    #burgerButton[aria-expanded="true"] #burgerButtonInner2 {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

    #burgerButton:after {
        top: 32px;
        content: "";
        display: block;
    }

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        padding-top: 30px;
        top: 0;
        background: #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: 6px;
        right: 0;
    }

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

@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) {

    /* Fade in Hover Start */
    .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;
    }

    /* Pseudo */

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

    /* 3rd */

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

    /* Fade in Hover End */

    #menu,
    #menu-sticky-wrapper {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        z-index: 49;
        -webkit-transition: background 300ms linear;
        -moz-transition: background 300ms linear;
        -ms-transition: background 300ms linear;
        -o-transition: background 300ms linear;
        transition: background 300ms linear;
    }

    .is-sticky #menu,
    #menu-sticky-wrapper.is-sticky {
        z-index: 59;
    }

    .is-sticky #menu {
        background: url(../img/header-pattern.png) repeat-x, #fff;
        background-size: contain;
        border-bottom: 1px solid #e6e6e6;
    }

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

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

    .navbar-default .navbar-nav li[class*="toplevel"]>ul {
        pointer-events: none;
        position: absolute;
        opacity: 0;
        top: 100%;
        left: 0;
        right: 15px;
        z-index: 1000;
        padding: 30px 0;
        -webkit-transition: top 300ms linear, opacity 300ms linear;
        -moz-transition: top 300ms linear, opacity 300ms linear;
        -ms-transition: top 300ms linear, opacity 300ms linear;
        -o-transition: top 300ms linear, opacity 300ms linear;
        transition: top 300ms linear, opacity 300ms linear;
    }

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

    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;
    }
}

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

.navbar-default .navbar-nav>li>a {
    background: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 12px 0;
    position: relative;
    font-size: 1.5rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Yanone Kaffeesatz", sans-serif;
}

.navbar-default .navbar-nav>li:nth-child(2n+1)>a {
    color: #ce4422;
}

.navbar-default .navbar-nav>li:nth-child(2n+2)>a {
    color: #422b4f;
}


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

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

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

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

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

.navbar-default .navbar-nav>li>a::after {
    content: "";
    position: absolute;
    border-bottom: #50c1a8 4px solid;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity 300ms linear, width 300ms linear;
    -moz-transition: opacity 300ms linear, width 300ms linear;
    -ms-transition: opacity 300ms linear, width 300ms linear;
    -o-transition: opacity 300ms linear, width 300ms linear;
    transition: opacity 300ms linear, width 300ms linear;
}

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

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

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

@media (min-width: 992px) {

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

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

@media (max-width: 991px) {
    .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 {
    left: 0;
}
}

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

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

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

@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>li>.dropdown-menu {
        margin-top: -18px;
        margin-left: 10px;
    }

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #2b2b2b;
    font-weight: 400;
    text-align: left;
    padding: 9px 25px;
    font-size: 0.938rem;
    line-height: 1.2;
    text-decoration: none;
}

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

.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: #50c1a8;
    color: #2b2b2b;
}


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

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

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

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

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

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

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

@media (min-width: 768px) {
    #headerpic .theme-default .nivo-controlNav {
        bottom: 60px;
        z-index: 48;
    }
}

@media (min-width: 1200px) {
    #headerpic .theme-default .nivo-controlNav {
        bottom: 130px;
    }
}

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

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

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

main {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

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

#content {
    background: linear-gradient(to top, #422b4f, #422b4f 131px, rgba(255, 255, 255, 0) 131px), url('../img/footer-overlay.png') center bottom / 100% auto no-repeat;
}

@media (min-width: 992px) {
    #content {
        background: linear-gradient(to top, #422b4f, #422b4f 131px, rgba(255, 255, 255, 0) 131px), url('../img/footer-overlay.png') center bottom 130px / 100% auto no-repeat, url('../img/background-overlay.svg') center top / 100% auto repeat-y;
    }
}

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

@media (min-width: 768px) {
    #contentBG {
        margin-top: -50px;
    }
}

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

@media (min-width: 1200px) {
    #contentBG {
        margin-top: -120px;
    }
}

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

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

main h1 i,
main h1 em,
main h1 span,
main h2 i,
main h2 em,
main h2 span {
    font-style: normal;
    color: #422b4f;
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    font-family: "Comfortaa", sans-serif;
    display: block;
}

h1,
.h1,
.legacy_h1 {
    font-size: 2rem;
    text-transform: uppercase;
    padding-left: 20px;
    position: relative;
}

@media (min-width: 768px) {

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

h1::after,
.h1::after,
.legacy_h1::after {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 4px;
    background: #50c1a8;
}

#tabs .tabHeadline h2::after, #tabs .tabHeadline .h2::after, #tabs .tabHeadline .legacy_h2::after  {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 4px;
    background: #e78766;
}

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

#newslinks,
#newsmandate {
    border: 1px solid #422b4f;
}

/* ------------------------------------------------- tabs ------------------------------------------------- */

#tabs {
    padding: 40px 15px;
    font-size: 0.8125rem;
    background: #fff;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
    #tabs {
        padding: 60px 30px;
        margin-top: -80px;
        position: relative;
        z-index: 55;
    }
}

#tabs>.row>*+* {
    margin-top: 30px;
}

#tabs .tabHeadline,
#tabs .tabHeadline a {
    color: #422b4f;
}

#tabs .tabHeadline a {
    text-decoration: underline;
}

#tabs .tabHeadline h1,
#tabs .tabHeadline h2,
#tabs .tabHeadline h3,
#tabs .tabHeadline h4,
#tabs .tabHeadline h5,
#tabs .tabHeadline h6,
#tabs .tabHeadline h1 span,
#tabs .tabHeadline h1 i,
#tabs .tabHeadline h1 em,
#tabs .tabHeadline h2 span,
#tabs .tabHeadline h2 i,
#tabs .tabHeadline h2 em {
    color: #422b4f;
    margin: 0;
}

#tabs h1, h2, h3 {
    color: #ce4422;
}

#tabs .tabHeadline h1::after {
    background: rgba(255, 255, 255, 0.6);
}


#tabs .tab {
    padding: 15px;
    background: #ffffff;
    height: 100%;
    min-height: 100%;
}

#tabs .tab h1,
#tabs .tab h2,
#tabs .tab h3,
#tabs .tab h4,
#tabs .tab h5,
#tabs .tab h6 {
    font-size: 1.375rem;
    margin-bottom: 10px;
}

#tabs .tab img {
    display: block;
    width: 100%;
}

#tabs .tab a {
    font-weight: 700;
    font-size: 1.125rem;
    font-family: "Yanone Kaffeesatz", sans-serif;
    text-decoration: none;
}

#tabs .tab a:hover,
#tabs .tab a:focus {
    color: #261853;
}

#tabs .tab a::after {
    content: "\00BB";
    margin-left: 4px;
}

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

@media (min-width: 992px) {
    #tabs2 {
        margin-top: -10px;
        padding-left: 0;
        padding-bottom: 60px;
    }
}

#tabs2 .tab {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    padding: 30px 30px 85px 30px;
    font-size: 0.875rem;
    position: relative;
}

@media (min-width: 992px) {
    #tabs2 .tab {
        margin-left: -15px;
    }
}

@media (min-width: 1200px) {
    #events .tab_link {
        padding-right: 65px;
    }
}

#tabs2 .tab1 {
    padding-bottom: 0;
}

#tabs2 .tab2 {
    background: #f9f9f9;
    color: #2b2b2b;
}

#tabs2 .tabHeadline {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    font-family: "Yanone Kaffeesatz", sans-serif;
}

@media (min-width: 992px) {
    #tabs2 .tabHeadline {
        margin: 0 0 18px 0;
    }
}

#tabs2 .tab1 .tabHeadline {
    color: #422b4f;
}

#tabs2 .tab2 .tabHeadline {
    color: #422b4f;
}

#tabs2 .tab_link_mandat a {
    font-weight: 400;
}

#tabs2 .tab_link_title a,
#tabs2 .tab_link_mandat a {
    color: inherit;
}

#tabs2 .tab_spacer {
    display: none;
}

#tabs2 .tab_link_entry {
    position: relative;
}

#tabs2 .tab_link_entry+.tab_link_entry {
    margin-top: 24px;
}

#tabs2 .tab_link_entry+.tab_link_entry::before {
    content: "";
    display: block;
    position: absolute;
    top: -12px;
    left: -30px;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(246, 88, 33, 0.5) 10%, rgba(255, 255, 255, 0));
}

#tabs2 .tab_link_mehr {
    font-size: 0;
    color: transparent;
}

#tabs2 .tab_link_mehr a {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #50c1a8;
    font-weight: 700;
    font-family: "Yanone Kaffeesatz", sans-serif;
    text-align: left;
    padding: 14px 30px;
    text-decoration: none;
    line-height: 1.2;
}

#tabs2 .tab_link_mehr a:hover,
#tabs2 .tab_link_mehr a:focus {
    background: #63dbc1;
}

#tabs2 .tab_link_mehr a::after {
    font-size: 1.125rem;
    color: #2b2b2b;
}

#events .tab_link_mehr a::after {
    content: "alle Veranstaltungen \00BB";
}

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

#news .tab_link_mehr a::after {
    content: "alle Neuigkeiten \00BB";
}

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

#news .tab_link_entry {
    border: none !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 80px;
    padding-left: 90px;
}

#news .tab_preview_picture,
#news .tab_link_entry::after {
    border-radius: 50%;
    width: 70px;
    height: 70px;
    overflow: hidden;
    display: inline-block;
    position: absolute;
    top: 50%;
    margin: -35px 0 0 0;
    left: 0;
}

#news .tab_preview_picture {
    z-index: 1;
}

#news .tab_preview_picture img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 110px;
    min-width: 100%;
    min-height: 100%;
    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%);
}

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

footer {
    background: #422b4f;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (min-width: 576px) {
    footer {
        padding-top: 0;
    }
}

@media (min-width: 992px) {
    footer {
        padding-bottom: 60px;
        margin-top: -20px;
    }
}

footer a {
    color: inherit;
}

#innerfooter ul {
    padding: 0;
}

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

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
}

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

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

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

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

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

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

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