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

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

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

a {
    color: #004f9f;
}

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


b,
strong {
    font-weight: 600;
}

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

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

#topbar {
    padding: 25px 0 5px 0;
}

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

#topbar #logotext {
    text-decoration: none;
    display: block;
    color: #444444;
}

#topbar :is(h1, h2, h3) {
    font-size: clamp(1.125rem, 2vw, 1.875rem);
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    text-decoration: none;
    font-style: italic;
    color: #444444;
    hyphens: auto;
}

@media (min-width: 1200px) {
    #topbar #logotext {
        margin-left: -20px;
        margin-top: -10px;
    }
}


#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

#search {
    height: 35px;
    background: transparent;
    border: 1px solid #004f9f;
    display: inline-block;
    position: relative;
    width: 100%;
}

@media (max-width: 991px) {
    #search {
        margin-top: 20px;

    }
}

@media (min-width: 1200px) {
    #search {
        margin-bottom: 20px;

    }
}

#search_input {
    color: #444444;
    font-size: 1rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 35px;
    padding-left: 20px;
    padding-right: 43px;
    height: 35px;
    width: 100%;
    font-style: italic;
}

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

#search_submit:hover {
    background-color: #88add2;
}

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

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

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

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: none !important;
        position: relative;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
    }

    #burgerButton:before,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #2e3c48;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        -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"]:before {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 10px;
    }

    #burgerButton:before {
        top: 18px;
    }

    #burgerButton:after {
        top: 26px;
    }

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

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

    .navbar-collapse {
        top: 0;
        background: #004f9f;
        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.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        -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);
    }

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

@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-sticky-wrapper {
        background: #004f9f;
    }

    #menu {
        background: #004f9f;
        position: relative;
    }

    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: 100%;
        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(255, 255, 255, 0.9);
        -webkit-box-shadow: 0 8px 8px 0 rgba(84, 73, 73, 0.1);
        box-shadow: 0 8px 8px 0 rgba(84, 73, 73, 0.1);
    }

    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: 30px;
        -moz-column-gap: 30px;
        column-gap: 30px;
        max-width: 992px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
        height: auto;
    }

    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: 100%;
        z-index: 1003;
    }

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

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

@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 li[class*="toplevel"]>a {
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    padding: 10px 35px 15px 35px;
    text-transform: uppercase;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

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

.navbar-default li[class*="toplevel"]>a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    position: absolute;
    left: 50%;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 0;
    background: #ffffff;
    -webkit-transition: width 200ms linear;
    -moz-transition: width 200ms linear;
    -ms-transition: width 200ms linear;
    -o-transition: width 200ms linear;
    transition: width 200ms linear;
}

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

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

/* -------------------------------------- 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: #ffffff;
    }
    .dropdown-toggle-button-wrapper {
        top: 8px;
    }
}

@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: #444444;
    text-align: left;
    padding: 8px 35px 8px 15px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default li[class*="secondlevel"]>a {
    font-weight: 700;
    text-transform: uppercase;
}

.navbar-default li[class*="thirdlevel"]>a {
    font-weight: 400;
}

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

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

/* ------------------------------------------ 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: #004f9f;
}



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

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

@media (min-width: 992px) {
    #headerpic .nivo-controlNav {
        top: 20px;
        bottom: unset;
    }

    #slider {
        max-height: 400px;
    }

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

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

@media (min-width: 992px) {
    #bannerOverlay {
        position: absolute;
        z-index: 12;
        bottom: 79px;
        left: 0px;
        right: 0px;
        pointer-events: none;
    }
}

#bannerOverlay .tabHeadline {
    color: #004f9f;
    font-size: clamp(1.5625rem, 3vw, 2.8125rem);
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 3px solid #004f9f;
    margin-bottom: 0;
    padding: 20px;
    font-style: italic;
    display: table;
    width: auto;
    line-height: 1.1;
}

#bannerOverlay .tabContent {
    color: #444444;
    font-size: 1.25rem;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 5px 20px;
    display: table;
    width: auto;
}

#bannerOverlay .tab {
    pointer-events: all;
}

@media (max-width: 991px) {
    #bannerOverlay {
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
        padding-bottom: 10px;
    }
}

/* ----------------------------------------------- scroll bottom ----------------------------------------------- */

#scrollBottom a {
    position: absolute;
    font-size: 0;
    display: block;
    width: 30px;
    height: 30px;
    margin: 50px auto 10px auto;
    text-align: center;
    background-color: #0f365d;
    color: #fff;
    border: 2px solid #fff;
    pointer-events: auto;
    -webkit-animation: bounceAni 2s infinite 2s;
    animation: bounceAni 2s infinite 2s;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
    bottom: 30px;
    left: 0px;
    right: 0px;
    z-index: 12;
}


