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

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #2a2a2a;
    background: #f0f0f1;
    background: #3d6534 url('../img/bg_body.jpg') top center no-repeat;
    background-size:cover;
}

a {
    color: #316e00;
}

#maindiv {
    margin: 0 auto;

}

#main {
    margin: 0 auto;
    background:#dce5c5;
    border-radius:3px;
    border-top: #fff 2px solid;
}



#vernetzt {
    margin: 30px 0px 0px 0px;
    text-align: left;

}

@media(max-width:767px){
    #vernetzt {
        margin: 17px 0px 0px 0px;
        text-align: center;
    }
}

#middle {
    width: 100%;
    line-height: 18px;
    text-align:left;
    min-height:400px;
}

#content{
    margin-top: 100px;
    line-height: 18px;
    text-align:left;
    min-height:400px;
}

@media(max-width:767px){
    #content {
        margin-top: 140px;
    }
}


/* Footer*/

#footer{
    min-height:138px;
    background: url('../img/bg_footer.jpg') top center no-repeat;
    background-size:cover;
    margin: 0 auto;
    width:100%;
    margin-bottom:60px;
}

#innerfooter{
    color:#fff;
    font-size:15px;
    font-style:normal;
    text-align:right;
    padding-top:30px;
}
#innerfooter a {
    color: #fff;
    font-size: 15px;
    list-style:none;
}

#innerfooter a:hover{
    color: #fff;
    font-size: 15px;
    font-weight:bold;
    list-style:none;
    text-decoration: none;
}

@media(max-width: 767px) {
    #innerfooter{
        color:#fff;
        font-style:normal;
        text-align:center;
        padding-top: 60px;
    }
}

/* **************************** INDIVIDUELLES ******************************************/

#topbar {
    width: 100%;
    -webkit-box-shadow: 0px 18px 18px 3px rgba(0,0,0,0.43);
    -moz-box-shadow: 0px 18px 18px 3px rgba(0,0,0,0.43);
    box-shadow: 0px 18px 18px 3px rgba(0,0,0,0.43);
    background: linear-gradient(top, #4b9111 0%, #3a7609 54%, #235c0e 100%); background: -moz-linear-gradient(top, #4b9111 0%, #3a7609 54%, #235c0e 100%); background: -webkit-linear-gradient(top, #4b9111 0%, #3a7609 54%, #235c0e 100%); background: -ms-linear-gradient(top, #4b9111 0%, #3a7609 54%, #235c0e 100%); background: -o-linear-gradient(top, #4b9111 0%, #3a7609 54%, #235c0e 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4b9111, endColorstr=#235c0e,GradientType=1);
}

#top {
    width: 100%;
    height: auto;
    z-index: 51;
    position:fixed;
    opacity:0.9;
}


/***Banner �ber 1000px**/
#headerpic {
    margin: 0 auto;
    background-size: cover;
    margin-top:27px;
   max-width:472px;
   height:240px;
   position: relative;
   z-index:2;
}

#headerpic img {
    max-width: 100%;
    margin: 0 auto;
}


#schriftzug{
    max-width:100%;
    height:auto;
    margin-top: 27px;
}

#sg {
    color: #fff;
    font-size: 29px;
    margin-bottom: 15px;
    margin-left: 321px;
    margin-top: 5px;
    text-align: center;
}

@media(max-width: 767px) {
    #sg{text-align: right;
        margin-top: 5px;
        margin-bottom: 75px;
        margin-left: 0px;}

}


/*****/


/* ************************ TABS ************************/

.box {
    text-align: left;
    width: 100%;
    margin-top: 30px;
    min-height:200px;
}

.boxtop {
    background:#3b3b3b;
    color: #fff;
    font-family:arial;
    font-size: 17px !important;
    font-weight: bold;
    height: 70px;
    line-height: 66px;
    text-align: center;
}

.boxindent {
    color: #4b4b4b;
    margin: 0 auto;
    width: 88%;
}
.boxbody{
    background:#fff repeat;
    min-height:150px; 
}
.boxbottom {
    height: 10px;
}

