@import url("https://fonts.verwaltungsportal.de/css/?family=Open+Sans:300,400,500,600,700,300i,400i,500i,600i,700i");

body {
    font-family: "Open Sans", sans-serif;
    color: #4a4a4a;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #05446e;
}

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

b, strong {
    font-weight: 700;
}

/* ----------------------------------------------- logo + suche ----------------------------------------------- */

#logo {
    display: inline-block;
    margin: 10px 0;
}

#logo img {
    display: block;
}

#topbar {
    padding-top: 20px;
    padding-bottom: 20px;
}

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

    #topbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.adresse {
    color: #252525;
}

#search {
    height: 35px;
    background: #f5f5f5;
    display: block;
    position: relative;
}

#search_input {
    color: #252525;
    font-size: 12px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 33px;
    padding-left: 10px;
    padding-right: 43px;
    height: 35px;
    width: 100%;
}

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

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

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

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

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

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

nav {
    background-color: #ffffff;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: none !important;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #ffffff;
        -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: #000;
        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;
    }
}

@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) {
    .navbar, .navbar>div#myNavbar, .navbar>div#myNavbar>ul, .navbar>div#myNavbar>ul>li {
        height: 100% !important;
    }

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

    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }

    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav>li, nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }

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

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

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

    .navbar-default .nav .open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    nav {
        border-top: 1px solid #006bb3;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #5c5c5c;
    font-weight: 400;
    text-align: left;
    padding: 10px 15px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #bd327c;
    left: 0;
    bottom: 0;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 20px 10px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

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

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

.navbar-nav>li:focus-within>a {
    color: #bd327c;
    background-color: transparent;
}

.navbar-nav>li:hover>a::after,
.navbar-nav>li>a:hover::after,
.navbar-nav>li>a:focus::after,
.navbar-nav>li.open>a::after,
.navbar-nav>li.open>a:hover::after,
.navbar-nav>li.open>a:focus::after,
.navbar-nav>li[class$="_over"]>a::after,
.navbar-nav>li[class$="_over"]>a:hover::after,
.navbar-nav>li[class$="_over"]>a:focus::after {
    width: 100%;
}

.navbar-nav>li:focus-within>a::after {
    width: 100%;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 10px 0;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 10px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin: 10px 0 0 10px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 10px;
        left: 0;
        right: 0;
        top: -10px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #252525;
    font-weight: 500;
    text-align: left;
    padding: 8px 30px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media(max-width:991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: left;
    }

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: "›";
    padding-right: 4px;
}

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

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

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

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

.navbar-nav>li>.dropdown-menu>li:focus-within>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a::before {
    opacity: 1;
}

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

#slider {
    overflow: hidden;
    max-height: 300px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

#headerpic {
    position: relative;
}

.nivo-directionNav a {
    top: 5% !important;
}

#scrollBottom {
    margin-top: 40px;
}

#bannerOverlay .tabHeadline {
    background-color: rgba(189, 50, 124, 0.85);
    font-size: 2.5rem;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 30px 20px;
    hyphens: Auto;
    -ms-hyphens: Auto;
    -webkit-hyphens: None;
    word-wrap: Break-Word;
}

#bannerOverlay .tabHeadline a {
    color: #fff;
}

#bannerOverlay .tabHeadline p+p {
    font-size: 1.875rem;
}

#bannerOverlay .tabContent {
    margin-top: 20px;
    color: #444;
}

#bannerOverlay .tabContent a {
    color: #444;
    padding: 5px 7px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.875rem;
    border: 1px solid #444;
    display: inline-block;
}

@media (min-width: 992px) {
    #bannerOverlay .tabContent a {
        color: #fff;
        border: 1px solid #fff;
    }

    #bannerOverlay .tabContent {
        color: #fff;
    }

    #bannerOverlay {
        position: absolute;
        width: 100%;
        z-index: 20;
        bottom: 6%;
        color: #fff;
    }

    #slider {
        max-height: 500px;
    }

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

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

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

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

.slider-mask {
    display: none;
}

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

.tabHeadline {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    color: #2d2d2d;
    font-weight: normal;
}

#aktuell .tab {
    font-size: 1rem;
    font-weight: lighter;
    font-family: 'Calibri', sans-serif;
}

#videoTab {
    padding-top: 24px;
    padding-bottom: 10px;
}

#tabBtn .tab {
    background-color: #bd327c;
    padding: 20px 10px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.375rem;
}

.veranstaltung {
    color: #ffffff;
    background-color: #b53c61;
}

.kontakt {
    color: #ffffff;
    background-color: #053b5f;
}

.veranstaltung .tabContent, .kontakt .tabContent {
    padding: 16px 14px;
}

.veranstaltung .tabHeadline {
    background: url(../img/kalender.png) right 14px top 15px no-repeat #d4396a;
    color: #ffffff;
    padding: 20px 14px 10px 14px;
}

.kontakt .tabHeadline {
    background: url(../img/kontakt.png) right 14px top 15px no-repeat #05446e;
    color: #ffffff;
    padding: 20px 14px 10px 14px;
}

