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

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

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

a {
    color: #0e479e;
}

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

#content a, b, strong {
    font-weight: 500;
}

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

#logo {
    display: inline-block;
    padding: 5px 0;
}

#logo img {
    display: block;
    max-width: none;
}

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

@media (min-width: 1200px) {
    #myNavbar>.template-page>.row:not(:first-child) {
        padding-top: 0 !important;
    }
}

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

nav {
    background-color: #0e479e;
}

.navbar-nav li[class*="_over"]>.dropdown-menu, .navbar-nav li[class*="open"]>.dropdown-menu {
    display: block !important;
}

.navbar-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    background: #0e479e;
    z-index: 100;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background: #ffffff;
        border: none !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: #0e479e;
        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: 30px 0;
    }

    .navbar-collapse {
        background: #0e479e;
        left: -100%;
        -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;
        height: auto;
        pointer-events: none;
        -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: 101;
    }

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

    .dropdown-toggle-button-wrapper {
        top: 5px;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 3px;
    }
}

@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) {
    .navbar-collapse {
        width: 250px;
        top: 0;
        left: 0;
        height: 100vh;
    }

    .navbar-default .navbar-nav {
        width: 100%;
    }

    .navbar-default .navbar-nav>li {
        display: block !important;
        width: 100%;
        float: none;
    }

    .navbar-header {
        position: fixed
    }

    #scrollbar {
        max-height: calc(100vh - 220px);
        overflow: auto;
        margin-top: 25px;
    }
}

@media (min-width: 1200px) {
    .navbar-collapse {
        width: 300px;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #a4c6f9;
    font-weight: 400;
    padding: 10px 30px 10px 15px;
    margin-bottom: 4px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 10px 30px;
    }

    .navbar-default .navbar-nav>li>a.dropdown-toggle {
        padding-right: 35px;
    }

    .navbar-default .navbar-nav>li>a.dropdown-toggle::after {
        content: "";
        position: absolute;
        display: block;
        right: 15px;
        top: 14px;
        width: 6px;
        height: 6px;
        border-radius: 1px;
        border-left: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
        -moz-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transition: border 300ms linear;
        -moz-transition: border 300ms linear;
        -ms-transition: border 300ms linear;
        -o-transition: border 300ms linear;
        transition: border 300ms linear;
    }
}

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

.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li.open>a, .navbar-default .navbar-nav>li.open>a:hover, .navbar-default .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: #ffffff;
    background-color: transparent;
}

/* -------------------------------------- secondlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu {
    padding: 12px 0;
    position: relative;
    background-color: #0c3f8e;
    margin-bottom: 4px;
    width: 100%;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15) inset;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15) inset;
}

.navbar-default .navbar-nav>li>.dropdown-menu::before {
    content: "";
    display: block;
    position: absolute;
    top: 28px;
    bottom: 28px;
    width: 1px;
    left: 20px;
    background-color: #9cb6dd;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        left: 35px;
    }
}

/* --------------------------------------------- secondlevel -------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    background-color: transparent;
    font-weight: normal;
    color: #a4c6f9;
    text-align: left;
    padding: 9px 5px 9px 40px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before, .navbar-default .navbar-nav>li>.dropdown-menu>li>a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before {
    left: 13px;
    top: 13px;
    border-width: 0 7.5px 13px 7.5px;
    border-color: transparent transparent #9cb6dd transparent;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a::before {
        left: 28px;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::after {
    left: 14px;
    top: 14px;
    border-width: 0 6.5px 11px 6.5px;
    border-color: transparent transparent #415d78 transparent;
    -webkit-transition: border-color 300ms linear;
    -moz-transition: border-color 300ms linear;
    -ms-transition: border-color 300ms linear;
    -o-transition: border-color 300ms linear;
    transition: border-color 300ms linear;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a::after {
        left: 29px;
    }
}

/* --------------------------------------- thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 2px 0;
}

.menue_point_secondlevel_19987_over>.dropdown-menu {
    display: block;
}

/* --------------------------------------------- thirdlevel --------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    background-color: transparent;
    font-weight: normal;
    color: #a4c6f9;
    text-align: left;
    padding: 7px 5px 7px 50px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

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

/* ----------------------------------- 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: #ffffff;
}

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

/* ----------------------------------------------- header ----------------------------------------------- */

