@import url("https://fonts.verwaltungsportal.de/import/?family=Oswald:500,600,700,i500,i600,i700");
@import url("https://fonts.verwaltungsportal.de/import/?family=PT+Sans:400,500,600,i400,i500,i600,700,700i");

body {
    font-family: "PT Sans", sans-serif;
    color: #252525;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
    border-top: 8px solid #e1f0ef;
    border-bottom: 8px solid #e1f0ef;
}

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

a {
    color: #3f7d76;
}

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

b,
strong {
    font-weight: 700;
}

@media (min-width: 1200px) {

    .row,
    .compact,
    ._op-container .container {
        max-width: 1480px;
        width: 100%;
    }
}


#select.contrast_light_font {
    background: transparent !important;
}

.news .tab_link_entry.contrast_light_font * {
    background: #000 !important;
}


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

#selectList.contrast_light_font *,
#burgerButton.contrast_light_font,
#searchbar.contrast_dark_font *,
#tabs .tab.contrast_dark_font *,
.news .tab_link_entry.contrast_dark_font * {
    background-color: #fff !important;
}


#over {
    overflow: hidden;
    position: relative;
}


input:focus-within,
button:focus-within,
a:focus-within,
input:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 2px auto !important;
}

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


#logo {
    text-decoration: none;
    hyphens: auto;
}


#logo h1 {
    font-size: 1rem;
    font-weight: 400;
}

#logo strong {
    font-size: 1.25rem;
    text-transform: uppercase;
    color: #3f7d76;
    font-weight: 700;
    letter-spacing: 2px;
}

