@import url('https://fonts.verwaltungsportal.de/css?family=Roboto:300,300i,400,400i,500,500i,700,700i&display=swap');
@import url('https://fonts.verwaltungsportal.de/css?family=Abril+Fatface&display=swap');

body {
    font-family: Roboto, sans-serif;
    color: #2d2d2d;
    background: #ffffff;
    font-weight: 300;
}

a {
    color: #e81919;
}

a:hover {
    color: #e81919;
}

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

#content-wrapper{
    background: url('../img/bg_cw.png') bottom no-repeat #fff;
    background-size: contain;
    padding-top: 25px;
}

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

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

/* change to #footer for inner-containment */
#footer-wrapper {
    background: url('../img/bg_footer.jpg') top no-repeat;
    background-color: #0f0f65;
    background: -moz-linear-gradient(top, #0f0f65 0%, #070746 100%);
    background: -webkit-linear-gradient(top, #0f0f65 0%, #070746 100%);
    background: linear-gradient(to bottom, #0f0f65 0%, #070746 100%);
    padding: 25px 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;
    }
}

#innerfooter {
    line-height: 25px;
    color: #ffffff;
    font-weight: normal;
    font-style: normal;
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around;
}

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

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


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

.nivo-directionNav a, .theme-default .nivo-controlNav{
    z-index: 56 !important;
}


.nopadding{
    padding: 0;
}

@media(min-width:992px){
    .buttoncol a{
        float: right;
    }
}

#nach_oben{
    height:33px;
    width: 33px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: url('../img/arrow.png') center no-repeat;
}

@media(max-width:991px){
    #nach_oben{
        margin: 0 auto;
    }
}

.overlay{
    background: rgba(26,66,91,0.5);
    z-index: 54;
    pointer-events: none;
}

@media(min-width:992px){
    .overlay{
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(26,66,91,0.5) url('../img/bg_overlay.png') bottom no-repeat;
        background-size: contain;
        padding-bottom: 120px;
    }
    .overlay .container,
    .overlay .row{
        height: 100%;
    }
    .overlay .row{
        display: flex;
        align-items: flex-end;
    }
}

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

#topbar {
    background-color: #ffffff;
    padding: 15px 0;
    -webkit-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.3);
    position: relative;
    z-index: 58;
}

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

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

#menu-wrapper-sticky-wrapper{
    height: auto !important;
    z-index: 57;
}

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

#logo {
}

#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 {
    margin: 0 auto;
    position: relative;
}

#slider{
    max-height: 500px;
    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: #ffffff;
    color: #000000;
    font-size: 120%;
    font-family: Roboto, sans-serif;
    line-height: 25px;
    font-weight: bold;
    padding: 10px 6%;
}

.boxbody {
    color: #000000;
}


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

.box a {
    color: #e81919;
}

.boxbottom {
    line-height: 1px;
    font-size: 1px;
}

@media(max-width:991px){
    #topbar .box{
        margin-bottom: 20px;
    }   
}

.overlay .box{
    background: transparent;
    pointer-events: auto;
}

.overlay .box p{
    margin: 10px 0;
}

.overlay .boxindent{
    color: #fff;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
    font-size: 150%;
    line-height: 1.2em;
    text-transform: uppercase;
}

.overlay .boxindent a{
    color: #fff;
    padding: 10px 15px;
    border: 1px solid #fff;
    margin-top: 10px;
}

.overlay .boxindent a:hover{
    background: -moz-linear-gradient(top, rgba(36,36,149,1) 0%, rgba(19,19,117,1) 100%);
    background: -webkit-linear-gradient(top, rgba(36,36,149,1) 0%,rgba(19,19,117,1) 100%);
    background: linear-gradient(to bottom, rgba(36,36,149,1) 0%,rgba(19,19,117,1) 100%);
    border: 1px solid transparent;
}

.overlay .boxindent em{
    font-size: 250%;
    position: relative;
    font-family: Abril fatface, serif;
    line-height: 1.4em;
    font-style: normal;
    text-transform: none;
}

