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

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

main a {
    text-decoration: underline;
}

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

b, strong {
    font-weight: 500;
}

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

/* ---------------------------------------------- topbar ---------------------------------------------- */
.sticky-wrapper {
    height: 0 !important;
}

header {
    position: relative;
    min-height: 100px;
}

#topbar {
    font-size: 1rem;
    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);
}

@media (max-width: 991px) {
    #topbar {
        min-height: 80px;
    }
}

@media (min-width: 992px) {
    #topbar {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        z-index: 62;
        background: rgba(255, 255, 255, 0.95) url('../img/hintergrund-topbar.jpg') center right no-repeat;
    }

    #topbar>.row>div:not(:first-child) {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    #topbar>.row>div:last-child>*+* {
        padding: 8px 0 8px 15px;
        margin-left: 15px;
        border-left: 1px solid rgba(180, 180, 180, 0.3);
    }
}

@media (min-width: 1200px) {
    #topbar>.row>div:last-child>*+* {
        padding: 8px 0 8px 30px;
        margin-left: 30px;
    }
}

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

.logo {
    position: relative;
    display: inline-block;
    z-index: 50;
}

@media (max-width: 991px) {
    .logo {
        position: absolute;
        top: 0;
        left: 15px;
        padding: 14px 20px 16px 20px;
        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;
    }
}

@media (min-width: 992px) {
    .logo {
        margin-top: -130px;
    }
}

.logo img {
    display: block;
}

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

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

.searchbutton a{
    display: inline-block;
    width: 30px; 
    height: 30px;
    background: url(../img/suche-icon.png);    
    background-position: center;
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    position: relative;
    top: 3px;
}

@media (max-width: 991px) {
    .searchbutton a{
        text-align: center;
    }
}


@media (min-width: 992px) {
    .searchbutton {
        border-left: 1px solid rgba(255,255,255,0.20);
        display: inline-block;
        max-height: 42px;
        margin-left: 20px;
        padding-left: 13px;
    }
}



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

.innerfooter {
    font-size: 1rem;

}

#footerNavBar{
    padding: 30px 0;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}
@media (min-width: 992px) {
    .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: #444444;
    text-decoration: none;
}

.innerfooter a:hover,
.innerfooter a:focus {
    color: #358623;
}

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

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



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

@media (min-width: 992px) {
    #style {
        display: inline-block;
    }

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

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

    #style button+button::before {
        content: "\007C";
        color: inherit;
        margin: 0 5px 0 0;
    }

    #style button:hover,
    #style button:focus {
        color: #358623;
    }
}

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

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

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

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

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

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

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

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

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

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

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

.slider-mask {
    display: none;
}

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

#headerbottom {
    padding-top: 15px;
    padding-bottom: 15px;
    background: rgba(255, 255, 255, 0.9);
}

@media (min-width: 992px) {
    #headerbottom {
        padding: 0;
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 61;
    }

    #headerbottom>.row {
        position: relative;
    }

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

    #headerbottom>.row::before {
        left: -240px;
        top: -184px;
        background: url('../img/banner-overlay.png') left bottom no-repeat;
        width: 763px;
        height: 184px;
    }

    #headerbottom>.row::after {
        height: 40px;
        top: -40px;
        width: 20vw;
        left: calc(-20vw - 240px);
        background: rgba(255, 255, 255, 0.9);
    }

    #headerbottom>.row>* {
        padding-bottom: 15px;
    }

    #headerbottom>.row>*:last-child {
        padding-top: 15px;
    }
}

#headerbottom .headerHeadline {
    color: #358623;
    font-size: 1.5625rem;
    margin: 0;
}

/* --------------------------------------- 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: #345f93;
        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: #345f93;
        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) {
    .horizontally{
        background-color: rgba(52,95,147,0.95);
    }
    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        flex-wrap: wrap;
    }
    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;
    }

       /* Fade in Hover Start */
    .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;
    }

/* Pseudo */

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

/* 3rd */

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

    /* Fade in Hover End */


nav.horizontally .dropdown-menu {
	min-width: 265px;
}

}


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

