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

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

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

a {
    color: #0c5c82;
}

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

b, strong {
    font-weight: 700;
}

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

.logo a {
    display: inline-block;
}

.logo img {
    display: block;
}

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

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

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

address {
    font-style: normal;
}

.zeiten, .phone, #button {
    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;
    }

    #button {
        margin-left: 40px;
    }
}

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

    #button {
        margin-left: 15px;
    }
}

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

    #button {
        margin-left: 35px;
    }
}

.zeiten a, .phone a {
    color: #2d2d2d;
    font-weight: 500;
    white-space: nowrap;
}

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

.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: #0c5c82;
}

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

#button {
    font-size: 1rem;
}

#button a {
    display: inline-block;
    color: #2d2d2d;
    background-color: #f1c40f;
    padding: 16px 12px;
    font-weight: 700;
    text-decoration: none;
}

@media (min-width: 768px) {
    #button a {
        padding: 18px 16px;
    }
}

@media (max-width: 991px) {
    #button {
        margin-top: 10px;
        display: block;
    }
}

#button a:hover,
#button a:focus {
    background: #0c5c82;
    color: #fff;
}

@media (max-width: 991px) {
    .zeiten, .phone {
        font-size: 0.875rem;
        padding: 12px 0 12px 20px;
        hyphens: auto;
    }

    .zeiten a, .phone a {
        white-space: normal;
    }
}
/* ------------------------------------------------ topbar ----------------------------------------------- */

#topbar {
    overflow: hidden;
}

#topbar::before {
    content: '';
    width: 100%;
    height: 10px;
    background: #ccdc65;
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
}

#topbar .optionsbar {
    background-color: #0c5c82;
    margin-left: auto;
}


@media (min-width: 992px) {
    #contrast_style {
        line-height: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.50);
        padding: 4px 22px;
    }

    #contrast_style button {
        padding: 0;
        border: none;
        background: transparent;
        display: inline-block;
        font-size: 20px;
    }

    #contrast_style button+button {
        margin-left: 4px;

    }

    #style {
        padding-left: 20px;
        padding: 4px 10px 4px 15px;
    }

    #style button {
        font-size: 20px;
        background: transparent;
        padding: 0 0 4px 0;
        border: none;
        color: #fff;
        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 {
        margin-left: 4px;
        border-left: 1px solid #fff;
        padding-left: 10px;
    }

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

#search {
    position: relative;
}

#search>a {
    display: block;
    width: 80px;
    background-color: #004261;
    height: 2.3rem;
    padding: 5px 10px 3px 22px;
    font-size: 20px;
    min-height: 40px;
}

#search img {
    position: relative;
    transition: all, 300ms;
    left: 0px;
}

#search::after {
    content: '';
    width: 400px;
    position: absolute;
    right: -400px;
    top: 0px;
    pointer-events: none;
    background-color: #004261;
    display: inline-block;
    height: 100%;
}

#search:hover img,
#search:focus img {
    left: 4px;
}

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

#menu {
    background-color: #0c5c82;
}

/* 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: #0c5c82;
        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: #0c5c82;
        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: #fff;
    font-weight: bold;
    text-align: center;
    padding: 10px 35px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@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: #0d577a;
    -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 {
    background-color: #ccdc65;
    color: #2d2d2d;
}

.navbar-nav>li:focus-within>a {
    background-color: #ccdc65;
    color: #2d2d2d;
}

.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: #2d2d2d;
    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: #0c5c82;
}

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

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

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

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

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

    body.index #headerpic .theme-default .nivo-controlNav {
        bottom: 60px;
    }
}

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

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

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

.slider-mask {
    display: none;
}

/* ----------------------------------------------- partner  -------------------------------------------- */

.tabLeft {
    background: #fff;
    border: 2px solid #0c5c82;
    border-radius: 2px;
    padding: 15px;
}

.tabLeft+.tabLeft {
    margin-top: 15px;
}

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

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

#news .tabHeadline {
    color: #ffffff;
    margin: 0 0 20px 0;
    font-weight: 700;
}

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

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

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

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

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

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

#news {
    padding-top: 30px;
}

#news .tab {
    background-image: url('../img/icon_feed.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 {
    background: #ffffff;
    border-radius: 3px;
    padding: 160px 30px 30px 30px;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

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

}

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

}

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

#news .tab_preview_picture {
    background: #ffffff;
}

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

#news .tab_link_title a::before {
    content: "";
    background: #666666 url("../img/news-standard.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: 600;
    position: absolute;
    left: -1px;
    top: 105px;
    z-index: 1;
    display: inline-block;
    padding: 6px 20px;
    background: #ccdc65;
    color: #2d2d2d;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