#logo {
    left: 152px;
    position: absolute;
    top: -80px;
    z-index: 4;
}

@media (max-width: 768px) {
    #logo {
        left:14px;
        margin-top: 33px;
        position: absolute;
        top: -80px;
        z-index: 4;
    }
}

#counter {
    position: relative;
    text-align: right;
    bottom: 41px;
    color: #fff;
}

@media (max-width: 768px) {
    #counter {
        text-align:center;
         bottom: 75px;
    }
}
@media (max-width: 768px) {
#content_buttons_div { 
    display:none;
}
}


/***************************** STYLER *****************************/
#style {
    height: 155px;
    max-width: 320px;
    position: absolute;
    z-index: 10;
    padding-top: 10px;
}
#styler {
    width:170px;
    color: #fff;
    line-height: 40px;
    float: left;
    text-align: left;
    text-shadow: 0px 1px 7px rgba(0, 0, 0, 0.8);
    font-weight:600;
}

#switch {
    float: right;
    font-size: 1px;
    line-height: 1px;
    width: 128px;
}


.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: #4b6e00 !important;
    font-weight: normal;
    line-height: 1.2em;
    font-family: 'Open Sans', sans-serif;

}

.h4link a:link, .h4link a:hover, .h4link a:visited, h1, #content .legacy_h1, .legacy_h1 {
    color: #4b6e00 !important;
    font-weight: normal !important;
    line-height: 1.2em;
    font-family: 'Open Sans', sans-serif;

}

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

/* Dieser Bereich muss bearbeitet werden wenn die Seite dunkel ist.
.vorschau, .description{
        color: #FFFFFF;
}

.immo-tab{
        color: #000000;
}
*/

/* nicht aendern wenn weisser hintergrund */
#startseite_news ul a{
    font-size: 12px;
    color: #7C7C7C;
    font-weight: normal;
}

/* Tabschriften (classen) */
/*
.tab_link_title a {
        color: #;
        font-weight: bold;
}

.tab_link {
        color: #;
}

.tab_link_mehr {
        color: #;
}

.tab_link_mehr a {
        color: #;
}

.tab_link_mandat a {
        color: #;
}

*/
/* Tabschriften Ende */

/* Verstaltung optimiert fuer weissen Hintergrund */
.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;
}


#top {
    height: 120px;
}



/* ****************************** MENUE 14034 CSS **************************************
 ****************************** MENUE CSS *******************************************/

/***Quermen� mit DROPDOWN***/

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border: none !important;
}

#navigation {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

/* Button mobile Ansicht*/
.navbar-toggle {
    background-color: transparent;
    background-image: none;
    float: right !important;
    margin-bottom: 5px !important;
    margin-top: 5px !important;
    margin-left: 5px !important;
    padding: 5px 5px !important;
    position: relative;
}

/** Farbe Button**/
.navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #7caa1e !important;
}
/**Button f�r mobile Ansicht**/
.navbar-toggle {
    background-color: #7caa1e !important;
}

/**Logo**/
.navbar-brand{
    padding:0px !important;
}

.navbar {
    font-size: 17px !important;
    color:#a2d65f;
    margin-bottom: 0px !important;
    z-index:5;
    height:auto;
    /*min-height: 120px !important;*/
}



.navbar li a, .navbar .navbar-brand, .navbar li { 
    color: #a2d65f !important;
}

/**Toplevel**/
.navbar-nav li.active a,.navbar li a{
    color:#a2d65f !important;
    line-height:60px;
}

/***TOPLEVEL OVER**/
.navbar-nav li a:hover {
    color: #fff !important;
    background: linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -moz-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -webkit-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -ms-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -o-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#81ae1e, endColorstr=#629215,GradientType=1);   
    line-height: 60px;
}


.navbar-default .navbar-toggle {
    border-color: transparent;
}


/**SECONDLEVEL DROPDOWN**/
.open .dropdown-toggle { 
    color: #fff!important;
    background: linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -moz-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -webkit-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -ms-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -o-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#81ae1e, endColorstr=#629215,GradientType=1);   

}

