/*
 * 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:100%;
	max-height:70vh;
	overflow:hidden;
	position:relative;
	margin:0px auto;
}


/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
	width:100%;
	height:auto;
	overflow:hidden;
}

.nivoSlider img {
	position:absolute;
	top:0;
	margin-top:-10%;
	left:0;
	width:auto;
}

.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:40px;
	top:50px;
	width:550px;
	color:rgba(255,255,255,1);
	z-index:700;
	overflow:hidden;
	display:none;
	background:rgba(25, 57, 99,0.7);
}

.nivo-caption h1 {
	padding:10px 20px;
	width:100%;
	margin:0;
	color:#fff;
	font-weight:400;
	float:left;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 1);
	background:rgba(25, 57, 99,0.6);
}

.nivo-caption p {
	padding:20px;
	width:100%;
	margin:0;
	font-weight:400;
	float:left;
	/* text-transform:lowercase; */
}

.nivo-caption a {
	display:inline-block!important;
  color:#dddfdf;
}

.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:15px 0;
	float:left;
	display:block;
	bottom:20px;
	right:20px;
	position:absolute;
	z-index:90;
}

.nivo-controlNav a {
	cursor:pointer;
}

.nivo-controlNav a.active {
	font-weight:700;
}

.nivo-controlNav a {
	display:inline-block;
	width:22px;
	height:22px;
	background:url(../images/bullets.png) no-repeat;
	text-indent:-9999px;
	border:0;
	margin:0 2px;
}

.nivo-controlNav a.active {
	background-position:0 -22px;
}

@media (max-width: 767px) {

	#wrapper{width:100%;position: relative;}
	.nivo-caption h1 {font-size:120%;}
	.nivo-caption p {}
	.nivo-controlNav {display:none;}
	
.nivo-caption p.testo-vetrina {
	padding:15px 20px 0px;
	font-size:95%;
	line-height:normal;
}
	
.nivo-caption {
	position:relative;
	right:0px;
	left:0px;
	top:100%;
	width:100%;
	color:rgba(255,255,255,1);
	background: rgba(25, 57, 99,0.85);
	z-index:700;
	overflow:hidden;
	display:none;
}


}
@media (min-width: 768px) and (max-width: 980px) {

	#wrapper{width:100%;position: relative;}

}

@media only screen and (max-width: 960px) {

.nivoSlider img {
	position:absolute;
	top:0;
	left:0;
	max-width:100% !important;
min-width:100% !important;
min-height:100px !important;

}

}