@import url("https://fonts.verwaltungsportal.de/import/?family=Lato:400,400i,700,700i");

body {
    font-family: "Lato", sans-serif !important;
    color: #252525;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #016394;
}

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

b,
strong {
    font-weight: 700;
}

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

a:focus,
input:focus,
button:focus,
form:focus {
    outline: 3px solid #e64625 !important;
}


/* ------------------------------------------------ @2tp ----------------------------------------------- */

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

#tp2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 12;
}

@media (min-width: 992px) {
    #tp2 {
        z-index: 1000;
    }

    #tp2 .optionsbar {
        margin-left: auto;
    }
}

#tp2 div.col-xs-12 {
    padding: 0px;
}

#tp2::before {
    content: '';
    width: 100%;
    height: 10px;
    background: #0273ac;
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
}

#tp2 .optionsbar {
    background-color: #0273ac;
    min-height: 38px;
}

#contrast_style {
    padding-left: 25px;
    padding-right: 17px;
}

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

.optionsbar::after {
    content: '';
    width: 50vw;
    position: absolute;
    right: -50vw;
    top: 0px;
    pointer-events: none;
    background-color: #016394;
    display: inline-block;
    height: 100%;
}

@media (min-width: 992px) {

    #style {
        padding-left: 15px;
        padding-right: 15px;
        border-left: 1px solid rgba(255, 255, 255, 0.50);
    }

    #style button {
        font-size: 20px;
        background: transparent;
        padding: 0;
        border: none;
        color: #fff;
        display: inline-block;
        font-weight: 400;
        text-align: center;
        position: relative;
        line-height: 1.2;
        -webkit-transition: color 150ms linear;
        -moz-transition: color 150ms linear;
        -ms-transition: color 150ms linear;
        -o-transition: color 150ms linear;
        transition: color 150ms linear;
        margin-top: -2px;
    }

    #style button+button::before {
        content: '';
        height: 20px;
        width: 1px;
        background: #ffffff;
        display: inline-block;
        pointer-events: none;
        margin: 0 10px;
        position: relative;
        top: 4px;
    }

    #style button:hover {
        color: #ffffff;
        text-decoration: underline;
    }

    #style button:focus-visible {
        outline: 2px auto
    }
}

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

.searchContainer {
    background: #016394;
    position: relative;
    z-index: 1003;
    width: 95px;
    height: 38px
}

#searchButton {
    display: none;
    color: #fff;
}

#searchButton+label {
    font-size: 0;
    color: #fff;
    display: block;
    width: 30px;
    height: 30px;
    background: url('../img/icon-search.png') center top 6px no-repeat;
    position: relative;
    z-index: 1004;
    cursor: pointer;
    border-radius: 50%;
    -webkit-transition: border 300ms linear, background 300ms linear, margin 300ms linear;
    -moz-transition: border 300ms linear, background 300ms linear, margin 300ms linear;
    -ms-transition: border 300ms linear, background 300ms linear, margin 300ms linear;
    -o-transition: border 300ms linear, background 300ms linear, margin 300ms linear;
    transition: border 300ms linear, background 300ms linear, margin 300ms linear;
}

.contrast_dark_font #searchButton+label {
    background-color: #000 !important;
}

@media (min-width: 992px) {
    #searchButton+label {
        top: 3px;
        margin-left: 20px;
    }
}

#searchButton:checked+label {
    border: 1px solid transparent;
    background-position: center top -30px;
    animation-name: borderAni;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    position: fixed;
}

@media (max-width: 991px) {
    #searchButton+label {
        background-position: center top 11px;
    }

    #searchButton:checked+label {
        background-position: center top -25px;
    }
}

#searchButton:checked+label:hover {
    animation-play-state: paused;
}

@keyframes borderAni {
    0% {
        border-color: rgba(255, 255, 255, 0.2);
    }

    50% {
        border-color: #ffffff;
    }

    100% {
        border-color: rgba(255, 255, 255, 0.2);
    }
}

