main .l,
main .r{
    display: inline-block;
    vertical-align: top;
}
main .l{
    width: calc(100% - 940px);
}
main .r{
    width: 920px;
    margin-left: 20px;
}
/*页面左侧*/
main .inputinfo{
    text-align: left;
    position: relative;
}
main .inputinfo .box{
    display: inline-block;
    /* white-space: nowrap; */
}
main .inputinfo .box .item{
    display: inline-block;
    vertical-align: top;
    margin-left: 20px;
}
main .inputinfo .box .item:first-of-type{
    margin-left: 0;
}
main .inputinfo .box .item .itemname,
main .inputinfo .box .item .iteminfo{
    display: inline-block;
    vertical-align: top;
}
main .inputinfo .box .item .itemname{
    font-size: 16px;
    text-align: left;
    line-height: 40px;
}
main .l .inputinfo .box .item .iteminfo{
    width: 300px;
}
main .r .inputinfo .box .item .iteminfo{
    width: 150px;
}
main .r .inputinfo .box .item .idnum{
    width: 300px;
}
main .inputinfo .box .item .iteminfo input{
    width: 100%;
    height: 40px;
    line-height: 38px;
    font-size: 16px;
}
main .inputinfo .box .btn{
    display: inline-block;
    text-align: center;
}
main .inputinfo .box .btn a{
    width: 120px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    font-size: 16px;
    background: #15c2b0;
    color: #fff;
    border-radius: 5px;
    margin-left: 20px;
    overflow: hidden;
}
main .inputinfo .box .btn a.reset{
    background: #e5e5e5;
    color: #333;
}
main .inputinfo .sfzydq{
    margin-top: 17px;
    height: 23px;
}
main .orderinfo{
    text-align: left;
    white-space: nowrap;
}
main .orderinfo .item{
    font-size: 16px;
    line-height: 60px;
    display: inline-block;
    vertical-align: top;
    min-width: 200px;
    margin-right: 30px;
}
main .order .thead{
    background: #ff9c00;
    color: #fff;
    line-height: 60px;
    white-space: nowrap;
}
main .order .tbody{
    height: 639px;
    overflow-y: auto;
    background: #fff;
}
main .order .thead,
main .order .tbody{
    padding: 0 15px;
    box-sizing: border-box;
}
main .order .cardinfo{
    width: calc(100% - 100px);
}
main .order .option{
    width: 100px;
    font-size: 16px;
}
main .order .tbody .option{
    font-size: 0;
}
main .order .tbody .option .checkbox{
    width: 58px;
    height: 58px;
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    border: 1px solid #b1b1b1;
    border-radius: 5px;
    background: #f5f5f5;
    cursor: pointer;
}
main .order .tbody .option .checked{
    background: url(../images/icon.png) no-repeat -461px -168px #15c2b0;
    border-color: #15c2b0;
}
main .order .tbody .row{
    padding-top: 20px;
    line-height: 58px;
}
main .order .tbody .cardinfo{
    border: 1px solid #b1b1b1;
    box-sizing: border-box;
}
main .order .cardinfo,
main .order .option{
    display: inline-block;
    vertical-align: middle;
}
main .order .cardtype,
main .order .cardnum,
main .order .time,
main .order .date{
    font-size: 16px;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
}
main .order .cardtype{
    width: 30%;
}
main .order .cardnum{
    width: 30%;
}
main .order .time{
    width: 20%;
}
main .order .date{
    width: 20%;
}
main .order .cardnum a{
    color: #ff5400;
    text-decoration: underline;
}
main .portrait{
    margin-top: 20px;
}
main .portrait .title{
    font-size: 16px;
    background: #ff9c00;
    color: #fff;
    border-radius: 5px 5px 0 0;
    text-indent: 30px;
    line-height: 60px;
    text-align: left;
}
main .portrait .detail{
    background: #fff;
    padding: 10px 0;
    border-radius: 0 0 5px 5px;
}
main .portrait .detail .videobox{
    width: 450px;
    height: 374px;
    display: inline-block;
    vertical-align: top;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}
