@import 'https://fonts.verwaltungsportal.de/import/?family=Raleway|Shadows+Into+Light';
@import url('https://fonts.verwaltungsportal.de/import/?family=Open+Sans:300,300i,400,400i,600,600i,700,700i');
body {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px;
    color: #282828;
    background: #f0f0f1;
}

a {
    color: #618703;
}

#maindiv {
    width: 100%;
    margin: 0 auto;
    background: rgb(255, 255, 255);
    /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(248, 248, 248, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(248, 248, 248, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
}

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

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

#middle {
    width: 100%;
    line-height: 18px;
    text-align: left;
    min-height: 400px;
    background: #ffffff;
    padding: 15px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

#middle iframe {
    max-width: 100%;
}

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

/* Footer*/

#footer_pattern {
    background: rgb(205, 205, 205);
    /* Old browsers */
    background: -moz-linear-gradient(top, rgba(205, 205, 205, 1) 1%, rgba(215, 215, 215, 1) 17%, rgba(235, 235, 235, 1) 93%, rgba(210, 210, 210, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(205, 205, 205, 1) 1%, rgba(215, 215, 215, 1) 17%, rgba(235, 235, 235, 1) 93%, rgba(210, 210, 210, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    width: 100%;
    margin: 0 auto;
}

#footer {
    font-family: 'Open Sans', sans-serif !important;
    margin: 0 auto;
    padding-bottom: 30px;
}

#innerfooter {
    color: #282828;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif !important;
    font-style: normal;
    line-height: 68px;
    text-align: right;
}

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

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

@media only screen and (max-width: 991px) {
    #innerfooter {
        color: #282828;
        font-size: 15px;
        font-style: normal;
        line-height: 50px;
        text-align: center;
    }
    #content_buttons_div {
        display: none;
    }
}

#content_buttons_div {
    top: 45% !important;
}

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

#topbar {
    height: 90px;
    width: 100%;
    background: #dedddd;
}

.wappen {
    position: absolute;
}

.logo {
    margin-top: 25px;
}

.spacer {
    width: 100%;
    height: 40px;
}

.spacer2 {
    width: 100%;
    height: 25px;
}

/***Banner**/

#headerpic {
    margin: 0 auto;
    height: 277px;
}

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

@media only screen and (max-width: 991px) {
    #headerpic {
        margin: 0 auto;
        height: 145px;
    }
}

@media only screen and (max-width: 767px) {
    #headerpic {
        margin: 0 auto;
        height: 100px;
    }
}

.int-box {
    margin-top: 10px;
    padding-top: 20px;
    min-height: 180px;
}

.int-row {
    margin-bottom: 10px;
}

#ib1 {
    background: #6b7f26;
}

#ib2 {
    background: #7f992a;
}

#ib3 {
    background: #a3c339;
}

#ib4 {
    background: #b0d33d;
}

#ib5 {
    background: #c2e54b;
}

#ib6 {
    background: #c9ec53;
}

/***Suche**/

#search {
    width: 70%;
    height: 84px;
    background: rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    position: relative;
    z-index: 55;
    margin-top: -185px;
}

#search_form {
    width: 92%;
    height: 44px;
    padding-top: 22px;
    margin: 0 auto;
}

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

#search_input {
    width: 88%;
    height: 40px;
    color: #828282;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif !important;
    background: transparent;
    vertical-align: top;
    margin: 0 0 0px 0px;
    padding: 0 0 0 10px;
    border: 0;
    background: #ffffff;
    border-radius: 5px;
    float: left;
}

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

@media only screen and (max-width: 991px) {
    #search {
        margin-top: 10px;
        width: 100%;
    }
    #search_input {
        width: 78%;
    }
    #search_submit {
        width: 18%;
    }
}

@media only screen and (max-width: 520px) {
    #search {
        margin-top: 10px;
    }
    #search_input {
        width: 70%;
    }
    #search_submit {
        width: 25%;
    }
}

/***Suche**/

#newsletter {
    width: 70%;
    min-height: 84px;
    background: rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

#newsletter_txt {
    width: 92%;
    line-height: 44px;
    text-align: left;
    font-weight: bold;
    color: #ffffff;
    font-size: 17px;
    margin: 0 auto;
}

#newsletter_form {
    width: 92%;
    height: 32px;
    margin: 0 auto;
}

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

#newsletter_input {
    width: 88%;
    height: 32px;
    color: #828282;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif !important;
    background: transparent;
    vertical-align: top;
    margin: 0 0 0px 0px;
    padding: 0 0 0 10px;
    border: 0;
    background: #ffffff;
    border-radius: 5px;
    float: left;
}

#newsletter_submit {
    background: rgba(0, 0, 0, 0) url("../img/newsletter_submit.png") no-repeat scroll right top;
    border: 0 none;
    cursor: pointer;
    height: 32px;
    margin: 0;
    padding: 0;
    vertical-align: top;
    width: 10%;
    float: right;
}

@media only screen and (max-width: 991px) {
    #newsletter {
        margin-top: 10px;
        width: 100%;
    }
}

@media only screen and (max-width: 520px) {
    #newsletter {
        margin-top: 10px;
    }
    #newsletter_input {
        width: 70%;
    }
    #newsletter_submit {
        width: 25%;
    }
}

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

.box {
    text-align: left;
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    background: #ffffff;
}

.boxtop {
    background: #b9da49;
    color: #376711;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 20px !important;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

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

.boxbody {
    min-height: 50px;
}

.boxbottom {
    height: 10px;
}

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

#style {
    height: 47px;
    padding-top: 10px;
}

