body {
    line-height: 1.8;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

a {
    color: #008000;
}

a:hover {
    color: #000;
    text-decoration: none;
}

.footer a:hover {
    color: #ccc;
    text-decoration: none;
}

.footer a {
    color: #fff;
}

.container-fluid {
    padding: 0;
}

.container {
    clear: both;
}

/*-----------------------------------------------------*\
  #BOOTSTRAP
\*-----------------------------------------------------*/


/*-----------------------------------------------------*\
  #ÜBERSCHRIFTEN
\*-----------------------------------------------------*/
h1, .h1, h2, .h2, h3, .h3 {
    color: #008000;
    clear: both;
    font-family: 'Kalam', cursive;
}

h1, .h1, h2, .h2 {
    font-size: 34px;
    padding: 5px 0;
    text-align: left;
}

h3, .h3 {
    font-size: 28px;
    text-align: left;
}

/*-----------------------------------------------------*\
  #KOPFBEREICH
\*-----------------------------------------------------*/
header#seitenheader {
    background: #fff;
    margin-bottom: 30px;
}

.special.container-1600 {
    border-top: 8px solid #008000;
    border-bottom: 8px solid #008000;
}

.logo {
    padding: 7px 0;
}

.logo img {
    width: 155px;
    height: auto;
}

.navigation-wrapper {
    height: 92px;
    z-index: 99;
    clear: both;
    background-color: #fff;
}

.kopfslider, .kopfbild {
    max-height: 800px;
    overflow: hidden;
    width: 100%;
}

.kopfslider .carousel-item {
    max-height: 800px;
}

.kopfslider, .kopfbild {
    padding: 0;
    position: relative;
    clear: both;
}

.carousel-beschreibung {
    position: absolute;
    z-index: 1;
    bottom: 15px;
    right: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: lighter;
    text-shadow: 2px 2px #000;
    width: auto;
    text-align: right;
    background: rgba(0,0,0,0.4);
    padding: 5px;
}

.bildspalte .zoom .carousel-beschreibung {
    bottom: 0;
    right: 0;
    text-shadow: none;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 50px;
    height: 50px;
}

.news .news-list-view .news-list-item img {
    width: 100%;
    height: auto;
}

.container-1600 {
    max-width: 1600px;
    margin: 0 auto;
}

/*-----------------------------------------------------*\
  #FOOTER
\*-----------------------------------------------------*/
footer {
    background-color: #008000;
    color: #fff;
    border-top: 8px solid #008000;
    font-size: 15px;
    line-height: 1.4;
    padding-top: 30px;
    padding-bottom: 10px;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #000;
}

#c6 {
    text-align: right;
}

/*-----------------------------------------------------*\
  #FORMULAR
\*-----------------------------------------------------*/
#kontaktformular-22 h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    border-bottom: 1px solid #ccc;
}

#kontaktformular-22 .row {
    margin-bottom: 20px;
}

#kontaktformular-22 .form-inline .form-group label.control-label {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: start;
    margin-bottom: 0;
}

#kontaktformular-22 .hasDatepicker {

}

#kontaktformular-22 #c23 .form-check {
    padding-left: 0;
}

#kontaktformular-22 .row:nth-child(7),
#kontaktformular-22 .row:nth-child(8) {
    margin-bottom: 0;
}

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

strong {
    font-weight: 600;
}

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

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

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

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

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

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

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

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

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

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

.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-type-menu_subpages ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.frame-type-menu_subpages ul li {
    text-align: center;
    margin-bottom: 30px;
}

.frame-type-menu_subpages ul li a {
    background: #008000;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    padding: 5px 20px;
    width: 100%;
}

.frame-type-menu_subpages ul li a:hover{
    background: #555;
}

/*-----------------------------------------------------*\
  #MASK
\*-----------------------------------------------------*/
/*---------- BILDERGALERIE -----------*/
.frame-type-mask_bildergalerie h2 {
    text-align: center;
}

.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: url(/typo3conf/ext/bim_template/Resources/Public/Images/Template/trans-60-schwarz.png);
}

.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;
}

#karte img {
    width: 100%;
    height: auto;
}

#karte {
    position: relative;
}

#karte .pin a {
    position: absolute;
    width: 40px;
    height: 55px;
    top: 95px;
    left: 407px;
}

/*-----------------------------------------------------*\
  #TABELLEN
\*-----------------------------------------------------*/


/*-----------------------------------------------------*\
  #MAPS
\*-----------------------------------------------------*/
.map .privacy-msg.privacy-map-msg {
    position: relative;
    background: #eee;
    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%;
}

.map .privacy-msg.privacy-map-msg iframe.privacy-map {
    margin-bottom: -9px;
}

/*------------------------------------*\
  #MEDIA-QUERIES
\*------------------------------------*/
@media (max-width: 1600px) {
    header#seitenheader .container.special {
        max-width: 100%;
        padding: 0;
    }
}

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

    .navigation-wrapper {
        height: 8px;
    }

    .logo {
        padding: 1px 10px;
        background: #fff;
        position: absolute;
        top: 0;
        z-index: 999999;
    }
}

@media (max-width: 767px) {
    #c6 {
        text-align: left;
    }
}

@media (max-width: 575px) {
    .email {
        text-align: center;
        margin-bottom: 25px;
    }
}
