@import url("https://fonts.verwaltungsportal.de/import/?family=Margarine:400,400i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Open+Sans:400,400i,600,600i");

body {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: #444444;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #cc4400;
}

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

b,
strong {
    font-weight: 600;
}

.static {
   position: static;
}

/* ----------------------------------------------- topbar ----------------------------------------------- */

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

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

@media (min-width: 1200px) {
    #topbar {
        overflow: hidden;
        position: relative;
        background: url('../img/stifte-und-schere.png') bottom right no-repeat;
    }

    #topbar>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        top: -27px;
        left: -19vw;
        height: 5px;
        width: 1560px;
        z-index: -1;
        background: #f9a620;
    }

    #topbar>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: -30px;
        right: -220px;
        width: 234px;
        height: 44px;
        background: url('../img/oranger-stift.png') center no-repeat;
    }
}

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

#logo {
    display: inline-block;
    font-weight: 400;
    font-size: 2.9375rem;
    color: #444444;
    text-decoration: none;
    line-height: 0.9;
}

#logo b,
#logo strong {
    font-family: "Margarine", sans-serif;
    font-weight: 400;
    color: #4c7e2a;
    font-size: 3rem;
    text-transform: uppercase;
}

@media (max-width: 1199px) {
    #logo {
        font-size: 1.6875rem;
    }

    #logo b,
    #logo strong {
        font-size: 1.75rem;
    }
}

@media (max-width: 575px) {
    #logo {
        font-size: 1.125rem;
    }

    #logo b,
    #logo strong {
        font-size: 1.25rem;
    }
}

#logo .btgrid>.row {
    align-items: center;
    align-content: center;
}

#logo .btgrid>.row>div:nth-child(2) {
    text-align: center;
}


#logo .btgrid>.row>div:nth-child(1) {
    flex: 0 0 25%;
    max-width: 25%;
    min-width: 25%;
}

#logo .btgrid>.row>div:nth-child(2) {
    flex: 0 0 75%;
    max-width: 75%;
    min-width: 75%;
    margin-left: -25px;
}


#logo img {
    display: block;
    line-height: 0;
}

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

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

form[id^="search"] {
    height: 38px;
    background: #f4f4f4;
    display: inline-block;
    position: relative;
    border-radius: 30px;
    margin-top: 15px;
}

@media (min-width: 768px) {
    form[id^="search"] {
        margin-top: 6px;
    }
}

@media (max-width: 991px) {
    form[id^="search"] {
        margin: 0 15px;
    }
}

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

form [id^="search_input"] {
    color: #444444;
    font-size: 16px;
    font-style: normal !important;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 38px;
    padding-left: 14px;
    padding-right: 47px;
    height: 38px;
    width: 100%;
    border-radius: 30px;
    display: block;
}

form [id^="search_submit"] {
    width: 48px;
    height: 48px;
    border: 5px solid #ffffff;
    background: #f9a620 url('../img/lupe-icon.png') center no-repeat;
    background-size: 14px 14px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0;
    -webkit-transition: transform 150ms linear;
    -moz-transition: transform 150ms linear;
    -ms-transition: transform 150ms linear;
    -o-transition: transform 150ms linear;
    transition: transform 150ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

[id^="search_input"]::-ms-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #444444 !important;
}

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

input::placeholder {
    color: #444444 !important;
    font-style: normal !important;
}

.contrast_light_font form[id^="search"],
.contrast_light_font #search1,
.contrast_light_font #search_input1,
.contrast_light_font #search2,
.contrast_light_font #search_input2 {
    background-color: #ffffff !important;
}

.contrast_light_font form [id^="search_submit"] {
    background: #ffffff url('../img/lupe-icon.png') center no-repeat;
}

.contrast_dark_font form [id^="search_submit"] {
    background: #ffffff url('../img/lupe-icon.png') center no-repeat;
}

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

@media (min-width: 992px) {
    #style {
        display: inline-block;
        height: 38px;
        margin-top: 20px;
    }

    #style button {
        font-size: 16px;
        padding: 0 0 2px 0;
        border: none;
        color: #444444;
        display: inline-block;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        font-weight: 400;
        text-align: center;
        background-color: #f9a620;
        position: relative;
        line-height: 1;
        transition: all 150ms linear;
    }

    #style button+button {
        margin-left: 8px;
    }

    #style button:hover,
    #style button:focus {
        background: #cc4400;
        color: #ffffff;
    }
}

#contrast_style button {
    color: #000000;
    padding: 0;
    border: none;
    display: inline-block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: 400;
    text-align: center;
    background-color: #f9a620;
    position: relative;
    z-index: 1;
    font-size: 0;
}

#contrast_style button:hover,
#contrast_style button:focus {
    background: #cc4400;
}

#contrast_style button::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: -6px;
    top: -6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 1);
    opacity: 0;
    -webkit-transition: opacity 150ms linear;
    -moz-transition: opacity 150ms linear;
    -ms-transition: opacity 150ms linear;
    -o-transition: opacity 150ms linear;
    transition: opacity 150ms linear;
}

