/*
 * 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-wrapper { 
	width: 100%; 
	/*margin: 100px auto;*/
}
.nivo-caption {
  color: #FFFFFF;
  /*min-width: 550px;*/
  overflow: hidden;
  position: absolute;
  /*top: 180px;*/
  z-index: 8;
}

.nivo-html-caption {
  display:none;
}
 
/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
	width:100%;
	height:auto;
       /* height: 500px;*/
	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;
}

.nivoSlider h2 {
  text-transform: uppercase;
  /*line-height: 58px;*/
  text-align: center;
  color: #fff;
  font-weight: 700;
  text-shadow: none;
  padding: 5px 12px;
  display: block;
}
.nivoSlider h4 {
	text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
	margin-top: 0px;
  text-align: center;
  color: #fff;
  /*font-size: 22px;*/
  margin-bottom: 35px;
  font-weight: 100;
  text-shadow: none;
  line-height: 1.5;
  display: block;
}

/* 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;
	/* left:0px;
	bottom:0px;
	background:#000; width:100%;
	color:rgb(8, 0, 153); */
	color:#32333f;
	z-index:8;
	padding: 5px 10px;
	opacity: 1;
	overflow: hidden;
	display: none;
	-moz-opacity: 1;
	filter:alpha(opacity=1);
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */ 
        font-family: 'Roboto Slab', sans-serif;
        /* background:rgba(0,0,0,0.2); */
}
.nivo-caption h1, .nivo-caption h4{
      font-family: 'Roboto Slab', sans-serif;
}
.nivo-caption p {
	padding:5px;
	margin:0;
       font-family: 'Roboto Slab', sans-serif;
}
.nivo-caption a {
	display:inline !important;  font-family: 'Roboto Slab', sans-serif;
}
.nivo-html-caption {
    display:none; font-family: 'Roboto Slab', sans-serif;
}
/* 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: 15px 0;
}
.nivo-controlNav a {
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}
.nivo-controlNav img {
	display:inline; /* Unhide the thumbnails */
	position:relative;
	margin: 5px;
	opacity: 0.7;
}
.nivo-controlNav .active img,
.nivo-controlNav img:hover {
	opacity: 1;
}

@media screen and (max-width:480px){
      .nivo-caption {  left:6%; right:6%; bottom:-15px; width:85%; }
      .nivo-caption h2{  font-size:20px; }
      .nivo-caption h4{  font-size:13px; }
      .theme-default .nivo-controlNav {      position: absolute;  bottom: 2%;  height: 30px;  width: 100%;  left: 0;  top: 9.2%;  z-index: 1000; }
}

@media (min-width:481px) and (max-width:767px){
        .nivo-caption { left:6%; right:6%; bottom:50px;	width:85%;      font-family: 'Roboto Slab', sans-serif;      }
        .nivo-caption h2{    font-size:24px;}
        .nivo-caption h4{   font-size:15px;}
        .theme-default .nivo-controlNav {      position: absolute;  bottom: 2%;  height: 30px;  width: 100%;  left: 0;  top: 11.2%;  z-index: 1000; }
}

@media (min-width:769px) and (max-width:995px){
      .nivo-caption {  left:6%; right:6%; bottom:60px; 	width:90%; font-family: 'Roboto Slab', sans-serif;      }
      .nivo-caption h2{ font-size:32px; }
      .nivo-caption h4{   font-size:16px;}
      .theme-default .nivo-controlNav {      position: absolute;  bottom: 2%;  height: 30px;  width: 100%;  left: 0;  top: 20%;  z-index: 1000; }
}
@media (min-width:996px) and (max-width:1599px){ 
     .nivo-caption {left:24%; right:6%;	bottom:120px;	width:53%; 	font-family: 'Roboto Slab', sans-serif;}
      
}
@media (min-width:996px){    
    .nivo-caption h2{  font-size:36px; }
    .nivo-caption h4{   font-size:20px;}
    .theme-default .nivo-controlNav {      position: absolute;  bottom: 2%;  height: 30px;  width: 100%;  left: 0;  top: 26%;  z-index: 1000; }
}
@media (min-width:1600px){
    .nivo-caption { left:6%; right:6%;	bottom:300px; width:53%;font-family: 'Roboto Slab', sans-serif;}
    
}