/*
 * jQuery Nivo Slider v3.2
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
	width:100%;
	height: auto;
	overflow: hidden;
	/*
	height:auto;
	max-height: 495px;
	*/
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	height: 100%;
	/*
	height:auto;
	overflow: hidden;
	max-width: none;
	max-height: 495px;
	*/
}
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height: 100%;
	top:0;
}

.nivo-main-image {
	display: block !important;
	position: relative !important; 
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
	background:white; 
	filter:alpha(opacity=0); 
	opacity:0;
}
/* The slices and boxes in the Slider */

.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
	overflow:hidden;
}
.nivo-box img { display:block; }

/* Caption styles */
.nivo-caption {
	position:absolute;
	righ:20%;
	bottom:120px;
	background:rgba(0,0,0,0.8);
	color:#fff;
	width:auto;
	max-width:60%;
	min-height:32px;
	z-index:8;
	padding: 12px 26px 10px 26px;
	overflow: hidden;
	display: none;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	font-size:24px;
	font-family: 'PT Sans', sans-serif;
}
@media screen and (max-width: 592px)
{
	.nivo-caption {width:100%;max-width:100%;left:0;}
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	width:54px; height:54px; 
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
	background:rgba(255, 255, 255, 0.6);
	display:block;	
	text-align:center;
}
.nivo-directionNav a i{margin-top:12px; color:#666}

.nivo-prevNav {
	left:20px;
}
.nivo-nextNav {
	right:20px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	text-align:center;
	padding: 15px 0;
}
.nivo-controlNav a {
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}

@media screen and (min-width: 992px)
{
	.slideshow, .nivoSlider, .nivoSlider img, .nivo-slice {
		height: 348px;
	}
}
@media screen and (min-width: 1420px)
{
	.slideshow, .nivoSlider, .nivoSlider img, .nivo-slice {
		height: 408px;
	}
}
@media screen and (min-width: 767px) and (max-width: 991px)
{
	.slideshow, .nivoSlider, .nivoSlider img, .nivo-slice {
		height: 218px;
	}
}
@media screen and (max-width: 766px)
{
	.slideshow, .nivoSlider, .nivoSlider img, .nivo-slice {
		height: 168px;
	}
}
@media screen and (max-width: 1333px)
{
	.slideshow {
		background:transparent!important;
	}
}