@import url('https://fonts.verwaltungsportal.de/import/?family=Work+Sans:400,600,400i,600i');
body {
    font-family: "Work Sans", sans-serif;
    font-weight: 300;
    color: #3b3b3b;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
    letter-spacing: 0.3px;
}

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

a {
    color: #007542;
}

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

#content a, #footer a, b, strong {
    font-weight: 600;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

/* ------------------------------------------------ styler ---------------------------------------------- */

@media (min-width: 992px) {
    #style {
        display: inline-block;
        text-transform: uppercase;
        padding-left: 20px;
        flex-grow: 1;
        white-space: nowrap;
    }
    #style b {
        margin-right: 8px;
    }
    #style button {
        padding: 0;
        border: none;
        color: #fee600;
        display: inline-block;
        font-weight: 600;
        text-align: center;
        background: #095e6b;
        position: relative;
        line-height: 1;
        border-radius: 2px;
        width: 30px;
        height: 30px;
        margin-left: 1px;
    }
    #style button:hover, #style button:focus {
        background: #005673;
    }
}

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

form[id^="search"] {
    height: 30px;
    display: inline-block;
    position: relative;
}

@media (max-width: 991px) {
    form[id^="search"] {
        background: #00698c;
        margin: 10px 0 30px 0;
    }
}

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

form [id^="search_input"] {
    color: #ffffff;
    letter-spacing: 1px;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 12px;
    padding-right: 32px;
    height: 30px;
    width: 100%;
    outline: none !important;
}

@media (min-width: 992px) {
    form [id^="search_input"] {
        max-width: 96px;
        -webkit-transition: max-width 200ms linear;
        -moz-transition: max-width 200ms linear;
        -ms-transition: max-width 200ms linear;
        -o-transition: max-width 200ms linear;
        transition: max-width 200ms linear;
    }
    form [id^="search_input"]:hover, form [id^="search_input"]:focus {
        max-width: 180px;
    }
}

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

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

[id^="search_input"]::-ms-input-placeholder {
    color: #ffffff !important;
    text-transform: uppercase;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #ffffff !important;
    text-transform: uppercase;
}

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

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

nav {
    padding-top: 20px;
    padding-bottom: 30px;
    font-size: 13px;
    color: #ffffff;
    letter-spacing: 1px;
    position: relative;
}

@media (min-width: 576px) {
    nav {
        padding-bottom: 44px;
    }
}

.navbar-header {
    position: relative;
    z-index: 101;
}

@media (max-width: 991px) {
    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
    }
}

#burgerButton {
    font-size: 0;
    display: block;
    height: 50px;
    width: 50px;
    border-radius: 2px;
    padding: 6px 8px;
    cursor: pointer;
    border: none !important;
    position: relative;
    background: #00698c;
    outline: none;
}

@media (min-width: 992px) {
    #burgerButton {
        background: transparent;
        height: 40px;
        width: 86px;
        margin-left: 20px;
    }
    #burgerButton::before {
        content: "Menü";
        line-height: 1px;
        padding: 14px 4px;
        border-radius: 2px;
        display: block;
        color: #ffffff;
        font-weight: 600;
        text-transform: uppercase;
        position: absolute;
        left: 4px;
        top: 6px;
        font-size: 13px;
        -webkit-transition: background 200ms linear;
        -moz-transition: background 200ms linear;
        -ms-transition: background 200ms linear;
        -o-transition: background 200ms linear;
        transition: background 200ms linear;
    }
    #burgerButton:hover::before,
    #burgerButton:focus::before,
    #burgerButton[aria-expanded="true"]::before {
        background: #005673;
    }
}

#burgerButtonInner2, #burgerButton:after, #burgerButtonInner::after {
    content: "";
    display: block;
    background-color: #fee600;
    position: absolute;
    width: 28px;
    height: 2px;
    left: 11px;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

@media (min-width: 992px) {
    #burgerButtonInner2, #burgerButton:after, #burgerButtonInner::after {
        left: auto;
        right: 0;
    }
}

#burgerButton[aria-expanded="true"] #burgerButtonInner::after {
    -webkit-transform: rotate(-45deg) translate(-4px, 6px);
    transform: rotate(-45deg) translate(-4px, 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::after {
    top: 17px;
}

#burgerButtonInner2 {
    top: 24px;
}

