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

body {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    color: #444444;
    background: #f7f7f7;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #374cb3;
}

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

b, strong {
    font-weight: 700;
}

a:focus {
    outline: 3px solid #9e0001 !important;
}

button:focus {
    outline: 3px solid #9e0001 !important;
}

form:focus {
    outline: 3px solid #9e0001 !important;
}

#menu a:focus {
    outline: 3px solid #9e0001;
}

a:focus {
    outline: 3px solid #9e0001;
}

#footer a:focus {
    outline: 3px solid #9e0001;
}

#topbar a:focus {
    outline: 3px solid #9e0001;
}

#contrast_style button:focus {
    outline: 3px solid #9e0001;
}

#style button:focus {
    outline: 3px solid #9e0001;
}

#search_input1:focus,
#search_submit1:focus {
    outline: 3px solid #9e0001;
}

#tabs2 a:focus {
    outline: 3px solid #9e0001;
}

#frameBox iframe:focus {
    outline: 3px solid #9e0001;
}

.overflow {
    overflow: hidden;
}

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

#topbar {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #374cb3;
    font-size: 0.875rem;
    color: #fff;
}

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

#name {
    font-weight: 400;
    display: block;
    font-size: 1rem;
}

#name b, #name strong {
    font-weight: 600;
    font-size: 1.5625rem;
}

@media (max-width: 767px) {
    #name {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
}

/* ------------------------------------------------ styler ---------------------------------------------- */

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

#contrast_style button,
#style button {
    padding: 0;
    border: none;
    color: #444444;
    display: inline-block;
    width: 29px;
    height: 29px;
    font-weight: 400;
    text-align: center;
    background: #fff;
    position: relative;
    line-height: 1;
}

#contrast_style button {
    padding: 2px 0 0 0;
}

#style button {
    padding: 0;
}

#contrast_style button+button,
#style button+button {
    margin-left: 3px;
}

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

form[id^="search"] {
    height: 35px;
    background: #ffffff;
    display: block;
    position: relative;
}

@media (min-width: 992px) {
    form[id^="search"] {
        margin-left: 30px;
        max-width: 270px;
        width: 100%;
    }
}

form [id^="search_input"] {
    color: #444444;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 35px;
    padding-left: 14px;
    padding-right: 54px;
    height: 35px;
    width: 100%;
}

form [id^="search_submit"] {
    width: 40px;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    font-size: 0;
    border-left: 1px solid rgba(88, 69, 58, 0.3);
    -webkit-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -moz-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -ms-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -o-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: #dae0ff;
    top: 0;
    bottom: 0;
}

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

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

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

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

