/* Base Superbox Styles */
#superbox-overlay{position:fixed;top:0;left:0;z-index:9998;width:100%;height:100%;}
#superbox-wrapper{position:fixed;z-index:9999;top:0;display:table;width:100%;height:100%;}
#ssuperbox-container{position:relative; display:table-cell;width:100%;height:100%;margin:0;padding:0;vertical-align:middle;}
#superbox-container{position:relative; top: 50px;}

#superbox{
	margin:0 auto;
	padding:0;
	position: absolute;
	top: 50px;
	
	-moz-border-radius: 3px;
	-moz-box-shadow: 0 0 20px #000;
	}

#superbox-container .loading{margin:0;text-align:center;}

/* IE7 */
*:first-child+html #superbox-container{position:absolute;top:50%;display:block;height:auto;}
*:first-child+html #superbox{position:relative;top:-50%;display:block;}
/* IE6 - Thanks to Thickbox for IE expressions */
* html #superbox-container{position:absolute;top:50%;display:block;height:auto;}
* html #superbox{position:relative;top:-50%;display:block;}
* html #superbox-overlay{position:absolute;height:expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight + 'px' : document.body.offsetHeight + 'px');}
* html #superbox-wrapper{position:absolute;margin-top:expression(0 - parseInt(this.offsetHeight / 2) + (document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');}

/* Default Theme */
#superbox-overlay{background:#000;}
#superbox-container .loading{text-align:center;font-size:40px;color:#fff;}
#superbox{padding:10px;background:#fff;}

#superbox.image{text-align:center;}
#superbox .close,
#superbox .nextprev{overflow:hidden;margin:0;}


 #superbox-overlay{background:#000;}
#superbox-container .loading{width:32px;height:32px;margin:0 auto;text-indent:-9999px;background:url(styles/loader.gif) no-repeat 0 0;}


#superbox-innerbox{padding:0; margin: 0 0 1em;}



/* Close Button */
#superbox .close { position: relative; overflow: visible;}
#superbox .close a {
	display: block;
	position: absolute;
	top: -25px;
	right: -25px;
	width: 40px;
	height: 40px;
	background: url(icons.png) no-repeat 0 0;
	text-indent: -9000px;
	cursor: pointer;
	}
	
	
/* Gallery Nav */
#superbox .nav {
	
	position: relative;
	height: 20px;
	}
	
	#superbox .nav a {
		position: absolute;
		width: 16px;
		height: 17px;
		background-image: url(icons.png);
		text-indent: -9000px;
		cursor: pointer;
		}
		
	#superbox .prev 		{	left: 0; top: 0; background-position: -5px -40px;	}
	#superbox .prev:hover 	{	background-position: -5px -60px;	}
	#superbox .prev.disabled 	{	background-position: -5px -80px;	}
	
	#superbox .next			{	left: 20px; top: 0; background-position: -25px -40px;	}
	#superbox .next:hover 	{	background-position: -25px -60px;	}
	#superbox .next.disabled 	{	background-position: -25px -80px;	}	

#superbox-description {
	text-align: left;
	font-size: 12px;
	line-height: 1.2em;
	margin: 0 0 1em 0;
	}
	
#superbox-description p {
	margin: 0;
	}
