/*
 * jQuery Nivo Slider v2.5.1
 * http://nivo.dev7studios.com
 *
 * Copyright 2011, Gilbert Pellegrom
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 * 
 * March 2010
 */
  

/* The Nivo Slider styles */
.nivoSlider {
    position:relative;
    height:600px;
}
.nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
}
/* 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;
}
/* The slices and boxes in the Slider */
.nivo-slice {
    display:block;
    position:absolute;
    z-index:5;
    height:100%;
}
.nivo-box {
    display:block;
    position:absolute;
    z-index:5;
}
/* Caption styles */
.nivo-caption {
    position:absolute;
    left:0px;
    bottom:0px;
    background:#000;
    color:#fff;
    opacity:0.8; /* Overridden by captionOpacity setting */
    width:100%;
    z-index:8;
}
.nivo-caption p {
    padding:5px;
    margin:0;
}
.nivo-caption a {
    display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* 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 a {
    position:relative;
    z-index:9;
    cursor:pointer;
}
.nivo-controlNav a.active {
    font-weight:bold;
}
 
/*============================*/
/*=== Custom Slider Styles ===*/
/*============================*/
#nivo-slider-wrapper {
  display: block;
  height: 600px;
  width: 100%;
  overflow:hidden;
}
 .nivo-caption {
display: none !important;
}


 
#slider {
    position:relative;
    background:url(images/loading.gif) no-repeat 50% 50%;
}
#slider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
}
#slider a {
    border:0;
    display:block;
}
 
.nivo-controlNav {
    position:absolute;
    left:260px;
    bottom:-42px;
}
.nivo-controlNav a {
    display:block;
    width:22px;
    height:22px;
    background:url(images/bullets.png) no-repeat;
    text-indent:-9999px;
    border:0;
    margin-right:3px;
    float:left;
}
.nivo-controlNav a.active {
    background-position:0 -22px;
}
 
.nivo-directionNav a {
    display:block;
    width:30px;
    height:30px;
    background:url(images/arrows.png) no-repeat;
    text-indent:-9999px;
    border:0;
}
a.nivo-nextNav {
    background-position:-30px 0;
    right:15px;
}
a.nivo-prevNav {
    left:15px;
}
 
.nivo-caption {
    text-shadow:none;
    font-family: Helvetica, Arial, sans-serif;
}
.nivo-caption a { 
    color:#efe9d1;
    text-decoration:underline;
}

.nivoSlider img{width:100% !important; height:auto!important;} 
.nivo-main-image{width:100% !important; height:auto!important;}
 
/*====================*/
/*=== Other Styles ===*/
/*====================*/

.clear {
    clear:both;
}

/*RESPONSIVE*/

@media (max-width: 479px) {
#nivo-slider-wrapper {
  display: block;
  height: 500px;
  width: 100%;
}

.nivoSlider img {
  height: 100% !important;
  width: auto !important;
  margin-left: -240%; /*magic!*/
}
}

@media (min-width: 480px) and (max-width: 599px) {
#nivo-slider-wrapper
{
  display: block;
  height: 500x;
  width: 100%;
}
.nivoSlider img {
  height: 100% !important;
  width: auto !important;
  margin-left: -210%; /*magic!*/
}
}

@media (min-width: 600px) and (max-width: 767px) {
#nivo-slider-wrapper
{
  display: block;
  height: 450x;
  width: 100%;
}
.nivoSlider img {
  height: 100% !important;
  width: auto !important;
  margin-left: -180%; /*magic!*/
}
}

@media (min-width: 768px) and (max-width: 991px) {
#nivo-slider-wrapper {
  display: block;
  height: 500px;
  width: 100%;
}
.nivoSlider img {
  height: 100% !important;
  width: auto !important;
  margin-left: -90%; /*magic!*/
}
}

@media (min-width: 992px) and (max-width: 1199px) {
#nivo-slider-wrapper {
  display: block;
  height: 500px;
  width: 100%;
}
.nivoSlider img {
  height: 100% !important;
  width: auto !important;
}
}

@media (min-width: 1200px) and (max-width: 1499px) {
#nivo-slider-wrapper {
  display: block;
  height: 375px;
  width: 100%;
}
.nivoSlider img {
  height: auto !important;
  width: 100% !important;
}
}

@media (min-width: 1500px) and (max-width: 1699px) {
#nivo-slider-wrapper {
  display: block;
  height: 420px;
  width: 100%;
}
.nivoSlider img {
  height: auto !important;
  width: 100% !important;
}
}

@media (min-width: 1700px) and (max-width: 1919px) {
#nivo-slider-wrapper {
  display: block;
  height: 520px;
  width: 100%;
}
.nivoSlider img {
  height: auto !important;
  width: 100% !important;
}
}

@media (min-width: 1920px) and (max-width: 2799px) {
#nivo-slider-wrapper {
  display: block;
  height: 600px;
  width: 100%;
}
.nivoSlider img {
  height: auto !important;
  width: 100% !important;
}
}

@media (min-width: 2800px) {
#nivo-slider-wrapper {
  display: block;
  height: 605px;
  width: 100%;
}
.nivoSlider img {
  height: auto !important;
  width: 100% !important;
}
}
