﻿/*
 * 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;
	margin: 0 0 20px 0 ;
	height: 500px;
	width: 100%;
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
}
.nivoSlider {
	position: relative;
	z-index: 3;
	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;
	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;
	top: 0;
	left: 0;
    font-family: 'Philosopher', Garamond, serif;
    color: #fff;
    font-size: 22px;
    font-weight: normal;
    line-height: 1.2em;
	text-align: left;
    width: 100%;
	z-index: 8;
	overflow: hidden;
	display: none;
}
.nivo-caption p {padding: 0; margin: 0; color: #202020; text-align: left;}
.nivo-caption .btn-small {float:right!important;}
.nivo-caption h1 {color: #41587f; font-size: 40px;}

.nivo-caption a {float:right;}
.nivo-html-caption {display:none;}
.nivo-caption1 {margin: 5% 0 45% 60%; width: 30%;}
.nivo-caption2 {margin: 5% 0 45% 5%; width: 30%;}
.nivo-caption3 {margin: 5% auto; width: 30%;}

.slide-caption-bg {background: rgba(255, 255, 255, 0.6); padding: 20px 30px; border-radius: 10px; display: inline-block; max-width: 80%; color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.15); margin: 10px 0;}

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
		border-style: none;
	border-color: inherit;
	border-width: 0;
	display:block;
	width:30px;
	height:30px;
	text-indent:-9999px;
	opacity: 0;
	-webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;

}
.nivo-prevNav {
	left:0px;
	display: none;
	}

.nivo-nextNav {
	right:0px;
	display: none;
	}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
display: none;
}
.nivo-controlNav a {
position:relative;
z-index:99;
cursor:pointer;
display: none;}

.nivo-controlNav a.active {
font-weight:bold;
display: none;}


/* ===== TO RESIZE SLIDESHOW FOR MOBILE ===== */
/* ===== SMALL DEVICE 01 ===== */
@media screen and (max-width: 320px) {
   #slider {width: 96%; height: auto;}
	.nivo-caption {visibility:hidden;}
 	.nivo-caption h1 {font-size: 20px;}
}
/* =========================== */
/* ===== SMALL DEVICE 02 ===== */
/* =========================== */
@media screen and (min-width: 321px) and (max-width: 480px) {
    #slider {width: 96%; height: auto;}
	.nivo-caption {visibility:hidden;}
 	.nivo-caption h1 {font-size: 24px;}
}
/* =========================== */
/* ===== SMALL DEVICE 03 ===== */
/* =========================== */
@media screen and (min-width: 481px) and (max-width: 623px) {
    #slider {height: auto;}
	.nivo-caption {visibility:hidden;}
 	.nivo-caption h1 {font-size: 26px;}
}
/* =========================== */
/* ===== MID DEVICE 01 ======= */
/* =========================== */
@media screen and (min-width: 624px) and (max-width: 669px) {
    #slider {height: auto;}
	.nivo-caption1, .nivo-caption2, .nivo-caption3 {margin: 5% auto; font-size: 18px; text-align:center; width: 86%;}
 	.nivo-caption h1 {font-size: 26px;}
}
/* =========================== */
/* ===== MID DEVICE 02 ======= */
/* =========================== */
@media screen and (min-width: 670px) and (max-width: 768px) {
    #slider {height: auto;}
	.nivo-caption1, .nivo-caption2, .nivo-caption3 {margin: 5% auto; font-size: 18px; text-align:center; width: 80%;}
 	.nivo-caption h1 {font-size: 26px;}
}
/* =========================== */
/* ===== MID DEVICE 03 ======= */
/* =========================== */
@media screen and (min-width: 769px) and (max-width: 800px) {
    #slider {height: auto;}
	.nivo-caption1, .nivo-caption2, .nivo-caption3 {margin: 5% auto; font-size: 18px; text-align:center; width: 80%;}
 	.nivo-caption h1 {font-size: 26px;}
}
/* =========================== */
/* ===== LARGE DEVICE 01 ===== */
/* =========================== */
@media screen and (min-width: 801px) and (max-width: 1024px) {
    #slider {height: auto;}
	.nivo-caption1, .nivo-caption2, .nivo-caption3 {margin: 5% auto; text-align:center; width: 80%;}
 	.nivo-caption h1 {font-size: 26px;}
}
/* =========================== */
/* ===== LARGE DEVICE 02 ===== */
/* =========================== */
@media screen and (min-width: 1025px) and (max-width: 1279px) {
    #slider {height: auto;} 	 	
    .nivo-caption h1 {font-size: 26px;}
	.nivo-caption1, .nivo-caption2, .nivo-caption3 {font-size: 18px;}
    

}
