.finance-pay-dialog.active {
    display: flex;
}

.finance-pay-dialog .dialog-box {
    width: 70%;
    max-width: 420px;
    min-height: 400px;
    margin: 0;
    left: auto;
    top: auto;
    background: #f04743;
    padding: 30px 5%;
    color: #fff;
    border-radius: 12px;
    position: relative;
}

.finance-pay-dialog .dialog-close {
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 100;
    margin-top: 20px;
}

.finance-pay-dialog img.main-title {
    width: 100%;
}

.finance-pay-dialog img.sub-title {
    width: 50%;
}

.finance-pay-dialog .pay-content {
    width: 100%;
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    color: #252525;
    margin-top: 20px;
}

.finance-pay-dialog .pay-content img.doc-icon {
    width: auto;
    height: 35px;
    margin-right: 15px;
}

.finance-pay-dialog .pay-amount {
    margin-top: 35px;
}

.finance-pay-dialog .pay-amount span {
    font-size: 24px;
    margin-right: 10px;
}

.finance-pay-dialog .pay-btn {
    width: 100%;
    height: 40px;
    border-radius: 20px;
}

.finance-pay-dialog .wechat-pay {
    background: #1dba61;
    margin-top: 60px;
}

.finance-pay-dialog .alipay-pay {
    background: #06b4fd;
    margin-top: 15px;
}

.finance-pay-dialog .wechat-pay .pay-icon {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.finance-pay-dialog .alipay-pay .pay-icon {
    width: 50px;
    height: auto;
}

.finance-pay-dialog img.red-pocket,
.finance-pay-dialog img.glod-icon1,
.finance-pay-dialog img.glod-icon2 {
    position: absolute;
}

.finance-pay-dialog img.glod-icon1 {
    left: 4%;
    top: 19%;
    width: 25px;
    height: 25px;
}

.finance-pay-dialog img.glod-icon2 {
    right: -13px;
    top: -15px;
    width: 25px;
    height: 25px;
    z-index: -1;
}

.finance-pay-dialog img.red-pocket {
    left: -32px;
    top: 52%;
    width: 95px;
    height: auto;
}
.justify-center {
    /* 标准语法 */
    justify-content: center;

    /* 老版本 WebKit 浏览器 (Safari, iOS, Android) */
    -webkit-box-pack: center;

    /* 老版本 Firefox */
    -moz-box-pack: center;

    /* IE 10 */
    -ms-flex-pack: center;
}
.flex-column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}
.items-center {
    /* 老版本 WebKit 浏览器 (Safari, iOS, Android) */
    -webkit-box-align: center;

    /* 老版本 Firefox */
    -moz-box-align: center;

    /* IE 10 */
    -ms-flex-align: center;

    /* 现代浏览器 */
    align-items: center;
}
.dialog {
    max-width: 100vw;
}
/*.dialog .layer-mask, .popup .layer-mask {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: rgba(0, 0, 0, 0.3);*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    z-index: 99;*/
/*}*/
/*.flex {*/
/*    display: -webkit-box; !* 老版本 Safari, iOS, Android *!*/
/*    display: -moz-box; !* 老版本 Firefox *!*/
/*    display: -ms-flexbox; !* IE 10 *!*/
/*    display: -webkit-flex; !* Chrome < 21, Safari 6.1+, iOS Safari 7+ *!*/
/*    display: flex; !* 标准语法 *!*/
/*}*/
.relative {
    position: relative;
}
.text-overflow {
    white-space: nowrap; /* 禁止换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 超出部分用省略号代替 */
}
