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

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

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

b, strong {
    font-weight: 600;
}

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

.logo a {
    display: inline-block;
}

.logo img {
    display: block;
}

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

    nav .logo {
        position: fixed;
        top: 10px;
        left: 15px;
        z-index: 102;
    }
}

/* ----------------------------------------- zeiten - phone --------------------------------------- */

address {
    font-style: normal;
    display: flex;
  justify-content: end;
  align-content: center;
  align-items: center;
}

.zeiten, .phone {
    display: inline-block;
    color: #2d2d2d;
    line-height: 1;
}

.zeiten, .phone {
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    padding: 12px 0 12px 40px;
}

@media (min-width: 992px) {
    .zeiten {
        border-right: 1px solid #ededed;
        padding-right: 20px;
        margin-right: 10px;
    }
}

@media (min-width: 992px) {
    .zeiten {
        border-right: 1px solid #ededed;
        padding-right: 20px;
        margin-right: 10px;
    }
}

@media (min-width: 1200px) {
    .zeiten, .phone {
        font-size: 1.125rem;
    }
}

.zeiten a, .phone a {
    color: #2d2d2d;
    font-weight: 400;
}

.zeiten {
    background: url('../img/mail-icon.png') center left no-repeat;
}

.phone {
    background: url('../img/telefon-icon.png') center left 5px no-repeat;
}

.zeiten a:hover, .phone a:hover,
.zeiten a:focus, .phone a:focus {
    color: #d13e1a;
}

#contactTabs {
    background-color: #ffffff;
    padding: 25px 0;
}

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

#menu {
    background-color: #14486e;
}

/* burgermenu for tablet */

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

    #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
        background-color: #14486e;
        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"] #burgerButtonInner2 {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 11px;
    }

    #burgerButtonInner2 {
        top: 19px;
    }

    #burgerButton:after {
        top: 27px;
        content: "";
        display: block;
    }

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

    .navbar-collapse {
        top: 70px;
        background: #14486e;
        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 {
        height: 70px;
        line-height: 1;
        border-radius: 2px;
        padding: 10px 15px;
        background-color: #ffffff;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        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-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 70px;
        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 {
        padding-left: 15px;
        -webkit-flex-grow: 1;
        flex-grow: 1;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }

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

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

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

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

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

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

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

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

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover>u {
        z-index: 1003;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    padding: 10px 35px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 29px 15px;
        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;
    }
}

.navbar-default .navbar-nav>li>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    display: block;
    height: 2px;
    background-color: #dfac2a;
    -webkit-transition: width 300ms linear;
    -moz-transition: width 300ms linear;
    -ms-transition: width 300ms linear;
    -o-transition: width 300ms linear;
    transition: width 300ms linear;
}

