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

body {
    font-family: 'PT Sans', sans-serif;
    color: #3b3b3b;
    background: #fff;
}

a {
    color: #880a08;
}

a:hover {
    color: #880a08;
}

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

/* middle */
#content-wrapper > .container{
    background: #ffffff;
}

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


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

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

#footer {
    min-height: 380px;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

/*  xs  */
@media (max-width: 991px) {
    /* xs-footer-separator (lines) */
    #footer .row > .col-xs-12:not(:first-child)::before{
        background: none;
        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;
    }
}

#innerfooter {
    line-height: 20px;
    color: #fff;
    font-weight: normal;
    font-style: normal;
    padding-top: 13px;
    padding-bottom: 10px;
}

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

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

@media (max-width: 991px) {
    #innerfooter {
        padding-top: 20px;
    }
}


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

#innerfooter_bg {
    background: #212121;
    min-height: 47px;
    margin-bottom: -10px;
}

#sgtab-wrapper {
    min-height: 100px;
    background: #e1e1de;
}

#nach_oben {
    float: right;
    padding-bottom: 10px;
    opacity: 1;
    background: url('../img/footer_top.png') left center no-repeat #1b1b1b;
    border-radius: 5px;
    width: 50%;
    margin-top: 60px;
    padding-left: 25px;
}

@media (max-width:991px) {
    #nach_oben {
        width: 100%;
    }
}

#oben {
    color: #fff;
    text-align: center;
    padding-top: 9px;
}

#nach_oben:hover {
    opacity: 0.8;
    transition: all 0.5s ease;
}

#line {
    border-top: 1px solid rgba(0,0,0,0.24);
}

#menu-wrapper{
    background-color: #d63230;
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.7);
}

#logo {
    min-height: 10px;
    position: absolute;
    z-index: 8;
    height: 100%;
    width: 100%;
    top: 15px;
}

#logo .container{
    display: table;
    height: 100%;
}

#logo a {
    max-width: 100%;
    display: table-cell;
    vertical-align: middle;
}

#logo img {
    margin: 0 auto;
}

#navbar-logo{
    max-width: 65%;
    display: inline-block;
    padding-top: 20px;
    padding-right: 5px;
}

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

#vernetzt {
    padding-top: 40px;
}

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

    #vernetzt {
        padding: 20px 0px 0px 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;
    }
}

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


#headerpic {
    max-height: 500px;
    margin: 0 auto;
    overflow: hidden;    
    position: relative;
}

body.start #bg-left {
    position: relative;
    margin-top: -55px;
}
/* --------------------------------------------- tab-section -------------------------------------------- */

.box2 {
    width: 100%;
    background: none;
    margin-bottom: 30px;
    margin-top: 30px;
}

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

.boxtop {
    background: none;
    color: #212121;
    font-size: 22px;
    font-family: 'PT Sans', sans-serif;
    min-height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #fff;
}

.boxtop1 {
    background: none;
    color: #212121;
    font-size: 22px;
    font-weight: bold;
    font-family: 'PT Sans', sans-serif;
    min-height: 40px;
    line-height: 40px;
}

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

.boxindent1 {
    color: #fff;
    width: 100%;
    padding: 5px 0;
    margin: 0 auto;
    line-height: 25px;
}

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

.boxindent3 {
    color: #303030;
    width: 100%;
    padding: 5px 0;
    margin-bottom: 20px;
    margin-top: 50px;
    line-height: 30px;
}

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




.box-small {
    width: 100%;
    background: #9f2524;
    height: 180px;
    display: table-cell;
    vertical-align: middle;
    position: relative;
    margin-top: 30px;
}

.box-small2 {
    width: 100%;
    background: #d63230;
    height: 180px;
    display: table-cell;
    vertical-align: middle;
    position: relative;
    margin-top: 30px;
}

.boxindent-small {
    color: #fff;
    width: 90%;
    padding: 5px 0;
    margin: 0 auto;
    line-height: 1.4em;
}

.boxindent-small a{
    color: #fff;
}


.box-teaser {
    width: 100%;
}

.boxindent-bild {
    width: 100%;
}

.boxindent-teaser {
    color: #fff;
    line-height: 1.3em;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    padding: 5px 10px;
    height: 55px;
    overflow: hidden;
    top: -60px;
    position: relative;
}

.boxindent-teaser-intro {
    color: #fff;
    line-height: 1.3em;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    padding: 5px 10px;
    height: 55px;
    overflow: hidden;
    top: -60px;
    position: relative;
    line-height: 45px;
}

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