/* #region ------------------------------------ navigation -------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        position: static !important;
    }

    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 6px;
        padding: 6px 8px;
        cursor: pointer;
        background: #fff;
        border: none !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #3f7d76;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        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 {
        padding: 20px 10px;
    }

    .navbar-collapse {
        top: 0;
        background: #fff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        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;
        transition: top 300ms linear;
    }

    .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);
        transition: width 300ms linear, opacity 300ms linear;
    }

    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }

    .dropdown-toggle-button-wrapper {
        top: 8px;
        right: 0;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 2px;
        right: 0;
    }
}

@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 {
        transition: background 300ms linear, box-shadow 300ms linear;
    }

    .is-sticky #menu {
        background: #fff;
    }

    .is-sticky #menu {
        box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12);
    }

    #menu-bg>.row {
        min-height: 100px;
        position: relative;
        padding: 15px 0 14px 15px;
    }

    #menu-bg::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        width: 50vw;
        right: calc(-50vw + 15px);
    }


    #headerpic :is(.sticky-wrapper, #menu) {
        z-index: 101;
    }

    nav.horizontally .navbar-nav {
        position: relative;
        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;
    }

    .is-sticky nav.horizontally .navbar-nav {
        border-top: none;
    }

    nav.horizontally li[class*="toplevel"]>.dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

    nav.horizontally li[class*="secondlevel"]>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) {
        position: relative;
    }

    .navbar-default .navbar-nav li :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
    }

    .navbar-default :is(.navbar-nav li[class*="toplevel"]:hover>ul, .navbar-nav li[class*="secondlevel"]:hover>ul, .navbar-nav li[class*="secondlevel"]>ul[style*="block"]) {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .navbar-nav :is(li[class*="toplevel"]:focus-within>ul, 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;
    }

    .navbar-default .navbar-nav :is(li[class*="toplevel"]:hover>ul, li[class*="secondlevel"]:hover>ul) {
        z-index: 1003;
    }
}


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

.navbar-default li[class*="toplevel"]>a {
    color: #1f1f1f;
    font-weight: 700;
    text-align: left;
    padding: 14px 5px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    transition: border 300ms linear;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-top: 2px;
    }

    nav.horizontally li[class*="toplevel"]>a.dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        padding: 10px 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

    .navbar-default li[class*="toplevel"]+li {
        margin-left: 10px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-default li[class*="toplevel"]>a {
        font-size: 14px;
    }

    .navbar-default li[class*="toplevel"]+li {
        margin-left: 10px;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        display: block;
    }
}

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

.navbar-default li[class*="toplevel"]:hover>a,
.navbar-default li[class*="toplevel"]>a:hover,
.navbar-default li[class*="toplevel"]>a:focus,
.navbar-default li[class*="toplevel"].open>a,
.navbar-default li[class*="toplevel"].open>a:hover,
.navbar-default li[class*="toplevel"].open>a:focus,
.navbar-default li[class*="toplevel"][class*="_over"]>a,
.navbar-default li[class*="toplevel"][class*="_over"]>a:hover,
.navbar-default li[class*="toplevel"][class*="_over"]>a:focus {
    color: #3f7d76;
}

.navbar-default li[class*="toplevel"]:focus-within>a {
    color: #3f7d76;
}

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

.navbar-default :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.12);
}

@media(min-width: 992px) {
    .navbar-default :is(li[class*="toplevel"]>ul, li[class*="secondlevel"]>ul) {
        padding: 18px 0;
    }

    .navbar-default li[class*="toplevel"]>ul {
        margin-top: 25px;
    }

    .navbar-default li[class*="secondlevel"]>ul {
        margin-top: -18px;
        margin-left: 10px;
    }

    .navbar-default li[class*="toplevel"]>ul::before,
    .navbar-default li[class*="secondlevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

    .navbar-default li[class*="toplevel"]>ul::before {
        height: 27px;
        left: 0;
        right: 0;
        top: -27px;
    }

    .navbar-default li[class*="secondlevel"]>ul::before {
        width: 12px;
        top: 0;
        bottom: 0;
        left: -12px;
    }
}

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

.navbar-default :is(li[class*="secondlevel"]>a, li[class*="thirdlevel"]>a) {
    color: #252525;
    text-align: left;
    font-size: 1rem;
    font-weight: 400;
    padding: 8px 20px 8px 40px;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

@media(max-width: 991px) {
    .navbar-default :is(li[class*="secondlevel"]>a, li[class*="thirdlevel"]>a) {
        padding-left: 20px;
    }

    nav.horizontally li[class*="secondlevel"]>a.dropdown-toggle2 {
        padding-right: 35px;
    }
}

.navbar-default li[class*="secondlevel"]>a::after,
.navbar-default li[class*="thirdlevel"]>a::after {
    content: "";
    display: block;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    left: 25px;
    top: calc(50% - 3px);
    width: 6px;
    height: 6px;
    background: #3f7d76;
    transition: opacity 300ms linear;
}

@media(max-width: 991px) {

    .navbar-default li[class*="secondlevel"]>a::after,
    .navbar-default li[class*="thirdlevel"]>a::after {
        left: 0;
    }
}

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

.navbar-default li[class*="secondlevel"]:hover>a,
.navbar-default li[class*="secondlevel"]>a:hover,
.navbar-default li[class*="secondlevel"]>a:focus,
.navbar-default li[class*="secondlevel"].open>a,
.navbar-default li[class*="secondlevel"].open>a:hover,
.navbar-default li[class*="secondlevel"].open>a:focus,
.navbar-default li[class*="secondlevel"][class*="_over"]>a,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:hover,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:focus,
.navbar-default li[class*="thirdlevel"]:hover>a,
.navbar-default li[class*="thirdlevel"]>a:hover,
.navbar-default li[class*="thirdlevel"]>a:focus,
.navbar-default li[class*="thirdlevel"].open>a,
.navbar-default li[class*="thirdlevel"].open>a:hover,
.navbar-default li[class*="thirdlevel"].open>a:focus,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:hover,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:focus {
    color: #3f7d76;
}

.navbar-default li[class*="secondlevel"]:focus-within>a,
.navbar-default li[class*="thirdlevel"]:focus-within>a {
    color: #3f7d76;
}


.navbar-default li[class*="secondlevel"]:hover>a::after,
.navbar-default li[class*="secondlevel"]>a:hover::after,
.navbar-default li[class*="secondlevel"]>a:focus::after,
.navbar-default li[class*="secondlevel"].open>a::after,
.navbar-default li[class*="secondlevel"].open>a:hover::after,
.navbar-default li[class*="secondlevel"].open>a:focus::after,
.navbar-default li[class*="secondlevel"][class*="_over"]>a::after,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:hover::after,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:focus::after,
.navbar-default li[class*="thirdlevel"]:hover>a::after,
.navbar-default li[class*="thirdlevel"]>a:hover::after,
.navbar-default li[class*="thirdlevel"]>a:focus::after,
.navbar-default li[class*="thirdlevel"].open>a::after,
.navbar-default li[class*="thirdlevel"].open>a:hover::after,
.navbar-default li[class*="thirdlevel"].open>a:focus::after,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a::after,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:hover::after,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:focus::after {
    opacity: 1;
}

.navbar-default li[class*="secondlevel"]:focus-within>a::after,
.navbar-default li[class*="thirdlevel"]:focus-within>a::after {
    opacity: 1;
}

/* #endregion -------------------------------- navigation --------------------------------------- */

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

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

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

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

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


