@import url('https://fonts.verwaltungsportal.de/import/?family=Quicksand:300,400,500,600,700&display=swap');

body {
    font-family: 'Quicksand', sans-serif;
    color: #2d2d2d;
    background: #ffffff;
    font-size: 18px;
}

a {
    color: #b55c03;
    -webkit-transition: background-color 300ms linear, color 300ms linear;
    -moz-transition: background-color 300ms linear, color 300ms linear;
    -ms-transition: background-color 300ms linear, color 300ms linear;
    -o-transition: background-color 300ms linear, color 300ms linear;
    transition: background-color 300ms linear, color 300ms linear;
}

a:hover {
    color: #b55c03;
}


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

@media (min-width: 992px) {
    .container {
        width: 1600px;
        max-width: 100%;
    }
}

/* ----------------------------------------------- header ----------------------------------------------- */
#logo {
    max-width: 100%;
    display: inline-block;
}

#logo img {
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
}

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

#topbar {
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.5em;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    #topbar {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    #topbar > .container > .row {
        display: flex;
        align-content: center;
        align-items: center;
    }
}

.zeiten,
.zeiten a {
    color: #66800a;
}

/* ------------------------------------------------ menu ------------------------------------------------ */
#menu-wrapper {
    background-color: #ffffff;
    position: relative;
    z-index: 50;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
}

#menu {
    border-top: 2px solid #66800a;
    position: relative;
}


@media (min-width: 992px) {
    #myNavbar {
        margin-top: 25px;
    }
    #menu::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: #e61e2f;
        top: -10px;
    }

    #menu::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: #b55c03;
        top: -15px;
    }
}

/* --------------------------------------- navigation bar (22500) --------------------------------------- */
.navbar {
    min-height: 0;
    margin-bottom: 0px;
    border: none;
}

/* burgermenu - background */
.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #ffffff;
    border-color: transparent;
    -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
}

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

    .navbar-collapse {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        z-index: 100;
        width: 70%;
        background: #f9f9f9;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        border: none;
        opacity: 0;
        pointer-events: none;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse::after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 30%;
        z-index: -1;
        pointer-events: none;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .navbar-collapse.collapse.in,
    .navbar-header .collapse, .navbar-toggle {
        left: 0;
        opacity: 1;
        border: none;
        pointer-events: auto;
        z-index: 60;
    }

    .navbar-header, .navbar-nav>li {
        float: none;
    }

    .navbar-nav {
        float: none;
        margin: 12px auto;
        max-width: 400px;
    }

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

    .navbar-toggle {
        position: relative;
        right: 15px;
        z-index: 101;
        left: auto;
        margin: 0 !important;
        padding: 6px;
        line-height: 0;
        display: block;
        -webkit-transition: background 300ms linear;
        -moz-transition: background 300ms linear;
        -ms-transition: background 300ms linear;
        -o-transition: background 300ms linear;
        transition: background 300ms linear;
    }

    #menu .container {
        width: 100%;
    }

    #myNavbar.navbar-collapse.collapse {
        overflow-y: auto !important;
    }
}

@media(max-width:991px){
    #menu .row{
        display: flex;
        align-items: center;
    }
}

/* menu fixed top (tablet) */
/*** Menü über komplette Breite (1200px) ***/
@media (min-width: 992px) {
    .navbar-default .navbar-nav {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .navbar-default .navbar-nav>li {
        float: none;
        display: inline-block !important;
    }

    .navbar-nav::after,
    .navbar-nav::before {
        display: none;
    }

    .navbar-collapse {
        -webkit-box-shadow: none;
        box-shadow: none
    }

    #menu .navbar-collapse {
        padding-left: 0;
        padding-right: 0;
        display: flex !important;
        align-content: center;
        align-items: center;
    }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */
.navbar-default .navbar-nav>li>a {
    color: #4f4f4f;
    font-weight: 300;
    text-align: center;
    padding: 10px 5px;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 30px 10px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav > li > a {
        display: block;
    }
}

/* -------------------------------------------- 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_22500_over>a,
.navbar-default .navbar-nav>li.menue_point_toplevel_22500_over>a:hover,
.navbar-default .navbar-nav>li.menue_point_toplevel_22500_over>a:focus {
    color: #e61e2f;
}


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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 10px 0;
    border-radius: 10px;
    background: url(../img/second-bg.png) center center/ contain no-repeat rgba(255, 255, 255, 1);
    -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);
}

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

/* keep dropdown open in case the secondlevel is active */
.menue_point_secondlevel_22500_over>.dropdown-menu {
    display: block !important;
}

.menue_group_22500_start,
.menue_group_22500_end,
.menue_list_thirdlevel_22500_start,
.menue_list_thirdlevel_22500_end {
    display: none;
}

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

    /* 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;
        margin: 10px 0 0 4px;
    }
}

/* --------------------------------------------- secondlevel + thirdlevel  -------------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #232323;
    text-align: center;
    padding: 6px 15px;
    border-bottom: 1px solid #fad3d6; 
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a::before,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
        margin-right: 15px;
    }
}

/* ------------------------------------------ secondlevel + thirdlevel 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_22500_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_22500_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_22500_over>a:focus,
.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_22500_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_22500_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_22500_over>a:focus {
    color: #e61e2f;
    background-color: transparent;
}

/* ----------------------------------------------- banner ----------------------------------------------- */
#slider,
#headerpic {
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

body:not(.index) #slider {
    max-height: 400px;
}

