@import url('https://fonts.verwaltungsportal.de/import/?family=Raleway:400,300,600');

/* Background pattern from Toptal Subtle Patterns */

body {
    font-family: Raleway, sans-serif;
    color: #2b2b2b;
    background: #fff;
}

a {
    color: #4456a0;
}

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

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

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

/* change to #footer for inner-containment */
#footer-wrapper {
    background: url('../img/footer_bg.jpg') top repeat, #595959;
}

#footer {
    min-height: 100px;
    color: #2b2b2b;
}

/*  xs  */
@media (max-width: 767px) {

    /* xs-footer-separator (lines) */
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: none;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 5px 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: 3px;
        padding-bottom: 3px;
    }
}

#innerfooter {
    line-height: 20px;
    color: #2b2b2b;
    font-weight: normal;
    font-style: normal;
    padding-top: 60px;
}

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

#innerfooter a:hover {
    color: #4456a0;
    text-decoration: underline;
}

#innerfooter1 {
    line-height: 20px;
    color: #fff;
    font-weight: normal;
    font-style: normal;
    padding-top: 40px;
}

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

#innerfooter1 a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 991px) {
    #innerfooter1 {
        padding-top: 10px;
        line-height: 25px;
        padding-bottom: 5px;
    }

    #innerfooter {
        padding-top: 5px;
        line-height: 25px;
        padding-bottom: 5px;
    }

}


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

#line {
    border-bottom: 1px solid #4456a0;
    padding-bottom: 15px;
}

#bg {
    position: absolute;
    width: 100%;
}

@media (max-width: 991px) {
    #bg {
        position: relative;
    }
}

#topbar {
    min-height: 150px;
    background-color: rgba(255, 255, 255, 0.9);
}

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

    /* spacing */
    #topbar .row>div {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    #topbar {
        min-height: 20px;
    }
}

#menu-wrapper {
    background: rgba(255, 255, 255, 0.9);
}


#logo {
    min-height: 10px;
    position: absolute;
    padding-top: 50px;
}

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

#content_buttons_div {
    top: 45%;
    z-index: 100;
}

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

    #content_buttons_div {
        display: none;
    }

    /* hide slider-mask */
    .slider-mask {
        display: none;
    }
}



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


#headerpic {
    width: 100%;
    height: 600px;
    margin: 0 auto;
}

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

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


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

#sgtab-wrapper {
    margin-bottom: 20px;
}

.box {
    width: 100%;
    background: #ffffff;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
    border-bottom: 5px solid #4456a0;
}

.box *:not(.row) {
    max-width: 100%;
}

.boxtop {
    background: none;
    color: #B65B07;
    font-size: 22px;
    font-family: Raleway, sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: bold;
    padding: 10px;
}


.boxbody {
    min-height: 100px;
}


.boxindent {
    color: #2b2b2b;
    width: 95%;
    padding: 5px 0;
    margin: 0 auto;
}



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



#style {
    min-height: 44px;
}

#switch {
    float: left;
}

.a, .aa, .aaa {
    display: block;
    width: 50px;
    height: 44px;
    float: left;
    padding: 0;
    margin: 0 0 0 0px;
    font-size: 1px;
    line-height: 1px;
}

@media (max-width: 1199px) {
    .a, .aa, .aaa {
        width: 42px;
    }
}

.a {
    background: url('../img/a.jpg') top center no-repeat;
}

.a:hover {
    background: url('../img/a_over.jpg') top center no-repeat;
}

.aa {
    background: url('../img/aa.jpg') top center no-repeat;
}

.aa:hover {
    background: url('../img/aa_over.jpg') top center no-repeat;
}

.aaa {
    background: url('../img/aaa.jpg') top center no-repeat;
}

.aaa:hover {
    background: url('../img/aaa_over.jpg') top center no-repeat;
}

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

#search {
    height: 46px;
    width: 100%;
    background: #fff;
    border: 8px solid #4456a0;
}

#search_text {
    color: #ffffff;
    line-height: 23px;
    float: left;
    text-align: right;
    width: 27%;
}

#search_form {
    height: 46px;
    width: 70%;
}

#search_input {
    width: 86%;
    float: left;
    color: #2c2c2c;
    font-size: 12px;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 23px;
    padding-left: 10px;
    height: 30px;
}

#search_submit {
    width: 12%;
    float: left;
    background: transparent;
    vertical-align: top;
    margin: 0 0 0 2px;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: url('../img/search_submit.png') right center no-repeat;
    line-height: 30px;
}

@media(max-width:991px) {
    #search_text {
        text-align: left;
        width: 15%;
    }

    #search_form {
        width: 85%;
    }
}

@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: #2c2c2c !important;
}

#search_input::-webkit-input-placeholder, #newsletter_input::-webkit-input-placeholder {
    color: #2c2c2c !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: #B65B07;
    font-weight: bold;
    line-height: 1.2em;
    font-family: Raleway, sans-serif;
}

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

#startseite_news ul a {
    font-size: 12px;
    color: #7c7c7c;
    font-weight: normal;
}

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

.tab_link_title a {
    color: #4456a0;
}

.tab_link {
    color: #4456a0;
}

.tab_link_mehr {
    color: #4456a0;
}

.tab_link_mehr a {
    color: #4456a0;
}

.tab_link_mandat a {
    color: #4456a0;
}



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

.navbar-nav>li {
    display: block !important;
}

/* --------------------------------------- navigation bar (19707) --------------------------------------- */

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

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

/* burgermenu - background */
.navbar-default .navbar-toggle {
    background-color: #4456a0;
    border-color: transparent;
}

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

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



}

/* menu fixed top (tablet) */

/*** Menü über komplette Breite (1200px) ***/
@media (min-width: 992px) {
    .navbar-default .navbar-nav {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
    }

    .navbar-default .navbar-nav>li {
        float: none;
        flex-grow: 1;
    }
}

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

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

.navbar-default .navbar-nav>li>a {
    color: #2b2b2b;
    font-weight: normal;
    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_19707_over {

    background-color: #4456a0;
}

.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_19707_over>a,
.navbar-default .navbar-nav>li.menue_point_toplevel_19707_over>a:hover,
.navbar-default .navbar-nav>li.menue_point_toplevel_19707_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;
    background-color: #ffffff;
    -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_19707_start {
    display: none;
}

.menue_group_19707_end {
    display: none;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    background-color: transparent;
    /* override bootstrap */
    color: #2b2b2b;
    font-weight: normal;
    line-height: 22px;
    text-align: left;
    padding-left: 10px;
}

/* ------------------------------------------ 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_19707_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_19707_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_19707_over>a:focus {
    color: #fff;
    font-weight: normal;
    background: url('../img/secondlevel_over_top.jpg') top right no-repeat, url('../img/secondlevel_over_bottom.jpg') bottom right no-repeat #4456a0;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 0px;
    margin: 0;
    background-color: #ffffff;
    -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_point_secondlevel_19707_over>.dropdown-menu {
    display: block !important;
}

.menue_list_thirdlevel_19707_start {
    display: none;
}

.menue_list_thirdlevel_19707_end {
    display: none;
}

@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 {
        position: absolute;
        left: 100%;
        top: 0;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #2b2b2b;
    font-weight: normal;
    line-height: 30px;
    padding-left: 10px;
}

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

@media(min-width:992px) {
    .navbar-nav>li {
        display: inline-block !important;
    }
}