@import url('https://fonts.verwaltungsportal.de/import/?family=Noto+Sans:400,700');

body {
    font-family: Noto Sans, sans-serif;
    color: #171715;
    background: #ffffff;
    font-size: 18px;
}

a {
    color: #0052a7;
    -webkit-transition: background-color 300ms linear, color 300ms linear;
    -moz-transition: background-color 300ms linear, color 300ms linear;
    -ms-transition: background-color 300ms linear, color 300ms linear;
    -o-transition: background-color 300ms linear, color 300ms linear;
    transition: background-color 300ms linear, color 300ms linear;
}

a:hover {
    color: #0052a7;
}

#content a {
    text-decoration: underline;
}

#maindiv {
    width: 100%;
    line-height: 1.6em;
    text-align: left;
}

#content {
    line-height: 1.6em;
    text-align: left;
    padding-top: 30px;
    padding-bottom: 30px;
}

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

    body:not(.index) #content {
        padding-top: 15px;
    } 
    
    #content-wrapper,
    #topbar,
    header,
    #footer-wrapper {
        padding-left: 250px;
    }
}

@media (min-width: 1200px) {
    #content-wrapper,
    #topbar,
    header,
    #footer-wrapper {
        padding-left: 300px;
    }
}

#content a {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1170px;
}

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

#footer-wrapper {
    background: #0052a7 url('../img/muster-welle.jpg');
    position: relative;
}

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

#footer {
    color: #1f2321;
    padding: 15px 15px 0 15px;
    position: relative;
}

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

    #footer::before {
        content: "";
        position: absolute;
        display: block;
        left: -250px;
        bottom: 0px;
        width: 417px;
        height: 235px;
        z-index: 53;
        background: url('../img/icon-footer.png') center top no-repeat;
    }
}

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

#innerfooter {
    line-height: 150%;
    color: #1f2321;
    font-weight: normal;
    font-style: normal;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    #innerfooter {
        margin-bottom: 0;
        margin-top: 70px;
    }
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: block;
}

#innerfooter a:hover {
    color: #ffffff;
    font-weight: normal;
}

@media (min-width: 768px) {
    #innerfooter a {
        display: inline-block;
    }
    #innerfooter a + a {
        margin-left: 0;
    }

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

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

#logo {
    pointer-events: auto;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    #logo {
        position: absolute;
        z-index: 53;
        top: 20px;
        right: 15px;
    }
}

#logo img {
    width: 100%;
    max-width: 90px;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    #logo img {
        max-width: 150px;
    }
}

@media (min-width: 1200px) {
    #logo img {
        max-width: 250px;
    }
}

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

#logoText {
    color: #171715;
    pointer-events: auto;
    font-size: 14px;
    line-height: 140%;
    font-weight: bold;
    margin-left: 10px;
    text-shadow: 0 0 10px rgba(0,0,0,0.15);
}

@media (min-width: 768px) {
    #logoText {
        color: #ffffff;
        font-size: 30px;
        margin-top: 50px;
        z-index: 53;
    }
}

@media (min-width: 1200px) {
    #logoText {
        margin-top: 70px;
        padding-right: 300px;
    }
}

@media (min-width: 1400px) {
    #logoText {
        font-size: 40px;
    }
}

#logoText span {
    display: block;
    font-size: 16px;
}

@media (min-width: 768px) {
    #logoText span {
        font-size: 40px;
    }
}

@media (min-width: 1200px) {
    #logoText span {
        font-size: 50px;
    }
}

#headerpic {
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

#headerpic,
#slider {
    height: 150px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

#headerpic,
#slider {
    height: 300px;
}

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

    #headerpic:after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 52;
        display: block;
        background: rgba(0,82,167,0.3) url('../img/banner-welle.png') center bottom no-repeat;
        pointer-events: none;
    }
}

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

@media (min-width: 992px) {
    #header .theme-default .nivo-controlNav {
        bottom: 50px;
        z-index: 42;
    }
}

@media (max-width: 767px) {
    #bannerOverlay .row > div {
        display: flex;
        align-items: center;
        align-content: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

@media (min-width: 768px) {
    #bannerOverlay {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 53;
        pointer-events: none;
        padding-top: 50px;
    }
}

@media (min-width: 992px) {
    #bannerOverlay {
        left: 250px;
    }
}

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

/* ie-fix btgrid images */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .btgrid .row img {
        width: auto;
    }
}

#content_buttons_div {
    top: 45%;
    z-index: 100;
}

@media (max-width: 991px) {
    #content_buttons_div {
        display: none;
    }
}

.sticky-wrapper {
    position: relative;
    z-index: 51;
}

/* --------------------------------------------- links below content -------------------------------------------- */

#content_footer {
    margin-top: 40px;
    height: auto;
}

@media (max-width: 767px) {
    #contentbottom_left,
    #contentbottom_right {
        width: 100% !important;
        text-align: center !important;
    }
    
    .content_footer, #content_footer {
        height: auto !important;
    }
}

