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

body {
    font-family: Roboto, sans-serif;
    color: #4a4a4a;
    background: #fff;
}

a {
    color: #31943e;
}

a:hover {
    color: #31943e;
}

#maindiv {
    width: 100%;
    line-height: 1.3em;
    text-align: left;
    background: url('../img/bg_top.png') top center no-repeat;
}

#bg-left  {
    background: #f0f0f0;
    -webkit-box-shadow: inset 0px -15px 10px -15px rgba(0,0,0,0.2);
    -moz-box-shadow: inset 0px -15px 10px -15px rgba(0,0,0,0.2);
    box-shadow: inset 0px -15px 10px -15px rgba(0,0,0,0.2);
    padding-left: 0px;
    padding-right: 0px;
}

#bg-middle  {
    background: #fff;
    -webkit-box-shadow: inset 0px -15px 10px -15px rgba(0,0,0,0.2);
    -moz-box-shadow: inset 0px -15px 10px -15px rgba(0,0,0,0.2);
    box-shadow: inset 0px -15px 10px -15px rgba(0,0,0,0.2);
}

#bg-right  {
    background: #f0f0f0;
    -webkit-box-shadow: inset 0px -15px 10px -15px rgba(0,0,0,0.2);
    -moz-box-shadow: inset 0px -15px 10px -15px rgba(0,0,0,0.2);
    box-shadow: inset 0px -15px 10px -15px rgba(0,0,0,0.2);
    padding-left: 0px;
    padding-right: 0px;
}

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


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

/* change to #footer for inner-containment */
#footer-wrapper {
    background-color: #fff;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.4);
}

#footer {
    min-height: 100px;
    color: #4a4a4a;
    padding-top: 15px;
    padding-bottom: 15px;
}

/*  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: 10px 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: 0px;
        padding-bottom: 10px;
    }
}

#innerfooter {
    line-height: 30px;
    color: #4a4a4a;
    font-weight: normal;
    font-style: normal;
    padding: 10px 0;
}

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

#innerfooter a:hover {
    color: #4a4a4a;
    font-weight: normal;
    text-decoration: underline;
}


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

#topbar {
    min-height: 37px;
    line-height: 37px;
    padding: 5px 0;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}

/* xs, sm */
@media (max-width: 991px) {
    /* spacing */
    #topbar .row > div{
        padding-top: 5px;
        padding-bottom: 5px;
    }
}



#logo {
    min-height: 10px;
}

#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: 20px 0; 
     text-align: center;
}

/* xs, sm */
@media (max-width: 991px) {
    #vernetzt {
        display: none;
    }
}

#vernetzt2 {
    padding: 20px 0; 
    display: none;
    text-align: center;
}

/* xs, sm */
@media (max-width: 991px) {
    #vernetzt2 {
        display: block;
    }
}

#content_buttons_div {
    top: 45%;
}

/* 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 {
    max-height: 444px;
    padding: 0px 0px;
    overflow: hidden;
    border-radius: 0px 0px 15px 15px;
}

.slider-mask{
    display: none;
    background: url('../img/slider_mask.jpg') top center no-repeat;
}


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

#banner {
    padding-left: 0px;
    padding-right: 0px;
    background: #f0f0f0;
}

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

.box {
    width: 100%;
    background: #f0f0f0;
    margin-bottom: 10px;
}

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

.boxtop {
    background: rgb(69,171,76); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(69,171,76,1) 0%, rgba(5,123,39,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(69,171,76,1) 0%,rgba(5,123,39,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(69,171,76,1) 0%,rgba(5,123,39,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    border-radius: 15px;
    color: #fff;
    font-size: 22px;
    font-family: Roboto, sans-serif;
    min-height: 40px;
    line-height: 40px;
    padding: 0 6%;
    text-align: center;
    font-style: italic;
    font-weight: 600;
}

.boxbody {
    color: #515a5f;
    min-height: 50px;
}


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

.box a {
    color: #33963f;
}

.boxbottom {
    height: 10px;
    line-height: 1px;
    font-size: 1px;
}


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


.boxindent2 {
    color: #515a5f;
    width: 88%;
    padding: 5px 0;
    margin: 0 auto;
}

.box2 a {
    color: #33963f;
}


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



#style {
    min-height: 30px;
    line-height: 30px;
    color: #424242;
    margin-top: 20px;
}

#style a {
    color: #424242;
}

#style a:hover {
    color: #4cb050;
}


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

#search {
    height: 30px;
    width: 50%;
    margin: 15px 0px;
    text-align: right;
}

#search_form{
    height: 30px;
    float: right;
    background: #fff;
    width: 100%;
    border-radius: 15px;
    border: 1px solid #c9c9c9;
}

#search_input {
    width: 86%;
    float: left;
    color: #9f9f9f;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 30px;
    padding-left: 10px;
    height: 30px;
}

#search_submit {
    width: 12%;
    float: right;
    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: 30px;
}

@media(max-width:991px){
    #search {
        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: #9f9f9f !important;
}
#search_input::-webkit-input-placeholder,#newsletter_input::-webkit-input-placeholder {
    color: #9f9f9f !important;
}

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

/* ------------------------------------------ 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: #4a4a4a;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Roboto, sans-serif;
}

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

}
*/

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


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

