#gal {

	/* You MUST specify the width and height */
	width:620px;
	height:465px;
	position:relative;
	text-align:center;
	margin-left: 100px;	


}
#gal_big {
text-align:center;


}
#slidergal {
	text-align: center;
	/* You MUST specify the width and height */
	width:620px;
	height:465px;
	position:relative;	
	overflow:hidden;
    border:4px solid #222;      

}

#mask-gallery {
	
	overflow:hidden;	
}

#gallery {
	
	/* Clear the list style */
	list-style:none;
	margin:0;
	padding:0;
	
	z-index:0;
	
	/* width = total items multiply with #mask gallery width */
	overflow:hidden;
	width:{$galery_width}px;
	
}

	#gallery li {

		/* float left, so that the items are arrangged horizontally */
		float:left;
	}


#mask-excerpt {
	/* Set the position */
	position:absolute;	
	top:0;
	left:0;
	z-index:500px;
	/* width should be lesser than #slider width */
	width:620px;
	height:50px;
	overflow:hidden;	
	

}
	
#excerpt {
	/* Opacity setting for different browsers */
	filter:alpha(opacity=60);
	-moz-opacity:0.6;  
	-khtml-opacity: 0.6;
	opacity: 0.6;  
	
	/* Clear the list style */
	list-style:none;
	margin:0;
	padding:0;
	
	/* Set the position */
	z-index:10;
	position:absolute;
	top: 415px;
	height:50px;
	left:0;
	
	/* Set the style */
	background-color:#000;
	overflow:hidden;
	font-family:arial;
	font-size:10px;
	color:#fff;	
	width:{$galery_width}px;

}

	#excerpt li {
		float:left;	
	}
	
.zitem {
	width:100px;
	height:100px;	
	border:4px solid #222;	
	margin:5px 5px 5px 0;
	
	/* required to hide the image after resized */
	overflow:hidden;
	
	/* for child absolute position */
	position:relative;
	
	/* display div in line */
	float:left;
}

.zitem .caption {
	width:100px;
	height:20px;
	background:#000;
	color:#fff;
	font-size:10px;
		
	/* fix it at the bottom */
	position:absolute;
	bottom:-1px; /* fix IE issue */
	left:0;

	/* hide it by default */
	display:none;

	/* opacity setting */
	filter:alpha(opacity=70);    /* ie  */
	-moz-opacity:0.7;    /* old mozilla browser like netscape  */
	-khtml-opacity: 0.7;    /* for really really old safari */  
	opacity: 0.7;    /* css standard, currently it works in most modern browsers like firefox,  */

}

.zitem .caption a {
	text-decoration:none;
    text-align:center;
	color:#fff;
	font-size:10px;	
	
	/* add spacing and make the whole row clickable*/
	padding:5px;
	display:block;
}

.img_gal {
	border:0;
	
	/* allow javascript moves the img position*/
	position:absolute;
}

.clear {
	clear:both;	
}