/**DROPDOWN OVER EINZELNE MEN�PUNKTE**/
.dropdown-menu li a {
    color: #442711 !important;
    font-weight:normal !important;
    line-height:28px !important;

}

.dropdown-menu {
    margin: 0px 0 0 0 !important;

} 

.dropdown-menu li a:hover {
    border-bottom:2px #fff solid;
    line-height:26px !important;
    color:#295f0c !important;
    font-weight:bold !important;
    height:auto !important;
    background:none;
}


.dropdown-menu li a:active {
    border-bottom:2px #fff solid;
    line-height:26px !important;
    color:#295f0c !important;
    font-weight:bold !important;
    height:auto !important;
    background:none;
}

.nav-tabs li a {
    color: #777;
}

/* SECONDLEVEL MEN�GRUPPE EIGENSCHAFTEN**/

.menue_group_14034 {
    font-size: 14px !important;
    color:#727272 !important;
    background:#c6d1ad;
    opacity:0.9;
    text-align: left !important;
    z-index: 70 !important;
    top: auto !important;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3);
    border-top:2px #fff solid;
    -webkit-box-shadow: 0px 2px 18px 3px rgba(0,0,0,0.29);
    -moz-box-shadow: 0px 2px 18px 3px rgba(0,0,0,0.29);
    box-shadow: 0px 2px 18px 3px rgba(0,0,0,0.29);
}

.menue_group_14034 .menue_point_secondlevel_14034, .menue_group_14034 .menue_point_secondlevel_14034_over {
    position: relative;
}

.menue_list_thirdlevel_14034 {
    font-size: 14px !important;
    color:#727272 !important;
    background:#c6d1ad;
    opacity:0.9;
    z-index: 70 !important;
    float:right;
    top: 0px !important;
    left: 100% !important;
    right:0px !important;
    display:none;
    width:100%;
    display:none !important;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3);
    border-top:2px #fff solid;
    -webkit-box-shadow: 0px 2px 18px 3px rgba(0,0,0,0.29);
    -moz-box-shadow: 0px 2px 18px 3px rgba(0,0,0,0.29);
    box-shadow: 0px 2px 18px 3px rgba(0,0,0,0.29);
}

.menue_point_secondlevel_14034:hover .menue_list_thirdlevel_14034, .menue_point_secondlevel_14034_over:hover .menue_list_thirdlevel_14034 {
    display: block;
    display: block !important;
    z-index: 60;
}



@media(max-width:767px){
    .menue_list_thirdlevel_14034 {
        margin: 0 auto;
        width: 100% !important;
        text-align: center !important;
        background-color: #f7f7f7 !important;
    }

    .menue_group_14034 {
        background:#f7f7f7 !important;
    }

    .open .dropdown-toggle {
        color: #fff!important;
        background-color: #7eab1e !important;
        font-weight:bold !important;
    }

    .dropdown-menu li a {
        color: #442711!important;
        margin: 0 auto;
        text-align: center !important;
    }

    .navbar li a, .navbar .navbar-brand, .navbar li { 
        /* color: #0072b9 !important;*/
        /*border-bottom:1px solid #0072b9 !important;*/

    }
    #navigation{
        background-color:#245f0e !important;
    }

    .navbar-nav li a:hover {
        color: #442711 !important;
        font-weight: normal !important;
        background: linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -moz-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -webkit-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -ms-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -o-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#81ae1e, endColorstr=#629215,GradientType=1);   

    }

    .navbar-nav li.active a {
        color:#295f0c !important;
        background: linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -moz-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -webkit-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -ms-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); background: -o-linear-gradient(top, #81ae1e 0%, #81ae1e 45%, #629215 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#81ae1e, endColorstr=#629215,GradientType=1);   


    }

}
.dropdown-menu{
    text-align:left !important;

}

@media(min-width:768px) {
    ul.nav li.menue_point_toplevel_14034:hover ul.dropdown-menu {

        display: block;

        margin-top: 0px;

    }
}

@media(min-width:767px){

    .navbar-brand{
        display:none;

    }

}

