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

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

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

a {
    color: #d62b00;
}

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

b, strong {
    font-weight: 500;
}

@media (min-width: 1200px) {
    .row, .compact, ._op-container .container {
        max-width: 1420px;
        width: 100%;
    }
}

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

#topbar {
    position: relative;
    -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
}

.is-sticky #topbar {
    background-color: rgba(255, 255, 255, 0.95);
}

#topbar::after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    bottom: 12px;
    right: 0;
    height: 5px;
    background: #ffca00;
    pointer-events: none;
}

#logosRight .tiny_p {
    display: flex;
  align-content: center;
  align-items: center;
}

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

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

#logo {
    display: inline-block;
    padding: 10px 30px;
    background: #ffffff;
    -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    z-index: 50;
    position: absolute;
    top: -56px;
    border-bottom: 7px solid #ffca00;
    left: -5px;
    max-width: 100%;
    transition: all, 300ms;
}


#logo img {
    display: block;
}

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

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


@media (min-width: 992px) {
    .is-sticky #logo {
        transform: scale(0.8);
        transform-origin: top center;
    }
}

@media (max-width: 991px) {
    #logo {
        position: relative;
        margin-bottom: -20px;
    }

    #topbar {
        position: relative !important;
    }
}


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

/* 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: #d62b00;
        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: 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) {

    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;
        max-width: 96%;
        margin: auto;
    }

    nav.horizontally li[class*="toplevel"]>ul {
        position: absolute;
        margin-top: 30px;
        top: 120%;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 30px;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear, top 300ms linear;
        -moz-transition: opacity 300ms linear, top 300ms linear;
        -ms-transition: opacity 300ms linear, top 300ms linear;
        -o-transition: opacity 300ms linear, top 300ms linear;
        transition: opacity 300ms linear, top 300ms linear;
        max-height: 60vh;
    }

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        display: flex !important;
        flex-wrap: wrap;
    }

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

    nav.horizontally li[class*="secondlevel"] {
        margin-bottom: 30px;
        width: 25%;
    }

    nav.horizontally li[class*="secondlevel"]>.dropdown-menu {
        display: block !important;
    }
}

@media (max-width: 1199px) {
    #menu {
        position: static !important;
    }
}

@media (min-width: 1200px) {
    #menu {
        -webkit-transition: box-shadow 300ms linear, background 300ms linear;
        -moz-transition: box-shadow 300ms linear, background 300ms linear;
        -ms-transition: box-shadow 300ms linear, background 300ms linear;
        -o-transition: box-shadow 300ms linear, background 300ms linear;
        transition: box-shadow 300ms linear, background 300ms linear;
    }
}

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

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

.navbar-default .navbar-nav>li>a {
    color: #404040;
    font-weight: 500;
    text-align: center;
    padding: 10px 35px;
    position: relative;
    font-family: "Jost", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.2;
    z-index: 12;
    text-decoration: none;
}

@media (min-width: 992px) {

    .dropdown-toggle-button-wrapper {
        z-index: 14;
    }

    .navbar-default .navbar-nav>li+li {
        margin-left: 5px;
    }

    .navbar-default .navbar-nav>li>a {
        padding: 38px 4px 53px 4px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 100%;
        z-index: 12;
    }

    .navbar-default .navbar-nav>li>.dropdown-toggle::before {
        border-style: solid;
        border-width: 0;
        border-color: transparent transparent #0d7360 transparent;
        content: '';
        left: 50%;
        transform: translate(-50%, -50%);
        bottom: -41px;
        position: absolute;
        transition: all, 500ms;
    }

    nav.horizontally li[class*="secondlevel"]+li {
        border-left: 1px solid rgba(0, 0, 0, 0.12);
        padding-left: 40px;
    }
}

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

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

.navbar-nav>li:hover>.dropdown-toggle::before,
.navbar-nav>li>.dropdown-toggle:hover::before,
.navbar-nav>li>.dropdown-toggle:focus::before {
    border-width: 0 25px 22px 25px;
}

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

.navbar-default li[class*="toplevel"]>.dropdown-menu, .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #0d7360;
}

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

@media(min-width:992px) {
    nav.horizontally li[class*="toplevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        height: 73px;
        left: 0;
        right: 0;
        top: -73px;
        pointer-events: none;
        z-index: 53;
    }

    nav.horizontally li[class*="toplevel"]:hover>ul::before,
    nav.horizontally li[class*="toplevel"]:focus>ul::before {
        pointer-events: all;
    }

    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        background: transparent;
    }
}

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

.navbar-default li[class*="secondlevel"]>a, .navbar-default li[class*="thirdlevel"]>a {
    text-align: center;
    padding: 8px 35px !important;
    font-family: "Jost", sans-serif;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default li[class*="secondlevel"]>a {
    color: #212121;
    font-size: 1rem;
    font-weight: 500;
}

.navbar-default li[class*="thirdlevel"]>a {
    color: #212121;
    font-size: 1rem;
    font-weight: 400;
}

@media(min-width:992px) {
    .navbar-default li[class*="secondlevel"]>a, .navbar-default li[class*="thirdlevel"]>a {
        padding: 5px 20px;
        text-align: left;
    }

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

    .navbar-default li[class*="thirdlevel"]>a::before {
        content: "";
        position: absolute;
        left: 20px;
        top: 50%;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        border: 1px solid #212121;
        transform: translateY(-50%);
    }


    .navbar-default li[class*="secondlevel"]>a {
        padding-left: 13px !important;
    }
}

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

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

.navbar-default li[class*="secondlevel"]:focus-within>a {
    color: #0d7360;
}

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

.navbar-default li[class*="thirdlevel"]:focus-within>a {
    color: #da4623;
}

.navbar-default li[class*="thirdlevel"]>a:hover::before,
.navbar-default li[class*="thirdlevel"]>a:focus::before,
.navbar-default li[class*="thirdlevel"].open>a::before,
.navbar-default li[class*="thirdlevel"].open>a:hover::before,
.navbar-default li[class*="thirdlevel"].open>a:focus::before,
.navbar-default li[class*="thirdlevel"][class$="_over"]>a::before,
.navbar-default li[class*="thirdlevel"][class$="_over"]>a:hover::before,
.navbar-default li[class*="thirdlevel"][class$="_over"]>a:focus::before {
    background-color: #da4623;
    border-color: #da4623;
}

.navbar-default li[class*="thirdlevel"]:focus-within>a::before {
    background-color: #da4623;
    border-color: #da4623;
}

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

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

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

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

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

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

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

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

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

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

@media (min-width: 992px) {
    .index #headerpic .nivo-controlNav {
        bottom: 170px;
    }
}

@media (min-width: 1200px) {
    #headerpic .nivo-controlNav {
        bottom: 60px;
    }
}


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

.slider-mask {
    display: block;
    background: url('../img/banner-overlay.png') center bottom / 100% auto no-repeat;
}


@media (max-width: 767px) {

    .nivo-directionNav,
    .nivo-controlNav {
        display: none !important;
    }
}

@media (min-width:768px) {
    #bannerOverlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 12;
    }
}

.tabButton {
    background-color: #0d7360;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.0625rem;
    padding: 12px 20px 18px 20px;
    box-shadow: 0px 0px 7px 0px rgba(22, 22, 22, 0.2) inset;
    -webkit-box-shadow: 0px 0px 7px 0px rgba(22, 22, 22, 0.2) inset;
    -moz-box-shadow: 0px 0px 7px 0px rgba(22, 22, 22, 0.2) inset;
    position: relative;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
}

.tabButton::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    bottom: 3px;
    left: 0;
    right: 0;
}

.tabButton a {
    color: #ffffff;
    text-decoration: none;
}

.tabButton:hover, .tabButton:focus {
    background-color: #212121;
}

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

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

#vernetzt {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    text-decoration: none;
    display: inline-block;
}

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

#vernetzt span {
    color: #ffffff;
    display: block;
}

#vernetzt b,
#vernetzt strong {
    font-weight: 600;
}

#vernetzt img {
    display: block;
    margin-right: 12px;
}


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


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

body:not(.index) #content {
    padding-top: 35px;
}


@media (min-width: 992px) {
    main {
        margin-top: -2vw;
        z-index: 12;
    }
}


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

hr, .hrstyle {
    opacity: 1;
    background: rgba(110, 110, 110, 0.3);
}

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

#news {
    margin-top: 30px;
}

@media (min-width: 768px) {
    #news {
        position: relative;
        z-index: 60;
        margin-top: -90px;
    }
}

@media (max-width: 991px) {
    #news>.row>*:first-child {
        margin-bottom: 30px;
    }
}

@media (min-width: 992px) {
    #news {
        margin-top: -118px;
    }
}

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

#news .tab_link_entry {
    border-bottom: none !important;
    position: relative;
    background: #ffffff;
    border-radius: 2px;
    width: 100%;
    padding: 220px 20px 40px 20px;
    -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
}

@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 (max-width: 767px) {
    #news .tab_link_entry+.tab_link_entry {
        margin-top: 30px;
    }
}

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

#news .tab_link_entry::before {
    content: "";
    position: absolute;
    display: block;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: url("../img/platzhalter-neuigkeiten.png") center / cover no-repeat;
}

#news .tab_link_entry .tab_preview_picture {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 180px;
    overflow: hidden;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

#news .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 101%;
    min-height: 100%;
    max-width: 500px;
    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: 1rem;
    font-weight: 400;
    position: absolute;
    right: -15px;
    top: 159px;
    z-index: 1;
    display: inline-block;
    padding: 8px 10px;
    background: #ffca00;
    color: #212121;
}

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

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


#news .socialTab a {
    font-weight: 600;
    background-color: #0d7360;
    color: #ffffff;
    padding: 7px 20px;
    display: inline-block;
    text-decoration: none;
    margin-top: 5px;
}

#news .socialTab a::after {
    content: "\00BB";
    margin-left: 4px;
    display: inline-block;
}

#news .socialTab a:hover, #news .socialTab a:focus {
    background-color: #ffca00;
    color: #212121;
}

#news .tab {
    height: 100%;
    min-height: 100%;
    background: #ffffff;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
}

#news .tab {
    background-image: url('../img/Aktuelles-Icon.png');
    background-position: right 42px top 60px;
    background-repeat: no-repeat;
}

#news .tab1 {
    padding: 20px;
}

@media (min-width: 1200px) {
    #news .tab1 {
        padding: 60px 30px 40px 30px;
    }
}

#news .tab1 h1,
#news .tab1 h2,
#news .tab1 h3,
#news .tab1 h4,
#news .tab1 h5,
#news .tab1 h6 {
    color: #0d7360;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

@media (max-width: 767px) {

    #news .tab1 h1,
    #news .tab1 h2,
    #news .tab1 h3,
    #news .tab1 h4,
    #news .tab1 h5,
    #news .tab1 h6 {
        font-size: 1.5rem;
    }
}

#news .tab1 hr {
    margin: 24px 0;
}

.socialTab img {
    margin: 0 5px;
}

@media (min-width: 992px) {
    .socialTab img {
        margin: 0 10px;
    }
}

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

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

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

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

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

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

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

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

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

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

h5, .h5, .legacy_h5 {
    font-size: 22.4px;
}

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

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

@media (min-width: 768px) {
    h6, .h6, .legacy_h6 {
        font-size: 1.4rem;
    }
}

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

.tab #insertWidget {
    line-height: 0;
}

/* ------------------------------------------- veranstaltungen ------------------------------------------- */