.navbar-default .navbar-nav>li>a {
    color: #fbfbfa;
    font-weight: 500;
    text-align: center;
    padding: 10px 35px 15px 35px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 20px;
    }
    .navbar-default .navbar-nav>li>a {
        padding: 38px 10px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: 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: #418231;
    background-color: rgba(255,255,255,0.90);
}

.navbar-nav > li:focus-within > a {
    color: #418231;
    background-color: rgba(255,255,255,0.90);
}


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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #fbfbfa;
    -webkit-box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding: 15px;
    }
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
    left: 50%;
    transform: translate(-50%);
    margin-top: 15px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 18px;
        padding-bottom: 18px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -18px;
        margin-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 {
    color: #444444;
    font-weight: 400;
    text-align: left;
    padding: 9px 30px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    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 .navbar-nav > li > .dropdown-menu > li[class*="dropdownpr"] > a::after {
        content: '\203A';
        position: absolute;
        right: 9px;
        top: 48%;
        transform: translateY(-50%);
        display: inline-block;
        width: 20px;
        height: 20px;
    }
}


/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */
.navbar-nav>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    background: #418231;
    color: #fbfbfa;
}

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


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

#vernetzt {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

#vernetzt span {
    color: #ffffff;
    display: block;
    text-align: left;
}

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



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

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

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

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

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

#news {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #345f93;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

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

#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 .tab1 {
    padding: 20px;
}

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

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

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

@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/news-standard.jpg") 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: 100%;
    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: 164px;
    z-index: 1;
    display: inline-block;
    padding: 4px 10px;
    background: #358623;
    color: #ffffff;
}

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

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

#news .tab_link_mehr {
    margin-top: 15px;
}

#news .tab_link_mehr a {
    font-weight: 500;
    color: #ffffff;
}

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

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

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

h1 em, h1 i,
h2 em, h2 i,
h3 em, h3 i {
    font-style: normal;
    font-weight: 500;
    color: #358623;
    font-size: 75%;
    position: relative;
    top: -5px;
}

@media (min-width: 768px) {

    h1 em, h1 i,
    h2 em, h2 i,
    h3 em, h3 i {
        margin-left: 35px;
    }
}

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

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

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

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

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

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

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

@media (min-width: 768px) {
    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: 768px) {
    h5, .h5, .legacy_h5 {
        font-size: 1.6rem;
    }
}

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

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

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



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

#tabs{
    padding: 30px 0 30px;
}

#tabs p{
    display: inline-block;
}

#tabs > div a{
    display: block;
    width: 100%;
    color: #345f93;
    font-size: 1.5625rem;
    font-weight: 700;
    -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);
    text-decoration: none;
    padding: 1.4375rem;
   font-size: calc(18px + (25 - 18) * (100vw - 400px) / (1920 - 400));
 
}


#tabs a{
    text-decoration: none;
}


#tabs p{
    min-width: calc(25% - 30px);
}

@media (min-width: 768px) {
#tabs > div p + p {
	margin-left: 30px;
	margin-bottom: 30px;
}
}


#tabs hr{
    opacity: 0.10 !important;
    margin-bottom: 45px;
}

@media (max-width: 767px) {

#tabs > div a{
    padding: 10px;
}
#tabs > div p:nth-child(2n+1) {
	margin-left: 5px;
	margin-bottom: 5px;
}



#tabs p{
    min-width: calc(50% - 10px);
}

}


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

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 h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer a,
footer a:hover {
    color: #ffffff;
}

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

#footer {
    color: #ffffff;
    position: relative;
    background: #345f93;
    padding-top: 30px;
    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+div {
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }

    #footer>.row>div:first-child {
        padding-right: 70px;
    }

    #footer>.row>div:last-child {
        padding-left: 70px;
    }
}

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

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

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

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

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

/* ----------------------------------------------- extern button ----------------------------------------------- */

div.cituroContainer > button.cituroBookingButton {
    background: #00a5fd !important;
    font-weight: normal !important;
    color: #ffffff !important;
}



/* ------------------------------------------------ topInfo ----------------------------------------------- */

#topInfo {
    padding-top: 40px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    #topInfo {
        padding-top: 60px;
    }
}

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

