@import url('https://fonts.verwaltungsportal.de/import/?family=Muli:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i');

body {
    font-family: Muli, sans-serif;
    color: #2b2b2b;
    background: #ffffff;
}

a {
    color: #4b80b1;
}

a:hover {
    color: #4b80b1;
}

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

#bg-left  {
    background: #f0f4f7;
}

#bg-right  {
    background: #f0f4f7;
}

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


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

/* change to #footer for inner-containment */
#footer-wrapper {
    background: url('../img/bg_footer.jpg') top no-repeat;
    background-color: #173b49; /* for old browsers */
    background: -moz-linear-gradient(top, #173b49 0%, #062332 100%);
    background: -webkit-linear-gradient(top, #173b49 0%, #062332 100%);
    background: linear-gradient(to bottom, #173b49 0%, #062332 100%);
}

#footer {
    min-height: 44px;
    color: #ffffff;
}

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

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

@media (max-width: 991px) {
    #innerfooter {
        text-align: center;
    }
}

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

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


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

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

    background-color: #173b49; /* for old browsers */
    background: -moz-linear-gradient(top, #173b49 0%, #062332 100%);
    background: -webkit-linear-gradient(top, #173b49 0%, #062332 100%);
    background: linear-gradient(to bottom, #173b49 0%, #062332 100%);
}

.theme-default .nivo-controlNav {
    bottom: 35px !important;
}

@media (max-width: 991px) {
    .theme-default .nivo-controlNav {
        display: none;
    }
}

#menu-wrapper{
    background-color: #2b2a28;
}

#nope{
    min-height: 0px !important;
}

#logo {
    min-height: 0px;
    position: absolute;
    z-index: 8;
    height: 100%;
    width: 100%;
    top: 0;
}

#logo .container{
    display: table;
    height: 100%;
}

#logo a {
    max-width: 100%;
    display: table-cell;
    vertical-align: middle;
}

#logo img {
    margin: 0 auto;
}

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

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

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

/* xs, sm */
@media (max-width: 991px) {
    #vernetzt {
        padding: 10px 0px 25px 0px;
        text-align: center;
    }
}

#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 {
    }
}

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

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


#headerpic {
    max-height: 364px;
    margin: 0 auto;
    overflow: hidden;    
    position: relative;
    height: 100%;
}

.slider-mask{
    background: url('../img/slider_mask.png') center no-repeat;
    display: block;
    background-size: cover;
}
@media (max-width: 991px) {
    .slider-mask{
    background: url('../img/slider-mask-mobil.png') center no-repeat;
    display: block;
    background-size: cover;
    }
}

/* ----------------------------------------------- search ----------------------------------------------- */

#search, #search1 {
    height: 27px;
    width: 100%;
    position: absolute;
    z-index: 56;
    bottom: 10px;
}

#search_text, #search_text1 {
    color: #000;
    line-height: 27px;
    float: left;
    text-align: right;
    width: 27%;
}


#search_form, #search_form1{
    height: 27px;
    float: right;
    background: #72a5c1;
    width: 20%;
    margin-right: 25px;
}

#search_input, #search_input1 {
    width: 86%;
    float: left;
    color: #000;
    font-weight: normal;
    font-size: 12px;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 27px;
    padding-left: 10px;
    height: 27px;
}

#search_submit, #search_submit1 {
    width: 12%;
    float: right;
    background: #72a5c1;
    vertical-align: top;
    margin: 0 0 0 2px;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: url('../img/search_submit.png') center no-repeat;
    line-height: 27px;
}

@media(max-width:991px){
    #search_text,  #search_text1 {
        text-align: left;
        width: 15%;
    }

    #search_form, #search_form1 {
        width: 100%;
        margin-right: 0px;

    }

    #search, #search1 {
        position: relative;
    }
}

@media(max-width:768px){
    #search, #search1{
        margin-bottom: 15px;
    }

    #search_text, #search_text1 {
        text-align: left;
        width: 100%;
    }

    #search_form, #search_form1 {
        width: 100%;
    }
}




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

.box {
    width: 100%;
    background: transparent;
    margin: 22px 0px 25px 0px;
}

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

.boxtop {
    background: rgb(23,59,73); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(23,59,73,1) 0%, rgba(6,34,49,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(23,59,73,1) 0%,rgba(6,34,49,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(23,59,73,1) 0%,rgba(6,34,49,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    color: #ffffff;
    font-size: 22px;
    font-family: Muli, sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    padding: 0 6%;
}

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


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

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

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


#sg-tab-schutz {
    position: absolute;
    z-index: 56;
    bottom: 15px;
    right: 0px;
}

#sg-tab-schutz_indent {
    color: #ffffff;
    font-size: 14px;
    line-height: 20px;
    text-align: right;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 1);
}

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



#style {
    min-height: 45px;
}

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

#styler {
    color: #7b7b7b;
    line-height: 45px;
    float: left;
    text-align: right;
}

#switch {
    float: left;
}

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

.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: #2b2b2b;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Muli, sans-serif;
}

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

}
*/

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


/* ------------------------------------------------ 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: #2b2b2b;
    font-weight: normal;
}

.tab_link {
    color: #2b2b2b;
}

.tab_link_mehr {
    color: #2b2b2b;
}

.tab_link_mehr a {
    color: #076ab7;
}

.tab_link_mandat a {
    color: #2b2b2b;
}



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

.navbar-default ul.navbar-nav{
    height: 50px;
}

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

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

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

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

    /* fixed burgermenu-height */
    #menu-wrapper-sticky-wrapper{
        max-height: 84px !important;
    }

}

/* menu fixed top (tablet) */

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

    .navbar-default .navbar-nav > li {
        display: table-cell;
        width: 100%;
        float: none;
        vertical-align: middle;
    }
}

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

.navbar-default .navbar-nav > li {
    /*
    background: url('../img/toplevel.jpg') top left no-repeat;
    */
    background-color: #2b2a28;
}

.navbar-default .navbar-nav > li > a {
    color: #ffffff;
    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_17821_over{
    /*
    background: url('../img/toplevel_over.jpg') top right no-repeat;
    */
    background-color: #1f5a90;
}

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


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

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

.navbar-default .navbar-nav > li > .dropdown-menu {
    padding: 0px;    margin-top: 11px;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.35);
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.35);
    /* min-width: px; */
}

.menue_group_17821_start{
    height: 0px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

.menue_group_17821_end{
    height: 0px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent; /* override bootstrap */
    color: #2b2b2b;
    font-weight: normal;
    line-height: 30px;
    text-indent: 0px;
    text-align: left;
    /*
    background: url('../img/secondlevel.jpg') top right no-repeat;
    padding-right: 0px;
    */
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

/* ------------------------------------------ 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_17821_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_17821_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_17821_over > a:focus {
    color: #2b2b2b;
    font-weight: normal;
    /*
    background: url('../img/secondlevel_over.jpg') top right no-repeat;
    */
    background-color: #ececec;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
}

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

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

.menue_list_thirdlevel_17821_start {
    height: 0px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

.menue_list_thirdlevel_17821_end {
    height: 0px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

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

    /* Thirdlevel - right dropdown */
    .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; /*override bootstrap*/
    color: #2b2b2b;
    font-weight: normal;
    line-height: 30px;
    /*
    background: url('../img/thirdlevel.jpg') top right no-repeat;
    padding-right: 0px;
    */
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

/* ------------------------------------------- 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_17821_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_17821_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_17821_over > a:focus {
    color: #2b2b2b;
    font-weight: normal;
    /*
    background: url('../img/thirdlevel_over.jpg') top right no-repeat;
    */
    background-color: #ececec;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
}

