@import url('https://fonts.verwaltungsportal.de/import/?family=Lato:400,400i,700,700i%7CKhand:400,500,600');


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

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

a {
    color: #cc3835;
}

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

b, strong {
    font-weight: 700;
}

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

header {
    background: #f09819;
}

#topbar > .row {
    padding-top: 10px;
    padding-bottom: 6px;
}

@media (min-width: 992px) {
    #topbar > .row {
        position: relative;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    #topbar > .row::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 60;
        right: 38%;
        top: 13px;
        pointer-events: none;
        background: url('../img/deko.png') center no-repeat;
        width: 350px;
        height: 147px;
    }
}

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

/* -------------------------------------------- contrast + language ------------------------------------------ */

#style button{
    border-width:0px !important
}

#stylerBox {
    font-size: 15px;
    font-weight: 700;
    color: #221e1f;
    width: 100%;
}

#stylerBox button, #stylerBox a {
    color: #fff;
    padding: 0;
    font-family: "Khand", sans-serif;
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 1;
    background-color: #221e1f;
}

#stylerBox button{
    padding-top: 1px;
}

#style * + *,
#language a:nth-child(3),
#language a:nth-child(2) {
    margin-left: 10px;
}

#contrast_style button {
    font-size: 0;
}

#style button:nth-of-type(2) {
    font-size: 17px;
    line-height: 1;
}

#style button:nth-of-type(1),
#style button:nth-of-type(3) {
    font-size: 21px;
    line-height: 0.95;
}

#language a span{
    position: relative;
    top: 0px;
}

#language a {
    text-decoration: none;
}


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

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

    #language a span{
        position: relative;
        top: 6px;
    }
    
    
    #stylerBox button, #stylerBox a {
    width: 35px;
    height: 35px;
}
}

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

#search {
    height: 22px;
    background: #fff;
    display: inline-block;
    position: relative;
    max-width: 190px;
    border-radius: 4px;
}

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

@media (max-width: 991px) {
    #search{
        margin-bottom: 30px;
    }
}
#search_input {
    color: #221e1f;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 22px;
    padding-left: 10px;
    padding-right: 23px;
    height: 19px;
    width: 100%;
    position: relative;
    top: -2px;
}
#search_submit {
    width: 22px;
    background: #221e1f url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 22px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    border-radius: 4px;
    -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_submit:hover, #newsletter_submit:hover {
    background-color: #221e1f;
}
#search_input::-ms-input-placeholder {
    color: #221e1f !important;
}
#search_input::-webkit-input-placeholder {
    color: #221e1f !important;
}
#search_input::-moz-placeholder {
    opacity: 1;
}
#search_input:-moz-placeholder {
    opacity: 1;
}
/* ----------------------------------------------- banner ----------------------------------------------- */

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

@media (min-width: 992px) {
    #slider {
        max-height: 400px;
    }
    body.index #slider {
        max-height: 570px;
    }
    #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: block;
    background-image: url('../img/mask.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
}