.eventclndr-tab {
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    .eventclndr-tab {
        margin-bottom: 0;
    }
}

.eventclndr-tab table td, .eventclndr-tab table th {
    padding: 4px 4px;
}

#clr-events-hide,
#clr-events-hide+div {
    display: none;
}

footer .tab_link_title a {
    font-weight: 500;
}

footer .tab_link_mehr {
    color: transparent;
}

footer .tab_link_mehr a {
    font-size: 0;
    text-decoration: none;

}

footer .tab_link_mehr a::after {
    content: "Alle Veranstaltungen \00BB";
    font-size: 1rem;
    font-weight: 500;
    text-decoration: underline;
    color: #ffffff;
}

footer .tab_spacer {
    height: 15px;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer .footerHeadline {
    font-size: 25px;
    margin-bottom: 20px;
}

footer a {
    color: #ffffff;
}

footer a:hover, footer a:focus {
    color: #ffffff;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    color: #ffffff;
}

/* ------------------------------------------- innerfooter + styler ------------------------------------------ */

.innerfooter {
    font-size: 1rem;
}

@media (min-width: 992px) {
    form[id^="search"]+.innerfooter {
        border-left: 1px solid rgba(180, 180, 180, 0.3);
        padding: 8px 0 8px 30px;
    }

    .innerfooter {
        display: inline-block;
    }
}

.innerfooter ul {
    padding: 0;
}

@media (max-width: 991px) {
    .innerfooter ul {
        padding: 20px 0;
    }
}

.innerfooter li {
    display: inline-block;
}

.innerfooter a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.25rem;
}

