/*
 * 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
 *
 * This file has been updated to work with MyADL
 *
 */

/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
	width:100%;
	height:auto;
	overflow: hidden;
}

.nivoSlider img {
	/*position:absolute;*/ /*Removed by MO*/
	top:0px;
	left:0px;
	/*max-width: 67%;*/ /*Removed by MO*/
}

.nivo-main-image {
	/*display: block !important;*/
	position: relative !important;
	width: 100% !important;
	}

img.nivo-main-image  {
	max-height: 330px !important;
	display: inline;
	/*position: inherit;*/
	/*z-index: -999999;*/
}

/* 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-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;*/
	position: relative;
	right:0px;
	top:0px;
	/*background:transparent;*/
	background-color: rgb(246, 246, 246);
	/*min-height: 200px;*/
	color:inherit;
	/*width:33%;*/ /*Removed by MO*/
	z-index:18;
	padding: 5px 10px;
	overflow: hidden;
	display: none;
	/*opacity: 0.8;*/
	/*-moz-opacity: 0.8;*/
	/*filter:alpha(opacity=8);*/
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
.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 {
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
}
.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	text-align:center;
	padding: 0;
}
.nivo-controlNav a {
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}
/* New Code added by Mark Onofrio*/
@media screen and (min-width:1100px){
	.nivoSlider img{max-width: 100%;}
	.nivo-caption { width:100%; /*position:absolute;*/}
}
@media screen and (min-width:1086px) and (max-width:1099px){
	.nivoSlider img{max-width: 50%;}
	.nivo-caption { width:51.5%; /*position:absolute;*/ margin-top:-2%; margin-right:-2%;}
	.nivo-caption p {margin-top: -2%; margin-right:-1.5%}
	.nivo-caption h2 {maring-top:-2%;}
}
@media screen and (max-width:1085px){
	.nivoSlider{max-width: 90%; margin-left:auto; margin-right:auto;}
	.nivoSlider img{max-width: 100%;}
}

/* Mark Onofrio - New CSS - */
.nivo-caption p.caption {
	margin-top: 10px;
	color: rgb(102, 102, 102);
	display: inline;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 9px;
	line-height: 18px;
	visibility: visible;}