#nice-slider {
  position: relative;
  width: 100%;
  background: #fff;
  box-sizing: border-box;
  font-size: 0;
}
#nice-slider .slider-inner {
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
}
#nice-slider ul {
  position: relative;
  list-style: none;
  padding: 0;
  box-sizing: border-box;
}
#nice-slider li {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  font-size: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  box-sizing: border-box;
}
#nice-slider li.ns-show {
  opacity: 1;
}
#nice-slider .ns-img {
  background-color: rgba(255, 255, 255, 0.8);
  background-size: contain;
  border-radius: 4px;
  cursor: default;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
}
#nice-slider .caption {
  font-size: 36px;
  position: absolute;
  width: 100%;
  text-align: center;
  bottom: 20%;
  padding: 0 100px;
  box-sizing: border-box;
  text-shadow: 2px 2px 0 #495f8a, 2px -2px 0 #495f8a, -2px -2px 0 #495f8a,
    -2px 2px 0 #495f8a;
  text-transform: uppercase;
}
#nice-slider li.ns-show .caption {
  -webkit-animation: titleAnimation 8s linear both;
  animation: titleAnimation 8s linaer both;
}

#nice-slider li.sl-0 .caption {
  -webkit-animation: none;
  animation: none;
  display: none;
}
@keyframes titleAnimation {
  0% {
    opacity: 0;
    transform: translateX(2%);
    filter: blur(10px);
  }
  22% {
    opacity: 1;
    filter: blur(0);
  }
  50% {
    opacity: 1;
  }
  90% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-2%);
    filter: blur(10px);
  }
}
@-webkit-keyframes titleAnimation {
  0% {
    opacity: 0;
    -webkit-transform: translateX(2%);
    filter: blur(10px);
  }
  22% {
    opacity: 1;
    filter: blur(0);
  }
  50% {
    opacity: 1;
  }
  90% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(-2%);
    filter: blur(10px);
  }
}
