body {
    line-height: 1.7;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    color: #555;
}

a {
    color: #3E6E2D;
    font-weight: 600;
}

a:hover {
    color: #5c5346;
    text-decoration: none;
}

.container.footer a:hover {
    color: #ccc;
    text-decoration: none;
}

.container.footer a {
    color: #fff;
}

.lightbox img, .ce-media img {
    border: 1px solid #79976f;
}

.container-fluid {
    padding: 0;
}

/*************************** ÜBERSCHRIFTEN *************************
************************************************************************/
h1, .h1, h2, .h2, h3, .h3 {
    clear: both;
    font-family: 'Open Sans', sans-serif;
	font-weight: 400;
    text-align: left;
}

h1, .h1 {
    color: #455728;
    font-size: 28px;
    padding: 5px 0;
}

h2, .h2 {
    color: #555;
    font-size: 24px;
    padding: 5px 0;

}

h3, .h3 {
    font-size: 20px;
    font-weight: 600;
}

.footer h3 {
    color: #6D727A;
}

/***************************** TOP-BEREICH ***************************
************************************************************************/
.container-fluid.top-wrapper {
    height: auto;
    background-color: #fff;
    background-image: url("../Images/Template/bg02.png"), url("../Images/Template/bg02.png"), url("../Images/Template/bg01.png");
    background-position: left top, left top, left top;
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: 100% 130px, 100% 130px, auto auto;
    clear: both;
    padding: 20px 0;
}

.container-fluid.navigation-wrapper {
    height: 75px;
    z-index: 99;
    border-bottom: 8px solid #455728;
    clear: both;
    background-color: #99B869;
}

.container-fluid.top-wrapper div.container {
    padding: 0;
}

.logo {
    position: absolute;
    z-index: 1;
}

.logo img {
    width: 170px;
    height: auto;
}

.scroll {
    position: fixed;
    top: 0;
    width: 100%;
    clear: both;
}

.scroll-2, .scroll-3 {
    margin-top: 70px;
    clear: both;
}

.kontakt-top {
    padding: 0;
    display: flex;
    justify-content: right;
    align-items: center;
}

.kontakt-top .row {
  width: 100%;
}

.email {
    text-align: right;
}

.telefon {
    text-align: right;
}

/*************************** KOPFBILD/SLIDER *************************
************************************************************************/
.container-fluid.kopfslider, .container-fluid.kopfbild {
    padding: 0;
    position: relative;
    clear: both;
    border-bottom: 8px solid #455728;
}

.container-fluid.kopfslider,
.container-fluid.kopfbild {
    float: left;
    max-height: 800px;
    overflow: hidden;
    width: 100%;
}

.container-fluid.kopfbild > img {
    padding-bottom: 0;
}

.kopfslider img, .container-fluid.kopfbild img {
    width: 100%;
    height: auto;
}

.carousel-indicators {
    display: none;
}

.carousel-control.left {
    background-image: none;
}

.carousel-control.right {
    background-image: none;
}

.carousel-control-next i,
.carousel-control-prev i {
    font-size: 48px;
}

/*----- Patch für Firefox v.58 --------*/
.carousel-item {
	transition: -webkit-transform 0.5s ease;
	transition: transform 0.5s ease;
	transition: transform 0.5s ease, -webkit-transform 0.5s ease;
	-webkit-backface-visibility: visible;
	        backface-visibility: visible;
}

/****************************** CONTENT ******************************
************************************************************************/
.layout-ohnekopfbild .content-wrapper {
    padding-top: 20px;
}

.container.content-wrapper {
    margin: 20px auto 40px auto;
}

.content-wrapper {
    clear: both;
    background: #eee;
}

.content-wrapper .content .container {
    background: #fff;
    padding-top: 25px;
}

.content-wrapper .mediaconsent_element .container {
    padding-bottom: 25px;
}

.schriftzug-rechts {
    padding: 0;
}

.schriftzug-rechts > img {
    float: right;
    height: auto;
    width: 70%;
}

/******************************* FOOTER ******************************
************************************************************************/
.container-fluid.footer-wrapper {
    background-color: #93ac6b;
    padding: 0;
    color: #6D727A;
    border-top: 8px solid #93ac6b;
    clear: both;
    z-index: 99;
}

.container.footer {
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    padding: 20px 0 10px 0;
}

.footer header h3 {
  font-size: 20px;
  color: #fff;
}

.footer a:hover {
  color: #3E6E2D !important;
}

.footer .ce-column div.ce-media {
    margin: 0;
}

.footer .ce-column div.ce-media img {
    border: none;
    width: 190px;
}

#c4, #c4 h3 {
  text-align: right;
}

footer .footer-wrapper .footer .gridelement-3-spalten-33-33-33-mittlere-spalte #c5 .ce-textpic .ce-gallery .ce-outer .ce-inner .ce-row {
    display: flex;
    align-items: center;
}

