@import "fancybox.css";

@import "form.css";
.gallery-section .container {
  max-width: 1600px;
  padding: 0;
}

.gallery-section .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: #f8f8f8;
}

.gallery-section .row .col {
  flex: 0 0 50%;
  max-width: 50%;
}

.gallery-section .gallery-img {
  margin: -8px;
  opacity: 0;
  transition: all 0.3s;
}

.gallery-section .gallery-img.is-visible {
  opacity: 1;
}

.gallery-section .gallery-img .img-wrap {
  padding: 8px;
  overflow: hidden;
  width: 33.33%;
}

.gallery-section .gallery-img .img-wrap a {
  display: block;
  overflow: hidden;
}

.gallery-section .gallery-img .img-wrap a img {
  transition: all 0.3s;
  transform: scale(1);
}

.gallery-section .gallery-img .img-wrap a:hover img {
  transition: all 0.3s;
  transform: scale(1.03);
}

.gallery-section .gallery-details-wrap {
  padding: 70px 40px;
}

.gallery-section .gallery-details-wrap .welcome-text {
  font-size: 0.875rem;
  line-height: 1.4;
  color: #999;
  font-family: "Prompt", sans-serif;
  letter-spacing: 0.5px;
  display: inline-block;
}

.gallery-section .gallery-details-wrap .heading-3 {
  line-height: 1.2;
  margin: 20px 0;
}
body.spanish-website .gallery-section .gallery-details-wrap .heading-3 {
  margin: 0 0 20px 0;
}

.gallery-section .gallery-details-wrap p {
  max-width: 450px;
  margin-bottom: 20px;
}

body.spanish-website .gallery-section .gallery-details-wrap p {
  max-width: unset;
}

body.spanish-website .gallery-section .gallery-details-wrap h4 {
  margin-top: 40px;
}

.gallery-section .gallery-details-wrap .video-wrap {
  margin-top: 40px;
}

.gallery-section .gallery-details-wrap .content-wrap {
  margin: 40px 0;
}

body.spanish-website .gallery-section .gallery-details-wrap .content-wrap {
  margin: 20px 0;
}

.gallery-section .gallery-details-wrap .video-wrap video {
  width: 100%;
}

/* fancybox__container */
.fancybox__container .fancybox__footer {
  display: none;
}
.fancybox__container .fancybox__toolbar.is-absolute,
.is-compact .fancybox__toolbar {
  padding: 9px 0;
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.7);
  z-index: 13;
  height: 50px;
}
.fancybox__container .fancybox__toolbar__column.is-right {
  align-items: center;
}
.fancybox__container .fancybox__backdrop {
  background: rgba(225, 192, 77, 0.9) !important;
}
.fancybox__container .f-button {
  background: transparent !important;
}
.fancybox__container .fancybox__toolbar .f-button svg {
  height: 27px;
  width: 27px;
}

.fancybox__container .fancybox__slide::before,
.fancybox__container .fancybox__slide::after {
  display: none;
}

.fancybox__slide {
  padding: 0;
}
.fancybox__nav .f-button svg {
  display: none;
}
.fancybox__nav .f-button {
  position: relative;
}
.fancybox__nav .f-button::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 14px;
  background-image: url(../images/right-nav.svg);
  background-position: center;
  content: "";
  opacity: 0.7;
  transition: all 0.3s;
}
.fancybox__nav .f-button.is-next::after {
  background-image: url(../images/left-nav.svg);
}
.fancybox__nav .f-button:hover::after {
  opacity: 1;
}
.fancybox__nav .f-button.is-prev {
  left: 30px !important;
}
.fancybox__nav .f-button.is-next {
  right: 30px !important;
}

.fancybox__nav .f-button {
  padding: 5px 10px;
  height: 50px;
  width: 50px;
  background: rgba(0, 0, 0, 0.3) !important;
  background-color: rgba(0, 0, 0, 0.3) !important;
  border-radius: 0;
}
.fancybox__slide {
  justify-content: center;
}

.fancybox__container .fancybox__toolbar {
  transform: translateY(-100px);
  transition: all 0.5s;
}

.fancybox__container.mouse-hover .fancybox__toolbar {
  transition: all 0.5s;
  transform: translateY(0);
}

.fancybox__container .fancybox__nav .f-button {
  transition: all 0.5s;
  opacity: 0;
}

.fancybox__container.mouse-hover .fancybox__nav .f-button {
  opacity: 1;
  transition: all 0.5s;
}

@media (max-width: 960px) {
  .gallery-section .gallery-details-wrap {
    padding: 40px 30px;
  }

  .gallery-section .row {
    text-align: center;
    align-items: unset;
  }

  .gallery-section .row .col.content-block {
    order: -1;
  }

  .gallery-section .row .col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .gallery-section .gallery-details-wrap .btn-wrap {
    display: flex;
    justify-content: center;
  }

  .gallery-section .gallery-details-wrap .text-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .gallery-section .gallery-details-wrap .video-wrap {
    margin-top: 0;
  }

  .gallery-section .gallery-details-wrap .content-wrap {
    margin: 20px 0;
  }

  .gallery-section .gallery-img .img-wrap {
    width: 100%;
    padding: 8px 0;
  }

  .gallery-section .gallery-img {
    margin: -8px 0;
  }
}

@media (max-width: 640px) {
  .gallery-section .gallery-details-wrap {
    padding: 40px 15px;
  }
}
