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

body {
    font-family: 'Khand', sans-serif;
    color: #616161;
    background: url('../img/body_bg.jpg') top no-repeat fixed,#d6d6d6;
    background-size:cover;
}

a {
    color: #e63147;
}

a:hover {
    color: #e63147;
}

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

#content {
    line-height: 1.3em;
    text-align: left;
    -webkit-box-shadow: 1px 2px 7px 0px rgba(0,0,0,0.34);
    background:#ffffff;
    -moz-box-shadow: 1px 2px 7px 0px rgba(0,0,0,0.34);
    padding:15px 15px 50px 15px;
    box-shadow: 1px 2px 7px 0px rgba(0,0,0,0.34);
    min-height: 400px;

}

#content-wrapper .row{
    background:#d6d6d6;
    padding-top:20px;
    padding-bottom:40px;
}


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

/* change to #footer for inner-containment */
#footer {

    background-color: #e63147;

}

#footer {
    min-height: 100px;
    color: #470d14;
    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: #470d14;
    font-weight: bold;
    margin-top:8px;
    text-shadow: -1px 1px 0px rgba(255, 137, 151, 0.59);
    font-style: normal;
}

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

#innerfooter a:hover {
    color: #470d14;
    font-weight: bold;
}


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



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



#logo {
}

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

#logo img {
    margin: 0 auto;
}

/* small logo */
#navbar-logo{
    max-width: 60%;
    display: inline-block;
    margin-bottom:5px;
}

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

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

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

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

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


#headerpic {
    max-height: 465px;
    border-bottom:4px solid #e63147;
    padding: 0px 0px;
    overflow: hidden;
}



#content_spacer {
    height: 20px;
    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;
    }
}


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

.box {
    width: 100%;
    -webkit-box-shadow: 1px 2px 7px 0px rgba(0,0,0,0.34);
    -moz-box-shadow: 1px 2px 7px 0px rgba(0,0,0,0.34);
    box-shadow: 1px 2px 7px 0px rgba(0,0,0,0.34);
    background: #e63147;
    margin-bottom: 10px;
}

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

.boxtop {
    background: #e63147;
    color: #690e19;
    font-size: 25px;
    font-family: 'Khand', sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: bold;
    padding: 0 6%;
}

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


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

.box a {
    color: #e63147;
}

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

#bg-middle .box{
    border: 1px solid #b52637;

}

#bg-middle .box a{
    color:#fff;
}

#bg-middle .boxtop{
    border-bottom:1px solid #b52637;
    text-shadow: -1px 1px 0px rgba(255, 137, 151, 0.59);
    padding:0px 8%;
    background: url('../img/boxtop_bg.png') center left no-repeat;
}

#bg-middle .boxbody{
    border-top:1px solid #f57383;
}

#page-361731,#page-361732{
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#212121+0,323232+50,212121+51,242424+54,222222+97,1f1f1f+99,1f1f1f+100 */
    background: rgb(33,33,33); /* Old browsers */
    background: -moz-linear-gradient(-45deg, rgba(33,33,33,1) 0%, rgba(50,50,50,1) 50%, rgba(33,33,33,1) 51%, rgba(36,36,36,1) 54%, rgba(34,34,34,1) 97%, rgba(31,31,31,1) 99%, rgba(31,31,31,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgba(33,33,33,1) 0%,rgba(50,50,50,1) 50%,rgba(33,33,33,1) 51%,rgba(36,36,36,1) 54%,rgba(34,34,34,1) 97%,rgba(31,31,31,1) 99%,rgba(31,31,31,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgba(33,33,33,1) 0%,rgba(50,50,50,1) 50%,rgba(33,33,33,1) 51%,rgba(36,36,36,1) 54%,rgba(34,34,34,1) 97%,rgba(31,31,31,1) 99%,rgba(31,31,31,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#212121', endColorstr='#1f1f1f',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
        min-height:50px;
    border-radius:5px;
}

#page-361734 .boxtop{
    background:transparent;
    text-align:center;
}

#page-361734{
    background:#e8e8e8;
}

#page-361731 .boxtop{
    padding-top:10px;
    padding-bottom:10px;
line-height:28px;
    background: url('../img/button_bg2.png') bottom right no-repeat;
}

#page-361732 .boxtop{
    background: url('../img/button_bg.png') bottom right no-repeat;
    color:#ff304b;
    line-height:50px;

}


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



#style {
    min-height: 21px;
    margin-top:15px;
}



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




/* ------------------------------------------ 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: #1e1e1e;
    font-weight: normal;
    line-height: 1.2em;
    font-family: 'Khand', sans-serif;
}


h1, #content .legacy_h1, .legacy_h1 {
font-weight:bold;
}


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


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

.tab_link {
    color: #000000;
}

.tab_link_mehr {
    color: #000000;
}

.tab_link_mehr a {
    color: #e63147;
}

.tab_link_mandat a {
}



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

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

}



/* burgermenu - background */
.navbar-default .navbar-toggle {
    background-color: #e63147;
    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_19002_over > .dropdown-menu,
    .navbar-nav .menue_point_secondlevel_19002_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: #d6d6d6;
        z-index: 9;
        border-radius: 0px;
    }

    /* prevents the top-content from beeing hidden behind the navbar */
    #maindiv{
      
    }

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

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

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

.navbar-default .navbar-nav > li > a {
    line-height: 20px;
    padding-left: 47px;    color: #363434;
    font-weight: bold;
    background: url('../img/toplevel.png') center left no-repeat;
    background-color: #d6d6d6;
    text-align: left;
    border-bottom:1px solid #a8a8a8;
    border-top:1px solid #f9fcf0;
}

.navbar-default .navbar-nav > li:first-child > a{
    border-top:none;
}

.navbar-default .navbar-nav > li:last-child > a{
    border-bottom:none;
}

/* -------------------------------------------- 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_19002_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_19002_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_19002_over > a:focus {
    color: #e63147;
    font-weight: bold;
    background: url('../img/toplevel_over.png') center left no-repeat;
    background-color: #d6d6d6;
}

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

.dropdown-menu {
    padding: 0;
    margin:0px;
}

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

}

.menue_group_19002_start{
    display: none;
}

.menue_group_19002_end{
    display: none;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent; /* override bootstrap */
    color: #616161;
    font-weight: normal;
    line-height: 30px;
    text-align: left;
    /*
    background: url('../img/secondlevel.jpg') top right no-repeat;
    padding-right: 0px;
    */
    background-color: #d6d6d6;
    padding-left: 47px;
}

/* ------------------------------------------ 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_19002_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19002_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19002_over > a:focus {
    font-weight: bold;
    color: #e63147;
    font-weight: normal;
    /*
    background: url('../img/secondlevel_over.jpg') top right no-repeat;
    */
    background-color: #d6d6d6;
}

/* --------------------------------------- thirdlevel dropdown-box -------------------------------------- */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {

}

.menue_list_thirdlevel_19002_start {
    display: none;
}

.menue_list_thirdlevel_19002_end {
    display: none;
}

/* --------------------------------------------- thirdlevel --------------------------------------------- */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent; /*override bootstrap*/
    color: #616161;
    font-weight: normal;
    line-height: 30px;
    /*
    background: url('../img/thirdlevel.jpg') top right no-repeat;
    padding-right: 0px;
    */
    background-color: #d6d6d6;
    padding-left: 65px;
}

/* ------------------------------------------ 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_19002_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19002_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19002_over > a:focus
{
    color: #e63147;
    font-weight: normal;
    /*
    background: url('../img/thirdlevel_over.jpg') top right no-repeat;
    */
    background-color: #d6d6d6;
}
