     .visibleNearby {
  width: 100%;
  background: #fff;
  color: #707070;
  padding-top: 0px;
}
.visibleNearby .rsGCaption {
	
  font-size: 16px;
  line-height: 18px;
  padding: 12px 0 16px;
  background: #fff;
  width: 100%;
  position: static;
  float: left;
  left: auto;
  bottom: auto;
  text-align: center;
}
.visibleNearby .rsGCaption span {
  display: block;
  clear: both;
  color: #707070;
  font-size: 20px;
  font-size:2rem;
  line-height: 22px;
}


/* Scaling transforms */
.visibleNearby .rsSlide img {
  opacity: 0.45;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;

  -webkit-transform: scale(0.9);  
  -moz-transform: scale(0.9); 
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
}
.visibleNearby .rsActiveSlide img {
  opacity: 1;
  -webkit-transform: scale(1);  
  -moz-transform: scale(1); 
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.royalSlider {
	position:fixed;
	top:0!important;
	left:0!important;
	right:0!important;
	left:0!important;
}

  #gallery-1 .rsOverflow,
  .royalSlider#gallery-1 {
	  padding-top:50px;
	  	position:fixed;
	top:0!important;
	left:0!important;
	right:0!important;
	left:0!important;
	z-index:20;


  }
  
.royalSlider {
position: absolute;
left: 0;
top: 0;
bottom: 0px;
right: 0;
height: auto;
width: auto;
background:#fff;
}

.royalfototeca {
bottom: 70px;
}


/* Non-linear resizing on smaller screens */
@media screen and (min-width: 0px) and (max-width: 767px) {
	
.caption_royal {
	font-size:11px !important;
	line-height:12px !important;}

  #gallery-1 {
	  background:#fff;
    padding:0 12px 0 12px;
  }
  #gallery-1 .rsOverflow,
  .royalSlider#gallery-1 {
	  padding-top:0;
    height: 400px !important;
	position:relative;
	padding-bottom:0px;
	margin-bottom:20px;
	background:#fff;
  }
  

  
 .royalSlider {
	 position:relative;
	 bottom:0;
	 padding-bottom:0;
	 }
	 
.royalfototeca {
	padding-bottom:100px !important;}
	 
.royalSlider .caption_royal {
		 display:none;}

.visibleNearby .rsGCaption {
	display:none !important;}
	
.royalfototeca .caption_royal {
		 display:block !important;}
		 
.royalfototeca .rsGCaption {
	display:block !important;}
	 
}
@media screen and (min-width: 0px) and (max-width: 500px) { 
  #gallery-1 .rsOverflow,
  .royalSlider#gallery-1 {
    height: 300px !important;
  }
}
