.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.animated.hinge {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}

.animated.bounceIn,
.animated.bounceOut {
    -webkit-animation-duration: .75s;
    animation-duration: .75s;
}

.animated.flipOutX,
.animated.flipOutY {
    -webkit-animation-duration: .75s;
    animation-duration: .75s;
}

@-webkit-keyframes shake {
    from, to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
    }

    20%, 40%, 60%, 80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }
}

@keyframes shake {
    2% {
        transform: translate(1px, 0) rotate(0);
    }
    4% {
        transform: translate(-5px, 0) rotate(0);
    }
    6% {
        transform: translate(-5px, 0) rotate(0);
    }
    8% {
        transform: translate(-9px, 0) rotate(0);
    }
    10% {
        transform: translate(-7px, 0) rotate(0);
    }
    12% {
        transform: translate(4px, 0) rotate(0);
    }
    14% {
        transform: translate(1px, 0) rotate(0);
    }
    16% {
        transform: translate(7px, 0) rotate(0);
    }
    18% {
        transform: translate(9px, 0) rotate(0);
    }
    20% {
        transform: translate(-8px, 0) rotate(0);
    }
    22% {
        transform: translate(-2px, 0) rotate(0);
    }
    24% {
        transform: translate(-9px, 0) rotate(0);
    }
    26% {
        transform: translate(2px, 0) rotate(0);
    }
    28% {
        transform: translate(-4px, 0) rotate(0);
    }
    30% {
        transform: translate(-2px, 0) rotate(0);
    }
    32% {
        transform: translate(0px, 0) rotate(0);
    }
    34% {
        transform: translate(1px, 0) rotate(0);
    }
    36% {
        transform: translate(-9px, 0) rotate(0);
    }
    38% {
        transform: translate(-4px, 0) rotate(0);
    }
    40% {
        transform: translate(-7px, 0) rotate(0);
    }
    42% {
        transform: translate(2px, 0) rotate(0);
    }
    44% {
        transform: translate(6px, 0) rotate(0);
    }
    46% {
        transform: translate(3px, 0) rotate(0);
    }
    48% {
        transform: translate(-3px, 0) rotate(0);
    }
    50% {
        transform: translate(-3px, 0) rotate(0);
    }
    52% {
        transform: translate(6px, 0) rotate(0);
    }
    54% {
        transform: translate(-8px, 0) rotate(0);
    }
    56% {
        transform: translate(-8px, 0) rotate(0);
    }
    58% {
        transform: translate(7px, 0) rotate(0);
    }
    60% {
        transform: translate(4px, 0) rotate(0);
    }
    62% {
        transform: translate(1px, 0) rotate(0);
    }
    64% {
        transform: translate(8px, 0) rotate(0);
    }
    66% {
        transform: translate(-9px, 0) rotate(0);
    }
    68% {
        transform: translate(9px, 0) rotate(0);
    }
    70% {
        transform: translate(7px, 0) rotate(0);
    }
    72% {
        transform: translate(2px, 0) rotate(0);
    }
    74% {
        transform: translate(7px, 0) rotate(0);
    }
    76% {
        transform: translate(3px, 0) rotate(0);
    }
    78% {
        transform: translate(-9px, 0) rotate(0);
    }
    80% {
        transform: translate(-5px, 0) rotate(0);
    }
    82% {
        transform: translate(0px, 0) rotate(0);
    }
    84% {
        transform: translate(-5px, 0) rotate(0);
    }
    86% {
        transform: translate(7px, 0) rotate(0);
    }
    88% {
        transform: translate(-8px, 0) rotate(0);
    }
    90% {
        transform: translate(-9px, 0) rotate(0);
    }
    92% {
        transform: translate(6px, 0) rotate(0);
    }
    94% {
        transform: translate(0px, 0) rotate(0);
    }
    96% {
        transform: translate(-9px, 0) rotate(0);
    }
    98% {
        transform: translate(9px, 0) rotate(0);
    }
    0%, 100% {
        transform: translate(0, 0) rotate(0);
    }
}

.shake {
    -webkit-animation-name: shake;
    animation-name: shake;
    animation-duration: 200ms;
    animation-timing-function: ease-in-out;
}

/*loader*/
@-webkit-keyframes loading {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

@keyframes loading {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}