:root {
    --gs-overlay-dark: rgba(0, 0, 0, 0.6);
}

body {
    background: #fff;
    color: #333;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}


/*-----------------------------------------------------*\
  #BOOTSTRAP
\*-----------------------------------------------------*/
.container {

}

/*-----------------------------------------------------*\
  #LINKS
\*-----------------------------------------------------*/
a {

}

a:hover {

}

/*-----------------------------------------------------*\
  #ÜBERSCHRIFTEN
\*-----------------------------------------------------*/
.h1, h1, .h2, h2 {
    font-size: 28px;
}

.h3, h3 {
    font-size: 24px;
}

/*-----------------------------------------------------*\
  #KOPFBEREICH
\*-----------------------------------------------------*/
header.seitenheader .top {
    background: #E40C15;
    color: #fff;
    font-size: 14px;
    height: 40px;
}

header.seitenheader .top .kontakt {
    height: 40px;
}

header.seitenheader .top .kontakt div:last-child {
    margin-left: 20px;
}

header.seitenheader .top div i {
    margin-right: 5px;
}

header.seitenheader .top .suche i {
    font-size: 24px;
    margin-top: 3px;
}

header.seitenheader .top a {
    color: #fff;
}

header.seitenheader .top form .form-group {
    margin-bottom: 0;
}

header.seitenheader .top form .form-group input {
    padding: 5px;
    height: 30px;
    font-size: 14px;
}

header.seitenheader .logo-navigation-wrap {
    border-bottom: 5px solid #E40C15;
    padding-top: 32px;
    margin-bottom: 30px;
}

header.seitenheader .logo-navigation-wrap .logo {
    position: absolute;
    top: -32px;
}

header.seitenheader .logo-navigation-wrap .logo img {
    width: 100%;
    height: auto;
}

/*-----------------------------------------------------*\
  #SLIDER
\*-----------------------------------------------------*/
.kopfslider {
    overflow: hidden;
}

.kopfslider .slick-slide img {
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
}

.kopfslider .slick-slide.slick-current.slick-active.slick-center img {
    opacity: 1;
    filter: alpha(opacity=1); /* For IE8 and earlier */
}

.slick-next {
    right: 9vw;
}

.slick-prev {
    left: 9vw;
}

.slick-prev::before, .slick-next::before {
    font-family: 'slick';
    font-size: 60px;
    line-height: 1;
    opacity: 1;
    color: #555;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 60px;
    height: 60px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    z-index: 1;
}

.slick-initialized .slick-slide {
    position: relative;
}

.kopfslider .slick-slide.slick-current.slick-active.slick-center .text {
    display: block;
    background-image: url(../Images/Template/trans-weiss-80.png);
    font-size: 20px;
    font-weight: 600;
    padding: 15px 0;
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
}

.kopfslider .slick-slide .text {
    display: none;
}

.layout-kopfbild header.seitenheader .kopfbild {
    height: auto;
    max-height: 800px;
    overflow: hidden;
}

.layout-kopfbild header.seitenheader .kopfbild img {
    width: 100%;
    height: auto;
}

/*-----------------------------------------------------*\
  #CONTENT
\*-----------------------------------------------------*/
main {
    border-top: 5px solid #008433;
    margin-top: 30px;
}

main .content {
    margin-top: 30px;
}

/*-----------------------------------------------------*\
  #LINKE SPALTE
\*-----------------------------------------------------*/

/*-----------------------------------------------------*\
  #FOOTER
\*-----------------------------------------------------*/
footer {
    background: #eee;
    border-top: 15px solid #FAF04D;
    padding-top: 40px;
    padding-bottom: 30px;
}

footer a{
    color: #333;
}

footer #c17 {
    text-align: right;
}

/*-----------------------------------------------------*\
  #TYPO3
\*-----------------------------------------------------*/
p {
    margin-bottom: 15px;
}

strong {
    font-weight: 800;
}

.frame-space-before-extra-small {
    margin-top: 15px;
}

.frame-space-before-small {
    margin-top: 30px;
}

.frame-space-before-medium {
    margin-top: 45px;
}

.frame-space-before-large {
    margin-top: 60px;
}

.frame-space-before-extra-large {
    margin-top: 75px;
}

.frame-space-after-extra-small {
    margin-bottom: 15px;
}

.frame-space-after-small {
    margin-bottom: 30px;
}

.frame-space-after-medium {
    margin-bottom: 45px;
}

.frame-space-after-large {
    margin-bottom: 60px;
}

.frame-space-after-extra-large {
    margin-bottom: 75px;
}

