/*
 * 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 */
.nivoSlider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.nivoSlider img {
  position: absolute;
  top: 0px;
  left: 0px;
  max-width: none;
  height: 100vh !important;
}

.nivo-main-image {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 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;
  left: 0px;
  bottom: 0px;
  color: #fff;
  width: 100%;
  z-index: 8;
  padding: 5px 10px;
  opacity: 0.8;
  overflow: hidden;
  display: none;
  -moz-opacity: 0.8;
  filter: alpha(opacity=8);
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */
  box-sizing: border-box;
  /* Opera/IE 8+ */
}

/* .nivo-caption .container {
  padding: 0 80px 40px;
  width: 100%;
} */

.nivo-caption p {
  padding: 5px;
  margin: 0;
}

/* .nivo-caption a {
  display: block !important;
  height: 100%;
} */

.nivo-html-caption {
  display: none;
}

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
  cursor: pointer;
  margin-top: -25px;
  position: absolute;
  top: 50%;
  z-index: 9;
}

.nivo-prevNav {
  left: 0px;
}

.nivo-nextNav {
  right: 0px;
}

/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
  text-align: right;
  padding: 0 0 3px;
}

.nivo-controlNav a {
  cursor: pointer;
}

.nivo-controlNav a.active {
  font-weight: bold;
}

/* ------------------------------
Default Theme
---------------------------------*/
.slider-direction {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: none;
  color: #fff;
  font-size: 16px;
  z-index: 999;
  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;
  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;
}

.nivo-main-image {
  display: block !important;
  position: relative !important;
  width: 100% !important;
}

/* 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;
}

@-webkit-keyframes myfirst {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes myfirst {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.slider-progress.pos_hover {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

/* ------------------------------
custom slider
---------------------------------*/
.slider-progress {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(49, 56, 72, 0.298);
  height: 5px;
  -webkit-animation: myfirst 5000ms ease-in-out;
  -moz-animation: myfirst 5000ms ease-in-out;
  -ms-animation: myfirst 5000ms ease-in-out;
  animation: myfirst 5000ms ease-in-out;
}

.s-tb {
  display: table;
  height: 100%;
  width: 100%;
  float: left;
}

.s-tb-c {
  display: table-cell;
  vertical-align: middle;
}

.t-cn {
  text-align: center
}

.t-lft {
  text-align: left
}

.t-lfr {
  text-align: right
}

/* ------------------------------
slider animation
---------------------------------*/
/* -------------- Home 1  ---------------- */
.home1 .slider-1 h1 {
  -webkit-animation: bounceInUp 1000ms ease-in-out;
  -moz-animation: bounceInUp 1000ms ease-in-out;
  -ms-animation: bounceInUp 1000ms ease-in-out;
  animation: bounceInUp 1000ms ease-in-out;
}

.home1 .slider-1 h2 {
  -webkit-animation: fadeInRight 1500ms ease-in-out;
  -moz-animation: fadeInRight 1500ms ease-in-out;
  -ms-animation: fadeInRight 1500ms ease-in-out;
  animation: fadeInRight 1500ms ease-in-out;
}

.home1 .slider-2 h1 {
  -webkit-animation: fadeInLeft 500ms ease-in-out;
  -moz-animation: fadeInLeft 500ms ease-in-out;
  -ms-animation: fadeInLeft 500ms ease-in-out;
  animation: fadeInLeft 500ms ease-in-out;
}

.home1 .slider-2 h3 {
  -webkit-animation: fadeInLeft 1500ms ease-in-out;
  -moz-animation: fadeInLeft 1500ms ease-in-out;
  -ms-animation: fadeInLeft 1500ms ease-in-out;
  animation: fadeInLeft 1500ms ease-in-out;
}

/* -------------- Home 2  ---------------- */
.home2 .slider-2 h1 {
  -webkit-animation: fadeInLeft 500ms ease-in-out;
  -moz-animation: fadeInLeft 500ms ease-in-out;
  -ms-animation: fadeInLeft 500ms ease-in-out;
  animation: fadeInLeft 500ms ease-in-out;
}

.home2 .slider-2 h3 {
  -webkit-animation: fadeInLeft 1500ms ease-in-out;
  -moz-animation: fadeInLeft 1500ms ease-in-out;
  -ms-animation: fadeInLeft 1500ms ease-in-out;
  animation: fadeInLeft 1500ms ease-in-out;
}

