table {
	border-collapse: collapse;
	border-spacing: 0;
}



/* Gallery styles */

#gallery{
	/* 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:8px;
	-webkit-border-bottom-left-radius:8px;

	
	-moz-border-radius-bottomright:8px;
	-webkit-border-bottom-right-radius:8px;

	
	border:1px solid white;
	
	background:url(img/panel.jpg) repeat-x bottom center #ffffff;
	
	/* The width of the gallery */
	width:716px;
	overflow:hidden;
	
border-radius: 0px 0px 8px 8px;
	
position: relative;
behavior: url(/PIE.htc);
}

#gallery.fp {
width:696px;
}

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

.slide{
	float:left;
	position: relative;
z-index: 10;
height: 300px;
overflow:  hidden;
}

*+html .slide{
	float:left;
	position: static;
	z-index: 0;
	height:auto;
	overflow:visible;
	}


#menu{
	/* This is the container for the thumbnails */
	height:45px;


}

#main ul{
	margin:0px;
	padding:0px;

}




#main li{
	/* Every thumbnail is a li element */

	display:inline-block;
	list-style:none;
	height:45px;
	overflow:hidden;

}
*+html #main ul li{
	display:inline;
	/*float:left;*/
}

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

#main li.act,li.act:hover{
	/* The active state of the thumb */
	
}

#main li.act a{
	cursor:default;
	background:url(img/activ-bg2.jpg) center top no-repeat;

}

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

#main li a{
	display:block;
	background:url(img/divider.png) no-repeat right;
	height:35px;
	padding-top:10px;
		padding-left:5px;
	padding-right:5px;
}

#main a img{
	border:none;
}


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

#main h1{
	font-family:"Myriad Pro",Arial,Helvetica,sans-serif;
	font-size:36px;
	font-weight:normal;
	margin-bottom:15px;
}

#main h2{
	font-family:"Myriad Pro",Arial,Helvetica,sans-serif;
	font-size:12px;
	font-weight:normal;
	position:absolute;
	right:0;
	text-transform:uppercase;
	top:15px;
}

#main{
	/* The main container */
	margin:15px auto;
	text-align:center;
	width:718px;
	position:relative;
}

#main a, #main  a:visited {
	color:#0196e3;
	text-decoration:none;
	outline:none;
}

#main a:hover{
	text-decoration:underline;
}

#main p{
	padding:10px;
	text-align:center;
}