#news .tab_link_title a {
    color: #0c5c82;
}

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

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

#news .buttonStyle a {
    -moz-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -ms-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -o-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    -webkit-transition: background 300ms linear, color 300ms linear, border 300ms linear;
    background: rgba(0, 66, 97, 0.5);
    border-radius: 3px;
    border: 1px solid #ffffff;
    color: #ffffff;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 300ms linear, color 300ms linear, border 300ms linear;
}

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

#news .buttonStyle a::after {
    bottom: 1px;
    content: "\00BB";
    margin-left: 4px;
    position: relative;
}

#news .buttonStyle a:hover,
#news .buttonStyle a:focus {
    background: #0c5c82;
    color: #fff;
}

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

#tabs {
    background-color: #f9f9f9;
    padding-top: 30px;
    padding-bottom: 30px;
}

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

    #tabs>.row {
        position: relative;
        z-index: 55;
        margin-top: -50px;
    }
}

@media (min-width: 1200px) {
    #tabs>.row {
        margin-top: -100px;
    }
}

#tabs>.row>div+div {
    margin-top: 15px;
}

@media (min-width: 768px) {
    #tabs>.row>div+div {
        margin-top: 0;
    }

    .tab.link {
        margin-top: 60px;
    }
}

#tabs .tab {
    position: relative;
    color: #fff;
    height: 100%;
    min-height: 100%;
}

#tabs .tab::before {
    content: '';
    display: block;
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid #ccdc65;
    z-index: 3;
    pointer-events: none;
}

#tabs .tab:not(.link) {
    min-height: 150px;
    background-color: #004261;
}

@media (max-width: 991px) {
    #tabs .tab {
        max-height: 200px;
        overflow: hidden;
    }
}

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

#tabs .tab img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
}

#tabs .tab .cleaner {
    display: none;
}

#tabs .tab .tabHeadline {
    position: absolute;
    display: block;
    right: 0;
    bottom: 0;
    left: 0;
    color: #fff;
    font-weight: bold;
    z-index: 1;
    padding: 30px;
    pointer-events: none;
    line-height: 1.2;
    font-size: clamp(1rem, 3vw, 1.75rem);
    margin: 0;
    background: rgba(0, 66, 97, 0.5);
    pointer-events: all;
    -webkit-transition: all 0.4s 0s ease-in;
    -moz-transition: all 0.4s 0s ease-in;
    -o-transition: all 0.4s 0s ease-in;
    transition: all 0.4s 0s ease-in;
    height: 100%;
    pointer-events: none;
    hyphens: auto;
}

#tabs .tab:hover .tabHeadline {
    background: rgba(0, 66, 97, 0.8);
}

@media (min-width: 992px) {
    #tabs .tab .tabHeadline {
        padding-bottom: 42px;
        padding-top: 42px;
    }
}

#tabs .tab:focus .tabHeadline,
#tabs .tab:hover .tabHeadline {
    padding-bottom: 100px;
}

#tabs .tab.link {
    color: inherit;
}

#tabs .tab.link a {
    font-weight: bold;
    color: #0c5c82;
}

#tabs .tab.link a::after {
    content: "\0203A";
    margin-left: 4px;
    display: inline-block;
}

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

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

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

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

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

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

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

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

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

#booking {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #2d2d2d;
    font-weight: normal;
    color: #ffffff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

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

#booking .tab {
    background: #fff;
    padding: 30px;
    color: #2d2d2d;
    font-size: 1.125rem;
    margin-bottom: 10px;
}

@media (min-width: 575px) {
    #booking .tab {
        height: 100%;
    }
}

#booking .tabHeadline {
    font-weight: bold;
    color: #004261;
    font-size: clamp(1rem, 3vw, 2rem) !important;
  text-transform: none;
  hyphens: auto;
}

#booking .tab a {
    background: #004261;
    color: #fff;
    padding: 4px 15px;
    display: inline-block;
}


#booking .tabGreen {
    background-color: #ccdc65;
}

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

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

#contact {
    background-color: #0c5c82;
    color: #ffffff;
    border-top: 10px solid #ccdc65;
    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: rgba(250, 250, 250, 0.1);
    padding-left: 25px;
    padding-right: 25px;
}

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

.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: bold;
    font-size: 1.875rem;
    color: #ccdc65;
}

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

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

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

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

#innerfooter a:hover,
#innerfooter a:focus {
    color: #ccdc65;
    background-color: #0d4b69;
}

#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: #ccdc65;
    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;
    color: #1a1a1a;
    background-color: #ccdc65;
    -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 #004261 transparent;
}