@import url("https://fonts.verwaltungsportal.de/import/?family=Raleway:300,i300,500,500i,600,i600,700,i700");
@import url("https://fonts.verwaltungsportal.de/import/?family=Cinzel:300,i300,600,i600,700,i700");


body {
    font-family: "Raleway", sans-serif;
    color: #676767;
    background: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
}

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

a {
    color: #006f94;
}

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


b, strong {
    font-weight: 600;
}

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

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

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

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

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

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

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

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

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

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

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

/* ------------------------------------------------- topbar & logo ------------------------------------------------ */

#topbar {
    padding-bottom: 10px;
    padding-top: 30px;
    background: #fff;
}

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

/* ----------------------------------------- styler - mail - phone --------------------------------------- */

@media (min-width: 992px) {
    #style button {
        font-size: 1.125rem;
        background: transparent;
        padding: 0;
        border: none;
        display: inline-block;
        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;
        color: #f6c12c;
    }

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

#c2a {
    margin: 0 0 8px 0;
    color: #767676;
    font-size: 1rem;
    font-weight: 300;
}

#style {
    background-color: #0f203e;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    margin-top: 15px;
    line-height: 100%;
}

#style a {
    color: #f6c12c;
}

#mail {
    background-color: #333652;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    margin-top: 15px;
    line-height: 100%;
    color: #f6c12c;
}

#mail a {
    color: #f6c12c;
}

#phone {
    background-color: #333652;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    margin-top: 15px;
    line-height: 100%;
    color: #f6c12c;
}

#phone a {
    color: #f6c12c;
}

#style a, #phone a, #mail a {
    font-size: 1rem;
}

#style a:hover, #phone a:hover, #mail a:hover {
    text-decoration: none;
}

.kontakt-flex {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-wrap: wrap;
}

@media (min-width: 992px) {

    #style,
    #mail,
    #phone {
        margin-top: 0;
        margin-left: 15px;
    }
}

@media (min-width: 1200px) {

    #style,
    #mail,
    #phone {
        margin-left: 30px;
    }
}

#mail,
#phone {
    position: relative;
    padding-left: 40px;
}

#mail::before,
#phone::before {
    content: "";
    position: absolute;
    display: block;
    width: 30px;
    left: 0;
    top: 0;
    bottom: 0;
}

#mail::before {
    background: url('../img/icon-mail.png') center right no-repeat;
}

#phone::before {
    background: url('../img/icon-telefon.png') center right no-repeat;
}

#style a+a {
    margin-left: 10px;
}

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

/* burgermenu for tablet */

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

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

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

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

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

    #burgerButtonInner {
        top: 10px;
    }

    #burgerButton:before {
        top: 18px;
    }

    #burgerButton:after {
        top: 26px;
    }

    #burgerButton:before, #burgerButton:after {
        content: "";
        display: block;
    }

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

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

    .navbar-collapse.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    .navbar-collapse.in:after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 90px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

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

    .navbar-collapse.collapse.in:after {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    .horizontally {
        -webkit-transition: all 200ms linear;
        -moz-transition: all 200ms linear;
        -ms-transition: all 200ms linear;
        -o-transition: all 200ms linear;
        transition: all 200ms linear;
    }

    .is-sticky .horizontally {
        background-color: #ffffff;
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    }

    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }

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

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

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

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

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

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

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

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

    /* Pseudo */

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

    /* 3rd */

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

    /* Fade in Hover End */
}


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

@media (min-width: 992px) {
    .horizontally {
        border-top: 3px solid #f3f3f3;
    }

    .horizontally .navbar-nav>li:nth-child(1), .horizontally .navbar-nav>li:nth-child(4) {
        box-shadow: 0 -3px 0 #beefff;
    }

    .horizontally .navbar-nav>li:nth-child(2), .horizontally .navbar-nav>li:nth-child(5) {
        box-shadow: 0 -3px 0 #fad02c;
    }

    .horizontally .navbar-nav>li:nth-child(3) {
        box-shadow: 0 -3px 0 #333652;
    }
}

.navbar-default .navbar-nav>li:nth-child(1)>a, .navbar-default .navbar-nav>li:nth-child(4)>a {
    color: #006f94;
}

.navbar-default .navbar-nav>li:nth-child(2)>a, .navbar-default .navbar-nav>li:nth-child(5)>a {
    color: #6d5803;
}

.navbar-default .navbar-nav>li:nth-child(3)>a {
    color: #333652;
}

