/*  Temporary */

#location-form
{
  display: none;
}

a {
  text-decoration: none !important;
}

/*
* === General ===
*/
html
{
  scroll-behavior: smooth;
}

html *
{
  font-family: Lato, sans-serif;
  color: #4d4d4d;
  letter-spacing: 0.2px;
  line-height: 1.5;
}

h1
{
  font-family: 'Patua One';
  font-size: 2rem;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

h1:after, span.divider:after
{
  display: block;
  width: 120px;
  margin: 30px auto 0;
  content: ' ';
  border: 3px solid #efeae8;
}

h2
{
  font-family: 'Patua One', sans-serif;
  font-size: 1.5rem;
  margin: 10px 0px;
}

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

a:hover h2 {
  text-decoration: underline;
}

strong {
  margin-bottom: 0.4rem;
}

.hidden
{
  display: none;
}

.carousel-control-prev,
.carousel-control-next {
  opacity: .8;
}

/*
* - Buttons -
*/

button
{
  border-radius: 0px !important;
  font-family: 'Patua One';
  border: none;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn.focus:active,
.btn:active:focus,
.btn:focus,
.input-group .form-control,
.form-group input:focus
{
  outline: 0 !important;
  outline-offset: 0  !important;
  background-image: none  !important;
  -webkit-box-shadow: none !important;
  box-shadow: none  !important;
}

button.light:hover, button.light.active
{
  color: #ffffff;
  background-color: #4d4d4d;
}

button.light:hover i, button.light.active i
{
  color: inherit;
}

button.dark:hover, button.dark.active
{
  filter: brightness(120%);
}

button.dark:active
{
  filter: brightness(140%);
}

button.dark:hover i, button.dark.active i
{
  color: inherit;
}

/*
* - Input -
*/

input
{
  background-color: #efeae8 !important;
  border-color: #efeae8 !important;
  border-radius: 0px !important;
  font-family: 'Patua One';
}

/*
* - Colors -
*/

.light
{
  color: #4d4d4d;
  background-color: #efeae8;
}

.dark
{
  color: #ffffff;
  background-color: #4d4d4d;
}

.gold
{
  color: #ffffff;
  background-color: #c99440;
}

.text-gold
{
  color: #c99440;
}

.text-gold img {
  vertical-align: bottom;
}

/*
*  - Formatting Support -
*/

.table
{
  display: table;
}

.table-cell
{
  display: table-cell;
}

/*
* - Card -
*/

.card
{
  border-radius: 0px !important;
  border: none;
}

.card-img-top
{
  border-radius: 0px !important;
  height: auto !important;
}

.card a:focus
{
  outline: none;
}

.event-date
{
  position: absolute;
  font-family: 'Patua One';
  font-size: 1.1em;
  color: #ffffff;
  background-color: #c99440;
  padding: 8px 20px;
}

.premium
{
  position: absolute;
  font-family: 'Patua One';
  font-size: 1.1rem;
  color: #ffffff;
  /*background-color: #d54d59;*/
  background-color: #92C11A; /* bio-grün */
  padding: 8px 20px !important;
  transition: all .2s ease-in-out;
}

.fx-zoom:hover .premium {
  filter: brightness(.8) contrast(1.5);
}

.icon {
  height: 16px;
  margin-right: 4px;
  margin-bottom: 4px;
}

/*
* === Header ===
*/

header *
{
  font-family: 'Patua One';
}

header .container {
  padding: 8px 0;
}

.navbar-brand img
{
  max-width: 260px;
  margin: 5px 0px;
}

header button {
  border: none !important;
}

header img {
  padding: 4px 12px;
}

.fixed-top
{
  min-height: 5rem;
}

/*
* === Main ===
*/

main > .container
{
  position: relative;
  padding-top: 5rem;
}

main
{
  margin: 0px;
}

main .card
{
  margin-top: 30px;
  -webkit-box-shadow: 0px 0px 15px 0px rgba(184,184,184,1);
  -moz-box-shadow: 0px 0px 15px 0px rgba(184,184,184,1);
  box-shadow: 0px 0px 15px 0px rgba(184,184,184,1);
}

main .carousel
{
  top: 5rem;
}

/*
* - Section 0 - Carousel -
*/

.carousel *
{
  color: #ffffff;
  font-family: 'Patua One';
}

.carousel-caption
{
  height: 50%;
}

.carousel-control-next img
{
  position: absolute;
  right:  32px;
  height: 48px;
}

.carousel-control-prev img
{
  position:absolute;
  left: 32px;
  height: 48px;
}

.carousel-indicators li
{
  width: 6px;
  height: 6px;
  border-radius: 100%;
  border: solid 2px white;
  background-color: rgba(0,0,0,0);
  opacity: 1;
}

.carousel-indicators .active
{
  background-color: white;
}

.carousel-item img
{
  width: 100%;
  height: auto;
  min-height: 40vh;
  object-fit: cover;
  /* background-color: #efeae8; */
}

.carousel-inner>.carousel-item{
  /*disables white flash*/
  -webkit-transition: -webkit-transform 1s ease-in-out;
  -o-transition: -o-transform 1s ease-in-out;
  transition: transform 1s ease-in-out;
}

#carouselIndicators,
.carousel.slide {
  background-color: #efeae8;
}

#carouselIndicators .carousel-item img {
  height: 77vh;
}

.carousel-item > .carousel-caption > img
{
  max-width: 100%;
  height: auto;
}

/*
* - Section 1 - Why -
*/

#s1-why {
  padding-top: 5rem;
  margin-top: -3rem;
}