#slider {
    max-height: 250px;
}

@media (min-width: 768px) {
    #slider {
        max-height: 400px;
    }
}


@media (min-width: 992px) {
    #slider {
        max-height: 700px;
    }
}

#slider::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    pointer-events: none;
    background:  url('../img/banner-wolke.png') center bottom no-repeat;
    background-size: contain;
}

@media (min-width: 768px) {
    #bannerOverlay {
        margin-top: 0;
        margin-bottom: 0;
        position: absolute;
        left: 0;
        right: 0;
        z-index: 51;
        pointer-events: none;
        bottom: 40px;
    }
}

@media (min-width: 992px) {
    #bannerOverlay {
        bottom: 115px;
    }
}



#headerpic .nivo-controlNav {
    top: 5px;
}

.slider-wrapper, #slider {
    height: 100%;
}

.slider-mask {
    display: none;
}

/* ------------------------------------------------ content ----------------------------------------------- */

#teaser {
    background: transparent;
    margin-bottom: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
}


#content-wrapper {
    line-height: 1.6em;
    text-align: left;
    min-height: 200px;
}

#content {
    padding-bottom: 30px;
}

@media (min-width: 992px) {
    #content {
        padding-bottom: 60px;
    }
}

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

/* ------------------------------------------------ tabs ----------------------------------------------- */
.tab {
    border-radius: 6px;
    color: #fff;
    position: relative;
    background: #66800a;
    height: 100%;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
}

@media (max-width: 991px) {
    .tab {
        margin-bottom: 10px;
    }
}

.tabHeadline::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 92px;
    background: #66800a;
    border-radius: 100%;
    left: 0;
    z-index: 1;
    top: -58px;
}

.tabHeadline1::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 92px;
    background:
        #b55c03;
    border-radius: 100%;
    left: 0;
    z-index: 1;
    top: -58px;
}

.tabHeadline2::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 92px;
    background: #e61e2f;
    border-radius: 100%;
    left: 0;
    z-index: 1;
    top: -58px;
}


.tabImg {
    border-radius: 8px 8px 0px 0px;
}

.tabHeadline2 {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0;
    padding: 30px 10px 10px 10px;
    font-weight: bold;
}

.tabHeadline1 {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0;
    padding: 30px 10px 10px 10px;
    font-weight: bold;
}

.tabHeadline {
    position: relative;
    text-align: center;
    z-index: 2;
    margin: 0;
    padding: 30px 10px 10px 10px;
    font-weight: bold;
}

.tabContent {
    padding: 15px 10px 15px 25px;
}

.tab a {
    color: #fff;
}

#betreuen {
    background: #b55c03;
}

#info {
    background: #e61e2f;
}

@media (min-width: 992px) {
    #teaser {
        position: absolute;
        z-index: 130;
        bottom: -460px !important;
        width: 100%;
    }

    .index #content {
        padding-top: 300px;
    }

    .container-fluid {
        overflow: hidden;
        padding-right: 0px;
        padding-left: 0px;
    }

    #bildreihe img {
        width: 100%;
    }

    #teaser .row {
        display: flex;
    }
}

@media (min-width: 1200px) {
    #teaser {
        position: absolute;
        z-index: 130;
        bottom: -240px !important;
        width: 100%;
    }
}



#sgtab {
    color: #fff;
    background: url(../img/grun-stift.jpg) no-repeat;
    background-size: cover;
}

#sgtab a {
    color: #fff;
}

#sgtab .tabHeadline::before {
    display: none;
}

/* --------------------------------------------- share buttons -------------------------------------------- */
#content_buttons_div {
    top: 45%;
    z-index: 100;
}

@media (max-width: 991px) {
    #content_buttons_div {
        display: none;
    }
}