@media (max-width: 499px) {
    #breadcrumbincontent,
    #contenttop_right {
        width: 100%;
    }
}

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

#vernetzt {
    font-size: 78%;
    max-width: 270px;
    line-height: 140%;
    margin: 0 auto;
    text-align: center;
    display: block;
    color: #ffffff;
}

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

#vernetztLogo {
    margin: 0 auto -70px auto;
    position: relative;
    z-index: 1;
    background-color: #ffffff;
    border-radius: 50%;
    height: 128px;
    width: 128px;
    border: 10px solid #0052a7;
    padding-top: 20px;
}

#vernetzt a {
    color: #ffffff;
}

#vernetzt b,
#vernetzt a:hover {
    color: #ffffff;
}

#vernetzt > span {
    padding: 85px 15px 30px 15px;
    background-color: rgba(255,255,255,0.4);
    border-top-left-radius: 135px;
    border-top-right-radius: 135px;
}

#vernetzt span {
    display: block;
}

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

#style {
    color: #ffffff;
    font-weight: 900;
    display: flex !important;
    margin-top: 25px;
}

#style a {
    color: #ffffff;
    text-decoration: none;
    font-weight: normal;
    display: inline-block;
    background-color: #0052a7;
    border-radius: 50%;
    height: 34px;
    width: 34px;
    text-align: center;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    -webkit-box-shadow: 2px 2px 0 0 #034386;
    box-shadow: 2px 2px 0 0 #034386;
}

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

#style a:nth-of-type(1) {
    font-size: 100%;
}

#style a:nth-of-type(2) {
    font-size: 115%;
}

#style a:nth-of-type(3) {
    font-size: 130%;
}

#style span {
    margin-right: 14px;
    color: #ffffff;
    font-weight: normal;
}

@media (min-width: 992px) {
    #style span {
        margin-top: 3px;
    }  
}

/* ----------------------------------------------- SG-Tabs ----------------------------------------------- */

#sgTabs {
    padding-top: 30px;
}

@media (min-width: 768px) {
    #sgTabs {
        padding-top: 0;
        margin-top: -100px;
        position: relative;
        z-index: 53;
    }
    
    #sgTabs .row {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (min-width: 1200px) {
    #sgTabs {
        margin-top: -200px;
    }
}

#sgTabs .headline {
    margin: 0;
    text-transform: uppercase;
}

#sgTabs .headline:after {
    content: "";
    height: 1px;
    width: 75px;
    display: block;
    background-color: #171715;
    margin: 20px auto;
}

#sgTabs .tab {
    background-color: #ffffff;
    border-radius: 30px;
    -webkit-box-shadow: -5px -5px 0 0 #018135, 5px 5px 0 0 #0052a7;
    box-shadow: -5px -5px 0 0 #018135, 5px 5px 0 0 #0052a7;
    margin: 5px;
    padding: 20px;
}

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

@media (min-width: 1200px) {
    #sgTabs .tab {
        -webkit-box-shadow: -10px -10px 0 0 #018135, 10px 10px 0 0 #0052a7;
        box-shadow: -10px -10px 0 0 #018135, 10px 10px 0 0 #0052a7;
        margin: 10px;
    }
}

#sgTabs .content {
    line-height: 1.5em;
    text-align: center;
}

#sgTabs .content p {
    margin: 0;
}

@media (max-width: 767px) {
    #sgTabs .col-xs-12 + .col-xs-12 {
        margin-top: 30px;
    }
}

.tab_link_mehr {
    color: transparent;
    margin-top: 15px;
}

.tab_link_mehr a {
    color: #ffffff;
    background-color: #0052a7;
    border-radius: 10px;
    padding: 6px 10px;
}

/* ------------------------------------------ h1, #content .legacy_h1, .legacy_h1 - h6, #content .legacy_h6, .legacy_h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:visited, h6, #content .legacy_h6, .legacy_h6, h5, #content .legacy_h5, .legacy_h5, h4, #content .legacy_h4, .legacy_h4, h3, #content .legacy_h3, .legacy_h3, h2, #content .legacy_h2, .legacy_h2, h1, #content .legacy_h1, .legacy_h1 {
    color: #0052a7;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Noto Sans, sans-serif;
}

#newslinks, #newsmandate {
    border: 1px solid #0052a7;
    text-decoration: underline;
}


/* ------------------------------------------------ dark ------------------------------------------------ */

/* for white background */
#startseite_news ul a {
    font-size: 12px;
    color: #7c7c7c;
    font-weight: normal;
}

/* -------------------------------- optimized events for white background ------------------------------- */

.weekdays, .weekdays a:link a:visited a:active a:hover, .weekdays_active {
    color: #cccccc;
}

.weekdays_active a:link a:visited a:active a:hover {
    color: #f7911e;
}

.events-header-heute {
    color: #ffffff;
    background-color: #4c4c4c;
}

