


@keyframes slide_up {
  0% {
    -webkit-transform: translate(-50%, 0px);
      -ms-transform: translate(-50%, 0px);
      transform: translate(-50%, 0px);
  }

  100% {
    -webkit-transform: translate(-50%, -250px);
      -ms-transform: translate(-50%, -250px);
      transform: translate(-50%, -250px);

  }
}
.twinkle {
    animation: twinkling 0.8s cubic-bezier(0, 0, 0.18, 0.99) infinite alternate;   
  animation-duration: 0.4s;
 
}
@keyframes twinkling {
  0% {
    box-shadow: 0 0 10px 3px rgb(255, 255, 255, 0.5);
  }

  100% {
    box-shadow: 0 0 10px 3px rgb(255, 255, 255, 0.9);
  }
}
.twinkle {
    animation: twinkling 0.8s cubic-bezier(0, 0, 0.18, 0.99) infinite alternate;   
  animation-duration: 0.4s;
 
}
@keyframes shake{
  0% {
    transform: rotate(0deg)
    }
  25% {
      transform: rotate(-4deg);
    }
  50% {
      transform: rotate(4deg);
    }
  75% {
      transform: rotate(-4deg);
    }
  100% {
      transform: rotate(0deg);
    }
}

@keyframes shake2{
  0% { -webkit-transform: rotateZ(0); }
  1% { -webkit-transform: rotateZ(10deg); }
  10% { -webkit-transform: rotateZ(-8deg); }
  19% { -webkit-transform: rotateZ(8deg); }
  28% { -webkit-transform: rotateZ(-6deg); }
  37% { -webkit-transform: rotateZ(6deg); }
  46% { -webkit-transform: rotateZ(-4deg); }
  55% { -webkit-transform: rotateZ(4deg); }
  64% { -webkit-transform: rotateZ(-2deg); }
  73% { -webkit-transform: rotateZ(1deg); }
  82% { -webkit-transform: rotateZ(-1deg); }
  100% { -webkit-transform: rotateZ(0); }
}
.on .shake2 {
  transform-origin: 50% 0%;
  animation-name: shake2;
  animation-duration: 2s;

  animation-delay: 0.5s;   
}
.shake {
  transform-origin: 50% 0%;
  animation-name: shake;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-delay: 0.5s;   
}

@keyframes bounce {
  from, 20%, 53%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transform: translate3d(0,0,0);
  }

  40%, 43% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -30px, 0);
  }

  70% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -15px, 0);
  }

  90% {
    transform: translate3d(0,-4px,0);
  }
}
@keyframes bounce {
  from, 20%, 53%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transform: translate3d(0,0,0);
  }

  40%, 43% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -30px, 0);
  }

  70% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -15px, 0);
  }

  90% {
    transform: translate3d(0,-4px,0);
  }
}
.bounce {
  animation-name:bounce;
  animation-duration: 0.7s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
}
@keyframes s_bounce1 {
  to {
    transform: translate(0px, -10px);
  }
}
@keyframes s_bounce2 {
  to {
    transform: translate(0px, -20px);
  }
}

.s_bounce1 {
 animation: s_bounce1 0.9s 0.2s ease-in-out infinite alternate;      
}
.s_bounce2 {
 animation: s_bounce1 1s 0.3s ease-in-out infinite alternate;      
}
.s_bounce3 {
 animation: s_bounce1 0.8s 0.1s ease-in-out infinite alternate;      
}
.s_bounce4 {
 animation: s_bounce2 0.8s cubic-bezier(0, 0, 0.18, 0.99) infinite alternate;      
}
.s_bounce5 {
 animation: s_bounce2 0.8s 0.2s cubic-bezier(0, 0, 0.18, 0.99) infinite alternate;      
}


/* Sweep To Right */
.hvr-sweep-to-right {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-right:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-sweep-to-right:hover, .hvr-sweep-to-right:focus, .hvr-sweep-to-right:active {
  color: white;
}
.hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/* Sweep To Bottom */
.hvr-sweep-to-bottom {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-bottom:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2098D1;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-sweep-to-bottom:hover, .hvr-sweep-to-bottom:focus, .hvr-sweep-to-bottom:active {
  color: white;
}
.hvr-sweep-to-bottom:hover:before, .hvr-sweep-to-bottom:focus:before, .hvr-sweep-to-bottom:active:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

/* Sweep To Top */
.hvr-sweep-to-top {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-top:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-sweep-to-top:hover, .hvr-sweep-to-top:focus, .hvr-sweep-to-top:active {
  color: white;
}
.hvr-sweep-to-top:hover:before, .hvr-sweep-to-top:focus:before, .hvr-sweep-to-top:active:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}




.item  {opacity:0; filter: alpha(opacity=0); transition: all 1s 0s ease-in-out;}
.item.item_up {
  -webkit-transform: translate(0px, 70px);
  -ms-transform: translate(0px, 70px);
  transform: translate(0px, 70px);
}
.item.item_down {
  -webkit-transform: translate(0px, -40px);
  -ms-transform: translate(0px, -40px);
  transform: translate(0px, -40px);
}
.item.item_left {
  -webkit-transform: translate(400px, 0px);/* transition: all 2s 0s cubic-bezier(0.42, 0, 0, 1.01)*/;
  -ms-transform: translate(400px, 0px);/*transition: all 2s 0s cubic-bezier(0.42, 0, 0, 1.01)*/;
  transform: translate(400px, 0px); /*transition: all 2s 0s cubic-bezier(0.42, 0, 0, 1.01)*/;
}
.item.item_right {
  -webkit-transform: translate(-400px, 0px);
  -ms-transform: translate(-400px, 0px);
  transform: translate(-400px, 0px);
}


.on .item, .item.active {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  transform: translateX(0px) translateY(0px);
}
.on .item.nth-child-1, .item.nth-child-1.active {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.on .item.nth-child-2, .item.nth-child-2.active {
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
.on .item.nth-child-3, .item.nth-child-3.active {
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
}
.on .item.nth-child-4, .item.nth-child-4.active {
  -webkit-transition-delay: 0.8s;
  transition-delay: 0.8s;
}
.on .item.nth-child-5, .item.nth-child-5.active {
  -webkit- transition-delay: 1s;
  transition-delay: 1s;
}
.on .item.nth-child-6, .item.nth-child-6.active {
  -webkit-transition-delay: 1.2s;
  transition-delay: 1.2s;
}
.on .item.nth-child-7, .item.nth-child-7.active {
  -webkit-transition-delay: 1.4s;
  transition-delay: 1.4s;
}
.on .item.nth-child-8, .item.nth-child-8.active {
  -webkit-transition-delay: 1.6s;
  transition-delay: 1.6s;
}

 /* 980px  */
 @media screen and (max-width:979px) {
    @keyframes s_bounce1 {
      to {
        transform: translate(0px, -5px);
      }
    }
    @keyframes s_bounce2 {
      to {
        transform: translate(0px, -8px);
      }
    }
}