* {
	margin:0;
	padding:0;
	padding-top: 0px;
	padding-bottom: 0px;
}
#gallery {
	position:relative;
	width:510px;
	border:6px solid #fff;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
	background-color: #FFFFFF;
	border-color: #8B9783;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}
#images {
	border:2px solid #9ac1c9;
	height:279px;
	background:#eef5f6;
	margin-bottom:20px;
}
#image {
	position:relative;
	width:500px;
	height:279px;
	padding:3px;
	border:2px solid #999999;
	background:#FFF url(images/loading.gif) center center no-repeat;
	overflow: hidden;
}
#image img {
	position:absolute;
	top:3px;
	left:3px;
	right: 3px;
}
#thumbwrapper {
	margin-top:10px;
	width:500px;
	height:56px;
	background:#FFF;
	overflow: hidden;
	padding: 3px;
	border: 2px solid #999999;
}
#thumbarea {
	position:relative;
	overflow:hidden;
	height:56px;
	width:500px;
	background-color: #FFFFFF;
}
#thumbs {
	position:absolute;
	list-style:none;
	height:56px;
	width:1000px;
	overflow: hidden;
	margin-right: 0px;
	left: 1px;
	top: -1px;
	margin: 0;
	padding: 0;
}
#thumbs li {
	float:left;
	margin-right:3px;
	cursor:pointer;
	list-style-type: none;
}
.imgnav {
	position:absolute;
	height:375px;
	width:20%;
	z-index:100;
	height:375px;
	width:20%;
	z-index:100;
	outline:none;
	cursor:pointer;
}
#previmg {
	left:0;
	border-left:2px solid #FFF;
	background-repeat: no-repeat;
	background-position: left center;
}
#previmg:hover {opacity:1; filter:alpha(opacity=100)}
#nextimg {
	right:0px;
	border-right:2px solid #FFF;
	background-repeat: no-repeat;
	background-position: right center;
}
#nextimg:hover {opacity:1; filter:alpha(opacity=100)}

