@import url('https://fonts.verwaltungsportal.de/import/?family=Jost:400,700,400i,700i');
body {
    font-family: "Jost", sans-serif;
    color: #1d1d1b;
    background: #ffffff;
    font-weight: 400;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

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

a {
    color: #007aa3;
}

a:hover {
    color: #007aa3;
    text-decoration: underline;
}

a:focus {
    border: 2px solid #ff0000;
}

b, strong {
    font-weight: 600;
}

#banner-texts-description {
     background: rgba(0,0,0,.1);
}
/* ----------------------------------------------- logo ----------------------------------------------- */

#logo {
    display: inline-block;
    position: relative;
}

#logo::before {
    content: '';
    display: block;
    position: absolute;
    top: -40px;
    left: 0;
    height: 160px;
    width: auto;
    background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 60%); /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 60%); /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 60%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    z-index: -1;
}

@media (min-width: 992px) {
#logo::before {
    width: 300px;
}
#logo::after {
    content: '';
    display: block;
    position: absolute;
    width: 235px;
    height: 235px;
    top: calc(45% - 117.5px);
    left: calc(50% - 117.5px);
    border-radius: 50%;
    background-color: #fff;
    z-index: -2;
    pointer-events: none;
}
}

#logo img {
    display: block;
}

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

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

nav {
    background: #ffffff;
    padding-top: 18px;
    padding-bottom: 18px;
}

/* burgerbutton */

#burgerButton {
    font-size: 0;
    color: #000;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    position: relative;
    text-align: center;
    z-index: 1002;
    display: inline-block;
    width: 48px;
    height: 48px;
    cursor: pointer;
    padding: 8px 0 0 0;
    border-radius: 4px;
    float: none;
    border: none;
}

@media (max-width: 991px) {
    #burgerButton {
        position: fixed;
        top: 22px;
        right: 15px;
        margin-top: 0;
        border-radius: 0;
        border-radius: 10px;
        background: #ffffff;
    }
}

@media (min-width: 992px) {
    #burgerButton::before {
        content: "Menü";
        display: block;
        position: absolute;
        line-height: 1;
        top: 17px;
        left: -55px;
        font-size: 18px;
        font-weight: 700;
        color: #007aa3;
        opacity: 1;
        -webkit-transition: opacity 200ms linear;
        -moz-transition: opacity 200ms linear;
        -ms-transition: opacity 200ms linear;
        -o-transition: opacity 200ms linear;
        transition: opacity 200ms linear;
    }
    #burgerButton[aria-expanded="true"]::before {
        opacity: 0;
    }
}

#burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
    background-color: #007aa3;
    color: #fff;
    border-radius: 2px;
    position: absolute;
    width: 28px;
    height: 3px;
    left: 10px;
    -webkit-transition: transform 200ms linear, opacity 200ms linear, background 200ms linear;
    -moz-transition: transform 200ms linear, opacity 200ms linear, background 200ms linear;
    -ms-transition: transform 200ms linear, opacity 200ms linear, background 200ms linear;
    -o-transition: transform 200ms linear, opacity 200ms linear, background 200ms linear;
    transition: transform 200ms linear, opacity 200ms linear, background 200ms linear;
}
#burgerButton[aria-expanded="true"] #burgerButtonInner {
    -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);
}
@media (min-width: 992px) {
    #burgerButton[aria-expanded="true"] #burgerButtonInner, 
    #burgerButton[aria-expanded="true"]:after {
        background-color: #ffffff;
    }
}
#burgerButtonInner {
    top: 16px;
}
#burgerButtonInner2 {
    top: 23px;
}
#burgerButton:after {
    top: 30px;
    content: "";
    display: block;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    .navbar-collapse {
        padding: 30px 0;
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.2);
        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 {
        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)
    }
    .dropdown-toggle-button-wrapper, .dropdown-toggle-button-wrapper2 {
        right: 4px;
    }
    .dropdown-toggle-button-wrapper {
        top: 11px;
    }
}

