/* Gallery styles */
#gallery{
	margin-left: 2px;
	/* 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(img/panel.jpg) repeat-x bottom center #ffffff;
	/* The width of the gallery */
	width:375px;
	overflow:hidden;
}

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

#gallery #slides .slide{
	float:left;
}

#gallery #menu{
	/* This is the container for the thumbnails */
	height:55px;
}

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

#gallery #menu ul li{
	/* Every thumbnail is a li element */
	float: left;
	width:60px;
	display:inline-block;
	list-style:none;
	height:55px;
	overflow:hidden;
}

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

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

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

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

#gallery #menu ul li a{
	display:block;
	background:url(img/divider.png) no-repeat right;
	height:45px;
	padding-top:10px;
}

#gallery #menu ul li a img{
	border:none;
	display: block;
	margin-left: auto;
	margin-right: auto;
}