
.main .paybox {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none
}

.main .paybox .table {
    width: 590px;
    height: 430px;
    position: relative;
    top: calc(50% - 215px);
    left: calc(50% - 295px);
    background: #fff;
    -webkit-animation: show 0.4s linear forwards;
    animation: show 0.4s linear forwards
}

.main .paybox .table > h6 {
    width: 100%;
    height: 46px;
    background: #f5f5f5;
    border-bottom: 1px solid #ededed;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative
}

.main .paybox .table > h6 > span {
    display: block;
    position: absolute;
    height: 100%;
    line-height: 46px;
    text-align: left;
    left: 20px;
    color: #333;
    font-size: 16px
}

.main .paybox .table > h6 > i {
    display: block;
    position: absolute;
    right: 10px;
    color: #666;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 40px;
    font-weight: 500;
    font-style: normal;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    cursor: pointer
}

.main .paybox .table > .select {
    width: 100%;
    height: 55px
}

.main .paybox .table > .select > p {
    float: left;
    width: 50%;
    text-align: center;
    height: 55px;
    line-height: 55px;
    font-size: 16px;
    color: #333333;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    background: #f5f5f5;
    border: 1px solid #ededed
}

.main .paybox .table > .select > p .more {
    display: inline-block;
    vertical-align: middle;
    background: -webkit-gradient(linear, left top, right top, from(#fe5f52), to(#fc4574));
    background: linear-gradient(to right, #fe5f52, #fc4574);
    height: 16px;
    line-height: 16px;
    padding: 0 5px;
    text-align: center;
    position: relative;
    font-size: 12px;
    color: #fff;
    border-radius: 2px;
    margin-left: 5px
}

.main .paybox .table > .select > p .more::after {
    content: "";
    display: block;
    position: absolute;
    border: 4px solid transparent;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-right-color: #fe5f52;
    left: -8px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

.main .paybox .table > .select > p.active {
    background: #fff;
    border-bottom: none;
    border-right: none
}

.main .paybox .table > p {
    width: 430px;
    height: 45px;
    border-radius: 5px;
    background: #f5f5f5;
    line-height: 45px;
    margin: 36px auto 0;
    position: relative;
    font-size: 16px;
    color: #333
}

.main .paybox .table > p > span {
    display: block;
    height: 100%;
    position: absolute;
    left: 26px
}

.main .paybox .table > p > b {
    display: block;
    height: 100%;
    font-weight: 500;
    position: absolute;
    right: 26px;
    color: #e65a5e
}

.main .paybox .table .code {
    width: 460px;
    height: 200px;
    margin: 45px auto 0;
    position: relative
}

.main .paybox .table .code .erweima {
    width: 135px;
    height: 172px;
    position: absolute;
    left: 0
}

.main .paybox .table .code .erweima > img {
    display: block;
    width: 186px;
    height: 186px;
    margin: 0 auto
}

.main .paybox .table .code .erweima > iframe {
    display: block;
    width: 126px;
    height: 126px;
    margin: 0 auto
}

.main .paybox .table .code .erweima > iframe img {
    display: block;
    width: 100%;
    height: 100%
}

.main .paybox .table .code .text {
    width: 220px;
    position: absolute;
    right: 0;
    text-align: left
}

.main .paybox .table .code .text > .list-one {
    font-size: 14px;
    color: #333333;
    text-align: left
}

.main .paybox .table .code .text > .list-two {
    font-size: 14px;
    color: #777777;
    text-align: left
}

.main .paybox .table .code .text > .list-three {
    font-size: 14px;
    color: #333333;
    text-align: left
}

.main .paybox .table .code .text > .list-three > span {
    font-size: 26px;
    color: #ea575c
}

.main .paybox .table .code .text > .list-three > span > span {
    font-size: 14px
}

.main .paybox .table .code .text > .list-three > span > .now_money {
    font-size: 26px
}

.main .paybox .table .code .text > .bottom-img {
    font-size: 12px;
    color: #333;
    width: 135px;
    height: 46px;
    position: relative
}

.main .paybox .table .code .text > .bottom-img > img {
    display: block;
    width: 28px;
    height: 28px;
    position: absolute;
    top: calc(50% - 14px)
}

.main .paybox .table .code .text > .bottom-img > span {
    display: block;
    position: absolute;
    height: 40px;
    right: 0;
    top: 5px;
    letter-spacing: 2px
}

.main .paybox .table .code .text > :nth-child(2) {
    margin-top: 5px
}

.main .paybox .table .code .text > :nth-child(3) {
    margin-top: 20px
}

.main .paybox .table .code .text > :nth-child(5) {
    margin-top: 10px
}

.main .paybox .table .code .text > :nth-child(6) {
    margin-top: 6px
}

.main .paybox .table .code > img {
    display: block;
    width: 158px;
    height: 144px;
    position: absolute;
    right: 0;
    top: 15px
}

.main .paybox .table > .voucher {
    width: 454px;
    margin: 0 auto
}

.main .paybox .table > .voucher .types {
    width: 100%;
    height: 50px;
    margin-top: 5px;
    position: relative
}

.main .paybox .table > .voucher .types.member {
    margin-top: 0;
    margin-bottom: 80px
}

.main .paybox .table > .voucher .types.member .meal {
    width: auto;
    height: 100%;
    position: absolute;
    left: 110px
}

.main .paybox .table > .voucher .types.member .meal > a {
    display: inline-block;
    vertical-align: middle;
    width: 180px;
    height: 100%;
    border: 1px solid #3e4b64;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden
}

.main .paybox .table > .voucher .types.member .meal > a > span {
    display: none
}

.main .paybox .table > .voucher .types.member .meal > a.act {
    border: 1px solid #0ebae5;
    background: #142b3d;
    -webkit-box-shadow: 0 0 20px rgba(14, 186, 229, 0.4) inset;
    box-shadow: 0 0 20px rgba(14, 186, 229, 0.4) inset
}

.main .paybox .table > .voucher .types.member .meal > a.act > span {
    display: block;
    width: 40px;
    height: 20px;
    text-align: center;
    line-height: 25px;
    color: #fff;
    background: #0ebae5;
    position: absolute;
    top: -40px;
    right: -20px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    font-size: 14px;
    -webkit-animation: isChoice 0.3s linear forwards;
    animation: isChoice 0.3s linear forwards;
    opacity: 0
}

.main .paybox .table > .voucher .types.member .meal > a.act > span > em {
    display: block;
    font-style: normal;
    -webkit-transform: rotate(-35deg);
    transform: rotate(-35deg)
}

.main .paybox .table > .voucher .types.member .meal > a:nth-child(2) {
    margin-left: 28px
}

.main .paybox .table > .voucher .types .name {
    color: #303133;
    font-size: 16px;
    width: 70px;
    text-align: right;
    height: 100%;
    line-height: 50px;
    position: absolute;
    left: 0;
    letter-spacing: 1px
}

.main .paybox .table > .voucher .types .reduce {
    display: block;
    position: absolute;
    left: 415px;
    height: 50px;
    line-height: 50px;
    color: #e65a5e;
    text-align: center
}

.main .paybox .table > .voucher .types .pay {
    width: auto;
    height: 100%;
    position: absolute;
    left: 110px
}

.main .paybox .table > .voucher .types .pay > a {
    display: inline-block;
    vertical-align: middle;
    width: 180px;
    height: 100%;
    border: 1px solid #3e4b64;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden
}

.main .paybox .table > .voucher .types .pay > a > span {
    display: none
}

.main .paybox .table > .voucher .types .pay > a.act {
    border: 1px solid #0ebae5;
    background: #142b3d;
    -webkit-box-shadow: 0 0 20px rgba(14, 186, 229, 0.4) inset;
    box-shadow: 0 0 20px rgba(14, 186, 229, 0.4) inset
}

.main .paybox .table > .voucher .types .pay > a.act > span {
    display: block;
    width: 40px;
    height: 20px;
    text-align: center;
    line-height: 25px;
    color: #fff;
    background: #0ebae5;
    position: absolute;
    top: -40px;
    right: -20px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    font-size: 14px;
    -webkit-animation: isChoice 0.3s linear forwards;
    animation: isChoice 0.3s linear forwards;
    opacity: 0
}

.main .paybox .table > .voucher .types .pay > a.act > span > em {
    display: block;
    font-style: normal;
    -webkit-transform: rotate(-35deg);
    transform: rotate(-35deg)
}

.main .paybox .table > .voucher .types .pay > a:nth-child(2) {
    margin-left: 28px
}

.main .paybox .table > .voucher .types .pay > a:nth-child(2) > i {
    background: url(../img/buy/alipay.png) no-repeat center;
    background-size: contain
}

.main .paybox .table > .voucher .types .pay > a > i {
    display: inline-block;
    vertical-align: middle;
    width: 26px;
    height: 26px;
    background: url(../img/buy/wechat.png) no-repeat center;
    background-size: contain;
    margin-right: 10px
}

.main .paybox .table > .voucher .types .coupon {
    width: 295px;
    height: 35px;
    border: 1px solid #cccccc;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    left: 93px;
    top: 5px;
    position: absolute;
    font-size: 0;
    color: #fff;
    cursor: pointer;
    background: #edf0f2
}

.main .paybox .table > .voucher .types .coupon > span {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    letter-spacing: 1px;
    width: 220px;
    height: 35px;
    text-align: left;
    line-height: 35px;
    text-indent: 20px;
    color: #303133
}

.main .paybox .table > .voucher .types .coupon > i {
    display: inline-block;
    vertical-align: middle;
    width: 12px;
    height: 12px;
    border-width: 0 0 2px 2px;
    margin-left: 40px;
    margin-top: 5px;
    color: #000
}

.main .paybox .table > .voucher .types .slide {
    width: 295px;
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    left: 90px;
    top: 55px;
    background: #f2f5f7;
    position: absolute;
    overflow: hidden;
    z-index: 1001;
    display: none
}

.main .paybox .table > .voucher .types .slide .scroll {
    width: 310px;
    height: auto;
    max-height: 150px;
    overflow-y: scroll
}

.main .paybox .table > .voucher .types .slide .scroll > span {
    display: block;
    width: 100%;
    height: 50px;
    color: #909399;
    line-height: 50px;
    text-align: left;
    text-indent: 20px;
    letter-spacing: 1px;
    cursor: pointer
}

.main .paybox .table > .voucher .types .slide .scroll > span:hover {
    background: #e6e9eb
}

.main .paybox .table > .voucher .types .show {
    width: 295px;
    height: 50px;
    font-weight: 600;
    font-size: 30px;
    color: #e65a5e;
    position: absolute;
    text-align: left;
    line-height: 50px;
    left: 110px
}

.main .paybox .table > .voucher .types .show > span {
    font-size: 32px
}