#scrollBottom a:hover,
#scrollBottom a:focus {
    background-color: rgba(58, 89, 113, 0.8);
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

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

#scrollBottom a::after {
    left: 8px;
    top: 9px;
    width: 8px;
    height: 8px;
    display: inline-block;
    border-left: 2px solid #deeaf3;
    border-bottom: 2px solid #deeaf3;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -ms-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
}

#scrollBottom a::before {
    left: 12px;
    top: 7px;
    width: 2px;
    height: 12px;
    background-color: #deeaf3;
}

@keyframes bounceAni {

    0%,
    100%,
    20%,
    50%,
    80% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    60% {
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}



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

#news .tab {
    border-radius: 3px;
    background-color: #004f9f;
    overflow: hidden;
    padding: 30px;
    color: #ffffff;
    background-position: top 20px right 20px;
    background-repeat: no-repeat;
}

#news .tabHeadline {
    color: #ffffff;
    margin: 0 0 20px 0;
    font-weight: 600;
    font-size: 2rem;
    text-transform: uppercase;
    font-style: italic;
}

@media (min-width: 768px) {
    #news .tabHeadline {
        margin: 0 0 25px 0;
    }
}

@media (min-width: 1200px) {
    #news .tabHeadline {
        -webkit-hyphens: manual;
        -moz-hyphens: manual;
        -ms-hyphens: manual;
        hyphens: manual;
    }
}

#news .tabHeadline::after {
    display: none;
}

#news .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
}

#news .tab_link_title a {
    line-height: 1.2;
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
}

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

#news {
    padding-top: 50px;
}

#news .tab {
    background-image: url('../img/icon-zeitung.png');
}

#news .tab a {
    color: #fff;
}

#news .tab,
#news .tab_link,
#news .tab_link>div {
    height: 100%;
    min-height: 100%;
}

#news .tab_link_entry {
    background: #ffffff;
    border-radius: 3px;
    padding: 160px 30px 30px 30px;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

@media (min-width: 576px) and (max-width: 767px) {
    #news .tab_link_entry {
        width: calc(50% - 15px);
    }

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

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

@media (min-width: 768px) {
    #news .tab_link_entry {
        width: calc(33.33% - 20px);
    }

    #news .tab_link_entry+.tab_link_entry {
        margin-left: 30px;
    }
}

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

@media (max-width: 991px) {
    #news .tab_link {
        margin-top: 30px;
    }
}

#news .tab_preview_picture {
    background: #ffffff;
}

#news .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 120px;
    overflow: hidden;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

#news .tab_link_title a::before {
    content: "";
    background: #666666 url("../img/platzhalter-aktuelles.jpg") center / cover no-repeat;
}

#news .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 350px;
    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%);
}

#news .tab_date {
    font-size: 0.75rem;
    font-weight: 400;
    position: absolute;
    left: -1px;
    top: 105px;
    z-index: 1;
    display: inline-block;
    padding: 6px 20px;
    background: #0f365d;
    color: #fff;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

#news .tab_link_title a {
    color: #004f9f;
}

.tab_link_entries+div,
.tab_link_entries .tab_spacer,
.tab_link_entry>div:nth-last-child(2) {
    display: none;
}

/* ------------------------------------------- button design ------------------------------------------- */

.tab3 .tab_link_mehr {
    font-size: 0;
}

.tab3 .tab_link_mehr a,
.buttonStyle a {
    -moz-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -ms-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -o-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -webkit-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    background: #0f365d;
    color: #ffffff;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 5px 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 300ms linear, color 300ms linear, border 300ms linear;
}

@media (min-width: 768px) {
    .buttonStyle a+a {
        margin-left: 12px;
    }
}

.tab3 .tab_link_mehr a:hover,
.tab3 .tab_link_mehr a:focus,
.buttonStyle a:hover,
.buttonStyle a:focus {
    background: rgba(58, 89, 113, 0.8);
    color: #fff;
}

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

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

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

#content>.row::after {
    content: '';
    background: url(../img/radfahrerin.png) no-repeat right bottom;
    width: 309px;
    height: 314px;
    position: absolute;
    right: -360px;
    bottom: -60px;
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #004f9f;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Jost", sans-serif;
}

#content h1 {
    font-style: italic;
}

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

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

/* ----------------------------------------------- breaker ----------------------------------------------- */

#breakerInfos {
    padding: clamp(60px, 8vw, 120px) 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#breakerInfos,
#breakerInfos :is(h1, h2, h3, h4, h5, h6, a, .tabSpecialHeadline) {
    margin: 0;
    color: #fff;
}

#breakerInfos .tab {
    padding-left: 90px;
    font-size: 1rem;
    line-height: 1.2;
}