#switch {
    text-align: right;
    width: 100px;
    font-size: 1px;
    line-height: 1px;
}

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

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

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

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

#startseite_news ul a {
    font-size: 12px;
    color: #7c7c7c;
    font-weight: normal;
}

/* Verstaltung  */

.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 16870 CSS **************************************/

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

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

/* Button mobile Ansicht*/

@media only screen and (max-width: 767px) {
    .navbar-toggle {
        display: block !important;
        background-image: none;
        float: right !important;
        margin-bottom: 5px !important;
        margin-top: 5px !important;
        margin-left: 5px !important;
        margin-right: 0 !important;
        padding: 5px 5px !important;
        position: relative;
        background-color: #376711;
        border-color: transparent !important;
    }
    .navbar-header {
        float: none !important;
    }
    .navbar-brand {
        margin-left: 0 !important;
    }
}

/** Farbe Button**/

.navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #376711 !important;
}

/**Logo**/

.navbar-brand {
    padding: 0px !important;
    height: auto;
}

@media only screen and (max-width: 767px) {
    .navbar-brand {
        position: absolute;
        text-align: left;
        left: 10px;
        width: 60%;
        max-width: 250px;
        max-width: 170px;
        z-index: 1200;
    }
}

.navbar {
    font-size: 21px !important;
    font-family: 'Open Sans', sans-serif !important;
    color: #376711 !important;
    background: #b9da49;
    margin-bottom: 0px !important;
    z-index: 56;
}

/**Menü über komplette Breite (1200px)**/

@media (min-width: 768px) {
    .navbar-nav {
        margin: 0 auto;
        display: table;
        table-layout: auto;
        float: none;
        width: 100%;
    }
    .navbar-nav>li {
        display: table-cell !important;
        float: none;
        text-align: center;
    }
    .navbar-brand {
        display: none;
    }
}

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

/**Toplevel**/

.navbar-nav li.active a, .navbar li a {
    color: #376711 !important;
    line-height: 40px !important;
}

/***TOPLEVEL OVER**/

.navbar-nav li a:hover {
    color: #376711 !important;
    background: rgb(185, 218, 73);
    /* Old browsers */
    background: -moz-linear-gradient(top, rgba(185, 218, 73, 1) 20%, rgba(229, 241, 188, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(185, 218, 73, 1) 20%, rgba(229, 241, 188, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
}

/**SECONDLEVEL DROPDOWN**/

.navbar-nav>.li>a.open .dropdown-toggle {
    color: #376711 !important;
    background: rgb(185, 218, 73);
    /* Old browsers */
    background: -moz-linear-gradient(top, rgba(185, 218, 73, 1) 20%, rgba(229, 241, 188, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(185, 218, 73, 1) 20%, rgba(229, 241, 188, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
}

/**DROPDOWN OVER EINZELNE MEN�PUNKTE**/

.dropdown-menu li a {
    color: #282828 !important;
    font-weight: normal !important;
    line-height: 28px !important;
}

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

.dropdown-menu li a:hover {
    background: #b9da49 !important;
    line-height: 28px !important;
    color: #282828 !important;
    font-weight: normal !important;
    height: auto !important;
}

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

/* SECONDLEVEL MEN�GRUPPE EIGENSCHAFTEN**/

.menue_group_16870 {
    font-size: 14px !important;
    color: #282828 !important;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Open Sans', sans-serif !important;
    text-align: center !important;
    z-index: 70;
    top: auto !important;
}

.menue_list_thirdlevel_16870 {
    font-size: 14px !important;
    color: #282828 !important;
    background: rgba(255, 255, 255, 0.9);
    text-align: center !important;
    z-index: 80;
    float: right;
    top: 0px !important;
    left: 100% !important;
    right: 0px !important;
    display: none;
    width: 100%;
}

@media (max-width: 767px) {
    #navigation {
        padding-top: 60px;
    }
    .menue_list_thirdlevel_16870 {
        margin: 0 auto;
        width: 100% !important;
        text-align: center !important;
        background-color: #ffffff !important;
    }
    .menue_group_16870 {
        background: #ffffff !important;
    }
    .dropdown-menu li a {
        color: #282828 !important;
        margin: 0 auto;
        text-align: center !important;
    }
    #navigation {
        background-color: #b9da49 !important;
    }
    .navbar-nav li a:hover {
        color: #376711 !important;
        font-weight: bold !important;
        background: #e4f1b8 !important;
    }
    .navbar-nav li.active a {
        color: #376711 !important;
        background-color: #e4f1b8 !important;
    }
    .navbar-nav .open .dropdown-menu {
        position: static !important;
    }
    .navbar-nav {
        margin: 0 !important;
    }
    #navigation .navbar-collapse.collapse {
        display: none;
    }
}

@media (min-width: 768px) {
    .menue_point_secondlevel_16870:hover .menue_list_thirdlevel_16870, .menue_point_secondlevel_16870_over:hover .menue_list_thirdlevel_16870 {
        display: block !important;
        z-index: 60;
    }
}

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

.menue_group_16870_start, .menue_group_16870_end, .menue_list_thirdlevel_16870_start, .menue_list_thirdlevel_16870_end {
    display: none;
}

@media (min-width: 768px) and (max-width: 991px) {
    .dropdown-menu {
        position: absolute !important;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: none;
        float: left;
        min-width: 160px;
        padding: 5px 0;
        margin: 2px 0 0;
        font-size: 14px;
        text-align: left;
        list-style: none;
    }
}

@media (max-width: 767px) {
.dropdown-menu {
    position: static;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: none;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    width: 100%;
    list-style: none;
}
}