/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.stunicholls/gallery/left_right_click.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

#gallery {
	width:534px;
	position:relative;
	height:60px;
	padding-top:356px;
	margin-top: 0;
	margin-right: 10px;
	margin-bottom: 90px;
	margin-left: 10px;
}

#gallery img.left {
	width:55px;
	height:62px;
	background:#fff;
	float:right;
	cursor:pointer;
}
#gallery img.right {
	width:55px;
	height:62px;
	background:#fff;
	float:right;
	cursor:pointer;
	margin-top:-10px;
}

#gallery ul {
	list-style:none;
	padding:0;
	margin:0;
	
	background:#fff;
	border:2px solid #fff;
	border-width:5px 2px;
	display:block;
}
#gallery ul li {
	display:block;
	width:52px;
	height:52px;
	float:right;
	margin:0 4px;
	cursor:pointer;
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.hide {display:none;}

/* using background images */
#gallery ul li.th1 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}
#gallery ul li.th2 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}
#gallery ul li.th3 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}
#gallery ul li.th4 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}
#gallery ul li.th5 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th6 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th7 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th8 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th9 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th10 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th11 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th12 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th13 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th14 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th15 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th16 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th17 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th18 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}

#gallery ul li.th19 {
	background-image: url(../templates/images/thumbnail-bg.jpg);
	background-repeat: no-repeat;
}
/* remove visibility:hidden; if you want to use the original images as thumbnails */
#gallery ul li img {
	visibility:visible;
	display:block;
	width:40px;
	height:40px;
	background-position: center;
	margin-right: 5px;
}

#gallery ul li span {
	display:none;
	position:absolute;
	left:0px;
	top:430px;
	width:532px;
	font-family:verdana, arial, sans-serif;
	color:#666666;
	font-size:11px;
	line-height:15px;
	text-align:justify;
}
#gallery ul li b {
	color:#333333;
}

#gallery ul li.chosen {
	cursor:default;
	background-image: url(../templates/images/thumbnail-bg-active.jpg);
	background-repeat: no-repeat;
}
#gallery ul li.chosen div {
	position:absolute;
	left:0;
	top:0;
	width:532px;
	height:355px;
	border-width:1px 1px 0 1px;
	background-image: url(../templates/images/bg-gal.jpg);
	background-repeat: no-repeat;
}
#gallery ul li.chosen div i {width:530px; height:355px; display:table-cell; vertical-align:middle; text-align:center;} 
#gallery ul li.chosen div i img {
	visibility:visible;
	width:500px;
	height:300px;
	border:1px solid #fff;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
#gallery ul li.chosen span {display:block;}
