@import url('https://fonts.verwaltungsportal.de/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i&display=swap');
@import url('https://fonts.verwaltungsportal.de/css?family=Delius&display=swap');

body {
    font-family: Open Sans, sans-serif;
    color: #3e3e3e;
    background: #ffffff;
}

a {
    color: #dd3d80;
}

a:hover {
    color: #dd3d80;
}

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

#content-wrapper{
    background: #fff;
    -webkit-box-shadow: 0px 3px 20px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 3px 20px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 3px 20px 0px rgba(0,0,0,0.3);
    position: relative;
    padding-top: 40px;
}

#content {
    line-height: 1.3em;
    text-align: left; 
    min-height: 400px;
    padding-bottom: 50px;
}

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

/* change to #footer for inner-containment */
#footer-wrapper {
    background-color: #006a93;
    padding:20px 0;
}

@media(min-width:992px){
    #footer-wrapper .row{
        display: flex;
        align-items: center;
    }
}

#footer {
    color: #ffffff;
}

/*  xs  */
@media (max-width: 991px) {
    /* xs-footer-separator (lines) */
    #footer .row > .col-xs-12:not(:first-child)::before{
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 0;
    }
    #footer .row > .col-xs-12.hidden-xs ~ .col-xs-12::before,
    #footer .row > .col-xs-12.hidden-sm ~ .col-xs-12::before{
        display: none;
    }
}

s#innerfooter {
    line-height: 30px;
    color: #ffffff;
    font-weight: normal;
    font-style: normal;
}

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

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


/* ########################################### custom-section ########################################### */

#tabs-wrapper{
    background: url('../img/bg_breaker.jpg') top fixed no-repeat #fff;
    background-size: cover;
    padding: 40px 0;
}

@media(min-width:992px){
    #tabs-wrapper .row{
        display: flex;
    }
    #tabs-wrapper .box{
        height: 100%;
    }
}

#topbar {
    background: url('../img/bg_top.jpg') fixed center no-repeat #fff;
    background-size: cover;
    padding: 10px 0;
}

@media(min-width:992px){
    #topbar .row{
        display: flex;
        align-items: center;
    }
}

#menu-wrapper{
    background-color: #00adee;
}

#logo {
}

@media(max-width:991px){
    #logo{
        margin-bottom: 25px;
    }
    #logo img{
        max-height: 100px;
    }
}

#logo a {
    max-width: 100%;
    display: inline-block;
}

#logo img {
    margin: 0 auto;
}

/* small logo */
#navbar-logo{
    max-width: 70%;
    display: inline-block;
    padding: 10px;
}

#navbar-logo img{
    max-width: 100%;
    max-height: 100px;
}

#vernetzt {
    /* padding: 10px 0; */
}

/* xs, sm */
@media (max-width: 991px) {
    /*
    #vernetzt {
        padding: 20px 0px 0px 0px;
    }
    */
}

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

/* xs, sm, md  */
@media (max-width: 1199px) {
    /*  custom stuff here  */
}

/* xs, sm */
@media (max-width: 991px) {
    /*  custom stuff here  */

    /* hide side-labels */
    #content_buttons_div {
        display: none;
    }

    /* hide slider-mask */
    .slider-mask {
        display: none;
    }
}

/*  xs  */
@media (max-width: 767px) {
    /*  custom stuff here  */
}

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


#headerpic {
    max-height: 459px;
    margin: 0 auto;
    overflow: hidden;}

.slider-mask{
    display: none;
    background: url('../img/slider_mask.jpg') top center no-repeat;
    background-size: contain; /* remove if not correctly sliced */
}

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

/* --------------------------------------------- tab-section -------------------------------------------- */

.box {
    width: 100%;
    background: #ffffff;
}

.box *:not(.row) {
    max-width: 100%;
}

.boxtop {
    background: #006a93;
    color: #ffffff;
    font-size: 22px;
    font-family: Delius, sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    padding: 0 6%;
}

.boxbody {
    color: #3e3e3e;
}

.boxindent {
    color: #3e3e3e;
    width: 88%;
    padding: 5px 0;
    margin: 0 auto;
}

.box a {
    color: #dd3d80;
}

#topbar .box{
    background: transparent;
    box-shadow: none;
}

#topbar .boxindent{
    color: #00749f;
}

#topbar .boxindent a{
    color: #00749f;
    font-weight: 700;
}

#tabs-wrapper .box{
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.12);
    -moz-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.12);
    box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.12);
    padding-bottom: 25px;
}

@media(max-width:991px){
    #tabs-wrapper .box{
        margin-bottom: 25px;
    }
}

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

#style {
}

#switch {
    padding-left: 35px;
}

#switch a{
    color: #00749f;
    margin-right: 12px;
    font-family: Delius, sans-serif;
    position: relative;
}

