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

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

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

a {
    color: #A85A00;
}

a:hover,
a:focus {
    color: #A85A00;
}

b, strong {
    font-weight: 700;
}

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

#topbar {
    padding-top: 10px;
    padding-bottom: 6px;
    background: rgba(255, 255, 255, 0.9);
}

@media (min-width: 992px) {
    #topbar {
        position: absolute;
        padding-top: 20px;
        padding-bottom: 20px;
        top: 0;
        width: 100%;
        z-index: 55;
    }
}

@media (min-width: 1600px) {
    #topbar::before {
        content: "";
        display: block;
        position: absolute;
        z-index: 60;
        left: 0;
        bottom: 14px;
        pointer-events: none;
        background: url('../img/schmuckelement-header-links.png') no-repeat;
        width: 258px;
        height: 17px;
    }

    #topbar::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 60;
        right: 0;
        top: 9px;
        pointer-events: none;
        background: url('../img/schmuckelement-header-rechts.png') no-repeat;
        width: 259px;
        height: 17px;
    }
}

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

/* -------------------------------------------- contrast + styler ------------------------------------------ */

#stylerBox {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #2d3133;
    width: 100%;
    margin-bottom: 26px;
}

#stylerBox button {
    color: #254c6b;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.6);
    font-family: "Khand", sans-serif;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-weight: 600;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 1;
    background: #fff;
}

#stylerBox button:hover,
#stylerBox button:focus {
    color: #b35f00;
}

#style *+* {
    margin-left: 10px;
}

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

.bgTool a {
    color: #254c6b;
    font-size: 1.5rem;
    font-family: 'Khand', sans-serif;
    font-weight: 600;
    padding: 10px 15px;
    background-color: #f6a800;
    border: 1px solid #fff;
}

#contrast_style {
    padding-left: 20px;
    padding-right: 20px;
}

#contrast_style button {
    color: #000000;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.6);
    font-family: "Khand", sans-serif;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-weight: 400;
    text-align: center;
    background: #ffffff;
    position: relative;
    z-index: 1;
    font-size: 0;
}

#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, 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: 10px;
}

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

#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;
    border: none;
}
/* ----------------------------------------------- search ----------------------------------------------- */

form[id^="search"] {
    height: 48px;
    background: #254c6b;
    display: inline-block;
    position: relative;
    border-radius: 30px;
    margin-top: 20px;
    width: 100%;
    max-width: 290px;
    border: 4px solid #ffffff;
}

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

    form#search1 {
        position: absolute;
        z-index: 60;
        right: 11px;
        bottom: -40px;
    }

    form#search1 label {
        color: #f6a800;
        font-size: 15px;
        font-weight: 700;
        position: absolute;
        top: 9px;
        left: 15px;
        padding-right: 15px;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
}

form [id^="search_input"] {
    color: #d3e2ee;
    font-size: 15px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 40px;
    padding-left: 15px;
    padding-right: 47px;
    height: 40px;
    width: 100%;
    border-radius: 30px;
}

@media (min-width: 992px) {
    form #search_input1 {
        padding-left: 82px;
    }
}

form [id^="search_submit"] {
    width: 40px;
    height: 40px;
    border: none;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    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: #d3e2ee !important;
    font-style: italic;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #d3e2ee !important;
    font-style: italic;
}

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

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

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

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

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

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

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

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

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

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

.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 #f5a700;
    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 (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: 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: 8px 25px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Khand", sans-serif;
}

@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 {
    color: #b35f00;
}

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

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

    #contentCol {
        padding-top: 26px;
    }
}


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

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

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

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

/* ----------------------------------------------- news  -------------------------------------------- */
#news {
    padding: 60px 0;
}
#news .tab {
    border-radius: 3px;
    background-color: #254c6b;
    overflow: hidden;
    padding: 30px;
    color: #ffffff;
    background-position: top 20px right 20px;
    background-repeat: no-repeat;
}

#news .tabHeadline {
    color: #ffffff;
    margin: 0 0 20px 0;
    font-weight: 700;
}

@media (min-width: 768px) {
    #news .tabHeadline {
        margin: 0 0 25px 0;
    }
}

@media (min-width: 1200px) {
    #news .tabHeadline {
        -webkit-hyphens: manual;
        -moz-hyphens: manual;
        -ms-hyphens: manual;
        hyphens: manual;
    }
}

#news .tabHeadline::after {
    display: none;
}

#news .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
}

#news .tab_link_title a {
    line-height: 1.2;
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
}

@media (min-width: 576px) {
    #news .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

#news {
    padding-top: 30px;
}

#news .tab {
    background-image: url('../img/icon-news.png');
}

