@import url("https://fonts.verwaltungsportal.de/import/?family=Work+Sans:300,400,500,600,700");

body {
    font-family: 'Work Sans', sans-serif;
    color: #4d4d4d;
    background: #ffffff;
    font-size: 1rem; /* 1rem = 16px */
    line-height: 1.5;
    color: #2e2e2e;
    padding-bottom: 0;
}

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

a {
    color: #115cdf;
}

a:hover {
    text-decoration: underline;
}

b, strong {
    font-weight: 600;
}

h1, #content .legacy_h1, .legacy_h1, h2, #content .legacy_h2, .legacy_h2, h3, #content .legacy_h3, .legacy_h3, h4, #content .legacy_h4, .legacy_h4, h5, #content .legacy_h5, .legacy_h5, h6, #content .legacy_h6, .legacy_h6 {
    font-weight: 500;
    color: #04305b;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

h1, #content .legacy_h1, .legacy_h1 {
    font-size: 2.5rem;
}



h2, #content .legacy_h2, .legacy_h2 {
    font-size: 2.3125rem;
}

h3, #content .legacy_h3, .legacy_h3 {
    font-size: 2.125rem;
}

h4, #content .legacy_h4, .legacy_h4 {
    font-size: 1.9375rem;
}

h5, #content .legacy_h5, .legacy_h5 {
    font-size: 1.75rem;
}

h6, #content .legacy_h6, .legacy_h6 {
    font-size: 1.5625rem;
}

#content {
    color: #2e2e2e;
}

body:not(index) #menu {
    background-color: rgb(5, 55, 103);
}
body.index #menu {
    background-color: rgba(5, 55, 103, 0.8);
    padding-top: 15px;
}
/* Top Wrapper */
body:not(index) #topbar {
    position: relative;
    width: 100%;
}

body.index #topbar {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    z-index: 50;
}

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

#topbar > .row::before {
    content: '';
    display: block;
    position: absolute;
    width: 98px;
    height: 100px;
    top: -15px;
    left: 0;
    pointer-events: none;
    background-size: cover;
    background-image: url('../img/nav-after.png');
    background-repeat: no-repeat;
    z-index: 100;
}

#topbar .row {
    position: relative;
}

#topbar .row:first-child .col-lg-7 {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
}

#topbar .row:first-child .col-lg-7 {
    justify-content: flex-end;
}

@media (max-width: 992px) {
    #topbar .row:first-child .col-lg-7 {
        justify-content: flex-start;
        margin-top: 10px;
    }
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        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: #2e3c48;
        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: rgb(5, 55, 103);
        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%;
    }
}

/*
    @nav      horizontal nav
    @navLeft  vertical nav
*/

/* menu desktop */

@media (min-width: 992px) {
    nav {
        padding-top: 20px;
    }

    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;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

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

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

.navbar-default .navbar-nav > li > a {
    color: #ffffff;
    font-weight: 300;
    text-align: center;
    padding: 10px 5px 15px 5px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1;
}

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

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

    .navbar-default .navbar-nav > li > a {
        padding: 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 > 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 {
    text-decoration: underline;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    background-color: rgba(5, 55, 103, 0.7);
    -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);
}

@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;
        margin-top: 20px;
    }

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

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    color: #ffffff;
    font-weight: 300;
    text-align: center;
    padding: 8px 25px;
    font-size: 1.125rem;
}

/* ------------------------------------------ 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 {
    background-color: rgba(6, 67, 129, 0.7);
    text-decoration: none;
}

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

/*
    @banner     Wechselbanner 
    @parallax   Parallax-Banner (ein Bild)
*/

body:not(index) #headerpic {
    display: none;
}

body.index #headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    display: block;
}

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

.slider-mask {
    display: none;
}

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

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

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

/* ------------------------------------------------ styler ---------------------------------------------- */
#style {
    margin-left: 20px;
}

#style button {
    background: none;
    color: #ffffff;
    font-weight: 400;
    width: 35px;
    height: 35px;
    border: none;
}

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

/* Scroll Top */
#scroll-top {
    display: block;
    width: 35px;
    height: 35px;
    background-color: #ffffff;
    position: relative;
}

@media (max-width: 992px) {
    #scroll-top {
        display: none;
    }
}

#scroll-top::before {
    display: block;
    position: absolute;
    content: '';
    width: 2px;
    height: 13px;
    background-color: #04305a;
    bottom: 10px;
    left: 16px;
}

#scroll-top::after {
    display: block;
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    border-left: 2px solid #04305a;
    border-top: 2px solid #04305a;
    bottom: 13px;
    left: 12px;
    transform: rotate(45deg);
}

#scroll-top a {
    position: absolute;
    color: #ffffff;
    left: -120px;
    text-transform: uppercase;
    font-weight: 500;
    top: 5px;
    background-color: #04305a;
}

#scroll-top a:hover {
    text-decoration: none;
}

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

footer {
    background-color: #064076;
    padding-top: 3px;
    padding-bottom: 3px;
    color: #ffffff;
}

#first-footer-wrapper {
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('../img/footer-bg.png');
    padding: 50px 0;
}

.upper-footer-row .scroll-top, .upper-footer-row .vernetzt {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.upper-footer-row .vernetzt {
    justify-content: flex-start;
}

.upper-footer-row .scroll-top {
    justify-content: flex-end;
}

/*@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 a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-size: 0.9375rem;
}

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

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

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

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

@media (max-width: 992px) {
    #vernetzt {
        margin: 0 auto !important;
    }
}

#vernetzt {
    text-align: left;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 300;
}

#vernetzt:hover {
    text-decoration: none;
}

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

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

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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

/* Contact Tab */
footer .row .col-lg-12 {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0.79rem;
}

.contact-tab .tabContent, .contact-tab .tabContent a {
    color: #ffffff;
    font-size: 0.75rem;
    text-align: center;
}