.scroll-down {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 240px;
  z-index: 5;
}

.scroll-down .label {
  display: block;
  letter-spacing: .1em;
  font-size: 0.875rem;
  position: relative;
  padding-bottom: calc(100px + 1rem);
}

.scroll-down .label .line {
  display: block;
  width: 3px;
  height: 100px;
  position: absolute;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.scroll-down .label .line:before {
  height: 100%;
  background: #fff;
  opacity: .3;
  left: 0;
  top: 0;
  bottom: 0;
  content: '';
  position: absolute;
  width: 1px;
}

.scroll-down .label .line:after {
  background: #fff;
  left: 0;
  top: 0;
  content: '';
  position: absolute;
  width: 2px;
  -webkit-animation: scroll-down-line 3s infinite;
  -o-animation: scroll-down-line 3s infinite;
  animation: scroll-down-line 3s infinite;
}

.home-slider {
  height: 100vh;
  width: 100%;
  min-height: 840px;
}

.home-slider .slide {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
}

.home-slider .slide.current {
  z-index: 1;
}

.home-slider .slide .home-slider-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  width: 100%;
}

.home-slider .slide .slide-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 240px;
}

.home-slider .slide .bg {
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  bottom: -10%;
}

.home-slider .slide .bg.video {
  transition:none !important;
}

.home-slider .slide .bg video {
  position:absolute;
  top:50%;
  left:50%;
  width:auto;
  height:auto;
  min-width:100%;
  min-height:100%;
  transform:translate(-50%, -50%);
}

.home-slider .slide .bg:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.home-slider .slide .bg .back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background: 50% 50% no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}

.home-slider .slide.active {
  opacity: 1;
  visibility: visible;
}

.home-slider .slide.active .bg {
  -webkit-transition: -webkit-transform 15000ms cubic-bezier(0.23, 1, 0.32, 1);
  -moz-transition: -moz-transform 15000ms cubic-bezier(0.23, 1, 0.32, 1);
  -ms-transition: -ms-transform 15000ms cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition: -o-transform 15000ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: transform 15000ms cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-transform: translateY(-15%);
  -moz-transform: translateY(-15%);
  -ms-transform: translateY(-15%);
  -o-transform: translateY(-15%);
  transform: translateY(-15%);
}

html.Safari .home-slider .slide.out,
.home-slider .slide.out {
  -webkit-clip-path: none;
  clip-path: none;
  width: 0;
  -webkit-transition: width 1200ms cubic-bezier(0.23, 1, 0.32, 1);
  -moz-transition: width 1200ms cubic-bezier(0.23, 1, 0.32, 1);
  -ms-transition: width 1200ms cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition: width 1200ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: width 1200ms cubic-bezier(0.23, 1, 0.32, 1);
}

html.Safari .home-slider[data-swipe="swiperight"] .slide,
.home-slider[data-swipe="swiperight"] .slide {
  left: auto;
  right: 0;
}

html.Safari .home-slider[data-swipe="swipeleft"] .slide,
.home-slider[data-swipe="swipeleft"] .slide {
  left: 0;
  right: auto;
}

html.Safari .home-slider[data-swipe="swiperight"] .slide .home-slider-item,
.home-slider[data-swipe="swiperight"] .slide .home-slider-item {
  left: auto;
  right: 0;
}

html.Safari .home-slider[data-swipe="swipeleft"] .slide .home-slider-item,
.home-slider[data-swipe="swipeleft"] .slide .home-slider-item {
  left: 0;
  right: auto;
}

html.Safari .home-slider .slide .home-slider-item,
.home-slider .slide .home-slider-item {
  width: 100vw;
}

.cssclippathpolygon .home-slider .slide.out-start {
  -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 150%);
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 150%);
  height: 100%;
  width: 100%;
}