#search {
    min-height: 38px;
    width: 100%;
    margin: 20px 0;
}

#search_form{
    min-height: 38px;
    background: #dddddd;
    width: 100%;
    border: 1px solid #eaeaea;
}

#search_input {
    width: 85%;
    float: left;
    color: #000000;
    font-size: 14px;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 38px;
    padding-left: 10px;
    min-height: 38px;
}

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

#search_input::-ms-input-placeholder,#newsletter_input::-ms-input-placeholder {
    color: #000000 !important;
}
#search_input::-webkit-input-placeholder,#newsletter_input::-webkit-input-placeholder {
    color: #000000 !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: #d63230;
    font-weight: bold;
    line-height: 1.2em;
    font-family: 'PT Sans', sans-serif;
}



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


/* ------------------------------------------------ dark ------------------------------------------------ */



/* for white background */
#startseite_news ul a {
    font-size: 12px;
    color: #7c7c7c;
    font-weight: normal;
}


/* ---------------------------------------------- tab-fonts --------------------------------------------- */

.tab_link_title a {
    color: #880a08;
    font-weight: bold;
}

.tab_link {
    color: #880a08;
}

.tab_link_mehr {
    color: #880a08;
}

.tab_link_mehr a {
    color: #880a08;
}

.tab_link_mandat a {
    color: #880a08;
}



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

.navbar-default ul.navbar-nav{
    height: 80px;
}

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

/* burgermenu - background */
.navbar-default .navbar-toggle {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: transparent;
}

/* burgermenu - mouseover */
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: rgba(255, 255, 255, 0.6);
}

/* burgermenu for tablet */
@media (max-width: 991px) {
    .navbar-default ul.navbar-nav{
        height: auto;
    }

    .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 li .dropdown-menu {
        position: static;
        float: none;
        width: auto;
    }

    /* fixed burgermenu-height */
    #menu-wrapper-sticky-wrapper{
        max-height: 84px !important;
    }

}

/* menu fixed top (tablet) */

/*** Menü über komplette Breite (1200px) ***/
@media (min-width: 992px) {
    .navbar-default .navbar-nav {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .navbar-default .navbar-nav > li {
        display: table-cell;
        width: 100%;
        float: none;
        vertical-align: middle;
    }
}

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

.navbar-default .navbar-nav > li {
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 10px 5px;
}

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

.navbar-default .navbar-nav > li:hover,
.navbar-default .navbar-nav > li:focus,
.navbar-default .navbar-nav > li.open,
.navbar-default .navbar-nav > li.menue_point_toplevel_19303_over{

    background: none;
}

.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_19303_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_19303_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_19303_over > a:focus {
    color: #212121;
}


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

@media(min-width:992px){
    .navbar-default .navbar-nav > li > .dropdown-menu {
        margin-top: 0px;
    }
}

.navbar-default .navbar-nav > li > .dropdown-menu {
    padding: 0px;   
    margin: 0;
    background-color: rgba(0,0,0,0.9);
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
}

.menue_group_19303_start{
    height: 5px;
    font-size: 1px;
    line-height: 1px;

}

.menue_group_19303_end{
    height: 5px;
    font-size: 1px;
    line-height: 1px;

}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent; 
    color: #fff;
    font-weight: normal;
    line-height: 30px;
    text-align: left;
    padding-left: 30px;
    padding-right: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

/* ------------------------------------------ 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_19303_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19303_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19303_over > a:focus {
    color: #d63230;
    font-weight: normal;
    padding-right: 20px;
    padding-left: 30px;
}

/* --------------------------------------- thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding: 0px;
    margin: 0;
    background: none;

}

.menue_list_thirdlevel_19303_start{
    height: 5px;
    font-size: 1px;
    line-height: 1px;
}

.menue_list_thirdlevel_19303_end{
    height: 5px;
    font-size: 1px;
    line-height: 1px;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        position: relative;
        margin-left: 0px;
    }


    .navbar-default .navbar-nav > li > .dropdown-menu > li {
        position: relative;
    }

    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        top: 0;
    }
}

/* --------------------------------------------- thirdlevel --------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent; 
    color: #fff;
    font-weight: normal;
    line-height: 30px;
    padding-left: 50px;
    padding-right: 20px;
    padding-left: 60px;
}

/* ------------------------------------------- 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_19303_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19303_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19303_over > a:focus {
    color: #d63230;
    font-weight: normal;
    background: url('../img/thirdlevel_over.png') left no-repeat;
    padding-left: 60px;
    padding-right: 20px;
}

