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

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

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

a {
    color: #1d75a5;
}

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

b,
strong {
    font-weight: 700;
}

@media (min-width: 1200px) {

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

    /* #menu>.row {
        max-width: calc(1600px + calc(calc(100% - 1600px) / 2));
        width: 100%;
        margin-right: calc(calc(100% - 1600px) / 2);
    } */
}

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

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

.optionsbar {
    padding-top: 7px;
    background-color: #ffffff;
    height: 100%;
}

@media (min-width: 1200px) {
    .optionsbar {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .optionsbar {
        margin-top: 30px;
    }
}

#contrast_style {
    z-index: 1005;
    pointer-events: all;
}

#contrast_style button {
    color: #000000;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.6);
    display: inline-block;
    width: 23px;
    height: 23px;
    font-weight: 400;
    text-align: center;
    background: #ffffff;
    position: relative;
    z-index: 1;
    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;
}

#contrast_style button::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: -6px;
    top: -6px;
    width: 30px;
    height: 30px;
    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: 2px;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    border: 2px solid rgba(21, 93, 138, 1);
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(45deg, rgba(21, 93, 138, 1), rgba(21, 93, 138, 1) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(45deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(21, 93, 138, 1) 50%);
}

#contrast_style button:nth-of-type(3)::after {
    background: #155d8a;
    border: none;
}

@media (min-width: 992px) {
    #style {
        padding-right: 10px;
        border-right: 1px solid rgba(21, 93, 138, 0.1);
    }

    #contrast_style {
        padding-left: 10px;
    }

    #style button {
        border: none;
        color: #262626;
        font-size: 18px;
        display: inline-block;
        width: 23px;
        height: 23px;
        font-weight: 400;
        text-align: center;
        background-color: #ffb400;
        position: relative;
        line-height: 1;
        transition: transform 150ms linear;
        padding: 0;
    }

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

    #style button:hover,
    #contrast_style button:hover {
        -moz-transform: scale(1.2);
        -webkit-transform: scale(1.2);
        -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }

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

@media (min-width: 1700px) {
    #style {
        padding-right: 25px;

    }

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

    #contrast_style {
        padding-left: 25px;
    }

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

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

header {
    background: #ffffff;
}

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

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

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

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

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

}

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

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

.slider-mask {
    display: none;
}

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

@media (min-width: 1200px) {
    #logo {
        position: absolute;
    }
}

#logo {
    text-decoration: none;
}

#logo :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    color: #fff;
    font-weight: 700;
}

#logo .logoGraphicElement {
    z-index: 12;
    position: relative;
    margin-top: -1px;
}

#logo .logoWordElement {
    background: #155d8a;
    position: relative;
    padding: 10px 0;
}

@media (min-width: 992px) {
    #logo .logoWordElement {
        padding: 20px 15px;
    }

    #logo .logoWordElement::before {
        content: '';
        width: 200px;
        left: -200px;
        background: #155d8a;
        position: absolute;
        top: 0;
        height: 100%;
    }
}

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

#logo .logoWordElement h3 {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
}

#logo .logoWordElement h2 {
    font-size: clamp(1.25rem, 3vw, 2.5rem);
}

#logo1,
#logo {
    display: inline-block;
}

#logo1 img,
#logo img {
    display: block;
}

@media (max-width: 991px) {

    #logo1 img,
    #logo img {
        max-width: 80px;
        width: 100%;
    }
}

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

#searchBox {
    width: 100%;
    margin-top: 8px;
}

@media (min-width: 992px) {
    #searchBox {
        margin-bottom: -20px;
    }
}

form[id^="search"] {
    background: #f2f9fe;
    display: inline-block;
    position: relative;
    width: 100%;
    min-height: 22px;
    display: flex;
    align-content: stretch;
    align-items: stretch;
}

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

form [id^="search_input"] {
    color: #191919;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 15px;
    padding-right: 10px;
    display: block;
    width: 100%;
}

