/*
 Effects CSS
*/

/* animate from bottom */
.animate-bottom.inview {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 2s;
  animation-name: animatebottom;
  animation-duration: 2s
}
@keyframes animatebottom {
  from{ bottom:-100px; opacity:0 }
  to{ bottom:0; opacity:1 }
}
@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 }
  to { bottom:0px; opacity:1 }
}

/* FADE  */
.hidden {
	opacity: 0;
}
@-webkit-keyframes fade-in {
	0%   { opacity: 0; transform: scale(.7,.7) }
	100% { opacity: 1;}
}
@keyframes fade-in {
	0%   { opacity: 0; transform: scale(.7,.7) }
	100% { opacity: 1; }
}
.fade-in-element {
  animation: fade-in 2s;
}

/* REVEAL inview  */
.reveal {
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    -moz-transition: .8s;
    -o-transition: .8s;
    -webkit-transition: .8s;
    transition: .8s;
}
.reveal:nth-of-type(2) {
    -moz-transition-delay: .6s;
    -o-transition-delay: .6s;
    -webkit-transition-delay: .6s;
    transition-delay: .6s;
}
.reveal:nth-of-type(3) {
    -moz-transition-delay: .9s;
    -o-transition-delay: .9s;
    -webkit-transition-delay: .9s;
    transition-delay: .9s;
}
.reveal:nth-of-type(4) {
    -moz-transition-delay: 1.2s;
    -o-transition-delay: 1.2s;
    -webkit-transition-delay: 1.2s;
    transition-delay: 1.2s;
}
.reveal:nth-of-type(5) {
    -moz-transition-delay: 1.4s;
    -o-transition-delay: 1.4s;
    -webkit-transition-delay: 1.4s;
    transition-delay: 1.4s;
}
.reveal:nth-of-type(6) {
    -moz-transition-delay: 1.7s;
    -o-transition-delay: 1.7s;
    -webkit-transition-delay: 1.7s;
    transition-delay: 1.7s;
}
.reveal.inview {
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}

/* WIGGLE BUTTON */
.wiggle {
	position: absolute;
  display: block;
  left: 0;
	bottom: 3rem;
	width: 100%;
	height: auto;
	margin: 3rem 0 0 0;
	padding: 0;
	-webkit-animation-name: wiggle; /* Safari 4.0 - 8.0 */
	-webkit-animation-duration: 2s; /* Safari 4.0 - 8.0 */
	-webkit-animation-iteration-count: infinite; /* Safari 4.0 - 8.0 */
	animation-name: wiggle;
	animation-duration: 2s;
	animation-iteration-count: infinite;
}
.wiggle .caret {
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
  vertical-align: middle;
  position: relative;
  width: 21px;
  height: 30px;
  margin: 0 auto;
}
.wiggle .caret span {
	display: block;
	position: absolute;
	top: 0;
	height: 30px;
	width: 1px;
	background-color: #ffffff;
}
.wiggle .caret span:first-child {
	left: 0;
	transform: rotate(315deg);
	transform-origin: left;
}
.wiggle .caret span:last-child {
	right: 0;
	transform: rotate(45deg);
	transform-origin: right;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes wiggle {
	0% { bottom: 50px; }
	50% { bottom: 70px; }
	100% { bottom: 50px; }
}
/* Standard syntax */
@keyframes wiggle {
	0% { bottom: 50px; }
	50% { bottom: 70px; }
	100% { bottom: 50px; }
}
