/* c-message组件样式 */

.c-message {
    position: fixed;
    top: 50%;
    left: 50%;
    background: rgba(50,50,51,.88);
    min-width: 200px;
    color: #fff;
    z-index: 9999;
    border-radius: 5px;
    max-width: 80%;
    padding: 15px 0;
    transform: translate(-50%, -50%);
    width: max-content;
    max-width: 70%;
}

.c-message .messagemain {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.iconcc {
    color: #fff;
    font-size: 30px;
}
.iconBB{
    font-size: 30px;
    color: #eeee;
    margin-bottom: 6px;
}

.iconerror {
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    position: absolute;
    left: 10px;
    top: 50%;
    line-height: 20px;
    background: #e40000;
    border-radius: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.c-message--success {
    background: #13CE66 url(../fonts/df186b4b81d64eda978b086018c42f7c.woff) no-repeat 0 50%;
}

.c-message--error {
    background: #FF4949 url(../fonts/32844466485c414585af22336fdb9397.woff) no-repeat 0 50%;
}

.c-message--info {
    background: #20A0FF url(../fonts/e909f2e7a0da47e38e84dec0d749f469.woff) no-repeat 0 50%;
}

.c-message--warning {
    background: #F7BA2A url(../fonts/f71d2e07e8eb4b729ab2a0924cac4364.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% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.c-message.messageFadeInDown {
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    -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: .3s;
    animation-duration: .3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both -webkit-animation-name: messageFadeOutUp;
    animation-name: messageFadeOutUp
}


/* .c-message--tip{
    text-align: center;
} */
