.payme {
    padding: 20px;
    border: 1px dashed #ffc107;
    background: #fffdf8;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 16px !important;
}

.payme-center {
    text-align: center;
    border-radius: 5px;
}

.payme-box .payme-mask {
    bottom: 120px;
    display: block;
    height: 120px;
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 30%, #fff 80%) repeat-x;
    margin-bottom: -120px;
    pointer-events: none;
}

.payme-box .payme-lock {
    border-top: 1px solid #ddd;
    position: relative;
}

.payme-box .icon-lock-m {
    background: #fff url(../images/lock.png) center 0 no-repeat;
    display: block;
    height: 24px;
    left: 50%;
    margin-left: -25px;
    position: absolute;
    top: -12px;
    width: 50px;
}

.payme-reset {
    border: 0;
    background: #fff;
}

.payme-box .payme-highlight {
    margin: 20px 0 0 0;
}

.payme-toggle {
    padding: 20px 0;
}

.payme a.btn-link {
    background-color: #1890ff;
    color: #fff;
}

.payme a.btn-link:hover {
    background-color: #096dd9;
    border-color: #096dd9;
    color: #fff;
}

.payme .btn {
    display: inline-block;
    border: 1px solid #1890ff;
    padding: 4px 10px;
    border-radius: 4px;
    text-align: center;
    margin: 30px 0;
    line-height: 30px;
}

.payme a, .payme-box a {
    text-decoration: none !important;
    box-shadow: unset !important;
    outline: none;
}

/*v 1.2.0*/
.wp-payme-modal-box {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6)
}

.wp-payme-modal-box .wp-payme-modal {
    position: absolute;
    width: 400px;
    height: 404px;
    background: #fff;
    border-radius: 3px;
    top: 50%;
    left: 50%;
    margin-left: -202px;
    margin-top: -200px;
    z-index: 1;
    padding: 60px 50px 40px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.wp-payme-modal-box .wp-payme-modal .title {
    font-size: 28px;
    color: #2A2A2A;
    font-weight: bold
}

.wp-payme-modal-box .wp-payme-modal .content {
    margin-top: 29px;
    font-size: 18px;
    color: #2A2A2A;
    height: 166px;
    overflow-y: auto
}

.wp-payme-modal-box .wp-payme-modal .options-btns {
    margin-top: 35px
}

.wp-payme-modal-box .wp-payme-modal .options-btns a {
    width: 50%;
    color: #fff;
    font-weight: bold
}

.wp-payme-custom-modal-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6)
}

.wp-payme-custom-modal-box .wp-payme-modal {
    max-width: 350px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: auto;
    background: #fff;
    border-radius: 3px;
    display: block !important
}

.wp-payme-custom-modal-box .wp-payme-modal .close-modal {
    cursor: pointer;
    position: absolute;
    top: 1px;
    right: 8px;
    color: #000;
    font-size: 42px;
    line-height: 1
}

.wp-payme-custom-modal-box .wp-payme-modal .close-modal .modia {
    font-size: 14px
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode {
    padding-top: 20px
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab {
    padding: 0px 30px;
    text-align: center;
    display: block !important
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab a {
    font-size: 16px;
    color: #838383;
    font-weight: bold;
    text-decoration: none;
    margin: 0 3px;
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab a.active {
    color: #2A2A2A;
    font-size: 24px
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab a.wp-payme-weixin.active {
    color: #21ab36;
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab a.wp-payme-alipay.active {
    color: #00a3ee;
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab a .price {
    color: #ff5f33
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list {
    margin-top: 180px;
    background: #6495ed;
    height: 170px;
    border-radius: 0 0 3px 3px;
    display: block !important
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list .item {
    text-align: center;
    position: relative;
    top: -166px
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list .item .wp-payme-title {
    margin-bottom: 10px;
    font-size: 15px;
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list .item .wp-payme-title .price {
    color: #ff5f33
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list .item .qr-code {
    width: 225px;
    height: 225px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 3px;
    margin: 0 auto;
    background: #fff;
    display: block !important
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list .item .qr-code img {
    width: 100%;
    height: auto
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list .item .account {
    margin-top: 40px !important;
    margin-bottom: 0 !important;
    color: #ffffff;
    font-size: 14px
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list .item .desc {
    margin-top: 4px;
    font-size: 14px;
    color: #ffffff;
    font-family: tahoma, arial, sans-serif
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list .item .desc span {
    color: #fdd835;
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list .item .wap {
    display: none;
    margin-top: 10px;
}

.wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list .item .wap a {
    background: #00a3ee;
    color: #fff;
    text-decoration: none;
    padding: 8px 25px;
    display: inline-block;
    border-radius: 3px;
    border: 1px solid #fff;
}

@media (max-width: 768px) {
    .wp-payme-modal-box .wp-payme-modal {
        width: 320px;
        margin-left: -160px
    }

    .wp-payme-custom-modal-box .wp-payme-modal {
        width: 90%
    }

    .wp-payme-toast {
        padding: 10px 20px
    }

    .wp-payme-toast .icon .modia {
        font-size: 28px
    }

    .wp-payme-toast .text {
        font-size: 16px;
        font-weight: bold;
        white-space: nowrap
    }

    .wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list {
        height: 190px;
    }

    .wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list .item .account {
        margin-top: 20px !important;
    }

    .wp-payme-custom-modal-box .wp-payme-modal .erphp-wp-payme-qrcode .tab-list .item .wap {
        display: block;
    }
}

.erphp-wp-payme {
    background-color: #fff;
    border: 2px dashed #ff5f33;
    color: #333;
    font-size: 14px;
    line-height: inherit;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.erphp-wp-payme-success {
    border: 2px dashed #54c468
}

.erphp-wp-payme b {
    color: #ff5f33
}

.erphp-wp-payme-qrcode .payment {
    margin-bottom: 10px
}

.erphp-wp-payme-qrcode .payment img {
    max-width: 160px;
    height: auto;
    display: inline-block
}

.wp-payme-spantag {
    font-size: 16px;
    color: #777;
    padding-top: 14px;
}

.wp-payme-atag {
    display: block;
    padding: 10px 20px;
    color: #fff !important;
    background: #1890ff;
    background-color: #1890ff;
    font-size: 16px !important;
    margin: 24px 0;
    text-decoration: none !important;
    text-decoration: none !important;
    box-shadow: unset !important;
    outline: none;
    border-radius: 3px;
    font-weight: bold;
}

/* loading */
.payme-loading {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    display: none;
}

.payme-loading .payme-loading-modal {
    max-width: 300px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: auto;
    background: #fff;
    border-radius: 3px;
    display: block !important
}

.payme-loading .payme-loading-modal .payme-loading-img {
    width: 160px;
    height: 80px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 3px;
    margin: 0 auto;
    background: #fff;
    display: block !important
}

.payme-loading .payme-loading-modal .payme-loading-img img {
    width: 40px;
    height: 40px;
    margin-top: 20px;
    margin-left: 60px;
}

.payme-loading .payme-loading-modal .payme-loading-text {
    margin-bottom: 20px;
    text-align: center;
}