.frame-text-2-column .ce-bodytext {
    column-count: 2;
    column-gap: 30px;
    text-align: justify;
}

.ce-gallery .image img {
    width: 100%;
    height: auto;
}

figcaption {
    font-size: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#cboxTitle {
    position: absolute;
    bottom: -3px;
    left: 0;
    text-align: center;
    width: 100%;
    color: #555;
}

.frame-grau {
    background: #555;
    color: #fff;
    padding: 10px 15px 0 15px;
}

.frame-grau p.text-right,
.frame-gruen p.text-right {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -ms-flex-pack: end;
    justify-content: flex-end;
    line-height: 1;
}

.frame-grau p.text-right i,
.frame-gruen p.text-right i {
    margin-left: 10px;
}

.frame-gruen {
    background: #008433;
    color: #fff;
    padding: 10px 15px 0 15px;
}

.frame-grau header,
.frame-gruen header {
    border-bottom: 1px solid #fff;
    margin-bottom: 10px;
}

.frame-grau header h2,
.frame-gruen header h2 {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}

.frame-grau a,
.frame-gruen a {
    color: #fff;
}

hr {
    padding: 0;
    border-top: 1px solid #333;
    color: #555;
    text-align: center;
    clear: both;
    margin-bottom: 40px;
}

hr::after {
    content: "\f4c4";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    position: relative;
    top: -19px;
    font-size: 1.5em;
    padding: 0 0.25em;
    background: white;
}

/*-----------------------------------------------------*\
  #MASK
\*-----------------------------------------------------*/
/*---------- BILDERGALERIE -----------*/
.mask-bildergalerie {
    clear: both;
    margin-bottom: 20px;
}

.mask-bildergalerie .mask-bildergalerie-wrapper {
    margin-bottom: 15px;
    -webkit-box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5);
    box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5);
}

.mask-bildergalerie .bildspalte {
    margin-bottom: 15px;
}

.mask-bildergalerie .bildspalte img {
    width: 100%;
    height: auto;
}

.bildspalte .zoom {
    overflow: hidden;
    position: relative;
}

.bildspalte .zoom img {
    width: 100%;
    height: auto;
    transition: all 0.5s ease-in-out;
}

.bildspalte .zoom:hover img {
    width: 100%;
    height: auto;
    transform: scale(1.1);
}

.bildspalte figcaption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background: var(--gs-overlay-dark);
}

.bildspalte:hover figcaption {
    opacity: 1;
}

.bildspalte figcaption div {
    text-align: center;
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
    padding: 0 10px;
    position: absolute;
    width: 100%;
    bottom: 20px;
}

/*-------------- TERMINE --------------------*/
.mask-termine-wrap,
.gridelement-aktuelles {
    background: #eee;
    min-height: 250px;
    padding: 70px 15px 5px 15px;
    position: relative;
}

.mask-termine-wrap .mask-termine-ueberschrift h2,
.gridelement-aktuelles h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    width: 40%;
    height: 40px;
    line-height: 1;
    padding: 8px 25px 5px 25px;
    position: absolute;
    left: -8px;
    top: 15px;
    background: #008433;
}

.mask-termine-wrap .mask-termine-ueberschrift h2::before,
.gridelement-aktuelles h2::before {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    bottom: -8.5px;
    left: 0.1px;
    border-top: 9px solid black;
    border-left: 9px solid transparent;
}

.mask-termine-wrap .mask-termine-inhalt .row {
    border-bottom: 1px solid #ccc;
    height: 40px;
}

.mask-termine-wrap .mask-termine-inhalt .row:last-child {
    border-bottom: 0;
}

.mask-termine-wrap .mask-termine-inhalt .mask-termine-text p:last-child {
    margin-bottom: 0;
}

