.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:nth-child(1), .rs-gallery__slide:nth-child(2), .rs-gallery__slide:nth-child(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:nth-child(1), .rs-gallery__slide:nth-child(2), .rs-gallery__slide:nth-child(3) {
    max-height: 507px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-gallery__slide:nth-child(1), .rs-gallery__slide:nth-child(2), .rs-gallery__slide:nth-child(3) {
    max-height: 502px;
  }
}
@media (min-width: 991.98px) {
  .rs-gallery__slide:nth-child(1) .rs-gallery__img, .rs-gallery__slide:nth-child(2) .rs-gallery__img, .rs-gallery__slide:nth-child(3) .rs-gallery__img {
    max-height: 487px;
  }
  .rs-gallery__slide:nth-child(1) .rs-gallery__img img, .rs-gallery__slide:nth-child(2) .rs-gallery__img img, .rs-gallery__slide:nth-child(3) .rs-gallery__img img {
    max-height: 487px;
  }
  .rs-gallery__slide:nth-child(4), .rs-gallery__slide:nth-child(5), .rs-gallery__slide:nth-child(6), .rs-gallery__slide:nth-child(7) {
    -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:nth-child(4), .rs-gallery__slide:nth-child(5), .rs-gallery__slide:nth-child(6), .rs-gallery__slide:nth-child(7) {
    max-height: 377px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-gallery__slide:nth-child(4), .rs-gallery__slide:nth-child(5), .rs-gallery__slide:nth-child(6), .rs-gallery__slide:nth-child(7) {
    max-height: 372px;
  }
}
@media (min-width: 991.98px) {
  .rs-gallery__slide:nth-child(4) .rs-gallery__img, .rs-gallery__slide:nth-child(5) .rs-gallery__img, .rs-gallery__slide:nth-child(6) .rs-gallery__img, .rs-gallery__slide:nth-child(7) .rs-gallery__img {
    max-height: 357px;
  }
  .rs-gallery__slide:nth-child(4) .rs-gallery__img img, .rs-gallery__slide:nth-child(5) .rs-gallery__img img, .rs-gallery__slide:nth-child(6) .rs-gallery__img img, .rs-gallery__slide:nth-child(7) .rs-gallery__img img {
    max-height: 357px;
  }
  .rs-gallery__slide:nth-child(8), .rs-gallery__slide:nth-child(9), .rs-gallery__slide:nth-child(10), .rs-gallery__slide:nth-child(11), .rs-gallery__slide:nth-child(12) {
    -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:nth-child(8), .rs-gallery__slide:nth-child(9), .rs-gallery__slide:nth-child(10), .rs-gallery__slide:nth-child(11), .rs-gallery__slide:nth-child(12) {
    max-height: 300px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-gallery__slide:nth-child(8), .rs-gallery__slide:nth-child(9), .rs-gallery__slide:nth-child(10), .rs-gallery__slide:nth-child(11), .rs-gallery__slide:nth-child(12) {
    max-height: 295px;
  }
}
@media (min-width: 991.98px) {
  .rs-gallery__slide:nth-child(8) .rs-gallery__img, .rs-gallery__slide:nth-child(9) .rs-gallery__img, .rs-gallery__slide:nth-child(10) .rs-gallery__img, .rs-gallery__slide:nth-child(11) .rs-gallery__img, .rs-gallery__slide:nth-child(12) .rs-gallery__img {
    max-height: 280px;
  }
  .rs-gallery__slide:nth-child(8) .rs-gallery__img img, .rs-gallery__slide:nth-child(9) .rs-gallery__img img, .rs-gallery__slide:nth-child(10) .rs-gallery__img img, .rs-gallery__slide:nth-child(11) .rs-gallery__img img, .rs-gallery__slide:nth-child(12) .rs-gallery__img img {
    max-height: 280px;
  }
  .rs-gallery__slide:nth-child(13), .rs-gallery__slide:nth-child(14), .rs-gallery__slide:nth-child(15), .rs-gallery__slide:nth-child(16), .rs-gallery__slide:nth-child(17), .rs-gallery__slide:nth-child(18) {
    -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:nth-child(13), .rs-gallery__slide:nth-child(14), .rs-gallery__slide:nth-child(15), .rs-gallery__slide:nth-child(16), .rs-gallery__slide:nth-child(17), .rs-gallery__slide:nth-child(18) {
    max-height: 248px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-gallery__slide:nth-child(13), .rs-gallery__slide:nth-child(14), .rs-gallery__slide:nth-child(15), .rs-gallery__slide:nth-child(16), .rs-gallery__slide:nth-child(17), .rs-gallery__slide:nth-child(18) {
    max-height: 243px;
  }
}
@media (min-width: 991.98px) {
  .rs-gallery__slide:nth-child(13) .rs-gallery__img, .rs-gallery__slide:nth-child(14) .rs-gallery__img, .rs-gallery__slide:nth-child(15) .rs-gallery__img, .rs-gallery__slide:nth-child(16) .rs-gallery__img, .rs-gallery__slide:nth-child(17) .rs-gallery__img, .rs-gallery__slide:nth-child(18) .rs-gallery__img {
    max-height: 228px;
  }
  .rs-gallery__slide:nth-child(13) .rs-gallery__img img, .rs-gallery__slide:nth-child(14) .rs-gallery__img img, .rs-gallery__slide:nth-child(15) .rs-gallery__img img, .rs-gallery__slide:nth-child(16) .rs-gallery__img img, .rs-gallery__slide:nth-child(17) .rs-gallery__img img, .rs-gallery__slide:nth-child(18) .rs-gallery__img img {
    max-height: 228px;
  }
  .rs-video .rs-gallery__slide:nth-child(1), .rs-video .rs-gallery__slide:nth-child(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:nth-child(1), .rs-video .rs-gallery__slide:nth-child(2) {
    max-height: 420px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-video .rs-gallery__slide:nth-child(1), .rs-video .rs-gallery__slide:nth-child(2) {
    max-height: 415px;
  }
}
@media (min-width: 991.98px) {
  .rs-video .rs-gallery__slide:nth-child(1) .rs-gallery__img, .rs-video .rs-gallery__slide:nth-child(2) .rs-gallery__img {
    padding-bottom: 0%;
    max-height: 400px;
  }
  .rs-video .rs-gallery__slide:nth-child(1) .rs-gallery__img img, .rs-video .rs-gallery__slide:nth-child(2) .rs-gallery__img img {
    position: relative;
    top: 0;
    left: 0;
    max-height: 400px;
  }
  .rs-video .rs-gallery__slide:nth-child(3), .rs-video .rs-gallery__slide:nth-child(4), .rs-video .rs-gallery__slide:nth-child(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:nth-child(3), .rs-video .rs-gallery__slide:nth-child(4), .rs-video .rs-gallery__slide:nth-child(5) {
    max-height: 420px;
  }
}
@media (min-width: 991.98px) and (max-width: 1169.98px) {
  .rs-video .rs-gallery__slide:nth-child(3), .rs-video .rs-gallery__slide:nth-child(4), .rs-video .rs-gallery__slide:nth-child(5) {
    max-height: 415px;
  }
}
@media (min-width: 991.98px) {
  .rs-video .rs-gallery__slide:nth-child(3) .rs-gallery__img, .rs-video .rs-gallery__slide:nth-child(4) .rs-gallery__img, .rs-video .rs-gallery__slide:nth-child(5) .rs-gallery__img {
    padding-bottom: 0%;
    max-height: 400px;
  }
  .rs-video .rs-gallery__slide:nth-child(3) .rs-gallery__img img, .rs-video .rs-gallery__slide:nth-child(4) .rs-gallery__img img, .rs-video .rs-gallery__slide:nth-child(5) .rs-gallery__img img {
    position: relative;
    top: 0;
    left: 0;
    max-height: 400px;
  }
}