#contrast_style *+* {
    margin-left: 8px;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    bottom: 10px;
    border: 1px solid rgba(0, 0, 0, 1);
    border-radius: 50%;
}

.contrast_light_font #contrast_style button::after,
.contrast_light_font #style button {
    border: 1px solid rgb(255, 255, 255) !important;
}

.contrast_dark_font #style button {
    border: 1px solid rgb(0, 0, 0) !important;
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 0.6) 50%);
}

#contrast_style button:nth-of-type(3)::after {
    background: #ea5b0c;
}

/* --------------------------------------- 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: #ffffff;
        border: none !important;
        -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: #4c7e2a;
        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: #4c7e2a;
        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) {
    #menu {
        background-color: rgba(76, 126, 42, 0.9);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 12;
    }

    .is-sticky #menu {
        background-color: #4c7e2a;
    }

    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;
        flex-wrap: wrap;
    }

    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }

    nav.horizontally li[class*="toplevel"]>ul {
        position: absolute;
        top: auto;
        right: 0;
        left: 50% !important;
        transform: translate(-50%);
        width: 100%;
        z-index: 1000;
        margin: 0;
        padding: 20px 25px;
        max-height: 60vh;
        overflow: visible;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
        background: rgba(255, 255, 255, 0.96);
    }

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        column-count: 4;
        column-gap: 30px;
        max-width: 992px;
        margin: 0 auto;
        padding: 0 15px;
        height: auto;
    }

    nav.horizontally li[class*="secondlevel"] {
        float: none;
        page-break-inside: avoid;
        break-inside: avoid;
        display: table !important;
    }

    nav.horizontally .navbar-nav>li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav>li.open:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
        top: 100%;
    }

    nav.horizontally .navbar-nav>li.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

    nav.horizontally .navbar-nav>li:is(:hover, :focus)>ul {
        z-index: 1003;
    }

    #mCSB_1_scrollbar_vertical {
        left: 50%;
        margin-left: calc(962px / 2);
    }
}

@media (min-width: 1200px) {
    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        max-width: 1200px;
        padding-top: 25px;
        padding-bottom: 45px;
    }

    #mCSB_1_scrollbar_vertical {
        margin-left: calc(1140px / 2);
    }
}

nav.horizontally li:is([class$="_end"], [class$="_start"]) {
    display: none;
}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 10px 15px 15px 15px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Margarine", sans-serif;
}

@media (max-width: 991px) {

    nav.horizontally .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: 18px 0;
        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: 20px;
    height: 9px;
    display: block;
    position: absolute;
    left: 30px;
    bottom: 0;
    border-top-left-radius: 90px;
    border-top-right-radius: 90px;
    background-color: #f9a620;
    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;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a::before {
        left: 50%;
        margin-left: -9px;
    }
}

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

.navbar-nav>li:focus-within>a {
    color: #ffffff;
    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 {
    opacity: 1;
}

.navbar-nav>li:focus-within>a::before {
    opacity: 1;
}

/* secondlevel + thirdlevel dropdown-box */

@media (max-width: 991px) {
    nav.horizontally [class*="toplevel"] ul {
       padding: 10px;
       background: rgba(255, 255, 255, 0.8);
    }
 }
 
 @media (min-width: 992px) {
    nav.horizontally [class*="secondlevel"]>ul {
       display: block;
    }
 }
 
 /* secondlevel + thirdlevel */
 
 nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    text-align: left;
    padding: 8px 35px 8px 25px;
    font-size: 1rem;
    color: #4c7e2a;
    line-height: 1.2;
    text-decoration: none;
 }
 
 nav.horizontally a[class*="secondlevel"] {
    font-weight: 400;
    font-family: "Margarine", sans-serif;
    text-transform: uppercase;
 }
 
 nav.horizontally a[class*="thirdlevel"] {
    font-weight: 400;
    color: #444444;
 }
 
 @media (min-width: 992px) {
    nav.horizontally a[class*="secondlevel"] {
       padding: 20px 0px 10px 25px;
    }
 
    nav.horizontally a[class*="thirdlevel"] {
       padding: 5px 0 5px 20px;
    }
 }
 
 /* secondlevel + thirdlevel over */
 
 nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a,
 nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus),
 nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a,
 nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus),
 nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a,
 nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus) {
    color: #4c7e2a;
 } 
 
 nav.horizontally li:is([class*="secondlevel"]):is(:hover, :focus-within)>a,
 nav.horizontally li:is([class*="secondlevel"])>a:is(:hover, :focus),
 nav.horizontally li:is([class*="secondlevel"]).open>a,
 nav.horizontally li:is([class*="secondlevel"]).open>a:is(:hover, :focus),
 nav.horizontally li:is([class*="secondlevel"])[class*="_over"]>a,
 nav.horizontally li:is([class*="secondlevel"])[class*="_over"]>a:is(:hover, :focus) {
    background: url(../img/logo-hover.png) left center no-repeat;
 }
 
