@import url('https://fonts.verwaltungsportal.de/css?family=Sedgwick+Ave');
@import url('https://fonts.verwaltungsportal.de/css?family=Source+Sans+Pro:300,300i,400,400i,600,600i,700,700i&display=swap');
@import url('https://fonts.verwaltungsportal.de/css?family=Kalam:300,400,700&display=swap');

body {
    font-family: Kalam, Verdana, Helvetica, sans-serif;
    color: #767676;
    background: #ffffff;
}

a {
    color: #f18f74;
}

a:hover {
    color: #f18f74;
}

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

#content-wrapper{
    padding-top: 50px;
    position: relative;
    z-index: 55;
    background: #fff;
}

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

#bg-left{
    border-right: 1px dashed #f8c7b9;
}
@media(min-width:992px){
    #bg-left{
        padding-top: 25px;
    }
}

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

/* change to #footer for inner-containment */
#footer-wrapper {
    background: url('../img/bg_footer.jpg') top repeat;
    background-size: contain, auto;
    background-color: #3f3f3f;
    padding: 25px 0;
}

@media(min-width:992px){
    #footer-wrapper{
        background: url('../img/bg_footer.png') top no-repeat, url('../img/bg_footer.jpg') top repeat;
        padding: 60px 0 25px 0;
    }
    #footer-wrapper .row{
        display: flex;
        align-items: center;
    }
}

#footer {
    color: #ffffff;
}

/*  xs  */
@media (max-width: 991px) {
    /* 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;
    }
}

#innerfooter {
    line-height: 30px;
    color: #ffffff;
    font-weight: normal;
    font-style: normal;
}

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

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

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

.nivo-directionNav a,
.theme-default .nivo-controlNav{
    z-index: 55 !important;
}

@media(min-width:992px){
    .border-right{
        border-right: 1px solid #dd987e;
    }
}

#nach_oben{
    height: 40px;
    width: 40px;
    background: url('../img/arrow.png') center no-repeat;
}
@media(min-width:992px){
    #nach_oben{
        float: right;
    }
}
@media(max-width:991px){
    #nach_oben{
        margin: 0 auto;
    }
}

.bg_logo{
    position: relative;
    background: #f18f74;
}

@media(min-width:992px){
    .overlay{
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 54;
        display: flex;
        pointer-events: none;
    }
    .overlay > .container > .row{
        height: 100%;
    }
    .bg_logo{
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        align-content: center;
        background: -moz-linear-gradient(left, rgba(241,143,116,1) 55%, rgba(241,143,116,0) 75%);
        background: -webkit-linear-gradient(left, rgba(241,143,116,1) 55%,rgba(241,143,116,0) 75%);
        background: linear-gradient(to right, rgba(241,143,116,1) 55%,rgba(241,143,116,0) 75%);
    }
    .bg_logo::before{
        content: '';
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: -400%;
        width: 400%;
        background: #f18f74;
    }
}

#menu-wrapper{
    background-color: transparent;
}

#logo {
    margin-top: 50px;
    pointer-events: auto;
}

@media(min-width:992px){
    #logo {
        padding-right: 30%;
    }
}

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

#logo img {
    margin: 0 auto;
}

@media (min-width: 991px) {
    .row img:not(.tableimage) {
        padding-top: 20px;
        max-width: 80%;
        height: auto !important;

    }
}

/* small logo */
#navbar-logo{
    max-width: 70%;
    display: inline-block;
    background: #f18f74;
}

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

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

/* xs, sm */
@media (max-width: 1290px) {
    #logo img {
        max-width: 80%;

    }


}

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

/* 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 {
    margin: 0 auto;
    position: relative;
}
#headerpic-wrapper{
    position: relative;
}

#slider{
    max-height: 500px;
}

.index #slider{
    max-height: 650px;
    overflow: hidden;    
}

.slider-mask{
    display: none;
    background: url('../img/slider_mask.jpg') top center no-repeat;
    background-size: contain; /* remove if not correctly sliced */
}



