/*
 * jQuery Nivo Slider v3.1
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

#wrapper {
	width:1000px;
	position:relative;
	margin:0px auto;
	
}


#slider {
 border: 0px solid #333;
 margin:0px auto;
 background:url(../immagini/loading.gif) no-repeat 50% 40%;
}

/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
	width:100%;
	height:auto;
	overflow:hidden;
}

.nivoSlider img {
	position:absolute;
	top:0;
	left:0;
	max-width:none;
}

.nivo-main-image {
	display:block!important;
	position:relative!important;
	width:100%!important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
}

/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
	top:0;
}

.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
	overflow:hidden;
}

.nivo-box img {
	display:block;
}

/* Caption styles */

.nivo-caption {
	position:absolute;
	right:-650px;
	top:0px;
	width:450px;
	color:#fff;
	z-index:8;
	overflow:hidden;
	display:none;
}

.nivo-caption h1 {
	padding:10px 0px;
	margin:0;
	color:#103d60;
	opacity:1;
	font-weight:700;
	/*float:left;*/
	font-size:30px;
	font-family: 'Economica', sans-serif;
	width:100%;
	
}

.nivo-caption p {
	padding:5px 0px;
	margin:0;
	font-family:'Open Sans', serif;
	font-size:13px;
	line-height:22px;
	color:#333333;
	opacity:1;
	font-weight:600;
	float:left;
	width:100%;
	
}

.nivo-caption p ul li { border-bottom:1px dotted #333;}

.nivo-caption a {
	display:inline!important;
}

.nivo-html-caption {
	display:none;
}

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
	display:none;
}

.nivo-prevNav {
	left:0;
}

.nivo-nextNav {
	right:0;
}

/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	text-align:center;
	padding:0;
	float:left;
	display:block;
	bottom:0;
	right:50%;
	margin-right:-44px;
	position:absolute;
	z-index:99999;
}

.nivo-controlNav a {
	cursor:pointer;
}

.nivo-controlNav a.active {
	font-weight:700;
}


.nivo-controlNav a {
	display:inline-block;
	width:22px;
	height:22px;
	background:url(bullets.png) no-repeat;
	text-indent:-9999px;
	border:0;
	margin:0;
}

.nivo-controlNav a.active {
	background-position:0 -22px;
}

@media (max-width: 980px) {
	#wrapper {
		width:100%;
		position:relative;
		margin:20px auto !important;
	}
	
	#slider {
 	width:100%; 
	max-width:660px; margin:0 auto !important;
 border: 0px solid #333;
 margin:0px auto;
 background:none !important;
}
	
	.nivo-caption { position:relative}
	.nivo-caption {
		bottom:0;
		
	}
	.nivo-caption h1 {
		font-size:110%;
		
	}
	
	.nivo-caption p {
		font-size:90%;
		
	}
	
	.nivo-controlNav {
		display:none;
	}
}

@media (max-width: 767px) {
	#wrapper {
		width:100%;
		position:relative;
		margin:0px auto;
	}
	
	.nivo-caption {
		bottom:0;
	}
	
	.nivo-caption h1 {
		font-size:110%;
	}
	
	.nivo-caption p {
		font-size:90%;
	}
	
	.nivo-controlNav {
		display:none;
	}
}

@media (max-width: 500px) {
	.nivo-caption p {
		font-size:80%;
	}
	.nivo-caption { width:95% !important; margin-left:10px}
}

@media (min-width: 768px) and (max-width: 980px) {
	#wrapper {
		width:100%;
		position:relative;
		margin:0px auto;
	}
}