@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: 10px !important;
        padding-bottom: 10px !important;
        height: 70px !important;
        -webkit-box-shadow: 0 0 20px 0 rgba(0,0,0, 0.3);
        box-shadow: 0 0 20px 0 rgba(0,0,0, 0.3);
    }
    nav,
    #menu-sticky-wrapper {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 100;
    }
    .navbar-default {
        width: auto;
    }
    .navbar-default .navbar-nav {
        width: 100%;
        margin: 0;
        display: block;
    }
    #myNavbar.navbar-collapse ul.navbar-nav {
        padding: 30px 25px;
        overflow-y: auto;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        max-width: 1200px;
        display: flex;
        flex-wrap: wrap;
    }
    li[id*="toplevel"] {
        width: 33.33%;
        padding-right: 15px;
    }
    .navbar-default .navbar-nav>li {
        float: none;
    }
    .navbar-nav::after, .navbar-nav::before {
        display: none;
    }
    #myNavbar.navbar-collapse {
        -webkit-box-shadow: none;
        box-shadow: none;
        pointer-events: none;
        position: fixed;
        z-index: 1001;
        top: 50px;
        right: 0;
        opacity: 0;
        width: 100vw;
        padding-right: 270px;
        background: #ffffff;
        height: calc(100vh - 177px) !important;
        overflow-y: auto !important;
        -webkit-box-shadow: 0 0 0 300px rgba(84, 73, 73, 0.5);
        box-shadow: 0 0 0 300px rgba(84, 73, 73, 0.5);
        -webkit-transition: opacity 300ms linear, top 300ms linear;
        -moz-transition: opacity 300ms linear, top 300ms linear;
        -ms-transition: opacity 300ms linear, top 300ms linear;
        -o-transition: opacity 300ms linear, top 300ms linear;
        transition: opacity 300ms linear, top 300ms linear;
    }
    #myNavbar.navbar-collapse::after,
    #myNavbar.navbar-collapse::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 270px;
    }
    #myNavbar.navbar-collapse::after {
        background-color: #447b1f;
        background-position: center;
        background-size: cover;
    }
    #myNavbar.navbar-collapse::before {
        z-index: 1;
        background: url('../img/muster.png') top 150px center / cover no-repeat;
    }
    #burgerButton[aria-expanded="true"]+#myNavbar {
        pointer-events: auto;
        opacity: 1;
        top: 70px;
    }
    .mCS-dark.mCSB_scrollTools .mCSB_draggerRail {
      display: none !important;
    }
}

@media (min-width: 1700px) {
  .mCSB_scrollTools {
    right: 20% !important;
  }
}

@media (min-width: 1200px) {
    nav {
        height: 197px;
        padding-top: 43px;
        padding-bottom: 43px;
    }
    li[id*="toplevel"] {
        width: 25%;
    }
    #myNavbar.navbar-collapse>ul {
        padding-top: 45px;
        padding-bottom: 65px;
    }
    #myNavbar.navbar-collapse {
        height: calc(100vh - 197px) !important;
    }
    #burgerButton[aria-expanded="true"]+#myNavbar {
        top: 70px;
    }
}

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

li[id*="toplevel"] > a {
    color: #1d1d1b;
    font-weight: 700;
    text-align: left;
    padding: 6px 35px 6px 15px;
    position: relative;
    font-size: 1.25rem;
}

@media (max-width: 991px) {
    li[id*="toplevel"] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (min-width: 992px) {
    li[id*="toplevel"] > a {
        padding: 20px 0 2px;
        text-align: left;
    }
}

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

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

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

@media (max-width: 991px) {
    li[id*="toplevel"]>.dropdown-menu, li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        padding: 10px;
        background: rgba(255, 255, 255, 0.1);
    }
}

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

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

li[id*="toplevel"]>.dropdown-menu>li>a, li[id*="toplevel"]>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #1d1d1b;
    font-weight: 400;
    text-align: left;
    padding: 4px 35px 4px 15px;
    font-size: 1.0625rem;
}

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

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

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

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

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

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

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

@media (min-width: 576px) {
    #slider {
        max-height: 400px;
    }
    body.index #slider {
        max-height: 555px;
    }
}

@media (min-width: 992px) {
    #headerpic {
        margin-top: 177px;
    }
    #headerpic a.nivo-prevNav {
        left: 65px;
    }
    #headerpic a.nivo-nextNav {
        right: 65px;
    }
    #headerpic .nivo-controlNav {
        bottom: 40px;
    }
}

@media (min-width: 1200px) {
    #headerpic {
        margin-top: 70px;
    }
    #headerpic .nivo-controlNav {
        bottom: auto;
        top: 10px;
    }
}



.overlayHeadline {
    background: #1d1d1b;
}