#burgerButton:after {
    top: 31px;
}

@media (min-width: 992px) {
    #burgerButtonInner::after {
        top: 12px;
    }
    #burgerButtonInner2 {
        top: 19px;
    }
    #burgerButton:after {
        top: 26px;
        width: 14px;
        margin-right: 14px;
    }
    #burgerButton[aria-expanded="true"]:after {
        width: 28px;
        margin-right: 0;
    }
}

.navbar-collapse {
    top: 0;
    background: #ffffff;
    z-index: 100;
    height: auto !important;
    -webkit-box-shadow: 0 20px 100px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 20px 100px 0 rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
}

.navbar-collapse[aria-expanded="true"], .navbar-collapse.in {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        left: -100%;
        bottom: 0;
        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;
    }
    .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;
    }
    .navbar-nav {
        padding: 20px 0;
    }
    .dropdown-toggle-button-wrapper {
        top: 7px;
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }
    .navbar-collapse.collapse.in:after, .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav {
        padding-top: 44px;
    }
    .navbar {
        width: auto;
    }
    #megMenu {
        overflow-y: auto;
        min-height: 400px;
        max-height: 60vh;
        padding: 30px 25px;
        background: #ffffff;
    }
    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    nav.horizontally li[id*="toplevel"] {
        width: 25%;
        padding: 0 15px;
    }
    nav.horizontally li[id*="toplevel"]:not(:nth-child(4n+4)) {
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }
    .navbar-collapse {
        position: absolute;
        left: -485px;
        right: 15px;
        top: 100%;
        -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-collapse[aria-expanded="true"], .navbar-collapse.in {
        top: 110px;
    }
    .navbar-collapse::before {
        content: "";
        display: block;
        position: absolute;
        right: 0;
        top: -15px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 15px 16px 15px;
        border-color: transparent transparent #ffffff transparent;
    }
    .navbar-collapse::after {
        content: "";
        display: block;
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(239, 227, 215, 0.4);
    }
}

@media (min-width: 1200px) {
    .navbar-collapse {
        left: -585px;
    }
}

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

nav.horizontally li[id*="toplevel"]>a {
    color: #008249;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally li[id*="toplevel"] {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    nav.horizontally li[id*="toplevel"]>a.dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    nav.horizontally li[id*="toplevel"]>a {
        padding: 10px 0;
    }
}

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

nav.horizontally li[id*="toplevel"]:hover>a, nav.horizontally li[id*="toplevel"]>a:hover, nav.horizontally li[id*="toplevel"]>a:focus, nav.horizontally li[id*="toplevel"].open>a, nav.horizontally li[id*="toplevel"].open>a:hover, nav.horizontally li[id*="toplevel"].open>a:focus, nav.horizontally li[id*="toplevel"][class$="_over"]>a, nav.horizontally li[id*="toplevel"][class$="_over"]>a:hover, nav.horizontally li[id*="toplevel"][class$="_over"]>a:focus {
    color: #005ca6;
}

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

@media (max-width: 991px) {
    nav.horizontally .dropdown-menu {
        padding: 10px 0;
    }
}

@media(min-width:992px) {
    nav.horizontally li[id*="toplevel"]>.dropdown-menu {
        margin-bottom: 15px;
    }
    nav.horizontally li[id*="toplevel"]>.dropdown-menu, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        display: block !important;
    }
}

@media(min-width:1200px) {
    nav.horizontally li[id*="toplevel"]>.dropdown-menu {
        margin-bottom: 25px;
    }
}

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

nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>a, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #3b3b3b;
    font-weight: 400;
    text-align: left;
    font-size: 0.9375rem;
    line-height: 1.2;
    text-decoration: none;
}

nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>a {
    padding: 8px 15px;
}
nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li>a {
    padding: 8px 15px 8px 20x;
}

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

@media(min-width:992px) {
    nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>a {
        padding: 5px 5px;
    }
    nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li>a {
        padding: 5px 10px 5px 20px;
    }
}

nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: "\00BB";
    position: absolute;
    left: 10px;
    top: 4px;
}

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