.tab_link {
    color: #515a5f;
}

.tab_link_mehr {
    color: #515a5f;
}

.tab_link_mehr a {
    color: #33963f;
}

.tab_link_mandat a {
    color: #33963f;
}



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


/* ------------------------------------ navigation left/right (17259) ----------------------------------- */

.navbar {
    margin-bottom: 0px;
    border: none;
}

/* burgermenu - background */
.navbar-default .navbar-toggle {
    background-color: #2e9a3f;
    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-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 .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
    }

    /* burgermenu - centre text */
    .navbar-default .navbar-nav a{
        text-align: center !important;
    }

    .navbar-nav .menue_point_toplevel_17259_over > .dropdown-menu,
    .navbar-nav .menue_point_secondlevel_17259_over > .dropdown-menu
    {
        display: block !important;
    }
}

/* menu fixed top (tablet) */
@media (max-width: 991px) {
    #menu-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        background-color: #ffffff;
        z-index: 9;
        border-radius: 0px;
    }


    /* fixed burgermenu - scrollable */
    #myNavbar {
        height: auto;
        width: 100%;
        max-height: 350px;
        overflow-y: scroll !important;
        border-bottom: 1px solid #ccc;
    }
}

/* Left Navigation */
@media (min-width: 992px) {
    .navbar-nav {
        float: none;
        margin: 0 -15px;
    }
    .navbar-nav > li {
        float: none;
        text-align: left;
    }
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
    }
    .navbar-header {
        float: none;
    }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav > li > a {
    line-height: 20px;
    color: #fff;
    font-weight: normal;
    background: rgb(69,171,76); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(69,171,76,1) 0%, rgba(5,123,39,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(69,171,76,1) 0%,rgba(5,123,39,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(69,171,76,1) 0%,rgba(5,123,39,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    text-align: left;
    border-radius: 15px;
    margin-top: 5px;
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

/* Toplevel - Over */
.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_17259_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_17259_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_17259_over > a:focus {
    color: #fff;
    font-weight: normal;
    background: rgb(64,67,182); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(64,67,182,1) 0%, rgba(33,35,101,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(64,67,182,1) 0%,rgba(33,35,101,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(64,67,182,1) 0%,rgba(33,35,101,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

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

.dropdown-menu {
    padding: 0px;
    /* min-width: px; */
}

/* Secondlevel - DropdownDesign */
.navbar-default .navbar-nav > li > .dropdown-menu {

}

.menue_group_17259_start{
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

.menue_group_17259_end{
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent; /* override bootstrap */
    color: #393939;
    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_17259_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_17259_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_17259_over > a:focus {
    font-weight: bold;
    color: #fff;
    font-weight: normal;
    border-radius: 15px;
    background-color: #313490;
}

/* Thirdlevel - DropdownDesign */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin: 10px 0px;
}

.menue_list_thirdlevel_17259_start {
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

.menue_list_thirdlevel_17259_end {
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

/* Thirdlevel - Design */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    color: #393939;
    font-weight: normal;
    background: #fff;
    line-height: 30px;
    text-indent: 20px;
}

/* 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_17259_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_17259_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_17259_over > a:focus
{
    color: #313490;
    font-weight: bold;
    background: #fff;
    text-indent: 20px;
}
