.ova-gallery-slide .gallery-slide-carousel.swiper-loading {
  visibility: hidden;
}
.ova-gallery-slide .gallery-slide-carousel.show_dots {
  padding-bottom: 50px;
}
.ova-gallery-slide .gallery-slide-carousel .swiper-pagination {
  bottom: 0px;
}
.ova-gallery-slide .gallery-slide-carousel .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
}
.ova-gallery-slide .gallery-slide-carousel .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
}
.ova-gallery-slide .gallery-slide-img {
  position: relative;
  overflow: hidden;
}
.ova-gallery-slide .gallery-slide-img:before {
  transition: all 0.4s ease-out 0s;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 35, 31, 0.85);
  opacity: 0;
}
.ova-gallery-slide .gallery-slide-img:hover:before {
  transition: all 0.4s ease-out 0s;
  opacity: 1;
}
.ova-gallery-slide .gallery-slide-img:hover .view-detail {
  -webkit-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
  top: 50%;
  opacity: 1;
}
.ova-gallery-slide .gallery-slide-img:hover .info {
  transition: all 0.4s ease;
  top: calc(55% + 55px);
  opacity: 1;
}
.ova-gallery-slide .gallery-slide-img img {
  display: block;
  width: 100%;
  height: 550px;
  object-fit: cover;
}
@media (max-width: 1024px) {
  .ova-gallery-slide .gallery-slide-img img {
    height: 460px;
  }
}
.ova-gallery-slide .gallery-slide-img .view-detail {
  -webkit-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 85px;
  width: 85px;
  height: 85px;
  background-color: var(--primary);
  border-radius: 50%;
  color: #fff;
  margin-bottom: 15px;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
}
.ova-gallery-slide .gallery-slide-img .view-detail i {
  -webkit-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
  display: inline-flex;
  font-size: 20px;
  transform: rotate(-45deg);
}
.ova-gallery-slide .gallery-slide-img .view-detail:hover {
  transition: all 0.3s ease;
  background-color: var(--secondary);
}
.ova-gallery-slide .gallery-slide-img .view-detail:hover i {
  transform: rotate(-135deg);
}
.ova-gallery-slide .gallery-slide-img .info {
  transition: all 0.4s ease;
  position: absolute;
  top: 75%;
  left: 50%;
  width: calc(100% - 40px);
  transform: translateX(-50%);
  opacity: 0;
  text-align: center;
}
.ova-gallery-slide .gallery-slide-img .info .title {
  margin: 0 0 18px 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  color: #fff;
}
.ova-gallery-slide .gallery-slide-img .info .category {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 300;
  color: #fff;
}
.ova-gallery-slide .gallery-slide-img .info .category:before, .ova-gallery-slide .gallery-slide-img .info .category:after {
  content: "";
  display: inline-block;
  width: 50px;
  height: 1px;
  background-color: #fff;
}
.ova-gallery-slide .gallery-slide-img .info .category:before {
  -webkit-margin-end: 20px;
  margin-inline-end: 20px;
}
.ova-gallery-slide .gallery-slide-img .info .category:after {
  -webkit-margin-start: 20px;
  margin-inline-start: 20px;
}
.ova-gallery-slide.template2 .gallery-slide-img:before {
  background: rgba(28, 35, 31, 0.25);
}
.ova-gallery-slide.template2 .gallery-slide-img:hover .info {
  top: calc(70% + 20px);
}
.ova-gallery-slide.template2 .gallery-slide-img .info {
  text-align: initial;
  left: 40px;
  transform: unset;
}
@media (max-width: 1024px) {
  .ova-gallery-slide.template2 .gallery-slide-img .info {
    left: 30px;
  }
}
.ova-gallery-slide.template2 .gallery-slide-img .info .title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  padding: 12px 16px;
  background-color: var(--primary);
  width: fit-content;
  max-width: calc(100% - 40px);
  min-width: 194px;
}
@media (max-width: 460px) {
  .ova-gallery-slide.template2 .gallery-slide-img .info .title {
    font-size: 18px;
  }
}
.ova-gallery-slide.template2 .gallery-slide-img .info .category {
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: var(--heading);
  padding: 8px 16px;
  background-color: #fff;
}
.ova-gallery-slide.template2 .gallery-slide-img .info .category:before, .ova-gallery-slide.template2 .gallery-slide-img .info .category:after {
  content: none;
}