/* c-message组件样式 */
.c-message{
    position:fixed;
    top:30px;
    left:50%;
    /* transform:translateX(-50%); */
    padding-left:50px;
    padding-right:20px;
    height: 40px;
    line-height: 40px;
    background: #fff;
    min-width:100px;
    color:#666;
    box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 0 6px rgba(0,0,0,.04);
    z-index:9999;
    margin-left:-85px !important;
}
.c-message--icon{
    color:#fff;
    width: 40px;
    height: 40px;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 40px;
}
.c-message--success{
    background:#13CE66 url(../fonts/d9f8644857fe4891b2e19d9ce248b005.woff) no-repeat 0 50%;
}
.c-message--error{
    background:#FF4949 url(../fonts/e4dbc100e2c9445993322955a2ab0171.woff) no-repeat 0 50%;
}
.c-message--info{
    background:#20A0FF url(../fonts/1ed29a4d5a914921871e562784e753b4.woff) no-repeat 0 50%;
}
.c-message--warning{
    background:#F7BA2A url(../fonts/2f243f24f7f4428fa7fed8d5539f3fde.woff) no-repeat 0 50%;
}
.c-message--close{
    position: absolute;
    right: 10px;
    color: #999;
    text-decoration: none;
    cursor: pointer;
    font-size: 30px;
    top: 0;
    line-height: 34px;
    display: block;
    height: 40px;
}
.c-message--close:hover{
    color:#666;
}
@keyframes messageFadeInDown {
    0% {
        -webkit-transform: translate3d(0,-100%,0);
        transform: translate3d(0,-100%,0)
    }

    100% {
        -webkit-transform: none;
        transform: none
    }
}

.c-message.messageFadeInDown {
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
    -webkit-animation-name: messageFadeInDown;
    animation-name: messageFadeInDown;
}

@keyframes messageFadeOutUp {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%)
    }
}

.c-message.messageFadeOutUp {
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
    -webkit-animation-name: messageFadeOutUp;
    animation-name: messageFadeOutUp
}
/* .c-message--tip{
    text-align: center;
} */