.home2 .layer-1 {
  -webkit-animation: fadeInLeft 1500ms ease-in-out;
  -moz-animation: fadeInLeft 1500ms ease-in-out;
  -ms-animation: fadeInLeft 1500ms ease-in-out;
  animation: fadeInLeft 1500ms ease-in-out;
}

.home2 .layer-2 {
  -webkit-animation: bounceInUp 1000ms ease-in-out;
  -moz-animation: bounceInUp 1000ms ease-in-out;
  -ms-animation: bounceInUp 1000ms ease-in-out;
  animation: bounceInUp 1000ms ease-in-out;
}

.home2 .layer-3 {
  -webkit-animation: fadeInRight 1500ms ease-in-out;
  -moz-animation: fadeInRight 1500ms ease-in-out;
  -ms-animation: fadeInRight 1500ms ease-in-out;
  animation: fadeInRight 1500ms ease-in-out;
}

.home2 .layer-1-1 {
  -webkit-animation: fadeInRight 1500ms ease-in-out;
  -moz-animation: fadeInRight 1500ms ease-in-out;
  -ms-animation: fadeInRight 1500ms ease-in-out;
  animation: fadeInRight 1500ms ease-in-out;
}

/* -------------- Home 3  ---------------- */
.home3 .slider-1 h1 {
  -webkit-animation: fadeInLeft 500ms ease-in-out;
  -moz-animation: fadeInLeft 500ms ease-in-out;
  -ms-animation: fadeInLeft 500ms ease-in-out;
  animation: fadeInLeft 500ms ease-in-out;
}

.home3 .slider-1 h3 {
  -webkit-animation: fadeInLeft 1500ms ease-in-out;
  -moz-animation: fadeInLeft 1500ms ease-in-out;
  -ms-animation: fadeInLeft 1500ms ease-in-out;
  animation: fadeInLeft 1500ms ease-in-out;
}

.home3 .slider-2 h1 {
  -webkit-animation: bounceInUp 1000ms ease-in-out;
  -moz-animation: bounceInUp 1000ms ease-in-out;
  -ms-animation: bounceInUp 1000ms ease-in-out;
  animation: bounceInUp 1000ms ease-in-out;
}

.home3 .slider-2 h3 {
  -webkit-animation: fadeInLeft 1500ms ease-in-out;
  -moz-animation: fadeInLeft 1500ms ease-in-out;
  -ms-animation: fadeInLeft 1500ms ease-in-out;
  animation: fadeInLeft 1500ms ease-in-out;
}

.home3 .slider-3 h1 {
  -webkit-animation: fadeInRight 500ms ease-in-out;
  -moz-animation: fadeInRight 500ms ease-in-out;
  -ms-animation: fadeInRight 500ms ease-in-out;
  animation: fadeInRight 500ms ease-in-out;
}

.home3 .slider-3 h3 {
  -webkit-animation: fadeInRight 1500ms ease-in-out;
  -moz-animation: fadeInRight 1500ms ease-in-out;
  -ms-animation: fadeInRight 1500ms ease-in-out;
  animation: fadeInRight 1500ms ease-in-out;
}

/*
Skin Name: Nivo Slider Default Theme
Skin URI: http://nivo.dev7studios.com
Description: The default skin for the Nivo Slider.
Version: 1.3
Author: Gilbert Pellegrom
Author URI: http://dev7studios.com
Supports Thumbs: true
*/
/* -------------------------------------
preview-1 
---------------------------------------- */
.preview-1 .nivoSlider {
  position: relative;
  background: url(loading.gif) no-repeat 50% 50%;
}

.preview-1 .nivoSlider img {
  position: absolute;
  top: 0px;
  left: 0px;
  display: none;
}

.preview-1 .nivoSlider a {
  border: 0;
  display: block;
}

.preview-1 .nivo-controlNav {
  text-align: center;
  /* padding: 20px 0; */
}

.preview-1 .nivo-controlNav a {
  /* display: inline-block;
  width: 22px;
  height: 22px;
  background: url(bullets.png) no-repeat;
  text-indent: -9999px;
  border: 0;
  margin: 0 2px; */
}

.preview-1 .nivo-controlNav a.active {
  /* background-position: 0 -22px; */
}

