@import url("https://fonts.verwaltungsportal.de/import/?family=Red+Hat+Text:300,400,500,600,700,300i,400i,500i,600i,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Merriweather:300,400,500,600,700,300i,400i,500i,600i,700i");
body {
    font-family: "Arial", sans-serif;
    color: #444444;
    background: #fff;
    font-weight: 400;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

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

a {
    color: #c13424;
}

a:hover {
    color: #c13424;
}

#content a {
    text-decoration: underline;
}

b, strong {
    font-weight: 600;
}

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

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

@media (min-width: 992px) {
    #logo::before {
        content: '';
        position: absolute;
        width: 249px;
        height: 268px;
        background: url(../img/wappen.png) no-repeat;
        z-index: 101;
        left: -285px;
        top: -35px;
    }
}

#logo img {
    display: block;
}

#topbar {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
}

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

    #wappen {
        text-align: center;
display: block;
    }

    #wappen img {
        max-height: 150px;
        margin: 0 auto;
    }

    #topbar {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}


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

@media (min-width: 992px) {
    #style button {
        border: none;
        color: #ffffff;
        display: inline-block;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        font-weight: 400;
        text-align: center;
        background-color: #333333;
        position: relative;
        line-height: 1;
        -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: 8px;
    }
    #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);
    }
    #style button:nth-child(1) {
        font-size: 18px;
    }
    #style button:nth-child(2) {
        font-size: 22px;
        background-color: #c5c9cf;
        color: #333333;
    }
    #style button:nth-child(3) {
        font-size: 24px;
    }
}

/* ----------------------------------------------- Contrast ----------------------------------------------- */

@media (min-width: 992px) {
    #contrast_style {
        line-height: 0;
        margin-right: 30px;
    }
    #contrast_style button {
        padding: 0;
        border: none;
        background: transparent;
        display: inline-block;
        border: 8px solid #333333;
        border-radius: 50%;
    }
    #contrast_style button:nth-child(2) {
        border: 8px solid #c5c9cf;
    }
    #contrast_style button+button {
        margin-left: 4px;
    }
}

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

@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 {
        background-color: rgba(197,201,207,0.9);
        position: absolute;
        width: 100%;
        z-index: 100;
    }
    nav.horizontally .navbar-nav {
        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-nav>li {
        flex-grow: 1;
    }
    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }
    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }
    nav.horizontally .navbar-nav>li, nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }
    .navbar-default .navbar-nav > li > ul,
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        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;
    }
    .open > .dropdown-menu,
    .navbar-default .navbar-nav > li:hover > ul,
    .navbar-default .navbar-nav > li > .dropdown-menu > li:hover > .dropdown-menu,
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .nav .open > .dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #333333;
    font-weight: 300;
    text-align: center;
    padding: 10px 35px 15px 5px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1;
}

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 20px;
    }
    .navbar-default .navbar-nav>li>a {
        padding: 18px 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

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

.navbar-default .navbar-nav>li>a::before {
    content: "";
height: 4px;
    position: absolute;

    width: 0;
    bottom: 0;
    background-color: #ffffff;
    -webkit-transition: all 300ms linear;
    -moz-transition:all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
}

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

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

.navbar-nav > li:hover > a::before,
.navbar-nav > li > a:hover::before,
.navbar-nav > li > a:focus::before,
.navbar-nav > li.open > a::before,
.navbar-nav > li.open > a:hover::before,
.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 {
  width: 100%;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #eaeaea;
    -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);
    border-radius: 4px;
}

@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 {
        margin-top: 10px;
        left: 50%;
        -moz-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: 10px;
        border-radius: 4px;
        margin-left: 10px;
    }

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

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -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: #444444;
    font-weight: 400;
    text-align: left;
    padding: 8px 35px 8px 15px;
    font-size: 1.125rem;
    hyphens: auto;
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        padding: 8px 25px;
        hyphens: none;
    }
}
/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

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

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

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

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

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

#bannerOverlay {
    padding-top: 25px;
}

#bannerOverlay h1 {
    font-size: 1.4rem;
}

#bannerOverlay .footerHeadline {
    color: #333333;
}

#bannerOverlay h1, #bannerOverlay h2, #bannerOverlay h3, #bannerOverlay h4, #bannerOverlay h5, #bannerOverlay h6, #bannerOverlay .footerHeadline {
    margin-bottom: 0;
    font-family: "Arial", sans-serif;
    font-weight: 700;
}

