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

body {
    font-family: Lato, sans-serif;
    color: #5e5e5e;
    background: #fff;
}

a {
    color: #1d9344;
}

a:hover {
    color: #1d9344;
}

#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: #20a24b;
}

#footer {
    min-height: 100px;
    color: #fff;
    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: 20px;
        padding-bottom: 10px;
    }
}

#innerfooter {
    line-height: 30px;
    color: #fff;
    font-weight: normal;
    font-style: normal;
    padding-top: 50px;
}

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

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


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

#flex{
    display: flex;
    flex-wrap:wrap;
}

@media(max-width:767px){
    #myNavbar{
        margin-left: -36%;
    }
}

@media(max-width:991px){
    .navbar-header{
        margin-top: 10px;
    }
}
@media(min-width:992px){
    .navbar-header{
        margin-top: 13px;
    }
}

#menu-wrapper{
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 69;
}

@media(min-width:992px){
    #menu-wrapper{
        position: absolute;
        top: 31px;
        width: 100%;
        margin: 0 auto;
    }
}

.logo {
    min-height: 139px;
    position: relative;
    z-index: 39;
}

@media(max-width:991px){
    .logo{
        padding: 15px;
    }
}

@media(min-width:992px){
    .logo{
        margin-bottom: -13px;
        margin-top: -13px;
    }
}

.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 0;
}

#navbar-logo img{
    max-width: 155px;
}

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

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



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


#content_spacer {
    height: 67px;
    line-height: 1px;
    font-size: 1px;
}

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

#tab-wrapper {
    background: url('../img/bg_aktuelles.jpg') bottom center no-repeat, #00788e;
    min-height: 400px;
}

@media(max-width:991px){
    #tab-wrapper{
        background: #00788e;
    }
}

#teaser-wrapper {
    background: url('../img/bg_teaser.jpg') bottom center no-repeat, #20a24b;
}

#newsticker {
    color: #000000;
    background: #f2faf5;
    height: 40px;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 20px;
}

#newsticker a{
    color: #23b252;
}

@media(min-width:992px){
    #bg_oeffnungszeiten {
        border-right: 1px solid #1a843d;
    }
}

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

.nivo-controlNav {
    bottom: 7% !important;
}
/* --------------------------------------------- tab-section -------------------------------------------- */

.box {
    width: 100%;
    background: none;
    margin: 10px 0;
}

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

.boxtop {
    background: none;
    color: #fff;
    font-size: 22px;
    font-family: Lato, sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: bold;
    padding: 0 6%;
}

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

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

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


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

.box a {
    color: #fff;
}

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

#teaser-wrapper .boxindent img {
    border-radius: 100px;
    border: 10px solid #20a24b;
}

@media (min-width: 9927px) {
    #teaser-wrapper .box {
        width: 100%;
        background: none;
        margin-bottom: 10px;
        margin-top: -50px;
        position: relative;
        z-index: 39;
    }
}

#teaser-wrapper .boxindent {
    color: #fff;
    width: 100%;
    padding: 5px 0;
    margin: 0 auto;
    font-size: 20px;
}

#teaser-wrapper .boxindent a {
    color: #fff;
}

#sg-box {
    background: #1a843d;
    border-radius: 3px;
    width: 87%;
    margin: 0 auto;
    margin-bottom: 5px;
}
/* ----------------------------------------------- styler ----------------------------------------------- */



#style {
    min-height: 101px;
    background: url('../img/bg_styler.png') top center no-repeat;
}

#styler {
    color: #fff;
    line-height: 50px;
    text-align: center;
}

#switch {
    font-size: 1px;
    line-height: 1px;
    padding-top: 21px;
}

#switch a {
    margin-left: 3px;
}


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

#search {
    height: 67px;
    width: 100%;
    margin-top: 23px;
    margin-left: 15px;
    margin-bottom: 8px;
    position: relative;
    z-index: 55;
}

#search_form{
    height: 67px;
    background: rgba(255, 255, 255, 0.7);
    width: 100%;
    border-radius: 5px;

}

#search_submit {
    width: 100%;
    background: transparent;
    vertical-align: top;
    margin: 0 0 0 2px;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: url('../img/bg_suche.png') center no-repeat;
    line-height: 67px;
}

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

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

    #search_form {
        width: 100%;
    }
}


