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

body {
    font-family: 'Ubuntu', sans-serif;
    color: #5e5e5e;
    background: #fff;
}

a {
    color: #ad0c0d;
}

a:hover {
    color: #ad0c0d;
}

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

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


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

/* change to #footer for inner-containment */
#footer-wrapper {
    background: rgb(176,14,19); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(176,14,19,1) 0%, rgba(209,41,47,1) 99%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(176,14,19,1) 0%,rgba(209,41,47,1) 99%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(176,14,19,1) 0%,rgba(209,41,47,1) 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b00e13', endColorstr='#d1292f',GradientType=0 ); /* IE6-9 */
    min-height: 92px;
}

@media (max-width: 991px) {
    #footer-wrapper {
        background: rgb(176,14,19); /* Old browsers */
        background: -moz-linear-gradient(top, rgba(176,14,19,1) 0%, rgba(209,41,47,1) 99%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(176,14,19,1) 0%,rgba(209,41,47,1) 99%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(176,14,19,1) 0%,rgba(209,41,47,1) 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b00e13', endColorstr='#d1292f',GradientType=0 ); /* IE6-9 */
    }
}

#footer {
    min-height: 92px;
    color: #fff;
    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: 10px 15px;
    }
}

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

#innerfooter {
    line-height: 30px;
    color: #fff;
    font-weight: normal;
    font-style: normal;
    padding: 16px 0px;
}

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

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


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

.theme-default .nivo-controlNav {
    text-align: center;
    position: absolute;
    bottom: 590px !important;
    z-index: 50;
}

#stehenbleibender_div {
    background-color: #fff;
    z-index: 51;
}


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

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

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

#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 {
        margin: 0px 0px 15px 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: 625px;
    margin: 0 auto;
    overflow: hidden;    
    position: relative;
    width: 100%;
}

@media (max-width: 991px) {
    #headerpic {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    #headerpic {
        max-height: 250px;
    }
}

.slider-mask{
    display: block;
    background: url('../img/slider-mask.png') top center no-repeat;
    background-size: cover;
}

@media (max-width: 991px) {
    .slider-mask{
        display: none;

    } 
}


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

#tab-bild {
    width: 100%;
    height: 100%;
    background: #ffffff url('../img/tabwrapper.jpg') top center no-repeat;
}

.contact_imprint {
    display: none;
}

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

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

}

.box2 {
    width: 100%;
    margin-bottom: 40px;

}

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

.boxtop {
    color: #181818;
    font-size: 20px;
    font-family: 'Ubuntu', sans-serif;
    min-height: 50px;
    line-height: 50px;
    font-weight: bold;
    padding: 0 6%;
    border-bottom: 1px solid #181818;
}

/*
#events .boxtop {
    background: url('../img/bg_box_events.jpg') top left no-repeat;
}
*/

/*
#news .boxtop {
    background: url('../img/bg_box_news.jpg') top left no-repeat;
}
*/

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


/*.boxindent {
    color: #7d7d7d;
    width: 88%;
    padding: 5px 0;
    margin: 0 auto;
}*/

.box a {
    color: #ad0c0d;
    text-decoration: none;
}

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


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



#style {
    min-height: 35px;
    position: relative;
    z-index: 50;
    margin-top: -37px;
}

#switch {
    font-size: 16px;
    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 {
    color: #1f1f1f;
    font-weight: normal;
    line-height: 1.2em;
    font-family: 'Ubuntu', sans-serif;
}

.h4link a:link, .h4link a:hover, .h4link a:visited, h1, #content .legacy_h1, .legacy_h1 {
    color: #1f1f1f;
    font-weight: bold;
    line-height: 1.2em;
    font-family: 'Ubuntu', sans-serif;
}

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

}
*/

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


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

.tab_link {
    color: #7d7d7d;
}

.tab_link_mehr {
    color: #7d7d7d;
}

.tab_link_mehr a {
    color: #138bc3;
}

.tab_link_mandat a {
    color: #138bc3;
}



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

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

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



/* burgermenu - background */
.navbar-default .navbar-toggle {

    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-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 {
    /*
    background: url('../img/toplevel.jpg') top left no-repeat;
    */
}

.navbar-default .navbar-nav > li > a {
    color: #181818;
    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_16853_over{
    background: rgb(176,14,19); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(176,14,19,1) 0%, rgba(209,41,47,1) 99%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(176,14,19,1) 0%,rgba(209,41,47,1) 99%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(176,14,19,1) 0%,rgba(209,41,47,1) 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b00e13', endColorstr='#d1292f',GradientType=0 ); /* IE6-9 */
}

.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_16853_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_16853_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_16853_over > a:focus {
    color: #fff;
    font-weight: normal;
}


/* -------------------------------------- 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: #fff;
    /* min-width: px; */
    -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_16853_start{
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    border-left: 2px solid #b00e13;
    /*
        background: url('../') top left no-repeat;
    */
}

.menue_group_16853_end{
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    border-left: 2px solid #b00e13;
    /*
        background: url('../') top left no-repeat;
    */
}

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

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

/* ------------------------------------------ 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_16853_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_16853_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_16853_over > a:focus {
    color: #b00e13;
    font-weight: normal;
    border-left: 2px solid #ececec;
    /*
    background: url('../img/secondlevel_over.jpg') top right no-repeat;
    */

}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding: 0px;
    margin: 0;
    background-color: #fff;
    -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_list_thirdlevel_16853_start {
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

.menue_list_thirdlevel_16853_end {
    height: 5px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

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

    /* Thirdlevel - right dropdown */
    .navbar-default .navbar-nav > li > .dropdown-menu > li {
        position: relative;
    }

    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        position: absolute;
        left: 100%;        top: 0;
    }
}

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

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

/* ------------------------------------------- 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_16853_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_16853_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_16853_over > a:focus {
    color: #b00e13;
    font-weight: normal;
    border-left: 2px solid #ececec;
    /*
    background: url('../img/thirdlevel_over.jpg') top right no-repeat;
    */
}