.overlayContent {
    background: #467e20;
}

.overlayHeadline,
.overlayContent {
    padding: 20px 18px 2px 18px;
    display: inline-block;
}

.overlayContent::before {
    content: "\A";
    display: block;
}

.overlayContent a {
    color: #ffffff;
    text-decoration: underline;
}

#bannerOverlay {
    margin-top: 0px;
    padding-bottom: 0px;
    color: #ffffff;
    line-height: 1.1;
    font-size: 20px;
    position: relative;
    z-index: 60;
}

@media (min-width: 992px) {
    #bannerOverlay {
        margin-top: -30px;
        padding-bottom: 20px;
        color: #ffffff;
        line-height: 1.1;
        font-size: 20px;
        position: relative;
        z-index: 60;
    }
}

@media (min-width: 576px) {
    #bannerOverlay {
        margin-top: 0;
        position: relative;
        left: 0;
        right: 0;
        bottom: 0;
        padding-bottom: 0;
    }
}

@media (min-width: 768px) {
    #bannerOverlay {
        font-size: 30px;
    }
}

@media (min-width: 992px) {
    #bannerOverlay {
        font-size: 40px;
        position: absolute;
        bottom: -40px;
    }
    .overlayHeadline {
        min-width: 370px;
    }
    .overlayContent {
        min-width: 270px;
    }
}

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

.slider-mask {
    display: block;
    background: url('../img/banner-welle.png') center bottom / contain no-repeat;
}

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

@media (min-width: 992px) {
    #style button {
        border: none;
        color: #ffffff;
        display: inline-block;
        width: 40px;
        height: 40px;
        font-weight: 700;
        text-align: center;
        background-color: #007aa3;
        position: relative;
        line-height: 1;
        font-size: 30px;
        padding: 0 0 4px 0;
        -webkit-transition: transform 150ms linear;
        -moz-transition: transform 150ms linear;
        -ms-transition: transform 150ms linear;
        -o-transition: transform 150ms linear;
        transition: transform 150ms linear;
    }
    #style button+button {
        margin-left: 5px;
    }
    #style button:hover {
        -moz-transform: scale(1.2);
        -webkit-transform: scale(1.2);
        -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }
}

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

form[id*="search"] {
    display: block;
    position: relative;
}

@media (min-width: 992px) {
    form[id*="search"] {
        margin-left: auto;
        max-width: 270px;
    }
}

input[id*="search_input"] {
    color: #ffffff;
    background-color: #467e20;
    font-size: 16px;
    font-style: normal;
    padding: 0;
    border: 0;
    line-height: 40px;
    padding-left: 80px;
    padding-right: 10px;
    height: 40px;
    width: 100%;
    text-align: right;
}

input[id*="search_input"]:hover,
input[id*="search_input"]:focus {
    background-color: #376319;
}

input[id*="search_submit"] {
    height: 100%;
    width: 78px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    background: url('../img/lupe-icon.png') center / 18px 18px no-repeat, #467e20;
    padding: 0;
    cursor: pointer;
    line-height: 40px;
    border: none;
    position: absolute;
    bottom: 0;
    left: 0;
}

input[id*="search_input"]:-ms-input-placeholder {
    color: #ffffff;
    opacity: 1;
}

input[id*="search_input"]::-ms-input-placeholder {
    color: #ffffff;
    opacity: 1;
}

input[id*="search_input"]::placeholder {
    color: #ffffff;
    opacity: 1;
}

/* ------------------------------------------------- ticker ------------------------------------------------ */

#tickerRow {
    line-height: 1.2;
    padding-bottom: 20px;
    border-bottom: 1px solid #e6e6e6;
}

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

#tickerRow,
#tickerRow a {
    color: #007aa3;
    font-weight: 700;
}

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

#tickerRow .newsticker {
    margin: 0;
}

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

#news > .row,
#events > .row {
    padding-top: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e6e6e6;
}

@media (min-width: 992px) {
    #news > .row,
    #events > .row {
        padding-top: 50px;
    }
}

#news h1,
#events h1 {
    color: #2e2e2e;
    margin-bottom: 20px;
}

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

#news .tab_link_entry,
#events .tab_link_entry {
    border-bottom: none !important;
    position: relative;
    background: #f8f8f8;
    line-height: 1.4;
    width: 100%;
    padding: 0 20px 20px 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