.innerfooter a:hover,
.innerfooter a:focus {
    text-decoration: underline;
}

.innerfooter li+li::before {
    content: "\00B7";
    margin: 0 15px;
    color: #ffffff;
}

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

@media (min-width: 992px) {
    #style button {
        font-size: 16px;
        background: transparent;
        padding: 0;
        border: none;
        color: #ffffff;
        display: inline-block;
        font-weight: 400;
        text-align: center;
        position: relative;
        line-height: 1;
        -webkit-transition: color 150ms linear;
        -moz-transition: color 150ms linear;
        -ms-transition: color 150ms linear;
        -o-transition: color 150ms linear;
        transition: color 150ms linear;
    }

    #style button+button::before {
        content: '|';
        margin: 0 5px;
        color: #ffffff !important;
        text-decoration: none !important;
    }

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

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

form[id^="search"] {
    height: 38px;
    display: block;
    position: relative;
    margin: 5px auto;
    max-width: 250px;
    width: 100%;
    display: inline-block;
}

form [id^="search_input"] {
    color: #ffffff;
    font-size: 17px;
    font-style: normal;
    background: transparent !important;
    padding: 0;
    border: 0;
    line-height: 38px;
    padding-left: 14px;
    padding-right: 47px;
    height: 38px;
    width: 100%;
}