#s1-why .img-fluid
{
  max-height: 150px;
  width: auto;
  margin-bottom: 1rem;
}

/*
* - Section 2 - How -
*/

#s2-how {
  padding-top: 5rem;
  margin-top: -5rem;
}

#s2-how .table .table-cell
{
  min-height: 150px;
  min-width: 40px;
}

#s2-how .table .table-cell img
{
  width: 40px;
}

#s2-how .img-fluid
{
  max-height: 150px;
  margin-bottom: 20px;
}


/*
* - Section 3 - Products -
*/
#s3-products {
  margin-top: -5rem;
  padding-top: 5rem;
}

#s3-products > .controls > *
{
  margin-top: 10px;
}

#s3-products > .controls > button:first-child
{
  margin-right: 10px;
}

#s3-products .premium
{
  top: 20px;
  left: -10px;
}

/*
* - Section 4 - Events -
*/
#s4-events {
  padding-top: 5rem;
  margin-top: -5rem;
}

#s4-events .slider
{
  margin: 0px -15px;
}

#s4-events .slick-arrow
{
  font-size: 0;
  line-height: 0;

  position: absolute;
  top: 50%;

  display: block;

  height: 50px;
  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;
}

#s4-events .arrow-left
{
  left: -40px; /*-25px;*/
}

#s4-events .arrow-right
{
  right: -40px; /*-25px;*/
}

#s4-events .slide
{
  position: relative;
}

#s4-events .card
{
  margin: 15px;
}

#s4-events .event-date
{
  top: 20px;
  left: -10px;
}

/*
* - Section 5 - Contact -
*/

#s5-contact
{
  margin-top: 64px;
  margin-bottom: 64px;
  padding-top: 2rem;
}

#s5-contact img
{
  max-width: 120px;
}

#s5-contact h1
{
  margin-top: 25px;
}

/*
* === Footer ===
*/

footer
{
  padding: 20px 0px;
  margin: auto;
}

footer *
{
  color: #ffffff;
}

footer img
{
  max-height: 16px;
  margin-left: 8px;
  padding-bottom: 4px;
}

footer a:hover
{
  color: #eaeaea;
}

/*
* === Modals General ===
*/

body.modal-open header, body.modal-open main, body.modal-open footer,  body.modal-open body
{
  -webkit-filter: brightness(50%);
  -moz-filter: brightness(50%);
  -o-filter: brightness(50%);
  -ms-filter: brightness(50%);
  filter: brightness(50%);
  background-color: rgba(0, 0, 0, 0.5);
}

.modal .close
{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  transform: scale(0.5);
}

.modal .close:active
{
  outline: 0 !important;
  outline-offset: 0  !important;
}

.modal
{
  /*max-height: 20rem;*/
  overflow-y: scroll;
}

.modal h2 {
  padding: 0 15px;
}

.modal-dialog
{
  pointer-events: auto;
  font-size: 0.90rem;
  overflow: scroll;
}

.modal-dialog a
{
  color: #c99440;
}

.modal-hero
{
  position: relative;
}

.full-width
{
  width: 100%;
  height: auto;
}

.modal-hero .event-date
{
  width: 120px;
  left: 50%;
  margin-left: -60px;
  text-align: center;
  bottom: 10px;
}

.modal-dialog .carousel-item .premium /*.modal-slider .slide .premium*/
{
  width: 120px;
  left: 50%;
  margin-left: -60px;
  text-align: center;
  bottom: 60px;
}

.modal-dialog span.divider-long:after
{
  display: block;
  width: 98%;
  margin: 10px auto 10px;
  content: ' ';
  border: 2px solid #efeae8;
}

.modal-dialog .offer
{
  font-family: 'Patua One';
  font-size: 1.2rem;
}

.offers span {
  padding: 8px;
  line-height: 60px;
}

.modal-dialog .row
{
  margin: 1rem 0;
}

.modal td
{
  vertical-align: top;
}

.card-body
{
  height: 160px;
  overflow: hidden;
}

#map .card-body
{
  height: auto;
}

.card-body h2
{
  line-height: 28px;
  margin-bottom: 10px;
  max-height: 60px;
  overflow: hidden;
  text-decoration: none;
}