header {
    background: linear-gradient(to bottom, #9cb6dd, #9cb6dd 40%, rgba(255, 255, 255, 0) 30%);
}

@media (min-width: 992px) {
    .index #header {
        background-image: url("../img/hintergrund-header.jpg"), url('../img/Logo-St-Mat-hg.jpg');
        background-position: top 2vw right 55px, left 34vw top 10vw;
        background-repeat: no-repeat;
    }

    #header {
        background-image: url("../img/hintergrund-header.jpg");
        background-position: top 2vw right 55px;
        background-repeat: no-repeat;
    }
}

#header>.row {
    width: 100%;
    max-width: 100%;
}

#header>.row .row {
    margin-left: 0;
    margin-right: 0;
}

#header>.row>div {
    padding: 0;
}

#header {
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
}

@media (min-width: 1200px) {
    #header {
        margin-left: calc(15px + (200 - 15) * (100vw - 768px) / (1920 - 768));
    }
}

/* --------------------------------------------- header text --------------------------------------------- */

#headerText {
    padding: 30px;
    width: 100%;
}

@media (min-width:768px) and (max-width:991px) {
    #headerText {
        padding: 20px 15px;
    }
}

@media (min-width: 992px) {
    #headerText {
        padding-left: 70px;
    }

    body.index #headerText {
        padding-bottom: 270px;
    }
}

#header h1,
#header h2 {
    margin-bottom: 0;
    line-height: 26px !important;
    font-size: calc(30px + (48 - 30) * (100vw - 320px) / (1920 - 320));
}

#header h1 *,
#header h2 * {
    display: block;
    line-height: 1;
}

#header h1 b,
#header h2 b {
    font-weight: 500;
    font-size: calc(10px + (95 - 30) * (100vw - 320px) / (1920 - 320));
}

body.index #header h1 b,
body.index #header h2 b {
    font-size: calc(10px + (95 - 30) * (100vw - 320px) / (1920 - 320));
}

#header h1 i,
#header h2 i,
#header h1 em,
#header h2 em {
    font-weight: 300;
    font-style: normal;
    font-size: calc(30px + (40 - 22) * (100vw - 320px) / (1920 - 320));
    color: #0e479e;
    margin-top: 10px;
}

@media (max-width:767px) {
    body.index #header h1 b, body.index #header h2 b {
        font-size: calc(40px + (95 - 30) * (100vw - 320px) / (1920 - 320));
    }
}

/* --------------------------------------------- header contact --------------------------------------------- */

#headerContact {
    background: #ffffff linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0) 80px);
    width: 100%;
    font-size: 0.9375rem;
    position: relative;
    font-style: normal;
}

#header>.row #contactTab .row {
    margin-left: -15px;
    margin-right: -15px;
}

#contactButton .row>div {
    padding: 0;
}

@media (min-width: 992px) {

    #contactButton div,
    #contactButton div>p {
        height: 100%;
        min-height: 100%;
    }

    #contactTab {
        padding-left: 45px;
    }

    #headerContact::after {
        content: "";
        display: block;
        position: absolute;
        top: calc(-90px + (-110 - 90) * (100vw - 992px) / (1920 - 992));
        right: 40px;
        width: calc(220px + (382 - 220) * (100vw - 992px) / (1920 - 992));
        height: calc(220px + (381 - 220) * (100vw - 992px) / (1920 - 992));
        pointer-events: none;
    }
}

@media (min-width: 1200px) {
    #headerContact::after {
        right: 65px;
    }
}

