/* Simple lightbox tweaks */
.sl-overlay {
  background-color: black !important;
}
.sl-wrapper .sl-image {
  max-height: 75vh !important;
  top: 50% !important;
  transform: translate(0px, -50%) !important;
}
.sl-wrapper .sl-image > img {
  height: 100% !important;
}
.sl-wrapper .sl-image .sl-caption {
  top: -60px !important;
  background-color: unset!important;
  color: #FFF !important;
  font-family: Fira Sans !important;
  font-size: 32px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: normal !important;
}
@media only screen and (max-width: 1200px) {
  .sl-wrapper .sl-image .sl-caption {
    font-size: 24px !important;
  }
}
@media only screen and (max-width: 768px) {
  .sl-wrapper .sl-image .sl-caption {
    font-size: 18px !important;
  }
}
.sl-next,
.sl-prev {
  background-color: white!important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.sl-next > svg,
.sl-prev > svg {
  position: static !important;
}
@media only screen and (max-width: 768px) {
  .sl-next,
  .sl-prev {
    top: unset !important;
    bottom: 100px !important;
    transform: unset !important;
  }
}
.sl-counter {
  top: unset !important;
  left: 50% !important;
  bottom: 20px !important;
  transform: translateX(-50%) !important;
  color: #FFF !important;
  text-align: center !important;
  font-family: Fira Sans !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: normal !important;
  letter-spacing: -0.27px !important;
}
/* Zebricky */
.zebricky__gallery {
  padding: 35px;
  border-radius: 10px;
  border: 1px solid #E8EDF0;
  background: #FCFCFC;
}
@media only screen and (min-width: 1400px) {
  .zebricky__gallery {
    margin: 0 -15em;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1400px) {
  .zebricky__gallery {
    margin: 0 -5em;
  }
}
@media only screen and (max-width: 1024px) {
  .zebricky__gallery {
    padding: 0;
    background: #FCFCFC !important;
    border-radius: 0;
    border: 1px solid #E8EDF0;
  }
}
.zebricky__gallery__wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 32px;
  grid-row-gap: 16px;
  grid-auto-rows: 0;
  /* set height to 0 for autogenerated grid rows */
  overflow-y: hidden;
  /* hide grid items that overflow */
}
@media only screen and (max-width: 1024px) {
  .zebricky__gallery__wrapper {
    display: block;
  }
}
.zebricky__gallery__wrapper > a {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 180px;
}
@media only screen and (max-width: 1024px) {
  .zebricky__gallery__wrapper > a {
    padding: 10px 10px 8px;
  }
}
.zebricky__gallery__wrapper > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.zebricky__gallery__wrapper > a:first-of-type {
  grid-area: 1 / 1 / 3 / 3;
  max-height: 376px;
}
.zebricky__gallery--desktop {
  display: block;
}
@media only screen and (max-width: 1024px) {
  .zebricky__gallery--desktop {
    display: none;
  }
}
.zebricky__gallery--mobile {
  display: block;
}
@media only screen and (min-width: 1024px) {
  .zebricky__gallery--mobile {
    display: none;
  }
}
.zebricky__item {
  position: relative;
}
.zebricky__item.hidden-gallery-item {
  display: none !important;
}
.zebricky__item__count {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  border-radius: 6px;
  border: 0.5px solid #545454;
  background: rgba(0, 0, 0, 0.73);
  backdrop-filter: blur(3px);
  padding: 8px 13px 9px 13px;
  position: absolute;
  bottom: 20px;
  right: 20px;
}
.zebricky__item__count__icon {
  margin-bottom: -4px;
}
.zebricky__item__count__number {
  color: #FFF !important;
  text-align: center;
  font-family: Fira Sans;
  font-size: 16px;
  font-style: normal;
  font-weight: 350;
  line-height: normal;
  letter-spacing: -0.24px;
  margin-left: 7px;
}
@media only screen and (max-width: 1024px) {
  .card.g-m {
    margin-top: 7em !important;
    background: #EAEBEC !important;
    box-shadow: unset !important;
    -webkit-box-shadow: unset !important;
  }
  .card.g-m.p1 {
    padding: 3em 10px 10px  !important;
    margin-top: 3em;
    background: #FCFCFC !important;
  }
  .card.g-m.p1 h3 {
    font-size: 24px;
  }
}
