
body {
	/* Page reset */
	margin:0px;
	padding:0px;
}

/* Gallery styles */

#gallery{
	
	background:url(img/bg_thumb.jpg) repeat-x bottom center;
	/*background:url(img/bg_thumb.jpg) repeat-x bottom center #ffffff;
	
	The width of the gallery */
	width:471px;
	overflow:hidden;
}

#slides{
	/* This is the slide area */
	height:394px;
	
	/* jQuery changes the width later on to the sum of the widths of all the slides. */
	width:471px;
	overflow:hidden;
}

.slide {
	float:left;
}

.list {
	/* This is the container for the thumbnails */
	height:38px;
	list-style-type: none;
	overflow:none;
}

.list ul {
	height:38px;
	margin:0px;
	padding:0px;
	list-style-type: none;
}

.list li {
	/* Every thumbnail is a li element */
	width:40px;
	display:inline-block;
	list-style:none;
	overflow:hidden;
}

li.inact:hover {
	/* The inactive state, highlighted on mouse over */
	background:url(img/pic_bg.png) repeat;
}

li.act,li.act:hover {
	/* The active state of the thumb */
	background:url(img/active_bg.png) no-repeat;
}

li.act a {
	cursor:default;
	height:38px;
}

.fbar {
	/* The left-most vertical bar, next to the first thumbnail */
	width:2px;
	background:url(img/divider.jpg) no-repeat right;
	height:30px;
}

.list li a {
	display:block;
	height:38px;
	padding-top:10px;
}

a img {
	border:none;
}


/* The styles below are only necessary for the demo page */

#main {
	/* The main container */
	text-align:center;
	width:471px;
	position:relative;
}
