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

body {
    font-family: 'PT Sans', sans-serif;
    font-size: 15px;
    color: #3b3b3b;
    background: #ffffff;
}

a {
    color: #981702;
}

#maindiv {
    width: 100%;
    margin: 0 auto;
}

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

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

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

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

/* Footer*/

#footer_pattern {
    background: #535353;
    width: 100%;
    margin: 0 auto;
}

#footer {
    margin: 0 auto;

}

#innerfooter {
    color: #ffffff;
    font-size: 15px;
    font-style: normal;
    line-height: 216px;
    text-align: left;
}

#innerfooter a {
    color: #ffffff;
    font-size: 15px;
    list-style: none;
}

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

@media only screen and (max-width: 767px) {
    #innerfooter {
        color: #ffffff;
        font-size: 15px;
        font-style: normal;
        line-height: 50px;
        padding-top: 50px;
        text-align: center;
    }
}

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

#topbar {
    height: 45px;
    width: 100%;
    z-index: 51;
    background: #ffffff;
    -webkit-box-shadow: 0px 8px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 8px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 8px 5px 0px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
    #topbar {
        height: auto;
        background: #207516;
    }

}

/***Banner �ber 1000px**/
#headerpic {
    margin: 0 auto;
    background-size: cover;
}

#headerpic img {
    max-width: 100%;

}

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

}

@media (max-width: 767px) {
    .slider-mask {
        display: none;
    }

}

/*****/

/***Suche**/
#search {
    width: 343px;
    height: 85px;
}

#search_text {
    width: 184px;
    height: 33px;
    float: left;
    color: #ffffff;
    line-height: 33px;
    text-align: left;
    font-weight: bold;
    font-size: 16px;
}

#search_form {
    width: 100%;
    height: 33px;
    float: left;
    border: 1px solid #d4d4d4;
    background: #ffffff;
}

#search_spacer {
    height: 0px;
    line-height: 1px;
    font-size: 1px;
}

#search_input {
    width: 100%;
    max-width: 290px;
    height: 30px;
    color: #949494;
    font-size: 14px;
    font-family: Arial, Verdana, Helvetica, sans-serif;
    background: transparent;
    vertical-align: top;
    margin: 0 0 0px 4px;
    padding: 0;
    border: 0;
}

#search_submit {
    background: rgba(0, 0, 0, 0) url("../img/search_submit.jpg") no-repeat scroll right top;
    border: 0 none;
    cursor: pointer;
    height: 31px;
    margin: 0;
    padding: 0;
    vertical-align: top;
    width: 47px;
}

#content_buttons_div {
    top: 70%;
}

@media (max-width: 767px) {
    #content_buttons_div {
        display: none;
    }

}

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

.box {
    text-align: left;
    width: 100%;
    margin-top: 30px;
    background: #ffffff;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
    position: relative;
    bottom: 53px;
    z-index: 50;
}

