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

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

a {
    color: #1b335c;
    text-decoration: underline;
    font-weight: 700;
}

a:hover, a:focus {
    color: #1b335c;
    text-decoration: underline;
    font-weight: 700;
}

b, strong {
    font-weight: 700;
}

#bannerOverlay .template-page .row {
    margin-left: 0;
    margin-right: 0;
}

a:focus {
    outline: 3px solid #b10000 !important;
}

button:focus {
    outline: 3px solid #b10000 !important;
}

form:focus {
    outline: 3px solid #b10000 !important;
}

#newsletter_input:focus,
#newsletter_submit:focus,
#search_input:focus,
#search_submit:focus {
    outline: 3px solid #b10000 !important;
}

footer a:focus,
#tabs a:focus {
    outline: 3px solid #f44c4c !important;
}

#tab a:focus {
    outline: 3px solid #ffffff !important;
}
/* ----------------------------------------------- logo ----------------------------------------------- */

#logo {
    display: inline-block;
    margin: 25px 0 20px 0px;
}

@media (min-width: 1200px) {
    #logo {
        min-width: calc(100% + 30px);
        margin: 28px 0 9px -9px;
    }

    .is-sticky #logo {
        margin: 0;
    }
}

#logo img {
    display: block;
    transition: all 300ms;
}

#logo-klein {
    opacity: 0;
    -webkit-transition: opacity 8s ease;
    -moz-transition: opacity 8s ease;
    -ms-transition: opacity 8s ease;
    -o-transition: opacity 8s ease;
    transition: opacity 8s ease;
}

.is-sticky #logo img {
    max-width: 210px;
    transition: all 300ms;
}

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

/* ----------------------------------------------- adresszeile ----------------------------------------------- */

.adresszeile {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.875rem;
}

.is-sticky .adresszeile {
    display: none;
}

#bannerOverlay {
    position: absolute;
    width: 100%;
    top: -2px;
    z-index: 55;
    left: -50px;
}

@media (max-width: 1199px) {
    #bannerOverlay {
        left: 0px;
    }
}

@media (max-width: 991px) {
    #bannerOverlay {
        position: relative;
        width: 100%;
        top: 0px;
        z-index: 55;
        left: 0px;
        background: rgba(0, 48, 93, 1);
    }
}

.tabButton2 {
    background: #eab818;
    padding: 8px 15px;
    color: #00305d;
    border-radius: 0 0 10px 10px;
    font-size: 14px;
    text-align: center;
    border: 2px solid #00305d;
    font-weight: 600;
}

.tabButton2 a {
    color: #00305d;
}

.tabButton {
    background: rgba(0, 48, 93, 0.7);
    padding: 8px 15px;
    color: #fff;
    text-align: left;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    display: flex;
    align-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 700;
    overflow: hidden;
    pointer-events: all;
    text-align: center;
    position: relative;
}

.tabButton {
    animation: move 3s;
    -webkit-animation: move 3s;
}

@keyframes move {
    from {
        left: -200%;
    }

    to {
        left: 0;
    }
}

@-webkit-keyframes move {
    from {
        left: -200%;
    }

    to {
        left: 0;
    }
}

#bannerOverlay .template-page {
    height: unset !important;
    display: flex !important;
    align-content: center !important;
    align-items: center !important;
}

.tabButton .row .row {
    margin-left: 0px;
    margin-right: 0px;
}

body:not(.index) .tabButton {
    width: 18vw;
    height: 18vw;
}

.nivo-directionNav a {
    top: auto !important;
    bottom: 20px;
}

#bannerOverlay .template-page,
#bannerOverlay .template-page>.row {
    height: 100%;
}

#bannerOverlay .tabButton a {
    height: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    color: #00305d;
    justify-content: center;
    line-height: 1.1;
}

@media (max-width: 1199px) {
    #bannerOverlay .tabButton a {
        text-align: center;
    }
}

#bannerOverlay .tabButton a:hover,
#bannerOverlay .tabButton a:focus {
    text-decoration: none !important;
}

