/*
    @font   eine Font
    @fonts  zwei Fonts
*/

@import url("https://fonts.verwaltungsportal.de/import/?family=Open+Sans:400,500,700");
@import url("https://fonts.verwaltungsportal.de/import/?family=Raleway:700");
body {
    font-family: "Open Sans";
    color: #212121;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #004899;
}

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

b, strong {
    font-weight: 700;
}

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

#logo {
    display: inline-block;
    max-width: 250px;
}

#logo img {
    display: block;
}

 @media (min-width: 992px) {
    #logo {
       position: relative;
    }
    #logo::before {
        content: '';
        position: absolute;
        background-color: rgba(255,255,255,0.90);
        width: 200px;
        height: 500px;
        left: 0;
    }
    #logo img {
        display: block;
        max-width: auto;
        width: calc(100% + 40px);
        max-width: inherit !important;
        left: -20px;
        position: relative;
        bottom: -20px;
    }
 }

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

.logobox{
    background: #8ab715;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: none !important;
        position: relative;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
    }
    #burgerButton:before, #burgerButton:after, #burgerButtonInner {
        background-color: #212121;
        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"]:before {
        opacity: 0;
    }
    #burgerButton[aria-expanded="true"]:after {
        -webkit-transform: rotate(45deg) translate(-4px, -6px);
        transform: rotate(45deg) translate(-4px, -6px);
    }
    #burgerButtonInner {
        top: 10px;
    }
    #burgerButton:before {
        top: 18px;
    }
    #burgerButton:after {
        top: 26px;
    }
    #burgerButton:before, #burgerButton:after {
        content: "";
        display: block;
    }
    .navbar-nav {
        margin: 20px 0;
    }
    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }
    .navbar-collapse.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);
    }
    .navbar-collapse.in:after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 90px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }
    .navbar-collapse.collapse.in:after {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        background-color: #ffffff;
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
        -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);
    }
    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;
    }
    /* Fade in Hover Start */
    .navbar-default .navbar-nav li[class*="toplevel"]>ul, .navbar-default .navbar-nav li[class*="secondlevel"]>ul {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }
    .navbar-default .open>.dropdown-menu, .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul, .navbar-default .navbar-nav li[class*="secondlevel"]:hover>ul, .navbar-default .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul, .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .navbar-default .nav .open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }
    /* Pseudo */
    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 30px;
        left: 0;
        right: 0;
        top: -20px;
    }
    /* 3rd */
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
    /* Fade in Hover End */
}

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

.navbar-default .navbar-nav>li>a {
    color: #212121;
    font-weight: 700;
    text-align: center;
    padding: 10px 35px 15px 35px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 0;
    }
    .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;
    }
}

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

.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 {
    opacity: 1;
}

