/*gallery*/
.gallery-wrapper {
  z-index: 1;
}
.hide {
  display: none !important;
}
.gallery-wrapper .content {
  overflow: hidden;
  width: 100%;
  height:auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between !important;
  padding: 3vh 0;
}
.gallery-wrapper .content .gallery.full {
  display: flex;
  align-items: center;
  padding-top: 50px;
}
.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper {
  display: flex;
  height: 60vh;
  align-items: center;
  position: relative;
}

@media (min-width: 1930px) {
  .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper {
      display: flex;
      height: 90vh;
      align-items: center;
      position: relative;
    }
}

.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide {
  height: auto;
  transition: all 0.4s ease-out;
  box-sizing: border-box;
  width: auto;
  opacity: 0.25;
}
.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-prev, .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-next {
  width: 20% !important;
}
.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-active {
  height: auto;
  width: 60% !important;
  opacity: 1;
}
.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-active:hover .zoom {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .image {
  display: block;
  width: 90%;
  height: auto;
  margin: 0 auto;
}

.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: auto;
  padding: 50px;
  background: black;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out;
}
.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay.show {
  opacity: 1;
  visibility: visible;
}
.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay.show .text-wrap {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay .text-wrap {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: all 0.4s linear;
}
.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay .text-wrap .name span {
  font-size: 2.2em;
  font-weight: 700;
}
.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay .text-wrap .caption p {
  font-size: 1.16em;
  color: #fff;
  line-height: 1.7;
}
.gallery-wrapper .content .gallery.full .swiper-next-button,
.gallery-wrapper .content .gallery.full .swiper-prev-button {
  position: absolute;
  z-index: 99;
  outline: none;
  transition: all 0.2s linear;
  width: 20%;
  height: 50vh;
  display: flex;
  justify-content:center !important;
  align-items: center !important;
  cursor: pointer;
}
.gallery-wrapper .content .gallery.full .swiper-next-button.swiper-button-disabled,
.gallery-wrapper .content .gallery.full .swiper-prev-button.swiper-button-disabled {
  opacity: 0.2;
}

.gallery-wrapper .content .gallery.full .swiper-next-button {
  right: 0;
  padding-right: 2vh;
}
.gallery-wrapper .content .gallery.full .swiper-prev-button {
  left: 0;
  padding-left: 5vh;
}
.gallery-wrapper .content .gallery.thumb {
  position: relative;
  display: block;
  max-width: 1380px;
  margin: 0 auto;
  text-align: center;

}
.gallery-wrapper .content .gallery.thumb .swiper-container {
  width: 100%;
  margin: 0 auto;
}
.gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide {
  position: relative;
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 75px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 0 20px !important;
  opacity: 0.5;
  padding: 5px !important;
  border-radius:10px;
  font-weight: bold;
}
.gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-thumb-active{
  width: 100%;
  opacity: 1;
  font-weight: bold;
}
.gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-thumb-active .image-title {
  width: 100%;
  min-height: 75px;
  background: linear-gradient(to right, #0051ff 0%, #ff00bf 100%) !important;
  color: white;
  opacity: 1;
  border-radius: 10px;
  padding: 5px !important;
}
.gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-thumb-active .image .overlay {
  display: block;
  width: 100%;
  opacity: 1;
}
.gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide .image {
  display: block;
    width: 100%;
  position: relative;
}
.gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide .image img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide .image .overlay {
  position: absolute;
  left: 2px;
  top: 2px;
  background-color: rgba(43, 44, 54, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  opacity: 0;
  transition: all 0.2s linear;
}
.gallery-wrapper .content .gallery.thumb .swiper-next-button {
  right: -15px;
}
.gallery-wrapper .content .gallery.thumb .swiper-prev-button {
  left: -5px;
}

.gallery-wrapper .content .gallery.full .swiper-next-button img,
.gallery-wrapper .content .gallery.full .swiper-prev-button img {
  display: block;
  width: 30px !important;
}


/*signature*/
.signature {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  padding: 20px;
}
.signature h3 {
  font-weight: 600;
  font-size: 0.926em;
  color: #ed1b28;
  display: flex;
  margin-bottom: 5px;
}
.signature a,
.signature em {
  text-decoration: none;
  color: #777;
  margin-right: 5px;
  font-size: 0.88em;
  transition: all 0.2s linear;
}
.signature a:hover,
.signature em:hover {
  color: #aaa;
}

/*Mobile*/
@media only screen and (max-width: 1024px) {

  .gallery-wrapper .content {
    padding: 5vh 0;

  }
  .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper {
    height: 70vh;
  }
  .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide {
    height: 50vh;
  }
  .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-prev, .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-next {
    width: 10% !important;
  }
  .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-active {
    height: 70vh;
    width: 80% !important;
  }
  .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay {
    padding: 20px;
  }
  .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay .text-wrap {
    transform: translateY(0);
  }
  .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay .text-wrap .name span {
    font-size: 1.6em;
  }
  .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay .text-wrap .caption p {
    font-size: 1.06em;
  }
  .gallery-wrapper .content .gallery.thumb {
    padding: 0;
    max-width: 100%;
  }
  .gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide {
    height: auto;
  }

  .signature {
    display: none;
  }
}

@media (max-width: 996px) {
  .gallery-wrapper .content {
      padding: 0vh 0;
  }
  .gallery-wrapper .content .gallery.full {
    display: flex;
    align-items: center;
    padding-top: 0 !important;
  }
  .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper {
    height: 100vh;
  }
  .gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide {
    display: none;
  }
  .gallery-wrapper .content .gallery.thumb .swiper-next-button,
  .gallery-wrapper .content .gallery.thumb .swiper-prev-button {
    display: none;
  }
  .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay {
    position: relative;
  }

    .gallery-wrapper .content .gallery.full .swiper-next-button,
    .gallery-wrapper .content .gallery.full .swiper-prev-button {
      display: block;
    }
}
