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

body {
    font-family: Lato, sans-serif;
    color: #2c2c2c;
    background: #f5f5f5 url('../img/bg_body.jpg') top center repeat-x;
}

body.intro {
    color: #ffffff;
    background-color: #5a7333 !important;
}

a {
    color: #8a6c00;
}

a:hover {
    color: #8a6c00;
}

#content a {
    text-decoration: underline;
}

#maindiv {
    width: 100%;
    line-height: 1.3em;
    text-align: left;
}

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


#content-wrapper {
    background: #fff;
    -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.25);
}

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

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

#footer {
    min-height: 50px;
    color: #2c2c2c;
    border-top: 5px solid #5a7333;
    background: #fff;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
    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: none;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 5px 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: 5px;
        padding-bottom: 5px;
    }
}

#innerfooter {
    line-height: 20px;
    color: #2c2c2c;
    font-weight: normal;
    font-style: normal;
    padding-top: 25px;
}

#innerfooter a+a::before {
    content: '';
    margin-left: 25px;
}

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

#innerfooter a:hover {
    color: #5a7333;
}


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

.box_bild img {
    width: 100%;
}

.box_bild1 img {
    width: 100%;
}

#middle {
    margin-top: 20px;
}

#topbar {
    min-height: 37px;
    background-color: #ffffff;
}

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

    /* spacing */
    #topbar .row>div {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}



#logo {
    min-height: 10px;
    background: #5a7333;
    margin-left: 0px;
    text-align: center;
}

#logo a {
    max-width: 100%;
    display: inline-block;
}

#logo img {
    margin: 0 auto;
}

/* small logo */
#navbar-logo {
    max-width: 70%;
    display: inline-block;
}

#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: 45%;
}

.slider-mask {
    display: block;
    background: url('../img/slider-mask.png') bottom left no-repeat;
    background-size: contain;
    /* remove if not correctly sliced */
}

/* 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: 460px;
    padding: 0px 0px;
    border-left: 15px solid #fff;
    border-right: 15px solid #fff;
    overflow: hidden;
}

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


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

.box {
    width: 100%;
    background: #fff;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.box *:not(.row) {
    max-width: 100%;
}

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

.boxtop1 {
    background: #fff;
    color: #8a6c00;
    font-size: 20px;
    font-family: Lato, sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: bold;
    padding: 0 7%;
}


.boxbody {
    min-height: 50px;
}


.boxindent {
    color: #2c2c2c;
    width: 88%;
    padding: 8px;
    margin: 0 auto;
}


/* ----------------------------------------------- stylerBox ----------------------------------------------- */

.stylerBox {
    float: left;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stylerBox+.stylerBox {
    margin-left: 30px;
}

.stylerBox span {
    font-size: 16px;
    display: block;
    width: 100%;
    line-height: 1;
    margin-bottom: 3px;
}

:is(#style, #contrast_style) button+button {
    margin-left: 4px;
}

/* styler */

#style {
    line-height: 0;
    display: flex;
    align-items: center;
    align-content: center;
}

#style button {
    border: none;
    display: inline-block;
    min-width: 30px;
    min-height: 30px;
    line-height: 1;
    text-align: center;
    color: #ffffff;
    font-weight: 400;
    background: #5a7333;
    padding: 4px;
    font-size: 18px;
}

#style button:is(:hover, :focus) {
    background-color: #344619;
    color: #ffffff;
}

/* contrast */

#contrast_style {
    line-height: 0;
    display: flex;
    align-items: center;
    align-content: center;
}

#contrast_style button {
    border: none;
    display: inline-block;
    min-width: 30px;
    min-height: 30px;
    line-height: 1;
    text-align: center;
    background: transparent;
    position: relative;
    font-size: 0;
    padding: 0;
}

/* ----------------------------------------------- kontraste ----------------------------------------------- */

.contrast_light_font #search_submit,
.contrast_light_font #search_input {
    background-color: #ffffff !important;
}

.contrast_dark #vernetzt img {
    background-color: #ffffff !important;
}

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

#search {
    height: 48px;
    width: 100%;
    margin-top: 20px;
    float: right;
    max-width: 230px;
}


#search_form {
    height: 48px;
    float: right;
    background: #f7f7f7;
    width: 100%;
}

#search_input {
    width: 78%;
    float: right;
    color: #444444;
    font-weight: 300;
    font-size: 12px;
    font-style: italic;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 48px;
    padding-left: 10px;
    height: 48px;
}

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

@media(max-width:991px) {
    #search {
        margin-top: 5px;
        width: 100%;
    }

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

    #search_form {
        width: 100%;
    }
}

@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: #444444 !important;
}

#search_input::-webkit-input-placeholder, #newsletter_input::-webkit-input-placeholder {
    color: #444444 !important;
}

#search_input::-moz-placeholder, #newsletter_input::-moz-placeholder {
    opacity: 1;
}

#search_input:-moz-placeholder, #newsletter_input:-moz-placeholder {
    opacity: 1;
}

#search input::placeholder {
    color: #444444 !important;
    opacity: 1 !important;
    font-style: italic !important;
}


/* ------------------------------------------ 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, h1, #content .legacy_h1, .legacy_h1 {
    color: #5a7333;
    font-weight: bold;
    line-height: 1.2em;
    font-family: Lato, sans-serif;
}

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

}
*/

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


