div.galleriffic_holder {	
	width: 100%;										/* add by Raymond 2009-12-15 */
	float: left;										/* add by Raymond 2009-12-15 */
	padding-top: 10px;									/* add by Raymond 2009-12-15 */
}

div.galleriffic {
	width: 480px !important;							/* add by Raymond 2009-12-08 */
	width/**/: auto;									/* add by Raymond 2009-12-08 */
	margin: 0 auto;										/* add by Raymond 2009-12-08 */
	padding-bottom: 70px;								/* add by Raymond 2009-12-09 */
	*padding-bottom: 0px !important;					/* add by Raymond 2009-12-09 */
	*padding-bottom: 80px;								/* add by Raymond 2009-12-09 */	
}

div.g_content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	/* float: right; */									/* mod by Raymond 2009-12-08 */
	width: 480px;										/* mod by Raymond 2009-12-09 */
	border: 1px solid #CCCCCC;							/* add by Raymond 2009-12-08 */
	background-color: #F0F0F0;							/* add by Raymond 2009-12-08 */
	margin: 0 auto;										/* add by Raymond 2009-12-15 */
}
div.g_content a, div.g_navigation a {
	text-decoration: none;
	color: #777;
}
div.g_content a:focus, div.g_content a:hover, div.g_content a:active {
	text-decoration: underline;
}
div.controls {
	/* margin-top: 5px; */								/* original */
	margin-top: 0;										/* add by Raymond 2009-12-08 */
	height: 23px;
}
div.controls a {
	
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.slideshow-container {
	position: relative;
	clear: both;
	width: 480px;
	height: 480px;
}
div.loader {
	/*position: absolute;
	top: 0;
	left: 0;*/											/* mod by Raymond 2009-12-08 */
	background-image: url('../image/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 480px;
	height: 480px;
}
div.slideshow {
	display: table-cell;								/* add by Raymond 2009-12-15 */
	position: relative;									/* add by Raymond 2009-12-15 */
	top: 0px;											/* add by Raymond 2009-12-15 */
	*top: -39px !important;							/* add by Raymond 2009-12-15 */
	*top: 0px;											/* add by Raymond 2009-12-15 */
	width: 420px;										/* add by Raymond 2009-12-15 */
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	width: 480px;
	height: 480px; 										/* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 502px; 								/* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {	

}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	top: 430px;
	left: 0px;
	clear: left;
	height: 35px;
}
span.image-caption {
	display: block;
	position: absolute;
	width: 480px;
	top: 0;
	left: 0;
}
div.caption {
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.g_navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
	position: relative;									/* add by Raymond 2009-12-11 */
	top: 0px;											/* add by Raymond 2009-12-11 */
	left: 0px !important;								/* add by Raymond 2009-12-11 */
	left/**/: 35px;										/* add by Raymond 2009-12-11 */
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	border: 1px solid #CCCCCC;							/* add by Raymond 2009-12-11 */
	display: block;										/* add by Raymond 2009-12-11 */
	float: left;										/* add by Raymond 2009-12-11 */
	width: 80px;										/* add by Raymond 2009-12-11 */
	height: 160px;										/* add by Raymond 2009-12-11 */
	margin: 8px 2px 20px 2px !important;				/* add by Raymond 2009-12-11 */
	margin/**/: 8px 2px 0px 2px;						/* add by Raymond 2009-12-11 */
	overflow: hidden;									/* add by Raymond 2009-12-11 */
	padding: 3px;										/* add by Raymond 2009-12-11 */
}
a.thumb {
	display: block;
	/* padding: 2px; */									/* mod by Raymond 2009-12-11 */
	/* border: 1px solid #ccc; */						/* mod by Raymond 2009-12-11 */
}
ul.thumbs li.selected a.thumb {
	background: #000;
}
a.thumb:focus {
	outline: none;	
}
ul.thumbs li div.img_holder {
	width: 80px;										/* add by Raymond 2009-12-11 */
	height: 80px;										/* add by Raymond 2009-12-11 */
	/* position: relative; */							/* add by Raymond 2009-12-11 */
	margin: 0 0 5px 0;									/* add by Raymond 2009-12-11 */
	/* padding: 0; */									/* add by Raymond 2009-12-11 */ 
	display: block;										/* add by Raymond 2009-12-11 */ 
	overflow: hidden;									/* add by Raymond 2009-12-11 */
}
ul.thumbs img {
	/* border: none; */									/* mod by Raymond 2009-12-11 */
	display: block;
	width: 80px;										/* add by Raymond 2009-12-08 */
	height: 80px;										/* add by Raymond 2009-12-08 */
}
div.g_navigation div.top {
	/* original */
	/* margin-bottom: 12px; */
	/* height: 11px; */	
	margin-bottom: 0;									/* mod by Raymond 2009-12-08 */
	height: 0;											/* mod by Raymond 2009-12-08 */
}
div.g_navigation div.bottom {
	/* margin-top: 12px; */								/* original */

	margin-bottom: 0;									/* mod by Raymond 2009-12-08 */
	height: 0;											/* mod by Raymond 2009-12-08 */
}
div.pagination {
	clear: both;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	/* margin-right: 2px; */							/* mod by Raymond 2009-12-08 */
	/* padding: 4px 7px 2px 7px; */						/* mod by Raymond 2009-12-08 */
	/* border: 1px solid #ccc; */						/* mod by Raymond 2009-12-08 */
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	/* padding: 5px 0 3px 2px; */						/* mod by Raymond 2009-12-12 */
}