form [id^="search_submit"] {
    width: 38px;
    height: 38px;
    border: none;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0;
    -webkit-transition: background 150ms linear;
    -moz-transition: background 150ms linear;
    -ms-transition: background 150ms linear;
    -o-transition: background 150ms linear;
    transition: background 150ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: rgba(0, 0, 0, 0.1);
}

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

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

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


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

#topfooter::after {
    content: '';
    max-width: 1380px;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    left: 50%;
    transform: translate(-50%);
    position: absolute;
    bottom: 0px;
}

#topfooter {
    padding-bottom: 20px;
}

@media (min-width: 992px) {

    #bottomfooter>div:nth-child(2) {
        border-left: 1px solid rgba(255, 255, 255, 0.30)
    }
}


footer {
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    top: 12px;
    right: 0;
    height: 5px;
    background: #ffffff;
    pointer-events: none;
    z-index: 2;
}

#bottomfooter {
    padding-top: 45px;
}

#footer {
    color: #ffffff;
    position: relative;
    background: #0d7360;
    padding-top: 45px;
    padding-bottom: 30px;
    margin-bottom: 200px;
}

@media (max-width: 991px) {
    #footer>.row>div+div {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    #footer>.row>div:first-child {
        padding-bottom: 30px;
    }

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

@media (min-width: 992px) {
    #footer>.row>div:first-child {
        padding-right: 70px;
    }

    #topfooter>div:last-child {
        border-left: 1px solid rgba(255, 255, 255, 0.30)
    }

    #bottomfooter>div:last-child {
        padding-left: 70px;
        border-left: 1px solid rgba(255, 255, 255, 0.30)
    }
}

@media (min-width: 992px) {
    #footer {
        padding-top: 30px;
    }
}

#footer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -200px;
    display: block;
    height: 200px;
    background-position: center bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


@media (max-width: 767px) {
    #footer::after {
        background-size: cover;
    }
}

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

    #footer::after {
        bottom: -375px;
        height: 375px;
    }
}

#footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -200px;
    display: block;
    height: 200px;
    background-position: center top;
    background-size: 100% auto, cover;
    background-repeat: no-repeat;
    background-image: url('../img/footer-overlay.png');
    z-index: 2;
}

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

.contrast_light_font #topbar,
.contrast_dark_font #topbar,
.contrast_light_font main,
.contrast_dark_font main {
    background: inherit;
}

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

.contrast_light_font .navbar-default .navbar-nav>li>.dropdown-menu::after {
    border-color: transparent #000000 transparent transparent;
}

.contrast_light_font #bg-content {
    z-index: 60;
    position: relative;
}