/* --------------------------------------- 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: #374cb3;
        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: #ffffff;
        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: 6px;
        right: 0;
    }

    .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 {
        position: relative;
        background-color: #ffffff;
        padding: 22px 0 18px 0;
        -webkit-transition: all 0.3s 0s ease;
        -moz-transition: all 0.3s 0s ease;
        -o-transition: all 0.3s 0s ease;
        transition: all 0.3s 0s ease;
    }

    .is-sticky #menu {
        padding: 10px 0;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
    }

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

    nav.horizontally li[class*="toplevel"]>ul {
        position: absolute;
        top: 120%;
        left: 0;
        right: 0;
        z-index: 1000;
        margin: 0;
        padding: 10px 25px;
        padding-top: 20px;
        padding-bottom: 20px;
        max-height: 60vh;
        overflow: visible;
        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;
    }

    nav.horizontally li[class*="toplevel"]>ul::after {
        content: "";
        display: block;
        position: absolute;
        width: 100vw;
        z-index: -1;
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        left: 50%;
        top: 0;
        bottom: 0;
        background: rgba(55, 76, 179, 0.95);
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    }

    nav.horizontally li[class*="toplevel"]>ul::before {
        content: '';
        display: block;
        width: 120%;
        left: -10%;
        height: 120%;
        top: -10%;
        position: absolute;
    }

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
        -webkit-column-gap: 60px;
        -moz-column-gap: 60px;
        column-gap: 60px;
        max-width: 992px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
        height: auto;
        column-rule: 1px solid #fff;
    }

    nav.horizontally li[class*="secondlevel"] {
        float: none;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
        display: table !important;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 120%;
        z-index: 1003;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: 120%;
    }

    .nav li[class*="toplevel"].open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    #mCSB_1_scrollbar_vertical {
        left: 50%;
        margin-left: calc(962px/2);
    }

    nav.horizontally .dropdown-menu {
        display: block !important;
    }
}

@media (min-width: 1200px) {

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        max-width: 1200px;
        padding-top: 25px;
        padding-bottom: 45px;
    }

    #mCSB_1_scrollbar_vertical {
        margin-left: calc(1170px/2);
    }
}

nav.horizontally li[class$="_end"], nav.horizontally li[class$="_start"] {
    display: none;
}


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

.navbar-default .navbar-nav>li>a {
    color: #444444;
    font-weight: 600;
    text-align: left;
    padding: 12px 5px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    nav.horizontally .navbar-nav>li>a.dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 15px;
    }

    .navbar-default .navbar-nav>li>a {
        padding: 20px 0 20px 0;
        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;
    }
}

/* -------------------------------------------- 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 {
    color: #374cb3;
}

.navbar-nav>li:focus-within>a {
    color: #374cb3;
}

@media (min-width: 992px) {

    .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 {
        color: #374cb3;
        background: url(../img/freisteller-wappen-nav.png) bottom center no-repeat;
    }

    .navbar-nav>li:focus-within>a {
        color: #374cb3;
        background: url(../img/freisteller-wappen-nav.png) bottom center no-repeat;
    }
}

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

@media (max-width: 991px) {
    .navbar-default li[class*="toplevel"]>.dropdown-menu, .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        padding: 10px;
        background: #374cb3;
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        display: block;
    }
}

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

.navbar-default li[class*="secondlevel"]>a, .navbar-default li[class*="thirdlevel"]>a {
    color: #ffffff;
    text-align: left;
    padding: 8px 35px 8px 15px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    font-weight: 400;
}

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

@media (max-width: 991px) {
    .navbar-default li[class*="secondlevel"]>a, .navbar-default li[class*="thirdlevel"]>a {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="secondlevel"]>a {
        padding: 2px 0 2px;
        margin-top: 20px;
        margin-right: 5px;
    }

    .navbar-default li[class*="thirdlevel"]>a {
        padding: 5px 0 5px 15px;
        margin-right: 5px;
    }
}

/* ------------------------------------------ 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;
    text-decoration: underline;
}

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

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

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

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

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

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

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

#headerpic .theme-default .nivo-controlNav {
    z-index: 99;
}

@media (min-width: 768px) {
    #headerpic .theme-default .nivo-controlNav {
        bottom: 100px;
    }

    .index #headerpic .theme-default .nivo-controlNav {
        bottom: 0;
    }
}

@media (min-width: 992px) {
    #headerpic .theme-default .nivo-controlNav {
        bottom: 245px;
    }

    .index #headerpic .theme-default .nivo-controlNav {
        bottom: 80px;
    }
}

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

.slider-mask {
    display: block;
    background: linear-gradient(to top, #f7f7f7 20%, rgba(255, 255, 255, 0) 50%), url('../img/banner-bogen.png') center top / 100% auto no-repeat
}


@media (max-width: 991px) {
    #bannerOverlay {
        padding-top: 15px;
        padding-bottom: 15px;
        background: #ffffff;
    }

    #logo img {
        display: block;
        max-width: 210px;
    }
}

@media (min-width: 992px) {
    #headerpic {
        border-top: 15px solid #fff;
    }

    #bannerOverlay {
        position: absolute;
        left: 0;
        top: -10px;
        right: 0;
        z-index: 60;
    }
}

/* ------------------------------------------------ welcome ----------------------------------------------- */

#welcome {
    margin-bottom: 20px;
    color: #444444;
    font-weight: 400;
    line-height: 1.1;
    font-size: 1.375rem;
}

@media (min-width: 768px) {
    #welcome {
        margin-bottom: 40px;
        font-size: 1.625rem;
    }
}

@media (min-width: 992px) {
    #welcome {
        font-size: 2.5rem;
        margin-bottom: 80px;
    }
}

#welcome b,
#welcome strong {
    color: #374cb3;
    font-size: 2.5rem;
}

@media (min-width: 768px) {

    #welcome b,
    #welcome strong {
        font-size: 2.8125rem;
    }
}

@media (min-width: 992px) {

    #welcome b,
    #welcome strong {
        font-size: 4.375rem;
    }
}


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

main {
    position: relative;
    z-index: 50;
    background: url('../img/footer-bogen.png') center bottom 20px / 100% auto no-repeat;
    margin-bottom: -20px;
}