.tab_link_mehr {
    font-size: 0;
    text-align: center !important;
}

.tab_link_mehr a {
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #ffffff;
    padding: 5px;
    font-size: 1rem;
}

.veranstaltung a, .kontakt a {
    color: #ffffff;
}

.veranstaltung span,
.kontakt span {
    display: block;
}

.kontakt span:last-child, .veranstaltung span:last-child {
    font-weight: bold;
}

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

.headline h1 {
    font-size: 1.5625rem;
    font-weight: bold;
    color: #05446e;
    padding: 40px 10px 30px 0px;
}

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

    #aktuell .tab {
        margin-bottom: 20px;
    }

    #tabBtn .tab {
        margin-bottom: 20px;
    }
}

@media (min-width: 992px) {
    #tabBtn {
        position: relative;
        z-index: 2;
        margin-bottom: -15px;
    }

    #aktuell .tab, #aktuell .tab_link_entry {
        min-height: 100%;
    }
}

@media (min-width: 768px) {


    #aktuelles .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #aktuelles .tab_link_entries {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    #aktuelles .tab_link_entries+div {
        width: 50% !important;
        text-align: right;
        margin-left: 50%;
        margin-top: -80px;
    }
}

#aktuelles .tab_link_entry {
    border-bottom: none !important;
    text-align: left;
    position: relative;
    background: #006bb3;
    width: 100%;
    padding: 165px 20px 20px 20px;
    color: #fff;
}

@media (max-width: 991px) {
    #aktuelles .tab_link_entry {
        margin-bottom: 15px;
    }
}


#aktuelles .tab_link_entry a {
    color: #fff;
}

@media (min-width: 768px) and (max-width: 991px) {
    #aktuelles .tab_link_entry {
        width: calc(50% - 15px);
    }

    #aktuelles .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }

    #aktuelles .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }
}

@media (min-width: 992px) {
    #aktuelles .tab_link_entry {
        width: calc(50% - 15px);
    }


    #aktuelles .tab_link_entry:nth-child(3n+2) {
        margin-left: 26px;
    }

}

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

@media (min-width: 992px) {
    #aktuelles .tab_link_entry:nth-child(3) {
        margin-top: 0;
    }
}

#aktuelles .tab_link_entry::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: grey;
    background: url("../img/aktuelles-standard.jpg") center / cover no-repeat;
}

#aktuelles .tab_link_entry .tab_preview_picture {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 150px;
    overflow: hidden;
}

#aktuelles .tab_preview_picture img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 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%);
}

#aktuelles .tab_date {
    font-size: 1rem;
    position: absolute;
    left: 50%;
    top: 134px;
    z-index: 1;
    display: inline-block;
    padding: 4px 10px;
    background: #fff;
    color: #05446e;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

#aktuelles .tab_link_title a {
    color: #fff;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

#aktuelles .tab_link_entry>div:nth-last-child(2) {
    color: transparent;
    line-height: 0;
    text-align: center !important;
    padding-top: 30px;
}

#aktuelles .tab_link_entry>div:nth-last-child(2)>a {
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #ffffff;
    padding: 5px;
    font-size: 1rem;
}

#aktuelles .tab_link_entry:hover div:nth-last-child(2)>a,
#aktuelles .tab_link_entry:focus div:nth-last-child(2)>a {
    opacity: 1;
}

#aktuelles .tab_link_entry div:nth-last-child(2)>a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -40px;
    margin-top: -60px;
    display: block;
    background: url("../img/mehr-erfahren.png") center no-repeat;
    width: 80px;
    height: 80px;
}

@media (min-width: 992px) {
    .tab_link {
        min-height: 100%;
    }
}

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

main {
    text-align: left;
    min-height: 200px;
    padding-top: 30px;
    padding-bottom: 30px;
}

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

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #05446e;
    font-weight: bold;
    line-height: 1.2;
    font-family: "Calibri", sans-serif;
}


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

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

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

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

h3, .h3, .legacy_h3 {
    font-size: 1.6rem;
}

@media (min-width: 992px) {
    h3, .h3, .legacy_h3 {
        font-size: 2rem;
    }
}

h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
    font-size: 1.5rem;
}

@media (min-width: 992px) {
    h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
        font-size: 1.7rem;
    }
}

h5, .h5, .legacy_h5 {
    font-size: 1.4rem;
}

@media (min-width: 992px) {
    h5, .h5, .legacy_h5 {
        font-size: 1.5rem;
    }
}

h6, .h6, .legacy_h6 {
    font-size: 1.3rem;
}

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

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

footer {
    background: #f5f5f5;
    color: #252525;
}

#footer {
    padding-top: 26px;
    padding-bottom: 26px;
}

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

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #252525;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    border-radius: 2px;
    padding: 2px 4px;
}

#innerfooter a:hover,
#innerfooter a:focus {
    background: transparent;
}

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

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


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

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #252525;
    line-height: 1.4;
    margin: 0 auto;
    text-decoration: none;
}

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

#vernetzt span {
    color: #252525;
}

#vernetzt span span {
    display: block;
}