@media (max-width: 992px){
    .slider-mask{
        background-size: 200%;
    }
}
/* --------------------------------------- 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: #087c4f;
        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: #087c4f;
        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;
    }
    .dropdown-toggle-button-wrapper {
        top: 14px;
    }
    .dropdown-toggle-button-wrapper2 {
        top: 3px;
    }
}

@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 {
        border-top: 5px solid #ffffff;
        background-color: #087c4f;
    }
    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[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;
    }
}

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

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

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 18px 10px;
        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;
    }
}

@media (min-width: 992px){
    .navbar-default .navbar-nav>li>a::before {
        content: "";
        width: 0;
        height: 5px;
        display: block;
        position: absolute;
        left: 50%;
        bottom: 0;
        background: #ffffff;
        opacity: 0;
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        -webkit-transition: opacity 300ms linear, width 300ms linear;
        -moz-transition: opacity 300ms linear, width 300ms linear;
        -ms-transition: opacity 300ms linear, width 300ms linear;
        -o-transition: opacity 300ms linear, width 300ms linear;
        transition: opacity 300ms linear, width 300ms linear;
    }
}


@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a::before {
        bottom: auto;
        top: -5px;
        background: #d18315;
    }
}

/* -------------------------------------------- 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 {
    background: #f09819;
}

.navbar-nav > li:focus-within > a {
    background: #f09819;
}

.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;
    width: 100%;
}

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

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

.navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    border-top: 5px solid #d18315;
    background: #ffffff;
    -webkit-box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

@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: 6px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 15px;
        left: 0;
        right: 0;
        top: -15px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -23px;
        margin-left: 6px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 6px;
        top: 0;
        bottom: 0;
        left: -6px;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #2d3133;
    font-weight: 400;
    text-align: left;
    padding: 14px 25px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Khand", sans-serif;
}

@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: 9px 25px;
    }
}

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

/* ------------------------------------------ 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: #fcead1;
    color: #cc3835;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
    background: #fcead1;
    color: #cc3835;
}

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

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

@media (max-width: 991px) {
    #contentCol {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }
}

@media (min-width: 992px) {
    #content {
        padding-bottom: 95px;
        padding-top: 70px;
        background: url('../img/hintergrund.png') center bottom / 100% auto no-repeat;
    }
    #contentCol {
        padding-top: 26px;
    }
}

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

#tabsRight > * + * {
    margin-top: 60px;
}

@media (max-width: 991px) {

    #tabsRight {
        padding-top: 40px;
    }
}

@media (min-width: 992px) {

    #tabsRight {
        padding-left: 20px;
    }
}

@media (min-width: 1200px) {

    #tabsRight {
        padding-left: 40px;
    }
}

.tab {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 32px;
    position: relative;
    padding: 45px 20px 20px 20px;
    background: #ffffff;
    font-size: 15px;
    color: #676767;
    border-top: 4px solid #d08215;
    -webkit-box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

.tab::before {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    top: -32px;
    left: 50%;
    margin-left: -30px;
    border-radius: 50%;
    background-color: #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

#tab3::before {
    background-image: url('../img/icon3.png');
}

.tab h1,
.tab h2,
.tab h3,
.tab h4,
.tab h5,
.tab h6,
.tab .tabHeadline {
    color: #221e1f;
    font-size: 1.625rem;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    text-align: center;
}

.tab .tab_link_title a {
    color: #2d3133;
    font-weight: 700;
}

.tab .tab_link_mandat a {
    color: #676767; 
}

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

#tab3 a,
.tab .tab_link_mehr a,
#teaser a {
    text-decoration: none;
    padding: 4px 15px 3px 15px;
    display: inline-block;
    border-radius: 2px;
    font-size: 0.9375rem;
    background: rgba(0,0,0,0.02);
    color: #cc3835;
    font-weight: 600;
    font-family: "Khand", sans-serif;
    border: 1px solid rgba(0,0,0,0.15);
}

#tab3 a,
#teaser a {
    margin-top: 15px;
}

#tab3 a:hover,
#tab3 a:focus,
.tab .tab_link_mehr a:hover,
.tab .tab_link_mehr a:focus,
#teaser a:hover,
#teaser a:focus {
    background: #cc3835;
    color: #ffffff;
}

.tab .eventclndr-tab {
    margin-bottom: 22px;
}

.tab #clr-events-hide > p:first-child {
    margin-bottom: 15px;
}

.tab .tab_spacer {
    height: 15px;
}

.tab hr {
    height: 4px;
    opacity: 1;
    background: #f09819;
    max-width: 100px;
    width: 100%;
    margin: 35px auto;
    display: block;

}

#tab3 img {
    margin: 0 -20px 25px -20px;
    display: block;
    width: calc(100% + 40px) !important;
    min-width: calc(100% + 40px) !important;
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #221e1f;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Khand", sans-serif;
}

#content h1::after,
#content .legacy_h1::after {
    content: "";
    display: block;
    height: 4px;
    width: 134px;
    background: #f09819;
    margin: 0 0 20px 0;
}

@media (min-width: 768px) {
    #content h1::after,
    #content .legacy_h1::after {
        margin: 0 0 30px 0;
    }
}

#content h1[style*="center"]::after,
#content .legacy_h1[style*="center"]::after {
    margin-left: auto;
    margin-right: auto;
}

#content h1[style*="right"]::after,
#content .legacy_h1[style*="right"]::after {
    margin-left: auto;
    margin-right: 0;
}

h1, .h1, .legacy_h1 {
    font-size: 1.8rem;
    font-variant: small-caps;
}

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

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

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

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 #2d3133;
}

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

#teaser {
    margin-top: 6px;
    margin-bottom: 5px;
    padding: 40px 0;
    min-height: 200px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (min-width: 992px) {
    #teaser {
        min-height: 355px;
    }
    #teaser > .row > div {
        padding-left: 20px;
    }
}

@media (min-width: 1200px) {
    #teaser > .row > div {
        padding-left: 40px;
    }
}

#teaser .tab {
    margin-bottom: -95px;
    padding-top: 30px;
    -webkit-box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.2);
}

#teaser .tab::before {
    display: none;
}

#teaser img {
    margin: -30px -20px 25px -20px;
    display: block;
    width: calc(100% + 40px) !important;
    min-width: calc(100% + 40px) !important;
}

#teaser a {
    margin-top: 15px;
}

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

footer {
    color: #231f1f;
    font-size: 0.9375rem;
}


footer a,
footer a:hover {
    color: #231f1f;   
}

.footerTab a {
    text-decoration: underline;
}

#footer {
    padding-top: 90px;
    padding-bottom: 40px;
    background-image: url('../img/mask.png');
    background-position: top center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    z-index: 12;
}

@media (max-width: 992px){
    #footer{
        background-size: 200%;
    }
}

.giraffe img{
    position: absolute;
    bottom: -70px;
}

.footer-mask{
    background-color: #f09819;
}



@media (min-width: 576px) {
    #footer > .row > * + *:nth-child(2) {
       margin-top: 0;
    }
}

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

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
.footerHeadline {
    color: #231f1f;
    font-size: 1.375rem;
    text-transform: uppercase;
    margin: 0;
}

#innerfooter ul {
    padding: 0;
    line-height: 1.7;
}

@media (max-width:575px){
    #innerfooter ul {
        padding-top: 20px;
        margin-top: 20px;
        border-top: 1px solid rgba(0,0,0,0.2);
    }
}

@media (min-width: 992px) {
    #innerfooter ul {
        margin-bottom: -10px;
    }
}

#innerfooter a {
    color: #231f1f;
    font-weight: 400;
    font-size: 1.25rem;
    font-family: "Khand", sans-serif;
    text-transform: uppercase;
}

#innerfooter li::before {
    content: "\0007C";
    color: #231f1f;
    position: relative;
    bottom: 2px;
    margin-right: 4px;
}

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

.socialTab {
    padding-left: 10px;
    line-height: 1;
}

.socialTab p {
    display: inline-block;
    padding: 0 5px;
}

.socialTab img {
    margin-top: 2px;
    max-height: 25px;
}

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

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

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

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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

@media (max-width:992px){
    #vernetzt{
        padding-top: 20px;
        margin-top: 20px;
        border-top: 1px solid rgba(0,0,0,0.2);
    }
}

/* --------------------------------------------- footer2 -------------------------------------------- */

