.rs-gallery {
  overflow: hidden;
}
.rs-gallery__slider {
  overflow: visible;
}
@media (min-width: 991.98px) {
  .rs-gallery__swiper {
    width: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: -15px;
    -webkit-transform: translate(0, 0) !important;
        -ms-transform: translate(0, 0) !important;
            transform: translate(0, 0) !important;
  }
}
@media (min-width: 991.98px) and (max-width: 1439.98px) {
  .rs-gallery__swiper {
    margin: -10px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-gallery__swiper {
    margin: -7.5px;
  }
}
.rs-gallery__slide {
  min-height: 1px;
  height: auto;
}
@media (min-width: 991.98px) {
  .rs-gallery__slide {
    padding: 15px;
    width: auto !important;
    margin: 0px !important;
  }
}
@media (min-width: 991.98px) and (max-width: 1439.98px) {
  .rs-gallery__slide {
    padding: 10px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-gallery__slide {
    padding: 7.5px;
  }
}
@media (min-width: 991.98px) {
  .rs-gallery__slide.rs-gallery__slide-2 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
    max-height: 517px;
  }
}
@media (min-width: 991.98px) and (max-width: 1439.98px) {
  .rs-gallery__slide.rs-gallery__slide-2 {
    max-height: 507px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-gallery__slide.rs-gallery__slide-2 {
    max-height: 502px;
  }
}
@media (min-width: 991.98px) {
  .rs-gallery__slide.rs-gallery__slide-2 .rs-gallery__img {
    max-height: 487px;
  }
  .rs-gallery__slide.rs-gallery__slide-2 .rs-gallery__img img {
    max-height: 487px;
  }
  .rs-gallery__slide.rs-gallery__slide-3 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 33.3333333333%;
            flex: 0 0 33.3333333333%;
    max-height: 517px;
  }
}
@media (min-width: 991.98px) and (max-width: 1439.98px) {
  .rs-gallery__slide.rs-gallery__slide-3 {
    max-height: 507px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-gallery__slide.rs-gallery__slide-3 {
    max-height: 502px;
  }
}
@media (min-width: 991.98px) {
  .rs-gallery__slide.rs-gallery__slide-3 .rs-gallery__img {
    max-height: 487px;
  }
  .rs-gallery__slide.rs-gallery__slide-3 .rs-gallery__img img {
    max-height: 487px;
  }
  .rs-gallery__slide.rs-gallery__slide-4 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
            flex: 0 0 25%;
    max-height: 387px;
  }
}
@media (min-width: 991.98px) and (max-width: 1439.98px) {
  .rs-gallery__slide.rs-gallery__slide-4 {
    max-height: 377px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-gallery__slide.rs-gallery__slide-4 {
    max-height: 372px;
  }
}
@media (min-width: 991.98px) {
  .rs-gallery__slide.rs-gallery__slide-4 .rs-gallery__img {
    max-height: 357px;
  }
  .rs-gallery__slide.rs-gallery__slide-4 .rs-gallery__img img {
    max-height: 357px;
  }
  .rs-gallery__slide.rs-gallery__slide-5 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
            flex: 0 0 20%;
    max-height: 310px;
  }
}
@media (min-width: 991.98px) and (max-width: 1439.98px) {
  .rs-gallery__slide.rs-gallery__slide-5 {
    max-height: 300px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-gallery__slide.rs-gallery__slide-5 {
    max-height: 295px;
  }
}
@media (min-width: 991.98px) {
  .rs-gallery__slide.rs-gallery__slide-5 .rs-gallery__img {
    max-height: 280px;
  }
  .rs-gallery__slide.rs-gallery__slide-5 .rs-gallery__img img {
    max-height: 280px;
  }
  .rs-gallery__slide.rs-gallery__slide-6 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 16.6666666667%;
            flex: 0 0 16.6666666667%;
    max-height: 258px;
  }
}
@media (min-width: 991.98px) and (max-width: 1439.98px) {
  .rs-gallery__slide.rs-gallery__slide-6 {
    max-height: 248px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-gallery__slide.rs-gallery__slide-6 {
    max-height: 243px;
  }
}
@media (min-width: 991.98px) {
  .rs-gallery__slide.rs-gallery__slide-6 .rs-gallery__img {
    max-height: 228px;
  }
  .rs-gallery__slide.rs-gallery__slide-6 .rs-gallery__img img {
    max-height: 228px;
  }
  .rs-video .rs-gallery__slide.rs-gallery__slide-1, .rs-video .rs-gallery__slide.rs-gallery__slide-2 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
    max-height: 430px;
  }
}
@media (min-width: 991.98px) and (max-width: 1439.98px) {
  .rs-video .rs-gallery__slide.rs-gallery__slide-1, .rs-video .rs-gallery__slide.rs-gallery__slide-2 {
    max-height: 420px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-video .rs-gallery__slide.rs-gallery__slide-1, .rs-video .rs-gallery__slide.rs-gallery__slide-2 {
    max-height: 415px;
  }
}
@media (min-width: 991.98px) {
  .rs-video .rs-gallery__slide.rs-gallery__slide-1 .rs-gallery__img, .rs-video .rs-gallery__slide.rs-gallery__slide-2 .rs-gallery__img {
    padding-bottom: 0%;
    max-height: 400px;
  }
  .rs-video .rs-gallery__slide.rs-gallery__slide-1 .rs-gallery__img img, .rs-video .rs-gallery__slide.rs-gallery__slide-2 .rs-gallery__img img {
    position: relative;
    top: 0;
    left: 0;
    max-height: 400px;
  }
  .rs-video .rs-gallery__slide.rs-gallery__slide-3, .rs-video .rs-gallery__slide.rs-gallery__slide-4, .rs-video .rs-gallery__slide.rs-gallery__slide-5 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 33.3333333333%;
            flex: 0 0 33.3333333333%;
    max-height: 430px;
  }
}
@media (min-width: 991.98px) and (max-width: 1439.98px) {
  .rs-video .rs-gallery__slide.rs-gallery__slide-3, .rs-video .rs-gallery__slide.rs-gallery__slide-4, .rs-video .rs-gallery__slide.rs-gallery__slide-5 {
    max-height: 420px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-video .rs-gallery__slide.rs-gallery__slide-3, .rs-video .rs-gallery__slide.rs-gallery__slide-4, .rs-video .rs-gallery__slide.rs-gallery__slide-5 {
    max-height: 415px;
  }
}
@media (min-width: 991.98px) {
  .rs-video .rs-gallery__slide.rs-gallery__slide-3 .rs-gallery__img, .rs-video .rs-gallery__slide.rs-gallery__slide-4 .rs-gallery__img, .rs-video .rs-gallery__slide.rs-gallery__slide-5 .rs-gallery__img {
    padding-bottom: 0%;
    max-height: 400px;
  }
  .rs-video .rs-gallery__slide.rs-gallery__slide-3 .rs-gallery__img img, .rs-video .rs-gallery__slide.rs-gallery__slide-4 .rs-gallery__img img, .rs-video .rs-gallery__slide.rs-gallery__slide-5 .rs-gallery__img img {
    position: relative;
    top: 0;
    left: 0;
    max-height: 400px;
  }
}

.rs-gallery__item {
  width: 100%;
  height: 100%;
  position: relative;
}
@media (max-width: 991.98px) {
  .rs-video .rs-gallery__item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background-image: url("../img/icons/video-btn.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 11;
  }
  .rs-video .rs-gallery__item::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 10;
  }
}
@media (any-hover: hover) {
  .rs-gallery__item:hover .rs-gallery__img img {
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1);
  }
}
.rs-gallery__link {
  width: 100%;
  height: 100%;
  display: block;
}
.rs-gallery__img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 100%;
  position: relative;
}
.rs-gallery__img img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 1s ease 0s;
  transition: -webkit-transform 1s ease 0s;
  transition: transform 1s ease 0s;
  transition: transform 1s ease 0s, -webkit-transform 1s ease 0s;
  position: absolute;
  top: 0;
  left: 0;
}