@media (min-width: 1200px) {
    form[id^="search"] label {
        font-weight: 700;
        color: #ffffff;
        font-size: 14px;
        position: absolute;
        left: 16px;
        top: 0;
        bottom: 0;
        line-height: 22px;
        height: 22px;
        margin: auto;
        padding-right: 14px;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
}

form [id^="search_submit"] {
    position: relative;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #ffb400;
    font-size: 14px;
    font-weight: 700;
    color: #4b4b4b;
    text-transform: uppercase;
    text-shadow: 2px 2px 2px rgba(48, 48, 48, 0.15);
    padding: 0 10px;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    color: #ffffff;
    background-color: #155d8a;
}

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

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

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

/* --------------------------------------- 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: #155d8a;
        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: #1d75a5;
        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>.row {
        pointer-events: all;
    }

    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        flex-wrap: wrap;
        background-color: #1d75a5;
    }

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

@media (min-width: 1200px) {
    #menuBox {
        position: absolute;
        top: 10px;
        left: 0;
        right: 0;
        z-index: 1002;
        background-color: #1d75a5;
        pointer-events: none;
    }

    #menu>.row {
        margin-left: 0;
        padding-right: calc(calc(100% - 1600px) / 2);
        max-width: 100%;
        width: 100%;
    }

    #menu .noPadRight {
        padding-right: 0;
    }

    #menu .noPadLeft {
        padding-left: 0;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 15px 15px;
    position: relative;
    font-size: clamp(1.125rem, 1vw, 1.375rem);
    line-height: 1.2;
    text-decoration: none;
}

@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: 25px 5px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}

@media (min-width: 1200px) {
    .navbar-default .navbar-nav>li>a {
        padding: 19px 15px 18px 15px;
    }
}

/* -------------------------------------------- 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: #155d8a;
}

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

/* -------------------------------------- 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 #155d8a;
    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: 4px;
    }

    .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: #191919;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

.navbar-nav>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    background: #155d8a;
    color: #ffffff;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    background: #155d8a;
    color: #ffffff;
}

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

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

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

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

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

#tabs {
    padding-bottom: 50px;
}

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

#tabs>*+* {
    margin-top: clamp(30px, 4vw, 60px);
}

#tabs .tabsBox1 {
    display: grid;
    grid-template-columns: 195px 195px 195px 195px 195px;
    grid-template-rows: 170px 170px;
    gap: 15px;
    overflow: hidden;
}

@media (max-width: 767px) {

    #tabs .tabsBox1 {
        grid-template-columns: 1fr 1fr !important;
    }

    #tabs .tabsBox1 .tab {
        margin-bottom: 30px;
    }
}

@media (max-width: 1599px) {

    #tabs .tabsBox1 {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

#tabs .tabsBox1 .tab {
    width: 100%;
    height: 100%;
    display: grid;
}


#tabs .tab {
    position: relative;
    background: #155d8a;
    color: #ffffff;
    overflow: hidden;
}

#tabs .tab .tabHeadline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    pointer-events: none;
    margin: 0;
    background-color: #1d75a5;
    color: #ffffff;
    padding: 18px 10px;
    font-size: 1.125rem;
    font-weight: 400;
    transition: background 300ms linear;
    z-index: 12;
}

#tabs .tab:hover .tabHeadline,
#tabs .tab:focus .tabHeadline {
    background: #155d8a;
}

#tabs .tab .tabContent {
    line-height: 0;
}

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

#tabs .tab img {
    display: inline-block;
    min-height: 113px;
    max-height: 113px;
    max-width: unset;
    object-position: center;
    object-fit: cover;
    width: 100%;
}

/* ------------------------------------------------ tabsLeft + tabsRight ----------------------------------------------- */

#tabsLeft>*+*,
#tabsRight>*+* {
    margin-top: 90px;
}

@media (max-width: 1199px) {

    #tabsLeft,
    #tabsRight {
        padding-top: 90px;
    }
}

#tabsLeft .tab,
#tabsRight .tab {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 60px 20px 20px 20px;
    background: #ffffff;
    color: #191919;
    font-size: 1rem;
    box-shadow: 2px 0px 8px 0px rgba(48, 48, 48, 0.1);
    -webkit-box-shadow: 2px 0px 8px 0px rgba(48, 48, 48, 0.1);
    -moz-box-shadow: 2px 0px 8px 0px rgba(48, 48, 48, 0.1);
}