@media (max-width: 991px) {
    #topInfo>.row>div+div {
        margin-top: 30px;
    }
}

#topInfo>.row>div:first-child {
    font-weight: 300;
    line-height: 1.3;
}

@media (min-width: 992px) {
    #topInfo>.row>div:first-child {
        padding-top: 50px;
        padding-right: 30px;
        padding-bottom: 110px;
    }
}

#topInfo>.row>div:first-child a {
    color: #ffffff;
    text-decoration: underline;
}

#topInfo>.row>div:first-child b, #topInfo>.row>div:first-child strong {
    font-weight: 700;
    font-size: 1.6rem;
}

@media (min-width: 992px) {
    #topInfo>.row>div:first-child b, #topInfo>.row>div:first-child strong {
        font-weight: 700;
        font-size: 2rem;
    }
}

@media (min-width: 1200px) {
    #topInfo>.row>div:first-child b, #topInfo>.row>div:first-child strong {
        font-size: 2.5rem;
    }
}

#topInfo>.row>div:first-child, #topInfo>.row>div:first-child h1, #topInfo>.row>div:first-child h2, #topInfo>.row>div:first-child h3, #topInfo>.row>div:first-child h4, #topInfo>.row>div:first-child h5, #topInfo>.row>div:first-child h6 {
    color: #ffffff;
}

#topInfo>.row>div:first-child h1::after {
    content: "-";
    display: block;
    color: #345f93;
    line-height: 0.5;
    margin-top: 5px;
}

#topInfo::after {
    content: "";
    position: absolute;
    z-index: -1;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50px;
    background: #345f93;
    border-bottom-right-radius: 500px;
}

@media (max-width: 991px) {
    #topInfo::after {
        max-height: 250px;
        border-bottom-right-radius: 0px;
    }
}

@media (min-width: 992px) {
    #topInfo::after {
        right: 50%;
        bottom: 60px;
    }
}

#topInfo .tab {
    background: #fff;
    padding: 35px 30px 30px 30px;
    color: #807171;
    line-height: 1.3;
    position: relative;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    #topInfo .tab {
        font-size: 1.125rem;
    }
    .tab_spacer {
        height: 20px;
    }
}

@media (min-width: 992px) {
    #topInfo .tab {
        padding-bottom: 70px;
    }
}

@media (min-width: 1200px) {
    #topInfo .tab {
        padding: 45px 40px 70px 40px;
    }
}

#topInfo .tabHeadline {
    text-transform: uppercase;
    color: #345f93;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    #topInfo .tabHeadline {
        font-size: 1.4rem;
    }
}

@media (min-width: 1200px) {
    #topInfo .tabHeadline {
        font-size: 1.625rem;
    }
}

#topInfo .tabHeadline::before {
    content: "";
    display: block;
    width: 100%;
    height: 60px;
    background-position: center left;
    background-repeat: no-repeat;
    margin-bottom: 15px;
}

#topInfo .tab_link_mehr {
    color: transparent;
    font-size: 0;
}

.teaserText a, #topInfo .tab_link_mehr a {
    background: #358623;
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 15px;
}

#topInfo .tab_link_mehr a {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 1rem;
}

@media (min-width: 992px) {
    #topInfo .tab_link_mehr a {
        padding: 15px 34px;
        bottom: -10px;
        right: -10px;
    }
}

.teaserText a:hover, #topInfo .tab_link_mehr a:hover {
    background: #358623;
}

.teaserText a::after, #topInfo .tab_link_mehr a::after {
    content: "\2192";
    font-weight: 400;
    position: relative;
    left: 0;
    margin-left: 4px;
    -webkit-transition: left 200ms linear;
    -moz-transition: left 200ms linear;
    -ms-transition: left 200ms linear;
    -o-transition: left 200ms linear;
    transition: left 200ms linear;
}

.teaserText a:hover::after, #topInfo .tab_link_mehr a:hover:after {
    left: 6px;
}

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


.tab_link_title a {
    color: #807171;
    font-weight: 600;
}

.tab_link_mandat a {
    color: #807171;
}