div#gallery { display: block; width: 730px; margin-left:17px; }
div.controls { position:relative; z-index:100;}
div.ss-controls {	display:none; }
div.nav-controls a { position:absolute; top:213px; width:43px; height:43px; background: url(../img/gal-control.png); text-indent:-9999px; }
div.nav-controls a.prev { left:2px; }
div.nav-controls a.next { right:0; background-position:right top}
div.nav-controls a.prev:hover { background-position:left bottom}
div.nav-controls a.next:hover { background-position: right bottom}

div.slideshow-container { position: relative; height: 453px; }
div.loader {position: absolute;top: 0;left: 0;background: url('../img/loader.gif') no-repeat center;width: 730px;height: 453px;}

div.slideshow span.image-wrapper {display: block;position: absolute;top: 0;left: 0;}
div.slideshow a.advance-link {display: block;width: 730px;height: 453px;line-height: 453px;text-align: center; text-decoration:none;}
/*div.slideshow img { vertical-align: middle; }*/

div.caption-container {position: relative; height: 58px; text-align: center; }
span.image-caption { display: block; position: absolute; width: 730px; top: 0; left: 0; font:italic 12px/34px Georgia, "Times New Roman", Times, serif; color:#ccc;}

#thumbs { width:747px; overflow:hidden; height:88px; margin-bottom:1px;}
ul.thumbs { margin: 0 0 14px 17px; padding: 0; height:64px; width:740px; overflow:hidden; }
ul.thumbs li { float: left; padding: 0; margin: 0 10px 0 0; list-style: none; }
a.thumb:focus { outline: none; }
ul.thumbs img { border: 2px solid #ccc; display: block; width:60px; }
ul.thumbs li.selected img { border:4px solid #39f; width:56px; }
ul.thumbs a:hover img {border-color:#39f;}

div.pagination { height:10px; margin:0 0 0 17px; }
div.pagination a, 
div.pagination span.current {	display: block;	float: left;	margin-right: 3px;	background:#ccc;	width:10px; height:10px; text-indent:-9999px; }
div.pagination span.current,
div.pagination a:hover {	background-color: #39f; }
