/*固定弹出层宽高*/
.laiu8-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}
.laiu8-dialog {
    z-index: 2028;
    position: fixed;
    top: 45%;
    left: 50%;
    width: 320px;
    overflow: hidden;
    font-size: 16px;
    background-color: #fff;
    border-radius: 16px;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    -webkit-transition-property: opacity, -webkit-transform;
    transition-property: opacity, -webkit-transform;
    transition-property: transform, opacity;
    transition-property: transform, opacity, -webkit-transform;
}
.laiu8-dialog__header {
    padding-top: 24px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
}
.laiu8-dialog__message {
    max-height: 60vh;
    padding: 24px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 20px;
    /*white-space: pre-wrap;*/
    text-align: center;
    word-wrap: break-word;
    -webkit-overflow-scrolling: touch;
}
.laiu8-dialog__message--has-title {
    padding-top: 12px;
    color: #646566;
}
.laiu8-dialog__footer {
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    position: relative;
    justify-content: space-around;
    padding-bottom: 10px;
    flex-flow: row-reverse;
}
.laiu8-dialog__footer:after {
    position: absolute;
    box-sizing: border-box;
    content: ' ';
    pointer-events: none;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    border: 0 solid #ebedf0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    border-top-width: 1px;
}
.laiu8-dialog button {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    /*height: 44px;*/
    margin: 0;
    padding: 0;
    font-size: 16px;
    /*line-height: 42px;*/
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
    -webkit-appearance: none;
    -webkit-text-size-adjust: 100%;
    outline: none;
}
.laiu8-dialog button::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: #000;
    border: inherit;
    border-color: #000;
    border-radius: inherit;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    content: ' ';
}
.laiu8-dialog button {
    border: 0;
    width: 138px;
}
.laiu8-dialog .laiu8-dialog__confirm {
    color: #fff;
    background-color: #1989fa;
    border: 1px solid #1989fa;
    padding: 8px 15px;
    font-size: 14px;
}

/* 动画*/
.laiu8_fadeIn {
    animation: fadeIn .2s ease;
}

.laiu8_fadeOut {
    animation: fadeOut .2s ease forwards;
}
.laiu8_slideDown {
    animation: slideDown .2s ease;
}

.laiu8_slideUp {
    animation: slideUp .2s ease forwards;
}

.laiu8_scaleIn {
    animation: scaleIn 0.2s cubic-bezier(0.07, 0.89, 0.95, 1.4);
}

.laiu8_scaleOut {
    animation: scaleOut 0.2s cubic-bezier(0.07, 0.89, 0.95, 1.4) forwards;
}


@keyframes slideDown {
    from {
        transform: translateY(-3em);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-3em);
    }
}

@keyframes fadeIn {
    from {
        opacity: .5;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}

@keyframes scaleOut {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(0.8);
    }
}