@media screen and (min-width: 1001px) {
    .orderdetail{
        width: 46%!important;
    }
    .postorder .price{
        width: 35%!important;
    }
    .orderdetail .orderinfo{
        width: 67%!important;
    }
}
.topnav{
    text-align: center;
    color: #aaa;
    text-transform: uppercase;        margin-bottom: 50px;
}
.settingnav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.settingnav h3{
    font-size: 40px;
}
.settingnav a{
    color: #0a76ca;
    text-transform: uppercase;
}
.settingnav a img{
    width: 18px;
    vertical-align: initial;
    margin-right: 10px;
}
.th{
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;margin-top:40px;
    margin-bottom:20px;
    padding-left:12px ;
    padding-right: 12px;
}
.th div{
    color: #aaa;
}
.th div:first-child{
    width: 650px;
}
.th div:nth-child(2){
    width: 270px;
}
.th div:nth-child(3){
    width: 240px;
}
.th div:nth-child(4){
    width: 210px;
}
.th div:last-child{
    width: 80px;
}
input[type=checkbox]:checked::after{
    background: #2da0f9;
}
.postorder{
    padding-left: 10px;
    margin-bottom: 30px;overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}
.postorder a.img{
    float: left;
    width: 120px;
}
.postorder a.img img{
    border-radius: 4px;
}
.postorder .price{
    float: right;
    width: 510px;
    display: flex;
    justify-content: space-between;
    margin-right: 40px;
}
.postorder .price a{
    color: #0a76ca;
    text-align: center;
    font-size: 14px;
}
.maxv{
    margin-top: 8px;
    margin-bottom: 12px;
}
.orderdetail{
    width: 650px;
    float: left;
    margin-left: 20px;
    margin-bottom: 6px;
    display: flex;
}
.orderdetail .pkg{
    font-family: RobotoBold;
}
.orderdetail  .orderinfo{
    margin-bottom: 14px;
    width: 440px;
    margin-right: 60px;
}
.orderdetail  .orderinfo p{
    overflow: hidden;
    /* height: 40px; */   line-height: 1.32;

    margin-bottom: 12px;
}
.Uprice{
    vertical-align: middle;
}
.Uprice text{
    color: #aaa;
    text-decoration: line-through;
    font-size: 14px;
}
.giftforfriend{
    margin-left: 140px;
    clear: both;
    display: flex;
    align-items: center;
}
.giftforfriend .switch{
    display: flex;
    align-items: center;
}
.giftforfriend .switch span{
    font-size: 14px;
    padding-right: 14px;
    color: #aaa;}
.giftforfriend text{
    font-size: 14px;
    cursor: pointer;
}
.giftforfriend label{
    width: 40px;
    cursor: pointer;
    height: 24px;
    background: #fff;
    padding: 2px;
    display: block;
    border-radius: 20px;
    border:1px solid #dfdfdf;
}
.giftforfriend label r{
    display: block;
    border-radius: 20px;
    width: 18px;
    background: #fff;
    height: 18px;
    left: 1px;
    box-shadow: 0 0 2px 1px  rgba(40,40,40,0.2);
}
.giftforfriend input[type=checkbox]{
    display: none;}
.giftforfriend input:checked +label{
    background-color: #3ad359;
    border: none;
}
.giftforfriend input:checked +label r{
    background-color: #fff;
    left: 16px;
    width: 20px;
    height: 20px;
}
.giftbox{
    display: flex;
    align-items: center;
    font-size: 14px;
    justify-content: space-between;
    margin-left:12px;
}
.giftbox.outline{
    border: 1px solid #e5e5e5;
    border-radius: 30px;    padding: 4px 2px 4px 10px;
}
.giftbox.outline input{
    flex-grow: 1;
    padding: 0 15px;
}
.giftbox giftinfo{
    display: flex;
    align-items: center;
    flex-grow: 1;
}
.giftbox giftinfo img{
    height: 16px;
    flex-shrink: 0;
}
.giftbox giftinfo span{
    padding-left:14px;
    padding-right: 14px;
}
.giftbox>img{
    height: 16px;
}
.giftbox up{
    background: #3ad359;
    width: 26px;
    height: 26px;
    line-height: 23px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
}
.giftbox up>img{
    height: 16px;
}
.totalprice{
    border-top: 1px solid #e5e5e5;
    text-align: right;
    padding-top: 20px;
    padding-right: 50px;
}
.totalprice span{
    font-family: RobotoBold;
    padding-left: 66px;
}
.qtycontrol numbox{display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    margin: 0 auto;
    display: -o-flex;
    display: flex;justify-content: space-between;border: 1px solid #efefef;border-radius: 16px;width: 110px;
    height: 32px;}
.qtycontrol numbox p{width: 36px;line-height: 32px; text-align: center;font-size: 16px;
    font-weight: bold;}
.qtycontrol numbox img{
    width: 15px;}
.qtycontrol numbox minus{
    flex: 1;
    font-family: RobotoLight;
    cursor: pointer;
    font-size: 34px;
    text-align: center;
    line-height: 26px;
}
.qtycontrol numbox plus{
    flex: 1;
    font-family: RobotoLight;
    cursor: pointer;
    font-size: 34px;
    line-height: 26px;
    text-align: center;
}
minus.disabled{z-index: -1;opacity: 0.22;}
.maxv{
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
}
.maxv span{
    color: #aaa;
}
.maxv span:last-child{
    color: #272727;
}
.paybar{
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
}
.paybar a{
    color: #0a76ca;
    padding-left: 24px;
    background: url("../img/clerbin.png") no-repeat left center;
    background-size: auto 16px;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 16px;
}
.paybar span{
    font-size: 14px;
    color: #aaa;
}
.paybar .payprice{
    display: flex;
    align-items: center;
    margin-right: 70px;
}
.paybar price{
    color: #10c7ff;
    font-family: RobotoBold;
    font-size: 24px;
    padding-left: 16px;
    padding-right: 16px;
}
.paybt{
    display: flex;
    align-items: center;
}
.paybt button{
    color: #fff;
    text-align: center;
    width:160px; height:48px;
    background: #2da0f9;
    font-size: 18px;
    border-radius: 25px;
    display: block;
    font-family: RobotoBold;
}
.morebox{
    overflow: hidden;
}
.morebox .morepro{
    width: 240px;
    font-size: 14px;
    float: left;
    margin-right: 64px;
}
.morebox .morepro:last-child{
    margin-right: 0;
}
.morebox .morepro a{
    display: block;
    line-height:1.4;
    overflow: hidden;
    height:52px;
    text-overflow: ellipsis;
    margin-bottom: 6px;
    border-radius:6px ;
}
.morebox .morepro img{
    width: 100%;
}
moret{
    font-size: 28px;
    display: block;
    font-family: BebasKai;
    margin-top: 100px;
    margin-bottom: 20px;
}

@media screen and (max-width: 1000px) {
    .main{
        margin-top: 35px;
    }
    .giftforfriend label{
        width: 55px;
        height: 32px;

    }
    .giftforfriend label r{
        width: 26px;
        height: 26px;
    }
    .morebox .morepro a{
        height: 34px;
    }
    .giftforfriend input:checked +label r{
        left: 23px;
        width: 28px;
        height: 28px;
    }
    .qtycontrol numbox img{
        width: 20px;}
    .th{
        display: none;
    }
    .topnav{
        font-size: 14px;
    }
    .postorder{
        padding-left: 0;
        margin-top: 20px;
    }
    .postorder>a.img{
        display: block;
        width: 100%;
        float: none;
        clear: both;
        margin-bottom: 15px;
    }
    .postorder>a.img img{
        width: 100%;
    }
    .postorder .price{
        width: 38%;
        margin-top: 0;
        margin-bottom: 24px;
        margin-right: 0;
        flex-direction: column;
        text-align: center;
    }
    .postorder .price>span{
        display: none;
    }
    .orderdetail {
        margin-left: 0px;
        width: 60%;
        flex-direction: column;
    }
    .orderdetail .orderinfo{
        font-size: 14px;
        width: auto;
        margin-right: 0;
    }
    .orderdetail .pkg{
        font-size: 14px;
    }
    .postorder  .giftforfriend{
        margin-left: 0;
        background: #f7f7f7;
        border-radius: 12px;
        padding: 10px;
        flex-direction: column;
        align-items: start;
    }
    .postorder .giftbox{
        margin-left: 0;
        margin-top: 20px;
        padding-right: 10px;
    }
    .paybar .payprice{
        margin-right: 0;
    }
    .giftbox.outline{
        background: #fff;
    }
    .totalprice{
        padding-right: 0;
        font-size: 14px;
        padding-top: 15px;
    }
    .totalprice span{
        padding-left: 107px;
    }
    .paybar{
        flex-direction: column;
        width: 100%;
    }
    .paybt{
        flex-direction: column; width: 100%;
    }
    .paybt button{
        width: 100%;
        height: 40px;
        margin-top: 15px;
        margin-bottom: 30px;
    }
    moret{
        font-size: 20px;
        margin-top: 75px;}
    .morebox{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .morebox .morepro{
        width: 48%;
        margin-right: 0;
        margin-bottom: 8px;
    }
    b.money{
        display: none;
    }
}