/* 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%;
    background: transparent;
}

#box-button {
    width: 100%;
    padding-bottom: 90px;
}


@media(max-width:991px){
    .overlay .box{
        margin-bottom: 15px;
    }
}


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

.boxtop {
    background: transparent;
    color: #ffffff;
    font-size: 22px;
    font-family: Kalam, Verdana, Helvetica, sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    padding: 0 6%;
}

.boxbody {
    color: #ffffff;
}

.boxindent {
    color: #ffffff;
    width: 88%;
    margin: 0 auto;
}

.box a {
    color: #ffffff;
}

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

#willkommentab{
    margin-bottom: 5px;
    pointer-events: auto;
}
@media(max-width:991px){
    #willkommentab{
        margin-top: 15px;
    }
}
@media(min-width:992px){
    #willkommentab {
        padding-right: 30%;
    }
}
#willkommentab,
.bannerbutton{
    font-family: Kalam, sans-serif;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}
.bannerbutton .boxindent,
#willkommentab .boxindent{
    font-size: 140%;
    font-weight: 700;
}

.bannerbutton .boxindent{
    font-size: 180%;
}

.bannerbutton{
    transition: 0.3s;
    pointer-events: auto;
}
.bannerbutton .tiny_p{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#eventclr{
    border-radius: 15px;
    -webkit-box-shadow: -4px -3px 0px 0px rgba(255,228,221,1);
    -moz-box-shadow: -4px -3px 0px 0px rgba(255,228,221,1);
    box-shadow: -4px -3px 0px 0px rgba(255,228,221,1);
    padding-bottom: 20px;
    margin-bottom: 25px;
}
#eventclr .boxtop{
    background: url('../img/bg_boxtop.png') left no-repeat, url('../img/bg_boxtop.png') right no-repeat;
    color: #f18f74;
    font-weight: 700;
    padding-top: 20px;
}
#eventclr .boxindent{
    color: #767676;
    width: 100%;
}
#eventclr .boxindent a{
    color: #f18f74;
}
#clr-events-hide{
    width: 88%;
    margin: 0 auto;
}
/* ------------------------------------------ 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: #f18f74;
    font-weight: 700;
    line-height: 1.2em;
    font-family: Kalam, Verdana, Helvetica, sans-serif;
}

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

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

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

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

.tab_link_title a {
    color: #767676;
    font-weight: normal;
}

.tab_link {
    color: #767676;
}

.tab_link_mehr {
    color: #767676;
}

.tab_link_mehr a {
    color: #f18f74;
}

.tab_link_mandat a {
    color: #767676;
}

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

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

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

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

/* 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_21498_over > .dropdown-menu,
    .navbar-nav .menue_point_secondlevel_21498_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: #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;
    }
}

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

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

.navbar-default .navbar-nav > li > a {
    line-height: 44px;
    color: #ffffff;
    font-weight: 700;
    background-color: transparent;
    text-align: left !important;
    font-family: Kalam, sans-serif;
    padding: 0 20px 0 30px;
}

@media(min-width:992px){
    .navbar-default .navbar-nav > li > a {
        margin-bottom: 10px;
    }
}

.navbar-default .navbar-nav > li:nth-child(2n+1) > a {
    background: url('../img/toplevel_blue.png') left no-repeat;
    background-size:contain;
}
.navbar-default .navbar-nav > li:nth-child(2n+2) > a {
    background: url('../img/toplevel_orange.png') left no-repeat;
    background-size:contain;
}
/* -------------------------------------------- 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_21498_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_21498_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_21498_over > a:focus {
    color: #ffffff;
    font-weight: 700;
    background-color: transparent;
    background: url('../img/toplevel_over.png') left no-repeat;
}

.navbar-default .navbar-nav > li:nth-child(2n+1) > a:hover,
.navbar-default .navbar-nav > li:nth-child(2n+1) > a:focus,
.navbar-default .navbar-nav > li.open:nth-child(2n+1) > a,
.navbar-default .navbar-nav > li.open:nth-child(2n+1) > a:hover,
.navbar-default .navbar-nav > li.open:nth-child(2n+1) > a:focus,
.navbar-default .navbar-nav > li.menue_point_toplevel_21498_over:nth-child(2n+1) > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_21498_over:nth-child(2n+1) > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_21498_over:nth-child(2n+1) > a:focus {
    background: url('../img/toplevel_over.png') left no-repeat, url('../img/toplevel_blue.png') left no-repeat;
    background-size:auto,contain;
}
.navbar-default .navbar-nav > li:nth-child(2n+2) > a:hover,
.navbar-default .navbar-nav > li:nth-child(2n+2) > a:focus,
.navbar-default .navbar-nav > li.open:nth-child(2n+2) > a,
.navbar-default .navbar-nav > li.open:nth-child(2n+2) > a:hover,
.navbar-default .navbar-nav > li.open:nth-child(2n+2) > a:focus,
.navbar-default .navbar-nav > li.menue_point_toplevel_21498_over:nth-child(2n+2) > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_21498_over:nth-child(2n+2) > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_21498_over:nth-child(2n+2) > a:focus {
    background: url('../img/toplevel_over.png') left no-repeat, url('../img/toplevel_orange.png') left no-repeat;
    background-size:auto,contain;
}

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

.dropdown-menu {
    padding: 0;
}

/* Secondlevel - DropdownDesign */
.navbar-default .navbar-nav > li > .dropdown-menu {
    background: rgb(245,196,182);
    background: -moz-linear-gradient(left, rgba(245,196,182,1) 0%, rgba(253,204,190,1) 5%, rgba(247,212,220,1) 50%, rgba(245,225,219,1) 100%);
    background: -webkit-linear-gradient(left, rgba(245,196,182,1) 0%,rgba(253,204,190,1) 5%,rgba(247,212,220,1) 50%,rgba(245,225,219,1) 100%);
    background: linear-gradient(to right, rgba(245,196,182,1) 0%,rgba(253,204,190,1) 5%,rgba(247,212,220,1) 50%,rgba(245,225,219,1) 100%);
    margin-top: -27px;
    margin-bottom: -22px;
    margin-left: 17px;
    margin-right: 17px;
    padding: 20px 0;
}
@media(max-width:991px){
    .navbar-default .navbar-nav > li > .dropdown-menu {
        margin-top: -16px;
    }
}