/* ------------------------------------------------ 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: #2c2c2c;
    font-weight: normal;
}

.tab_link {
    color: #2c2c2c;
}

.tab_link_mehr {
    color: #5a7333;
}

.tab_link_mehr a {
    color: #5a7333;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.tab_link_mandat a {
    color: #5a7333;
}



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

#menu {
    margin-top: 20px;
    margin-bottom: 40px;
    background: #fff;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    #menu {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

/* ****************************** MENUE 20120 CSS ***************************************/

/* ****************************** RESET DEFAULT CSS ********************************************/
.menue_point_toplevel_20120, .menue_list_toplevel_20120,
.menue_point_secondlevel_20120, .menue_group_20120,
.menue_point_thirdlevel_20120, .menue_list_thirdlevel_20120 {
    margin: 0px;
    padding: 0px;
}

a.navpoint_toplevel_20120:link, a.navpoint_toplevel_20120:visited, a.navpoint_toplevel_20120:active,
a.navpoint_secondlevel_20120:link, a.navpoint_secondlevel_20120:visited, a.navpoint_secondlevel_20120:active,
a.navpoint_thirdlevel_20120:link, a.navpoint_thirdlevel_20120:visited, a.navpoint_thirdlevel_20120:active {
    text-decoration: none;
    display: block;
}

.toplevel_20120_over,
.secondlevel_20120_over,
.thirdlevel_20120_over {
    text-decoration: none;
    display: block;
}

.menue_list_toplevel_20120 li,
.menue_group_20120 li,
.menue_list_thirdlevel_20120 li {
    list-style-type: none;
}

/*+-----------------------------------------------------------------------------------+*/


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

/* height, width, indent, align for menuepoint */
.menue_point_toplevel_20120, a.navpoint_toplevel_20120:link, a.navpoint_toplevel_20120:visited, a.navpoint_toplevel_20120:active, .menue_point_toplevel_20120_over, a.navpoint_toplevel_20120:hover {
    width: 100%;
    line-height: 42px;
    text-indent: 10px;
    text-align: left;
}

/* menuepoint background 
.menue_point_toplevel_20120 {
        background: url('../img/toplevel.jpg') top left no-repeat;
}*/

/* color, weight, size from menuepoint */
.menue_point_toplevel_20120 a {
    color: #2c2c2c;
    font-weight: normal;
}

/* color, weight, size from menuepoint over */
a.navpoint_toplevel_20120:hover, .menue_point_toplevel_20120_over, .menue_point_toplevel_20120_over a {
    color: #343434;
    font-weight: normal;
}

/* menuepoint over background */
a.navpoint_toplevel_20120:hover, .menue_point_toplevel_20120_over {
    color: #343434;
    background-color: #c9b540;
}

.menue_point_toplevel_20120, .menue_point_toplevel_20120_over {
    margin-top: 0px;
}

/* ****************************** UNDERMENUE CSS ***************************************/

.menue_group_20120 {
    margin-bottom: 3px;
    margin-top: 3px;
    background: #fff;
}

.menue_group_20120_start {
    display: none;
}

.menue_group_20120_end {
    display: none;
}

/* height, width, align, indent for undermenuepoint */
.menue_point_secondlevel_20120, .navpoint_secondlevel_20120:link, a.navpoint_secondlevel_20120:visited, a.navpoint_secondlevel_20120:active, a.navpoint_secondlevel_20120:hover, .menue_point_secondlevel_20120_over {
    width: 100%;
    line-height: 30px;
    text-indent: 20px;
    text-align: left;
}

/* undermenuepoint background 
.menue_point_secondlevel_20120 {
        background: url('../img/secondlevel.jpg') top left no-repeat;
}*/

/* undermenuepoint color, weight, size */
.menue_point_secondlevel_20120 a {
    color: #2c2c2c;
    font-weight: normal;
}

/* undermenuepoint over color weight size */
a.navpoint_secondlevel_20120:hover, .menue_point_secondlevel_20120_over, .menue_point_secondlevel_20120_over a {
    font-weight: normal;
    color: #8a6c00;
    text-decoration: underline;
}

/* undermenue over background */
.menue_point_secondlevel_20120_over, a.navpoint_secondlevel_20120:hover {
    background: url('../img/secondlevel_over.png') center left no-repeat;
}

/* ****************************** UNDER-UNDER-MENUE CSS ***************************************/

.menue_list_thirdlevel_20120 {
    margin-bottom: 3px;
    margin-top: 3px;
}

.menue_list_thirdlevel_20120_start {
    display: none;
}

.menue_list_thirdlevel_20120_end {
    display: none;
}

/* height, width, align, indent for undermenuepoint */
.menue_point_thirdlevel_20120, .navpoint_thirdlevel_20120:link, a.navpoint_thirdlevel_20120:visited, a.navpoint_thirdlevel_20120:active, a.navpoint_thirdlevel_20120:hover, .menue_point_thirdlevel_20120 {
    width: 100%;
    text-align: left;
    line-height: 30px;
    text-indent: 60px;
}

/* undermenuepoint background */
.menue_point_thirdlevel_20120 {
    background: url('../img/thirdlevel.png') center left no-repeat;
}

/* undermenuepoint color, weight, size */
.menue_point_thirdlevel_20120 a {
    color: #2c2c2c;
    font-weight: normal;
}

/* undermenuepoint over color weight size */
a.navpoint_thirdlevel_20120:hover, .menue_point_thirdlevel_20120_over, .menue_point_thirdlevel_20120_over a {
    color: #5a7333;
    font-weight: normal;
}

/* undermenue over background */
.menue_point_thirdlevel_20120_over, a.navpoint_thirdlevel_20120:hover {
    background: url('../img/thirdlevel_over.png') center left no-repeat;
}

/* *********************** menue 20120 ende ************************ */