main .portrait .detail .videobox .video{
    width: 450px;
    height: 374px;
}
main .portrait .detail .videobox .video img{
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
main .portrait .detail .videobox .video video{
    width: 100%;
    height: 100%;
}
main .portrait .detail .videobox .videomask{
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}
main .portrait .detail .camera .videomask{
    display: block;
}
main .portrait .detail .photobox{
    width: 317px;
    display: inline-block;
    vertical-align: top;
    margin-left: 60px;
}
main .portrait .detail .photobox .photo{
    width: 317px;
    height: 255px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    position: relative;
}
main .portrait .detail .photobox .photo img{
    width: 100%;
    position: absolute;
}
main .portrait .detail .photobox .photo canvas{
    width: 450px;
}
main .portrait .detail .photobox .photo .photomask{
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../images/layer-rxcj.png) no-repeat center center;
    display: none;
    left: 0;
    top: 0;
}
main .portrait .detail .photobox .getphoto .photomask{
    display: block;
}
main .portrait .detail .photobox .photo .photomask i{
    width: 35px;
    height: 35px;
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: url(../images/icon.png) no-repeat -733px -181px rgba(0, 0, 0, .5);
    border-radius: 3px;
}
main .portrait .detail .photobox .btns{
    margin-top: 15px;
}
main .portrait .detail .photobox .btns a{
    width: 146px;
    line-height: 40px;
    border: 1px solid #15c2b0;
    color: #fff;
    background: #15c2b0;
    border-radius: 5px;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
}
main .portrait .detail .photobox .btns a.reset{
    background: #d5d5d5;
    margin-right: 21px;
    border-color: #c7c7c7;
    color: #333;
}
main .portrait .detail .photobox .btns a.disable{
    background: #ccc;
    cursor: default;
    border-color: #ccc;
}
main .portrait .detail .photobox .btns a.upload{
    width: 100%;
}
main .portrait .detail .photobox .state{
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    margin-top: 10px;
    color: #fff;
    background: #15c2b0;
    border-radius: 5px;
}
main .carddetail{
    margin-top: 10px;
}
main .carddetail .table,
main .carddetail .btn{
    display: inline-block;
    vertical-align: top;
}
main .carddetail .table{
    width: 820px;
}
main .carddetail .table .thead{
    background: #ff9c00;
    color: #fff;
    border-radius: 5px 5px 0 0;
    line-height: 60px;
}
main .carddetail .table .tbody{
    background: #fff;
    border-radius: 0 0 5px 5px;
    box-sizing: border-box;
    padding-top: 10px;
    height: 214px;
    overflow-y: auto;
}
main .carddetail .table .row{
    box-sizing: border-box;
    padding-left: 30px;
    position: relative;
}
main .carddetail .table .tbody .row{
    transition: all .25s linear;
    line-height: 50px;
}
main .carddetail .table .tbody .row:hover{
    box-shadow: 0px 0px 5px #ccc;
}
main .carddetail .table .tbody .row .radiobox{
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border: 1px solid #c1c1c1;
    border-radius: 50%;
    position: absolute;
    left: 20px;
    top: 13px;
    cursor: pointer;
    line-height: 0px;
}
main .carddetail .table .tbody .row .checked{
    border-color: #15c2b0;
}
main .carddetail .table .tbody .row .checked i{
    width: 12px;
    height: 12px;
    display: inline-block;
    background: #15c2b0;
    border-radius: 50%;
    margin-top: 5px;
}
main .carddetail .table .tbody .hasphoto{
    color: #c63e2c;
}
main .carddetail .table .tbody .get{
    color: #15c2b0;
}
main .carddetail .table .tbody .option a{
    width: 20px;
    height: 18px;
    display: inline-block;
    background: url(../images/icon.png) no-repeat -568px -186px;
    vertical-align: middle;
    transition: all 0s;
}
main .carddetail .table .tbody .option a:hover{
    background-position: -598px -186px;
}
main .carddetail .table .num,
main .carddetail .table .name,
main .carddetail .table .name2,
main .carddetail .table .idnum,
main .carddetail .table .hasphoto,
main .carddetail .table .option{
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
}
main .carddetail .table .tbody .option{
    font-size: 0;
}
main .carddetail .table .num{
    width: 8%;
}
main .carddetail .table .name,main .carddetail .table .name2{
    width: 16%;
}
main .carddetail .table .idnum{
    width: 25%;
}
main .carddetail .table .hasphoto{
    width: 15%;
}
main .carddetail .table .option{
    width: 15%;
}
main .carddetail .btn{
    width: 80px;
    margin-left: 20px;
}
main .carddetail .btn a{
    width: 100%;
    line-height: 130px;
    border: 1px solid #15c2b0;
    color: #fff;
    background: #15c2b0;
    border-radius: 5px;
    display: block;
    font-size: 18px;
    box-sizing: border-box;
}
main .carddetail .btn  a.cancel{
    background: #d5d5d5;
    border-color: #c7c7c7;
    color: #333;
    margin-top: 10px;
}
/*卡号录入*/
.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;
}
/*照片上传、激活结果展示*/
.result{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    left: 0;
    top: 0;
    z-index: 51;
}
.result .box{
    position: relative;
    width: 500px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 50px;
}
.result .box .icon{
    width: 158px;
    height: 160px;
    display: inline-block;
    background: url(../images/icon.png) no-repeat 0 -235px;
    margin: 60px 0 30px 0;
}
.result .box .fail{
    background: url(../images/icon.png) no-repeat -396px -235px;
}
.result .box h1{
    font-size: 40px;
}
.result .box .btn a{
    width: 160px;
    line-height: 50px;
    font-size: 20px;
    display: inline-block;
    border-radius: 25px;
    color: #fff;
    background: #15c2b0;
    margin-top: 20px;
}
.result .box .btn a:hover{
    font-size: 22px;
    box-shadow: 0 5px 5px #c1c1c1;
}