.menue_group_21498_start{
    display: none;
}

.menue_group_21498_end{
    display: none;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #767676;
    font-weight: normal;
    line-height: 30px;
    text-align: left;
    background-color: transparent;
    padding-left: 37px;
    border-bottom: 1px dashed #fbc1b2;
    white-space: inherit;
}

/* ------------------------------------------ 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_21498_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_21498_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_21498_over > a:focus {
    font-weight: bold;
    color: #f18f74;
    font-weight: normal;
    background-color: transparent;
    position: relative;
    border-bottom: 1px dashed #fbc1b2;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > a:hover::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:focus::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li.open > a::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li.open > a:hover::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li.open > a:focus::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_21498_over > a::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_21498_over > a:hover::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_21498_over > a:focus::before {
    position: absolute;
    left: 10px;
    content: '\00BB';
    font-size: 140%;
    top: 2px;
}

/* --------------------------------------- thirdlevel dropdown-box -------------------------------------- */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin: 0px;
}
@media(min-width:992px){
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        padding-left: 40px;
    }
}

.menue_list_thirdlevel_21498_start {
    display: none;
}

.menue_list_thirdlevel_21498_end {
    display: none;
}

/* --------------------------------------------- thirdlevel --------------------------------------------- */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #767676;
    font-weight: normal;
    line-height: 30px;
    background-color: transparent;
    padding-left: 15px;
    border-bottom: 1px dashed #fbc1b2;
    white-space: inherit;
}

/* ------------------------------------------ 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_21498_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21498_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21498_over > a:focus
{
    color: #f18f74;
    font-weight: normal;
    background-color: transparent;
    border-bottom: 1px dashed #fbc1b2;
    position: relative;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21498_over > a::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21498_over > a:hover::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_21498_over > a:focus::before
{
    display: block;
    content: '';
    position: absolute;
    left: 0;
    top: 45%;
    height: 4px;
    width: 4px;
    border-radius: 50%;
    background: #f18f74;
}

.navbar-nav li .dropdown-menu{
    width: auto !important;
}