.navbar-default .navbar-nav>li>a {
    font-family: "Cinzel", sans-serif;
    font-weight: 300;
    text-align: center;
    padding: 10px 35px 15px 35px;
    text-transform: uppercase;
    position: relative;
    font-size: 1.5rem;
    line-height: 1.2;
    text-decoration: none;
}

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 0px;
    }

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

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}

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

.navbar-nav>li:nth-child(1)>a:hover, .navbar-nav>li:nth-child(1)>a:focus,
.navbar-nav>li:nth-child(1).open>a, .navbar-nav>li:nth-child(1).open>a:hover,
.navbar-nav>li:nth-child(1).open>a:focus,
.navbar-nav>li:nth-child(1)[class$="_over"]>a,
.navbar-nav>li:nth-child(1)[class$="_over"]>a:hover,
.navbar-nav>li:nth-child(1)[class$="_over"]>a:focus,
.navbar-nav>li:nth-child(4)>a:hover, .navbar-nav>li:nth-child(4)>a:focus,
.navbar-nav>li:nth-child(4).open>a, .navbar-nav>li:nth-child(4).open>a:hover,
.navbar-nav>li:nth-child(4).open>a:focus,
.navbar-nav>li:nth-child(4)[class$="_over"]>a,
.navbar-nav>li:nth-child(4)[class$="_over"]>a:hover,
.navbar-nav>li:nth-child(4)[class$="_over"]>a:focus {
    background-color: #beefff;
}

.navbar-nav>li:nth-child(2)>a:hover, .navbar-nav>li:nth-child(2)>a:focus,
.navbar-nav>li:nth-child(2).open>a, .navbar-nav>li:nth-child(2).open>a:hover,
.navbar-nav>li:nth-child(2).open>a:focus,
.navbar-nav>li:nth-child(2)[class$="_over"]>a,
.navbar-nav>li:nth-child(2)[class$="_over"]>a:hover,
.navbar-nav>li:nth-child(2)[class$="_over"]>a:focus,
.navbar-nav>li:nth-child(5)>a:hover, .navbar-nav>li:nth-child(5)>a:focus,
.navbar-nav>li:nth-child(5).open>a, .navbar-nav>li:nth-child(5).open>a:hover,
.navbar-nav>li:nth-child(5).open>a:focus,
.navbar-nav>li:nth-child(5)[class$="_over"]>a,
.navbar-nav>li:nth-child(5)[class$="_over"]>a:hover,
.navbar-nav>li:nth-child(5)[class$="_over"]>a:focus {
    background-color: #fad02c;
}

.navbar-nav>li:nth-child(3)>a:hover, .navbar-nav>li:nth-child(3)>a:focus,
.navbar-nav>li:nth-child(3).open>a, .navbar-nav>li:nth-child(3).open>a:hover,
.navbar-nav>li:nth-child(3).open>a:focus,
.navbar-nav>li:nth-child(3)[class$="_over"]>a,
.navbar-nav>li:nth-child(3)[class$="_over"]>a:hover,
.navbar-nav>li:nth-child(3)[class$="_over"]>a:focus {
    background-color: #333652;
    color: #c0c4de;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    border-radius: 7px;
    margin-top: 10px;
}

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

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 18px;
        padding-bottom: 18px;
    }

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #333652;
    font-weight: 400;
    text-align: left;
    padding: 9px 25px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

.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: #006f94;
}

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

body:not(.introsite) #slider {
    height: 300px;
    overflow: hidden;
    position: relative;
}

#headerpic .nivo-main-image,
#slider-onebanner {
    background-size: cover !important;
    background-attachment: fixed !important;
}

@media (max-width: 991px) {

    #headerpic .nivo-main-image,
    #slider-onebanner {
        background-attachment: unset !important;
        background-size: cover !important;
    }
}

@media (max-width: 767px) {
    body:not(.introsite) #slider {
        height: 200px;
    }

    #headerpic .nivo-main-image,
    #slider-onebanner {
        background-attachment: unset !important;
        background-size: cover !important;
    }
}

#slider>*:not(.nivo-directionNav) {
    height: 100% !important;
}

@media (min-width: 992px) {

    body:not(.introsite) #headerpic .nivo-slice,
    body:not(.introsite) #headerpic .nivo-main-image,
    body:not(.introsite) #slider-onebanner,
    body:not(.introsite) #headerpic,
    body:not(.introsite) #slider {
        height: 400px;
    }

    body.index #headerpic .nivo-slice,
    body.index #headerpic .nivo-main-image,
    body.index #slider-onebanner,
    body.index #headerpic,
    body.index #slider {
        height: 600px !important;
    }

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

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

    .nivo-controlNav {
        top: 20px !important;
        bottom: unset !important;
    }
}

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

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