#contactTab a {
    color: #0e479e;
}

#contactTab b,
#contactTab strong {
    font-size: 1.125rem;
    font-weight: 500;
}

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

#contactButton {
    overflow: hidden;
}

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

#contactButton a {
    display: block;
    text-align: center;
    background: #0e479e linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0) 80px);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 10px 15px;
    line-height: 1.1;
    text-decoration: none;
}

@media (max-width: 991px) {
    #contactButton a {
        margin-bottom: 15px;
    }
}

@media (min-width: 992px) {
    #contactButton a {
        padding: 20px 20px 20px 20px;
        height: 100%;
        min-height: 100%;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
    }
}

#contactButton a:hover,
#contactButton a:focus {
    background-color: #9cb6dd;
    color: #0e479e;
}

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

#slider {
    height: 250px;
    overflow: hidden;
    position: relative;
}

@media (min-width:768px) {
    #slider {
        height: 350px;
    }
}

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

    body.index #slider {
        height: 600px;
    }
}

@media (min-width: 992px) {
    body.index #slider {
        height: 793px;
    }

    #slider img {
        width: auto !important;
    }
}

.slider-wrapper {
    height: 100%;
}

.slider-mask {
    display: none;
}

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

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

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

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

    body>* {
        padding-left: 250px;
    }
}

@media (min-width: 1200px) {
    body>* {
        padding-left: 300px;
    }
}

main {
    overflow: hidden;
    position: relative;
}

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

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #0e479e;
    font-weight: 500;
    line-height: 1.2;
}

h1, .h1, .legacy_h1 {
    font-weight: 500;
    font-size: calc(30px + (35 - 30) * (100vw - 320px) / (1920 - 320));
}

@media (min-width: 768px) {
    H6 em, H5 em, H4 em, H3 em, H2 em, H1 em {
        font-size: 60%;
    }
}

h2, .h2, .legacy_h2 {
    font-size: calc(29px + (30 - 29) * (100vw - 320px) / (1920 - 320));
}

h3, .h3, .legacy_h3 {
    font-size: calc(28px + (30 - 28) * (100vw - 320px) / (1920 - 320));
}

h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
    font-size: calc(27px + (30 - 27) * (100vw - 320px) / (1920 - 320));
}

h5, .h5, .legacy_h5 {
    font-size: calc(25px + (30 - 25) * (100vw - 320px) / (1920 - 320));
}

h6, .h6, .legacy_h6 {
    font-size: calc(24px + (30 - 24) * (100vw - 320px) / (1920 - 320));
}

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

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

#tabs {
    padding-bottom: calc(40px + (100 - 40) * (100vw - 320px) / (1920 - 320));
    padding-top: 70px;
}

@media (max-width: 991px) {
    #tabs>.row>div+div {
        margin-top: 40px;
    }

    #tabs>.row>div:last-child {
        margin-left: auto;
        margin-right: auto;
    }
}

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

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

@media (min-width:992px) {
    #tabs .tab {
        background: #ffffff url("../img/hintergrund-tab.jpg") center right / cover no-repeat;
    }
}

#tabs .tab {
    padding: calc(40px + (50 - 40) * (100vw - 320px) / (1920 - 320)) 20px;
    height: 100%;
    min-height: 100%;
    border-width: 10px;
    border-style: solid;
    color: #333333;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    #tabs .tab {
        margin-left: 0;
        margin-right: 0;
    }
}

#tabs .tab1 {
    border-color: #9cb6dd;
}

#tabs .tab2 {
    border-color: #0e479e;
}

#tabs .tab3 {
    border-color: #9cb6dd;
}

#tabs .tabHeadline2 {
    font-weight: 500;
    margin-bottom: 20px;
}

@media (min-width: 1200px) {

    #tabs .tabHeadline2 {
        margin-bottom: 35px;
    }
}


#tabs .tabHeadline2 {
    font-size: calc(30px + (30 - 30) * (100vw - 320px) / (1920 - 320));
}

