div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	float: left; /*determina dove allineare l'immagine grande*/
	width: 440px;
}
div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.controls {
	width:440px;
	float:left;
	display:block;
	position:relative;
	left:0;
}
div.controls a {
	cursor:pointer;
	position:relative;
	top:0px;
	left:0px;
	display:block;	
	height:20px;
	float:left;
	padding-right:10px;
	color: #B49F68;
	
}
div.controls a:hover {
	color: #8F8F8F;
	cursor:pointer;
	text-decoration:none;
	
}
div.ss-controls {
	float: left;
	padding-left: 0px;
	padding-top:0px;

}
div.nav-controls {
	float: right;
	padding-right:0px;
	padding-top:0px;

}
div.slideshow-container {
	position: relative;
	clear: both;
	height: 293px;; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 440px;
	height: 293; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {
	
}
div.slideshow span.image-wrapper {
	display		: block;
	position	: absolute;
		top			: 0;
	right		: 0;
	
	height		: 293px;
	overflow	: hidden;
}
div.slideshow a.advance-link {
	width			: 440px;
	height			: 293; /* This should be set to be at least the height of the largest image in the slideshow */
					/*line-height: 322px;  This should be set to be at least the height of the largest image in the slideshow */
	text-align		: center;
	vertical-align	:top;
	float			:left;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	display		:block;
	position:absolute;
	top:6px;
	left:0px;
	text-align	:center;
	vertical-align: top;
	border		: 1px solid #ccc;
	max-width	: 438px;
	min-height	: 220px;
	max-height	: 322px;
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	clear: left;
	height: 15px;
	
}
span.image-caption {
	display: block;
	position: absolute;
	width: 440px;
	top: 0;
	left: 0;
}
div.caption {
	padding: 2px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}

/* CONTENITORE GENERALE PAGINAZIONE THUMBS*/

div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
		height:313px;
		overflow:hidden;
		float:right;
		text-align:right;
}
ul.thumbs {
	clear: both;
	margin-left: 10px;;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 2px 3px 2px 2px;
	list-style: none;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 0px solid #ccc;
}
a.thumb2{
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
	margin-top: -5px;
	width:84px;
	height:63px;
	overflow:hidden;
	text-align:center;
}
ul.thumbs li.selected a.thumb {
background:#ccc;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
/* CONTENITORI DELLE NUMERAZIONI DELLE THUMBS*/
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-left		: 12px;
	display			: block;
	margin-bottom	: 15px;
	height			: 11px;
}
div.navigation div.bottom {
	margin-left: 12px;
}
/*NUMERAZIONI PAGINAZIONE DELLE THUMBS*/
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display		: block;
	float		: left;
	margin-right: 2px;
	padding		: 2px 5px 2px 5px;
	border		: 1px solid #ccc;
	font-family	: Arial, Helvetica, sans-serif;
	font-weight	: normal;
}
div.pagination a:hover {
	background-color: #D2D2D2;
	text-decoration: none;
}
div.pagination span.current {
	font-weight			: bold;
	background-color	: #B49F68;
	color				: #fff;
	padding				: 2px 5px 2px 5px;
	border				: 1px solid #ccc;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