.slider-mask {
    display: none;
}

.introsite #headerpic {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: -1;
}

#headerpic video {
    width: 100vw !important;
    height: 100vh !important;
    max-width: unset !important;
    object-fit: cover;

}

/* ------------------------------------------------ headbuttons ----------------------------------------------- */

#headbuttons {
    position: relative;
    z-index: 12;
    margin-top: -95px;
}

.introsite #introbuttons {
    margin-top: 40px;
}

@media (max-width: 1199px) {
    #headbuttons .row {
        margin-top: 5px;
    }
}

@media (max-width: 991px) {
    .introsite #introbuttons>.row>* {
        display: flex;
        justify-content: center;
    }
}

#headbuttons a {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    padding: 20px;
    transition: all 300ms;
    display: inline-block;
    width: 100%;
}

#headbuttons a:hover {
    text-decoration: none;
    transform: scale(1.05);
}

#headbuttons .hbutton a {
    background-color: #0f203e;
    color: #f6c12c;
}

@media (max-width: 992px) {
    .hbutton {
        margin-left: 10px;
    }
}

@media (max-width: 767px) {
    .introsite .hbutton {
        margin-left: 0px;
    }
}

.introsite .hbutton {
    background-color: #fce4b9;
    color: #7a6251;
    height: 100%;
    font-weight: 500;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    font-size: 1rem;
    text-align: center;
    border-radius: 5px;
    padding: 20px;
    transition: all 300ms;
    width: 100%;
    max-width: 270px;
}

.introsite .hbutton a {
    color: #7a6251;
}

@media (min-width: 768px) {
    .introsite #introbuttons>.row:nth-child(2) {
        margin: 6% auto;
    }
}

@media (min-width: 768px) and (max-width:991px) {
    .introsite #introbuttons>.row:last-child>*:last-child {
        margin: 6% auto;
    }
}

@media (max-width: 767px) {
    .introsite #introbuttons>.row>div {
        margin: 3% auto;
    }
}

.introsite .hbutton span {
    display: block;
}

.introsite #heaintrobuttonsdbuttons>.row:nth-child(1)>div:nth-child(2) .hbutton a {
    animation-delay: 500ms;
}

.introsite #introbuttons>.row:nth-child(2)>div:nth-child(1) .hbutton a {
    animation-delay: 1500ms;
}

.introsite #introbuttons>.row:nth-child(2)>div:nth-child(2) .hbutton a {
    animation-delay: 2000ms;
}

.introsite #introbuttons>.row:nth-child(3)>div:nth-child(1) .hbutton a {
    animation-delay: 2500ms;
}

.introsite #introbuttons>.row:nth-child(3)>div:nth-child(2) .hbutton a {
    animation-delay: 3000ms;
}

@-webkit-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}


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

main {
    text-align: left;
    padding-bottom: 0px;
    padding-top: 0px;
}

@media (min-width: 992px) {
    main {
        padding-top: 60px;
    }
}

.introsite main {
    padding: 140px 0 90px 0;
}

.introsite {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#content {
    padding-top: 0px;
    margin-bottom: 70px;
}

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

#content h1 {
    font-size: 2.25rem;
}

#contentTab {
    position: relative;
    margin-bottom: -190px;
}

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

#sub .tab {
    background-color: #fce4b9;
    border-radius: 5px;
    padding: 15px 15px;
    color: #333652;
    text-align: center;
}

@media (min-width: 992px) {
    #sub .tab {
        position: relative;
        margin-top: -90px;
        z-index: 55;
    }
}

#sub .tab a {
    color: #333652;
    display: inline-block;
    position: relative;
}

#sub .tab a+a {
    margin-left: 16px;
}

#sub .tab a+a::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -11px;
    height: 100%;
    width: 1px;
    background: #e6c07c;
}

#sub .tab a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------ termin tab ---------------------------------------------- */

#termin_banner {
    background: #006587;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 100px;
    padding-bottom: 70px;
}

#termin_banner .tabHeadline {
    font-size: 1.875rem;
    color: #ffffff;
    text-transform: uppercase;
}

#termin_banner a {
    background-color: #0f203e;
    color: #f6c12c;
    background-image: url(../img/arrow-blau.png);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 160px;
    background-size: auto;
    font-weight: 600;
    border-radius: 20px;
    padding: 5px 20px;
    padding-right: 40px;
    transition: all 300ms;
    display: inline-block;
}

