main .l,
main .r{
    display: inline-block;
    vertical-align: top;
}
main .r{
    width: calc(100% - 580px);
    margin-left: 20px;
}
/*页面左侧*/
main .l{
    width: 560px;
}
main .l .title{
    text-align: left;
    color: #fff;
    background: #ff9c00;
    height: 60px;
    font-size: 16px;
    line-height: 60px;
    text-indent: 24px;
}
main .l .list{
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
    height: 630px;
    background: #fff;
    overflow-y: auto;
}
main .l .list .card{
    display: inline-block;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 8px;
    user-select: none;
    transition: all .25s linear;
}
main .l .list .card:hover{
    box-shadow: 0 0 10px #c0c0c0;
}
main .l .list .card h1{
    line-height: 50px;
    background: #ff9c00;
    color: #fff;
    border-radius: 8px 8px 0 0;
    font-size: 16px;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: left;
    font-weight: bold;
}
main .l .list .card h1 span{
    float: right;
}
main .l .list .card .detail{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff7eb;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    box-sizing: border-box;
    white-space: nowrap;
    flex-wrap: nowrap;
    color: #000;
}
main .l .list .card .detail .info p{
    font-size: 20px;
}
main .l .list .card .detail .price{
    font-size: 20px;
}
main .l .list .card .detail .price em{
    color: #ff0000;
    margin-right: 5px;
}
/*页面右侧*/
main .r .top{
    position: relative;
    height: 60px;
    text-align: left;
}
main .r .top .inputinfo{
    text-align: left;
    height: 60px;
    line-height: 60px;
}
main .r .top .inputinfo span{
    font-size: 16px;
}
main .r .top .inputinfo input{
    width: 300px;
    height: 40px;
    line-height: 38px;
    font-size: 16px;
}
main .r .top .totalmoney{
    position: absolute;
    top: 0;
    right: 0;
    font-size: 24px;
    height: 60px;
    line-height: 50px;
}
main .r .top .totalmoney em{
    color: #ff0000;
    margin-right: 5px;
    font-size: 30px;
}
main .r .buycards .thead{
    padding: 0 20px;
    box-sizing: border-box;
    background: #ff9c00;
    color: #fff;
    height: 50px;
    line-height: 50px;
    white-space: nowrap;
}
main .r .buycards .tbody{
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
    background: #fff;
    height: 500px;
    overflow-y: auto;
}
main .r .buycards .cardtype,
main .r .buycards .limit,
main .r .buycards .time,
main .r .buycards .price,
main .r .buycards .cardnumber,
main .r .buycards .del{
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
}
main .r .buycards .cardtype{
    width: 25%;
}
main .r .buycards .limit{
    width: 10%;
}
main .r .buycards .time{
    width: 10%;
}
main .r .buycards .price{
    width: 10%;
}
main .r .buycards .cardnumber{
    width: 40%;
}
main .r .buycards .del{
    width: 5%;
}
main .r .buycards .tbody .row{
    border: 1px solid #cbcbcb;
    border-radius: 5px;
    display: inline-block;
    width: 100%;
    margin-top: 20px;
    white-space: nowrap;
}
main .r .buycards .tbody .cardnumber{
    border-right: 1px solid #cbcbcb;
    box-sizing: border-box;
    height: 60px;
    line-height: 60px;
}
main .r .buycards .tbody .cardnumber a{
    display: inline-block;
    background: #2db4c0;
    color: #fff;
    width: 128px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    margin: 10px 0;
}
main .r .buycards .tbody .cardnumber a:hover{
    box-shadow: 2px 3px 5px #c1c1c1;
}
main .r .buycards .tbody .del{
    font-size: 0;
}
main .r .buycards .tbody .del a{
    width: 20px;
    height: 18px;
    display: inline-block;
    background: url(../images/icon.png) no-repeat -568px -186px;
    vertical-align: middle;
    transition: all 0s;
}
main .r .buycards .tbody .del a:hover{
    background-position: -598px -186px;
}
main .r .option{
    margin-top: 20px;
}
main .r .option a{
    width: 200px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    background: #15c2b0;
    color: #fff;
    display: inline-block;
    vertical-align: top;
    margin: 0 20px;
    border-radius: 5px;
}
main .r .option a.cancel{
    background: #9e9e9e;
}
/*结算弹窗*/
.settlement{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    display: none;
}
.showsettlement{
    display: block;
}
.settlement .box{
    position: relative;
    width: calc(100% - 120px);
    height: calc(100% - 60px);
    top: 30px;
    background: #f0f0f0;
    margin: 0 auto;
}
.settlement .box .title{
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    color: #fff;
    background: #ff9c00;
    text-align: left;
    text-indent: 24px;
}
.settlement .box .card,
.settlement .box .pay{
    display: inline-block;
    vertical-align: top;
    margin-top: 20px;
    height: calc(100% - 100px);
}
.settlement .box .card{
    width: calc(100% - 640px);
}
.settlement .box .pay{
    width: 580px;
    margin-left: 20px;
}
.settlement .box .card .remark .itemname,
.settlement .box .card .remark .iteminfo{
    display: inline-block;
    vertical-align: top;
}
.settlement .box .card .remark .itemname {
    width: 80px;
    font-size: 16px;
    padding-top: 8px;
    text-align: right;
}
.settlement .box .card .remark .iteminfo {
    width: calc(100% - 80px);
}
.settlement .box .card .remark textarea{
    height: 80px;
    min-height: auto;
    padding: 8px 10px;
    line-height: 22px;
}
.settlement .box .card .tel{
    font-size: 16px;
    line-height: 60px;
    text-align: left;
}
.settlement .box .cards,
.settlement .box .paytype,
.settlement .box .money{
    background: #fff;
}
.settlement .box .cards{
    height: calc(100% - 140px);
}
.settlement .box .cards .thead{
    background: #ff9c00;
    color: #fff;
    line-height: 60px;
}
.settlement .box .cards .thead,
.settlement .box .cards .tbody{
    padding: 0 20px;
    box-sizing: border-box;
}
.settlement .box .cards .tbody{
    padding-bottom: 20px;
    height: calc(100% - 60px);
    overflow-y: auto;
}
.settlement .box .cards .tbody .row{
    border: 1px solid #d3d3d3;
    box-sizing: border-box;
    width: 100%;
    display: inline-block;
    margin-top: 20px;
    padding: 10px 0;
}
.settlement .box .cards .thead div,
.settlement .box .cards .tbody .row div{
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
}
.settlement .box .cards .cardtype{
    width: 25%;
}
.settlement .box .cards .cardnumber{
    width: 25%;
}
.settlement .box .cards .limittime{
    width: 15%;
}
.settlement .box .cards .num{
    width: 15%;
}
.settlement .box .cards .total{
    width: 20%;
}
.settlement .box .paytype{
    height: calc(100% - 363px);
}
.settlement .box .paytype .list{
    padding: 10px 20px;
    box-sizing: border-box;
    height: calc(100% - 60px);
    overflow-y: auto;
}
.settlement .box .paytype .list .paylist,
.settlement .box .paytype .list .thirdlist{
    display: none;
}
.settlement .box .paytype .list .checkpay{
    display: block;
}
.settlement .box .paytype .list .radio{
    border: 1px solid #fff;
    padding: 10px;
    box-sizing: border-box;
    cursor: pointer;
}
.settlement .box .paytype .list .checked{
    border-color: #ff9c00;
    background: #faecd6;
}
.settlement .box .paytype .list .radio .payname,
.settlement .box .paytype .list .radio span{
    display: inline-block;
    vertical-align: middle;
}
.settlement .box .paytype .list .radio .payname{
    font-size: 20px;
    width: 190px;
    text-align: left;
}
.settlement .box .paytype .list .radio .payname i{
    width: 47px;
    height: 40px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
.settlement .box .paytype .list .radio .payname i.icon-wx{
    background: url(../images/icon.png) no-repeat -473px -125px;
}
.settlement .box .paytype .list .radio .payname i.icon-zfb{
    background: url(../images/icon.png) no-repeat -641px -125px;
}
.settlement .box .paytype .list .radio .payname i.icon-pos{
    background: url(../images/icon.png) no-repeat -586px -125px;
}
.settlement .box .paytype .list .radio .payname i.icon-xj{
    background: url(../images/icon.png) no-repeat -751px -125px;
}
.settlement .box .paytype .list .radio span{
    font-size: 26px;
    border: 1px solid #b5b5b5;
    border-radius: 5px;
    text-align: right;
    padding: 5px 10px;
    width: calc(100% - 250px);
    line-height: 38px;
    color: #e41818;
    background: #fff;
}
.settlement .box .money{
    margin-top: 20px;
    position: relative;
}
.settlement .box .money .item{
    padding-top: 20px;
}
.settlement .box .money .itemname,
.settlement .box .money .iteminfo{
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
}
.settlement .box .money .itemname{
    width: 150px;
    text-align: right;
}
.settlement .box .money .iteminfo{
    width: calc(100% - 150px);
    box-sizing: border-box;
    padding-left: 50px;
    text-align: left;
}
.settlement .box .money .iteminfo input{
    height: 50px;
    line-height: 48px;
    width: 280px;
    margin-left: -16px;
}
.settlement .box .money .iteminfo em,
.settlement .box .money .iteminfo input{
    font-size: 26px;
    color: #e41818;
    margin-right: 10px;
}
.settlement .box .money .info{
    height: 173px;
}
.settlement .box .money .btn{
    margin-top: 30px;
    padding-bottom: 20px;
}
.settlement .box .money .btn a{
    width: 260px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    background: #15c2b0;
    color: #fff;
    display: inline-block;
    vertical-align: top;
    margin: 0 10px;
    border-radius: 3px;
}
.settlement .box .money .btn a.cancel{
    background: #9e9e9e;
}
.settlement .box .money .qrcodepay{
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.settlement .box .money .qrcodepay input{
    border: none;
    background: none;
    box-shadow: none;
}
/*挂账应收*/
.settlement .box .gzys{
    position: absolute;
    width: 600px;
    top: 50%;
    left: 50%;
    margin-left: -300px;
    transform: translateY(-50%);
    box-shadow: 0 0 15px #aaa;
    background: #fff;
    display: none;
}
.settlement .box .showgzys{
    display: block;
}
.settlement .box .gzys .title{
	background: #ffa60c;
	color: #fff;
	font-size: 18px;
	height: 50px;
	line-height: 50px;
	text-align: left;
	text-indent: 24px;
    position: relative;
}
.settlement .box .gzys .title .close{
	position: absolute;
	right: 17px;
	top: 17px;
	width: 18px;
	height: 18px;
	line-height: 50px;
	font-size: 0;
	background: url(../images/icon.png) no-repeat -637px -186px;
}
.settlement .box .gzys .content .item{
    width: 100%;
    display: inline-block;
    margin-top: 30px;
}
.settlement .box .gzys .content .itemname,
.settlement .box .gzys .content .iteminfo{
    display: inline-block;
    vertical-align: top;
}
.settlement .box .gzys .content .itemname{
    font-size: 16px;
    line-height: 40px;
    width: 150px;
    text-align: right;
}
.settlement .box .gzys .content .iteminfo{
    width: 450px;
    text-align: left;
    position: relative;
}
.settlement .box .gzys .content input,
.settlement .box .gzys .content textarea{
    width: 300px;
    border-radius: 3px;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 16px;
}
.settlement .box .gzys .content input{
    height: 40px;
    line-height: 40px;
}
.settlement .box .gzys .content textarea{
    padding: 10px;
    min-height: 120px;
}
.settlement .box .gzys .content .iteminfo .gzyslist{
    position: absolute;
    left: 0;
    top: 40px;
    background: #fff;
    box-shadow: 0 0 5px #aaa;
    z-index: 1;
    width: 300px;
    max-height: 160px;
    overflow-y: auto;
    display: none;
}
.settlement .box .gzys .content .iteminfo .showgzyslist{
    display: block;
}
.settlement .box .gzys .content .iteminfo .gzyslist li{
    cursor: pointer;
    font-size: 16px;
    line-height: 40px;
    list-style: none;
    padding: 0 10px;
    box-sizing: border-box;
}
.settlement .box .gzys .content .iteminfo .gzyslist li:hover,
.settlement .box .gzys .content .iteminfo .gzyslist li.active{
    background: #15c2b0;
    color: #fff;
}
.settlement .box .gzys .btn{
    margin-top: 30px;
    padding-bottom: 30px;
}
.settlement .box .gzys .btn a{
    font-size: 16px;
    background: #ff9c00;
    color: #fff;
    border-radius: 3px;
    width: 120px;
    line-height: 40px;
    margin: 0 30px;
    display: inline-block;
}
.settlement .box .gzys .btn a.cancel{
    background: #9e9e9e;
}
/*卡号录入*/
.khlr{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    left: 0;
    top: 0;
    z-index: 50;
    display: none;
}
.showkhlr{
    display: block;
}
.khlr .box{
    position: relative;
    width: 500px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}
.khlr .box .title{
    background: #ff9c00;
    color: #fff;
    height: 50px;
    line-height: 50px;
    text-align: left;
    font-size: 16px;
    padding: 0 10px;
    box-sizing: border-box;
}
.khlr .box .content h1{
    font-size: 16px;
    line-height: 50px;
}
.khlr .box .content .item .itemname,
.khlr .box .content .item .inputbox{
    display: inline-block;
    vertical-align: middle;
}
.khlr .box .content .item .itemname{
    font-size: 16px;
}
.khlr .box .content .item .inputbox input{
    height: 40px;
    width: 300px;
}
.khlr .box .content .tips{
    font-size: 16px;
    height: 50px;
    line-height: 50px;
}
.khlr .box .btn{
    padding-bottom: 30px;
}
.khlr .box .btn a{
    font-size: 16px;
    background: #ff9c00;
    color: #fff;
    border-radius: 3px;
    width: 120px;
    line-height: 40px;
    margin: 0 30px;
    display: inline-block;
}
.khlr .box .btn a.cancel{
    background: #9e9e9e;
}
/*支付成功提示*/
.paysuccess{
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .5);
}
.paysuccess .box{
    background: #fff;
    border-radius: 10px;
    position: relative;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    width: 680px;
    height: 480px;
}
.paysuccess .box i{
    width: 158px;
    height: 160px;
    display: inline-block;
    background: url(../images/icon.png) no-repeat 0 -235px;
    margin: 60px 0 40px 0;
}
.paysuccess .box h1{
    font-size: 40px;
    padding-bottom: 30px;
}
.paysuccess .box p{
    font-size: 18px;
    line-height: 40px;
}
.paysuccess .box .btn a{
    font-size: 20px;
    background: #ff9c00;
    color: #fff;
    border-radius: 30px;
    width: 160px;
    line-height: 55px;
    margin: 0 30px;
    display: inline-block;
}
.paysuccess .box .btn a.cancel{
    background: #c0c0c0;
}