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

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

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

a {
    color: #364eba;
}

a:hover {
    color: #364eba;
}

#content a {
    text-decoration: underline;
}

b, strong {
    font-weight: 600;
}

.dropdown-toggle-button-wrapper, .dropdown-toggle-button-wrapper2 {
    right: 0;
}
/* ----------------------------------------------- logo ----------------------------------------------- */

#logoHeader {
    padding-top: 10px;
    padding-bottom: 10px;
}

#logo {
    display: inline-block;
}

#logo img {
    display: block;
    max-height: 120px;
}

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

/* --------------------------------------------- quicklinks ---------------------------------------------- */

@media (min-width: 992px) {
    #quickLinks {
        margin-right: 35px;
    }
}

@media (min-width: 1200px) {
    #quickLinks {
        margin-right: 52px;
    }
}

#quickLinks a {
    font-size: 1rem;
    text-transform: uppercase;
    color: #b29d9d;
}

#quickLinks a[title*="Startseite"]::before, #quickLinks a[title*="Start"]::before, #quickLinks a[title*="Home"]::before {
    content: "\2302";
    font-family: "Arial", sans-serif;
    margin-right: 3px;
}

#quickLinks a:hover {
    color: #665a5a;
}

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

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

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

@media (min-width: 992px) {
    #style button {
        border: none;
        color: #364eba;
        display: inline-block;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        font-weight: 400;
        text-align: center;
        background-color: #fde992;
        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;
        font-size: 16px;
    }
    #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);
    }
    #style button:nth-child(3) {
        font-size: 14px;
    }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu-wrapper {
        margin-top: 70px;
    }
    #burgerButton {
        font-size: 0;
        position: absolute;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
        right: 12px;
        top: 50%;
        margin-top: -20px;
    }
    #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
        background-color: #364eba;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        -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: 11px;
    }
    #burgerButtonInner2 {
        top: 19px;
    }
    #burgerButton:after {
        top: 27px;
        content: "";
        display: block;
    }
    .navbar-nav {
        margin: 20px 0;
    }
    .navbar-collapse {
        top: 100px;
        background: #364eba;
        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 {
        height: 100px;
        line-height: 1;
        border-radius: 2px;
        padding: 10px 15px;
        background-color: #ffffff;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        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);
    }
    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 100px;
        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%;
    }
}

@media (min-width: 992px) {
    #menu {
        background-color: #364eba;
    }   
    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 .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;
    }

    .navbar-default .navbar-nav > li > .dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        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;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 10px 5px 15px 5px;
    position: relative;
    font-size: 1.35rem;
    line-height: 1;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid #ffffff;
    }
    .navbar-default .navbar-nav>li>a.dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 20px;
    }
    .navbar-default .navbar-nav>li>a {
        padding: 20px 4px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: 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: "";
    width: 0;
    height: 4px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    -webkit-transition: width 300ms linear, background-color 300ms linear;
    -moz-transition: width 300ms linear, background-color 300ms linear;
    -ms-transition: width 300ms linear, background-color 300ms linear;
    -o-transition: width 300ms linear, background-color 300ms linear;
    transition: width 300ms linear, background-color 300ms linear;
}

@media (min-width: 992px) {   
    .navbar-default .navbar-nav>li>.dropdown-toggle::after {
        width: 8px;
        height: 8px;
        border-top: 2px solid #ececec;
        border-left: 2px solid #ececec;
        transform: rotate(135deg);
        content: '';
        display: block;
        position: absolute;
        top: 25px;
        right: -15px;
    }
}

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

.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: #ffffff;
    background-color: transparent;
}

.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%;
    background-color: #ffffff;
}