#searchButton:checked+label+.searchOverlay {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 991px) {

    #searchButton+label,
    .searchContainer {
        width: 40px;
        height: 40px;
    }
}

.searchContainer:hover::after {
    width: 30px;
    height: 30px;
}

.searchOverlay {
    position: fixed;
    padding: 30px;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(45, 45, 45, 1) 130px, rgba(0, 0, 0, 0.75));
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
}

@media (min-width: 992px) {
    .searchOverlay {
        background: rgba(0, 0, 0, 0.75);
    }
}

#search {
    height: 54px;
    display: inline-block;
    position: relative;
    border-bottom: 1px solid #ffffff;
    width: 100%;
    max-width: 770px;
}

#search_input {
    color: #ffffff;
    font-size: 18px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 54px;
    padding-left: 10px;
    padding-right: 50px;
    height: 54px;
    width: 100%;
}

@media (min-width: 768px) {
    #search_input {
        font-size: 20px;
    }
}

#search_submit {
    width: 44px;
    background: url('../img/icon-search.png') center top 18px no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 54px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    -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_input::-ms-input-placeholder {
    color: #ffffff !important;
}

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

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

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

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

#logo {
    display: inline-block;
    pointer-events: all;
}

#logo img {
    display: block;
}

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

    #logo img {
        max-width: 210px;
        width: 100%;
    }
}

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

#burgerButton {
    font-size: 0;
    border: none !important;
    position: fixed;
    z-index: 1002;
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    padding: 3px;
    background: #fff;
    margin-left: auto;
    right: 8vw;
    top: 50px;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.09);
    color: #0273ac;
}

@media (max-width: 991px) {
    #burgerButton {
        right: 20px;
        top: 28px;
    }
}

#burgerButton:before,
#burgerButton:after,
#burgerButtonInner {
    background-color: #0273ac;
    border-radius: 2px;
    position: absolute;
    width: 35px;
    height: 3px;
    left: 17px;
    -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;
    color: #fff;
}

#burgerButton[aria-expanded="true"]::before {
    -webkit-transform: rotate(-45deg) translate(-7px, 8px);
    transform: rotate(-45deg) translate(-7px, 8px);
}

#burgerButton[aria-expanded="true"] #burgerButtonInner {
    opacity: 0;
}

#burgerButton[aria-expanded="true"]:after {
    -webkit-transform: rotate(45deg) translate(-5px, -5px);
    transform: rotate(45deg) translate(-5px, -5.5px);
}

#burgerButton:before {
    top: 24px;
}

#burgerButtonInner {
    top: 33px;
    width: 25px;
    left: 27px;
}

#burgerButton:after {
    top: 42px;
}

#burgerButton:before,
#burgerButton:after {
    content: "";
    display: block;
}

@media (max-width: 991px) {
    #menu {
        padding: 0;
        height: 85px;
        position: absolute;
        top: 20px;
        left: 0px;
        right: 0px;
        z-index: 999;
    }

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        top: 0;
        background: #0273ac;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.15);
        box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.15);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-collapse.in:after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 120px;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .navbar-header {
        width: 28px;
        z-index: 101;
        margin-left: auto;
    }

    .navbar-collapse {
        width: calc(100% - 120px);
    }
}

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

    .navbar-collapse.collapse.in:after {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        position: absolute;
        top: 20px;
        left: 0;
        right: 0;
        z-index: 999;
        pointer-events: none;
    }

    .navbar {
        pointer-events: all;
    }

    #myNavbar {
        position: fixed;
        top: 30vh;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 1200px;
    }

    #myNavbar::before {
        content: '';
        position: fixed;
        left: -50vw;
        right: -50vw;
        top: -50vh;
        bottom: -50vh;
        pointer-events: none;
        opacity: 0;
        background: #0273ac;
        display: block;
        transition: all, 300ms;
        z-index: -1;
    }

    #myNavbar>ul {
        display: block !important;
        max-height: 500px;
        overflow: auto;
        scrollbar-width: thin;
        scrollbar-color: dark;
    }

    #myNavbar {
        opacity: 0;
        pointer-events: none;
    }

    #myNavbar:focus-within::before,
    #myNavbar.show::before,
    #myNavbar:focus-within,
    #myNavbar.show {
        opacity: 1.0;
        pointer-events: all;
    }

    nav.horizontally .dropdown-menu {
        z-index: 1000;
    }

    nav.horizontally li[class*="start"] {
        display: none !important;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]>ul>div:nth-child(1) {
        padding-right: 25px;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
        z-index: 9999;
    }
}

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