@media (min-width: 576px) {
    #bannerOverlay {
        padding-top: 0;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 80px;
        z-index: 60;
        color: #ffffff;
        text-shadow: 0 0 24px rgba(0, 0, 0, 0.6);
        font-weight: 700;
        line-height: 1.1;
        font-size: 1.2rem;
    }
    #bannerOverlay h1, #bannerOverlay h2, #bannerOverlay h3, #bannerOverlay h4, #bannerOverlay h5, #bannerOverlay h6 {
        color: #ffffff;
    }
    #bannerOverlay .footerHeadline {
        font-size: 2.5rem;
        color: #fff;
    }
}

@media (min-width: 768px) {
    #bannerOverlay {
        font-size: 1.4rem;
        bottom: 120px;
    }
    #bannerOverlay .footerHeadline {
        font-size: 3rem;
    }
}

@media (min-width: 992px) {
    #bannerOverlay {
        bottom: 140px;
    }
}

@media (min-width: 1200px) {
    #bannerOverlay {
        font-size: 2.5rem;
        bottom: 200px;
    }
    #bannerOverlay .footerHeadline {
        font-size: 3.75rem;
    }
}

.bgSlogan {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #fff;
}

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

.slider-mask {
    display: none;
}


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

.nivo-directionNav {
    height: 40px;
    pointer-events: none;
    width: 100%;
    position: absolute;
    z-index: 7;
    left: 50%;
    bottom: 80px;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

@media (min-width: 992px) {
    .nivo-directionNav {
        max-width: 992px;
        bottom: 100px;
    }
}

@media (min-width: 1200px) {
    .nivo-directionNav {
        max-width: 1200px;
    }
}

#headerpic .theme-default .nivo-directionNav a {
    pointer-events: auto;
    background: #333333 url('../img/banner-arrows.png') top 10px center / 18px auto no-repeat;
    width: 40px;
    height: 40px;
}

#slider+.nivo-controlNav {
    pointer-events: none;
}

#slider+.nivo-controlNav a {
    pointer-events: auto;
}

.theme-default .nivo-directionNav a.nivo-nextNav {
    -webkit-transform: scale(-1);
    transform: scaleX(-1)
}

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

@media (min-width: 576px) {
    #slider+.nivo-controlNav {
        bottom: 65px;
    }
}

@media (min-width: 992px) {
    #slider+.nivo-controlNav {
        bottom: 78px;
    }
}

#headerpic .theme-default .nivo-controlNav a {
    background: transparent;
    border-radius: 50%;
    border: 1px solid #ffffff;
    width: 12px;
    height: 12px;
}

#headerpic .theme-default .nivo-controlNav a.active {
    background-color: #ffffff;
}

#headerpic .theme-default .nivo-controlNav a+a {
    margin-left: 8px;
}

/* ------------------------------------------------ topInfo ----------------------------------------------- */

#topInfo {
    padding-top: 40px;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    #topInfo>.row>div+div {
        margin-top: 30px;
    }
}

#topInfo>.row>div:first-child {
    font-weight: 300;
    line-height: 1.3;
}

@media (min-width: 992px) {
    #topInfo>.row>div:first-child {
        padding-top: 50px;
        padding-right: 30px;
        padding-bottom: 110px;
    }
}

#topInfo>.row>div:first-child a {
    color: #333333;
    text-decoration: underline;
}

#topInfo>.row>div:first-child b, #topInfo>.row>div:first-child strong {
    font-weight: 700;
    font-size: 1.6rem;
}

@media (min-width: 992px) {
    #topInfo>.row>div:first-child b, #topInfo>.row>div:first-child strong {
        font-weight: 700;
        font-size: 2rem;
    }
}

@media (min-width: 1200px) {
    #topInfo>.row>div:first-child b, #topInfo>.row>div:first-child strong {
        font-size: 2.5rem;
    }
}

#topInfo>.row>div:first-child, #topInfo>.row>div:first-child h1, #topInfo>.row>div:first-child h2, #topInfo>.row>div:first-child h3, #topInfo>.row>div:first-child h4, #topInfo>.row>div:first-child h5, #topInfo>.row>div:first-child h6 {
    color: #333333;
}

#topInfo>.row>div:first-child h1::after {
    content: "-";
    display: block;
    color: #333333;
    line-height: 0.5;
    margin-top: 5px;
}