@media (max-width: 575px) {

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

/* ----------------------------------------------- quelleBox ----------------------------------------------- */

.contactHover {
    display: block;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto, 0 0;
}

@media (min-width: 992px) {
    #headerpic {
        overflow: hidden;
    }

    #quelleBox {
        position: absolute;
        pointer-events: none;
        bottom: 25px;
        left: 0;
        right: 0;
        z-index: 56;
    }
}

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

@media (min-width: 768px) {
    .contactIcons {
        pointer-events: all;
        text-align: right;
        z-index: 12;
        position: relative;
    }

    .contactHover, .contactIcons {
        line-height: 0;
    }

    .contactHover {
        display: inline-block;
        padding: 4px;
        height: 40px;
        width: 40px;
        -webkit-transition: background-size 300ms linear;
        -moz-transition: background-size 300ms linear;
        -ms-transition: background-size 300ms linear;
        -o-transition: background-size 300ms linear;
        transition: background-size 300ms linear;
        right: -30px;
    }

    .contactHover+.contactHover {
        margin-left: 2px;
    }
}

.contactHover.phone {
    background-image: url('../img/icon-qualitaetspunkte.png');
}

.contactOpen {
    z-index: 50;
    background: #eab818;
    color: #00305d;
    padding: 25px 30px;
    margin-top: 0;
    line-height: 1.3;
    font-size: 1.25rem;
    border-radius: 63px;
    font-weight: 700;
    text-align: left;
}

.contactOpen a {
    color: #00305d;
}

@media (max-width: 767px) {
    .contactOpen {
        padding: 25px 20px;
    }
}

@media (min-width: 768px) {
    .contactOpen {
        top: -57px;
        right: 60px;
        width: 100%;
        position: absolute;
        min-width: 350px;
    }
}

@media (min-width: 992px) {
    .contactOpen {
        font-size: 1.25rem;
        border-radius: 63px;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        top: -75px;
        right: 60px;
        width: 376px;
        -webkit-transition: opacity 300ms linear, margin-top 300ms linear;
        -moz-transition: opacity 300ms linear, margin-top 300ms linear;
        -ms-transition: opacity 300ms linear, margin-top 300ms linear;
        -o-transition: opacity 300ms linear, margin-top 300ms linear;
        transition: opacity 300ms linear, margin-top 300ms linear;
    }

    .contactOpen::after {
        content: "";
        position: absolute;
        bottom: 19px;
        right: -20px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 20px 35px 20px;
        border-color: transparent transparent #eab818 transparent;
        transform: rotate(95deg);
        -webkit-transform: rotate(95deg);
        -moz-transform: rotate(95deg);
    }

    .contactOpen::before {
        content: "";
        position: absolute;
        right: -20px;
        width: 30px;
        display: block;
        height: 100%;
        top: 0;
        bottom: 0;
    }

    .contactHover:hover .contactOpen,
    .contactHover:focus .contactOpen {
        opacity: 1;
        pointer-events: auto;
    }

    #quelleBox .tab::before {
        content: '';
        position: absolute;
        pointer-events: none;
        left: -60px;
        right: -20vw;
        bottom: 0;
        top: 0;
        border-radius: 63px 0 0 63px;
        background-color: rgba(255, 255, 255, 0.90);
    }

}

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

#quelleBox .tab a {
    color: #00305d;
}

#quelleBox .tab {
    font-size: 1rem;
    color: #00305d;
    position: relative;
    pointer-events: all;
    line-height: 1.2;
    padding: 20px 20px 20px 15px;
}

@media (max-width: 991px) {
    #quelleBox .tab {
        padding: 10px 10px 10px 15px;
    }
}

#quelleBox .tab b,
#quelleBox .tab strong {
    font-size: 1.25rem;
    font-weight: 700;
}

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