/* ----------------------------------------------- banner ----------------------------------------------- */

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

#headerpic .nivo-directionNav a.nivo-prevNav,
#headerpic .nivo-directionNav a.nivo-nextNav {
    background-color: rgba(0, 0, 0, 0.01);
}

@media (min-width: 992px) {
    #slider {
        max-height: 550px;
    }

    body.index #slider {
        max-height: 700px;
    }

    #headerpic a.nivo-prevNav {
        left: 65px;
    }

    #headerpic a.nivo-nextNav {
        right: 65px;
    }
}

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

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

.slider-mask {
    display: none;
}

/* ----------------------------------------------- scroll bottom ----------------------------------------------- */

#scrollBottom {
    font-size: 0;
    border-radius: 50%;
    display: block;
    width: 34px;
    height: 34px;
    text-align: center;
    background-color: #f9a620;
    -webkit-animation: bounceAni 2s infinite 2s;
    animation: bounceAni 2s infinite 2s;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
    position: absolute;
    left: 50%;
    margin-left: -20px;
    bottom: 20px;
    z-index: 50;
    color: #444444;
}

@media (min-width: 768px) {
    #scrollBottom {
        width: 40px;
        height: 40px;
        bottom: 45px;
    }
}

#scrollBottom:hover,
#scrollBottom:focus {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
    background-color: #4c7e2a;
}

#scrollBottom::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 1px;
    margin-top: 13px;
    display: inline-block;
    border-left: 2px solid #444444;
    border-bottom: 2px solid #444444;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -ms-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
}

.contrast_light_font #scrollBottom::after {
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

@keyframes bounceAni {

    0%,
    100%,
    20%,
    50%,
    80% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    60% {
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

#scrollBottom:hover::after,
#scrollBottom:focus::after {
    border-color: #ffffff;
}

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

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

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

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #4c7e2a;
    font-weight: 400;
    line-height: 1.2;
    font-family: "Margarine", sans-serif;
}

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

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

footer {
    position: relative;
}

@media (min-width: 1200px) {
    footer::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        background: url('../img/schulzubehoer.png') left bottom no-repeat;
    }
}

/* ------------------------------------------------ #tab19 ----------------------------------------------- */

#tab19 {
    background-color: #4c7e2a;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
    padding: 45px 0 55px 0;
    font-size: 1rem;
}

#tab19 .tabHeadline {
    font-size: 1.875rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 35px;
}

#tab19 a {
    font-size: 1.125rem;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    padding-right: 65px;
    display: inline-block;
    width: auto;
    font-family: "Margarine", sans-serif;
}

#tab19 a::after {
    content: '';
    display: inline-block;
    width: 50px;
    height: 1px;
    left: calc(100% - 60px);
    background: #f9a620;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all, 200ms ease-out;
}

#tab19 a:hover::after,
#tab19 a:focus::after {
    width: 30px;
    background: #ffffff;
}

#tab19 .tabHeadline::before {
    content: '';
    display: block;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    pointer-events: none;
    position: relative;
    margin: auto;
    margin-bottom: 20px;
}

#tab19 .firstTab .tabHeadline::before {
    background: url('../img/icon-kontakt.png');
    width: 48px;
    height: 24px;
}

#tab19 .secondTab .tabHeadline::before {
    background: url('../img/icon-sprechzeiten.png');
    width: 34px;
    height: 29px;
}

@media (min-width: 576px) {
    #tab19>.row>div+div::before {
        content: '';
        position: absolute;
        left: -20%;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        background: rgba(255, 255, 255, 0.70);
        display: inline-block;
        position: absolute;
        height: 100%;
    }
}

@media (max-width: 575px) {
    #tab19>.row>div+div {
        margin-top: 40px;
        padding-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.70);
    }
}

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

#footer {
    background-color: #42652b;
    padding-top: 12px;
    padding-bottom: 12px;
}

@media (max-width: 767px) {
    #innerfooter {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

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

#innerfooter li+li::before {
    content: "";
    margin: 0 6px;
}

@media (min-width: 992px) {
    #innerfooter li+li::before {
        margin: 0 20px;
    }
}

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

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

@media (min-width: 768px) {
    #vernetzt {
        margin: 0;
    }
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt b {
    font-family: "Margarine", sans-serif;
    font-weight: 400;
    font-size: 1rem;
}

#vernetzt span span {
    display: block;
}

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


.contrast_dark_font #burgerButton::before,
.contrast_dark_font #burgerButton::after,
.contrast_dark_font #burgerButtonInner,
.contrast_dark_font #burgerButtonInner2 {
    background-color: #000000 !important;
}

.contrast_light_font #burgerButton::before,
.contrast_light_font #burgerButton::after,
.contrast_light_font #burgerButtonInner,
.contrast_light_font #burgerButtonInner2 {
    background-color: #ffffff !important;
}