/* -------------------------------------------- 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: #14486e;
    background-color: #a2cdf2;
}

.navbar-nav>li:focus-within>a {
    color: #14486e;
    background-color: #a2cdf2;
}

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2), inset 0 0 20px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2), inset 0 0 20px 0 rgba(0, 0, 0, 0.12);
}

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

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

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

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

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

/* --------------------------------------------- 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;
    text-align: center;
    padding: 6px 35px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    font-weight: 400;
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: left;
        padding: 6px 25px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a::before, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
        content: "\0007C";
        margin-right: 5px;
    }
}

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

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

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

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

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

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

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

@media (min-width: 1200px) {
    body.index #slider {
        max-height: 626px;
    }
}

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

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

#headerpic .slider-wrapper {
    position: relative;
}

@media (min-width: 992px) {
    #headerpic a.nivo-prevNav {
        left: 65px;
    }

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

    #headerpic .nivo-controlNav {
        text-align: left;
        width: 970px;
        bottom: 13px;
        left: 50%;
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

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

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

.slider-mask {
    display: none;
}

@media (min-width: 768px) {
    .index .slider-mask {
        display: block;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    }
}

#slogan {
    position: relative;
    font-size: 1.2rem;
    pointer-events: auto;
    padding-top: 15px;
    color: #444444;
    line-height: 1.8;
}

#slogan a {
    color: #444444;
}

@media (max-width: 767px) {
    #slogan {
        padding-top: 20px;
        padding-bottom: 20px;
        border-bottom: 2px solid #a2cdf2;
    }
}

@media (min-width: 768px) {
    #slogan {
        font-size: 1.25rem;
        color: #ffffff;
        background: rgba(0, 0, 0, 0.01);
    }

    #slogan a {
        color: #ffffff;
    }
}

@media (min-width: 992px) {
    #slogan {
        font-size: 1.625rem;
    }
}

#slogan b, #slogan strong {
    font-weight: 600;
    display: block;
    text-transform: none;
    letter-spacing: 0;
    font-size: 2rem;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    #slogan b, #slogan strong {
        font-size: 44.8px;
    }

    #bannerOverlay {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 53;
        pointer-events: none;
    }
}

@media (min-width: 992px) {
    #slogan b, #slogan strong {
        font-size: 3.125rem;
    }

    #bannerOverlay {
        bottom: 50px;
    }
}

@media (min-width: 1200px) {
    #bannerOverlay {
        bottom: -300px;
    }
}

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

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

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

@media (min-width: 1200px) {
    #content {
        padding-bottom: 100px;
        padding-top: 100px;
    }
}

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

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

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

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

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

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

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

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

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

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

#events {
    padding: 50px 0;
    position: relative;
    margin-bottom: 40px;
    background: #eeeeee url('../img/menora-wasserzeichen.png') bottom right 50px no-repeat;
}

#events .tabContent :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0;
    font-size: 1.875rem;
    text-transform: uppercase;
}

#events strong,
#events b {
    color: #ffffff !important;
}

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

#events .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 200px 30px 30px 30px;
    box-shadow: 0px 0px 20px 10px rgba(37, 37, 37, 0.1);
    -webkit-box-shadow: 0px 0px 20px 10px rgba(37, 37, 37, 0.1);
    -moz-box-shadow: 0px 0px 20px 10px rgba(37, 37, 37, 0.1);
    border: none !important;
    z-index: 1;
}

#events .tab_link {
    margin-top: 50px;
}

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

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

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

@media (max-width: 767px) {
    #events .tab_link_entry+.tab_link_entry {
        margin-top: 85px;
    }
}

#events .tab_link_title a {
    line-height: 1.2;
    font-weight: 700;
    font-size: 1.375rem;
    display: block;
    margin-bottom: 20px;
    color: #252525;
}

@media (max-width: 991px) {
    #events .tab_link_title a {
        font-size: 1.125rem;
    }
}

#events .tab_link_entry::before,
#events .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    overflow: hidden;
}

#events .tab_link_entry::before {
    content: "";
    background: url('../img/news-platzhalterbild.jpg') center / cover no-repeat, #dfac2a;
}

#events .tab_preview_picture {
    background: #ffffff;
}

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

#events .tab_link_date {
    font-size: 1rem;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 20px;
    z-index: 1;
    display: inline-block;
    padding: 8px 40px;
    background: #ffffff;
    color: #252525;
}

#events .vorschau {
    color: #252525;
    opacity: 1 !important;
}

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

#events .greenButton p:last-child {
    text-align: right;
}

@media (max-width: 767px) {
    #events .greenButton p:last-child {
        text-align: left;
    }
}

@media (max-width: 767px) {
    #events .greenButton a {
        margin-top: 10px;
    }
}

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

#news {
    padding: 40px 0;
}

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

#news .tab {
    background-color: #14486e;
    overflow: hidden;
    padding: 30px;
    color: #ffffff;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    background-position: top 20px right 20px;
    background-repeat: no-repeat;
}

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

@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: 500;
    font-size: 1.125rem;
    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 .tab {
    background-image: url('../img/icon-aktuelles.png');
}

#news .tab a {
    color: #fff;
    text-decoration: underline;
}

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

#news .tab_link_entry {
    border-top-left-radius: 50px;
    background: #ffffff;
    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_entry::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: 50px;
}

#news .tab_link_entry::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: #d13e1a;
    color: #fff;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

#news .tab_link_title a {
    color: #14486e;
}

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

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

#news .buttonStyle a {
    color: #14486e;
    text-decoration: none;
}

.buttonStyle a {
    display: inline-block;
    position: relative;
    color: #14486e;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 40px 10px 20px;
    border-radius: 20px;
    background: #dfac2a;
    text-decoration: none;
    margin-bottom: 30px;
    -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;
    transition: background 300ms linear, color 300ms linear, border 300ms linear;
}

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

.buttonStyle a::after {
    content: '';
    display: block;
    border: solid #444444;
    border-width: 0 0 2px 2px;
    height: 8px;
    width: 8px;
    position: absolute;
    top: calc(50% - 4px);
    right: 15px;
    -moz-transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
    -webkit-transition: transform 0.3s 0s ease;
    -moz-transition: transform 0.3s 0s ease;
    -o-transition: transform 0.3s 0s ease;
    transition: transform 0.3s 0s ease;
}

.buttonStyle a:hover,
.buttonStyle a:focus {
    color: #444444;
    background: #a2cdf2;
}

/* ------------------------------------------------ Leistungen ----------------------------------------------- */

#leistung {
    padding: clamp(30px, 4vw, 60px) 0 clamp(5px, 6vw, 90px) 0;
    position: relative;
    overflow: hidden;
}

.specialHeadline h2 {
    color: #14486e;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 50px;
    font-size: clamp(2.1875rem, 4vw, 2.8125rem);
}

#leistung :is(.banner, .nivoSlider) {
    border-radius: clamp(30px, 7vw, 100px) 0 clamp(30px, 7vw, 100px) 0;
    overflow: hidden;
    max-height: 260px;
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    #leistung :is(.banner, .nivoSlider) {
        margin-right: 30px;
    }
    
    #leistung :is(.banner, .nivoSlider) {
        max-height: 560px;
        margin-bottom: 0px;
    }
}

#leistung :is(.banner img, .nivoSlider img) {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

#leistung .tabDescription {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0;
}

