@import url('https://fonts.verwaltungsportal.de/import/?family=Source+Sans+Pro:400,400i');
@import url("https://fonts.verwaltungsportal.de/import/?family=Patrick+Hand:400");

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

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

@media (max-width: 1199px) {
    body {
        position: relative;
    }
    body::before {
        content: '';
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(255, 255, 255, 0.7);
        pointer-events: none;
    }
}

a {
    color: #108094;
}

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

b, strong {
    font-weight: 600;
}

@media (min-width: 1200px) {
    .row, .compact, ._op-container .container {
        max-width: 1440px;
        width: 100%;
    }
}

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

#topbar {
    padding: 40px 0;
}

#logo {
    display: inline-block;
    position: relative;
    z-index: 2;
    padding: 6px 0;
}


#logo::before, #logo::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
}

#logo img {
    display: block;
    position: relative;
    z-index: 1;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: none !important;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #ffffff;
        -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: #004261;
        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: 5px;
        right: 40px;
    }

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

@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) {
    #navContainer {
        position: relative;
        z-index: 99;
    }

    nav {
        border-radius: 2px;
        padding: 2px 2px 30px 2px;
        background: #ffffff;
        position: relative;
        -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
        box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    }

    .navbar-default .navbar-nav {
        width: 100%;
    }

    .navbar-default .navbar-nav>li {
        display: block !important;
        width: 100%;
        float: none;
    }

    .navbar-default .navbar-nav>li {
        position: relative;
    }

    .navbar-default .navbar-nav>li>ul {
        position: absolute !important;
        left: 100%;
        top: 0 !important;
        z-index: 1000;
        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 .navbar-nav>li.open:hover>.dropdown-menu,
    .navbar-default .navbar-nav>li:hover>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        z-index: 1003;
    }

    .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 .navbar-nav>li.open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        opacity: 1;
    }
}

@media (min-width: 1200px) {
    nav {
        padding: 30px 20px;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 10px 35px 10px 10px;
    position: relative;
    font-size: 1.125rem;
    background: #bd5b00;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li+li>a {
    margin-top: 2px;
}

.navbar-default .navbar-nav>li>a::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 24px 20px 0;
    border-color: transparent #dfaa37 transparent transparent;
    z-index: 2;
    opacity: 0;
    -webkit-transition: opacity 0.3s 0s ease;
    -moz-transition: opacity 0.3s 0s ease;
    -o-transition: opacity 0.3s 0s ease;
    transition: opacity 0.3s 0s ease;
}

.navbar-default .navbar-nav>li>a::after {
    content: '';
    position: absolute;
    top: 0;
    right: 5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 24px 20px 0;
    border-color: transparent #ffffff transparent transparent;
    z-index: 1;
    opacity: 0;
    -webkit-transition: opacity 0.3s 0s ease;
    -moz-transition: opacity 0.3s 0s ease;
    -o-transition: opacity 0.3s 0s ease;
    transition: opacity 0.3s 0s ease;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 9px 15px;
    }
}

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

.navbar-default .navbar-nav>li:nth-child(12n + 3)>a {
    background-color: #a61723;
}

.navbar-default .navbar-nav>li:nth-child(12n + 4)>a {
    background-color: #a61768;
}

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

.navbar-default .navbar-nav>li:nth-child(12n + 6)>a {
    background-color: #444285;
}

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

.navbar-default .navbar-nav>li:nth-child(12n + 8)>a {
    background-color: #108094;
}

.navbar-default .navbar-nav>li:nth-child(12n + 9)>a {
    background-color: #0f8575;
}

.navbar-default .navbar-nav>li:nth-child(12n + 10)>a {
    background-color: #0f8575;
}

.navbar-default .navbar-nav>li:nth-child(12n + 11)>a {
    background-color: #106e50;
}

.navbar-default .navbar-nav>li:nth-child(12n + 12)>a {
    background-color: #166124;
}

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

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li.open>a,
.navbar-default .navbar-nav>li.open>a:hover,
.navbar-default .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: #ffffff;
}

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

