// --------------------------------------------------------- //
// Keyframe Animations
// --------------------------------------------------------- //
@-webkit-keyframes fromTop {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0,-200px,0);
  }
  100% {
    opacity:1;
    -webkit-transform: translate3d(0,0,0);
  }
}

@keyframes fromTop {
  0% {
    opacity: 0;
    transform: translate3d(0,-200px,0);
  }
  100% {
    opacity:1;
    transform: translate3d(0,0,0);
  }
}

@-webkit-keyframes fadeFromBottom {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0,20px,0);
  }
  100% {
    opacity:1;
		-webkit-transform: translate3d(0,0,0);
  }
}

@keyframes fadeFromBottom {
  0% {
    opacity: 0;
    transform: translate3d(0,20px,0);
  }
  100% {
    opacity:1;
    transform: translate3d(0,0,0);
  }
}

@-webkit-keyframes fadeFromBottomCopy {
  0% {
    opacity: 0;
		-webkit-transform:scale(0.9);
    -webkit-transform: translate3d(0,20px,0) rotate(90deg);
  }
  100% {
    opacity:1;
		-webkit-transform:scale(1) rotate(90deg);
  }
}

@keyframes fadeFromBottomCopy {
  0% {
    opacity: 0;
    transform:scale(0.9);
    transform: translate3d(0,20px,0) rotate(90deg);
  }
  100% {
    opacity:1;
    transform:scale(1) rotate(90deg);
  }
}


@-webkit-keyframes accordionIn {
  0% {
    opacity: 0;
    height: 0;
  }
  80% {
    opacity: 0;
    height: 90px;
  }
  100% {
    opacity:1;
    height: 90px;
  }
}

@keyframes accordionIn {
  0% {
    opacity: 0;
    height: 0;
  }
  80% {
    opacity: 0;
    height: 90px;
  }
  100% {
    opacity:1;
    height: 90px;
  }
}

@-webkit-keyframes accordionOut {
  0% {
    opacity: 1;
    height: 140px;
	}
	100% {
    opacity: 0;
    height: 0;
	}
}

@keyframes accordionOut {
  0% {
    opacity: 1;
    height: 140px;
	}
	100% {
    opacity: 0;
    height: 0;
	}
}

@-webkit-keyframes fadePerspective {
    from {
    	opacity: 0;
    	-webkit-transform: translateY(-25%) rotateX(35deg);
    }
    to {
    	opacity: 1;
    	-webkit-transform: translateY(0) rotateX(0);
    }
}

@keyframes fadePerspective {
    from {
    	opacity: 0;
    	transform: translateY(-25%) rotateX(35deg);
    }
    to {
    	opacity: 1;
    	transform: translateY(0) rotateX(0);
    }
}

@-webkit-keyframes fade {
    from {
    	opacity: 0;
    }
    to {
      opacity: 1;
    }
}

@keyframes fade {
    from {
    	opacity: 0;
    }
    to {
      opacity: 1;
    }
}

@-webkit-keyframes fadeTitle {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-50%,24px,0);
  }
  100% {
    opacity:1;
    -webkit-transform: translate3d(-50%,0,0);
  }
}

@keyframes fadeTitle {
  0% {
    opacity: 0;
    transform: translate3d(-50%,24px,0);
  }
  100% {
    opacity:1;
		transform: translate3d(-50%,0,0);
  }
}

@-webkit-keyframes leftPull {
    from {
    	transform: translate3d(110%,0,0);
    }
    to {
	    transform: translate3d(-20%,0,0);
    }
}

@keyframes leftPull {
    from {
    	transform: translate3d(110%,0,0);
    }
    to {
	    transform: translate3d(-20%,0,0);
    }
}

@-webkit-keyframes bottomPull {
    from {
    	margin-top: 100px;
      opacity: 0;
    }
    to {
    	margin-top: 0;
      opacity: 1;
    }
}

@keyframes bottomPull {
    from {
    	margin-top: 100px;
      opacity: 0;
    }
    to {
    	margin-top: 0;
      opacity: 1;
    }
}

@-webkit-keyframes pushLeft {
    from {
    	left: -140%;
      opacity: 0;
    }
    to {
    	left: 0;
      opacity: 1;
    }
}

@keyframes pushLeft {
    from {
    	left: -140%;
      opacity: 0;
    }
    to {
    	left: 0;
      opacity: 1;
    }
}

@-webkit-keyframes pushLeftTitle {
  0% {
    left: -140%;
    opacity: 0;
  }
  50% {
    -webkit-transform: scale(1);
    left: 3.79em;
    opacity: 1;
  }
  75% {
    -webkit-transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 1;
  }
}

@keyframes pushLeftTitle {
    0% {
    	left: -140%;
      opacity: 0;
    }
    50% {
      transform: scale(1);
    	left: 3.79em;
      opacity: 1;
    }
    75% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
}

@-webkit-keyframes pushRight {
    from {
    	right: -140%;
      opacity: 0;
    }
    to {
      right: 0;
      opacity: 1;
    }
}

@keyframes pushRight {
    from {
      right: -140%;
      opacity: 0;
    }
    to {
      right: 0;
      opacity: 1;
    }
}

@-webkit-keyframes fadeOutDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 25px, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeOutDown {
  0% {
    opacity: 0;
    transform: translate3d(0, 25px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fade {
  opacity: 0;
}

.fade-from-bottom {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
}

.fade-perspective, .acc-in {
  opacity: 0;
  @include vendor(perspective, 1200px);
}

.push-left {
  opacity: 0;
  position: relative;
  left: -140%;
}

.push-right {
  opacity: 0;
  position: relative;
  right: -140%;
}

.banner {
  .banner-title {
    &.fade,
    &.fade-title {
      opacity: 0;
    }
  }
}

.start {
  .fade-from-bottom {
    @include vendor(animation, fadeFromBottom 0.65s 0s forwards);
  }

  .fade {
    @include vendor(animation, fade 1.2s 0s forwards);
  }

  .acc-in {
    @include vendor(animation, accordionIn 1.2s 0s forwards);
  }

  .fade-title {
    @include vendor(animation, fadeTitle 0.6s 0s forwards);
  }

  .fade-perspective {
    @include vendor(animation, fadePerspective 1.2s 0s forwards);
  }

  .push-left {
    @include vendor(animation, pushLeft 1s 0s forwards);
  }

  .push-right {
    @include vendor(animation, pushRight 1s 0s forwards);
  }

  .staggered-01 {
    @include vendor(animation-delay, 0.15s !important);
  }

  .staggered-02 {
    @include vendor(animation-delay, 0.3s !important);
  }

  .staggered-03 {
    @include vendor(animation-delay, 0.45s !important);
  }

  .staggered-04 {
    @include vendor(animation-delay, 0.6s !important);
  }

  .staggered-05 {
    @include vendor(animation-delay, 0.75s !important);
  }

  .staggered-06 {
    @include vendor(animation-delay, 0.9s !important);
  }

  .staggered-07 {
    @include vendor(animation-delay, 1.05s !important);
  }

  .staggered-08 {
    @include vendor(animation-delay, 1.2s !important);
  }

  .staggered-09 {
    @include vendor(animation-delay, 1.35s !important);
  }

  .staggered-10 {
    @include vendor(animation-delay, 1.5s !important);
  }

  .staggered-11 {
    @include vendor(animation-delay, 1.65s !important);
  }

  .staggered-12 {
    @include vendor(animation-delay, 1.8s !important);
  }
}
