#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/vaticano/04_autoritratto_in_piazza_san_pietro_t.jpg);}
#gallery ul li.th2 {background-image: url(../nico/vaticano/01_soffiare_t.jpg);}
#gallery ul li.th3 {background-image: url(../nico/vaticano/02_via_della_conciliazione_t.jpg);}
#gallery ul li.th4 {background-image: url(../nico/vaticano/03_polizia_movile_t.jpg);}
#gallery ul li.th5 {background-image: url(../nico/vaticano/05_Il_mio_riflesso_nel_mondo_t.jpg);}
#gallery ul li.th6 {background-image: url(../nico/vaticano/06_la_luna_nascosta_t.jpg);}
#gallery ul li.th7 {background-image: url(../nico/vaticano/07_apri_la_finestra_t.jpg);}
#gallery ul li.th8 {background-image: url(../nico/vaticano/08_la_scala_all_infinito_t.jpg);}
#gallery ul li.th9 {background-image: url(../nico/vaticano/09_dal_duomo_della_basilica_san_pietro_t.jpg);}
#gallery ul li.th10 {background-image: url(../nico/vaticano/10_tetto_t.jpg);}
#gallery ul li.th11 {background-image: url(../nico/vaticano/11_con_un_piede_in_roma_e_un_altro_nel_vaticano_t.jpg);}
#gallery ul li.th12 {background-image: url(../nico/vaticano/12_quattro_sorelle_e_una_cugina_t.jpg);}
#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;}
#gallery ul li.th26 {background-image: none;}
#gallery ul li.th27 {background-image: none;}
#gallery ul li.th28 {background-image: none;}
#gallery ul li.th29 {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:16px;
	top:470px;
	width:585px;
	font-family:verdana, arial, sans-serif;
	color:#666;
	font-size:11px;
	line-height:22px;
	text-align:justify;
	height: 54px;
	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;}