.navbar-default .navbar-nav>li>a:hover::before,
.navbar-default .navbar-nav>li>a:focus::before,
.navbar-default .navbar-nav>li.open>a::before,
.navbar-default .navbar-nav>li.open>a:hover::before,
.navbar-default .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,
.navbar-default .navbar-nav>li>a:hover::after,
.navbar-default .navbar-nav>li>a:focus::after,
.navbar-default .navbar-nav>li.open>a::after,
.navbar-default .navbar-nav>li.open>a:hover::after,
.navbar-default .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 {
    opacity: 1;
}

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

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

.navbar-default .navbar-nav>li>.dropdown-menu {
    padding: 10px;
    background: #ffffff;
    border-radius: 2px;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: -20px;
        padding: 20px 20px;
        min-width: 360px;
        max-width: 500px;
        margin-left: 50px;
        min-height: 200px;
        -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
        box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li {
        margin-bottom: 2px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::before,
    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        content: "";
        position: absolute;
        display: block;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        width: 50px;
        top: 0;
        bottom: 0;
        left: -50px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        top: 12px;
        left: -24px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 17px 24px 17px 0;
        border-color: transparent #ffffff transparent transparent;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    margin: 0px;
    padding: 4px 0;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        display: block !important;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #444444;
    font-size: 1rem;
    text-align: left;
    position: relative;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    padding: 8px 35px 8px 10px;
    background: #fff1d2;
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a {
        padding: 10px 20px;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    padding: 6px 15px 6px 38px;
    font-weight: 400;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: "\00BB";
    display: block;
    position: absolute;
    top: 15px;
    line-height: 0;
    left: 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 {
    background: #bd5b00;
    color: #ffffff;
}

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

.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 {
    color: #bd5b00;
}

.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    color: #bd5b00;
}

/* ----------------------------------------- contact ---------------------------------------- */

.contact {
    font-size: 0.875rem;
    width: 100%;
    padding: 30px 0;
}

@media(min-width:992px) {
    .contact {
        padding: 0 0 30px 0;
    }
}

@media(min-width:1200px) {
    .contact {
        font-size: 1rem;
        padding: 0 0 50px 0;
    }
}

.contact a {
    text-decoration: underline;
}

.contact h1, .contact h2, .contact h3, .contact h4, .contact h5, .contact h6, .contact a, .contact {
    color: #ffffff;
}

.contact .tabHeadline {
    font-size: 1.5625rem;
    font-weight: 700;
    font-variant: small-caps;
}

#options {
    padding: 15px 0;
    height: 150px;
    width: 100%;
}

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

form[id^="search"] {
    height: 37px;
    background: #f4f4f4;
    display: inline-block;
    position: relative;
    border-radius: 30px;
    width: 100%;
    max-width: 210px;
    margin-left: auto;
    margin-right: auto;
}

@media(min-width:992px) {
    form[id^="search"] {
        width: 250px;
        max-width: 250px;
        margin-left: 0;
        margin-right: 0;
    }
}

form [id^="search_input"] {
    color: #6e6e6e;
    font-size: 15px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 37px;
    padding-left: 14px;
    padding-right: 47px;
    height: 37px;
    width: 100%;
    border-radius: 30px;
}

form [id^="search_submit"] {
    width: 37px;
    height: 37px;
    border: none;
    background-color: #bb491d;
    background-image: url('../img/lupe-icon.png') !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0;
}

form [id^="search_submit"]:hover, form [id^="search_submit"]:focus {
    background-color: #ae1926;
}

[id^="search_input"]::-ms-input-placeholder {
    color: #6e6e6e !important;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #6e6e6e !important;
}

[id^="search_input"]::-moz-placeholder {
    opacity: 1;
}

/* --------------------------------------------- contrast + styler ------------------------------------------- */

@media (min-width: 992px) {
    #topbar>.row>div:last-child {
        flex-wrap: wrap;
    }

    #style {
        width: 100%;
    }
}

#style button {
    font-size: 18px;
    padding: 0;
    border: none;
    color: #1f5285;
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    background: #ffffff;
    position: relative;
    line-height: 1;
}

