.galleryTextThumbs .rsTmb {
  padding: 16px;
}
.galleryTextThumbs .rsThumbs .rsThumb {
  border-bottom: 1px solid #2e2e2e;
}
.galleryTextThumbs .rsThumbs {
  padding: 0;
}
.galleryTextThumbs .rsThumbs h5 {
  font-size: 16px;
  margin: 0;
  padding: 0;
  line-height: 20px;
}


/* Thumbnails with text */
.galleryTextThumbs .rsThumbs span {
  opacity: 0.6;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 18px;
}

@media screen and (min-width: 0px) and (max-width: 500px) {
  .galleryTextThumbs .rsTmb {
    padding: 6px 8px;
  }
  .galleryTextThumbs .rsTmb h5 {
    font-size: 12px;
    line-height: 17px;
  }
  .galleryTextThumbs .rsThumbs.rsThumbsVer {
    width: 100px;
    padding: 0;
  }
  .galleryTextThumbs .rsThumbs .rsThumb {
    width: 100px;
    height: 47px;
  }
  .galleryTextThumbs .rsTmb span {
    display: none;
  }
  .galleryTextThumbs .rsOverflow,
  .royalSlider.galleryTextThumbs {
    height: 300px !important;
  }
}