#footer2 {
    padding: 15px 0;
    background: #231f1f;
}

#scrollTop {
    position: relative;
    text-decoration: none;
    padding: 4px 15px 3px 15px;
    display: inline-block;
    border-radius: 2px;
    font-size: 0.9375rem;
    color: #ffffff;
    font-weight: 600;
    font-family: "Khand", sans-serif;
    border: 1px solid rgba(255,255,255,0.15);
}

#scrollTop:hover,
#scrollTop:focus {
    background: rgba(0,0,0,0.2);
}

#scrollTop::after {
    content: "\00BB";
    position: relative;
    bottom: 1px;
    display: inline-block;
    margin-left: 4px;
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

@media (min-width: 576px) {
    #scrollTop::after {
        margin-left: 15px;
    }
}

/* --------------------------------------------- contrast -------------------------------------------- */

.contrast_light_font form[id^="search"],
.contrast_light_font form #search_input1,
.contrast_dark_font #footer2 {
    background-color: #000000 !important;
}

.contrast_dark_font form[id^="search"],
.contrast_dark_font form #search_input1,
.contrast_dark_font #scrollTopBtn {
    background-color: #ffffff !important;
}

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

.contrast_light_font #content,
.contrast_dark_font #content,
.contrast_light_font #teaser > .row, 
.contrast_light_font #teaser > .row > * {
    background: none !important;
}