@import url('https://fonts.verwaltungsportal.de/css/?family=Poppins:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i');


body {
    font-family: 'Poppins', sans-serif !important;
    color: #4e4e4e;
    background: #830000;
    font-weight: 300;
}

a {
    color: #8c0000;
}

a:hover {
    color: #8c0000;
}

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

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

#content-wrapper {
    background-color: #eeeeee;
    box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.39);
    border-radius: 0px 0px 85px 0px;
}
/* ----------------------------------------------- footer ----------------------------------------------- */

/* change to #footer for inner-containment */
#footer-wrapper {
    background-color: #303030;
    border-radius: 0px 0px 80px 0px;
}

#footer {
    min-height: 100px;
    color: #4e4e4e;
    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:26px;
        padding-bottom: 10px;
    }
}

#innerfooter {
    line-height: 18px;
    color: #4e4e4e;
    font-weight: 300;
    font-style: normal;
    padding: 10px 0px;
}

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

#innerfooter a:hover {
    color: #8c0000;
    font-weight: 300;
}


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

#topbar {
    min-height: 37px;
    line-height: 37px;
    padding: 5px 15px;
    background: url('../img/bg_top.png') bottom center repeat-x;
    background-color: #eeeeee;

}

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

#main {
    padding: 0px 15px;
}


#logo {
    min-height: 10px;
    padding: 30px;
}

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

/*  xs  */
@media (max-width: 767px) {
    /*  custom stuff here  */
}

.sticky-wrapper {
    position: relative;
    z-index: 51;
}


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

@media (max-width: 991px) {
    #content_spacer {
        height: 0px;
    }
}

/*#eventclr {
    display: block;
}

#eventclr2 {
    display: none;
}

@media (max-width: 991px) {
    #eventclr2 {
        display: block;
    }

    #eventclr {
        display: none;
    }
}*/

.spacer {
    height: 25px;
}
/* --------------------------------------------- tab-section -------------------------------------------- */

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

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

.boxtop {
    color: #ffffff;
    font-size: 22px;
    font-family: 'Poppins', Arial, Verdana, Helvetica, sans-serif !important;
    min-height: 40px;
    line-height: 40px;
    font-weight: 800;
    padding: 0 6%;
    background-color: #9b9b9b;
    color: #ffffff;
}

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


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

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

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

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

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

.boxtop2 {
    color: #ffffff;
    font-size: 22px;
    font-family: 'Poppins', Arial, Verdana, Helvetica, sans-serif !important;
    min-height: 40px;
    line-height: 40px;
    font-weight: 800;
    padding: 0 6%;
}

.boxbody2 {
    color: #fff;
    min-height: 50px;
}


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

.box2 a {
    color: #fff;
    text-decoration: underline;
}

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

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



#style {
    min-height: 20px;
    padding-top: 10px;
    text-align: right;
}

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

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

#search {
    width: 100%;
}

#search_grafik {
    background: url('../img/grafik_suche.png') bottom left no-repeat;
    margin-left: 10px;
    height: 90px;
    width: 100%;
}

#search_form{
    height: 27px;
    float: right;
    width: 100%;
}

#search_input {
    width: 86%;
    float: left;
    color: #363636;
    font-size: 12px;
    font-style: normal;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 37px;
    padding-left: 10px;
    height: 37px;
    background: rgb(227,227,227); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(227,227,227,1) 0%, rgba(239,239,239,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(227,227,227,1) 0%,rgba(239,239,239,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(227,227,227,1) 0%,rgba(239,239,239,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    border-bottom: 1px solid #fff;
    border-radius: 5px;
}

#search_submit {
    width: 12%;
    float: right;
    background: transparent;
    vertical-align: top;
    margin: 0 0 0 2px;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #7e0000;
    line-height: 37px;
    border-bottom: 1px solid #fff;
    border-radius: 5px;
    font-weight: 800;
    color: #fff;
}


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

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

    #search_form {
        width: 100%;
    }

    #search_input {
        width: 73%;
    }

    #search_submit {
        width: 25%;
    }
}


#search_input::-ms-input-placeholder,#newsletter_input::-ms-input-placeholder {
    color: #363636 !important;
}
#search_input::-webkit-input-placeholder,#newsletter_input::-webkit-input-placeholder {
    color: #363636 !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: #8c0000 !important;
    font-weight: normal;
    line-height: 1.2em;
    font-family: 'Poppins', Arial, Verdana, Helvetica, sans-serif !important;
}

.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: #8c0000 !important;
    font-weight: 800 !important;
    line-height: 1.2em;
    font-family: 'Poppins', Arial, Verdana, Helvetica, sans-serif !important;
}

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

}
*/

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


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

.tab_link {
    color: #4e4e4e;
}

.tab_link_mehr {
    color: #4e4e4e;
}

.tab_link_mehr a {
    color: #8c0000;
}

.tab_link_mandat a {
    color: #8c0000;
}



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

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

/* burgermenu - background */
.navbar-default .navbar-toggle {
    background-color: transparent;
    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 !important;
    }

    .navbar-nav {
        float: none !important;
        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_17920_over > .dropdown-menu,
    .navbar-nav .menue_point_secondlevel_17920_over > .dropdown-menu
    {
        display: block !important;
    }*/
}

.dropdown-menu {
    position: relative;
    width: 100%;
}

/* 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: 20px;
    color: #595959;
    font-weight: 800;
    text-align: left;
    background: url('../img/bg_top.png') bottom repeat-x;
}

/* -------------------------------------------- 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_17920_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_17920_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_17920_over > a:focus {
    color: #ffffff;
    font-weight: 800;
    background: #8c0000 !important;
    border-radius: 5px 0px 5px 0px;
}

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

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

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

}

.menue_group_17920_start{
    display: none;
}

.menue_group_17920_end{
    display: none;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent; /* override bootstrap */
    color: #4e4e4e;
    font-weight: 300;
    line-height: 30px;
    text-indent: 25px;
    text-align: left;
    background: url('../img/secondlevel.png') left no-repeat;
}

/* ------------------------------------------ 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_17920_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_17920_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_17920_over > a:focus {
    font-weight: 300;
    background: url('../img/secondlevel_over.png') left no-repeat;
    color: #8c0000;
    font-weight: 300;
}

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

.menue_list_thirdlevel_17920_start {
    display: none;
}

.menue_list_thirdlevel_17920_end {
    display: none;
}

/* Thirdlevel - Design */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent; /*override bootstrap*/
    color: #4e4e4e;
    font-weight: 300;
    line-height: 30px;
    text-indent: 40px;
    background: url('../img/thirdlevel.png') left no-repeat;
}

/* 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_17920_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_17920_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_17920_over > a:focus
{
    color: #8c0000;
    font-weight: 300;
    background: url('../img/thirdlevel_over.png') left no-repeat;
}


