/*
 * 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: auto;
	max-height: 700px;
}
.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;
}

.nivoSliderx25 {
	position: relative;
    float: left;
	z-index: 20;
	width: 100%;
	height: auto;
	overflow: hidden;
}
.nivoSliderx25 img {
	position: absolute;
	top: 0;
	left: 0;
	max-width: none;
}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
}

.nivo-caption p {padding: 0; margin: 0;}

/* ---------- 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: block;
	box-sizing: border-box;
}
.nivo-caption p {
	padding: 0; margin: 0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-caption1, .nivo-caption2, .nivo-caption3 {
	margin: 15% 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-caption1x, .nivo-caption2x, .nivo-caption3x {
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
box-sizing: border-box;
position: absolute;
margin-top: 1%;
margin-left: 1%;
z-index: 2;
  color: black;
  font-family: sans-serif;
  line-height: 1.2;
  padding: 0.7rem 1.5rem;
	margin: 25% 25% 0 25%;
	max-width: 50%;
	width: 30%;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.4);

  /* background-color: rgba(0, 0, 0, 0.7); */
	border-radius: 10px;



  a {
    color: black;
  }
   -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);

}

.nivo-caption1x25, .nivo-caption2x25, .nivo-caption3x25 {
text-align: left;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
box-sizing: border-box;
position: absolute;
margin-top: 1%;
margin-left: 1%;
z-index: 2;


   background-color: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  color: silver;
  font-family: sans-serif;
  line-height: 1.5;
  max-width: 50%;
  padding: 0.7rem 1.5rem;
  a {
    color: silver;
  }
   -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);

}
.nivo-caption1x p:last-of-type, .nivo-caption2x p:last-of-type, .nivo-caption3x p:last-of-type,
.nivo-caption1x25 p:last-of-type, .nivo-caption2x25 p:last-of-type, .nivo-caption3x25 p:last-of-type {
   font-size: 1.4vw; margin: 0; padding: 5px 0 0 0; font-family: 'Open Sans', Verdana, Helvetica, sans-serif; line-height: 1.2em;
}
/* ---------- New Caption styles ---------- */
.nivo-captionx {
	position: absolute;
	top: 0;
	left: 0;
	font-family: Georgia, Times, 'Times New Roman', serif;;
	font-size: 42px;
	color: #000000; /*caption text color*/
	letter-spacing: 1px;
	line-height: 1.3em;
	text-align: left;
	width: 100%;
	z-index: 8;
	padding: 0;
	overflow: hidden;
	display: none;
	box-sizing: border-box;
}
.nivo-captionxx p {
	padding: 0; margin: 0;
}
.nivo-captionx a {
	display:inline !important;
}
.nivo-html-captionx {
	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, .nivo-captionx {font-size: 2.5vw}
   .nivo-caption1, .nivo-caption2, .nivo-caption3, .nivo-caption1x, .nivo-caption2x, .nivo-caption3x  {margin: 10% 0;}
}
/* =========================== */
/* ===== SMALL DEVICE 02 ===== */
@media screen and (min-width: 321px) and (max-width: 480px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption, .nivo-captionx {font-size: 2.5vw;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3 ,
.nivo-caption1x, .nivo-caption2x, .nivo-caption3x, .nivo-caption1x25,.nivo-caption2x25, .nivo-caption3x25  {margin: 10% 0;}
}
/* =========================== */
/* ===== SMALL DEVICE 03 ===== */
@media screen and (min-width: 481px) and (max-width: 623px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption, .nivo-captionx {font-size: 2.5vw;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3, .nivo-caption1x, .nivo-caption2x, .nivo-caption3x {margin: 10% 0;}

}
/* =========================== */
/* ===== MID DEVICE 01 ======= */
@media screen and (min-width: 624px) and (max-width: 669px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption, .nivo-captionx {font-size: 2.5vw;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3, .nivo-caption1x, .nivo-caption2x, .nivo-caption3x {margin: 10% 0;}

}
/* =========================== */
/* ===== MID DEVICE 02 ======= */
@media screen and (min-width: 670px) and (max-width: 768px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption, .nivo-captionx {font-size: 2.5vw;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3, .nivo-caption1x, .nivo-caption2x, .nivo-caption3x  {margin: 10% 0;}
}
/* =========================== */
/* ===== MID DEVICE 03 ======= */
@media screen and (min-width: 769px) and (max-width: 800px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption, .nivo-captionx {font-size: 2.5vw;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3, .nivo-caption1x, .nivo-caption2x, .nivo-caption3x {margin: 10% 0;}
}
/* =========================== */
/* ===== LARGE DEVICE 01 ===== */
@media screen and (min-width: 801px) and (max-width: 1024px) {
    #slider {width: 100%; height: auto;}
	.nivo-caption, .nivo-captionx {font-size: 2.5vw;}
   .nivo-caption1, .nivo-caption2, .nivo-caption3, .nivo-caption1x, .nivo-caption2x, .nivo-caption3x  {margin: 10% 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, .nivo-caption1x, .nivo-caption2x, .nivo-caption3x  {margin: 10% 0;}
}