@media (min-width: 992px) {
    .navbar-nav > li > .dropdown-toggle:hover::after,
    .navbar-nav > li > .dropdown-toggle:focus::after,
    .navbar-nav > li.open > .dropdown-toggle::after,
    .navbar-nav > li.open > .dropdown-toggle:hover::after,
    .navbar-nav > li.open > .dropdown-toggle:focus::after,
    .navbar-nav > li[class$="_over"] > .dropdown-toggle::after,
    .navbar-nav > li[class$="_over"] > .dropdown-toggle:hover::after,
    .navbar-nav > li[class$="_over"] > .dropdown-toggle:focus::after {
        transform: rotate(225deg);
    }
}

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

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

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 6px;
        left: 0;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-left: 6px;
        margin-top: -30px;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    color: #444444;
    font-weight: 400;
    text-align: left;
    padding: 6px 10px;
    font-size: 1.125rem;
}

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a {
        color: #444444;
        font-weight: 400;
        text-align: center;
        padding: 6px 25px;
        font-size: 1.125rem;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-toggle::after {
    width: 8px;
    height: 8px;
    border-top: 2px solid #454544;
    border-left: 2px solid #454544;
    transform: rotate(135deg);
    content: '';
    display: block;
    position: absolute;
    top: 15px;
    right: 10px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #444444;
    font-weight: 300;
    text-align: left;
    padding: 6px 25px;
    font-size: 1.125rem;
}

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

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

.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: #fde992;
    color: #444444;
}

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

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

@media (max-width:577px) {
    #headerpic {
        margin-top: 80px;
    }
}

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

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

#bannerOverlay {
    padding-top: 25px;
}

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

#bannerOverlay h1, #bannerOverlay h2, #bannerOverlay h3, #bannerOverlay h4, #bannerOverlay h5, #bannerOverlay h6 {
    margin-bottom: 0;
}

@media (min-width: 576px) {
    #bannerOverlay {
        padding-top: 0;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 120px;
        z-index: 60;
        color: #ffffff;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
        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 h1 {
        font-size: 2.5rem;
    }
}

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

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

@media (min-width: 1200px) {
    #bannerOverlay {
        font-size: 1.875rem;
        bottom: 180px;
    }
    #bannerOverlay h1 {
        font-size: 3.75rem;
    }
}

.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: #fde992 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;
}

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

#search {
    background: #f4f4f4;
    display: inline-block;
    position: relative;
    border-radius: 10px;
    width: 100%;
}

@media (min-width: 768px) {
    #search {
        border-radius: 30px;
        height: 38px;
        max-width: 400px;
    }
}

@media (min-width: 992px) {
    #search {
        max-width: 240px;
        margin-right: 30px;
    }
}

#search_input {
    color: #6e6e6e;
    font-size: 16px;
    font-weight: 300;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 38px;
    padding-left: 14px;
    padding-right: 14px;
    height: 38px;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    #search_input {
        padding-right: 47px;
        text-align: left;
    }
}

#search_submit {
    width: 100%;
    height: 38px;
    background: #fde992 url('../img/lupe-icon.png') center no-repeat;
    border: none;
    background-size: 14px 14px;
    padding: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
    display: block;
    -webkit-transition: transform 150ms linear;
    -moz-transition: transform 150ms linear;
    -ms-transition: transform 150ms linear;
    -o-transition: transform 150ms linear;
    transition: transform 150ms linear;
    font-size: 0;
}

@media (min-width: 768px) {
    #search_submit {
        position: absolute;
        border-radius: 50%;
        top: 0px;
        right: -5px;
        width: 38px;
        height: 38px;
        z-index: 5;
    }
}

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

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

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

#search_input:-moz-placeholder, #newsletter_input:-moz-placeholder {
    opacity: 1;
}
/* ------------------------------------------------ topInfo ----------------------------------------------- */

#topInfo {
    padding-top: 40px;
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
    -webkit-box-shadow: inset 0px 0px 10px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 0px 0px 10px 1px rgba(0,0,0,0.3);
    box-shadow: inset 0px 0px 10px 1px rgba(0,0,0,0.3);
}

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

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

@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: #ffffff;
    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: #ffffff;
}

#topInfo>.row>div:first-child h1::after {
    content: "-";
    display: block;
    color: #ffffff;
    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: #364eba;
    border-bottom-right-radius: 500px;
}

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

