/* ================================================================ 
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:430px; position:relative; height:51px; padding-top:341px; margin-bottom: 30px;}

#gallery img.left {float:left;cursor:pointer; margin-top: 10px; margin-left: 2px;}
#gallery img.right {float:left;cursor:pointer; margin-top: 10px;}

#gallery ul {list-style:none; padding:0; margin:0; display: block; float: left; width: 345px; height: 51px; background: #000;}
#gallery ul li {display:inline; width:45px; height: 45px; float:left; margin: 2px 0 2px 2px; cursor:pointer; border: 1px solid #fff;}

#gallery ul li.hide {display:none;}

/* using background images */
#gallery ul li.th1 {background:url(../images/thumbs/th1.jpg);}
#gallery ul li.th2 {background:url(../images/thumbs/th2.jpg);}
#gallery ul li.th3 {background:url(../images/thumbs/th3.jpg);}
#gallery ul li.th4 {background:url(../images/thumbs/th4.jpg);}
#gallery ul li.th5 {background:url(../images/thumbs/th5.jpg);}
#gallery ul li.th6 {background:url(../images/thumbs/th6.jpg);}
#gallery ul li.th7 {background:url(../images/thumbs/th9.jpg);}
#gallery ul li.th8 {background:url(../images/thumbs/th10.jpg);}
#gallery ul li.th9 {background:url(../images/thumbs/th12.jpg);}
#gallery ul li.th10 {background:url(../images/thumbs/th13.jpg);}
#gallery ul li.th11 {background:url(../images/thumbs/th14.jpg);}
#gallery ul li.th12 {background:url(../images/thumbs/th15.jpg);}
#gallery ul li.th13 {background:url(../images/thumbs/th16.jpg);}
#gallery ul li.th14 {background:url(../images/thumbs/th17.jpg);}
#gallery ul li.th15 {background:url(../images/thumbs/th18.jpg);}
#gallery ul li.th16 {background:url(../images/thumbs/th19.jpg);}
#gallery ul li.th17 {background:url(../images/thumbs/th20.jpg);}
#gallery ul li.th18 {background:url(../images/thumbs/th21.jpg);}
#gallery ul li.th19 {background:url(../images/thumbs/th22.jpg);}
#gallery ul li.th20 {background:url(../images/thumbs/th23.jpg);}
#gallery ul li.th21 {background:url(../images/thumbs/th24.jpg);}
#gallery ul li.th22 {background:url(../images/thumbs/th25.jpg);}
#gallery ul li.th23 {background:url(../images/thumbs/th26.jpg);}
#gallery ul li.th24 {background:url(../images/thumbs/th27.jpg);}
#gallery ul li.th25 {background:url(../images/thumbs/th28.jpg);}
#gallery ul li.th26 {background:url(../images/thumbs/th29.jpg);}
#gallery ul li.th27 {background:url(../images/thumbs/th30.jpg);}
#gallery ul li.th28 {background:url(../images/thumbs/th31.jpg);}
#gallery ul li.th29 {background:url(../images/thumbs/th32.jpg);}
#gallery ul li.th30 {background:url(../images/thumbs/th33.jpg);}
#gallery ul li.th31 {background:url(../images/thumbs/th34.jpg);}
#gallery ul li.th32 {background:url(../images/thumbs/th35.jpg);}
#gallery ul li.th33 {background:url(../images/thumbs/th36.jpg);}
#gallery ul li.th34 {background:url(../images/thumbs/th37.jpg);}
#gallery ul li.th35 {background:url(../images/thumbs/th38.jpg);}
#gallery ul li.th36 {background:url(../images/thumbs/th39.jpg);}
#gallery ul li.th37 {background:url(../images/thumbs/th40.jpg);}
#gallery ul li.th38 {background:url(../images/thumbs/th41.jpg);}
#gallery ul li.th39 {background:url(../images/thumbs/th42.jpg);}
#gallery ul li.th40 {background:url(../images/thumbs/th43.jpg);}
#gallery ul li.th41 {background:url(../images/thumbs/th44.jpg);}
#gallery ul li.th42 {background:url(../images/thumbs/th45.jpg);}
#gallery ul li.th43 {background:url(../images/thumbs/th46.jpg);}
#gallery ul li.th44 {background:url(../images/thumbs/th47.jpg);}
#gallery ul li.th45 {background:url(../images/thumbs/th48.jpg);}
#gallery ul li.th46 {background:url(../images/thumbs/th49.jpg);}
#gallery ul li.th47 {background:url(../images/thumbs/th50.jpg);}
#gallery ul li.th48 {background:url(../images/thumbs/th51.jpg);}
#gallery ul li.th49 {background:url(../images/thumbs/th52.jpg);}

/* remove visibility:hidden; if you want to use the original images as thumbnails */
#gallery ul li img {visibility:hidden; display:block; width:45px; height: 45px; border: 1px solid #fff;}

#gallery ul li span {display:none; position:absolute; left:0px; top:324px; width:430px; font-size:11px; line-height:15px; text-align:center;}

#gallery ul li.chosen {cursor:default;}
#gallery ul li.chosen div {position:absolute; left:0; top:0; width:430px; height:340px;}
#gallery ul li.chosen div i {width:430px; height:340px; display:table-cell; vertical-align:middle; text-align:center;} 
#gallery ul li.chosen div i img {visibility:visible; width:auto; height:auto; border: 4px double #000; margin:0 auto;}
#gallery ul li.chosen span {display:block;}