.events-header {
    color: #5b5b5b;
    background-color: #e3e3e3;
}

.event-ort, .event-info {
    color: #4c4c4c;
}


/* ------------------------------------------------ menu ------------------------------------------------ */

#menu-wrapper{
    background-color: #e5edf6;
}

/* --------------------------------------- navigation bar (19987) --------------------------------------- */

.navbar {
    margin-bottom: 0px;
    border: none;
    min-height: 0;
    border-radius: 0;
}

.navbar-nav li .dropdown-menu {
    position: static;
    float: none;
    width: auto;
}

/* burgermenu - background */
.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background: #ffffff;
    border-color: transparent;
}

#menu .navbar-collapse {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    background-color: #e5edf6; 
    height: auto !important;
    padding: 0;
    border: none;
    -webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,0.3);
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.3);
}

@media (min-width: 992px) {
    #menu .navbar-collapse {
        width: 250px;
        bottom: auto;
        height: 100vh !important;
        overflow-y: auto !important;
    }
}

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

/* burgermenu for tablet */
@media (max-width: 991px) {
    .navbar-default ul.navbar-nav{
        height: auto;
    }
    
    .navbar-collapse {
        left: -100%;
        bottom: 0;
        right: 100px;
        -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);
        -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:after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100px;
        z-index: -1;
        pointer-events: none;
        display: block;
        background-color: rgba(0,0,0,0.5)
    }

    .navbar-collapse.collapse.in,
    .navbar-header .collapse, .navbar-toggle{
        left: 0;
    }

    .navbar-header, .navbar-nav > li {
        float: none;
    }

    .navbar-nav {
        float: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .navbar-toggle {
        position: fixed;
        right: 15px;
        top: 30px;
        z-index: 101;
        left: auto;
        margin: 0 !important;
        padding: 9px 6px;
        line-height: 0;
        display: block;
        -webkit-box-shadow: 0 0 4px 0 rgba(0,0,0,0.5);
        box-shadow: 0 0 4px 0 rgba(0,0,0,0.5);
        -webkit-transition: background 300ms linear;
        -moz-transition: background 300ms linear;
        -ms-transition: background 300ms linear;
        -o-transition: background 300ms linear;
        transition: background 300ms linear; 
    }

    .navbar-toggle img {
        width: 35px;
        height: auto;
    }
    
    .collapse {
        display: block !important;
   
        /*  ausblenden für non-responsive! */
        opacity: 0; 
        pointer-events: none;
    }
    
    .collapse.in {
        opacity: 1;
        pointer-events: auto;
    }

    #menu .navbar-nav {
        padding: 20px 0;
    }
}

/* menu fixed top (tablet) */

/*** Menü über komplette Breite (1200px) ***/
@media (min-width: 992px) {
    .navbar-default .navbar-nav {
        width: 100%;
    }

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

    .navbar-header {
        position: fixed
    }

    #menu .navbar-collapse:before {
        content: "";
        width: 100%;
        height: 100px;
    }
}

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

.navbar-default .navbar-nav > li > a {
    color: #171715;
    font-weight: bold;
    text-align: center;
    padding: 14px 5px;
    background-color: #f0f5fa;
    border-bottom: 2px solid #e5edf6;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav > li > a {
        padding: 14px 20px 5px 14px;
        hyphens: auto;
    }
}

/* -------------------------------------------- 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-default .navbar-nav > li.menue_point_toplevel_19987_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_19987_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_19987_over > a:focus {
    color: #ffffff;
    background-color: #02478f;
}


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

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

.navbar-default .navbar-nav > li > .dropdown-menu {
    padding: 0px;
    background-color: #b6cbe3;
}

.menue_group_19987_start,
.menue_group_19987_end{
    display: none;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent;
    font-weight: bold;
    color: #171715;
    text-align: center;
    padding: 10px 5px;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-default .navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19987_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19987_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19987_over > a:focus {
    color: #ffffff;
    background-color: #02478f;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding: 0px;
    margin: 0;
    background-color: #b6cbe3;
}

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

.menue_list_thirdlevel_19987_start,
.menue_list_thirdlevel_19987_end {
    display: none;
}

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

    /* Thirdlevel - right dropdown */
    .navbar-default .navbar-nav > li > .dropdown-menu > li {
        position: static;
    }

    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        position: static;
        left: auto;
        top: auto;
    }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent;
    font-weight: bold;
    color: #171715;
    text-align: center;
    padding: 10px 5px;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:before {
    content: "›";
    margin-right: 6px;
    font-weight: normal;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav > li > .dropdown-menu > li > a,
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
        padding: 10px 20px 5px 10px;
        hyphens: auto;
    }
    .dropdown-toggle-button-wrapper, .dropdown-toggle-button-wrapper2 {
        right: 15px;
    }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19987_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19987_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19987_over > a:focus {
    color: #02478f;
}