#style_std,
#style_mid{
    font-size: 20px;
}
#style_big{
    font-size: 24px;
}

#style_std::before{
    content: '';
    display: block;
    position: absolute;
    left: -25px;
    height: 16px;
    width: 21px;
    top: 3px;
    background: url('../img/bg_styler.png') left no-repeat;
    pointer-events: none;
}

/* ------------------------------------------ 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, h4, #content .legacy_h4, .legacy_h4, h2, #content .legacy_h2, .legacy_h2{
    color: #0093cb;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Delius, sans-serif;
}


h1, #content .legacy_h1, .legacy_h1, h3, #content .legacy_h3, .legacy_h3, h5, #content .legacy_h5, .legacy_h5 {
    color: #006a93;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Delius, sans-serif;
}


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


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

/* use if page is dark
.vorschau, .description{
    color: #FFFFFF;
}

.immo-tab{
    color: #000000;
}
*/

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


/* ---------------------------------------------- tab-fonts --------------------------------------------- */

.tab_link_title a {
    color: #3e3e3e;
    font-weight: normal;
}

.tab_link {
    color: #3e3e3e;
}

.tab_link_mehr {
    color: #dd3d80;
}

.tab_link_mehr a {
    color: #dd3d80;
}

.tab_link_mandat a {
    color: #3e3e3e;
}

#tabs-wrapper .tab_link_mehr{
    color: transparent;
    margin: 15px 0;
    text-align: center !important;
}

#tabs-wrapper .tab_link_mehr a{
    color: #fff;
    background: #00adee;
    border-radius: 4px;
    padding: 5px 10px;
    text-transform: uppercase;
}

/* -------------------------------- 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 ------------------------------------------------ */



/* --------------------------------------- navigation bar (21216) --------------------------------------- */

.navbar-default ul.navbar-nav{
}

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

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

/* burgermenu - mouseover */
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #fff;
}

/* burgermenu for tablet */
@media (max-width: 991px) {
    .navbar-default ul.navbar-nav{
        height: auto;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .navbar-header .collapse, .navbar-toggle {
        display: block !important;
    }

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

    .navbar-nav {
        float: none;
        margin: 7.5px -15px;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

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

}

/* menu fixed top (tablet) */

/*** Menü über komplette Breite (1200px) ***/
@media (min-width: 992px) {
    .navbar-default .navbar-nav {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
    }

    .navbar-default .navbar-nav > li {
        float: none;
        flex-grow: 1;
    }
}

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

.navbar-default .navbar-nav > li {
    background-color: #00adee;
}

.navbar-default .navbar-nav > li > a {
    color: #ffffff;
    font-weight: normal;
    text-align: center;
    padding: 20px 5px;
    font-family: Delius;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}

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

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

.navbar-default .navbar-nav > li:hover,
.navbar-default .navbar-nav > li:focus,
.navbar-default .navbar-nav > li.open,
.navbar-default .navbar-nav > li.menue_point_toplevel_21216_over{
    background-color: #0093cb;
}

.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_21216_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_21216_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_21216_over > a:focus {
    color: #ffffff;
    font-weight: normal;
}


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

@media(min-width:992px){
    .navbar-default .navbar-nav > li > .dropdown-menu {
        margin-top: 20px;
    }
    .navbar-default .navbar-nav > li > .dropdown-menu::before {
        content: '';
        display: block;
        position: absolute;
        top: -11px;
        left: 0;
        right: 0;
        height: 11px;
        width: 28px;
        margin: 0 auto;
        background: url('../img/pseudo_dropdown.png') bottom no-repeat;
    }
}

.navbar-default .navbar-nav > li > .dropdown-menu {
    padding: 0px;    background-color: #0093cb;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
}

.menue_group_21216_start{
    height:8px;
}

.menue_group_21216_end{
    height:8px;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #ffffff;
    font-weight: normal;
    line-height: 30px;
    text-align: center;
    padding-left: 15px;
}

/* ------------------------------------------ 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_21216_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_21216_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_21216_over > a:focus {
    color: #ffffff;
    font-weight: normal;
    background-color: #007dad;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding: 0px;
    margin: 0;
    background-color: #007dad;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
}

/* keep dropdown open in case the secondlevel is active */
.menue_point_secondlevel_21216_over > .dropdown-menu{
    display: block !important;
}

.menue_list_thirdlevel_21216_start {
    height:8px;
}

.menue_list_thirdlevel_21216_end {
    height:8px;
}

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

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

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

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #ffffff;
    font-weight: normal;
    line-height: 30px;
    padding-left: 15px;
    text-align: center;
}

/* ------------------------------------------- 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_21216_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21216_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21216_over > a:focus {
    color: #ffffff;
    font-weight: normal;
    background-color: #006a93}

@media(min-width:992px){
    .navbar-nav > li{
        display: inline-block !important;
    }
}