﻿/*
 * 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 */
#slider {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 600px;
}
.nivoSlider {
	position: relative;
	z-index: 3;
	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;
}
/* ---------- Caption styles ---------- */
.nivo-caption {
	position: absolute;
	top: 0;
	left: 0;
	font-family: Georgia, Times, 'Times New Roman', serif;;
	font-size: 42px;
	color: #ffffff; /*caption text color*/
	line-height: 1.3em;
	text-align: center;
	width: 100%;
	z-index: 8;
	padding: 0;
	overflow: hidden;
	display: none;
	box-sizing: border-box;
}
.nivo-caption p {
	padding: 0; margin: 0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-caption1, .nivo-caption2, .nivo-caption3 {
	margin: 20% 0;
	width: 100%;
	padding: 10px 5% 10px 5%;
	text-align: center;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
	box-sizing: border-box;
}
.nivo-html-caption {
	display:none;
}
/* ---------- 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; 
	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;
}

/* ===== TO RESIZE SLIDESHOW FOR MOBILE ===== */
/* ===== SMALL DEVICE 01 ===== */
@media screen and (max-width: 320px) {
   #slider {width: 100%; height: auto;}
   .nivo-caption {font-size: 16px;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3 {margin: 10% 0;}
}
/* =========================== */
/* ===== SMALL DEVICE 02 ===== */
@media screen and (min-width: 321px) and (max-width: 480px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption {font-size: 20px;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3 {margin: 15% 0;}
}
/* =========================== */
/* ===== SMALL DEVICE 03 ===== */
@media screen and (min-width: 481px) and (max-width: 623px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption {font-size: 24px;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3 {margin: 15% 0;}
}
/* =========================== */
/* ===== MID DEVICE 01 ======= */
@media screen and (min-width: 624px) and (max-width: 669px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption {font-size: 28px;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3 {margin: 18% 0;}
}
/* =========================== */
/* ===== MID DEVICE 02 ======= */
@media screen and (min-width: 670px) and (max-width: 768px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption {font-size: 30px;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3 {margin: 18% 0;}
}
/* =========================== */
/* ===== MID DEVICE 03 ======= */
@media screen and (min-width: 769px) and (max-width: 800px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption {font-size: 32px;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3 {margin: 20% 0;}
}
/* =========================== */
/* ===== LARGE DEVICE 01 ===== */
@media screen and (min-width: 801px) and (max-width: 1024px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption {font-size: 36px;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3 {margin: 20% 0;}
}
/* =========================== */
/* ===== LARGE DEVICE 02 ===== */
@media screen and (min-width: 1025px) and (max-width: 1279px) {
    #slider {width: 100%; height: auto;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3 {margin: 20% 0;}
}