.preview-1 .nivo-directionNav a {
  /* display: block;
  width: 30px;
  height: 30px;
  background: url(arrows.png) no-repeat;
  text-indent: -9999px;
  border: 0;
  opacity: 0;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out; */
}

.preview-1:hover .nivo-directionNav a {
  opacity: 1;
}

.preview-1 a.nivo-nextNav {
  background-position: -30px 0;
  right: 15px;
}

.preview-1 a.nivo-prevNav {
  left: 15px;
}

.preview-1 .nivo-caption {
  font-family: Helvetica, Arial, sans-serif;
}

.preview-1 .nivo-caption a {
  color: #fff;
  border-bottom: 1px dotted #fff;
}

.preview-1 .nivo-caption a:hover {
  color: #fff;
}

.preview-1 .nivo-controlNav.nivo-thumbs-enabled {
  width: 100%;
}

.preview-1 .nivo-controlNav.nivo-thumbs-enabled a {
  width: auto;
  height: auto;
  background: none;
  margin-bottom: 5px;
}

.preview-1 .nivo-controlNav.nivo-thumbs-enabled img {
  display: block;
  width: 120px;
  height: auto;
}

.preview-1 .nivo-controlNav {
  position: relative;
  z-index: 99999;
  bottom: 68px;
}

.preview-1 .nivo-controlNav a {
  /* border: 5px solid #fff;
  display: inline-block;
  height: 18px;
  margin: 0 5px;
  text-indent: -9999px;
  width: 18px;
  line-height: 8px;
  background: #3c3c3c;
  cursor: pointer;
  position: relative;
  z-index: 9;
  border-radius: 100%;
  opacity: 0;
  z-index: -999; */
}

.preview-1:hover .nivo-controlNav a {
  opacity: 1;
  z-index: 999999;
}

.preview-1 .nivo-controlNav a:hover,
.preview-1 .nivo-controlNav a.active {
  /* background: #000;
  cursor: pointer; */
}

/* -------------------------------------
preview-2
---------------------------------------- */
.preview-2 .nivoSlider:hover .nivo-directionNav a.nivo-prevNav {
  left: 130px;
}

.preview-2 .nivoSlider:hover .nivo-directionNav a.nivo-nextNav {
  right: 130px;
}

.preview-2 .nivoSlider .nivo-directionNav a.nivo-prevNav {
  font-size: 0;
}

.preview-2 .nivoSlider .nivo-directionNav a.nivo-nextNav {
  font-size: 0;
}

.preview-2 .nivo-directionNav a.nivo-prevNav:hover:before {
  border-color: #ff8787;
  color: #ff8787;
}

.preview-2 .nivo-directionNav a.nivo-prevNav::before {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  color: #ffffff;
  content: "";
  cursor: pointer;
  font: 300 50px/50px FontAwesome;
  position: absolute;
  text-align: center;
  top: 50%;
  transition: all 300ms ease-in 0s;
  z-index: 9;
  font-size: 50px;
  font-weight: 100;
  left: -35px;
}

.preview-2 .nivo-directionNav a.nivo-nextNav:hover:before {
  border-color: #ff8787;
  color: #ff8787;
}

.preview-2 .nivo-directionNav a.nivo-nextNav:before {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  color: #ffffff;
  content: "\f105";
  cursor: pointer;
  font: 400 25px/50px FontAwesome;
  position: absolute;
  text-align: center;
  top: 50%;
  transition: all 300ms ease-in 0s;
  z-index: 9;
  font-size: 50px;
  font-weight: 100;
  right: -35px;
}

.niceties.preview-2 {
  position: relative;
  height: auto;
  overflow: hidden;
}


.slider-area {
  color: #fff;
  position: relative;
  /*text-align: center;*/
  overflow: hidden;
  z-index: 1;
}

.slider-area .zst {
  float: left;
  position: absolute;
  padding: 0 18px;
  height: 0;
  line-height: 30px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  border-left: 24px solid transparent;
  border-bottom: 30px solid #fff;
  bottom: 0;
  right: 0;
  width: 90%;
  z-index: 100;
}

.slider-content {
  padding: 28% 0 0 30px;
}

/*.nivo-caption::after {
  background: #444 none repeat scroll 0 0;
  content: "";
  height: 100%;
  left: 0;
  opacity: 0.5;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}*/
.layer-1-2 {
  margin: 8px 0 0 0;
}

.layer-1-1 h2 {
  color: #bcbcbc;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 34px;
  margin: 0;
  text-shadow: 1px 0px 1px #222;
}