#contrast_style {
    font-size: 0;
}

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

@media(min-width:1200px) {
    #style button+button {
        margin-left: 8px;
    }
}

#style button:hover, #style button:focus {
    background: #108094;
    color: #ffffff;
}

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

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

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

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

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

.slider-wrapper {
    height: auto !important;
}

.slider-mask {
    display: none;
}

body {
    background-position: top right;
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
    header {
        position: relative;
        overflow: hidden;
    }
}

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

@media (min-width: 992px) {
    #headerpic .nivo-directionNav {
        position: absolute;
        z-index: 60;
        left: 0;
        bottom: 0;
        background: #1f5285;
        width: 305px;
        height: 94px;
    }

    #headerpic .nivo-directionNav::after {
        content: "";
        position: absolute;
        left: 285px;
        height: 94px;
        background: #1f5285;
        width: 40px;
        -moz-transform: skewX(20deg);
        -webkit-transform: skewX(20deg);
        -o-transform: skewX(20deg);
        -ms-transform: skewX(20deg);
        transform: skewX(20deg);
    }

    #headerpic .nivo-directionNav a {
        opacity: 1;
        top: 50%;
        margin-top: -19px;
        background: transparent;
        width: 38px;
        height: 38px;
        border-radius: 50%;
    }

    #headerpic .nivo-directionNav a:hover, #headerpic .nivo-directionNav a:focus {
        background: rgba(0, 0, 0, 0.3);
    }

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

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

    #headerpic a.nivo-prevNav::after, #headerpic a.nivo-nextNav::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        margin-top: -8px;
        display: block;
        width: 13px;
        height: 13px;
        border-left: 3px solid #ffffff;
        border-top: 3px solid #ffffff;
    }

    #headerpic a.nivo-prevNav::after {
        margin-left: -6px;
        -moz-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #headerpic a.nivo-nextNav::after {
        margin-left: -11px;
        -moz-transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        transform: rotate(135deg);
    }
}

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

@media (min-width: 992px) {
    #headerpic .nivo-controlNav {
        position: absolute;
        z-index: 61;
        left: 70px;
        height: 70px;
        bottom: 12px;
        right: auto;
        width: 175px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        align-items: center;
    }

    #headerpic .nivo-controlNav a {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: transparent;
        border: 1px solid #ffffff;
        margin: 5px;
    }

    #headerpic .nivo-controlNav a:hover, #headerpic .nivo-controlNav a:focus, #headerpic .nivo-controlNav a.active {
        background: #dfaa37;
    }
}

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

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

@media (min-width: 992px) {
    #mainContent {
        padding-bottom: 80px;
        padding-top: 35px;
    }
}



#tabs .tab_link_title a {
    font-weight: 600;
    color: inherit;
}

#tabs .tab_spacer {
    height: 15px;
}

@media (min-width: 992px) {
    #tabs .tab_spacer {
        height: 25px;
    }
}

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

#tabs .tab_link_mehr a {
    color: #8c111c;
    display: inline-block;
    padding: 4px 8px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -ms-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
}

#tabs .tab_link_mehr a:hover, #tabs .tab_link_mehr a:focus {
    border-color: #8c111c;
}

#tabs .tab_link_mehr a::after {
    content: "lesen \00BB";
}

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

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

h1, .h1, .legacy_h1 {
    font-size: calc(1.875rem + (50 - 30) * (100vw - 320px) / (1920 - 320));
}

h2, .h2, .legacy_h2 {
    font-size: calc(1.75rem + (40 - 28) * (100vw - 320px) / (1920 - 320));
}

h3, .h3, .legacy_h3 {
    font-size: calc(1.625rem + (35 - 26) * (100vw - 320px) / (1920 - 320));
}

h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
    font-size: calc(1.5rem + (30 - 24) * (100vw - 320px) / (1920 - 320));
}

h5, .h5, .legacy_h5 {
    font-size: calc(1.375rem + (26 - 22) * (100vw - 320px) / (1920 - 320));
}