#tabsLeft .iframetab iframe,
#tabsLeft .iframetab .iframe-wrapper-manual-enabling,
#tabsRight .iframetab iframe,
#tabsRight .iframetab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: calc(100% + 40px) !important;
    display: block;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
}

#tabsLeft .tab::before,
#tabsRight .tab::before {
    content: "";
    display: block;
    width: 85px;
    height: 85px;
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 50%;
    background-color: #ffb400;
    background-position: center;
    background-repeat: no-repeat;
}

#tab1::before {
    background-image: url('../img/icon-aktuelles.png');
}

#tab2::before {
    background-image: url('../img/icon-veranstaltung.png');
}

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

#tab4::before {
    background-image: url('../img/icon-info.png');
}

#tab5::before {
    background-image: url('../img/icon-link.png');
}

#tabsLeft .tab :is(h1, h2, h3, h4, h5, h6, .tabHeadline),
#tabsRight .tab :is(h1, h2, h3, h4, h5, h6, .tabHeadline) {
    color: #191919;
    font-size: 1.375rem;
    margin: 0 0 16px 0;
    text-align: center;
    hyphens: auto;
}

#tabsLeft .tab .tab_link_title a,
#tabsRight .tab .tab_link_title a {
    color: #191919;
    font-weight: 700;
    font-size: 1.125rem;
}

#tabsLeft .tab .tab_link_mandat a,
#tabsRight .tab .tab_link_mandat a {
    color: #191919;
    font-size: 1.125rem;
}

#tabsLeft .tab .tab_link_mehr,
#tabsRight .tab .tab_link_mehr {
    color: transparent;
    font-size: 0;
}

#tabsLeft .tab .tab_link_mehr a,
#tabsRight .tab .tab_link_mehr a {
    text-decoration: none;
    padding: 5px 15px;
    display: inline-block;
    font-size: 1.125rem;
    background: #ffb400;
    color: #191919;
    font-weight: 600;
}

#tabsLeft .tab .tab_link_mehr a:hover,
#tabsLeft .tab .tab_link_mehr a:focus,
#tabsRight .tab .tab_link_mehr a:hover,
#tabsRight .tab .tab_link_mehr a:focus {
    background: #155d8a;
    color: #ffffff;
}

#tabsLeft .tab .eventclndr-tab,
#tabsRight .tab .eventclndr-tab {
    margin-bottom: 22px;
}

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

#tabsLeft .tab .tab_spacer,
#tabsRight .tab .tab_spacer {
    height: 15px;
}

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

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #1d75a5;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Lato", sans-serif;
}

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

@media (min-width: 768px) {

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

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

/* ---------------------------------------------- firstFooter ---------------------------------------------- */

.firstFooter {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #1d75a5;
    padding-top: 60px;
    padding-bottom: 60px;
    color: #ffffff;
}

.firstFooter .tabHeadline {
    color: #ffffff;
    font-size: 1.375rem;
    margin-bottom: 10px;
}

.firstFooter a {
    color: #ffffff;
}

.firstFooter a[href^="mailto:"] {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .firstFooter {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .firstFooter>.row>*+* {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 30px;
        margin-top: 30px;
    }
}

/* ---------------------------------------------- lastFooter ---------------------------------------------- */

.lastFooter {
    background-color: #1d75a5;
    color: #ffffff;
}

@media (max-width: 767px) {
    .lastFooter {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

@media (max-width: 575px) {
    #innerfooter li {
        display: block;
        line-height: 2;
    }
}

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

#innerfooter a:hover,
#innerfooter a:focus {
    background: #155d8a;
}

@media (min-width: 992px) {
    #innerfooter a {
        padding: 35px 18px;
    }
}

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

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

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

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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

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

.contrast_dark_font #logo img,
.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 #content,
.contrast_dark_font #content,
.contrast_light_font #teaser>.row,
.contrast_light_font #teaser>.row>* {
    background: none !important;
}