.navbar-default li[class*="secondlevel"],
.navbar-default li[class*="toplevel"] {
    position: relative;
}

.navbar-default li[class*="toplevel"]>a {
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 10px 35px 15px 35px;
    position: relative;
    font-size: 1.5rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    .navbar-default li[class*="toplevel"]+li {
        border-top: 2px solid rgba(255, 255, 255, 0.2);
    }

    .navbar-default li[class*="toplevel"]>a {
        color: #fff;
        padding: 10px 35px 15px 25px;
        font-size: 1.125rem;
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]+li {
        border-top: 1px solid #f1efec;
    }
}

@media (min-width: 992px) {
    .nav .open>.dropdown-menu {
        display: none;
    }

    .navbar-default li[class*="toplevel"]>a {
        padding: 9px 45px 12px 25px;
        height: 100%;
        transition: all, 250ms;
    }
}

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

.dropdown-toggle-button-wrapper,
.dropdown-toggle-button-wrapper2 {
    position: absolute;
    right: 5px;
}

.dropdown-toggle-button-wrapper2 {
    display: block;
}

.dropdown-toggle-button::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    background: #fff;
    left: 50%;
    transform: translate(-50%) rotate(90deg);
    transition: all 100ms linear;
}

.dropdown-toggle-button::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 2px;
    background: #fff;
    transform: none;
    left: 50%;
    top: 16px;
    transform: translate(-50%);
}

.dropdown-toggle-button {
    position: relative;
    padding: 15px;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
}

.dropdown-toggle-button-wrapper,
.dropdown-toggle-button-wrapper2 {
    top: 9px !important;
    display: block !important;
}

.dropdown-toggle-button-open::after {
    transform: rotate(0deg);
    left: 5px;
    top: 16px;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav li[class*="toplevel"]>.dropdown-menu {
        background: #0273ac;
    }

    .navbar-default .navbar-nav li[class*="secondlevel"]>a {
        font-size: 1rem;
    }

    .navbar-default .navbar-nav li[class*="thirdlevel"]>a {
        font-size: 1rem;
    }

    .dropdown-toggle-button-wrapper,
    .dropdown-toggle-button-wrapper2 {
        top: 5px !important;
        right: 13px !important;
        z-index: 12;
    }
}

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

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

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

.navbar-default .navbar-nav li[class*="secondlevel"]>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 9px 45px 12px 70px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav li[class*="thirdlevel"]>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 9px 45px 12px 100px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav li[class*="secondlevel"]>a,
.navbar-default .navbar-nav li[class*="thirdlevel"]>a {
    position: relative;
}

.navbar-default .navbar-nav li[class*="secondlevel"]>a::before,
.navbar-default .navbar-nav li[class*="thirdlevel"]>a::before {
    content: "\203A";
    opacity: 0;
    position: absolute;
    left: 55px;
    top: 18%;
}

.navbar-default .navbar-nav li[class*="thirdlevel"]>a::before {
    left: 85px;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav li[class*="secondlevel"]>a {
        font-size: 1rem;
        padding: 9px 45px 12px 40px;
    }

    .navbar-default .navbar-nav li[class*="thirdlevel"]>a {
        padding: 9px 45px 12px 60px;
    }

    .navbar-default .navbar-nav li[class*="secondlevel"]>a::before {
        left: 29px;
    }

    .navbar-default .navbar-nav li[class*="thirdlevel"]>a::before {
        left: 49px;
    }
}

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

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

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

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

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

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

}