/* -------------------------------------- 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: 15px;
    }
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: 18px;
        margin-bottom: 18px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: 0;
        margin-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: #212121;
    font-weight: 500;
    text-align: center;
    padding: 9px 25px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

/* ------------------------------------------ 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, .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: #435772;
    color: #ffffff;
}

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

@media (min-width: 992px) {
    #slider {
        max-height: 490px;
    }
    
    #headerpic a.nivo-prevNav {
        left: 65px;
    }
    #headerpic a.nivo-nextNav {
        right: 65px;
    }

    .nivo-directionNav a{
        bottom: 25px !important;
        top: unset !important;
    }

    .theme-default .nivo-controlNav{
        bottom: 15px !important;
        pointer-events: none;
    }

    .theme-default .nivo-controlNav a{
        pointer-events: all;
    }

}

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

.slider-mask {
    display: none;
}

#bannerOverlay {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
}

#bannerOverlay>.row>div {
    position: relative;
    z-index: 61;
}

@media (max-width: 767px) {
    body:not(.index) #bannerOverlay {
        display: none;
    }
}

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

main {
    text-align: left;
    padding-bottom: 30px;
    padding-top: 30px;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

@media (min-width: 992px) {
    main {
        padding-bottom: 80px;
        padding-top: 60px;
    }
}

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

#daten, #event {
    background-color: #fbffad;
    font-size: 1rem;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -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);
    margin-top: 30px;
}

.kontakt, .offen {
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.news .tab_link_mehr {
    font-size: 0;
    text-align: center !important;
    padding-bottom: 10px;
}

.news .tab_link_mehr a {
    background-color: #435772;
    color: #ffffff;
    padding: 5px 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    margin: 5px 0;
    display: inline-block;
}

.news .tab_link {
    position: relative;
    padding: 0 15px;
    margin-top: 15px;
}

.news .tab_link_title a {
    color: #212121;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.news .tab_link_title a::before {
    content: "•";
    margin-right: 5px;
    margin-left: -15px;
    color: #212121;
}

.news .tab_link_date {
    margin: 0;
}

#daten::before {
    content: '';
    background-image: url('../img/office-3295556_1920.png');
    display: block;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    left: 0;
    right: 0;
    height: 220px;
    overflow: hidden;
    margin-bottom: -20px;
}

.bild {
    background-image: url('../img/Frontbild3.png');
    background-repeat: no-repeat;
    height: 281px;
    top: -78px;
    position: relative;
    margin-bottom: -78px;
    background-size: cover;
    background-position: center top;
}

#daten::before {
    content: '';
    background-image: url('../img/office-3295556_1920.png');
    display: block;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    left: 0;
    right: 0;
    height: 220px;
    overflow: hidden;
    margin-bottom: -50px;
}

#daten .tabHeadline::after {
    content: '';
    width: 0;
    height: 0;
    -webkit-transform: rotate(360deg);
    border-style: solid;
    border-width: 9px 15px 0 0;
    border-color: #4b4b4b transparent transparent transparent;
    content: '';
    position: absolute;
    right: 2px;
    top: 60px;
}

#daten .tabHeadline {
    position: relative;
    background-color: #435772;
    color: #ffffff;
    text-align: center;
    padding: 15px 80px;
    right: -35px;
    z-index: 1;
    width: auto;
    display: inline-block;
    top: -160px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
}

#event .tabHeadline::after {
    content: '';
    width: 0;
    height: 0;
    -webkit-transform: rotate(360deg);
    border-style: solid;
    border-width: 9px 15px 0 0;
    border-color: #4b4b4b transparent transparent transparent;
    content: '';
    position: absolute;
    right: 2px;
    top: 60px;
}

#event .tabHeadline {
    position: relative;
    background-color: #435772;
    color: #ffffff;
    text-align: center;
    padding: 15px 40px;
    right: -34px;
    z-index: 1;
    width: auto;
    display: inline-block;
    top: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
}

@media (min-width:768px) and (max-width: 992px) {
    .kontakt .tabContent::after {
        border-right: 1px solid #262626;
        content: '';
        bottom: 20px;
        top: 0;
        position: absolute;
        right: -15px;
        left: 0;
        border-bottom: none;
    }
    .kontakt, .offen {
        position: relative;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
    }
    .news .tab_link_mehr {
        font-size: 0;
        text-align: center !important;
        padding-bottom: 10px;
    }
    .news .tab_link_mehr a {
        background-color: #435772;
        color: #ffffff;
        padding: 5px 12px;
        text-decoration: none;
        font-weight: 700;
        font-size: 1rem;
        margin: 5px 0;
        display: inline-block;
    }
    .news .tab_link {
        position: relative;
        padding: 0 15px;
        margin-top: 15px;
    }
    .news .tab_link_title a {
        color: #212121;
        text-decoration: none;
        font-weight: 700;
        font-size: 1rem;
    }
    .news .tab_link_title a::before {
        content: "•";
        margin-right: 5px;
        margin-left: -15px;
        color: #212121;
    }
    .news .tab_link_date {
        margin: 0;
    }
    #daten::before {
        content: '';
        background-image: url('../img/office-3295556_1920.png');
        display: block;
        position: relative;
        background-repeat: no-repeat;
        background-size: cover;
        left: 0;
        right: 0;
        height: 220px;
        overflow: hidden;
        margin-bottom: -20px;
    }
    .bild {
        background-image: url('../img/Frontbild3.png');
        background-repeat: no-repeat;
        display: block;
        background-size: cover;
        overflow: hidden;
        height: 481px;
        top: -78px;
        position: relative;
        margin-bottom: -78px;
    }
    #daten::before {
        content: '';
        background-image: url('../img/office-3295556_1920.png');
        display: block;
        position: relative;
        background-repeat: no-repeat;
        background-size: cover;
        left: 0;
        right: 0;
        height: 220px;
        overflow: hidden;
        margin-bottom: -50px;
    }
    #daten .tabHeadline::after {
        content: '';
        width: 0;
        height: 0;
        -webkit-transform: rotate(360deg);
        border-style: solid;
        border-width: 9px 15px 0 0;
        border-color: #4b4b4b transparent transparent transparent;
        content: '';
        position: absolute;
        right: 1px;
        top: 63px;
    }
    #daten .tabHeadline {
        position: relative;
        background-color: #435772;
        color: #ffffff;
        text-align: center;
        padding: 15px 80px;
        right: -415px;
        z-index: 1;
        width: auto;
        display: inline-block;
        top: -160px;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    }
    #event .tabHeadline::after {
        content: '';
        width: 0;
        height: 0;
        -webkit-transform: rotate(360deg);
        border-style: solid;
        border-width: 9px 15px 0 0;
        border-color: #4b4b4b transparent transparent transparent;
        content: '';
        position: absolute;
        right: 1px;
        top: 62px;
    }
    #event .tabHeadline {
        position: relative;
        background-color: #435772;
        color: #ffffff;
        text-align: center;
        padding: 15px 80px;
        right: -329px;
        z-index: 1;
        width: auto;
        display: inline-block;
        top: 10px;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    }
}

@media (min-width: 992px) {
    .kontakt .tabContent::after {
        border-right: 1px solid #262626;
        content: '';
        bottom: 20px;
        top: 0;
        position: absolute;
        right: -15px;
        left: 0;
        border-bottom: none;
    }
    #daten, #event {
        background-color: #fbffad;
        font-size: 1rem;
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
        -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);
        margin-top: 0;
    }
    #daten::before {
        content: '';
        background-image: url('../img/office-3295556_1920.png');
        display: block;
        position: relative;
        background-repeat: no-repeat;
        background-size: cover;
        left: 0;
        right: 0;
        height: 220px;
        overflow: hidden;
        margin-bottom: -50px;
    }
    #daten .tabHeadline::after {
        content: '';
        width: 0;
        height: 0;
        -webkit-transform: rotate(360deg);
        border-style: solid;
        border-width: 9px 15px 0 0;
        border-color: #4b4b4b transparent transparent transparent;
        content: '';
        position: absolute;
        right: 2px;
        top: 62px;
    }
    #daten .tabHeadline {
        position: relative;
        background-color: #435772;
        color: #ffffff;
        text-align: center;
        padding: 15px 80px;
        right: -250px;
        z-index: 1;
        width: auto;
        display: inline-block;
        top: -160px;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    }
    #event .tabHeadline::after {
        content: '';
        width: 0;
        height: 0;
        -webkit-transform: rotate(360deg);
        border-style: solid;
        border-width: 9px 15px 0 0;
        border-color: #4b4b4b transparent transparent transparent;
        content: '';
        position: absolute;
        right: 2px;
        top: 62px;
    }
    #event .tabHeadline {
        position: relative;
        background-color: #435772;
        color: #ffffff;
        text-align: center;
        padding: 15px 80px;
        right: -160px;
        z-index: 1;
        width: auto;
        display: inline-block;
        top: 10px;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    }
    .bild {
        background-image: url('../img/Frontbild3.png');
        background-repeat: no-repeat;
        height: 481px;
        top: -78px;
        position: relative;
        margin-bottom: -78px;
    }
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #435772;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Raleway";
}

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

#content h1::after, #content .legacy_h1::after {
    content: "";
    display: block;
    height: 7px;
    width: 140px;
    background-color: #8ab715;
    margin: 12px 0;
}

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

h2, .h2, .legacy_h2 {
    font-size: 1.6rem;
}

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

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

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

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

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

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

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

footer {
    background-color: #8ab715;
    padding-top: 0;
    padding-bottom: 0;
    color: #212121;
}

@media (max-width: 992px) {
    footer {
        background-color: #8ab715;
        padding-top: 30px;
        padding-bottom: 30px;
        color: #212121;
    }
    #innerfooter {
        font-size: 0.9375rem;
    }
}

#innerfooter {
    font-size: 0.9375rem;
    border-top: 1px solid #fff;
}

#innerfooter ul {
    padding-left: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #212121;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    line-height: 30px;
}

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

#innerfooter li+li::before {
    content: "•";
    margin: 0 15px;
    color: #212121;
    display: inline-block;
}

@media (min-width: 992px) {
    #innerfooter li::after {
        margin: 0 10px;
    }
    #innerfooter li:nth-child(1), #innerfooter li:nth-child(2), #innerfooter li:nth-child(4), #innerfooter li:nth-child(5) {
        padding-left: 0;
    }
    #innerfooter li:nth-child(3) {
        padding-left: 0;
    }
    #innerfooter {
        text-align: right;
        font-size: 0.9375rem;
        padding-top: 30px;
    }
}

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

#vernetzt {
    text-align: right;
    font-size: 0.9375rem;
    color: #212121;
    line-height: 1.3 !important;
    padding-top: 60px;
    font-weight: 500;
    padding-bottom: 20px;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    #vernetzt {
        padding-top: 20px;
    }
}

#vernetzt b {
    color: #212121;
    font-weight: 500;
}

#vernetzt span {
    color: #212121;
}

#vernetzt span span {
    display: block;
}

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

/* ----------------------------------------------- contact ----------------------------------------------- */
#contact a {
    color: #000;
    text-decoration: underline;
}
address {
    font-style: normal;
}

#contact {
    position: relative;
}

#contact .tab {
    padding: 30px 0;
    font-size: 1rem;
}

@media (max-width: 991px) {
    #contact .tab {
        padding: 20px 0;
    }
}

#contact .tab h1, #contact .tab h2, #contact .tab h3, #contact .tab h4, #contact .tab h5, #contact .tab h6 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212121;
    font-family: "Open Sans", sans-serif;
}

#contact>.row>div:nth-child(2) .tab a {
    text-decoration: underline;
}

.iframetab * {
    height: 100%;
}

.cleaner {
    display: none !important;
}

.iframetab iframe, .iframetab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
    max-height: 100%;
}

@media (min-width: 1200px) {
    
    #contact>.row>.col-xs-12:nth-child(1) {
        padding-left: 0px;
    }
}