#search_input::-ms-input-placeholder,#newsletter_input::-ms-input-placeholder {
    color: #5e5e5e !important;
}
#search_input::-webkit-input-placeholder,#newsletter_input::-webkit-input-placeholder {
    color: #5e5e5e !important;
}

#search_input::-moz-placeholder,#newsletter_input::-moz-placeholder {
    opacity: 1;
}
#search_input:-moz-placeholder,#newsletter_input:-moz-placeholder {
    opacity: 1;
}
/* ------------------------------------------ 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 {
    color: #00788e;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Lato, sans-serif;
}

.h4link a:link, .h4link a:hover, .h4link a:visited, h1, #content .legacy_h1, .legacy_h1 {
    color: #00788e;
    font-weight: bold;
    line-height: 1.2em;
    font-family: Lato, sans-serif;
}

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

}
*/

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


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

.tab_link {
    color: #fff;
}

.tab_link_mehr {
    color: #fff;
}

.tab_link_mehr a {
    color: #fff;
}

.tab_link_mandat a {
    color: #fff;
}



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

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

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

@media(min-width:992px){
    .navbar{
        margin-top: -114px;
    }
}

/* burgermenu - background */
.navbar-default .navbar-toggle {
    background-color: #fff;
    border-color: transparent;
    height: 67px;
    line-height: 67px;
    width: 62px;
}

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

/* burgermenu for tablet */
@media (min-width: 768px) {
    .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 .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
    }

    /* burgermenu - centre text */
    .navbar-default .navbar-nav a{
        text-align: left !important;
    }

    .navbar-nav .menue_point_toplevel_18659_over > .dropdown-menu,
    .navbar-nav .menue_point_secondlevel_18659_over > .dropdown-menu
    {
        display: block !important;
    }
}


/* menu fixed top (tablet) */
@media (min-width: 992px) {


    /* fixed burgermenu - scrollable */
    #myNavbar {
        width: 100%;
        margin: 0 auto;
        height: auto;
        padding: 20px;
        position: absolute;
        top: 100%;
        left: 0px;
        z-index: 9999;
        text-align: left;
        background: url('../img/bg_bigbox.png') bottom center no-repeat, #ffffff;
        box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
    }
}

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

@media(min-width:992px){
    .navbar-default .navbar-nav > li {
        width: 23%;
        float: left;
        margin-right: 2%;
    }
}

.navbar-default .navbar-nav > li {
    list-style: outside none none;
    margin-bottom: 5px;
    position: relative !important;
}

.navbar-default .navbar-nav > li:nth-child(4n+5) {
    clear: both;
}


.navbar-default .navbar-nav > li > a {
    color: #003d48;
    font-weight: normal;
    text-align: center;
    padding: 10px 10px;
}

/* -------------------------------------------- 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_18881_over{
    background-color: #003d48;
    border-radius: 5px;
}

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

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



.menue_list_toplevel_18881 > li.open .dropdown-menu{
    display: block !important;
}

.nav > li {
    position: static !important;
}

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

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

.dropdown-menu {
    position: relative;
    width: 100%;
}

@media(min-width:992px){
    .dropdown-menu{
        display: block;
    }
}

.dropdown-menu > li > a {
    white-space: normal !important;
}

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

.menue_group_18881_start{
    display: none;
}

.menue_group_18881_end{
    display: none;
}

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

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

/* ------------------------------------------ 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_18881_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_18881_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_18881_over > a:focus {
    color: #fff;
    font-weight: normal;
    background: url('../img/secondlevel_over.png') left no-repeat;
    background-color: #23b252;
    border-radius: 5px;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding: 0px;
    margin: 0;
    width: 100%;
}

.menue_list_thirdlevel_18881_start {
    display: none;
}

.menue_list_thirdlevel_18881_end {
    display: none;
}

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

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



    .menue_list_thirdlevel_16804 {
        padding: 0px;
        display: block !important;
    }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #00788e;
    font-weight: normal;
    line-height: 25px;
    background: url('../img/thirdlevel.png') left no-repeat;
    padding-left: 50px;
}

/* ------------------------------------------- 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_18881_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_18881_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_18881_over > a:focus {
    color: #fff;
    font-weight: normal;
    background: url('../img/thirdlevel_over.png') left no-repeat;
    background-color: #23b252;
    border-radius: 5px;
}

.navbar-default .navbar-nav > li > .dropdown-menu{
    top: 0 !important;
}