#tabs .tab1 a:last-child::after, #tabs .tab2 a:last-child::after {
    content: "\00BB";
    margin-left: 4px;
}

#tabs .tab1 a:last-child, #tabs .tab2 a:last-child {
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 22px;
    background-color: #ffffff;
    color: #0e479e;
    text-decoration: none;
    border: 1px solid #0e479e;
}

#tabs .tab1 a:last-child:hover,
#tabs .tab1 a:last-child:focus,
#tabs .tab2 a:last-child:hover,
#tabs .tab2 a:last-child:focus {
    background-color: #eef3f9;
    color: #0e479e;
}


.tab3 .tab_link_date {
    color: #333333;
    font-weight: 400;
}

.tab3 .tab_link_title a {
    color: #333333;
}

#tabs .tab3 .tab_link_mehr {
    font-size: 0;
    text-align: center;
}

#tabs .tab3 .tab_link_mehr a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 22px;
    background-color: #ffffff;
    color: #0e479e;
    text-decoration: none;
    border: 1px solid #0e479e;
}

#tabs .tab3 .tab_link_mehr a::after {
    content: "\00BB";
    margin-left: 4px;
}

#tabs .tab3 .tab_link_mehr a:hover, #tabs .tab3 .tab_link_mehr a:focus {
    background-color: #eef3f9;
    color: #0e479e;
}

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

footer {
    position: relative;
}

@media (min-width:992px) {
    #footer::before {
        content: '';
        position: absolute;
        top: -980px;
        right: 0;
        bottom: 0;
        left: 0;
        pointer-events: none;
        background-image: url('../img/angel.png');
        background-position: top left;
        background-repeat: no-repeat;
        height: 1280px;
        width: 100%;
        z-index: 1;
    }
}


#footer {
    background: #0e479e;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

@media (min-width:992px) {
    #footer {
        background: #0e479e url("../img/hintergrund2.png") center right 35px no-repeat;
    }
}

@media (min-width: 768px) {
    #footer {
        padding-left: 15px;
    }

    #footer::after {
        content: "";
        position: absolute;
        display: block;
        top: 0;
        bottom: 0;
        width: 15px;
        left: 0;
        background: linear-gradient(to bottom, #ffffff, #ffffff 50%, #9cb6dd 50%);
        z-index: -1;
    }
}

#footer>.row>div:first-child {
    padding-top: calc(40px + (120 - 40) * (100vw - 320px) / (1920 - 320));
    padding-bottom: 40px;
}

#footer,
#footer a,
#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6,
#footer h1 em,
#footer h2 em,
#footer h3 em,
#footer h4 em,
#footer h5 em,
#footer h6 em {
    color: #ffffff;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
}

#footer h1 em,
#footer h2 em,
#footer h3 em,
#footer h4 em,
#footer h5 em,
#footer h6 em {
    font-size: 36px;
}


#footer a {
    text-decoration: underline;
}

#footer hr {
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    margin-bottom: 40px;
}

@media (min-width: 992px) {
    #footer hr {
        margin-top: 60px;
    }
}

#footer iframe,
#footer .iframe-wrapper-manual-enabling {
    display: block;
    width: 100%;
}

#footer .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
}

@media (min-width: 768px) {

    #footer iframe,
    #footer .iframe-wrapper-manual-enabling {
        position: absolute;
        left: 15px;
        top: 0;
        right: 15px;
        width: calc(100% - 30px) !important;
        height: 100% !important;
    }

    #footer .iframe-wrapper-manual-enabling {
        min-width: calc(100% - 30px) !important;
    }
}

#footer .mapCol .row,
#footer .mapCol .row>div {
    position: static;
}

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

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

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

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

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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

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

#innerfooter {
    padding-top: 40px;
    padding-bottom: 40px;
    font-size: 0.875rem;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #666666;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #0e479e;
}

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

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