@-webkit-keyframes showSweetBox {
    0% {
        transform: scale(0.7);
        -webkit-transform: scale(0.7);
    }

    45% {
        transform: scale(1.05);
        -webkit-transform: scale(1.05);
    }

    80% {
        transform: scale(0.95);
        -webkit-tranform: scale(0.95);
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

@-moz-keyframes showSweetBox {
    0% {
        transform: scale(0.7);
        -webkit-transform: scale(0.7);
    }

    45% {
        transform: scale(1.05);
        -webkit-transform: scale(1.05);
    }

    80% {
        transform: scale(0.95);
        -webkit-tranform: scale(0.95);
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

@keyframes showSweetBox {
    0% {
        transform: scale(0.7);
        -webkit-transform: scale(0.7);
    }

    45% {
        transform: scale(1.05);
        -webkit-transform: scale(1.05);
    }

    80% {
        transform: scale(0.95);
        -webkit-tranform: scale(0.95);
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

@-webkit-keyframes hideSweetBox {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }

    100% {
        transform: scale(0.5);
        -webkit-transform: scale(0.5);
    }
}

@-moz-keyframes hideSweetBox {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }

    100% {
        transform: scale(0.5);
        -webkit-transform: scale(0.5);
    }
}

@keyframes hideSweetBox {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }

    100% {
        transform: scale(0.5);
        -webkit-transform: scale(0.5);
    }
}

.showBox {
    -webkit-animation: showSweetBox 0.3s;
    -moz-animation: showSweetBox 0.3s;
    animation: showSweetBox 0.3s;
}

.hideBox {
    -webkit-animation: hideSweetBox 0.2s;
    -moz-animation: hideSweetBox 0.2s;
    animation: hideSweetBox 0.2s;
}

.message-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: 99999;
    display: none
}

.message-box {
    width: 420px;
    height: auto;
    min-height: 200px;
    padding: 30px 20px;
    background-color: #fff;
    -webkit-border-radius: 5px;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -225px;
    margin-top: -180px;
    word-break: break-all;
    box-sizing: content-box !important;
    -webkit-box-sizing: content-box !important;
}

    .message-box .box-icon {
        width: 90px;
        height: 90px;
        margin: 20px auto 25px;
        background-size: 100% 100%;
        /*background: url("../images/message.png") no-repeat;
        background-position: -26px -16px*/
    }

    .message-box.message-success .box-icon {
        background-image: url("../images/success.png?_ver_=1.6.8");
    }

    .message-box.message-error .box-icon {
        background-image: url("../images/error.png?_ver_=1.6.8");
    }

    .message-box.message-warning .box-icon {
        background-image: url("../images/warning.png?_ver_=1.6.8");
    }

    .message-box.message-info .box-icon {
        background-image: url("../images/info.png?_ver_=1.6.8");
    }

    .message-box.message-input {
        min-height: 300px;
        margin-top: -150px;
        height: auto
    }

    .message-box.message-loading .box-icon {
        width: 100px;
        height: 100px;
        margin: 75px auto 40px;
        background: url("../images/loading.gif") no-repeat;
        background-size: cover;
    }

    .message-box.message-loading .box-close, .message-loading .box-bnt-wrapper, .message-box .box-input-wrapper, .message-box.message-input .box-icon, .message-box.message-input .box-text, .message-box .box-title, .message-success .box-bnt-wrapper, .message-error .box-bnt-wrapper {
        display: none
    }

    .message-box.message-input .box-input-wrapper {
        display: block
    }

    .message-box .box-bnt-wrapper.message-confirm {
        display: block;
    }

    .message-box .box-close {
        position: absolute;
        right: 15px;
        top: 7px;
        font-size: 32px;
        font-weight: 100;
        line-height: 1;
        -webkit-appearance: none;
        color: #000;
        text-shadow: 0 1px 0 #fff;
        cursor: pointer;
        filter: alpha(opacity=20);
        opacity: .5;
        font-family: inherit;
        border: 0;
        outline: none;
        background-color: transparent
    }

        .message-box .box-close:hover {
            opacity: 1;
            filter: alpha(opacity=100);
            color: #ff5e4c
        }

    .message-box.message-success .box-close, .message-box.message-error .box-close {
        display: none;
    }


    .message-box .box-title.has-title {
        margin: -10px 0 20px;
        color: #575757;
        display: block;
        font-size: 25px;
        text-align: center;
        font-weight: 600;
        text-transform: none;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap
    }

    .message-box.message-input .box-title {
        margin-top: 35px
    }

    .message-box .box-text {
        height: auto;
        max-height: 180px;
        margin-bottom: 40px;
        overflow: auto;
    }

    .message-box .box-title.has-title + .box-text {
        height: 58px;
    }

    .message-box .box-text p {
        text-align: center;
        font-size: 15px;
        line-height: 1.5;
        margin: 0;
        color: #555;
        padding: 0 10px;
    }

    .message-box .box-title.has-title + .box-text p {
        -webkit-line-clamp: 2;
    }

    .message-box .box-bnt-wrapper {
        text-align: center;
        font-size: 0;
        margin-bottom: 10px;
    }

        .message-box .box-bnt-wrapper button {
            min-width: 100px;
            height: 34px;
            line-height: 32px;
            text-align: center;
            font-size: 15px;
            border: 1px solid #bababa;
            outline: none;
            color: #bababa;
            -webkit-border-radius: 5px;
            border-radius: 5px;
            background-color: #fff;
            cursor: pointer;
            padding: 0 10px;
            box-sizing: border-box;
        }

            .message-box .box-bnt-wrapper button + button {
                margin-left: 30px
            }

            .message-box .box-bnt-wrapper button.btn-ensure {
                background-color: #7acfff;
                color: #fff;
                border-color: #7acfff
            }

                .message-box .box-bnt-wrapper button.btn-ensure:hover {
                    background-color: #50afe4;
                    border-color: #50afe4
                }

            .message-box .box-bnt-wrapper button.bnt-esc:hover {
                background-color: #f9f9f9;
            }

    .message-box.message-warning .box-bnt-wrapper button.btn-ensure {
        background-color: #ff9626;
        border-color: #ff9626;
    }

        .message-box.message-warning .box-bnt-wrapper button.btn-ensure:hover {
            background-color: #ea7900;
            border-color: #ea7900;
        }

    .message-box .box-input {
        width: 100%;
        box-sizing: border-box;
        border-radius: 3px;
        border: 1px solid #d7d7d7;
        margin: 20px auto 30px;
        font-size: 16px;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.06);
        height: 43px;
        padding: 0 12px;
    }

        .message-box .box-input:focus {
            outline: 0;
            box-shadow: 0 0 3px #c4e6f5;
            border: 1px solid #b4dbed;
        }

.input-error {
    background-color: #f1f1f1;
    margin: 0 -15px 20px;
    overflow: hidden;
    padding: 15px;
    color: #797979;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    display: none
}

    .input-error:before {
        content: "!";
        display: inline-block;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: #ea7d7d;
        color: #fff;
        line-height: 24px;
        text-align: center;
        margin-right: 5px;
    }


.layui-layer .layui-layer-btn a {
    background-color: #1E9FFF;
    border: 1px solid #1E9FFF;
    color: #FFF;
}

.layui-layer .layui-layer-btn .layui-layer-btn0 {
    border: 1px solid #dedede;
    background-color: #dedede;
    color: #333;
}

/*.message-box .box-close{
    display:none;
}*/

/*.message-box .box-icon {
    width: 90px;
    height: 90px;
}*/

.message-box.message-error .box-icon {
    background-image: url("../images/error-green.png?_ver_=1.6.8");
}

.message-box.message-warning .box-icon {
    background-image: url("../images/waring-green.png?_ver_=1.6.8");
}

.message-box.message-info .box-icon {
    background-image: url("../images/info-green.png?_ver_=1.6.8");
}

.message-box.message-delete .box-icon {
    background-image: url("../images/delete.png?_ver_=1.6.8");
    margin: 30px auto 10px;
    height: 100px;
}

.message-box .box-bnt-wrapper button.btn-ensure {
    background-color: #30D5B0 !important;
    border-color: #30D5B0 !important;
}

.message-box .box-bnt-wrapper button {
    border-radius: 8px;
}

    .message-box .box-bnt-wrapper button + button {
        margin-left: 50px;
    }

    .message-box .box-bnt-wrapper button.btn-ensure:hover {
        background-color: #2ec5a4;
        border: 1px solid #2ec5a4;
    }