.cssclippathpolygon .home-slider .slide.out {
  -webkit-clip-path: polygon(0% -150%, 100% -150%, 100% -20%, 0% 0%);
  clip-path: polygon(0% -150%, 100% -150%, 100% -20%, 0% 0%);
  height: 100%;
  width: 100%;
  -webkit-transition: -webkit-clip-path 1400ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: clip-path 1400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.cssclippathpolygon .home-slider .slide .home-slider-item {
  width: 100%;
}

.home-slider-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
}

.home-slider-content .home-slider-desc h1 {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 80px;
  margin-left: -.05em;
  max-width: 80vw;
}

.home-slider-content .home-slider-desc h1,
.home-slider-content .home-slider-desc .indices {
  -webkit-transform: translateX(-50px);
  -moz-transform: translateX(-50px);
  -ms-transform: translateX(-50px);
  -o-transform: translateX(-50px);
  transform: translateX(-50px);
  opacity: 0;
}

.home-slider-content .home-slider-desc .indices {
  margin-top: 3.125rem;
  font-size: 0;
}

.home-slider-content .home-slider-desc .indices a {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #fff;
  margin-right: 1.25rem;
}

.home-slider-content .home-slider-desc .indices a.active {
  background: #007acd;
}

.home-slider-content .home-slider-desc .indices a:last-child {
  margin-right: 0;
}

.home-slider-content .home-slider-desc .indices a.btn-pause {
  width: .5rem;
  background-color: transparent;
  position: relative;
}

.home-slider-content .home-slider-desc .indices a.btn-pause:before, .home-slider-content .home-slider-desc .indices a.btn-pause:after {
  position: absolute;
  width: 2px;
  background-color: #fff;
  height: 100%;
  content: '';
  display: block;
  top: 0;
  -webkit-transition: all 200ms ease-out;
  -moz-transition: all 200ms ease-out;
  -ms-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
}

.home-slider-content .home-slider-desc .indices a.btn-pause:after {
  right: 0;
}

.home-slider-content .home-slider-desc .indices a.btn-pause.play {
  width: .75rem;
}

.home-slider-content .home-slider-desc .indices a.btn-pause.play:before {
  border-top: 0.375rem solid transparent;
  border-left: 0.6rem solid #fff;
  border-bottom: 0.375rem solid transparent;
  background: transparent;
  width: 0;
  height: 0;
}

.home-slider-content .home-slider-desc .indices a.btn-pause.play:after {
  height: 0;
  width: 0;
  opacity: 0;
}

.home-slider .slide.active .home-slider-desc h1,
.home-slider .slide.active .home-slider-desc .indices {
  -webkit-transition: -webkit-transform 1600ms cubic-bezier(0.23, 1, 0.32, 1), opacity 1600ms ease-out;
  -moz-transition: -moz-transform 1600ms cubic-bezier(0.23, 1, 0.32, 1), opacity 1600ms ease-out;
  -ms-transition: -ms-transform 1600ms cubic-bezier(0.23, 1, 0.32, 1), opacity 1600ms ease-out;
  -o-transition: -o-transform 1600ms cubic-bezier(0.23, 1, 0.32, 1), opacity 1600ms ease-out;
  transition: transform 1600ms cubic-bezier(0.23, 1, 0.32, 1), opacity 1600ms ease-out;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
  -webkit-transition-delay: 600ms;
  -moz-transition-delay: 600ms;
  -ms-transition-delay: 600ms;
  -o-transition-delay: 600ms;
  transition-delay: 600ms;
}

.home-slider .slide.active .home-slider-desc .indices {
  -webkit-transition-delay: 800ms;
  -moz-transition-delay: 800ms;
  -ms-transition-delay: 800ms;
  -o-transition-delay: 800ms;
  transition-delay: 800ms;
}