#topInfo::after {
    content: "";
    position: absolute;
    z-index: -1;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50px;
    background: #bbbbbb;
}

@media (min-width: 992px) {
    #topInfo::after {
        right: 50%;
        bottom: 60px;
    }
}

#topInfo .tab {
    background: #eaeaea;
    padding: 35px 30px 30px 30px;
    min-height: 100%;
    height: 100%;
    color: #444444;
    line-height: 1.3;
    position: relative;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
}

@media (min-width: 768px) {
    #topInfo .tab {
        font-size: 1.125rem;
    }
    .tab_spacer {
        height: 20px;
    }
}

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

@media (min-width: 1200px) {
    #topInfo .tab {
        padding: 45px 40px 70px 40px;
    }
}

#topInfo .tabHeadline {
    color: #c24e00;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-family: 'Merriweather', serif;
}

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

@media (min-width: 1200px) {
    #topInfo .tabHeadline {
        font-size: 1.625rem;
    }
}

#topInfo .tabHeadline::before {
    content: "";
    display: block;
    width: 100%;
    height: 90px;
    background-position: center left;
    background-repeat: no-repeat;
    margin-bottom: 15px;
}

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

.teaserText a, #topInfo .tab_link_mehr a {
    background: #bbbbbb;
    display: inline-block;
    color: #333333;
    font-weight: 400;
    text-transform: uppercase;
    padding: 6px 15px;
}

#topInfo .tab_link_mehr a {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 1rem;
}

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

.teaserText a::after, #topInfo .tab_link_mehr a::after {
    content: "\2192";
    font-weight: 400;
    position: relative;
    left: 0;
    margin-left: 4px;
    -webkit-transition: left 200ms linear;
    -moz-transition: left 200ms linear;
    -ms-transition: left 200ms linear;
    -o-transition: left 200ms linear;
    transition: left 200ms linear;
}

.teaserText a:hover::after, #topInfo .tab_link_mehr a:hover:after {
    left: 6px;
}

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

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

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

.tab_link_mandat a {
    color: #444444;
}

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

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

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

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

/* ------------------------------------------ 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: "Merriweather", serif;
}

h1, #content .legacy_h1, .legacy_h1, h3, #content .legacy_h3, .legacy_h3, h5, #content .legacy_h5, .legacy_h5 {
    color: #c24e00;
}

h2, #content .legacy_h2, .legacy_h2, h4, #content .legacy_h4, .legacy_h4, h6, #content .legacy_h6, .legacy_h6 {
    color: #c24e00;
}

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

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

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

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


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

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


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


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

/* ------------------------------------------------ facts ----------------------------------------------- */

#facts {
    padding-top: 56px;
    padding-bottom: 56px;
    background: #ffeee8;
}

@media (max-width: 767px) {
    #facts>.row>div+div {
        margin-top: 30px;
    }
}

@media (min-width: 576px) {
    #facts>.row>div+div:not(:last-child) {
        margin-top: 0;
    }
}

#facts a {
    color: #d291bc;
}

#facts b, #facts strong {
    color: #957dad;
    font-size: 2.5rem;
    display: block;
    font-weight: 700;
    line-height: 1.1;
}

@media (min-width: 768px) {
    #facts b, #facts strong {
        font-size: 3.5rem;
    }
}

#facts>.row>div:last-child a {
    font-size: 1.8125rem;
    font-weight: 700;
    color: #957dad;
    line-height: 1.2;
}

#facts>.row>div:last-child a::after {
    content: "\2192";
    display: block;
    font-weight: 400;
    color: #d291bc;
    font-size: 3.5rem;
}

/* ------------------------------------------------ teaser ---------------------------------------------- */

#teaser {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    #teaser {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

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

#teaser>.row {
    z-index: 10;
}

#teaserBox>.row {
    margin-left: auto;
    margin-right: auto;
}

#teaser::after {
    content: "";
    position: absolute;
    z-index: -1;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 80px;
    background: #d291bc;
    border-bottom-left-radius: 500px;
}

@media (min-width: 992px) {
    #teaser::after {
        top: -55px;
        left: 50%;
        bottom: 0;
        border-bottom-left-radius: 0;
        border-top-left-radius: 500px;
    }
}

#teaser .tabHeadline, .teaserTab .tabHeadline {
    color: #957dad;
    text-transform: uppercase;
    font-weight: 700;
}

#teaser .tabHeadline {
    margin-bottom: 3px;
}