.nivo-controlNav,
.nivo-directionNav {
    display: none !important;
}

@media (min-width: 1200px) {

    .index #slider {
        height: 600px;
    }
}


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

.slider-wrapper {
    height: 100%;
}

.slider-mask {
    display: none;
}

/* ------------------------------------------------- select ------------------------------------------------ */

#selectList2.contrast_light_font,
#select2.contrast_light_font {
    background-color: transparent !important;
}

#selectList2.contrast_light_font *,
#selectList2>label.contrast_light_font,
#selectList2>label.contrast_light_font * {
    background-color: #fff !important;
}


#select2.contrast_light_font *,
#select.contrast_light_font * {
    color: #000 !important;
}


#select {
    position: fixed;
    z-index: 101;
    left: 0;
    display: flex;
    pointer-events: none;
    top: 29%;
}

#select2 {
    position: fixed;
    z-index: 101;
    right: 8.1vw;
    display: flex;
    pointer-events: none;
    top: 130px;
}

#select2 input,
#select input {
    display: none;
}

#selectList label {
    background: #ffffff;
    display: block;
    position: relative;
    z-index: 1;
    order: 2;
    max-height: 61px;
    padding: 5px;
    cursor: pointer;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.09);
    top: 1px;
}

#selectList2 label {
    background: #ffffff;
    display: block;
    position: relative;
    z-index: 1;
    order: 2;
    max-height: 61px;
    padding: 5px;
    cursor: pointer;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.09);
    top: 1px;
    border-radius: 50%;
    pointer-events: all;
}

#selectList2 label img,
#selectList label img {
    max-width: unset;
}

#selectList2 {
    position: relative;
    top: 0;
    left: 0;
    pointer-events: all;
    width: 100%;
    display: flex;
    -webkit-transition: all 0.5s 0s ease;
    -moz-transition: all 0.5s 0s ease;
    -o-transition: all 0.5s 0s ease;
    transition: all 0.5s 0s ease;
    pointer-events: none;
}

@media (min-width: 992px) {
    #selectList2 {
        top: 80px;
    }
}

#selectList {
    position: relative;
    top: 0;
    left: -83%;
    pointer-events: all;
    width: 100%;
    display: flex;
    -webkit-transition: all 0.5s 0s ease;
    -moz-transition: all 0.5s 0s ease;
    -o-transition: all 0.5s 0s ease;
    transition: all 0.5s 0s ease;
}

#selectedItems2,
#selectedItems {
    display: block;
    text-align: left;
    background: #ffffff;
    padding: 15px;
    border: #010101 1px solid;
}


#selectedItems2 {
    margin-right: 15px;
    margin-top: 2px;
    opacity: 0;
}

