/*
 * 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
 */
 
/* The Nivo Slider styles */
.main-slider{
	position: relative;
	margin-top: -65px;
	min-height: 500px;
}


.nivoSlider {
	position:relative;
	width:100%;
	height:auto;
	overflow: hidden;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	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:0px;
	left:0px;
	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;
}
.nivo-html-caption {
	display:none;
}
.nivo-directionNav {
	display: block;
	position: relative;
	z-index: 200;
}
/* Direction nav styles (e.g. Next & Prev) */


.nivo-directionNav a {
	position:absolute;
	bottom: 53px;
	z-index:9;
	cursor:pointer;
	display:block;
	font-size:0;
	line-height:0;
	text-indent:-1000px;
	overflow:hidden;
	width:84px;
	height:86px;

	font-size:0;
	line-height:0;
	text-indent:-1000px
	
}
.nivo-prevNav {
left:43px;
text-align:left;
background:url(../img/prev.png) 0 0 no-repeat;
}
.nivo-nextNav {
right:43px;
text-align:right;
 background:url(../img/next.png)  0 0 no-repeat;	
}
.nivo-prevNav:hover, .nivo-nextNav:hover{background-position: right 0;} 
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	position:absolute;
	left:0;
	right: 0;
	text-align: center;
	bottom:66px;
	z-index:100;
	}
.nivo-controlNav a {
	cursor:pointer;
	margin: 0 15px;
	height: 51px;
	display: inline-block;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.nivo-controlNav a img {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	max-width:none;
	width: 70px;
	height:auto;
	opacity: 0.5;
	position: relative;
	top: 0;
}
.nivo-controlNav a.active img, .nivo-controlNav a:hover img {
	opacity: 1;
	top: -10px;
}
 @media only screen and (min-width: 1200px) {
.main-slider{min-height: 475px;}

}
 @media only screen and (min-width: 768px) and (max-width: 995px) {
.nivo-directionNav a{
	bottom: auto;
	margin-top: -250px;
	width: 42px;
	height: 43px;
	background-position: 0 0;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	background-size: 200%;
	}
.main-slider{min-height: 400px;}

}

@media only screen and (max-width: 768px) {
.main-slider{margin-top: 0;}
 .nivo-controlNav {
 display:none
}

.nivo-directionNav a{
	bottom: 20px;
	
	width: 42px;
	height: 43px;
	background-position: 0 0;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	background-size: 200%;
	}

.main-slider{min-height: 300px;}


}
@media only screen and (max-width: 620px) {
	.main-slider{min-height: 200px;}
}


@media only screen and (max-width: 488px) {
	.nivo-directionNav a{width:25px}	
	}
@media only screen and (max-width: 320px) {
	.main-slider{min-height: 100px;}
}