@media (min-width: 992px) {
    #style {
        font-family: "Calibri", sans-serif;
        display: inline-block;
        font-size: 16px;
        color: #002e5e;
        position: relative;
        top: 4px;
        font-weight: 700;
    }

    #style button {
        border: none;
        color: #002e5e;
        display: inline-block;
        width: 20px;
        height: 20px;
        font-weight: 700;
        text-align: center;
        background-color: rgba(0, 0, 0, 0);
        position: relative;
        line-height: 1;
        -webkit-transition: transform 150ms linear;
        -moz-transition: transform 150ms linear;
        -ms-transition: transform 150ms linear;
        -o-transition: transform 150ms linear;
        transition: transform 150ms linear;
        padding: 0;
    }

    #style button+button {
        margin-left: 0;
    }

    #style button+button::before {
        content: '';
        display: block;
        position: absolute;
        top: 4px;
        bottom: 0;
        left: -3px;
        height: 70%;
        width: 2px;
        background: #002e5e;
    }
}

/* ------------------------------------------- suche ------------------------------------------- */

#search {
    height: 42px;
    background: #fff;
    display: inline-block;
    position: relative;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    margin-left: 22px;
}


@media (max-width: 991px) {
    #search {
        box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
        margin-left: 0;
    }
}

#search_input {
    color: rgba(43, 43, 43, 0.40);
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 42px;
    padding-left: 18px;
    padding-right: 43px;
    height: 42px;
    width: 100%;
}

@media (min-width: 992px) {
    #search_input {
        min-width: 275px;
    }
}


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

#search_input::-ms-input-placeholder {
    color: rgba(43, 43, 43, 0.40) !important;
}

#search_input::-webkit-input-placeholder {
    color: rgba(43, 43, 43, 0.40) !important;
}

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

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

#search_input:focus::placeholder {
    opacity: 0 !important;
}

#search_input:focus {
    color: #363636;
}

#search label {
    font-size: 0;
    position: absolute;
}

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

nav {
    background-color: #ffffff;
    border-bottom: 5px solid #00305d;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: none !important;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #ffffff !important;

        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
        background-color: #eab818;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

    #burgerButton[aria-expanded="true"] #burgerButtonInner2 {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

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

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

    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 120;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse[aria-expanded="true"], .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 111;
    }

    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        -webkit-transition: width 300ms linear, opacity 300ms linear;
        -moz-transition: width 300ms linear, opacity 300ms linear;
        -ms-transition: width 300ms linear, opacity 300ms linear;
        -o-transition: width 300ms linear, opacity 300ms linear;
        transition: width 300ms linear, opacity 300ms linear;
    }

    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in:after, .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {

    #menu,
    #menu-sticky-wrapper {
        position: relative;
        left: 0;
        top: 0;
        right: 0;
        z-index: 100;
        -webkit-transition: background 300ms linear;
        -moz-transition: background 300ms linear;
        -ms-transition: background 300ms linear;
        -o-transition: background 300ms linear;
        transition: background 300ms linear;
    }

    .is-sticky #menu {
        background: #fff;
    }

    nav.horizontally .navbar-nav {
        position: relative;
        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: #00305d;
    font-weight: 700;
    text-align: left;
    padding: 10px 15px;
    position: relative;
    font-size: 1.5rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally .navbar-nav>li>a.dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {

    .is-sticky .navbar-default .navbar-nav>li>a {
        padding: 20px;
    }

    .navbar-default .navbar-nav>li>a {
        padding: 25px 10px 21px 10px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

    .navbar-default .navbar-nav>li>a::after {
        bottom: -5px;
    }
}

@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: #eab818;
    background-color: #00305d;
}

.navbar-nav>li:focus-within>a {
    color: #eab818;
    background-color: #00305d;
}


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

.navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #00305d;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu a {
        color: #00305d;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        background-color: #eab818;
    }

    .dropdown-toggle-button-wrapper, .dropdown-toggle-button-wrapper2 {
        top: 5px !important;
    }
}

@media (min-width: 992px) {

    /* Pseudo */

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

    /* 3rd */

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


    nav.horizontally .dropdown-menu {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        left: 50%;
        margin-top: 26px;
        transform: translate(-50%);
        margin-top: 26px;
    }

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


    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        top: -14px;
        border-width: 0 15px 15px 15px;
        border-color: transparent transparent #00305d transparent;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #fff;
    text-align: center;
    line-height: 1.2;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.125rem;
    padding: 10px 20px
}