#selectedItems2 span,
#selectedItems span {
    color: #010101;
    text-align: center;
    width: 100%;
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

#keyboardOpenNav:focus-within #myNavbar>ul {
    display: block !important;
    z-index: -1;
}

#select2 input:focus-within~#selectList2 #selectedItems2,
#select2 input:checked~#selectList2 #selectedItems2 {
    opacity: 1.0;
    pointer-events: all;
}

#select2:focus-within #selectedItems2,
#select2:focus-within #selectedItems2 {
    opacity: 1.0;
    pointer-events: all;
}


#select>input:focus-within~#selectList,
#select>input:checked~#selectList {
    left: 0;
}

#select:focus-within #selectList,
#select:focus-within #selectList {
    left: 0;
    pointer-events: all;
}

/* styler */

#style {
    width: 100%;
    max-width: 200px;
}

#style button {
    outline: violet;
}



#style button {
    border: none;
    font-size: 1rem;
    background: transparent;
    padding: 10px 0 10px 35px;
    position: relative;

}

#style button:focus,
#style button:focus-within {
    border: 2px solid #0070ff;
}


#style button::before {
    content: '';
    display: block;
    height: 27px;
    width: 27px;
    position: absolute;
    top: calc(50% - 13px);
    left: 0;
    background: url('../img/a-icon.png') center no-repeat;
    background-size: contain;
}

#style button:nth-child(1)::before {
    background: url('../img/lupe-plus-icon.png');
    background-repeat: no-repeat;
}

#style button:nth-child(3)::before {
    background: url('../img/lupe-minus-icon.png');
    background-repeat: no-repeat;
}

/* contrast */
#contrast_style {
    max-width: 250px;
}

#contrast_style button {
    background: transparent;
    border: none;
    font-size: 1rem;
    padding: 10px 0 10px 35px;
    position: relative;
}

#contrast_style button::before {
    content: '';
    display: block;
    height: 27px;
    width: 27px;
    position: absolute;
    top: calc(50% - 13px);
    left: 0;
    background: url('../img/lightbulb-icon.png') center no-repeat;
    background-size: contain;
}

#contrast_style button:nth-child(1)::before {
    background: url('../img/contrast-icon.png');
    background-repeat: no-repeat;
}

#contrast_style button:nth-child(2)::before {
    background: url('../img/grayscale-icon.png');
    background-repeat: no-repeat;
}

/* ------------------------------------------ searchbar ----------------------------------------- */

#search {
    height: 50px;
    background: #e1f0ef;
    display: inline-block;
    position: relative;
    margin: 20px 0;
}

#search_input {
    color: #252525;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 50px;
    padding-left: 20px;
    padding-right: 43px;
    height: 50px;
    width: 100%;
}

#search_submit {
    width: 50px;
    background: #e1f0ef url('../img/icon-search.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 50px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    -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 {
    background-color: #ffffff;
}

#search_input::-ms-input-placeholder {
    color: #252525 !important;
}

#search_input::-webkit-input-placeholder {
    color: #252525 !important;
}

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

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

#newsletter_submit:hover {
    background-color: rgba(0, 0, 0, 0.09) !important;
}

/* ------------------------------------------ scrollDown ----------------------------------------- */

@media (min-width: 1200px) {
    #scrollDown {
        position: absolute;
        bottom: 100px;
        left: 0;
        right: 0;
        z-index: 12;
    }
}

#scrollBottom a {
    position: relative;
    font-size: 0;
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    border: 3px solid #000000;
    pointer-events: auto;
    border-radius: 100px;
    margin: 0 auto;
    -webkit-animation: bounceAni 2s infinite 2s;
    animation: bounceAni 2s infinite 2s;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
    color: #000000;
    background-color: rgba(225, 240, 239, 0.9);
}

#scrollBottom a::after,
#scrollBottom a::before {
    position: absolute;
    content: "";
}