#topInfo .tab {
    background: #ffffff;
    padding: 35px 30px 30px 30px;
    min-height: 100%;
    height: 100%;
    color: #807171;
    line-height: 1.3;
    position: relative;
}

@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: #364eba;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

@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: 60px;
    background-position: center left;
    background-repeat: no-repeat;
    margin-bottom: 15px;
}

#topInfo .tab_link_mehr,#tab2 .tabContent a {
    color: transparent;
    font-size: 0;
}

.teaserText a, #topInfo .tab_link_mehr a, #tab2 .tabContent a {
    background: #fde992;
    display: inline-block;
    color: #444444;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 15px;
}

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

#tab2 .tabContent a {
    font-size: 1rem;
}

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

.teaserText a:hover, #topInfo .tab_link_mehr a:hover {
    background: #957dad;
}

.teaserText a::after, #topInfo .tab_link_mehr a::after, #tab2 .tabContent 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;
}
.tabInfo {
    background: #364eba;
}

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

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

#tab2 .tabContent {
    color: #444444;
    font-weight: 400;
}

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

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

.tab_link_date {
    color: #444444;
    font-weight: 400;
}

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

#content {
    text-align: left;
    padding-top: 40px;
    padding-bottom: 40px;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.3);
}

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

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

@media (min-width: 1200px) {
    #content > .row::after {
        content: '';
        background: url(../img/wappen.png) center center no-repeat;
        background-size: contain;
        height: 500px;
        width: 400px;
        position: absolute;
        right: 0;
        bottom: -140px;
        transform: rotate(15deg);
        opacity: 0.05;
        overflow: hidden;
        pointer-events: none;
    }
}

/* ------------------------------------------ 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: 600;
    line-height: 1;
    font-family: "Jost", serif;
}

h1, #content .legacy_h1, .legacy_h1, h3, #content .legacy_h3, .legacy_h3, h5, #content .legacy_h5, .legacy_h5, h2, #content .legacy_h2, .legacy_h2, h4, #content .legacy_h4, .legacy_h4, h6, #content .legacy_h6, .legacy_h6 {
    color: #364eba;
}

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

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

@media (min-width: 992px) {
    body.index h1, body.index .h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1200px) {
    body.index h1, body.index .h1 {
        font-size: 3.5rem;
    }
}

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

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

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

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

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.8rem;
    }
}

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

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

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

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

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

/* ------------------------------------------------ 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: #364eba;
    font-weight: 600;
}

#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 ----------------------------------------------- */
#footer {
    color: #444444;
    font-size: 1rem;
}

#footer >.row {
    background: rgba(255, 255, 255, 0.9);
    padding-top: 40px;
    padding-bottom: 40px;
}

#footer img {
    max-height: 100px;
}

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

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

@media (min-width: 992px) {
    #footer >.row {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}

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

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

.footerHeadline {
    color: #364eba;
    font-weight: 600;
    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 {
    width: 100%;
    max-width: 260px;
    text-align: justify;
    text-align-last: justify;
    margin-left: auto;
    margin-right: auto;
}

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

@media (min-width: 992px) {
    #counter {
        margin-right: 0;
        font-size: 1.25rem;
    }
}

#counter span {
    padding-left: 26px;
    position: relative;
    font-weight: 600;
    color: #364eba;
}

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

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

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

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

#vernetzt span {
    color: #444444;
}

#vernetzt span span {
    display: block;
}

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

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

#innerfooter {
    color: #444444;
    font-size: 1rem;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.3);
}

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

#innerfooter a {
    color: #444444;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    margin-right: 5px;
    padding: 5px 10px;
}

#innerfooter a:hover {
    background: #fde992;
}

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

@media (min-width: 1200px) {
    #innerfooter a+a {
        margin-left: 10px;
    }
    #innerfooter a {
        margin-right: 10px;
        padding: 5px 15px;
    }
}