/*-------------- AKTUELLES --------------------*/
.gridelement-aktuelles {
    margin-bottom: 30px;
}
.mask-aktuelles-item-wrap {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.mask-aktuelles-item-wrap:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.mask-aktuelles-item-wrap .row .col-12.col-md-8 {
    padding-left: 0;
}

.mask-aktuelles-item-wrap .mask-aktuelles-item-bild img {
    width: 100%;
    height: auto;
}

.mask-aktuelles-item-wrap .mask-aktuelles-item-inhalt .mask-aktuelles-item-datum {
    font-size: 14px;
}

.mask-aktuelles-item-wrap .mask-aktuelles-item-inhalt .mask-aktuelles-item-ueberschrift {
    font-weight: 600;
}

.gridelement-aktuelles-inhalt .mask-aktuelles-item-wrap .mask-aktuelles-item-inhalt .mask-aktuelles-item-text {
    line-height: 1.4;
}

.mask-aktuelles-item-wrap .mask-aktuelles-item-link {

}

.mask-aktuelles-item-wrap .mask-aktuelles-item-link a {
    color: #008433;
}

.mask-aktuelles-item-wrap .mask-aktuelles-item-link a span {
    color: #008433;
    margin-right: 10px;
    bottom: 8px;
    position: relative;
}

/*-----------------------------------------------------*\
  #MAPS
\*-----------------------------------------------------*/
.map .privacy-msg.privacy-map-msg {
    position: relative;
    background: #ccc;
    height: auto !important;
    width: 100% !important;
}

.map .privacy-msg.privacy-map-msg p {
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 20px;
    position: absolute;
}
.privacy-msg.privacy-calendar-msg p,
.privacy-msg.privacy-map-msg p,
.privacy-msg.privacy-video-msg p {
    padding: 15px;
        padding-top: 15px;
        padding-bottom: 15px;
    background: #eee;
    text-align: center;
}

.map .privacy-msg.privacy-map-msg p a.btn {
    color: #fff;
}
.privacy-msg.privacy-calendar-msg p a.btn, .privacy-msg.privacy-map-msg p a.btn, .privacy-msg.privacy-video-msg p a.btn {
    background: #59a2b1;
    border-color: #59a2b1;
    color: #fff;
    margin-top: 15px;
    margin-bottom: 15px;
}

.map .privacy-msg.privacy-map-msg iframe.privacy-map {
    width: 100%;
}

/*------------------------------------*\
  #SUCHE
\*------------------------------------*/
header.seitenheader .kesearch_searchbox span.resetbutt,
header.seitenheader .kesearch_searchbox span.submitbutt,
header.seitenheader .kesearch_searchbox div.kesearchbox .clearer {
    display: none;
}

a.kesGreyButt,
span.resetbutt a,
span.submitbutt input,
input.kesGreyButt,
span.kesGreyButt {
    margin: 20px 10px 10px 0 !important;
    max-width: 160px !important;
}

#c20 .tx-kesearch-pi1 form#form_kesearch_pi1 fieldset.kesearch_searchbox span.submitbutt {
    position: relative;
    display: block;
    margin-top: 30px;
}

.tx-kesearch-pi1 #kesearch_results .result-list-item:nth-child(2n) {
    background: #eee;
    padding: 10px;
}

/*------------------------------------*\
  #TABELLEN
\*------------------------------------*/
table.contenttable {
    border: 1px solid #eee;
    width: 100%;
}

table.contenttable tbody tr {
    border-bottom: 1px solid #eee;
}

table.contenttable tbody tr:nth-child(even) {
    background: #eee;
}

table.contenttable tbody tr:last-child {
    border-bottom: 0;
}

table.contenttable tbody tr td {
    padding: 5px;
}

table.contenttable tbody tr td a {

}

/*------------------------------------*\
  #MEDIA-QUERIES
\*------------------------------------*/
@media (max-width: 1199px) {

}

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

    header.seitenheader {
        padding-top: 60px;
    }

    header.seitenheader .logo-navigation-wrap {
        padding-top: 0;
        margin-bottom: 15px;
    }

    header.seitenheader .logo-navigation-wrap .logo {
        position: relative;
        text-align: center;
        top: 0;
    }

    header.seitenheader .logo-navigation-wrap .logo img {
        width: 550px;
        height: auto;
    }

    main {
        margin-top: 15px;
    }

    hr {
        margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    .h1, h1, .h2, h2 {
        font-size: 24px;
    }

    .h3, h3 {
        font-size: 20px;
    }

    .mask-termine-wrap,
    .gridelement-aktuelles {
        min-height: auto;
    }

    .mask-termine-wrap .mask-termine-inhalt .row {
        height: auto;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .mask-termine-wrap .mask-termine-inhalt .row:last-child {
        margin-bottom: 0;
        padding-bottom: 20px;
    }

    footer #c17 {
        text-align: left;
    }
}

@media (max-width: 575px) {
    header.seitenheader .logo-navigation-wrap .logo img {
        width: 100%;
        height: auto;
    }

    .kopfslider .slick-slide.slick-current.slick-active.slick-center .text {
        font-size: 18px;
        font-weight: 400;
        padding: 15px 0 0 0;
        position: relative;
        bottom: 0;
    }

    header.seitenheader .top {
        height: auto;
        padding-bottom: 15px;
    }
}
