@import url('https://fonts.verwaltungsportal.de/css?family=Roboto:300,300i,400,400i,500,500i,700,700i&display=swap');

body {
    font-family: Roboto, sans-serif;
    color: #2d2d2d;
    background: #f7f6f6;
}

a {
    color: #4a8b2c;
}

a:hover {
    color: #4a8b2c;
}

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

#content-wrapper{
    padding-top: 25px;
    position: relative;
}

@media(min-width:992px){
    #content-wrapper::after{
        content: '';
        display: block;
        position: absolute;
        bottom: -133px;
        left: 0;
        right: 0;
        height: 133px;
        background: url('../img/pseudo_cw.png') top no-repeat;
        background-size: contain;
    }
}

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

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

/* change to #footer for inner-containment */
#footer-wrapper {
    background: url('../img/bg_footer.jpg') repeat;
    background-color: #c90c28;
    padding: 25px 0;
}

@media(min-width:992px){
    #footer-wrapper .row{
        display: flex;
        align-items: center;
    }
    #footer-wrapper{
        padding: 160px 0 25px 0;
    }
}

#footer {
    color: #ffffff;
}

/*  xs  */
@media (max-width: 991px) {
    /* xs-footer-separator (lines) */
    #footer .row > .col-xs-12:not(:first-child)::before{
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 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;
    }
}

.innerfooter {
    line-height: 38px;
    color: #ffffff;
    font-weight: normal;
    font-style: normal;
}

.innerfooter a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
}

@media (max-width: 767px) {
    .innerfooter a{
        width: 100%;
        display: inline-block;
    }
    .innerfooter {
        line-height: 5px;
    }
}

@media(min-width:992px){
    .innerfooter{
        line-height: 58px;
    }
    .innerfooter a{
        padding: 20px 10px;   
    }
}

.innerfooter a:hover {
    color: #ffffff;
    font-weight: normal;
    background: #4a8b2c;
}

.footer-bottom {
    background-color: #5cb436;
    padding-top: 20px;
    padding-bottom: 20px;
}

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

#newsticker{
    background: #dd122e;
    color: #fff;
    padding: 15px 0;
}

#newsticker a{
    color: #fff;
}

.overlay{
    background: rgba(255,255,255,0.85);
    padding: 20px 0 15px 0;
}

@media(min-width:992px){
    .overlay{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }
}

#topbar {
    background-color: #5cb436;

}

@media(min-width:992px){
    #topbar .row{
        display: flex;
        align-items: center;
    }
}

#logo {
    min-height: 0px;
}

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

#logo img {
    margin: 0 auto;
}

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

#navbar-logo img{
    max-width: 100%;
    max-height: 100px;
}

#vernetzt {
    /* padding: 10px 0; */
}

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

#content_buttons_div {
    top: 45%;
    z-index: 100;
}

/* 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 {
    margin: 0 auto;
    position: relative;
}

#slider{
    max-height: 481px;
    overflow: hidden;    
}

.slider-mask{
    display: none;
    background: url('../img/slider_mask.jpg') top center no-repeat;
    background-size: contain; /* remove if not correctly sliced */
}



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

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

.boxtop {
    background: transparent;
    color: #ffffff;
    font-size: 22px;
    font-family: Roboto, sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    padding: 0 6%;
}

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

.boxindent {
    color: #ffffff;
    width: 100%;
    padding: 5px 0;
    margin: 0 auto;
}

.boxindent a{
    color:#fff;
    font-weight:700;
}

.box a {
    color: #ffffff;
    text-decoration: underline;
}

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

#search {
    min-height: 35px;
    width: 100%;
}

@media(max-width:991px){
    #search{
        margin: 20px 0;
    }
}

#search_form{
    min-height: 35px;
    float: right;
    background: #fff;
    width: 100%;
}

#search_input {
    width: 85%;
    float: left;
    color: #2d2d2d;
    font-size: 12px;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 35px;
    padding-left: 10px;
    height: 35px;
}

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

#search_input::-ms-input-placeholder,#newsletter_input::-ms-input-placeholder {
    color: #2d2d2d !important;
}
#search_input::-webkit-input-placeholder,#newsletter_input::-webkit-input-placeholder {
    color: #2d2d2d !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: #345e9e;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Roboto, sans-serif;
}

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

}
*/

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


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

.tab_link {
    color: #ffffff;
}

.tab_link_mehr {
    color: #ffffff;
}

.tab_link_mehr a {
    color: #ffffff;
}

.tab_link_mandat a {
    color: #ffffff;
}



/* -------------------------------- 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 (21199) ----------------------------------- */

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

/* burgermenu - background */
.navbar-default .navbar-toggle {
    background-color: #345e9e;
    border-color: transparent;
}

/* burgermenu - mouseover */
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #0f396c;
}

/* 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_21199_over > .dropdown-menu,
    .navbar-nav .menue_point_secondlevel_21199_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;
    }

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

.navbar-nav li .dropdown-menu{
    position: relative;
    width: 100%;
    float: none;
}

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

.navbar-default .navbar-nav > li > a {
    line-height: 20px;
    color: #ffffff;
    font-weight: normal;
    background-color: #345e9e;
    text-align: left;
    margin-top: 10px;
}

.navbar-default .navbar-nav > li:first-child > a {
    margin-top: 0;
}

/* -------------------------------------------- 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_21199_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_21199_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_21199_over > a:focus {
    color: #ffc000;
    font-weight: normal;
    background-color: #345e9e;
}

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

.dropdown-menu {
    padding: 0;
}

/* Secondlevel - DropdownDesign */
.navbar-default .navbar-nav > li > .dropdown-menu {
    padding: 5px;
    background: #194f90;
}

.menue_group_21199_start{
    display: none;
}

.menue_group_21199_end{
    display: none;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #ffffff;
    font-weight: normal;
    line-height: 30px;
    text-align: left;
    background-color: #194f90;
    padding-left: 30px;
}

@media(min-width:992px){
    .navbar-default .navbar-nav > li > .dropdown-menu > li > a {
        padding-left: 30px;
    } 
}

/* ------------------------------------------ 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_21199_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_21199_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_21199_over > a:focus {
    font-weight: bold;
    color: #ffc000;
    font-weight: normal;
    background-color: #0f396c;
}

/* --------------------------------------- thirdlevel dropdown-box -------------------------------------- */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin: 0px 0px;
}

.menue_list_thirdlevel_21199_start {
    height:10px;
    background-color: #30619b;
}

.menue_list_thirdlevel_21199_end {
    height:10px;
    background-color: #30619b;
}

/* --------------------------------------------- thirdlevel --------------------------------------------- */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #ffffff;
    font-weight: normal;
    line-height: 30px;
    background-color: #30619b;
    position: relative;
}

@media(min-width:992px){
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
        padding-left: 43px;
    } 
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a::before {
    content: '';
    display: block;
    position: absolute;
    top: 45%;
    left: 30px;
    height: 4px;
    width: 4px;
    border-radius: 50%;
    background: #fff;
}

/* ------------------------------------------ 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_21199_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21199_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21199_over > a:focus
{
    color: #ffc000;
    font-weight: normal;
    background-color: #30619b;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21199_over > a::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21199_over > a:hover::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21199_over > a:focus::before
{
    background: #ffc000;
}

@media(min-width:992px){
    .navbar-nav > li{
        display: inline-block !important;
    }
}