#news .tab_link_entry > *,
#events .tab_link_entry > * {
    width: 100%;
}

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

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

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

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

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

#news .tab_link_entry .tab_preview_picture,
#events .tab_link_entry .tab_preview_picture {
    width: auto;
    display: block;
    overflow: hidden;
    height: 180px;
    margin: 0 -20px 0 -20px;
    position: relative;
    -ms-flex-order: -1;
	order: -1;
}

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

#news .tab_date,
#events .tab_date {
    margin: -15px auto 0 auto;
    position: relative;
    z-index: 2;
    font-size: 1rem;
    display: inline-block;
    width: auto;
    padding: 4px 10px;
    background: #467e20;
    color: #ffffff;
    text-align: right;
}

#news .tab_link_title a,
#events .tab_link_title a {
    color: #2e2e2e;
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 20px;
    display: inline-block;
}

#news .tab_link_entry > div:nth-last-child(2),
#events .tab_link_entry > div:nth-last-child(2) {
    font-size: 0;
    margin-top: 10px;
    text-align: left !important;
}

#news .tab_link_entry > div:nth-last-child(2) a,
#events .tab_link_entry > div:nth-last-child(2) a {
    color: #467e20;
    font-weight: 700;
    font-size: 1.25rem;
}

#news .tab_link_entry > div:nth-last-child(2) a::after,
#events .tab_link_entry > div:nth-last-child(2) a::after {
    content: "\00BB";
    margin-left: 4px;
}

#news .tab_spacer,
#events .tab_spacer {
    display: none !important;
}

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

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

#rowStyleSearch {
    padding-top: 50px;
    position: relative;
z-index: 61;
}

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

.h4link a:link, .h4link a:hover, .h4link a:visited, h6, #content .legacy_h6, .legacy_h6, .h6, h5, #content .legacy_h5, .legacy_h5, .h5, h4, #content .legacy_h4, .legacy_h4, .h4, h3, #content .legacy_h3, .legacy_h3, .h3, h2, #content .legacy_h2, .legacy_h2, .h2, h1, #content .legacy_h1, .legacy_h1, .h1 {
    font-weight: 700;
    line-height: 1.2;
    font-family: "Jost", serif;
    color: #467e20;
}

h1, #content .legacy_h1, .legacy_h1, .h1 {
    font-size: 1.6875rem;
}

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

h2, #content .legacy_h2, .legacy_h2, .h2 {
    font-size: 1.625rem;
}

@media (min-width: 768px) {
    h2, #content .legacy_h2, .legacy_h2, .h2 {
        font-size: 2.1875rem;
    }
}

h3, #content .legacy_h3, .legacy_h3, .h3 {
    font-size: 1.5625rem;
}

@media (min-width: 768px) {
    h3, #content .legacy_h3, .legacy_h3, .h3 {
        font-size: 1.875rem;
    }
}

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

@media (min-width: 768px) {
    h4, #content .legacy_h4, .legacy_h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:visited {
        font-size: 1.75rem;
    }
}

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

@media (min-width: 768px) {
    h5, #content .legacy_h5, .legacy_h5, .h5 {
        font-size: 1.625rem;
    }
}

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

@media (min-width: 768px) {
    h6, #content .legacy_h6, .legacy_h6, .h6 {
        font-size: 1.5rem;
    }
}

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

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

#partner > .row {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 30px;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}

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

footer {
    background-color: #007aa3;
    background-position: center top, auto, center center;
    background-size: contain, auto, cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

#footer {
    padding-top: 40px;
    padding-bottom: 30px;
}

@media (max-width: 767px) {
    #footer>.row>div+div::before {
        background: rgba(255, 255, 255, 0.2);
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 0;
    }
}

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

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

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

#footer a {
    color: #ffffff;
    text-decoration: underline;
}

.footerHeadline {
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 15px 0;
    font-size: 1.25rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .footerHeadline {
        margin: 0 0 25px 0;
        font-size: 1.5625rem;
    }
}

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

#innerfooter #vernetzt {
    text-align: right;
    margin: 20px auto 0 auto;
    display: inline-block;
}

@media (min-width: 992px) {
    #innerfooter #vernetzt {
        float: right;
        margin-right: 0;
    }
}

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

@media (min-width: 992px) {
    #innerfooter .footer_list {
        display: flex;
    }
}

#innerfooter > .row {
    color: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

#innerfooter li a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
}

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

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

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