@media(max-width:991px) {
    nav.horizontally .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2 {
        padding-right: 35px;
    }

    .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: 10px 15px;
    }
}

/* ------------------------------------------ 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: #eab818;
    background-color: #00305d;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    color: #eab818;
    background-color: #00305d;
}


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

#slider {
    overflow: hidden;
    max-height: 300px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

#headerpic {
    position: relative;
}

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

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

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

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

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

.slider-mask {
    display: none;
}

.nivoSlider a.nivo-imageLink {
    pointer-events: none;
}

/* --------------------------------------------- buttonStyle -------------------------------------------- */

.buttonStyle a:not([href*="mailto"]), #tabs .tab_link_mehr a {
    color: #00305d;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 4px;
    padding: 8px 30px;
    display: inline-block;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
}

#tab .buttonStyle a:not([href*="mailto"]),
#tabs .buttonStyle a:not([href*="mailto"]), #tabs .tab_link_mehr a, #teaser .buttonStyle a:not([href*="mailto"]) {
    background: #eab818;
    color: #00305d;
}

#tab .buttonStyle a:not([href*="mailto"]),
#tabs .buttonStyle a:not([href*="mailto"]):hover, #tabs .buttonStyle a:not([href*="mailto"]):focus, #tabs .tab_link_mehr a:hover, #tabs .tab_link_mehr a:focus, #teaser .buttonStyle a:not([href*="mailto"]):hover, #teaser .buttonStyle a:not([href*="mailto"]):focus {
    background: #eab818;
    color: #00305d;
}

#tab .buttonStyle a:not([href*="mailto"]):hover, #tab .buttonStyle a:not([href*="mailto"]):focus,
.buttonStyle a:not([href*="mailto"]):hover, .buttonStyle a:not([href*="mailto"]):focus {
    text-decoration: none;
}

/* --------------------------------------------- teaser -------------------------------------------- */

#teaser {
    background: #00305d;
    color: #ffffff;
}

#teaser .tabHeadline {
    color: #ffffff;
    font-size: 1.625rem;
    font-weight: 600;
    margin-bottom: 15px;
}

#teaser>.row>div:nth-child(2) {
    background: #00376b;
}

#teaser>.row>div:nth-child(3) {
    background: #eab818;
    color: #00305d;
}

#teaser>.row>div:nth-child(3) .tabHeadline {
    color: #00305d;
}

#teaser>.row>div:nth-child(1), #teaser>.row>div:nth-child(2), #teaser>.row>div:nth-child(3) {
    padding: 25px 15px;
}

@media (min-width: 768px) {
    #teaser>.row {
        max-width: 1920px;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    #teaser>.row>div:nth-child(1) {
        background: url(../img/herz.png) top 50px left 50px no-repeat;
    }

    #teaser>.row>div:nth-child(2) {
        background: url(../img/pillen.png) top 50px left 50px no-repeat #00376b;
    }

    #teaser>.row>div:nth-child(3) {
        background: #eab818;
    }

    #teaser>.row>div:nth-child(1), #teaser>.row>div:nth-child(2) {
        padding: 50px 30px 40px 150px;
    }

    #teaser>.row>div:nth-child(3) {
        padding: 50px 65px 40px 60px;
    }
}

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

main {
    text-align: left;
    min-height: 200px;
    padding-bottom: 30px;
}

#content {
    padding-top: 40px;
}

.index main {
    padding-top: 0px;
}

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

.iframetab iframe,
.iframetab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
    height: 210px !important;
}

@media (min-width: 1200px) {

    .iframetab iframe,
    .iframetab .iframe-wrapper-manual-enabling {
        width: calc(100% + 50px) !important;
        margin-left: -25px;
    }
}

#tabs>.row:first-child {
    color: #ffffff;
    margin-top: 35px;
    margin-bottom: 35px;
    font-size: 1rem;
}

#tabs .tab_link_entries {
    margin-top: 30px;
}