.overlay .boxindent em::before{
    content: '';
    display: block;
    position: absolute;
    top: 57%;
    bottom: 0;
    left: -42px;;
    height: 2px;
    background: #fff;
    width:25px;
}
.overlay .boxindent em::after{
    content: '';
    display: block;
    position: absolute;
    top: 57%;
    bottom: 0;
    right: -42px;;
    height: 2px;
    background: #fff;
    width:25px;
}

#bg-left .box{
    background: #fff;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

#bg-left .boxtop{
    background: url('../img/bg_boxtop_left.jpg') left no-repeat, url('../img/bg_boxtop_right.jpg') right no-repeat;
    padding: 10px 25px;
    letter-spacing: 1px;
}

#menu-wrapper .box{
    background: transparent;
}

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

#style {
    margin-bottom: 20px;
}

#switch {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#switch a{
    line-height: 36px;
    width: 36px;
    display: inline-block;
    margin-left: 20px;
    font-family: Abril fatface, serif;
    color: #fff;
    background: #10106b;
    font-size: 20px;
    text-align: center;
}

/* ------------------------------------------ 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: #131371;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Roboto, sans-serif;
}

/*
h1, #content .legacy_h1, .legacy_h1 {

}
*/

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


/* ------------------------------------------------ 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: #000000;
    font-weight: bold;
}

.tab_link {
    color: #000000;
}

.tab_link_mehr {
    color: #e81919;
}

.tab_link_mehr a {
    color: #e81919;
}

#bg-left .tab_link_mehr{
    color: transparent;
}

#bg-left .tab_link_mehr a{
    font-weight: 600;
    text-transform: uppercase;
}

.tab_link_mandat a {
    color: #000000;
}



/* -------------------------------- 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 (21228) --------------------------------------- */

.navbar-default ul.navbar-nav{
}

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

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

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

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

.navbar-default .navbar-nav > li > a {
    color: #2a2a2a;
    font-weight: normal;
    text-align: center;
    padding: 10px 5px;
    text-transform: uppercase;
}

@media(min-width:992px){
    .navbar-default .navbar-nav > li > a {
        padding: 35px 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_21228_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_21228_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_21228_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_21228_over > a:focus {
    color: #ffffff;
    font-weight: normal;
    background: rgb(36,36,149);
    background: -moz-linear-gradient(top, rgba(36,36,149,1) 0%, rgba(19,19,117,1) 100%);
    background: -webkit-linear-gradient(top, rgba(36,36,149,1) 0%,rgba(19,19,117,1) 100%);
    background: linear-gradient(to bottom, rgba(36,36,149,1) 0%,rgba(19,19,117,1) 100%);
}


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

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

.navbar-default .navbar-nav > li > .dropdown-menu {
    padding: 0px;    background-color: rgba(255,255,255,0.95);
    -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_21228_start{
    height:10px;
}

.menue_group_21228_end{
    height:10px;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #2d2d2d;
    font-weight: normal;
    line-height: 25px;
    text-align: left;
    background: url('../img/secondlevel.png') left no-repeat;
    padding-left: 54px;
    padding-right: 50px;
}

@media(max-width:991px){
    .navbar-default .navbar-nav > li > .dropdown-menu > li > a {
        text-align: center;   
    }
}

/* ------------------------------------------ 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_21228_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_21228_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_21228_over > a:focus {
    color: #212190;
    font-weight: normal;
    background: url('../img/secondlevel_over.png') left no-repeat;
    background-color: transparent;
    font-style: italic;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding: 0px;
    margin: 0;
    background-color: rgba(255,255,255,0.95);
    -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_21228_over > .dropdown-menu{
    display: block !important;
}

.menue_list_thirdlevel_21228_start {
    height:10px;
}

.menue_list_thirdlevel_21228_end {
    height:10px;
}

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

    .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: #2d2d2d;
    font-weight: normal;
    line-height: 25px;
    padding-left: 54px;
    background: url('../img/secondlevel.png') left no-repeat;
    padding-right: 50px;
}

@media(max-width:991px){
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
        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_21228_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21228_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21228_over > a:focus {
    color: #212190;
    font-weight: normal;
    background-color: transparent;
    background: url('../img/secondlevel_over.png') left no-repeat;
    font-style: italic;
}

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