.card-body p
{
  line-height: 1rem;
  max-height: 20px;
  text-decoration: none;
}

.modal-dialog .card-body p {
  line-height: 1.5;
}

.card-body p:first-of-type {
  margin-bottom: 6px;
}

.modal .card-body
{
    height: auto;
}

.modal .card-body h2,
.modal .card-body p
{
    height: auto;
    max-height: 1000rem;
}

.modal .card-body .text-center button
{
  margin: 20px 0px;
}

.card-body .col-md-3 table tbody tr td
{
  vertical-align: top;
}

.card-body .col-md-3
{
  text-align: center;
}

.modal .card-body .col-md-12 p {
  padding: 0;
}


#lightbox-product span.divider:after
{
  margin: 0px auto 0;
}

#lightbox-product .amount img
{
  width: 50%;
}

.card-body p, .card-body span a
{
  padding: 0px 15px;
}

.modal td
{
  padding: 4px;
  min-width: 100px;
}

.modal .carousel-control-prev img
{
  left: 20px;
  bottom: 40px;
}

.modal .carousel-control-next img
{
  right: 20px;
  bottom: 40px;
}

.modal .col-sm
{
  line-height: 60px;
  height: 60px;
  overflow: hidden;
}

.modal .col-sm > *
{
  vertical-align: middle;
}

.modal .col-sm img
{
  max-height: 100px;
  width: auto;
}

/* ----- Mobile ----- */

.modal
{
    min-width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow: scroll;
}

#map
{
  width: 100%;
  height: 1000px;
  margin: 30px 0px;
}

/*style the box*/
.gm-style .gm-style-iw {
  min-height: 360px;
  top: 30px !important;
  left: 0 !important;
  /*width: 100% !important;*/
  /*height: 100% !important;*/
  max-width: 100px;
  max-height: 100px;
  padding: 1rem !important;
  display: block !important;
  box-shadow: 0 0px 0px white;
  border: 0px solid white;
  border-radius: 0px 0px 0 0;
  overflow: visible;
  text-align: center;
}

.gm-style .gm-style-iw-t::after {
  top: 30px;
}

/*style the p tag*/
.gm-style .gm-style-iw #google-popup p{
  padding: 10px;
}

/*style the arrow*/
.gm-style div div div div div div div div {
  padding: 0;
  margin: 0;
  padding: 0;
  top: 0;
  color: #fff;
  box-shadow: 0 0px 0px white;
}

/*style the link*/
.gm-style div div div div div div div div a {
  color: #f1f1f1;
  font-weight: bold;
}

/* hide close button */
.gm-style-iw + div img {
    display: none !important;
}

/* new close button
.gm-style-iw + div:after {
    content: "x";
    font-style: bold;
    color: #4d4d4d;
    padding: 0px 3px 3px 3px;
}
*/
#map span.divider:after
{
  margin: 15px auto 15px;
  border: 2px solid #efeae8;
}

#map h2
{
  margin-top: 20px;
}

#map span
{
  font-weight: 400;
}

#map span strong
{
  font-weight: bold;
}

#map a:hover
{
  text-decoration: none;
}

#map a:focus
{
  outline: 0 !important;
  outline-offset: 0  !important;
}


/*
* === Animations & effects ===
*/

.nav-item {
  padding: 0 12px;
}

.nav-link
{
  transition: all 0.5s ease;
}

figure {
  object-fit: cover;
  margin: 0;
  height: auto;
  overflow: hidden;
  display: block;
}

.fx-zoom img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
  filter: brightness(90%) grayscale(20%);
}
.fx-zoom:hover img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  filter: brightness(100%) grayscale(0%);
}
.fx-zoom:hover {
  cursor: pointer;
}

/*
a:hover, a:active
{
  transition: all 0.8s ease;
  text-decoration: none;
  filter: brightness(108%);
}

button .gold:hover
{
  transition: all 0.5s ease;
  filter: brightness(120%);
}

footer a span.float-right
{
  filter: brightness(90%);
}
*/

/*
* - Small Screens -
*/

@media (max-width: 992px) {
  .navbar-brand img
  {
    max-width: 240px;
  }

  #carouselIndicators .carousel-item img {
    height: 40vh;
  }

  .modal-dialog {
    max-width: none;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .modal-content {
    height: auto;
    min-height: auto;
    border-radius: 0;
  }

  #lightbox-product.modal.show, #lightbox-event.modal.show
  {
    padding-right: 0px !important;
  }

  .modal .col-sm
  {
    text-align: center;
    height: 60px;
  }

  #s4-events .arrow-left {
    left: -5px;
    height: 25px;
  }
  #s4-events .arrow-right {
    right: -5px;
    height: 25px;
  }

  .carousel-control-prev img {
    left: 12px;
    bottom: 64px;
  }

  .carousel-control-next img {
    right: 12px;
    bottom: 64px;
  }
}