.layer-1-1 h2 img {
  display: inline-block;
  margin-right: 10px;
  margin-top: -3px;
  position: inherit;
}

.layer-1-2 h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 1px 0px 1px #222;
  text-align: right;
}

.layer-1-3 {
  margin: 8px 0 0;
}

.layer-1-3 h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
  margin: 0;
  text-shadow: 1px 2px 1px #000;
  text-align: right;
  padding-left: 42%;
  line-height: 1.8;
  overflow: hidden;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  max-height: 56px;
}

.layer-1-3 a.ready-btn {
  border: 1px solid #fff;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  margin-top: 30px;
  padding: 12px 14px;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.4s ease 0s;
  z-index: 222;
}

.layer-1-3 a.ready-btn:hover {
  color: #fff;
  background: #f3652a;
  border: 1px solid #f3652a;
  text-decoration: none;
}

.nivo-controlNav {
  bottom: 67px;
  position: absolute;
  right: 80px;
  z-index: 9;
}

.nivo-directionNav {
  display: block;
}

.nivo-controlNav a {
  /* box-shadow: none;
  display: inline-block;
  font-size: 0;
  width: 34px;
  height: 34px;
  margin: 0 5px;
  opacity: 1;
  text-align: center;
  text-indent: inherit;
  vertical-align: top;
  border-radius: 20px;
  background: url(xisha-dot01.png) no-repeat center; */
}

.nivo-controlNav a:hover,
.nivo-controlNav a.active {
  /* background: url(xisha-dot02.png) no-repeat center; */
  -moz-transition: all .5s;
  /* Firefox */
  -ms-transition: all .5s;
  /* IE 9 */
  -o-transition: all .5s;
  /* Opera */
  transition: all .5s;
}

.em_slider_inner {
  margin: auto;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  z-index: 200;
}

.em-slider-sub-title {
  font-size: 30px;
  color: #fff;
  position: relative;
  float: left;
  width: 79%;
  margin: 0;
  padding-left: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.em-slider-sub-title::after {
  content: "";
  width: 5px;
  height: 28px;
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 4px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

@media (max-width: 1920px) {
  /* .nivo-caption .container {
    padding-bottom: 10px;
  } */

  .nivo-controlNav {
    bottom: 37px;
  }
}

@media (max-width: 1366px) {
  .nivo-controlNav {
    /* right: 50px; */
  }

  /* .nivo-caption .container {
    padding: 0 50px 10px;
  } */
}

@media (max-width: 1280px) {}

@media (max-width: 1199px) {
  .em-slider-sub-title {
    font-size: 24px;
    width: 72%;
    padding-left: 20px;
  }

  .em-slider-sub-title::after {
    height: 23px;
  }

  .nivo-controlNav {
    /* bottom: 34px; */
  }

  .nivoSlider,
  .nivoSlider img {
    /* height: 50.3125vw !important; */
  }
}

@media (max-width: 991px) {
  .em-slider-sub-title {
    font-size: 18px;
  }

  .em-slider-sub-title::after {
    height: 17px;
    top: 2px;
  }

  /* .nivo-controlNav {
    right: 30px;
    bottom: 14px;
  } */

  /* .nivo-caption .container {
    padding: 0 30px 10px;
  } */

  .em_slider_inner {
    /* bottom: 12px; */
  }
}

@media (max-width: 767px) {
  /* .nivo-controlNav {
    bottom: 21vw;
    padding: 13px 15px;
    text-align: center;
  } */

  .slider-area .zst {
    border-left: 12px solid transparent;
    border-bottom: 16px solid #fff;
  }

  .nivo-controlNav {
    display: none;
  }

  .nivoSlider {
    height: 36vw;
    overflow: inherit;
  }

  .em-slider-sub-title {
    font-size: 16px;
    line-height: 1.3;
    white-space: inherit;
    max-height: 42px;
    width: 100%;
    text-shadow: none;
    padding-left: 13px;
    font-weight: 500;
    overflow: hidden;
  }

  .em-slider-sub-title:after {
    height: 15px;
  }

  .nivo-caption {
    overflow: inherit;
    background-size: 100% 60%;
    height: 78%;
  }

  /* .nivo-caption .container {
    padding: 0 15px 10px;
  } */

  .em_slider_inner {
    /* bottom: 0; */
  }
}