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: right;
	width: 65%; 
	margin-right:3%;
	
}


div.slideshow-container {
	position: relative;
	clear: both;
	width: 100%;
	height: 500px; /* This should be set to be at least the height of the largest image in the slideshow */
	background:#1f2224;
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('http://ilcastellorivive.it/img/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	height: auto; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {
	width: 100%;
	height:500px;
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	/*background:red;*/
}
div.slideshow a.advance-link {
	display: block;
	width: 100%;
	height: 500px; /* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 500px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
}

div.slideshow img {
	vertical-align: middle;
	/*border:4px solid black;*/
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

div.caption-container {
	position: relative;
	clear: left;
	height: 35px;
}
span.image-caption {
	display: block;
	position: absolute;
	width:100%;
	top: 0;
	left: 0;
}
div.caption {

}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.navigation {
	
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
	
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
ul.thumbs li.selected a.thumb {
	background: #000;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 4px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #31363A;
}
div.pagination a:hover {
	background-color: #ccc;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color:#31363A;
	border-color: #31363A;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}

div.controls {
	padding-top:15px;
	width:200px;
	margin:0 auto;
	
}
div.controls a {
	padding: 5px 10px;

}
div.ss-controls {
	float:left;
	width:50px;
	margin-right:20px;
}

div.nav-controls {
	float:left;
	width:50px;
	margin-right:0px;
}
div.nav-controls .prev{
	background-image: url('../img/prev.png');
	background-repeat: no-repeat;
	background-position: center;
	display:block;
	background-size:50px 50px;
	padding:25px;
	opacity:0.7;
	margin-right:10px;
}

div.nav-controls .prev:hover{
	opacity:1;
}
div.nav-controls .next{
	background-image: url('../img/next.png');
	background-repeat: no-repeat;
	background-position: center;
	display:block;
	background-size:50px 50px;
	padding:25px;
	opacity:0.7;
	margin-left:10px;
}
div.nav-controls .next:hover{
	opacity:1;
}