/* ------------------------------------------ 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: #66800a;
    font-weight: bold;
    line-height: 1.2em;
    font-family: 'Quicksand', sans-serif;
}

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

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

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

/* --------------------------------------------- links below content -------------------------------------------- */
#content_footer {
    margin-top: 40px;
    padding-top: 6px;
    height: auto;
    font-size: 90%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 479px) {
    #contentbottom_left,
    #contentbottom_right {
        width: 100% !important;
        text-align: center !important;
    }

    .content_footer, #content_footer {
        height: auto !important;
    }
}

@media (max-width: 499px) {
    #breadcrumbincontent,
    #contenttop_right {
        width: 100%;
    }
}

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

#nach_oben a {
    color: #000;
    position: relative;
}

#tabreihe {
    padding-bottom: 10px;
}


#footer {
    border-top: 2px solid #66800a;
    background: #fff;
    color: #000;
    padding-top: 20px;
    padding-bottom: 35px;
    line-height: 1.5em;
    position: relative;
}

@media (min-width: 992px) {
    #nach_oben::after {
        content: '\2191';
        position: absolute;
        color: #000;
        top: -2px;
    }

    #footer::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: #e61e2f;
        top: -10px;
    }

    #footer::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: #b55c03;
        top: -15px;
    }

    #tabreihe {
        padding-bottom: 45px;
    }

    .footerTab {
        padding-left: 50px;
    }

    #innerfooter {
        padding-left: 50px;
    }
}

@media (min-width: 768px) {
    #footer > .container > .row {
        display: flex;
        align-content: center;
        align-items: center;
    }
}

.footerHeadline1 {
    font-weight: bold;
    position: relative;
    color: #b55c03;
    text-transform: uppercase;
    margin: 0;
    padding: 15px 0px;
}

.footerHeadline2 {
    font-weight: bold;
    position: relative;
    color: #b55c03;
    text-transform: uppercase;
    margin: 0;
    padding: 15px 0px;
}

.footerHeadline3 {
    font-weight: bold;
    position: relative;
    color: #b55c03;
    text-transform: uppercase;
    margin: 0;
    padding: 15px 0px;
}

.footerHeadline4 {
    font-weight: bold;
    position: relative;
    color: #b55c03;
    text-transform: uppercase;
    margin: 0;
    padding: 15px 0px;
}


@media (min-width: 882px) {
    .footerHeadline1::before {
        content: '';
        position: absolute;
        left: -45px;
        background: url(../img/ort.png) no-repeat;
        width: 60px;
        height: 60px;
    }

    .footerHeadline2::before {
        content: '';
        position: absolute;
        left: -55px;
        background: url(../img/uhr.png) no-repeat;
        width: 80px;
        height: 60px;
    }

    .footerHeadline3::before {
        content: '';
        position: absolute;
        left: -55px;
        background: url(../img/telefon.png) no-repeat;
        width: 80px;
        height: 60px;
    }

    .footerHeadline4::before {
        content: '';
        position: absolute;
        left: -55px;
        background: url(../img/herz.png) no-repeat;
        width: 60px;
        height: 60px;
    }
}

/*  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: 20px 0;
        opacity: 0.3;
    }

    #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 {
    min-height: 100%;
    height: 100%;
}

@media (max-width: 991px) {
    #innerfooter {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }
}


#innerfooter a {
    color: #000;
    text-decoration: none;
    display: inline;
}

#innerfooter a:hover {
    color: #759600;
}

@media (max-width: 991px) {
    #innerfooter a {
        display: inline-block;
    }

    #innerfooter a + a {
        margin-left: 15px;
    }
}

@media (min-width: 992px) {
    #innerfooter a::after {
        content: "\A";
        white-space: pre;
    }
}

/* --------------------------------------------- vernetzt -------------------------------------------- */
#vernetzt {
    text-align: right;
    font-size: 70%;
    color: #000000;
    display: flex;
    align-content: center;
    align-items: center;
    line-height: 140%;
    justify-content: center;
    margin: 0 auto;
    text-shadow: 0 0 2px rgba(45, 45, 45, 0.3);
}

@media (min-width: 992px) {
    #vernetzt {
        justify-content: center;
        margin: 0;
    }
}

@media (min-width: 992px) {
    #vernetzt {
        font-size: 80%;
    }
}

#vernetzt span {
    color: #000000;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-left: 10px;
}

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

#style {
    height: 33px;
    float: left;
}

#style a {
    background-color: transparent;
    color: #000;
    width: 33px;
    height: 33px;
    display: inline-block;
    position: relative;
}

#style a:hover {
    color: #b55c03;
}

#style a + a {
    margin-left: 3px;
}

@media (min-width: 1200px) {
    #style a + a {
        margin-left: 8px;
    }
}

#style a:nth-child(1),
#style a:nth-child(2) {
    font-size: 90%;
}

#style a:nth-child(3) {
    font-size: 110%;
}


