.galleryTextThumbs .rsTmb {
	padding-top: 50px;
  	padding-left: 20px;
	padding-right:20px;
	float: right;
	color:#666666;
}
.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: 10px 5px 15px 5px !important;
	width: 270px !important;
  }
  .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: 310px !important;
	width: 300px !important;
  }
  .galleryTextThumbs .rsTmb{
	visibility: hidden !important;
	float:left !important;
	}
	.galleryTextThumbs .rsTmb h5{
	visibility: visible !important;
	}
	.rsOverflow {
	height: 435px !important;
	}
	.royalSlider {
	height: 435px !important;
}
}

@media only screen and (min-width: 501px) and (max-width : 1000px) {
   .galleryTextThumbs .rsTmb {
    padding: 15px 8px;
	width: 570px !important;
  	}
  	img.rsImg {
	max-width: 600px;
	height: auto !important;
	}
	.rsOverflow {
	height: 510px !important;
	}
	.royalSlider {
	height: 510px !important;
}
}
@media only screen and (min-width: 1001px) {

.galleryTextThumbs .rsTmb {
	padding-top: 50px;
  	padding-left: 20px;
	padding-right:20px;
	width: 270px;
	float: right;
	color:#666666;
}
}