
quote,small,form,input,ol,label{
	/* Page reset */
	margin:0px;
	padding:0px;
}



/* Gallery styles */

#gallery{
	background: url(img/panel.jpg) repeat-x bottom center #ffffff;
	/* The width of the gallery */
	width: 1000px;
	height: 700px;
	overflow: hidden;
	margin-top: 30px;
	margin-bottom: 15px;
}

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

.slide{
	float:left;
}

#menu{
	/* This is the container for the thumbnails */
	height: 40px;
	position: absolute;
	right: 306px;
	top: 650px;
    z-index: 5;
}

#menu ul{
	margin:0px;
	padding:0px;
}

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

#gallery ul{
	margin:0px;
	padding:0px;
}

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

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

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

#gallery li.act a{
	cursor:default;
}

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

#gallery li a{
	display:block;
	background:url(img/divider.png) no-repeat right;
	height:55px;
	padding-top:3px;
}
a img{
	border: none;
}

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