#leistung .tabBox:hover .tabDescription,
#leistung .tabBox:focus .tabDescription {
    color: #ffffff !important;
    transition: 1s all ease;
}

#leistung .tabBox a {
    font-size: 0px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    color: #444444;
}

#leistung .tabBox>.template-page,
#leistung .tabBox>.template-page>.row,
#leistung .tabBox>.template-page>.row>.col-xs-12,
#leistung .tabBox>.template-page>.row>.col-xs-12>p {
    position: static;
}

#leistung .tabBox {
    min-height: 100%;
    padding: 25px 20px 25px 20px;
    transition: all, 300ms;
    background-color: #a5d1f7;
    z-index: 12;
    position: relative;
    color: #444444;
    display: block;
    overflow: hidden;
    transition: 1s all ease;
    hyphens: auto;
    font-size: 0.875rem;
    font-weight: 400;
}

#leistung .tabDescription h2 a:hover,
#leistung .tabDescription h2 a:focus,
#leistung .tabBox:hover {
    color: #ffffff !important;
}

#leistung .tabBox::before {
    background: #d13e1a;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.6s ease;
    pointer-events: none;
}

#leistung .tabBox::before {
    width: 0%;
    height: 100%;
}

#leistung .tabBox:hover::before {
    width: 100%;
}

#leistung .iconBox>.row>div {
    margin-bottom: 30px;
}

@media (max-width: 991px) {

    #leistung .iconBox{
        padding: 0 25px;
    }

    #leistung .iconBox > .row > .col-xs-12{
        padding: 0 5px;
    }
    #leistung .iconBox>.row>div {
        margin-bottom: 10px;
    }
}
#leistung .tabBox img {
    margin-bottom: 10px;
}

#leistung {
    position: relative;
}

@media (min-width: 992px) {
    #leistung>.row::after {
        content: "";
        width: 20vw;
        max-width: 396px;
        height: 21vw;
        max-height: 415px;
        display: inline-block;
        pointer-events: none;
        position: absolute;
        right: -100px;
        bottom: 0;
        z-index: 0;
        background: transparent;
        border: 6px solid #d0d5d9;
        border-radius: clamp(30px, 7vw, 100px) 0 clamp(30px, 7vw, 100px) 0;
    }
}

/* ----------------------------------------------- booking ----------------------------------------------- */

#booking {
    height: 300px;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #2d2d2d;
    font-weight: 400;
    color: #ffffff;
    font-size: 1.25rem;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (min-width: 992px) {
    #booking {
        height: 353px;
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

#booking .tabHeadline, #booking h2 {
    font-weight: 500;
    color: #ffffff;
    font-size: 2.5rem;
    text-transform: none;
}

#booking .tabHeadline {
    margin-bottom: 30px;
}

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

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

#contact {
    background-color: #113c5c;
    color: #ffffff;
    padding-top: 15px;
    padding-bottom: 15px;
}

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

#contact .row>*:nth-child(1) .contactTab {
    background-color: #14486e;
    padding-left: 25px;
    padding-right: 25px;
}

@media (max-width: 991px) {
    #contact .row>*:nth-child(1) .contactTab {
        margin-bottom: 15px;
    }
}

#contact .row>*:nth-child(2) .contactTab {
    line-height: 2.2;
}

.contactTab {
    padding-top: 15px;
    padding-bottom: 15px;
    min-height: 100%;
}

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

.contactTab .tabHeadline {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.875rem;
    color: #ffffff;
    text-transform: uppercase;
}

.contactTab .logo {
    margin-bottom: 20px;
    margin-right: auto;
    display: inline-block;
    display: block;
    margin-left: 25px;
}

#footer {
    background-color: #14486e;
    padding-top: 15px;
    padding-bottom: 15px;
}

.contactTab img {
    margin-right: 15px;
}

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

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 20px;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #14486e;
    background-color: #dfac2a;
    border-radius: 20px;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

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

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

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

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

#vernetzt {
    text-align: left;
    font-size: 0.9375rem;
    color: #ffffff;
    line-height: 1.4;
    margin: 0 auto;
    font-weight: 300;
    text-decoration: none;
}

@media (max-width: 991px) {
    #vernetzt {
        margin: 20px auto;
    }
}

#vernetzt b {
    color: #dfac2a;
    font-weight: 400;
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-right: 14px;
}

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

#scrollTop {
    font-size: 0;
    width: 34px;
    height: 34px;
    display: block;
    position: relative;
    margin: 0 auto;
    border-radius: 50%;
    color: #010101;
    background-color: #dfac2a;
    -webkit-transition: border-radius 300ms linear;
    -moz-transition: border-radius 300ms linear;
    -ms-transition: border-radius 300ms linear;
    -o-transition: border-radius 300ms linear;
    transition: border-radius 300ms linear;
}

@media (min-width: 992px) {
    #scrollTop {
        float: right;
    }
}

#scrollTop:hover,
#scrollTop:focus {
    border-radius: 50%;
}

#scrollTop::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 13px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 7px 7px 7px;
    border-color: transparent transparent #010101 transparent;
}