@media (max-width: 767px) {
    #termin_banner a {
        background-position-x: 145px;
    }
}

#termin_banner a:hover {
    text-decoration: none;
    transform: scale(1.05);
}

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

#news {
    padding-bottom: 40px;
    padding-top: 40px;
    background-color: #ffffff;
}

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

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

.newsHeadline {
    color: #292929;
    font-size: 1.875rem;
}

#news .col-lg-9, #news .col-lg-3 {
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    #news .col-lg-9 {
        margin-bottom: 0px;
    }
}

#news .col-lg-3 a {
    color: #f6c12c;
    background-color: #0f203e;
    background-image: url(../img/arrow-blau.png);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 170px;
    background-size: auto;
    font-weight: 600;
    border-radius: 20px;
    padding: 5px 20px;
    padding-right: 40px;
    transition: all 300ms;
    display: inline-block;
}

@media (max-width: 767px) {
    #news .col-lg-3 a {
        background-position-x: 155px;
    }
}

#news .col-lg-3 a:hover {
    text-decoration: none;
    transform: scale(1.05);
}

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

@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(25% - 30px);
    }

    #news .tab_link_entry:not(:nth-child(4n+1)) {
        margin-left: 30px;
    }
}

#news .tab_link_entries {
    counter-reset: section;
    font-size: 1rem;
}

#news .tab_link_entry {
    background: #ffffff;
    margin-bottom: 30px;
    padding: 45px 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 15px 20px #e0e0e0;
}

#news .tab_link_title {
    margin-bottom: 6px;
}

#news .tab_link_title a {
    color: #006f94;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    display: block;
}

#news .tab_link_date {
    font-size: 1rem;
    color: #5c5c5c;
    font-weight: 600;
}

#news .tab_link_mehr {
    color: #006f94;
    font-size: 0;
}

/* ----------------------------------------------- kontakt tab ----------------------------------------------- */

#kontakt_tab {
    background: #000 url(../img/kontaktbanner.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 75px;
    padding-bottom: 50px;
}

#kontakt_tab .tabHeadline {
    color: #fad02c;
    font-size: 1.875rem;
}

#kontakt_tab .tabContent {
    color: #ffffff;
    font-size: 1rem;
}

#kontakt_tab .tabContent b {
    font-weight: 600;
    font-size: 1.125rem;
}

#kontakt_tab .tabContent a {
    color: #9ec7d4;
    text-decoration: underline;
}

#kontakt_tab .col-lg-5 {
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    padding-right: 100px;
}

@media (max-width: 992px) {
    #kontakt_tab .col-lg-5 {
        border-right: 0px solid rgba(255, 255, 255, 0.1);
        padding-right: 15px;
    }
}

#kontakt_tab .col-lg-5 .tab {
    text-align: center;
}

#kontakt_tab .col-lg-7 {
    padding-left: 100px;
    color: #ffffff;
}

@media (max-width: 992px) {
    #kontakt_tab .col-lg-7 {
        padding-left: 15px;
    }
}

.formtab {
    color: #ffffff;
}

.formtab input[type="submit"] {
    color: #2b2b2b !important;
    background-color: #beefff !important;
    border-radius: 50px;
    border-color: #beefff;
    text-transform: uppercase;
    font-size: 14px;
    justify-content: start;
    display: flex;
}

.formtab input[type="submit"]:hover {
    color: #2b2b2b !important;
    background-color: rgba(190, 239, 255, 0.6) !important;
}

.formtab .subfield a {
    color: #ffffff;
}

#map {
    text-align: center;
}

.iframe-wrapper-manual-enabling {
    min-width: 0px !important;
    max-height: 450px;
    margin-top: 70px;
    margin-bottom: 50px;
}

iframe {
    max-width: 100%;
    margin-top: 70px;
    margin-bottom: 50px;
}

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

footer {
    background-color: #045d7b;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #ffffff;
    border-top: 5px solid #9ec7d4;
}

.introsite footer {
    margin-top: auto;
}

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

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

@media (max-width: 767px) {
    #innerfooter ul {
        text-align: center;
    }
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
}

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

#innerfooter li+li::before {
    content: "•";
    margin: 0 15px;
    color: #ffffff;
}

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

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

#vernetzt {
    text-align: right;
    font-size: 0.75rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 300;
    display: inline-block;
}

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

#vernetzt b {
    color: #ffffff;
    font-weight: 600;
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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