#scrollBottom a::after {
    left: 12px;
    top: 14px;
    width: 8px;
    height: 8px;
    display: inline-block;
    border-left: 2px solid #000000;
    border-bottom: 2px solid #000000;
    -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;
}


#scrollBottom a::before {
    left: 16px;
    top: 11px;
    width: 2px;
    height: 12px;
    background-color: #000000;
}

#scrollBottom.contrast_dark a::after {
    border-color: #fff !important;
}

#scrollBottom.contrast_dark a::before {
    background-color: #fff !important;
}

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

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




/* ------------------------------------------------ tab14 ----------------------------------------------- */

@media (min-width: 1200px) {

    #tab14>.row {
        max-width: 1380px;
        width: 100%;
    }
}

#tab14>.row>div {
    padding: 0;
}

#tab14>.row {
    background-color: transparent !important;
}

#tab14 {
    font-size: 1rem;
    background-color: transparent !important;
}

#tab14 .template-page>.row>div {
    padding: 0;
}


#tab14 .tabContent a {
    color: #252525;
    text-align: center;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    text-transform: uppercase;
    position: relative;
    display: block;
}


#tab14 .tabContent a::before {
    content: '';
    background-position: center;
    background-repeat: no-repeat;
    width: 75px;
    height: 75px;
    display: block;
    pointer-events: none;
    position: absolute;
    top: 72px;
    left: calc(50% - 38px);
}

#tab14 .firstab .tabContent a::before {
    background-image: url('../img/icon-news.png');
}

#tab14 .secondtab .tabContent a::before {
    background-image: url('../img/icon-service.png');
}

#tab14 .thirdtab .tabContent a::before {
    background-image: url('../img/icon-links.png');
}

#tab14 .tab4 .tabContent a::before {
    background-image: url('../img/icon-unternehmen.png');
}

@media (max-width: 991px) {
    #tab14 .tabContent a::before {
        top: 30px;

    }
}

#tab14 .tab {
    text-align: center;
    color: #252525;
    background-color: #e9e6d7;
    transition: 500ms cubic-bezier(.65, .05, .36, 1);
    pointer-events: all;
    transition: border, 0ms ease-out;
    position: relative;
}

#tab14 .tabContent a {
    padding: 70px 30px;
}

#tab14 .tabContent h2 {
    margin-bottom: 30px;
}

#tab14 .tabContent {
    max-height: 100%;
    overflow: hidden;
}

#tab14 .tab:focus-within,
#tab14 .tab:hover {
    background: #e9e6d7;
}

#tab14 .template-page>.row {
    margin: auto;
}

#tab14 .tab a {
    color: #252525;
    font-size: 1rem;
    font-weight: 700;
}

#tab14 .tab a:focus,
#tab14 .tab a:hover {
    text-decoration: none;
}

@media (max-width: 1199px) {
    #tab14 {
        background-color: #e9e6d7;
        padding-bottom: 15px;
    }

    #tab14>.row>div {
        margin-top: 10px;
    }



    #tab14>.row>.col-xs-12 {
        padding: 0 5px;
    }

    #tab14 .tab {
        padding: 15px;
    }

}

@media (max-width: 1199px) {
    #tab14 .tab {
        min-height: 100%;
    }
}