@media (min-width: 1200px) {
    #slider {
        height: 600px;
    }

    #headerpic .nivo-controlNav{
        bottom: 90px;
    }
}

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

.slider-wrapper {
    height: 100%;
}

.slider-mask {
    display: none;
}

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

@media (min-width: 1200px) {
    #tab14>.row>div {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 16.6% !important;
        flex: 0 0 16.6% !important;
        max-width: 16.6% !important;
    }
}

#tab14 {
    font-size: 1.0625rem;
    pointer-events: none;
}

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

#tab14 .tabContent a {
    color: #ffffff;
    text-align: center;
    position: relative;
    display: block;
}

#tab14 .tabContent a::before {
    content: '';
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 115px;
    height: 90px;
    display: block;
    pointer-events: none;
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    margin: auto;
}

.contrast_light #tab14 .tabContent a::before {
    background-color: #000 !important;
}

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

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

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

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

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

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

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

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

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

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

#tab14 .tab a {
    color: #fff;
    font-weight: 700;
}

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

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

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

    #tab14>.row>div .tab {
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

    #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>.row {
        position: relative;
        z-index: 105;
        margin-top: -140px;
    }

    #tab14>.row>div:nth-of-type(1) .tab {
        border-left: 1px solid rgba(255, 255, 255, 0.4);
    }

    #tab14>.row>div:nth-last-of-type(1) .tab {
        border-right: 1px solid rgba(255, 255, 255, 0.4);
    }

    #tab14 .tab::after,
    #tab14 .tab::before {
        content: '';
        pointer-events: none;
        height: 1px;
        top: 0px;
        left: 0px;
        right: 0px;
        position: absolute;
        background: #ffffff;
        opacity: 0.4;
        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: 360px;
    }

    #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: 160px 15px 50px 15px;
    }

    #tab14>.row>div+div::before {
        content: '';
        height: 100%;
        max-height: 150px;
        width: 1px;
        background: #ffffff;
        opacity: 0.4;
        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: #016394;
        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;
        top: 10px;
    }

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

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

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

#mainContent {
    padding-top: 30px;
    padding-bottom: 30px;
}

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

    .index #mainContent {
        padding-top: 30px;
    }
}

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

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

.news hr {
    margin-bottom: 45px;
    margin-top: 0;
    height: 2px;
    background: #252525;
    opacity: 0.2;
}

.news {
    font-size: 1.125rem;
}

.news {
    padding: 0 0 40px 0;
    position: relative;
}

@media (min-width: 992px) {
    .news {
        padding: 0 0 30px 0;
    }
}

@media (min-width: 1200px) {
    .news>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 40px;
        right: -19vw;
        width: 500px;
        height: 341px;
        background: url('../img/grafik-pflanze1.png') center no-repeat;
    }
}

.news .tab_spacer {
    display: none;
}

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

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

.news .tab_link_entry {
    font-size: 1rem;
    background: #fff;
    border: 5px solid #444444;
    position: relative;
    color: #252525;
    position: relative;
    min-height: 105px;
    padding: 215px 10px 30px 10px;
    transition: all 300ms linear;
}

.news .tab_link_entry:hover,
.news .tab_link_entry:focus {
    border-color: #0273ac;
}

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

.news .tab_link_title a {
    display: block;
    color: #0273ac;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.news .tab_date,
.news .tab_link_date {
    color: #0273ac;
    font-size: 20px;
    font-weight: 700;
    font-size: 1.5rem;
}

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

.news .tab_link_mandat a {
    color: inherit;
}

.news .tab_spacer {
    display: none;
}

.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/platzhalter-aktuelles.jpg') center / cover 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;
        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%;
    }

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