.home-slider .slide.out .home-slider-desc h1,
.home-slider .slide.out .home-slider-desc .indices, .home-slider .slide.active.out .home-slider-desc h1,
.home-slider .slide.active.out .home-slider-desc .indices {
  -webkit-transition: -webkit-transform 1000ms cubic-bezier(0.23, 1, 0.32, 1), opacity 1000ms ease-out;
  -moz-transition: -moz-transform 1000ms cubic-bezier(0.23, 1, 0.32, 1), opacity 1000ms ease-out;
  -ms-transition: -ms-transform 1000ms cubic-bezier(0.23, 1, 0.32, 1), opacity 1000ms ease-out;
  -o-transition: -o-transform 1000ms cubic-bezier(0.23, 1, 0.32, 1), opacity 1000ms ease-out;
  transition: transform 1000ms cubic-bezier(0.23, 1, 0.32, 1), opacity 1000ms ease-out;
  -webkit-transform: translateX(-50px);
  -moz-transform: translateX(-50px);
  -ms-transform: translateX(-50px);
  -o-transform: translateX(-50px);
  transform: translateX(-50px);
  opacity: 0;
  -webkit-transition-delay: 0ms;
  -moz-transition-delay: 0ms;
  -ms-transition-delay: 0ms;
  -o-transition-delay: 0ms;
  transition-delay: 0ms;
}

.home-slider .slide.out .home-slider-desc .indices, .home-slider .slide.active.out .home-slider-desc .indices {
  -webkit-transition-delay: 0ms;
  -moz-transition-delay: 0ms;
  -ms-transition-delay: 0ms;
  -o-transition-delay: 0ms;
  transition-delay: 0ms;
}

@media screen and (max-width: 1680px) {
  .home-slider {
    min-height: 760px;
  }
}

@media screen and (max-width: 1280px) {
  .scroll-down {
    bottom: 220px;
  }
  .scroll-down .label {
    padding-bottom: calc(80px + 1rem);
  }
  .scroll-down .label .line {
    height: 80px;
  }
  .home-slider {
    min-height: 680px;
  }
  .home-slider-content .home-slider-desc h1 {
    font-size: 4.375rem;
  }
}

@media all and (max-width:1080px){
  .home-slider-content .home-slider-desc h1{font-size:72px; line-height:80px;}

  .scroll-down .label {
    padding-bottom: 75px;}

  .scroll-down .label .line {
    height: 59px;
  }

  .home-slider-content .home-slider-desc .indices a{width:20px; height:20px;}

  .scroll-down {
    bottom: 200px;
  }

  .home-slider-content .home-slider-desc .indices {
    margin-top: 2.8rem;
  }
  .home-slider-content .home-slider-desc .indices a {
    width:20px;
    height:20px;
  }


}


@media screen and (max-width: 766px) {
  .scroll-down {
    bottom: 160px;
  }
  .scroll-down .label {
    padding-bottom: calc(60px + 1rem);
  }
  .scroll-down .label .line {
    height: 60px;
  }
  .home-slider-content .home-slider-desc h1 {
    font-size:36px; line-height:42px;
  }
  .home-slider-content .home-slider-desc .indices {
    margin-top: 2.5rem;
  }
  .home-slider-content .home-slider-desc .indices a {
    width:9px;
    height:9px;
    margin-right: 1rem;
  }
}

@media screen and (max-width: 766px) and (orientation: portrait) {

  .home-slider .slide .bg video {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    min-width:inherit;
    min-height:inherit;
    transform:translate(0, 0);
    object-fit: cover;
  }

  .scroll-down {
    bottom: 120px;
  }
  .home-slider {
    height: 100vh;
    min-height: 360px;
  }

  .home-slider-content .home-slider-desc .indices {
    margin-top: 1.65rem;
  }


}

@-webkit-keyframes scroll-down-line {
  0%, 20% {
    height: 45%;
    top: -45%;
  }
  80%, 100% {
    height: 45%;
    top: 145%;
  }
}

@keyframes scroll-down-line {
  0%, 20% {
    height: 45%;
    top: -45%;
  }
  80%, 100% {
    height: 45%;
    top: 145%;
  }
}