@media (min-width: 1200px) {
    #tab14 {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        width: 100%;
        height: 900px;
        z-index: 12;
        pointer-events: none;
        top: -350px;
    }

    #tab14>.row>div:nth-of-type(1) .tab {
        border-left: 1px solid #9b9990;
    }

    #tab14>.row>div:nth-last-of-type(1) .tab {
        border-right: 1px solid #9b9990;
    }

    #tab14 .tab::after,
    #tab14 .tab::before {
        content: '';
        pointer-events: none;
        height: 1px;
        top: 0px;
        left: 0px;
        right: 0px;
        position: absolute;
        background: #9b9990;
        display: inline-block;
        opacity: 1;
        transition: all, 600ms;
    }

    #tab14 .tab::after {
        bottom: 0px;
        top: unset;
    }


    #tab14 .col-xl-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }

    #tab14>.row {
        height: 900px;
    }

    #tab14 .tab {
        transition: 500ms cubic-bezier(.65, .05, .36, 1);
        pointer-events: all;
        transition: border, 0ms ease-out;
        margin-right: -2px;
        transition: all 500ms ease-in-out;
    }

    #tab14 .tabContent {
        min-height: 100px;
        overflow: hidden;
        transition: all 500ms ease-in-out;
    }

    #tab14 .tabContent a {
        padding: 156px 15px 80px 15px;
    }

    #tab14>.row>div+div::before {
        content: '';
        height: 100%;
        max-height: 150px;
        width: 1px;
        background: #9b9990;
        position: absolute;
        left: 0px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        display: inline-block;
        z-index: 1;
    }

    #tab14 .tab:focus-within,
    #tab14 .tab:hover {
        padding-top: 60px;
        padding-bottom: 60px;
        background: #cdcaac;
        border: none;
        z-index: 12;
        border: none !important;
    }

    #tab14 .tab:focus-within>.tabContent,
    #tab14 .tab:hover>.tabContent {
        max-height: 600px;
        transform: scale(1.12);
    }
}


@media (max-width: 1199px) {
    #tab14 .tabContent a::before {
        background-position: center top !important;
    }

    #tab14 .tabContent a {
        padding: 90px 30px 70px 30px;
    }
}

/* ------------------------------------------------ tickerWrapper ----------------------------------------------- */

#tickerWrapper {
    position: relative;
    text-align: center;
}

.newsticker,
.newsticker a {
    color: #252525;
    font-size: 1rem;
}


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

main {
    text-align: left;
    position: relative;
}

#mainContent {
    padding-top: 270px;
    padding-bottom: 60px;
}

body:not(.index) #mainContent {
    padding-top: 30px;
}



@media (max-width: 991px) {
    #mainContent {
        padding-top: 30px;
        padding-bottom: 60px;
    }
}

/* --------------------------------------------- 4nw news --------------------------------------------- */


.news .tab_link_entry *:not(.tab_preview_picture, .tab_preview_picture img) {
    position: relative;
    z-index: 12;
}