.events .tab_link_date {
    order: -1;
}

@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 {
    margin-top: 15px;
}

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

.news .tab_link_mehr a {
    text-shadow: none;
    font-size: 1rem;
    color: #ffffff;
    display: inline-block;
    padding: 10px 44px 10px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: 25px;
    text-decoration: none;
    background-color: #0273ac;
}

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

.news .tab_link_mehr a:hover,
.news .tab_link_mehr a:focus {
    background: #016394;
    color: #ffffff;
}

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

#tabs {
    padding: 0 0 40px 0;
}

@media (min-width: 1200px) {
    #tabs {
        padding: 30px 0 65px 0;
    }
}

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

#tabs .tab {
    position: relative;
    padding: 30px;
    font-size: 1rem;
    overflow: hidden;
    min-height: 100%;
    background: #fff;
    border: 5px solid #0273ac;
    color: #252525;
    transition: all 300ms linear;
}

#tabs .tab:hover {
    border-color: #444444;
}

#tabs h2 {
    color: #0273ac;
    font-size: 1.5rem;
    position: relative;
    z-index: 4;
    pointer-events: none;
}

#tabs .tiny_p:last-child {
    z-index: 4;
    position: relative;
}

#tabs .tab a {
    color: #252525;
}

#tabs img {
    display: block;
    width: calc(100% + 90px) !important;
    left: -30px;
    position: relative;
    max-width: unset;
    margin-top: -30px;
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #0273ac;
    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 #0273ac;
}

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

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

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

#contactFooter {
    background: #f9f9f9;
    color: #444444;
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    line-height: 1.7;
}

@media (min-width: 992px) {
    #contactFooter {
        padding-top: 60px;
        padding-bottom: 60px;
        font-size: 1.125rem !important;
    }
}

@media (min-width: 1200px) {
    #contactFooter>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: -60px;
        left: -19vw;
        width: 277px;
        height: 519px;
        background: url('../img/grafik-pflanze2.png') center no-repeat;
    }
}

#contactFooter .tabHeadline {
    font-size: 1.5rem;
    color: #444444;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    position: relative;
}

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

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

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

.sponsor {
    padding: 40px 0;
    border-top: 1px solid #e9e9e9;
}

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

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

#newsletter label {
    margin-bottom: 15px;
    color: #444444;
    font-weight: 400;
}

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

#newsletter_input {
    color: rgba(68, 68, 68, 0.5);
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 50px;
    padding-left: 10px;
    padding-right: 40px;
    height: 50px;
    width: 100%;
}

#newsletter_submit {
    width: 33px;
    background: url('../img/icon-mail.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 50px;
    border: none;
    position: absolute;
    top: 0;
    right: 5px;
    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: transparent;
    right: 0;
}

#newsletter_input::-ms-input-placeholder {
    color: rgba(68, 68, 68, 0.5) !important;
}

#newsletter_input::-webkit-input-placeholder {
    color: rgba(68, 68, 68, 0.5) !important;
}

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

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

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

.quicklinks {
    line-height: 2;
}

.quicklinks a:not(.has-image):not([rel]) {
    color: #444444;
}

.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: #016394;
    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: #ffffff;
    background-color: #757575;
}

@media (min-width: 992px) {
    #footer {
        padding-top: 50px;
        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;
    }
}

/* ----------------------------------------------- contactBTN + scrollTop ----------------------------------------------- */

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

.contactBTN a::after {
    content: "\203A";
    font-size: 20px;
    position: absolute;
    width: 34px;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    background: #016394;
    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: #016394;
    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: #016394;
}

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

.contactTEL a {
    color: #ffffff;
}

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

/* ----------------------------------------------- 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: #444444;
    font-size: 1rem;
    text-decoration: none;
}

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

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

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

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

#vernetzt {
    text-decoration: none;
}

/* --------------------------------------------- Kontrast -------------------------------------------- */

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

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