/* ================================================================ 
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:50px; padding-top: 356px; margin: 25px 113px 70px 25px;}

#gallery img.left {width:55px; height:62px; background:#444; float:left;cursor:pointer;}
#gallery img.right {width:55px; height:62px; background:#444; float:left;cursor:pointer;}

#gallery ul {list-style:none; padding:0; margin:0; float:left; background:#454545; border:2px solid #454545; border-width:5px 2px;}
#gallery ul li {display:inline; width:50px; height:50px; float:left; margin:0 4px; border:1px solid #000; cursor:pointer;}

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

/* using background images */
/* page 1 */
#gallery ul li.th1 {background:url(images/gallery/th1.jpg);}
#gallery ul li.th2 {background:url(images/gallery/th2.jpg);}
#gallery ul li.th3 {background:url(images/gallery/th3.jpg);}
#gallery ul li.th4 {background:url(images/gallery/th4.jpg);}
#gallery ul li.th5 {background:url(images/gallery/th5.jpg);}
#gallery ul li.th6 {background:url(images/gallery/th6.jpg);}
#gallery ul li.th7 {background:url(images/gallery/th7.jpg);}
/* page 2 */
#gallery ul li.th8 {background:url(images/gallery/th8.jpg);}
#gallery ul li.th9 {background:url(images/gallery/th9.jpg);}
#gallery ul li.th10 {background:url(images/gallery/th10.jpg);}
#gallery ul li.th11 {background:url(images/gallery/th11.jpg);}
#gallery ul li.th12 {background:url(images/gallery/th12.jpg);}
#gallery ul li.th13 {background:url(images/gallery/th13.jpg);}
#gallery ul li.th14 {background:url(images/gallery/th14.jpg);}
/* page 3 */
#gallery ul li.th15 {background:url(images/gallery/th15.jpg);}
#gallery ul li.th16 {background:url(images/gallery/th16.jpg);}
#gallery ul li.th17 {background:url(images/gallery/th17.jpg);}
#gallery ul li.th18 {background:url(images/gallery/th18.jpg);}
#gallery ul li.th19 {background:url(images/gallery/th19.jpg);}
#gallery ul li.th20 {background:url(images/gallery/th20.jpg);}
#gallery ul li.th21 {background:url(images/gallery/th21.jpg);}
/* page 4 */
#gallery ul li.th22 {background:url(images/gallery/th22.jpg);}
#gallery ul li.th23 {background:url(images/gallery/th23.jpg);}
#gallery ul li.th24 {background:url(images/gallery/th24.jpg);}
#gallery ul li.th25 {background:url(images/gallery/th25.jpg);}
#gallery ul li.th26 {background:url(images/gallery/th26.jpg);}
#gallery ul li.th27 {background:url(images/gallery/th27.jpg);}
#gallery ul li.th28 {background:url(images/gallery/th28.jpg);}
/* page 5 */
#gallery ul li.th29 {background:url(images/gallery/th29.jpg);}
#gallery ul li.th30 {background:url(images/gallery/th30.jpg);}
#gallery ul li.th31 {background:url(images/gallery/th31.jpg);}
#gallery ul li.th32 {background:url(images/gallery/th32.jpg);}
#gallery ul li.th33 {background:url(images/gallery/th33.jpg);}
#gallery ul li.th34 {background:url(images/gallery/th34.jpg);}
#gallery ul li.th35 {background:url(images/gallery/th35.jpg);}
/* page 6 */
#gallery ul li.th36 {background:url(images/gallery/th36.jpg);}
#gallery ul li.th37 {background:url(images/gallery/th37.jpg);}
#gallery ul li.th38 {background:url(images/gallery/th38.jpg);}
#gallery ul li.th39 {background:url(images/gallery/th39.jpg);}
#gallery ul li.th40 {background:url(images/gallery/th40.jpg);}
#gallery ul li.th41 {background:url(images/gallery/th41.jpg);}
#gallery ul li.th42 {background:url(images/gallery/th42.jpg);}
/* page 7 */
#gallery ul li.th43 {background:url(images/gallery/th43.jpg);}
#gallery ul li.th44 {background:url(images/gallery/th44.jpg);}
#gallery ul li.th45 {background:url(images/gallery/th45.jpg);}
#gallery ul li.th46 {background:url(images/gallery/th46.jpg);}
#gallery ul li.th47 {background:url(images/gallery/th47.jpg);}
#gallery ul li.th48 {background:url(images/gallery/th48.jpg);}
#gallery ul li.th49 {background:url(images/gallery/th49.jpg);}
/* page 8 */
#gallery ul li.th50 {background:url(images/gallery/th50.jpg);}
#gallery ul li.th51 {background:url(images/gallery/th51.jpg);}
#gallery ul li.th52 {background:url(images/gallery/th52.jpg);}
#gallery ul li.th53 {background:url(images/gallery/th53.jpg);}
#gallery ul li.th54 {background:url(images/gallery/th54.jpg);}
#gallery ul li.th55 {background:url(images/gallery/th55.jpg);}
#gallery ul li.th56 {background:url(images/gallery/th56.jpg);}

#gallery ul li.th57 {background:url(images/gallery/th57.jpg);}
#gallery ul li.th58 {background:url(images/gallery/th58.jpg);}
#gallery ul li.th59 {background:url(images/gallery/th59.jpg);}
#gallery ul li.th60 {background:url(images/gallery/th60.jpg);}
#gallery ul li.th61 {background:url(images/gallery/th61.jpg);}
#gallery ul li.th62 {background:url(images/gallery/th62.jpg);}
#gallery ul li.th63 {background:url(images/gallery/th63.jpg);}

#gallery ul li.th64 {background:url(images/gallery/th64.jpg);}
#gallery ul li.th65 {background:url(images/gallery/th65.jpg);}
#gallery ul li.th66 {background:url(images/gallery/th66.jpg);}
#gallery ul li.th67 {background:url(images/gallery/th67.jpg);}
#gallery ul li.th68 {background:url(images/gallery/th68.jpg);}
#gallery ul li.th69 {background:url(images/gallery/th69.jpg);}

/* remove visibility:hidden; if you want to use the original images as thumbnails */
#gallery ul li img {visibility:hidden; display:block; width:50px; height:50px;}

#gallery ul li span {display:none; position:absolute; left:61px; top:430px; width:411px;font-family:verdana, arial, sans-serif; color:#666; font-size:11px; line-height:15px; text-align:justify;}
#gallery ul li b {color:#454545;}
#gallery ul li.chosen {border-color:#fff; cursor:default;}
#gallery ul li.chosen div {position:absolute; left:0; top:0; width:532px; height:355px; background:#454545; border:1px solid #454545; border-width:1px 1px 0 1px;}
#gallery ul li.chosen div i {width:532px; height:355px; display:table-cell; vertical-align:middle; text-align:center;} 
#gallery ul li.chosen div i img {visibility:visible; width:auto; height:auto; border:1px solid #aaa; margin:0 auto;}
#gallery ul li.chosen span {display:block;}
.centerGal { text-align: center; }

