#gallery{
	
	
	/* The width of the gallery */
	width:650px;
	overflow:hidden;
}

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

#slidesright{
	width:335px;
	float:right;
	height:445px;
	background-color:#FFFFFF;
	text-align:center;
	background:url(img/panel.jpg) repeat-x bottom center #ffffff;
	border-bottom:1px #CCC solid;
	

}


#gallery .slide{
	float:left;
}

#gallery #menu{
	/* This is the container for the thumbnails */
	height:45px;
	text-align:center;
	background:url(img/panel.jpg) repeat-x top center #ffffff;
	border-bottom:1px #CCC solid;

}

#content .main #gallery ul{
	margin-left: auto;
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	width:100%;


}

#content .main #gallery li{
	/* Every thumbnail is a li element */
	width:60px;
	display:inline-block;
	list-style:none;
	list-style-type:none;
	overflow:hidden;
	margin-left: 0px;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

#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 li a{
	display:block;
	height:35px;
	padding-top:10px;
}

#gallery a img{
	border:none;
}



