.modal{
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.modal-content{
    margin: 8% auto;
    animation-name: modalopen;
    animation-duration: 1s;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 5px 25.65px 1.35px rgba(0, 0, 0, 0.09);
    width: 50%;
    height: 65%;
    border-color: white;
}
.modal-header{
    border-radius: 10px 10px 0 0;
    background-color: rgb(236, 243, 254);
    width: 100%;
    height: 10%;
}
.closeBtn{
    border-radius: 50%;
    width: 37px;
    height: 37px;
    left: 97%;
    position: absolute;
    top: -4%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2px 1px 0 0;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 5px 25.65px 1.35px rgba(0, 0, 0, 0.09);
}
.closeBtn p{
    color: rgb(172, 172, 172);
    font-size: 30px;
    /*padding: 2px 1px 0 0;*/
    margin: 0;
}

.closeBtn p:hover,.closeBtn p:focus{
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
@keyframes modalopen{
    from {opacity: 0}
    to {opacity: 1}
}

.modal .modal-header .modal-header-title{
    display: flex;
    align-items: center;
}
.modal-header .modal-header-title p{
    margin-left: 20px;
}
.modal-header .modal-header-title p:nth-child(1){
    font-size: 18px;
    color: rgb(51, 51, 51);
    line-height: 1.333;
}
.modal-header .modal-header-title p:nth-child(2){
    font-size: 14px;
    color: rgb(102, 102, 102);
    line-height: 1.714;
}

.modal-body{
    padding: 10px;
    display: flex;
    align-items: center;
    height: 90%;
}
.modal-body .qr-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 50%;
    border-right: 1px solid rgb(239, 239, 239);
}
.modal-body .qr-box img{
    width: 135px;
    height: 135px;
}
.modal-body .tips-box{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#alipay-qrcode{
    width: 135px;
    height: 135px;
}
.modal-body .qr-box p:nth-child(1){
    font-size: 20px;
    color: rgb(51, 51, 51);
    line-height: 1.2;

    margin-top: 16px;
}
.modal-body .qr-box p:nth-child(2){
    font-size: 14px;
    color: rgb(102, 102, 102);
    line-height: 1.714;

    margin-top: 5px;
}
.modal-body .qr-box p:nth-child(3){
    font-size: 20px;
    color: rgb(254, 41, 41);
    line-height: 1.2;

    margin-top: -10px;
}
.modal-body .qr-box p:nth-child(6){
    font-size: 14px;
    color: rgb(102, 102, 102);
    line-height: 1.714;

    margin-top: 12px;
}
.modal-body .qr-box p:nth-child(7){
    font-size: 14px;
    color: rgb(102, 102, 102);
    line-height: 1.714;

    display: none;
}
.modal-body .qr-box p:nth-child(7) a{
    color: #3381FA;
}

.modal-body .qr-box .discount{
    font-size: 12px;
    color: #ab94dc;
    margin-bottom: 5px;
    display: none;
}

@media screen and (max-width: 992px){
    .modal{
        top: 100px;
    }
    .modal-content{
        width: 85%;
    }
    .modal-header .modal-header-title p:nth-child(1){
        margin-left: 0;
        font-size: 16px;
    }
    .modal-header .modal-header-title p:nth-child(2){
        display: none;
    }
    .modal .modal-body .tips-box{
        display: none;
    }
    .modal .modal-body .qr-box{
        border: none;
        width: 100%;
    }
    .modal .modal-header .closeBtn{
        left: 93%;
    }
}