@media (min-width: 768px) {
    main {
        margin-top: -95px;
    }
}

@media (min-width: 992px) {
    main {
        margin-top: -235px;
        padding-bottom: 0;
    }
}

body:not(.index) #contentBG {
    text-align: left;
    padding: 30px 15px 40px 15px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
    body:not(.index) #contentBG {
        padding: 30px 30px 60px 30px;
    }
}

.index #aboveContent {
    display: none;
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #374cb3;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Barlow', sans-serif;
}

main h1 i,
main h1 em,
main h2 i,
main h2 em {
    font-style: normal;
    color: #374cb3;
    font-size: 1.125rem;
    margin-bottom: 2px;
}

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

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

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

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

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

/* --------------------------------------------- news events --------------------------------------------- */

#news,
#events {
    padding: 40px 20px;
    font-size: 0.9375rem;
}

@media (min-width: 992px) {

    #news,
    #events {
        padding: 55px 100px;
    }
}

#news .tabHeadline,
#events .tabHeadline {
    margin-bottom: 20px;
    color: #ffffff;
}

@media (min-width: 992px) {

    #news .tabHeadline,
    #events .tabHeadline {
        margin-bottom: 35px;
        font-size: 2.1875rem;
    }
}

@media (min-width: 576px) {

    #news .tab_link_entries,
    #events .tab_link_entries {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    #news .tab_link_entry,
    #events .tab_link_entry {
        width: calc(50% - 15px);
        position: relative;
    }

    #news .tab_link_entry:nth-of-type(2n+1),
    #events .tab_link_entry:nth-of-type(2n+1) {
        margin-right: 30px;
    }
}

@media (max-width: 575px) {

    #news .tab_link_entry+.tab_link_entry,
    #events .tab_link_entry+.tab_link_entry {
        margin-top: 20px;
        padding-top: 20px;
    }
}

#news .tab_spacer,
#events .tab_spacer {
    display: none;
}

#news .tab_link_mehr a,
#events .tab_link_mehr a {
    display: inline-block;
}

#events .tab_link_mehr {
    font-size: 0;
}

#news .tab_link_mehr a,
#events .tab_link_mehr a {
    display: inline-block;
    padding: 8px 18px;
    line-height: 1.2;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
}

#news .tab_link_mehr a:hover,
#news .tab_link_mehr a:focus,
#events .tab_link_mehr a:hover,
#events .tab_link_mehr a:focus {
    border-color: #ffffff;
}

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

#news {
    background: #374cb3;
    color: #ffffff;
    font-size: 0.9375rem;
}

#news .tab_link_entry {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-bottom: none !important;
}

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

#news .tab_preview_picture {
    height: 140px;
    overflow: hidden;
    display: block;
    position: relative;
    margin-bottom: -26px;
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    background: #ffffff;
}

#news .tab_preview_picture img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 500px;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
    -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%);
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
}

#news .tab_date,
#events .tab_link_date {
    background: #ffffff;
    color: #444444;
    width: auto;
    display: inline-block;
    padding: 2px 8px;
    position: relative;
    z-index: 1;
    margin-right: auto;
    margin-bottom: 15px;
}

#news .tab_link_title a {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
    font-size: 1.25rem;
    display: block;
}

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

/* ----------------------------------------------- events ------------------------------------------------ */

#events {
    background: #263a99;
    color: #ffffff;
    font-size: 0.9375rem;
}

#events .tab_link_title a {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
    font-size: 1.25rem;
    display: block;
}

#events .tab_link_mandat a {
    color: inherit;
}

/* ------------------------------------------------- tabs1 ------------------------------------------------- */

.tab1 {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.tab i,
.tab em {
    opacity: 0.75;
}

#tabs {
    background: #ffffff;
    margin-top: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

#tabs>.row {
    margin: 0;
}

@media (min-width: 768px) {
    #tabs>.row>div {
        position: relative;
    }

    #tabs>.row>div+div::before,
    #tabs>.row>div+div::after {
        content: "";
        display: block;
        position: absolute;
    }

    #tabs>.row>div+div::before {
        top: 0;
        left: 0;
        bottom: 20px;
        width: 1px;
        background: #ffffff;
        z-index: 11;
    }

    #tabs>.row>div+div::after {
        top: 0;
        left: 1px;
        bottom: 20px;
        width: 1px;
        background: rgba(0, 0, 0, 0.1);
        z-index: 1;
    }
}