#tabs>.row>div:nth-child(3) {
    padding: 20px 15px;
    background: #00305d;
}

#tabs>.row>div:nth-child(2) {
    background: #00376b;
    padding: 20px 15px;
}

#tabs>.row>div:nth-child(1) {
    background: #00305d;
    padding: 20px 15px;
    color: #fff !important;
}

#tabs>.row>div:nth-child(1) h1,
#tabs>.row>div:nth-child(1) h2,
#tabs>.row>div:nth-child(1) h3,
#tabs>.row>div:nth-child(1) h4,
#tabs>.row>div:nth-child(1) h5,
#tabs>.row>div:nth-child(1) h6 {
    color: #fff;
}

#tabs>.row>.buttonStyle:nth-child(1) a:not([href*="mailto"]) {
    background-color: #eab818;
    color: #00305d;
}

#tabs>.row>.buttonStyle:nth-child(2) p:last-child a {
    background-color: #eab818;
    color: #00305d;
    padding: 8px 30px;
}

#tabs>.row>.buttonStyle:nth-child(2) a {
    background-color: rgba(0, 0, 0, 0);
    color: #00305d;
    padding: 0;
}

#tabs a[href*="mailto"] {
    text-decoration: underline;
    color: #fff;
}

#tabs h2 {
    color: #ffffff;
    font-size: 1.625rem;
    font-family: "Calibri", sans-serif;
    font-weight: 700;
}

#tabs h2 i, #tabs h2 em {
    color: #ffffff;
    font-style: normal;
    text-transform: uppercase;
    font-size: 1rem;
    display: block;
}

#tabs .tab_link_title {
    font-weight: 600;
}

#tabs .tab_link_entry+.tab_link_entry {
    margin-top: 25px;
}


#tabs .tab_link_mehr {
    text-align: left !important;
    font-size: 0;
    margin-top: 20px;
}

#tabs .tab_link_mehr a {
    font-size: 0.875rem;
}

#tabs a {
    color: #fff;
}

#tabs .tab_link_mehr a::after {
    content: 'erfahren';
}

@media (min-width: 992px) {
    #tabs>.row:first-child {
        margin-top: 75px;
        margin-bottom: 75px;
    }

    #tabs>.row>div:nth-child(2), #tabs>.row>div:nth-child(1), #tabs>.row>div:nth-child(3) {
        padding: 60px 45px;
    }
}

/* --------------------------------------------- tab, tab1 -------------------------------------------- */

#tab, #tab1 {
    position: relative;
    padding-top: 30px;
    padding-bottom: 0;
    color: #233261;
    font-size: 1.125rem;
    overflow: hidden;
    box-shadow: 0px -2px 3px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1200px) {
    #tab, #tab1 {
        padding-top: 60px;
    }
}

#tab ul {
    margin: 0;
    list-style: none;

}

#tab1 .row-1 {
    align-items: center;
}

@media (max-width: 576px) {
    #tab1 img {
        max-width: 160px;
    }
}

#tab ul>li {
    position: relative;
    padding-left: 26px;
    min-height: 11px;
    -webkit-transition: color 300ms linear;
    -moz-transition: color 300ms linear;
    -ms-transition: color 300ms linear;
    -o-transition: color 300ms linear;
    transition: color 300ms linear;
}

#tab ul>li+li {
    margin-top: 8px;
}


@media (min-width: 992px) {
    #tab {
        padding-top: 80px;
        padding-bottom: 0px;
        font-size: 1.375rem;
    }
}


#tab h1, #tab .h1, #tab .legacy_h1,
#tab h2, #tab .h2, #tab .legacy_h2,
#tab h3, #tab .h3, #tab .legacy_h3,
#tab h4, #tab .h4, #tab .legacy_h4,
#tab h5, #tab .h5, #tab .legacy_h5,
#tab h6, #tab .h6, #tab .legacy_h6 {
    color: #fff;
}

