@import url('https://fonts.verwaltungsportal.de/import/?family=Raleway:400,500,500i,600,600i,700,900');

body {
    font-family: 'Raleway', sans-serif;
    color: #000;
    background: #f7f7f7;
}

a {
    color: #73900a;
}

a:hover {
    color: #73900a;
}

#maindiv {
    width: 100%;
    line-height: 1.3em;
    text-align: left;
    position: relative;
    z-index: 7;
}

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


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

/* change to #footer for inner-containment */
#footer-wrapper {
    background: #38302e;
}

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

#footer {
    min-height: 164px;
    color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
}

/*  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: 10px 15px;
    }

    #innerfooter {
        color: #fff;
        font-weight: normal;
        font-style: normal;
        margin-top: 20px;
    }
}

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


}

#innerfooter {
    color: #fff;
    font-weight: normal;
    font-style: normal;

}

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

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


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

@media(min-width:992px){
    .container .navbar-header, .container .navbar-collapse {
        margin-right: -15px;
        margin-left: -15px;
    }
}

#topbar-wrapper {
    min-height: 280px;
}

#navigation-sticky-wrapper{
    background: transparent;
}

/*OHNE ANIMATION*/
.is-sticky #navigation{
    background: rgba(255, 255, 255, 0.8);
    padding-top: 10px;
}

/*MIT ANIMATION*/
.is-sticky #navigation{
    background: rgba(255, 255, 255, 0.8);
    -webkit-transition: background 100ms linear;
    -moz-transition: background 100ms linear;
    -ms-transition: background 100ms linear;
    -o-transition: background 100ms linear;
    transition: background 100ms linear;
}


#logo {
    min-height: 10px;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    padding-top: 30px;
}

#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;
    padding: 15px 0 0 15px;
}

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

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

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

    #vernetzt {
        padding: 20px 0px 0px 0px;
    }

}

#content_buttons_div {
    top: 40%;
    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 {
    height: 100%;
    position: fixed;
    width: 100%;
}

#slider, .slider-wrapper {
    height: 100%;
    min-width: 1080px;
}

.slider-mask{
    display: block;
    background: url('../img/slider_mask.png') top center no-repeat;
    background-size: cover;
}


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


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

.box {
    width: 100%;
    background: #fff;
    -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: 40px;
    border-radius: 5px;

}

.box2 {
    width: 100%;
    margin-bottom: 40px;

}

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

.boxtop {
    background: rgb(129,200,82); /* Old browsers */
    background: -moz-linear-gradient(left, rgba(129,200,82,1) 35%, rgba(146,239,46,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(129,200,82,1) 35%,rgba(146,239,46,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(129,200,82,1) 35%,rgba(146,239,46,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    color: #fff;
    font-size: 21px;
    font-family: 'Raleway', sans-serif;
    min-height: 50px;
    line-height: 50px;
    font-weight: bold;
    padding: 0 6%;
    border-radius: 5px 5px 0px 0px;
    border-top: 1px solid #fff;
}

/*
#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: #7d7d7d;
    min-height: 50px;
}


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

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

.boxbottom {
    height: 10px;
    line-height: 1px;
    font-size: 1px;
    background: #81c852;
    border-radius: 0px 0px 5px 5px;
}


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



#style {
    min-height: 35px;
    padding-top: 5px;
}

#switch {
    font-size: 1px;
    line-height: 20px;
    text-align: center;
}

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

#styler {
    padding-bottom: 5px;
    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 {
    color: #73900a;
    font-weight: bold;
    line-height: 1.2em;
    font-family: 'Raleway', sans-serif;
}

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

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

}
*/

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


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

.tab_link {
    color: #7d7d7d;
}

.tab_link_mehr {
    color: #7d7d7d;
}

.tab_link_mehr a {
    color: #138bc3;
}

.tab_link_mandat a {
    color: #138bc3;
}



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

.navbar-header{
    background: transparent;
    transition: 0.3s;
}

@media(max-width:991px){
    .is-sticky .navbar-header{
        background: rgba(255,255,255,0.7);
    }
}

#navigation .container {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

/* --------------------------------------- navigation bar (19027) --------------------------------------- */

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

.navbar {
    min-height: 60px;
    margin-bottom: 15px;
    border: none;
    border-spacing: 5px 0;
    border-collapse: separate;
}

/* burgermenu - background */
.navbar-default .navbar-toggle {
    background-color: #81c852;
    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;
    }

    /* 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: #97be0d;
    border-radius: 10px;
    box-shadow: 0px 3px 5px rgba(0, 0 ,0, 0.2);
}

.navbar-default .navbar-nav > li > a {
    color: #2d2d2d;
    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.menue_point_toplevel_19027_over{

    background: #97be0d;
    border-radius: 10px;
    box-shadow: 0px 3px 5px rgba(0, 0 ,0, 0.2);
}

.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_19027_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_19027_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_19027_over > a:focus {
    color: #2d2d2d;
}


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

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

.navbar-default .navbar-nav > li > .dropdown-menu {
    padding: 0px;    margin: 0;
    margin-top: 0px;
    background-color: rgba(255,255,255,0.9);
    box-shadow: 5px 2px 5px 0px rgba(0,0,0,0.2);
    z-index: 30;
    width: 100%;
}

.menue_group_19027_start{
    height: 26px;
    font-size: 1px;
    line-height: 1px;
    background: url('../img/toplevel_over.png') bottom center no-repeat;

}

.menue_group_19027_end{
    height: 5px;
    font-size: 1px;
    line-height: 1px;

}

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

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

}

/* ------------------------------------------ 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_19027_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19027_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19027_over > a:focus {
    color: #73900a;

}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding: 0px;
    margin: 0;
    background-color: rgba(255,255,255,0.9);
    box-shadow: 5px 2px 5px 0px rgba(0,0,0,0.2);
}

.menue_list_thirdlevel_19027_start {
    height: 5px;
    font-size: 1px;
    line-height: 1px;

}

.menue_list_thirdlevel_19027_end {
    height: 5px;
    font-size: 1px;
    line-height: 1px;

}

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

    /* Thirdlevel - right dropdown */
    .navbar-default .navbar-nav > li > .dropdown-menu > li {
        position: relative;
    }

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

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #000;
    font-weight: normal;
    line-height: 45px;
    padding-left: 35px;


}

/* ------------------------------------------- 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_19027_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19027_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19027_over > a:focus {
    color: #73900a;
    font-weight: normal;
    background: url('../img/thirdlevel_over.png') center left no-repeat;
    padding-left: 35px;
}

@media(min-width:768px) {
    .navbar-nav > li:hover > ul,
    .navbar-nav > li > ul > li:hover > ul{
        display: block;
    }
}