* {
	margin: 0px; padding: 0px;
}
#gallery {
	background: rgb(255, 255, 255); margin: 40px auto; padding: 5px; border: 6px solid rgb(255, 255, 255); border-image: none; width: 600px; right: 3px; position: relative;
}
#images {
	background: rgb(238, 245, 246); border: 2px solid rgb(154, 193, 201); border-image: none; height: 225px; margin-bottom: 20px;
}
#image {
	background: url("images/loading.gif") no-repeat center rgb(255, 255, 255); padding: 5px; border: 2px solid rgb(31, 87, 172); border-image: none; width: 587px; height: 330px; position: relative;
}
#image img {
	left: 5px; top: 5px; position: absolute;
}
#thumbwrapper {
	background: rgb(255, 255, 255); padding: 5px 0px; border: 2px solid rgb(31, 87, 172); border-image: none; width: 596px; height: 100px; margin-top: 10px;
}
#thumbarea {
	width: 596px; height: 100px; overflow: hidden; position: relative;
}
#thumbs {
	list-style: none; width: 10000px; height: 100px; margin-left: 5px; border-right-color: rgb(255, 255, 255); border-right-width: 5px; border-right-style: solid; position: absolute;
}
#thumbs li {
	margin-right: 5px; float: left; cursor: pointer;
}
.imgnav {
	width: 20%; height: 375px; position: absolute; z-index: 100; cursor: pointer;
}
#previmg {
	background: url("../images/left.gif") no-repeat left; left: 0px; height: 330px; border-left-color: rgb(255, 255, 255); border-left-width: 5px; border-left-style: solid;
}
#previmg:hover {
	opacity: 1;
}
#nextimg {
	background: url("../images/right.gif") no-repeat right; height: 330px; right: 0px; border-right-color: rgb(255, 255, 255); border-right-width: 5px; border-right-style: solid;
}
#nextimg:hover {
	opacity: 1;
}
