#gallery {
	/* CSS3 Box Shadow */
	-moz-box-shadow:0 0 3px #AAAAAA;
	-webkit-box-shadow:0 0 3px #AAAAAA;
	box-shadow:0 0 3px #AAAAAA;
	
	/* CSS3 Rounded Corners */
	
	-moz-border-radius-bottomleft:4px;
	-webkit-border-bottom-left-radius:4px;
	border-bottom-left-radius:4px;
	
	-moz-border-radius-bottomright:4px;
	-webkit-border-bottom-right-radius:4px;
	border-bottom-right-radius:4px;
	
	border:1px solid white;
	
	background:url(./panel.jpg) repeat-x bottom center #ffffff;
	
	/* The width of the gallery */
	width:640px;
	overflow:hidden;
}

#slides{
	/* This is the slide area */
	
	/* jQuery changes the width later on to the sum of the widths of all the slides. */
	width:640px;
	overflow:hidden;
}

.slide{
	float:left;
}

#gallery #menu{
	/* This is the container for the thumbnails */
	height:30px;
}

#gallery #menu ul{
	margin:0 0 0 1px;
	padding:0px;
}

#gallery #menu ul li{
	/* Every thumbnail is a li element */
	width:20%;
	display:inline-block;
	list-style:none;
	height:30px;
	overflow:hidden;
}

#gallery #menu ul li.inact:hover{
	/* The inactive state, highlighted on mouse over */
	background:url(./pic_bg.png) repeat;
}

#gallery #menu ul li.act,li.act:hover{
	/* The active state of the thumb */
	background:url(./active_bg.png) no-repeat;
}

#gallery #menu ul li.act a{
	cursor:default;
}

.fbar{
	/* The left-most vertical bar, next to the first thumbnail */
	width:2px;
	background:url(./divider.png) no-repeat right;
}

#gallery #menu ul li a{
	display:block;
	background:url(./divider.png) no-repeat right;
	height:35px;
	padding-top:12px;
	font-size: 11px;
	
}

/* The styles below are only necessary for the demo page */


#slide_main{
	/* The main container */
	text-align:center;
	width: 640px;
}