#gallery {
width:615px; 
position:relative; 
height:63px; 
padding-top:530px; 
margin:0px 0px 0px 0px;}

#gallery img.left{
	width:60px;
	height:65px;
	float:left;
	cursor:pointer;
	background-color: #FFFFFF;}

#gallery img.right {
	width:61px;
	height:65px;
	float:left;
	cursor:pointer;
	background-color: #FFFFFF;}

#gallery ul {
	list-style:none;
	padding:0;
	margin:0;
	float:left;
	background-color: #B6B6B6;
	border-top-width: 4px;
	border-right-width: 2px;
	border-bottom-width: 4px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #B6B6B6;
	border-right-color: #B6B6B6;
	border-bottom-color: #B6B6B6;
	border-left-color: #B6B6B6;}
	
#gallery ul li {
display:inline; 
width:86px; 
height:55px; 
float:left; 
margin:0 5px; 
border:1px solid #464646; 
cursor:pointer;}

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

/* using background images */
#gallery ul li.th1 {background-image: url(../nico/napoles_capri/02_porto_cavi_t.jpg);}
#gallery ul li.th2 {background-image: url(../nico/napoles_capri/01_lenzuole_napolitane_t.jpg);}
#gallery ul li.th3 {background-image: url(../nico/napoles_capri/03_bagna_il_sole_a_capri_t.jpg);}
#gallery ul li.th4 {background-image: url(../nico/napoles_capri/04_due_bambine_nel_acqua_t.jpg);}
#gallery ul li.th5 {background-image: url(../nico/napoles_capri/05_orizzonte_rosso_t.jpg);}
#gallery ul li.th6 {background-image: url(../nico/napoles_capri/06_alla_luce_di_un_lampione_t.jpg);}
#gallery ul li.th7 {background-image: url(../nico/napoles_capri/07_la_riva_arrivera_t.jpg);}
#gallery ul li.th8 {background-image: none;}
#gallery ul li.th9 {background-image: none;}
#gallery ul li.th10{background-image: none;}
#gallery ul li.th11 {background-image: none;}
#gallery ul li.th12 {background-image: none;}
#gallery ul li.th13 {background-image: none;}
#gallery ul li.th14 {background-image: none;}
#gallery ul li.th15 {background-image: none;}
#gallery ul li.th16 {background-image: none;}
#gallery ul li.th17 {background-image: none;}
#gallery ul li.th18 {background-image: none;}
#gallery ul li.th19 {background-image: none;}
#gallery ul li.th20 {background-image: none;}
#gallery ul li.th21 {background-image: none;}
#gallery ul li.th22 {background-image: none;}
#gallery ul li.th23 {background-image: none;}
#gallery ul li.th24 {background-image: none;}
#gallery ul li.th25 {background-image: none;}

/* remove visibility:hidden; if you want to use the original images as thumbnails */

#gallery ul li img {
visibility:hidden; 
display:block; 
width:85px; 
height:55px;}

#gallery ul li span {
	display:none;
	position:absolute;
	left:73px;
	top:470px;
	width:477px;
	font-family:verdana, arial, sans-serif;
	color:#666;
	font-size:11px;
	line-height:22px;
	text-align:justify;
	height: 51px;
	font-weight: 200;
	letter-spacing: 4px;}
#gallery ul li b {
	color:#444;
	font-family: tahoma, verdana;
	font-size: 22px;
	text-decoration: none;
	letter-spacing: 1px;
	font-weight: bold;}

#gallery ul li.chosen {
border-color:#fff; 
cursor:default;}

#gallery ul li.chosen div {
	position:absolute;
	left:1px;
	top:0px;
	width:615px;
	height:458px;
	border:0px solid #000;
	border-width:0px 0px 0 0px;
	background-color: #FFFFFF;
	background-image: none;}
	
#gallery ul li.chosen div i {
width:615px; height:458px; 
display:table-cell; 
vertical-align:middle;} 

#gallery ul li.chosen div i img {
visibility:visible; 
width:auto; 
height:auto; 
border:0px solid #999999; 
margin:0 auto;}

#gallery ul li.chosen span {
display:block;text-align: center;}
