/*
 * jQuery Nivo Slider v3.1
 * 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 */


/* The Nivo Slider styles */

.nivoSlider {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  min-height: 160px;
  background: #e30000;
}

.nivoSlider img {
  position: absolute;
  top: 0px;
  left: 0px;
  display: none;
  z-index: 2 !important;
  min-height: 160px;
  min-width: 320px;
  max-height: 600px;
  object-fit: cover;
  object-position: center center;
  width: 85% !important;
  max-width: 85% !important;
}

#player {
  z-index: 2 !important;
  display: none;
}

.nivo-main-image {
  display: block !important;
  position: relative !important;
  width: 100% !important;
}

#playerContainer {
  background: #000;
}

.sliderIframe {
  display: block;
  width: 100%;
  height: 500px;
}

.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;
}

.nivo-slice {
  border-radius: 5px;
  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;
}

.nivo-caption {
  position: absolute;
  left: 0px;
  top: 0px;
  background: transparent;
  width: 100%;
  z-index: 8;
  opacity: 0.99;
  overflow: hidden;
  display: none;
  -moz-opacity: 0.8;
  filter: alpha(opacity=8);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
  color: white;
  letter-spacing: 0em;
}

.nivo-caption .centered {
  background: transparent;
  padding-right: 0%;
  margin: 0 auto;
  height: 100%;
  box-sizing: border-box;
}

.nivo-caption .bg {
  position: absolute;
  width: 100%;
  right: 0;
  height: 100%;
  opacity: 1;
  z-index: 6;
  display: none !important;
  /*background: url('/_local/images/sliderBg.png');
  background-position: right top;
  background-repeat: no-repeat;*/
}
div.sliderBg {
  position: relative;
  float: right;
  /*width: 100%;*/
  z-index: 6;
}

div.sliderBg img{
  position: relative;
  /*width: 100% !important;*/
  height: auto !important;
  display: block !important;
  bottom: 0;
}

.nivo-caption article {
  right: 0;
  bottom: 50px;
  padding: 50px 2%;
  width: 32%;
  max-width: 350px;
  position: absolute;
  z-index: 7;
  text-align: right;
  box-sizing: border-box;

}

.nivo-caption h3{
  font-size: 1.7rem;
  text-transform: uppercase;
  margin-top: 0;
  letter-spacing: 0.125rem;
  display: inline-block;
  border-bottom: 2px solid #fff;
  font-family: 'Orgon-Medium';
}

.nivo-caption .grey-button {
  background-color: #002a55;
  border-radius: 0px;
  color: #fff;
  border: 2px solid #002a55;
  display: inline-block;
  font-weight: normal;
  margin-top: 30px;
  padding: 9px 30px;
}

.grey-button:hover {
  color: #fff;
  background-color: #4C79A1;
  border-color: #4C79A1;
  transition: all 0.3s ease-in-out;
}

.nivo-caption p {
  padding: 0;
  margin: 0;
  font-size: 1.7rem;
  line-height: 2.1rem;
  letter-spacing: 0.025rem;
  font-family: 'Orgon-Regular';

}
.nivo-caption p span{
  display: block;
}
.nivo-caption img {
  margin-top: 3px;
  width: 75px;
}

.nivo-html-caption {
  display: none;
}

/* Direction nav */
.nivo-directionNav a {
  position: absolute;
  top: 20%;
  z-index: 10;
  opacity: 0.66;
  color: #efefef;
  cursor: pointer;
}

.nivo-nextNav {
  right: 0;
}

.nivo-prevNav,
.nivo-nextNav{
  position: absolute;
  width: 70px;
  height: 125px;
}

.nivo-prevNav {
  left: 20px;
}

.nivo-nextNav {
  right: 20px;
}

.nivo-prevNav::before,
.nivo-nextNav::before {
  position: absolute;
  font-family: 'FontAwesome';
  font-size: 70px;
  color: inherit;
  bottom: 20%;
}

.nivo-prevNav::before {
  content: '\f104';
  left: 0;
}

.nivo-nextNav::before {
  content: '\f105';
  right: 0;
}

.nivo-directionNav a:hover {
  color: #fff;
}


/* Control nav styles (e.g. 1,2,3...) */

.nivo-controlOuter {
  bottom: 6px;
  height: 50px;
  left: 10%;
  margin-left: -100px;
  margin-top: -60px;
  position: absolute;
  width: 200px;
  text-align: center;
  z-index: 9 !important;
}

.nivo-controlNav {
  position: relative;
  margin: auto;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  padding: 15px 0;
}