#news .tab a{
    color: #fff;
    text-decoration: underline;
}

#news .tab,
#news .tab_link,
#news .tab_link>div {
    height: 100%;
    min-height: 100%;
}

#news .tab_link_entry {
    background: #ffffff;
    border-radius: 3px;
    padding: 250px 30px 30px 30px;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

@media (min-width: 576px) and (max-width: 767px) {
    #news .tab_link_entry {
        width: calc(50% - 15px);
    }
    #news .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }
    #news .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }
}

@media (min-width: 768px) {
    #news .tab_link_entry {
        width: calc(33.33% - 20px);
    }
    #news .tab_link_entry+.tab_link_entry {
        margin-left: 30px;
    }
}

@media (max-width: 767px) {
    #news .tab_link_entry+.tab_link_entry {
        margin-top: 30px;
    }
}

@media (min-width: 576px) {
    #news .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    #news .tab_link {
        margin-top: 30px;
    }
}

#news .tab_preview_picture {
    background: #ffffff;
}

#news .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 225px;
    overflow: hidden;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

#news .tab_link_title a::before {
    content: "";
    background: #254c6b url("../img/aktuelles-platzhalter.jpg") center / contain no-repeat;
}

#news .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 12%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 350px;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
    -moz-transform: translateX(-50%) translateY(-15%);
    -webkit-transform: translateX(-50%) translateY(-15%);
    -o-transform: translateX(-50%) translateY(-15%);
    -ms-transform: translateX(-50%) translateY(-15%);
    transform: translateX(-50%) translateY(-15%);
}

#news .tab_date {
    font-size: 1rem;
    font-weight: 600;
    position: absolute;
    left: -1px;
    top: 205px;
    z-index: 1;
    display: inline-block;
    padding: 6px 20px;
    background: #f6a800;
    color: #444444;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    font-family: "Khand", sans-serif;
}

#news .tab_link_title a {
    color: #b35f00;
}

#news .tab_link_entries+div,
#news .tab_link_entries .tab_spacer,
#news .tab_link_entry>div:nth-last-child(2) {
    display: none;
}

/* ------------------------------------------- button design ------------------------------------------- */

#news .buttonStyle a {
    -moz-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -ms-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -o-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -webkit-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    background: #b35f00;
    border-radius: 3px;
    border: 1px solid #ffffff;
    color: #ffffff;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 300ms linear, color 300ms linear, border 300ms linear;
}

@media (min-width: 768px) {
    #news .buttonStyle a+a {
        margin-left: 12px;
    }
}

#news .buttonStyle a::after {
    bottom: 1px;
    content: "\00BB";
    margin-left: 4px;
    position: relative;
}

#news .buttonStyle a:hover,
#news .buttonStyle a:focus {
    background: #142f46;
    color: #fff;
}

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

#teaser .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 #f1a500;
    -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);
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

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

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

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

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

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

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

.tab .tab_link_mehr a:hover,
.tab .tab_link_mehr a:focus,
#teaser a:hover,
#teaser a:focus {
    background: #fff;
    color: #b35f00;
}

.tab .tab_spacer {
    height: 15px;
}

#teaser {
    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: 300px;
    }

    #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: #ffffff;
    font-size: 0.9375rem;
}

footer a,
footer a:hover {
    color: #f6a800;
}


#footer {
    background: #254c6b;
    padding-top: 90px;
    padding-bottom: 40px;
}

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

@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: #f6a800;
    font-size: 1.375rem;
    text-transform: uppercase;
    margin: 0;
}

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

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

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

#innerfooter a:hover {
    color: #f6a800;
}

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

#innerfooter li:hover::before {
    color: #f6a800;
}

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 a img {
    -webkit-transition: all 0.3s 0s ease;
    -moz-transition: all 0.3s 0s ease;
    -o-transition: all 0.3s 0s ease;
    transition: all 0.3s 0s ease;
}

.socialTab a img:focus,
.socialTab a img:hover {
    -moz-transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -o-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}

/* --------------------------------------------- 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 b {
    color: #f6a800;
    font-weight: 400;
}

#vernetzt span span {
    display: block;
}

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

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

#footer2 {
    background: #1f425f;
}

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

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

#scrollTopBtn::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) {
    #scrollTopBtn::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;
}

.contrast_light main,
.contrast_dark main{
    filter: none;
    background: none;
}

.contrast_light_font #news .tab_link_title a::before,
.contrast_dark_font #news .tab_link_title a::before,
.contrast_light_font #news .tab_link_title a::after,
.contrast_dark_font #news .tab_link_title a::after {
    display: none !important;
}