@media (max-width: 991px) {
    #teaser .teaserInfo .tabHeadline, #teaser .teaserInfo, #teaser .teaserInfo a {
        color: #ffffff;
    }
    #teaser .teaserInfo a {
        text-decoration: underline;
    }
}

.teaserTab .tabHeadline {
    font-size: 26px;
}

.teaserTab .tabHeadline::after {
    content: "-";
    display: block;
    color: #e0cece;
    line-height: 0.2;
    margin-bottom: 6px;
}

#teaserBox {
    background: #ffeee8;
    min-height: 100px;
    margin-top: 35px;
    position: relative;
}

#teaserBox::after {
    content: "";
    position: absolute;
    display: block;
    z-index: -1;
    left: 60px;
    right: 60px;
    top: 50%;
    bottom: 2px;
    -webkit-box-shadow: 0 20px 40px 0 rgba(153, 67, 67, 0.3);
    box-shadow: 0 20px 40px 0 rgba(153, 67, 67, 0.3);
}

#teaserBox .teaserText {
    padding: 30px 15px;
    font-weight: 300;
    line-height: 1.4;
}

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

@media (min-width: 992px) {
    #teaserBox .teaserText {
        padding-top: 55px;
        padding-bottom: 55px;
    }
}

#teaserBox .teaserText a {
    margin-top: 15px;
    font-size: 0.875rem;
}

#teaserBox .bannerImg {
    display: block;
    min-height: 200px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

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

#tabs {
    position: relative;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (max-width: 991px) {
    #tabs .tab {
        margin-bottom: 20px;
    }
}

@media (min-width: 992px) {
    #tabs .tab {
        min-height: 100%;
    }
}

#tabs .tab {
    background: #eaeaea;
    padding: 20px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
}

#tabs .tabHeadline {
    color: #444444;
    text-align: center;
    font-size: 1.5625rem;
    font-weight: bold;
    font-family: 'Merriweather' , serif;
    padding-top: 20px;
}

#tabs::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333333;
    opacity: 0.6;
    pointer-events: none;
}

#footer {
    background: #333333;
    padding-top: 40px;
    padding-bottom: 40px;
    color: #ffffff;
    font-size: 1rem;
}

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

@media (min-width: 768px) {
    #footer {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    #footer>.row>div+div:nth-child(2):before {
        display: none;
    }
    #footer>.row>div+div::before {
        margin: 35px 0;
    }
}

#footer>.row>div:last-child>div+div {
    margin-top: 30px;
}

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

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

@media (min-width: 992px) {
    #footer > .row + .row {
        margin-top: 50px;
    }
}

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

.footerHeadline.gap {
    margin-top: 30px;
}

@media (min-width: 992px) {
    .footerHeadline.gap {
        margin-top: 40px;
    }
}

#footer iframe, #footer .iframe-wrapper-manual-enabling {
    width: 100% !important;
    display: block !important;
    min-width: 100% !important;
}

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

#counter {
    background: #eaeaea;
    border-radius: 30px;
    display: block;
    max-width: 215px;
    margin: 0 auto;
    padding: 2px;
    color: #333333;
    padding-right: 20px;
    text-align: justify;
    text-align-last: justify;
}

#counter b {
    background: #333333;
    border-radius: 30px;
    display: inline-block;
    padding: 4px 12px;
    color: #ffffff;
    margin-right: 20px;
}

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

#footer #vernetzt {
    text-align: right;
    color: #ffffff;
    line-height: 1.3;
    margin: 30px auto 0 auto;
    font-weight: 400;
    text-decoration: none;
    font-size: 0.875rem;
}

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

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

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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

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

#innerfooter {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.4;
}

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

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

@media (min-width: 992px) {
    #innerfooter a+a {
        margin-left: 40px;
    }
}

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

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

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

#search {
    height: 33px;
    background: #eaeaea;
    border-radius: 20px;
    display: block;
    position: relative;
    width: 100%;
    max-width: 240px;
    margin-top: 30px;
}

#search_input {
    color: #6e6e6e;
    font-size: 14px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 33px;
    padding-left: 10px;
    padding-right: 43px;
    height: 33px;
    width: 100%;
}

#search_submit {
    width: 33px;
    background: #333333 url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 33px;
    border: none;
    position: absolute;
    top: 1px;
    right: 1px;
    height: 94%;
    border-radius: 100%;
    font-size: 0;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

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

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

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

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