/* WPAY 商城样式 */
.circular {
    -webkit-animation: rotate 2s linear infinite;
    animation: rotate 2s linear infinite;
    height: 28px;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
    width: 28px;
    margin: auto;
}
.circular .path {
    width: 100%;
    height: 100%;
    stroke-dasharray: 1,200;
    stroke-dashoffset: 0;
    -webkit-animation: dash 1.5s ease-in-out infinite;
    animation: dash 1.5s ease-in-out infinite;
    stroke: #757575;
    stroke-linecap: round;
}
@-webkit-keyframes rotate {
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes rotate {
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@-webkit-keyframes dash {
    0% { stroke-dasharray: 1,200; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 89,200; stroke-dashoffset: -35px; }
    100% { stroke-dasharray: 89,200; stroke-dashoffset: -124px; }
}
@keyframes dash {
    0% { stroke-dasharray: 1,200; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 89,200; stroke-dashoffset: -35px; }
    100% { stroke-dasharray: 89,200; stroke-dashoffset: -124px; }
}

/* Toast 提示 */
.wppay-toast {
    background: #2a2a2a;
    border-radius: 3px;
    color: #fff;
    text-align: center;
    padding: 20px 60px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: none;
}
.wppay-toast .text {
    font-size: 18px;
    font-weight: 700;
}
.wppay-toast.it .text {
    margin-top: 10px;
}

/* Modal 弹窗 */
.wppay-modal-box {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9998;
    background: rgba(0,0,0,.6);
    display: none;
}
.wppay-modal-box .wppay-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;
}
.wppay-modal-box .wppay-modal .title {
    font-size: 28px;
    color: #2a2a2a;
    font-weight: 700;
}
.wppay-modal-box .wppay-modal .content {
    margin-top: 29px;
    font-size: 18px;
    color: #2a2a2a;
    height: 166px;
    overflow-y: auto;
}
.wppay-modal-box .wppay-modal .options-btns {
    margin-top: 35px;
}
.wppay-modal-box .wppay-modal .options-btns a {
    width: 50%;
    color: #fff;
    font-weight: 700;
}

/* Custom Modal */
.wppay-custom-modal-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.7);
    z-index: 9999;
    display: none;
}
.wppay-custom-modal-box .wppay-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;
}
.wppay-custom-modal-box .wppay-modal .close-modal {
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 15px;
    color: #000;
    width: 25px;
    height: 25px;
    text-align: center;
    display: block;
}
.wppay-custom-modal-box .wppay-modal .close-modal:hover {
    opacity: .6;
}
.wppay-custom-modal-box .wppay-modal .close-modal .modia {
    display: inline-block;
    width: 18px;
    height: 1px;
    background: #333;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.wppay-custom-modal-box .wppay-modal .close-modal .modia:after {
    content: '';
    display: block;
    width: 18px;
    height: 1px;
    background: #333;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}
.wppay-custom-modal-box .wppay-modal .submit,
.wppay-custom-modal-box .wppay-modal .submit-btn {
    margin-top: 45px;
}
.wppay-custom-modal-box .wppay-modal .submit-tips {
    text-align: center;
    font-size: 12px;
    color: #333;
    margin-top: 5px;
}
.wppay-custom-modal-box .wppay-modal .submit-close {
    text-align: center;
    font-size: 14px;
    color: #e04a1c;
    margin-top: 15px;
    cursor: pointer;
}
.wppay-custom-modal-box .wppay-modal .submit a,
.wppay-custom-modal-box .wppay-modal .submit button,
.wppay-custom-modal-box .wppay-modal .submit-btn a,
.wppay-custom-modal-box .wppay-modal .submit-btn button {
    display: block;
    height: 43px;
    line-height: 43px;
    width: 100%;
    background: #e04a1c;
    border-radius: 3px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

/* 二维码弹窗 */
.wppay-custom-modal-box .wppay-modal .erphp-wppay-qrcode {
    padding-top: 30px;
    z-index: 999;
}
.wppay-custom-modal-box .wppay-modal .erphp-wppay-qrcode:before {
    content: '';
    display: inline-block;
    height: 32px;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.wppay-custom-modal-box .wppay-modal .erphp-wppay-qrcode .tab {
    text-align: center;
    padding-top: 20px;
}
.wppay-custom-modal-box .wppay-modal .erphp-wppay-qrcode .tab a {
    font-size: 16px;
    color: #9b9b9b;
    font-weight: 700;
    text-decoration: none;
}
.wppay-custom-modal-box .wppay-modal .erphp-wppay-qrcode .tab a.active {
    color: #1296db;
    font-size: 28px;
}
.wppay-custom-modal-box .wppay-modal .erphp-wppay-qrcode .tab-list {
    margin-top: 204px;
    background: #1296db;
    height: 154px;
    border-radius: 0 0 3px 3px;
}
.wppay-custom-modal-box .wppay-modal .erphp-wppay-qrcode .tab-list .item {
    text-align: center;
    position: relative;
    top: -166px;
}
.wppay-custom-modal-box .wppay-modal .erphp-wppay-qrcode .tab-list .item .qr-code {
    border: #ddd solid 1px;
    width: 225px;
    height: 225px;
    padding: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 4px;
    margin: 0 auto;
    background: #fff;
}
.wppay-custom-modal-box .wppay-modal .erphp-wppay-qrcode .tab-list .item .qr-code img {
    width: 100%;
    height: auto;
}
.wppay-custom-modal-box .wppay-modal .erphp-wppay-qrcode .tab-list .item .account {
    margin-top: 32px;
    color: #fff;
    font-size: 15px;
}
.wppay-custom-modal-box .wppay-modal .erphp-wppay-qrcode .tab-list .item .desc {
    margin-top: 11px;
    font-size: 16px;
    color: #fff;
}

/* 易支付双通道选择按钮 */
.wppay-choice-btn {
    display: block;
    margin: 0 0 14px 0;
    padding: 14px 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
    transition: opacity 0.2s;
}
.wppay-choice-btn:hover { opacity: 0.85; }
.wppay-choice-alipay { background: #1677ff; color: #fff !important; }
.wppay-choice-wxpay  { background: #07c160; color: #fff !important; }

/* 内容付费区域 */
.erphp-wppay {
    background-color: #fbffd7;
    border: 2px dashed #1296db;
    color: #333;
    font-size: 14px;
    line-height: inherit;
    padding: 10px;
    text-align: center;
    margin: 0 auto;
    border-radius: 4px;
    position: relative;
}
.erphp-wppay .erphp-wppay-down {
    padding: 10px;
    color: #555;
}
.erphp-wppay .vip-tips {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 10px;
    color: #ff8573;
}
.erphp-wppay .erphp-wppay-down a {
    padding: 4px 15px;
    color: #fff !important;
    background-color: #54c468;
    border-radius: 4px;
    border: 1px solid #54c468;
}
.erphp-wppay .erphp-wppay-down a:hover {
    opacity: .6;
}
.erphp-wppay-success {
    border: 2px dashed #54c468;
}
.erphp-wppay b {
    color: #ff5f33;
    background: #ff9800;
    color: #fff;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin: 4px;
    padding: 4px 15px;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    letter-spacing: 0;
}
.erphp-wppay-loader {
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin: 2px 8px;
    padding: 4px 15px;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    letter-spacing: 0;
    border-radius: 15px;
    background: #1296db;
    text-decoration: none;
    border-bottom: 0 !important;
}
.erphp-wppay .erphp-wppay-loader {
    color: #ffffff;
}
.erphp-wppay .erphp-wppay-loader:hover {
    background: #ff8573;
    color: #ffffff;
}
.erphp-wppay span a {
    color: #1296db;
    padding: 5px;
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 768px) {
    .wppay-modal-box .wppay-modal {
        width: 320px;
        margin-left: -160px;
    }
    .wppay-custom-modal-box .wppay-modal {
        width: 90%;
    }
    .wppay-toast {
        padding: 10px 20px;
    }
    .wppay-toast .text {
        font-size: 16px;
        font-weight: 700;
        white-space: nowrap;
    }
}
@media screen and (max-width: 38.75em) {
    .erphp-wppay b {
        border-radius: 5px;
        font-size: 13px;
        font-weight: 600;
        display: inline-block;
        margin: 0;
        padding: 0;
        color: #ff5f33;
        background: 0 0;
    }
    .erphp-wppay-loader {
        width: 100%;
    }
}