nav.horizontally li[id*="toplevel"]>.dropdown-menu>li:hover>a, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>a:hover, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>a:focus, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li.open>a, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li.open>a:hover, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li.open>a:focus, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li[class$="_over"]>a, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li[class$="_over"]>a:hover, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li[class$="_over"]>a:focus, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li>a:hover, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li>a:focus, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li.open>a, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li.open>a:hover, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li.open>a:focus, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover, nav.horizontally li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    color: #0064b7;
}

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

#slogan {
    line-height: 1.1;
}

#slogan i,
#slogan em {
    font-style: normal;
    text-transform: uppercase;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 4px;
}

#slogan b,
#slogan strong {
    color: #212121;
    position: relative;
    display: inline-block;
    z-index: 1;
    padding-bottom: 40px;
    font-size: calc(1.75rem + (45 - 28) * (100vw - 320px) / (1920 - 320));
}

@media (max-width: 575px) {
    #slogan {
        margin-bottom: 30px;
    }
    #slogan b,
    #slogan strong {
        background: #ffffff;
        display: inline;
    }
    #slogan b::after,
    #slogan strong::after {
        content: none !important;
    }
}

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

header {
    padding-bottom: 90px;
    position: relative;
}

@media (min-width: 576px) {
    header {
        background: url('../img/illustration-mulda.jpg') bottom left no-repeat;
    }
}

@media (max-width: 991px) {
    header {
        z-index: 60;
    }
}

@media (min-width: 992px) {
    body.index header {
        padding-bottom: 230px;
    }
}

header::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    right: 0;
    bottom: 60px;
    z-index: -1;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 576px) {
    header::after {
        bottom: 160px;
    }
}

@media (min-width: 992px) {
    body.index header::after {
        bottom: 290px;
    }
}

#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, #slider {
    height: 100%;
}

.slider-mask {
    display: none;
}

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

#tabs {
    font-size: 1rem;
    color: #6e6e6e;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 60px, #ececec 60px);
}

@media (min-width: 992px) {
    #tabs {
        margin-top: -130px;
        background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, #ececec 50%);
    }
}

#tabs .tab {
    height: 100%;
    min-height: 100%;
    padding: 30px;
}

#tabs .tab1 {
    color: #ffffff;
    background: linear-gradient(to bottom, #075769, #00864b);
}

@media (min-width: 992px) {
    #tabs .tab {
        padding: 40px;
    }
    #tabs .tab1 {
        padding: 40px 50px;
    }
}

#tabs .tab1 > * {
    width: 100%;
}

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

#tabs .tab1 h2{
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: calc(40px + (70 - 40) * (100vw - 320px) / (1920 - 320));
}

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

#tabs .tab2 {
    background: #ffffff;
    -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
}

#tabs .tabHeadline {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #212121;
    display: block;
    cursor: text;
}

@media (min-width: 992px) {
    #tabs .tabHeadline {
        font-size: 1.875rem;
    }
}

#tabs .tabHeadline::before {
    content: "";
    display: block;
    height: 40px;
    background-position: center left;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    #tabs .tabHeadline::before {
        margin-bottom: 30px;
    }
}

#events .tabHeadline::before {
    background-image: url('../img/kalender-icon.png');
}

#newsletter .tabHeadline::before {
    background-image: url('../img/newsletter-icon.png');
}

#partnerContainer2 .tabHeadline::before {
    content: "";
    display: block;
    height: 40px;
    background-position: center left;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

#tabs .tab_spacer {
    height: 20px;
}

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

#tabs .tab_link_mandat a {
    color: #6e6e6e;
    font-weight: 400;
}

#tabs .tab_link_mehr {
    color: transparent;
}

#tabs .tab_link_mehr a {
    color: #007542;
    font-weight: 600;
}

#tabs .tab_link_mehr a::after {
    content: "erfahren \2192";
}

/* ----------------------------------------------- newsletter --------------------------------------------- */

#newsletterInputs {
    height: 36px;
    position: relative;
    margin-top: 20px;
}
#newsletter_input {
    color: #3b3b3b;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    padding: 0;
    border: 0;
    line-height: 36px;
    padding-left: 0;
    padding-right: 43px;
    height: 36px;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