.boxtop {
    background: linear-gradient(top, #40e566 0%, #137028 48%, #137028 100%);
    background: -moz-linear-gradient(top, #40e566 0%, #137028 48%, #137028 100%);
    background: -webkit-linear-gradient(top, #40e566 0%, #137028 48%, #137028 100%);
    background: -ms-linear-gradient(top, #40e566 0%, #137028 48%, #137028 100%);
    background: -o-linear-gradient(top, #40e566 0%, #137028 48%, #137028 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#40e566, endColorstr=#137028, GradientType=1);
    border: #ffffff solid 3px;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 20px !important;
    font-weight: normal;
    font-family: 'Open Sans', sans-serif;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

.boxindent {
    color: #353637;
    margin: 0 auto;
    width: 88%;
}

.boxbody {
    background: #ffffff repeat;
    min-height: 50px;
}

.boxbottom {
    height: 10px;
}

/***************************** STYLER *****************************/

#style {
    height: 30px;
    line-height: 211px;
    text-align: left;
    color: #ffffff;
}

#style a {
    color: #ffffff;
    margin: 0 3px;
}

#style a:hover {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

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

.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: #208537 !important;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Arial, Times;
}

.h4link a:link, .h4link a:hover, .h4link a:visited, h1, #content .legacy_h1, .legacy_h1 {
    color: #208537 !important;
    font-weight: normal !important;
    line-height: 1.2em;
    font-family: Arial, Times;
}

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

/* ****************************** MENUE 16261 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: 3px !important;
    margin-top: 3px !important;
    margin-left: 3px !important;
    padding: 3px 3px !important;
    position: relative;
}

/** Farbe Button**/
.navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #945ae5 !important;
}

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

.navbar {
    font-size: 15px !important;
    color: #3b3b3b !important;
    margin-bottom: 0px !important;
    z-index: 39;

}

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

/**Toplevel**/
.navbar-nav li.active a, .navbar li a {
    color: #3b3b3b !important;
    /*line-height:30px !important;*/

}

/***TOPLEVEL OVER**/
.navbar-nav li a:hover {
    color: #ffffff !important;
    background: #945ae5 !important;
    font-weight: bold;
    /*font-style: italic;*/
}

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

/**Button f�r mobile Ansicht**/
.navbar-toggle {
    background-color: #945ae5 !important;

}

/**SECONDLEVEL DROPDOWN**/
.open .dropdown-toggle {
    color: #ffffff !important;
    background: #945ae5 !important;
    font-weight: bold;
    /*font-style: italic;*/
}

/**DROPDOWN OVER EINZELNE MEN�PUNKTE**/
.dropdown-menu li a {
    background: #09811f !important;
    font-weight: normal !important;
    line-height: 36px !important;
    color: #ffffff !important;

}

.dropdown-menu {
    margin: 0px 0 0 0 !important;
    background: #09811f;

}

.dropdown-menu li a:hover {
    background: #ffffff !important;
    /* line-height:36px !important;*/
    color: #945ae5 !important;
    font-weight: bold !important;
    height: auto !important;
}

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

/* SECONDLEVEL MEN�GRUPPE EIGENSCHAFTEN**/

.menue_group_16261 {
    font-size: 14px !important;
    color: #ffffff !important;
    background: #09811f !important;
    text-align: center !important;
    z-index: 70 !important;
    top: auto !important;
    display: none;
    border-top: 2px #ffffff solid;
}

/*.menue_group_16261 .menue_point_secondlevel_16261, .menue_group_16261 .menue_point_secondlevel_16261_over {
    position: relative;
}*/

.menue_list_thirdlevel_16261 {
    font-size: 14px !important;
    color: #ffffff !important;
    background: #09811f;
    text-align: center !important;
    z-index: 80;
    float: right;
    top: 0px !important;
    left: 100% !important;
    right: 0px !important;
    display: none;
    display: none !important;
    border-top: 2px #ffffff solid;
}

.menue_point_secondlevel_16261:hover .menue_list_thirdlevel_16261, .menue_point_secondlevel_16261_over:hover .menue_list_thirdlevel_16261 {
    display: block;
    display: block !important;
    z-index: 60;
}

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

    .menue_group_16261 {
        background: #09811f !important;
    }

    .open .dropdown-toggle {
        color: #ffffff !important;
        background-color: #945ae5 !important;
        font-weight: bold !important;
        font-weight: bold;
        /*font-style: italic;*/
    }

    .dropdown-menu li a {
        color: #ffffff !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: #ffffff !important;
    }

    .navbar-nav li a:hover {
        color: #ffffff !important;
        font-weight: normal !important;
        background: #945ae5 !important;

    }

    .navbar-nav li.active a {
        color: #ffffff !important;
        background-color: #945ae5 !important;

    }

}

.dropdown-menu {
    text-align: left !important;
    /*min-width: 320px ! important;*/

}

@media (min-width: 767px) {

    .navbar-brand {
        display: none;

    }

}

