/* Gallery styles */
#gallery {
	/* The width of the gallery */
	width:340px;
	overflow:hidden;
	background-image: url(../images/panel.jpg);
	background-repeat: repeat-x;
	background-position: center 14px;
}

#gallery #slides{
	/* This is the slide area */
	border-top:1px solid #4a3070;
	height:545px;
	
	/* jQuery changes the width later on to the sum of the widths of all the slides. */
	width:340px;
	overflow:hidden;
}

#gallery .slide{
	float:left;
}

#gallery #menu{
	/* This is the container for the thumbnails */
	height:45px;
	text-align:center;
}

#gallery ul {
	margin:0;
	padding:0;
	margin-left:auto;
	margin-right:auto;
}

#gallery ol {
	margin:0;
	padding:0;
}

#gallery li{
	/* Every thumbnail is a li element */
	width:60px;
	display:block;
	float:left;
	list-style:none;
	height:45px;
	overflow:hidden;
}

#gallery li.inact:hover{
	/* The inactive state, highlighted on mouse over */
	background:url(../images/pic_bg.png) repeat;
}

#gallery li.act,li.act:hover{
	/* The active state of the thumb */
	background:url(../images/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(../images/divider.png) no-repeat right;
}

#gallery li a {
	display:block;
	background:url(../images/divider.png) no-repeat right;
	height:45px;
	padding-top:0px;
}

#gallery a img {
	border:none;
	margin-top:4px;
}

#gallery img {
	margin: 0px;
}