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

body {
    font-family: 'Josefin Sans', Arial, Verdana, Helvetica, sans-serif;
    color: #343434;
    background: #ffffff;
}

a {
    color: #971802;
}

a:hover {
    color: #971802;
}

#maindiv {
    width: 100%;
    line-height: 1.3em;
    text-align: left;
    background: rgb(178,178,178); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(178,178,178,1) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(178,178,178,1) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(178,178,178,1) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

#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: #464646;
    -webkit-box-shadow: inset 0px 10px 9px 0px rgba(0,0,0,0.45);
    -moz-box-shadow: inset 0px 10px 9px 0px rgba(0,0,0,0.45);
    box-shadow: inset 0px 10px 9px 0px rgba(0,0,0,0.45);
}

#footer {
    min-height: 100px;
    color: #ffffff;
    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: 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;
    }
}

/* xs, sm */
@media (max-width: 991px) {
    #footer {
        padding: 5px 15px;
    }
}

/* md, lg */
@media (min-width: 768px) {
    /* footer-spacer-top */
    #footer > .row{
        padding-top: 20px;
        padding-bottom: 10px;
    }
}

#innerfooter {
    line-height: 30px;
    color: #ffffff;
    font-weight: normal;
    font-style: normal;
    padding: 10px 0;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
}

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

#innerfooter a:hover {
    color: #ffffff;
    font-weight: normal;
}


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

/*#topbar {
    min-height: 37px;
    line-height: 37px;
    padding: 5px 0;
    background-color: #ffffff;
}

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

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

    #vernetzt {
        padding: 20px 0px 20px 0px;
    }

}

#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: 451px;
    margin: 0 auto;
    overflow: hidden;
}

#header-wrapper{
    /*background: url('../img/slider_mask.png') top center no-repeat;*/
    position: absolute;
    top: 0;
    margin: 0 auto;
    width: 100%;
    height: 359px;
    z-index: 39;
}
#bogen{
    max-width: 100%;
    display: inline-block;
}

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


@media (max-width: 1199px) {
    #header-wrapper{
        height: 224px;
    }
}

@media (max-width: 992px) {
    #header-wrapper{
        height: 185px;
    }
}


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

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

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

#content-wrapper {
    background: url('../img/bg_fix.png') bottom center no-repeat;
}

#bg-pic-left, #bg-pic-right, #bg-pic-middle, #bg-top {
    padding-left: 0;
    padding-right: 0;
}

#bg-pic-left, #bg-pic-right {
    max-height: 450px;
    line-height: 0;
}

#bg-pic-left img, #bg-pic-right img {
    width: 100%;
}

#bg-top {
    border-bottom: 3px solid #fff;
}

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



#style {
    min-height: 41px;
    position: absolute;
    z-index: 39;
    top: 0px;
    right: 22%;
}

#switch {
    float: left;
    font-size: 1px;
    line-height: 1px;
}

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

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

#search {
    height: 43px;
    width: 100%;
}


#search_form{
    height: 43px;
    float: right;
    background: #971802;
    width: 100%;
    -webkit-box-shadow: inset 0px 9px 10px 0px rgba(105,18,3,1);
    -moz-box-shadow: inset 0px 9px 10px 0px rgba(105,18,3,1);
    box-shadow: inset 0px 9px 10px 0px rgba(105,18,3,1);
}

#search_input {
    width: 86%;
    float: left;
    color: #ffffff;
    font-size: 20px;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 43px;
    padding-left: 10px;
    height: 43px;
    font-weight: normal;
}

#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: 43px;
}

@media(max-width:991px){
}

@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: #ffffff !important;
}
#search_input::-webkit-input-placeholder,#newsletter_input::-webkit-input-placeholder {
    color: #ffffff !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: #971802;
    font-weight: normal;
    line-height: 1.2em;
    font-family: 'Josefin Sans', Arial, Verdana, Helvetica, sans-serif;
}

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

}
*/

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


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

.tab_link {
    color: #;
}

.tab_link_mehr {
    color: #;
}

.tab_link_mehr a {
    color: #;
}

.tab_link_mandat a {
    color: #;
}

*/


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

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

/* burgermenu - background */
.navbar-default .navbar-toggle {
    background-color: #971802;
    border-color: transparent;
    -webkit-box-shadow: inset 0px 9px 10px 0px rgba(105,18,3,1);
    -moz-box-shadow: inset 0px 9px 10px 0px rgba(105,18,3,1);
    box-shadow: inset 0px 9px 10px 0px rgba(105,18,3,1);
}

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

/* 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_16996_over > .dropdown-menu,
    .navbar-nav .menue_point_secondlevel_16996_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 !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;
    }
}

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

.navbar-default .navbar-nav > li > a {
    line-height: 30px;
    color: #fff;
    font-weight: normal;
    background: #971802;
    -webkit-box-shadow: inset 0px 9px 10px 0px rgba(105,18,3,1);
    -moz-box-shadow: inset 0px 9px 10px 0px rgba(105,18,3,1);
    box-shadow: inset 0px 9px 10px 0px rgba(105,18,3,1);
    text-align: left;
    margin-bottom: 4px;
}

/* -------------------------------------------- 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_16996_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_16996_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_16996_over > a:focus {
    color: #fff;
    font-weight: normal;
    background: rgb(203,172,78); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(203,172,78,1) 0%, rgba(186,146,22,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(203,172,78,1) 0%,rgba(186,146,22,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(203,172,78,1) 0%,rgba(186,146,22,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

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

.dropdown-menu {
    padding: 0px;
    margin-bottom: 4px;
    /* min-width: px; */
    position: relative;
    width: 100%;
}

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

}

.menue_group_16996_start{
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    background-color: #971802;
}

.menue_group_16996_end{
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    background-color: #971802;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent; /* override bootstrap */
    color: #fff !important;
    font-weight: normal;
    line-height: 21px;
    text-align: left;
    padding-right: 22px;
    background-color: #971802 !important;
}

/* ------------------------------------------ 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_16996_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_16996_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_16996_over > a:focus {
    font-weight: normal;
    color: #fff !important;
    background: url('../img/secondlevel_over.png') right no-repeat, #971802 !important;
    padding-right: 22px;
}

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

.menue_list_thirdlevel_16996_start {
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    background-color: #971802;
}

.menue_list_thirdlevel_16996_end {
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    background-color: #971802;
}

/* Thirdlevel - Design */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent; /*override bootstrap*/
    color: #fff !important;
    font-weight: normal;
    line-height: 30px;
    background-color: #971802 !important;
    text-indent: 18px;
}

/* 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_16996_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_16996_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_16996_over > a:focus
{
    color: #fff !important;
    font-weight: normal;
    background-color: #971802 !important;
}


@media (max-width: 991px) {

    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
        text-indent: 0px;
    }
}