.news {
    font-size: 1.125rem;
    background: linear-gradient(to bottom, #e9e6d7 300px, #ffffff 300px)
}

.news .tab_link_entry {
    font-size: 1rem;
    background: #fff;
    border: 5px solid #b2b096 !important;
}

.news {
    padding: 65px 0 40px 0;
}


.news .tab_spacer {
    display: none;
}

.news h2 {
    color: #252525;
    font-size: 1.875rem;
    font-weight: 700;
    position: relative;
    margin-bottom: 40px;
}

.news h2::before {
    content: '';
    width: 80px;
    height: 3px;
    background-color: #cdcaac;
    bottom: -20px;
    left: 0;
    position: absolute;
}

.news .tab_link {
    margin-top: 40px;
}

.news .tab_link_mandat a {
    color: inherit;
}


.news .tab_spacer {
    display: none;
}

.news .tab_link_mehr {
    margin-top: 15px;
}

.news .tab_link_entry {
    position: relative;

    color: #252525;
}

.news .tab_link_entry {
    position: relative;
    min-height: 105px;
    padding: 230px 30px 30px 30px;
}

@media (max-width: 575px) {
    .news .tab_link_entry {
        padding: 230px 30px 30px 30px;
    }
}

.news .tab_link_title a {
    display: block;
}


.news .tab_link_title a {
    color: #252525;
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.news .tab_date,
.news .tab_link_date {
    font-size: 20px;
    font-weight: 700;
    font-size: 1.1875rem;
}

.news .tab_preview_picture {
    display: none;
}

.news .tab_preview_picture {
    background: #ffffff;
}

.news .tab_link_entry::after,
.news .tab_preview_picture {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 2;
    background-size: cover;
    pointer-events: all;
    max-height: 190px;
}

.news .tab_link_entry::after {
    content: "";
    background: #ffffff url('../img/platzhalterbild.jpg') top center no-repeat;
    z-index: 1;
}

.news .tab_preview_picture img {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    min-width: 100%;
    max-width: none;
    height: 100%;
    width: auto;
    -ms-interpolation-mode: bicubic;
    transform-origin: top left;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.news .tab_link_entry>div:nth-last-child(2) {
    display: none;
}


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

    .news .tab_link_entries {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .news .tab_link_entry {
        position: relative;
        padding: 230px 30px 30px 30px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        align-content: start;
        align-items: start;
        max-width: calc(33.33% - 15px);
    }

    .news .tab_link_entry {
        width: calc(25% - 12px);
    }



    .news .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }

    .news .tab_link_entry {
        margin-right: 15px;
    }

    .news .tab_link_entry:last-child {
        margin-right: 0;
    }

    .news .tab_link_entry>* {
        width: 100%;
    }

    .news .tab_link_entry {
        position: relative;
        min-height: 100%;
        padding: 210px 30px 30px 30px;
    }

    .news .tab_preview_picture {
        background: #ffffff;
    }

    .news .tab_link_title::after,
    .news .tab_preview_picture {
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
    }

    .news .tab_link_entry .vorschau {
        opacity: 1;
        font-weight: 400;
    }

    .news .tab_link_entry .vorschau+div,
    .news .tab_link_entry .vorschau+div+div,
    .news .tab_link_entry .vorschau+div+div+div {
        display: none;
    }
}


@media (min-width: 768px) and (max-width:1199px) {
    .news .tab_link_entry {
        width: calc(50% - 15px);
        max-width: none;
    }

    .news .tab_link_entry:nth-child(4),
    .news .tab_link_entry:nth-child(3) {
        margin-top: 15px;
    }
}

/* ----------------------------------------- news button ---------------------------------------- */

.news .tab_link_mehr {
    color: transparent;
    font-size: 0;
    text-align: right;
}

.news .tab_link_mehr a {
    text-shadow: none;
    font-size: 1rem;
    color: #252525;
    display: inline-block;
    padding: 10px 64px 10px 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: 25px;
    text-decoration: none;
    background-color: #cdcaac;
}

.news .tab_link_mehr a::after {
    content: "\203A";
    font-size: 20px;
    position: absolute;
    width: 34px;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    background: #b2b096;
    padding-top: 5px;
    font-weight: 400;
}

.news .tab_link_mehr a:hover,
.news .tab_link_mehr a:focus {
    background: #b2b096;
}

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

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

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

@media (min-width: 768px) {

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

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

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

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

/* ------------------------------------------------ @13f footer ----------------------------------------------- */

.contactBTN a,
.scrollTop a {
    text-shadow: none;
    font-size: 1rem;
    color: #252525;
    display: inline-block;
    padding: 10px 70px 10px 30px;
    position: relative;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    background-color: #cdcaac;
}


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


.contactBTN a::after {
    content: "\203A";
    font-size: 20px;
    position: absolute;
    width: 34px;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    background: #b2b096;
    padding-top: 8px;
    font-weight: 400;
}


.scrollTop a::after {
    content: "\203A";
    font-size: 20px;
    position: absolute;
    width: 44px;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    background: #b2b096;
    padding-top: 0;
    font-weight: 400;
    transform: rotate(-90deg);
    height: 33px;
    top: 5px;
    right: -5px;
}


.contactBTN a:hover,
.contactBTN a:focus,
.scrollTop a:hover,
.scrollTop a:focus {
    background: #b2b096;
}

.contactTEL {
    font-size: 1.875rem;
    font-weight: 700;
    position: relative;
}

.contactTEL b,
.contactTEL strong {
    font-weight: 700;
}

.contactTEL::before {
    content: '';
    position: absolute;
    display: block;
    top: 50%;
    margin-top: -14px;
    left: -40px;
    width: 28px;
    height: 28px;
    background: url(../img/icon-phone.png) no-repeat;
}

@media (max-width: 767px) {
    .contactTEL {
        display: inline-block;
    }
}

/* ----------------------------------------------- contact ----------------------------------------------- */

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

#contactFooter {
    background: #f9f9f9;
    color: #252525;
    padding-top: 40px;
    padding-bottom: 40px;
}

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

#contactFooter .tabHeadline {
    font-size: 1.375rem;
    color: #252525;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
}

#contactFooter .tabHeadline::before {
    position: absolute;
    content: '';
    display: block;
    bottom: -20px;
    left: 0;
    height: 2px;
    width: 20px;
    background: #3f7d76;
}