#newsletter_submit {
    width: 36px;
    background: url('../img/senden-icon.png') center right no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 36px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}
#newsletter_submit:hover,
#newsletter_submit:focus {
    background-color: rgba(0, 0, 0, 0.05);
    background-position: center right 8px;
}
#newsletter_input::-ms-input-placeholder {
    color: #3b3b3b !important;
}
#newsletter_input::-webkit-input-placeholder {
    color: #3b3b3b !important;
}
#newsletter_input::-moz-placeholder {
    opacity: 1;
}
#newsletter_input:-moz-placeholder {
    opacity: 1;
}

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

#content {
    background: #ececec;
    text-align: left;
    padding-bottom: 40px;
    padding-top: 40px;
}

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

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

/* ------------------------------------------ h1 - h6, #content .legacy_h6, .legacy_h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, h6, #content .legacy_h6, .legacy_h6, h5, #content .legacy_h5, .legacy_h5, h4, #content .legacy_h4, .legacy_h4, h3, #content .legacy_h3, .legacy_h3, h2, #content .legacy_h2, .legacy_h2, h1, #content .legacy_h1, .legacy_h1, .h6, .h5, .h4, .h3, .h2, .h1 {
    color: #212121;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Work Sans", sans-serif;
}

h1, #content .legacy_h1, .legacy_h1, .h1 {
    padding-bottom: 25px;
    margin-bottom: 30px;
}

h1, #content .legacy_h1, .legacy_h1, .h1, .headlineRow h2{
    font-size: calc(1.75rem + (45 - 28) * (100vw - 320px) / (1920 - 320));
    position: relative;
    z-index: 1;
}

#content h1::after,
#content .h1::after,
#slogan b::after,
#slogan strong::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    pointer-events: none;
    top: 12px;
    right: 50%;
    left: -40px;
    bottom: 0;
    border-left: 8px solid #00864b;
    border-bottom: 8px solid #00864b;
}

#content h1::after {
    right: auto;
    width: 218px;
}

h1 i, h1 em,
h2 i, h2 em,
h3 i, h3 em {
    color: #3b3b3b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9375rem;
    font-style: normal;
}

h2, #content .legacy_h2, .legacy_h2, .h2 {
    font-size: calc(1.625rem + (30 - 26) * (100vw - 320px) / (1920 - 320));
}

h3, #content .legacy_h3, .legacy_h3, .h3 {
    font-size: calc(1.5625rem + (28 - 25) * (100vw - 320px) / (1920 - 320));
}

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

h5, #content .legacy_h5, .legacy_h5, .h5 {
    font-size: 1.5rem;
}

h6, #content .legacy_h6, .legacy_h6, .h6 {
    font-size: 1.375rem;
}

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

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

#tabs2 {
    padding-top: 40px;
    padding-bottom: 40px;
    background: url('../img/illustration-mulda2.jpg') top right no-repeat;
}

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

@media (min-width: 1200px) {
    #tabs2 {
        padding-bottom: 100px;
        padding-top: 80px;
    }
}

.headlineRow h1 i, .headlineRow h1 em,
.headlineRow h2 i, .headlineRow h2 em {
    color: #007542;
}

.headlineRow {
    padding-bottom: 40px;
}

@media (min-width: 992px) {
    
.headlineRow {
        padding-bottom: 70px;
    }
}

@media (min-width: 1200px) {
    
.headlineRow {
        padding-bottom: 90px;
    }
}

#tabs2 .tab,
#kitas .tab {
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-size: 1rem;
    height: 100%;
    min-height: 100%;
    padding: 50px 30px 110px 30px;
    background: url('../img/arrow.png') bottom 30px right 30px no-repeat, linear-gradient(to bottom, #075769, #00864c) bottom center;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}

@media (min-width: 1200px) {
    #tabs2 .tab {
        padding: 100px 30px 170px 40px;
    }

    #kitas .tab {
        padding: 100px 30px 110px 30px;
    }
}

#tabs2 .tab:hover,
#tabs2 .tab:focus,
#kitas .tab:hover,
#kitas .tab:focus {
    background-position: bottom 30px right 50px, bottom 90px center;
}

#tabs2 .tab .row,
#tabs2 .tab .row > div,
#kitas .tab .row,
#kitas .tab .row > div {
    position: static;
}

#tabs2 .tab,
#tabs2 .tab h1,
#tabs2 .tab h1 *,
#tabs2 .tab h2,
#tabs2 .tab h2 *,
#tabs2 .tab h3,
#tabs2 .tab h3 *,
#tabs2 .tab h4,
#tabs2 .tab h5,
#tabs2 .tab h6,
#tabs2 .tab a,
#kitas .tab,
#kitas .tab h1,
#kitas .tab h1 *,
#kitas .tab h2,
#kitas .tab h2 *,
#kitas .tab h3,
#kitas .tab h3 *,
#kitas .tab h4,
#kitas .tab h5,
#kitas .tab h6,
#kitas .tab a {
    color: #ffffff;
}

#tabs2 .tab div,
#tabs2 .tab p,
#tabs2 .tab h1,
#tabs2 .tab h2,
#tabs2 .tab h3,
#tabs2 .tab h4,
#tabs2 .tab h5,
#tabs2 .tab h6,
#kitas .tab div,
#kitas .tab p,
#kitas .tab h1,
#kitas .tab h2,
#kitas .tab h3,
#kitas .tab h4,
#kitas .tab h5,
#kitas .tab h6 {
    pointer-events: none;
}

#tabs2 .tab a,
#kitas .tab a {
    display: block;
    pointer-events: all !important;
}

#tabs2 .tab img,
#kitas .tab img {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    opacity: 0.08;
    max-width: none;
    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%);
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
}

#tabs2 .tab:hover img,
#tabs2 .tab:focus img,
#kitas .tab:hover img,
#kitas .tab:focus img {
    opacity: 0.2;
}

#kitas {
    padding-bottom: 40px;
}

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

@media (min-width: 1200px) {
    #kitas {
        padding-bottom: 100px;
    }
}

/* ---------------------------------------- tabs + tabs2 resp gap --------------------------------------- */