h6, .h6, .legacy_h6 {
    font-size: calc(1.25rem + (22 - 20) * (100vw - 320px) / (1920 - 320));
}

#newslinks, #newsmandate {
    border: 1px solid #8c111c;
}

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

#events {
    position: relative;
}

@media (max-width: 991px) {
    #events {
        background: #52453d;
    }
}

@media (min-width: 992px) {
    #events {
        margin-bottom: -115px;
    }
}

#events>.row>div {
    padding-top: 35px;
    padding-bottom: 35px;
}

@media (min-width: 992px) {
    #events>.row>div {
        background: #52453d;
    }
}

#events>.row>div {
    position: relative;
    z-index: 1;
}

#events h1,
#events h2,
#events h3 {
    color: #bd5b00;
    font-size: 1.875rem;
}

#events>.row>div::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    right: 0;
    left: -15px;
    background: #f2f2f2;
}

#events>.row>div::before {
    content: '';
    position: absolute;
    right: 30px;
    bottom: 0;
    top: -95px;
    left: 0;
    background: url('../img/termine-kinder-rechts.png') bottom right no-repeat;
    pointer-events: none;
    background-size: 25%;
}

#events>.row::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    top: -100px;
    left: 2px;
    background: url('../img/termine-kinder-links.png') bottom left no-repeat;
    z-index: 2;
    background-size: 14%;
    pointer-events: none;
}

@media (min-width: 992px) {
    #events>.row>div::after {
        left: calc((100vw - 992px) / -2);
    }

    #events h1,
    #events h2,
    #events h3 {
        font-size: 3.75rem;
        margin-left: 30px;
    }
}

@media (min-width: 1200px) {
    #events>.row>div::after {
        left: calc((100vw - 1440px) / -2);
    }
}

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

@media (min-width: 768px) and (max-width: 991px) {
    #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: 992px) {
    #events .tab_link_entry {
        width: calc(33.33% - 20px);
    }

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

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

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

    #events .tab_link {
        padding-right: 50px;
    }
}

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

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

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

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

#events .tab_link_entry {
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.9);
}

#events .tab_link_title a {
    color: #ae1926;
    font-weight: 600;
    margin-bottom: 6px;
    display: inline-block;
}

#events .tab_link_mandat a {
    color: inherit;
}

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

@media (max-width: 767px) {
    #events .tab_link_mehr {
        margin-top: 30px;
        text-align: left;
    }
}

@media (min-width: 768px) {
    #events .tab_link_mehr {
        top: 18%;
        position: absolute;
        left: 38%;
        white-space: nowrap;
    }
}

@media (min-width: 992px) {
    #events .tab_link_mehr {
        top: 18%;
        position: absolute;
        left: 38%;
    }
}

#events .tab_link_mehr a {
    color: #ffffff;
    background: #108094;
    display: inline-block;
    padding: 10px 15px;
    font-size: 1.125rem;
    font-weight: 400;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    #events .tab_link_mehr a {
        padding: 10px 15px;
    }
}

@media (min-width: 1200px) {
    #events .tab_link_mehr a {
        font-size: 1.25rem;
        padding: 10px 28px;
    }
}

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

#events .tab_link_mehr a:hover, #events .tab_link_mehr a:focus {
    background: #444285;
}

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

footer {
    background: #1f5285 url('../img/icon-footer.png') bottom 20px right no-repeat;
    padding-top: 40px;
    padding-bottom: 40px;
    color: #ffffff;
    font-size: 1rem;
}

@media (min-width: 992px) {
    footer {
        padding-top: 160px;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

#innerfooter a {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid transparent;
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -ms-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
}

#innerfooter a:hover, #innerfooter a:focus {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

@media (min-width:500px) {
    #innerfooter li {
        display: inline-block;
    }

    #innerfooter li+li::before {
        content: "\2022";
        margin: 0 8px;
        color: #ffffff;
    }
}

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

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

#vernetzt {
    text-align: right;
    font-size: 0.9375rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 35px auto 0 auto;
    text-decoration: none;
}

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

#vernetzt span span {
    display: block;
}

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