footer .footer-wrapper .footer .gridelement-3-spalten-33-33-33-mittlere-spalte #c5 .ce-textpic .ce-gallery .ce-outer .ce-inner .ce-row img {
  width: 100%;
  height: auto;
}

footer .footer-icons {
    display: flex;
    justify-content: space-between;
}

footer .footer-icons img {
    width: auto;
    height: 80px;
}

.footer-logos {
    margin-bottom: 30px;
}

.footer-logos .logo-3 {
    text-align: right;
}

.footer-logos .logo-2 {
    text-align: center;
}

.footer-logos .logo-1 {
    text-align: left;
}

.footer-logos .logo-3 {

}

.footer-logos img {
    width: auto;
    height: 90px;
}

/**************************** FONT-AWESOME *************************
************************************************************************/
.fa {
    background-color: #455728;
    border-radius: 100%;
    box-shadow: 0 0 0 7px white, 0 0 0 8px #e0e0e0;
    color: #fff;
    cursor: default;
    display: inline-block;
    height: 2em;
    line-height: 2em;
    margin: 0 11px 0 0;
    padding: 0;
    text-align: center;
    width: 2em;
}

/********************************** TYPO3 *****************************
************************************************************************/
.lightbox > img {
    height: auto;
    width: 100%;
}

.frame-standard,
.mediaconsent_element {
    /* padding-top: 25px;
    padding-bottom: 20px; */
}

.ce-textpic {
    clear: both;
    padding: 0 0 10px 0;
}

.ce-media {
    margin-top: 8px;
    margin-left: 10px;
}

.ce-gallery {
    margin-top: 0 !important;
}

.ce-gallery img {
    display: block;
    height: auto;
    width: 100%;
    margin-bottom: 10px;
}

.ce-gallery-bootstrap img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.ce-intext.ce-right .ce-gallery {
    margin-left: 10px;
}

.align-center {
    text-align: center;
}

.ce-bodytext > div {
    margin: 0 0 15px;
}

figcaption {
    font-size: 12px;
    height: 30px;
    margin-top: 0;
    text-align: center;
}

#c51 > p {
    margin-top: -10px;
    text-align: center;
}

a.mail img {
    margin-top: -6px;
}

hr {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(148, 0, 49, 0.75), rgba(0, 0, 0, 0));
    border: 0 none;
    float: left;
    height: 2px;
    width: 100%;
}

.bildspalte {
    margin-bottom: 30px;
}

.bildspalte p {
    margin-bottom: 25px;
}

/******************************** MASK *******************************
************************************************************************/
.mask-bildergalerie div.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 div.bildspalte img {
    width: 100%;
    height: auto;
}

/********************* BILD-LINK-BOX *********************************/
.mask-bild-box-wrap {
    padding-bottom: 30px;
}

.mask-bild-box-wrap .zoom {
    overflow: hidden;
    position: relative;
}

.mask-bild-box-wrap .zoom .mask-bild-box-bild img {
    width: 100%;
    height: auto;
    transition: all 0.5s ease-in-out;
}

.mask-bild-box-wrap .zoom:hover .mask-bild-box-bild img {
    width: 100%;
    height: auto;
    transform: scale(1.1);
}

.mask-bild-box-wrap .mask-bild-box-titel {
    background: url(/typo3conf/ext/bim_template/Resources/Public/Images/Template/trans-60-black.png);
    color: #fff;
    font-size: 20px;
    position: absolute;
    width: 100%;
    bottom: 20px;
    padding: 5px 10px;
    text-align: center;
}

/**************************** GRIDELEMENTS *************************
************************************************************************/
.gridelement-4-spalten {
    margin-bottom: 30px;
}

.gridelement-2-spalten-50-50 {
    clear: both;
    float: left;
    margin-bottom: 20px;
    width: 100%;
}

.gridelement-3-spalten {
    float: left;
  width: 100%;
}

.gridelement-2-spalten-66-33 .linke-spalte {
    padding-left: 0;
}

/*************************** TYPO3-FORM ****************************
************************************************************************/
#kontaktformular-43 fieldset legend {
    font-size: 18px;
    font-weight: 600;
}

#kontaktformular-43 .form-check label.add-on.form-check-label {
    padding-left: 0;
}

#kontaktformular-43 label.add-on.form-check-label input#kontaktformular-43-checkbox-1.add-on {
    margin-right: 5px;
}

#kontaktformular-43 textarea {
    min-height: 250px;
}

#kontaktformular-43 .btn-primary {
    color: #fff;
    background-color: #88A35B;
    border-color: #88A35B;
}

/****************************** GOOGLE-MAP *****************************
************************************************************************/
.google-map {
    position: relative;
    z-index: 1;
}

.google-map h3 {
    text-align: center;
}

.google-map .privacy-msg.privacy-map-msg {
    position: relative;
    background: #ccc;
    height: auto !important;
    width: 100% !important;
}

