#gallery {
	width:100%;
	position: relative;
	left: 0;
}
#gallery b.default {
	position:absolute;
	width:300px;
	text-align:center;
	right: 150px;
	left: 36%;
	top: 50px;
}

#div.centrato {
  display:     block;
  width:       300px;
  height:      200px;

  position:    absolute;
  top:         50%;
  left:        50%;

  margin:      -150px 0 0 -100px;


}



#gallery b.default img {display:block; margin:0 auto 10px auto; border:1px solid #FFFFFF;}
#gallery b.default span {display:block; color:#fff; font-family:verdana, arial, sans-serif; font-weight:normal; font-size:11px; width:350px; margin:0 auto;}

#gallery ul {
	list-style:none;
	padding:0;
	margin:0;
	width:30%;
	position:relative;
	float:right;
	top: 50px;
}
#gallery ul li {display:inline; width:52px; height:52px; float:left; margin:0 0 5px 5px;}
#gallery ul li a {display:block; width:50px; height:50px; text-decoration:none; border:1px solid #000000;}
#gallery ul li a span {display:none;}
#gallery ul li a img {display:block; width:50px; height:50px; border:0;}
#gallery ul li a:hover {
	white-space:normal;
	background-color: #252525;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
}
#gallery ul li a:hover b {
	position:absolute;
	top:0;
	width:400px;
	height:400px;
	text-align:center;
	z-index:20;
	background-color: #252525;
	right: 200px;
	left: -130%;
}
#gallery ul li a:hover span {display:block; color:#fff; font-family:verdana, arial, sans-serif; font-weight:normal; font-size:11px; width:350px; margin:0 auto;}
#gallery ul li a:hover img {margin:0 auto 10px auto; width:auto; height:auto; border:1px solid #FFFFFF;}

#gallery ul li a:active, #gallery ul li a:focus {
	white-space:normal;
	background-color: #252525;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
}
#gallery ul li a:active b, #gallery ul li a:focus b {
	position:absolute;
	top:0;
	width:400px;
	height:400px;
	text-align:center;
	z-index:10;
	background-color: #252525;
	right: 200px;
	left: -130%;
}
#gallery ul li a:active span, #gallery ul li a:focus span {display:block; color:#fff; font-family:verdana, arial, sans-serif; font-weight:normal; font-size:11px; width:350px; margin:0 auto;}
#gallery ul li a:active img, #gallery ul li a:focus img{margin:0 auto 10px auto; width:auto; height:auto; border:1px solid #FFFFFF;}