@media (max-width: 991px) {
    #breakerInfos .tab:not(.tab3) {
        margin-bottom: 30px;
    }
    #breakerInfos :is(h1, h2, h3, h4, h5, h6, .tabSpecialHeadline) {
        margin: 0 0 10px 0;
    }
}

#breakerInfos .tab b,
#breakerInfos .tab strong {
    font-size: 2.1875rem;
}


#breakerInfos .tab::before {
    content: '';
    background: url(../img/icon-mitglieder.png) no-repeat center;
    width: 61px;
    height: 61px;
    display: block;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

#breakerInfos .tab2::before {
    background: url(../img/icon-vereine.png) no-repeat center;
}

#breakerInfos .tab3::before {
    background: url(../img/icon-wettkaempfe.png) no-repeat center;
}

.tabSpecialHeadline {
    position: relative;
    padding-left: 20px;
}

.tabSpecialHeadline :is(h1, h2, h3) {
    text-transform: uppercase;
    font-style: italic;
}



.tabSpecialHeadline::before {
    display: block;
    width: 4px;
    height: 100%;
    position: absolute;
    left: 0px;
    background: #fff;
    content: '';
    pointer-events: none;
}

/* ----------------------------------------------- infopoint ----------------------------------------------- */

#infoPoint {
    padding: 60px 0 15px;
}

#infoPoint .tab {
    min-height: 100%;
}

#infoPoint .tab {
    border-top: 4px solid #004e9d;
    padding: 55px 30px 45px 30px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
    position: relative;
    font-size: 1rem;
    background: #fff;
}

#infoPoint .tabHeadline {
    text-align: center;
    text-transform: uppercase;
    font-style: italic;
}

#infoPoint .tab::before {
    content: '';
    background-image: url(../img/icon-newsletter.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 60px;
    height: 60px;
    background-color: #fff;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translate(-50%)
}

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

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

#infoPoint>.row::before {
    content: '';
    background: url(../img/radfahrer.png) no-repeat left center;
    width: 417px;
    height: 510px;
    display: block;
    position: absolute;
    left: -360px;
    bottom: 0;
}

#infoPoint .tab_link_title a {
    color: #444444;
    font-weight: 500;
}

#newsletterInputs {
    height: 35px;
    background: transpraent;
    display: inline-block;
    width: 100%;
    border: 2px solid #88add2;
    position: relative;
    margin-top: 20px;
}

#newsletter_input {
    color: #444444;
    font-size: 0.9375rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 30px;
    padding-left: 10px;
    padding-right: 43px;
    height: 30px;
    width: 100%;
    font-style: italic;
}

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

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

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

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

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

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

/* ----------------------------------------------- sponsor ----------------------------------------------- */

#sponsor {
    font-size: 1rem;
    padding-bottom: 30px;
}

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

#footer {
    background-color: #004f9f;
    padding-top: 40px;
    padding-bottom: 40px;
    color: #ffffff;
    font-size: 1rem;
}

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

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

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

.footerTab a {
    color: #ffffff;
    text-decoration: underline;
}

.footerTab h1,
.footerTab h2,
.footerTab h3,
.footerTab h4,
.footerTab h5,
.footerTab h6 {
    color: #ffffff;
    font-size: 1.5625rem;
    font-style: italic;
    text-transform: uppercase;
}

.footerTab .footerHeadline{
    margin-bottom: 40px;
}

.footerTab iframe,
.footerTab .iframe-wrapper-manual-enabling {
    max-width: 100% !important;
    width: 100%;
    min-width: 100% !important;
    min-height: 258px !important;
    height: 100% !important;
}

#footer .news {
    position: relative;
    z-index: 2;
}

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

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

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

#vernetzt span span {
    display: block;
}

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

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



#counter {
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    display: block;
    width: 100%;
    padding: 9px 15px;
    text-align: justify;
    text-transform: uppercase;
    font-style: italic;
    text-align-last: justify;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.10);
}

#counter span span {
    font-weight: 400;
    font-style: normal;
}

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

#innerfooter {
    background-color: #0f365d;
    padding-top: 26px;
    padding-bottom: 26px;
    font-size: 0.875rem;
    text-transform: uppercase;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

#innerfooter a {
    color: #ffffff;
}

@media (min-width: 576px) {
    #innerfooter li+li::before {
        content: "•";
        margin: 0 15px;
        color: #ffffff;
    }
}

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

/* --------------------------------------------- scroll top -------------------------------------------- */

#scrollTopBtn {
    font-weight: 600;
    display: inline-block;
    font-style: italic;
}

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

#scrollTopBtn::after {
    content: "";
    margin-left: 15px;
    position: relative;
    bottom: -2px;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 1px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}