#alertContainer{
    position: absolute;
    width: 100%;
    margin: auto;
    top: 5%;
    left: 40%;
}

#alert {
    top: 10%;
    left: 40%;
    width: 400px;
    border-radius: 5px 5px 0 0;
    -webkit-box-shadow: 0px 0px 133px -5px rgba(194, 194, 184, 1);
    -moz-box-shadow: 0px 0px 133px -5px rgba(194, 194, 184, 1);
    box-shadow: 0px 0px 133px -5px rgba(194, 194, 184, 1);
    padding: 50px;
    z-index: 1050;
    opacity: 1;
    background: #FFFFFF;
}

#alert span {
    padding: 10px;
    font-size: 1.5em;
    text-transform: uppercase;
    color: #5b5f5d;
    text-align: right;
}

/* animation */

.show-animation {
    animation: showAnimationFrames ease-in .3s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    animation-fill-mode: forwards;
    /*when the spec is finished*/
    -webkit-animation: showAnimationFrames ease-in .3s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-fill-mode: forwards;
    /*Chrome 16+, Safari 4+*/
    -moz-animation: showAnimationFrames ease-in .3s;
    -moz-animation-iteration-count: 1;
    -moz-transform-origin: 50% 50%;
    -moz-animation-fill-mode: forwards;
    /*FF 5+*/
    -o-animation: showAnimationFrames ease-in .3s;
    -o-animation-iteration-count: 1;
    -o-transform-origin: 50% 50%;
    -o-animation-fill-mode: forwards;
    /*Not implemented yet*/
    -ms-animation: showAnimationFrames ease-in .3s;
    -ms-animation-iteration-count: 1;
    -ms-transform-origin: 50% 50%;
    -ms-animation-fill-mode: forwards;
    /*IE 10+*/
}

@keyframes showAnimationFrames {
    0% {
        transform: translate(-25px, -201px);
    }
    100% {
        transform: translate(-27px, 160px);
    }
}

@-moz-keyframes showAnimationFrames {
    0% {
        -moz-transform: translate(-25px, -201px);
    }
    100% {
        -moz-transform: translate(-27px, 160px);
    }
}

@-webkit-keyframes showAnimationFrames {
    0% {
        -webkit-transform: translate(-25px, -201px);
    }
    100% {
        -webkit-transform: translate(-27px, 160px);
    }
}

@-o-keyframes showAnimationFrames {
    0% {
        -o-transform: translate(-25px, -201px);
    }
    100% {
        -o-transform: translate(-27px, 160px);
    }
}

@-ms-keyframes showAnimationFrames {
    0% {
        -ms-transform: translate(-25px, -201px);
    }
    100% {
        -ms-transform: translate(-27px, 160px);
    }
}

.hide-animation {
    animation: hideAnimationFrames ease-out 1s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    animation-fill-mode: forwards;
    /*when the spec is finished*/
    -webkit-animation: hideAnimationFrames ease-out 1s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-fill-mode: forwards;
    /*Chrome 16+, Safari 4+*/
    -moz-animation: hideAnimationFrames ease-out 1s;
    -moz-animation-iteration-count: 1;
    -moz-transform-origin: 50% 50%;
    -moz-animation-fill-mode: forwards;
    /*FF 5+*/
    -o-animation: hideAnimationFrames ease-out 1s;
    -o-animation-iteration-count: 1;
    -o-transform-origin: 50% 50%;
    -o-animation-fill-mode: forwards;
    /*Not implemented yet*/
    -ms-animation: hideAnimationFrames ease-out 1s;
    -ms-animation-iteration-count: 1;
    -ms-transform-origin: 50% 50%;
    -ms-animation-fill-mode: forwards;
    /*IE 10+*/
}

@keyframes hideAnimationFrames {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-moz-keyframes hideAnimationFrames {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes hideAnimationFrames {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-o-keyframes hideAnimationFrames {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-ms-keyframes hideAnimationFrames {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}