#gallery{
	/* CSS3 Rounded Corners */	
	-moz-border-radius-bottomleft:4px !important !important;
	-webkit-border-bottom-left-radius:4px !important;
	border-bottom-left-radius:4px !important;
	-moz-border-radius-bottomright:4px !important;
	-webkit-border-bottom-right-radius:4px !important;
	border-bottom-right-radius:4px !important;	
	border-top:1px solid #CCCCCC !important;	
	/*background:url(../images/slide-menu/panel.jpg) repeat-x top center #ffffff !important;	*/
	/* The width of the gallery */
	width:245px !important;
	overflow:hidden !important;
}

#gallery #slides{
	/* This is the slide area */
	height:165px !important;	
	/* jQuery changes the width later on to the sum of the widths of all the slides. */
	width:920px !important;
	overflow:hidden !important;
}

#gallery .slide{
	float:left !important;
	height:165px !important;
	width:245px
}

#gallery #menu{
	/* This is the container for the thumbnails */
	height:45px !important;
	text-align:center !important;
	background:#EFEFEF;
	border-bottom: 1px solid #CCCCCC;
}
#gallery #menu img{
	border:none !important;
}
#gallery ul{
	margin:0px !important;
	padding:0px !important;
}

#gallery li{
	/* Every thumbnail is a li element */
	width:60px !important;
	display:inline-block !important;
	list-style:none !important;
	height:45px !important;
	overflow:hidden !important;
}
	#gallery ul li{
		*display:inline !important;
	}
#gallery li.inact:hover{
	/* The inactive state, highlighted on mouse over */
}

#gallery li.act,li.act:hover{
	/* The active state of the thumb */
	background:url(../images/slide-menu/active_bg.png) no-repeat !important;
}

#gallery li.act a{
	cursor:default !important;
}

#gallery .fbar{
	width:2px !important;
	/*background:url(img/divider.png) no-repeat right !important;*/
}

#gallery li a{
	display:block !important;
	/*background:url(img/divider.png) no-repeat right !important;*/
	height:35px !important;
	padding-top:10px !important;
}

#gallery #main{
	/* The main container */
	margin:15px auto !important;
	text-align:center !important;
	width:245px !important;
	position:relative !important;
}

#gallery h4 {
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	font-weight:bold;
	margin:0 0 4px 0;
	text-align:center;
}
