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

body {
    font-family: Roboto, sans-serif;
     color: #555555;
    background: #ffffff;
}

a {
    color: #e31e24;
}

    a:hover {
        color: #e31e24;
    }

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

#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: #fff2b8;
    margin-top:70px;
    min-height:200px;
}

#footer {
    min-height: 100px;
    color: #151515;
    padding-top: 15px;
    padding-bottom: 15px;
}

/*  xs  */
@media (max-width: 767px) {
    /* 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;
    }
}

/* xs, sm */
@media (max-width: 991px) {
    #footer {
        padding: 5px 15px;
    }
}

/* md, lg */
@media (min-width: 768px) {
    /* footer-spacer-top */
    #footer > .row{
        padding-top: 60px;
        padding-bottom: 10px;
    }
}

#innerfooter {
    line-height: 30px;
    color: #151515;
    font-weight: normal;
    font-style: normal;
    margin-top:15px;
}

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

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


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

#topbar {
    min-height: 37px;
    line-height: 37px;
/*
    background: url('../img/bg_top.jpg') top center no-repeat;
*/

    background-color: #ffffff;

}

/* xs, sm */
@media (max-width: 991px) {
    /* spacing */
    #topbar .row > div{
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

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

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


#logo {
    margin-top:8px;
    position:absolute;
    z-index:25;
}



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

#logo img {
    margin: 0 auto;
}

/* small logo */
#navbar-logo{
    max-width: 60%;
    display: inline-block;
}

#navbar-logo img{
    max-width: 70%;
}

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

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

#content_buttons_div {
    top: 45%;
}

/* 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: 510px;
    margin: 0 auto;
    overflow: hidden;}

.slider-mask{
    display: none;
    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: #ffde4f;
        -webkit-box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.07);
    -moz-box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.07);
    box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.07);
        margin-bottom: 30px;
}

.box * {
    max-width: 100%;
}

.boxtop {
    background: #e31e24;
    color: #ffffff;
    font-size: 24px;
    font-family: Roboto, sans-serif;
    min-height: 48px;
    line-height: 48px;
    font-weight: bold;
    padding: 0 6%;
    text-align:center;
}

/*
#events .boxtop {
    background: url('../img/bg_box_events.jpg') top left no-repeat;
}
*/

.boxbody {
    color: #151515;
    min-height: 50px;
}


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

.box a {
    color: #e31e24;
    text-decoration: underline;
}

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


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



#style {
    min-height: 60px;
    margin-top:-1px;
    float:right;
    margin-bottom:30px;
}


#switch {
    float: left;
}

.a, .aa, .aaa {
    display: block;
    width: 24px;
    height: 60px;
    float: left;
    padding: 0;
    margin: 0 0 0 0px;
    font-size: 1px;
    line-height: 1px;
    margin-left:16px;
}

.a {
    background: url('../img/a.png') top center no-repeat;
}

.a:hover {
    background: url('../img/a_over.png') top center no-repeat;
}

.aa {
    background: url('../img/aa.png') top center no-repeat;
}

.aa:hover {
    background: url('../img/aa_over.png') top center no-repeat;
}

.aaa {
    background: url('../img/aaa.png') top center no-repeat;
}

.aaa:hover {
    background: url('../img/aaa_over.png') top center no-repeat;
}



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


h1, #content .legacy_h1, .legacy_h1 {
font-weight:bold;
}


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


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

.tab_link {
    color: #151515;
}

.tab_link_mehr {
    color: #151515;
}

.tab_link_mehr a {
    color: #e31e24;
}

.tab_link_mandat a {
}



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

.navbar-default ul.navbar-nav{
}

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

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

/* burgermenu - mouseover */
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: rgba(0, 0, 0, .2);
}

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

.navbar-default .navbar-nav > li > a {
    color: #151515;
    font-weight: normal;
    text-align: center;
    padding: 10px 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_19234_over{
    background-color: #e31e24;
}

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


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

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

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

.menue_group_19234_start{
    display: none;
}

.menue_group_19234_end{
    display: none;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #151515;
    font-weight: normal;
    line-height: 30px;
    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_19234_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19234_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19234_over > a:focus {
    color: #ffffff;
    font-weight: normal;

    background-color: #e31e24;
}

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

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

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

.menue_list_thirdlevel_19234_start {
    display: none;
}

.menue_list_thirdlevel_19234_end {
    display: none;
}

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

    .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: #151515;
    font-weight: normal;
    line-height: 30px;

    
    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_19234_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19234_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19234_over > a:focus {
    color: #ffffff;
    font-weight: normal;

    background-color: #e31e24}


@media(max-width:1199px){
    #logo{
        position:relative;
       
    }
    
    #logo img{
         width:60%;
    }
    
    
    
    #menu-wrapper{margin-top:20px;}
}

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