#tab .tab {
    background: #00305d;
    text-align: center;
    padding: 30px;
    color: #fff;
    margin-bottom: 80px;
    display: block;
    font-size: 0.875rem;
    position: relative;
    z-index: 2;
    padding-top: 60px;
    transition: all, 250ms;
    box-shadow: 4px 4px 3px rgba(234, 184, 24, 0.20);
    font-size: 1.5rem;
    font-weight: 400;
}

@media (min-width: 768px) {
    #tab>.row>div+div+div .tab {
        margin-bottom: 50px;
    }
}

#tab>.row .tab::before {
    content: '';
    background-color: #eab818;
    height: 94px;
    width: 94px;
    top: -45px;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    overflow: hidden;
    transition: all, 250ms;
}

#tab>.row>div:nth-child(1) .tab::before {
    background-image: url(../img/1n.png);
}

#tab>.row>div:nth-child(2) .tab::before {
    background-image: url(../img/2n.png);
}

#tab>.row>div:nth-child(3) .tab::before {
    background-image: url(../img/3n.png);
}

#tab>.row>div:nth-child(4) .tab::before {
    background-image: url(../img/4n.png);
}

#tab>.row>div:nth-child(5) .tab::before {
    background-image: url(../img/5n.png);
}

#tab>.row>div:nth-child(6) .tab::before {
    background-image: url(../img/6n.png);
}


#tab .tab:focus::before,
#tab .tab:hover::before {
    background-color: #00305d;
}


#tab>.row>div:nth-child(1) .tab:focus::before,
#tab>.row>div:nth-child(1) .tab:hover::before {
    background-image: url(../img/1.png);
}

#tab>.row>div:nth-child(2) .tab:focus::before,
#tab>.row>div:nth-child(2) .tab:hover::before {
    background-image: url(../img/2.png);
}

#tab>.row>div:nth-child(3) .tab:focus::before,
#tab>.row>div:nth-child(3) .tab:hover::before {
    background-image: url(../img/3.png);
}

#tab>.row>div:nth-child(4) .tab:focus::before,
#tab>.row>div:nth-child(4) .tab:hover::before {
    background-image: url(../img/4.png);
}

#tab>.row>div:nth-child(5) .tab:focus::before,
#tab>.row>div:nth-child(5) .tab:hover::before {
    background-image: url(../img/5.png);
}

#tab>.row>div:nth-child(6) .tab:focus::before,
#tab>.row>div:nth-child(6) .tab:hover::before {
    background-image: url(../img/6.png);
}


#tab .tab:focus,
#tab .tab:hover {
    box-shadow: 0px 1px 2px transparent;
    background-color: #eab818;
}


#tab .tab:hover *,
#tab .tab:hover p,
#tab .tab:focus p {
    color: #00305d;
}

#tab .tab:focus a,
#tab .tab:hover a {
    background-color: #00305d;
    color: #fff;
}


#tab .tab a {
    text-align: center;
    color: #fff;
    margin-top: 20px;
    transition: all, 250ms;
}

#tab .tab img {
    position: relative;
    margin-top: -70px;
    z-index: 44;
}

@media (max-width: 767px) {
    #tab .tab {
        margin-bottom: 60px !important;
    }
}


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

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

h1 em, .h1 em, h1 i, .h1 i, h2 em, .h2 em, h2 i, .h2 i {
    color: #1b335c;
    text-transform: none;
    font-size: 75%;
    font-style: normal;
    display: block;
}

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

@media (min-width: 992px) {
    h1, .h1, .legacy_h1 {
        font-size: 2.125rem
    }
}

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

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

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

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

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

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

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

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

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

footer {
    background: #00305d;
    color: #fff;
}

#footer {
    padding-top: 18px;
    padding-bottom: 18px;
}

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

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    border-radius: 2px;
    padding: 2px 4px;
}

#innerfooter a:hover {
    text-decoration: underline;
    color: #eab818;
}

#innerfooter li+li::before {
    margin: 0 7px;
    content: '•';
}



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

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #fff;
    line-height: 1.4;
    margin: 0 auto;
    text-decoration: none;
}

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

#vernetzt span {
    color: #fff;
}

#vernetzt span span {
    display: block;
}

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


#breaker {
    padding: 30px 0;
}