.nivo-controlNav a {
  cursor: pointer;
  display: inline-block;
  width: 14.66px;
  overflow: hidden;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 3px;
  line-height: 55px;
  margin-right: 9px;
  text-indent: -9999;
  background: transparent;
  box-shadow: 1px 2px 2px #000;
}

.nivo-controlNav a.active, .nivo-controlNav a:hover {
  opacity: 1;
  background: #fff;
}

.nivo-controlNav img {
  display: inline;
  /* Unhide the thumbnails */
  position: relative;
  margin-right: 10px;
  background: url(/_local/scripts/nivo-slider/themes/default/bullets.png) no-repeat;
  border: 1px solid #999;
}
.sliderButton{
  font-weight: normal;
  font-size: 18px;
  color: #fff;
  display: inline-block;
  background-color: #e30000;
  box-sizing: border-box;
  margin-top: 30px;
  padding: 10px 20px;
  text-decoration: none;
  border: 2px solid #fff;
  font-weight: 700;
  min-width: 195px;
  text-align: center;
  border-radius: 2px;
  font-family: 'Orgon-Regular';
}
.sliderButton:hover{
  color: #e30000;
  background-color: #fff;
  border: 2px solid #e30000;
}

@media only screen and (min-width: 2100px) and (max-width: 2299px) {
  .nivo-controlOuter {
    bottom: none;
    top: 795px;
  }
}
@media only screen and (min-width: 1700px) and (max-width: 2099px) {
  .nivo-controlOuter {
    bottom: none;
    top: 795px;
  }
}
@media only screen and (min-width: 1920px) {
  #slider{
    width: 1920px;
  }

}

@media only screen and (min-width: 1700px) {
  .nivoSlider img{
    margin: 0 auto;
  }
  .nivo-caption article{
    margin-right: -8% !important;
    padding-right: 0;
  }
  #slider{
    max-height: 600px;
  }
}

/*
@media only screen and (max-width: 1500px) {
  .nivo-caption article {
    padding: 30px 10px;
    letter-spacing: 0em;
  }
}*/

@media only screen and (max-width: 1500px){
  .nivo-caption article {
    padding: 30px 10px 0 30px;
    letter-spacing: 0em;
    right: -88px;
    top: 0;
    max-width: 275px;
  }
  .sliderBg{
    right: -265px !important;
  }

}
@media only screen and (max-width: 1280px){
  .nivo-caption article{
    right: -20px;
  }
}
@media only screen and (max-width: 1200px) {
  .nivo-caption .bg {
    width: 50%;
  }
  .nivo-caption article{
    max-width: 280px;
  }
}

@media screen and (max-width: 1150px){
  .nivo-caption article{
    right: 0;
  }
}
@media screen and (max-width: 1080px){
  .nivoSlider img{
    width: 100% !important;
    max-width: 100% !important;
  }
  .sliderButton {
    display: block;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
  }
  .nivo-controlOuter{
    display: none;
  }
  .nivo-caption .bg {
    width: 65%;
  }

  .nivo-caption article p {
    display: block;
  }
  .nivo-caption p span{
    display: inline;
  }
  .nivo-caption article p br {
    display: inline;
  }
  .nivo-caption article {
    position: relative;
    width: 97%;
    max-width: 100% !important;
    font-size: 90%;
    padding: 20px 1.5%;
    bottom: 0;
    text-align: center;
  }
  .nivo-caption .grey-button {
    margin-top: 20px;
    padding: 7px 30px 8px 30px;
  }
}
@media only screen and (max-width: 1050px) {
  #slider {
    min-height: 225px;
  }
  .nivo-caption .bg {
    width: 60%;
  }

}

@media only screen and (max-width: 870px) {

}

@media only screen and (max-width: 700px) {
  #slider {
    min-height: 180px;
  }
  .nivo-caption .bg {
    width: 100%;
  }

  .nivo-caption article {
    width: 95%;
    padding: 20px 3% 20px 2%;
  }
}

@media only screen and (max-width: 480px) {
  #slider, .nivoSlider {
    min-height: 0px;
  }

  .nivoSlider img {
    min-width: 0;
    min-height: 0;
    width: 100% !important;
  }
}

@media only screen and (max-width: 480px) {
  #slider, .nivoSlider {
    min-height: 0px;
  }
}

@media only screen and (max-width: 360px) {
  #slider, .nivoSlider {
    min-height: 0;
  }
  .nivoSlider img {
    min-width: 0;
    width: 100% !important;
  }
}