#tabs .tab1 {
    font-size: 0.9375rem;
    padding: 30px 30px 40px 30px;
}

#tabs .tab1 h1,
#tabs .tab1 h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 700;
}

#tabs .tab1 img {
    display: block;
    margin: -30px -30px 10px -30px;
    width: calc(100% + 61px);
    max-width: calc(100% + 61px);
    border-bottom: 20px solid #ffffff;
    position: relative;
    z-index: 10;
}

#tabs .tab1 a {
    display: inline-block;
    padding: 8px 18px;
    line-height: 1.2;
    border: 1px solid #374cb3;
    color: #374cb3;
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
}

#tabs .tab1 a:hover,
#tabs .tab1 a:focus {
    background: #374cb3;
    color: #fff;
}

#tabs .tab1 a::after {
    content: "\203A";
    margin-left: 4px;
    position: relative;
    bottom: 1px;
}

/* ----------------------------------------------- scrollTop ----------------------------------------------- */

#scrollTopBtn {
    position: relative;
    display: block;
    color: #ffffff;
    background: #2f4198;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.2;
    padding: 14px 70px 14px 20px;
    text-decoration: none;
    margin-bottom: 30px;
}

#scrollTopBtn:hover,
#scrollTopBtn:focus {
    background: #1c2d80;
}

#scrollTopBtn::after {
    content: "";
    display: block;
    position: absolute;
    width: 55px;
    right: 0;
    top: 6px;
    bottom: 6px;
    border-left: 1px solid rgba(0, 0, 0, 0.3);
}

#scrollTopBtn::before {
    content: "\00BB";
    position: absolute;
    right: 25px;
    top: 4px;
    color: #ffffff;
    font-weight: 400;
    font-size: 30px;
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

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

#footer {
    background: #374cb3;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    position: relative;
    padding-top: 50px;
}

#footer>div:last-child {
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (min-width: 992px) {
    #footer>div:last-child {
        padding-top: 0px;
        padding-bottom: 60px;
    }

    #footer::before {
        content: '';
        display: block;
        position: absolute;
        bottom: -50px;
        right: 125px;
        height: 148px;
        width: 116px;
        background: url(../img/bg-footer.png) no-repeat;
    }
}

.footerHeadline {
    color: #ffffff;
    font-size: 1.5625rem;
    margin: 0 0 8px 0;
}

#footer a {
    color: inherit;
}

.iframetab iframe,
.iframetab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
    max-height: 240px;
}

/* --------------------------------------------- #innerfooter  -------------------------------------------- */

#innerfooter {
    background: #2f4198;
    color: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.875rem;
}

#innerfooter ul {
    padding: 0;
}

@media (max-width: 767px) {
    #innerfooter ul {
        margin-top: 20px;
    }

    #innerfooter>.row>*+* {
        margin-top: 15px;
    }
}

#innerfooter li {
    display: block;
}

@media (min-width:500px) {
    #innerfooter li {
        display: inline-block;
    }

    #innerfooter li+li {
        margin-left: 20px;
    }
}

#innerfooter a {
    color: #ffffff;
}

@media (min-width: 1200px) {
    #innerfooter li+li {
        margin-left: 35px;
    }
}

#counter {
    font-size: 1rem;
    color: #ffffff;
}

#counter span {
    font-weight: 600;
    margin-right: 8px;
}

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

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

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

#vernetzt span {
    color: #fefefe;
}

#vernetzt span span {
    display: block;
}

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

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

.contrast_dark form[id^="search"] {
    background: none !important;
}

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

.contrast_dark #welcome {
    background: none !important;
    text-shadow: none !important;
    color: #000000 !important;
}

.contrast_dark_font #welcome {
    text-shadow: none !important;
}

.contrast_dark_font #welcome .template-page {
    background: #ffffff !important;
}

.contrast_dark #tabs .tab img {
    border-bottom-color: #000000 !important;
}

.contrast_dark #tabs2 .tabHeadline,
.contrast_dark_font #tabs2 .tabHeadline {
    background-color: transparent !important;
}

.contrast_dark #news,
.contrast_dark #events,
.contrast_dark_font #news,
.contrast_dark_font #events,
.contrast_dark_font main {
    background: none !important;
}

.contrast_dark_font #scrollTopBtn {
    color: #ffffff !important;
    background: #000000 !important;
}