#lightbox{
	position: absolute;
	right: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prev.gif) left 50% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/next.gif) right 50% no-repeat; }

/*** START : next / previous text links ***/
#nextLinkText, #prevLinkText{
color: #FF9834;
font-weight:bold;
text-decoration: none;
}
#nextLinkText{
padding-left: 20px;
}
#prevLinkText{
padding-right: 20px;
}
/*** END : next / previous text links ***/
/*** START : added padding when navbar is on top ***/

.ontop #imageData {
    padding-top: 5px;
}

/*** END : added padding when navbar is on top ***/

#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}
#imageData #numberDisplay a { color: black; padding-left: 5px; padding-right: 5px;}
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}
#imageData #helpDisplay {clear: left; float: left; display: block; }

#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6 !important;
	display: none;
	}
	

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
	}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}	

#lightboxIframe {
	display: none;
}	
/**---------------------- Added styles : Seyfollahi ------------*/
#_gallery:hover .carousel-indicators{display: block;}
#_gallery .carousel-caption{padding: 5px}
#_gallery .carousel-caption h4{margin: 0}
#lightbox #loading{
	position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0;
    background: none; box-shadow: none; display: block; z-index: 1;
}
#lightbox #lightboxImage{z-index: 2; position: relative; max-width: none}
#lightbox #bottomNavClose{z-index: 50; position: absolute; right: 0;}
#lightbox #imageData #numberDisplay{font-size: 0.9em; padding: 0 0 2em; margin-top: 10px}
#lightbox #caption{
    font-family: nasimb; font-size: 1.3em; display: block;
    background: #000; background:rgba(0, 0, 0, 0.75); padding: 5px; color: #FFF; width: 99%; width: calc(100% - 10px);
    position: relative; z-index:100; top: -34px; text-align: center;
}
#lightbox #imageData #imageDetails{text-align: center; float: none; width: auto; position: relative}
#lightbox #imageContainer{padding: 10px 10px 0 10px}
#lightbox #outerImageContainer{border-radius: 4px 4px 0 0}
#lightbox #imageDataContainer{border-radius: 0 0 4px 4px;}
#lightbox #prevLink, #lightbox #nextLink{width: 12%; text-align: center; display: none !important; background: none}

#lightbox #prevLink span, #lightbox #nextLink span{
    background: #555; background: rgba(0,0,0,0.5); border: 3px solid #FFF; border-radius: 23px; font-weight: 100; position: relative; top: 45%;
    height: 30px; line-height: 25px; color: #FFF; font-size: 43px; width: 30px; display: inline-block;
}