@media (max-width: 991px) {
    #tabs > .row > * + *,
    #tabs2 > .row:last-child > * + * {
        margin-top: 30px;
    }
}

/* ---------------------------------------------- partner ----------------------------------------------- */

#partner {
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, #ececec 50%);
}

body:not(.index) #partner {
    margin-top: 40px;
}

#partnerContainer, #partnerContainer2 {
    padding: 30px;
    background: #ffffff;
    -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
}

#partnerContainer2 {
    padding: 30px;
    background: #ffffff;
    -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    #partnerContainer > .row > * + * {
        margin-top: 15px;
    }
}

#partnerContainer img {
    display: block;
    margin: 0 auto;
}

/* ---------------------------------------------- counter ----------------------------------------------- */

#counter {
    margin: 0 auto;
    max-width: 195px;
    color: #ffffff;
    border-radius: 7px;
    padding: 13px 60px 13px 20px;
    background: url('../img/user-icon.png') bottom right no-repeat, linear-gradient(to bottom, #007179, #00864c);
}

@media (min-width: 992px) {
    #counter {
        padding: 25px 60px 25px 20px;
    }
}

#counter b {
    font-size: 1.125rem;
    display: block;
}

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

#vernetzt {
    margin: 0 auto;
    text-decoration: none;
    display: inline-block;
}

#vernetzt img {
    display: block;
}

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

footer {
    font-size: 1rem;
}

#footer {
    background-color: #ececec;
    padding-top: 40px;
    padding-bottom: 40px;
    color: #2b2b2b;
}

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

@media (min-width: 1200px) {
    #footer {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

@media (max-width: 767px) {
    #footer > .row > *:not(:nth-child(1)) + * {
        margin-top: 30px;
    }
}

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

#footer .footerHeadline {
    font-size: 1.125rem;
    color: #3b3b3b;
    margin-bottom: 20px;
}

#innerfooter ul {
    padding: 0;
    line-height: 1.7;
}

@media (max-width: 767px) {
    #innerfooter li {
        display: inline-block;
        margin-left: 10px;
        margin-right: 10px;
    }
}

#innerfooter a {
    color: #2b2b2b;
    font-weight: 400;
}

#footer iframe {
    width: 100% !important;
    max-width: 100% !important;
}