﻿/*
 * 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: 400px;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.3), 0 10px 15px -9px rgba(0, 0, 0, 0.5);
}
.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;
	bottom: 0;
	left: 0;
	font-family: 'Slabo 27px', Verdana, Helvetica, sans-serif;
	font-size: 38px;
	color: #000; /*caption text color*/
	background-color: rgba(255, 255, 255, 0.5);
	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: 0;
	width: 100%;
	padding: 5px 5% 5px 5%;
	text-align: center;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
	border-radius: 0 0 10px 10px;
}
.nivo-caption1 p:last-of-type, .nivo-caption2 p:last-of-type, .nivo-caption3 p:last-of-type {
   font-size: 18px; margin: 0; padding: 0; font-family: 'Slabo 27px', Verdana, Helvetica, sans-serif;
}
.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 {display: none;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3 {display: none;}
}
/* =========================== */
/* ===== SMALL DEVICE 02 ===== */
@media screen and (min-width: 321px) and (max-width: 480px) {
    #slider {width: 100%; height: auto;}
   .nivo-caption {display: none;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3 {display: none;}
}
/* =========================== */
/* ===== SMALL DEVICE 03 ===== */
@media screen and (min-width: 481px) and (max-width: 623px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption {font-size: 24px;}
}
/* =========================== */
/* ===== MID DEVICE 01 ======= */
@media screen and (min-width: 624px) and (max-width: 669px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption {font-size: 26px;}
}
/* =========================== */
/* ===== MID DEVICE 02 ======= */
@media screen and (min-width: 670px) and (max-width: 768px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption {font-size: 28px;}
}
/* =========================== */
/* ===== MID DEVICE 03 ======= */
@media screen and (min-width: 769px) and (max-width: 800px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption {font-size: 30px;}
}
/* =========================== */
/* ===== LARGE DEVICE 01 ===== */
@media screen and (min-width: 801px) and (max-width: 1024px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption {font-size: 34px;}
}
/* =========================== */
/* ===== LARGE DEVICE 02 ===== */
@media screen and (min-width: 1025px) and (max-width: 1279px) {
    #slider {width: 100%; height: auto;}
}
