#reLightboxOverlay{
	width:100%;
	height:100%;
	background-color:gray;
	position:fixed;
	top:0;
	left:0;
	cursor: pointer;
	z-index:99;
	opacity: 0;
-webkit-transition: opacity 500ms ease;
  -moz-transition: opacity 500ms ease;
  -ms-transition: opacity 500ms ease;
  -o-transition: opacity 500ms ease;
  transition: opacity 500ms ease;

}

#reLightboxPopup
  {
	max-width:100%;
	max-height:100%;
	width:100%;
	position: fixed;
	text-align: center;
	top: 0;
	left: 0;
	height:100%;
	visibility:hidden;
	z-index:999;
	padding-top:1em;
	
  }

#reLightboxPopup > img{
	display:inline-block;
	text-align: center;
	max-width:90%;
	max-height:95%;	
	z-index:9999;
	
}

@keyframes show {
  0%   { opacity: 0; }
  100% { opacity: 1 !important; }
}


.rlb_visible{
  opacity: 0.8 !important;

}

.rlb_fade{
  opacity: 0 !important;
}

.rlb_invisible{
   visibility: hidden !important;
}

#reLightboxImg{	
	z-index:1 !important;
	opacity:1;
	filter: alpha(opacity = 1);
}