#contactFooter ul {
    margin: 0;
    list-style: none;
}

#contactFooter ul>li {
    position: relative;
    padding-left: 15px;
    min-height: 11px;
    -webkit-transition: color 300ms linear;
    -moz-transition: color 300ms linear;
    -ms-transition: color 300ms linear;
    -o-transition: color 300ms linear;
    transition: color 300ms linear;
}

#contactFooter ul>li+li {
    margin-top: 8px;
}

#contactFooter ul>li::before {
    content: "\203A";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 13px;
}

#contactFooter ul>li:hover,
#contactFooter ul>li:focus {
    color: #930b06;
}

body:not(.noListStyle) #contactFooter ul {
    padding-left: 0px;
}

/* ----------------------------------------------- newsletter ----------------------------------------------- */



#newsletter {
    display: flex;
    flex-direction: column;
}

#newsletter label {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #252525;
}

#newsletterInputs {
    height: 50px;
    background: #ffffff;
    display: inline-block;
    position: relative;
    border: 1px solid rgba(37, 37, 37, 0.4);
    width: 320px;
}

#newsletter_input {
    color: #252525;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 50px;
    padding-left: 20px;
    padding-right: 85px;
    height: 50px;
    width: 100%;
}

#newsletter_submit {
    width: 43px;
    background: url('../img/newsletter-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 50px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
}

#newsletter_submit.contrast_light_font {
    background-color: #fff !important;
}

#newsletter_submit:hover {
    background-color: rgba(0, 0, 0, 0.09)
}

#newsletter_input::-ms-input-placeholder {
    color: #252525 !important;
}

#newsletter_input::-webkit-input-placeholder {
    color: #252525 !important;
}

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

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

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

.opening,
.quicklinks {
    line-height: 2;
}


.quicklinks a:not(.has-image):not([rel]) {
    font-size: 1rem;
    color: #252525;
}

.quicklinks a:not(.has-image):not([rel])::before {
    content: '›';
    margin-right: 4px;
}

.quicklinks a:not(.has-image):not([rel]):hover,
.quicklinks a:not(.has-image):not([rel]):focus {
    color: #3f7d76;
    text-decoration: none;
}

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

footer table td,
footer table th {
    padding: 0;
}

footer {
    font-size: 0.9375rem;
}

#footer {
    padding-top: 30px;
    padding-bottom: 30px;
    color: #252525;
    background-color: #e9e6d7;
}

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

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

@media (max-width: 767px) {
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 18px 0;
        opacity: 0.08;
    }

    #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
    #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

/* ----------------------------------------------- footerlast ----------------------------------------------- */

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

#footerlast {
    position: relative;
    padding-top: 20px;
    padding-bottom: 15px;
}

#footerlast>.row:nth-child(1) {
    padding-bottom: 14px;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #252525;
    text-decoration: none;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #b10d06;
}

#innerfooter li+li::before {
    content: "•";
    margin: 0 15px;
    color: #252525;
}

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

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

#vernetzt {
    text-decoration: none;
    color: #252525;
    font-size: 0.9375rem;
    line-height: 1.2;
}

#vernetzt span {
    color: #3f7d76;
}

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

@media (min-width: 992px) {
    #counter {
        display: flex;
        justify-content: space-around;
    }
}