.google-map .privacy-msg.privacy-map-msg iframe.privacy-map {
    height: 0;
}

.google-map .privacy-msg.privacy-map-msg p {
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 20px;
}

.google-map .privacy-msg.privacy-map-msg p a {
    color: #7BA33B;
    font-weight: 600;
}

.google-map .privacy-map {
    width: 100%;
}

/*-------------------- BELEGUNGSKALENDER ----------------------
---------------------------------------------------------------*/
[data-eobp-media="desktop"] .eobp {
    border: 1px solid rgba(112, 112, 112, 0.3);
    border-radius: 7px;
    padding: 45px 15px 0px 15px;
    margin: 15px 0 0 0 !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.privacy-msg.privacy-calendar-msg {
    height: auto !important;
}

.mediaconsent_wrapper {
    padding: 0 15px 15px 15px;
    background: #eee;
}

/*-------------------- MEDIA-QUERIES ----------------------
---------------------------------------------------------------*/
@media (min-width: 1599px) {
    .carousel-caption {
        bottom: auto;
        top: 20px;
    }
}

@media (max-width: 1199px) {
    .kontakt-top {
      justify-content: normal;
  }
}

@media (max-width: 991px) {
    .container-fluid.top-wrapper {
        height: auto;
    }

  .container-fluid.top-wrapper div.container {
        width: 100%;
    }

    .container-fluid.navigation-wrapper {
        display: none;
    }

    .container {
        min-width: 100%;
    }

    .row {
        margin: 0;
    }

    .mask-bildergalerie .row,
    .frame-type-gridelements_pi1 .row,
    .mask-bild-box-wrap .row {
        margin-left: -15px;
        margin-right: -15px;
    }

    #c5 .row {
        margin-left: 0;
        margin-right: 0;
    }

    .content {
        padding: 0;
    }

    .logo {
        text-align: center;
    }

    .logo img {
        height: auto;
        padding-top: 0;
    }

    .kontakt-top {
          justify-content: center;
      }

    .footer .ce-column div.ce-media img {
        width: 140px;
    }

    .email, .telefon {
        text-align: center;
    }

    .icon.major {
        margin: 20px 15px 20px 0;
    }

    .scroll {
        position: relative;
        top: 0;
        width: 100%;
        clear: both;
    }

    .scroll-2, .scroll-3 {
        margin-top: 0;
        clear: both;
    }

    .kontakt-top {
        margin: 0 0 25px 0;
        padding: 0;
        text-align: center;
    }

    .gridelement-4-spalten div.col-md-3.col-sm-6.col-xs-12, .gridelement-2-spalten-50-50 div.col-sm-6.col-xs-12 {
        margin-bottom: 30px;
    }

    .logo {
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 767px) {
    .ce-gallery img {
        margin-bottom: 10px;
    }

    .ce-intext.ce-right .ce-gallery {
        margin-left: 0;
    }

    .ce-media {
        margin: 0;
    }

    .ce-row {
        margin-bottom: 0;
    }

    .container-fluid.top-wrapper {
        height: 270px;
    }

    .container.footer {
        font-size: 15px;
        padding: 15px;
    }

    .ce-right .ce-gallery {
        float: none;
        width: 100%;
    }

    .ce-column {
        width: 100%;
    }

    .email {
        text-align: center;
    }

    .powermail_input.form-control, .powermail_country.form-control, .powermail_date.form-control, .powermail_select.form-control, .powermail_textarea, .powermail_submit.btn.btn-primary {
        float: left;
        width: 100%;
    }

    .container-fluid.top-wrapper {
        background-image: none;
        height: auto;
    }

    .telefon {
        text-align: center;
    }

    .fa {
        margin: 30px 11px 0 0;
    }

    .row.mask-bildergalerie {
        margin: 0;
    }

    #c4, #c4 h3 {
        text-align: left;
    }

    .footer-wrapper .gridelement-3-spalten-33-33-33-linke-spalte,
    .footer-wrapper .gridelement-3-spalten-33-33-33-mittlere-spalte,
    .footer-wrapper .gridelement-3-spalten-33-33-33-rechte-spalte {
      width: 100%;
      max-width: 100%;
      flex: 0 0 100%;
      padding: 0;
    }
}

@media (max-width: 480px) {
    .kopfslider, .kopfbild {
        display: none;
    }

    .ce-textpic {
        margin: 0;
    }

    .logo {
        padding: 20px 0 0 0;
    }

    .logo img {
        width: 90%;
    }

    .container.content {
        margin: 0;
        padding: 0;
    }

    .icon.major {
        margin: 10px 15px 20px 0;
    }

    #c6 .row {
        margin-left: -15px;
        margin-right: -15px;
    }

    .footer-logos .logo-3 {
        margin-top: 0;
    }

    .footer-logos img {
        width: 100%;
        height: auto;
    }
}
