.table-wrap {
    overflow-x: auto; 
    overflow-y: hidden; 
}
.table {
    width: 99.9%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
    margin: 0;
    box-sizing: border-box;
}
.table * {
    box-sizing: border-box;
}
.table-h tbody tr {
    border: 1px solid #ddd;
    background: #F8F8F8;
}
.table-h td {
    padding: 12px 6px;
    line-height: 1.4;
    text-align: center;
    vertical-align: top;
}
.table-h thead th {
    color: #333;
    padding: 8px 12px;
}
.table-h tbody tr + tr {
    border-top: 1px dashed #bbb;
}
.table-h tfoot tr {
    background: #FFEADF;
    color: #555;
}
.table-h tfoot tr+tr {
    border-top: 1px solid #fff;
}
.table-h tfoot td {
    text-align: right;
    padding: 12px 30px;
}
.table-h tfoot td:last-child {
    width: 15%;
}
.table-h tfoot tr:last-child td,
.table-h tbody td strong,
.table-v td span {
    color: #f00;
    font-weight: bold;
}
.table-h tfoot td .form-control {
    display: inline-block;
    width: auto;
    margin: 0;
}

.table-h tbody td label {
    display: none;
}
.table-h .name {
    text-align: left;
}
.table-h .name a {
    display: inline-block;
    vertical-align: middle;
}
.table-h .name .pd-id {
    color: #aaa;
    font-size: 14px;
}
.table-h .name .pd-name {
    color: #000;
    font-size: 15px;
    font-weight: bold;
}
.table-h .name a:hover .pd-name {
    color: #FF7330;
}
.table-h .name a.pic {
    position: relative;
    overflow: hidden;
    margin-right: 10px;
    width: 80px;
}
.table-h .name a.pic:hover:before {
    content: " ";
    background: rgba(0,0,0,0.8) url(../../images/system/products/small_hover.png) no-repeat 50% 50%;
    border: 4px solid #FF7430;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.table-h-2 td {
    padding: 5px 10px;
    vertical-align: top;
}
.table-h-2 td.pic {
    width: 80px;
}
.table .ibtn.delete {
    background-image: url(../../images/system/btn_delete.png);
    width: 25px;
    height: 25px;
}
.table td span {
    color: #f00;
}
.table-h td small {
    line-height: 1.25;
    display: inline-block;
    margin: 5px 0;
}

.table.sum {
    margin: 0;
}

.table-v {
    border: solid #ddd;
    border-width: 1px 0;
}
.table-v tr:first-child {
    border-bottom: 1px solid #ddd;
}
.table-v tr:nth-child(2n+1) {
    background: #F7F7F7;
}
.table-v th,
.table-v td {
    padding: 10px 35px;
    vertical-align: middle;
}
.table-v th {
    text-align: left;
    width: 100px;
    border-right: 1px solid #ddd;
}
.table-v strong {
    color: #FF732F;
}


@media screen and (max-width: 600px) {
    .table-h-2 td {
        padding: 10px 0;
    }
}
/*
@media screen and (max-width: 767px) {
    .table-h {
        border-top: 1px solid #DCDCDC;
    }
    .table-h thead {
        display: none;
    }
    .table-title {
        display: block;
    }
    .table td .ibtn.delete {
        position: absolute;
        right: 0;
        top: 10px;
    }
    .table-h tr,
    .table-h td {
        display: block;
        text-align: left;
    }
    .table-h td+td,
    .table-h tfoot td+td {
        border-left: 0;
    }
    .cart-table tbody tr {
        padding-left: 94px;
    }
    .cart-table .name a.pic {
        position: absolute;
        left: 0;
        top: 10px;
    }
    .table-h tbody td label {
        display: inline-block;
        padding-right: 10px;
        color: #888;
        font-size: 13px;
    }
    .table-h tr {
        padding: 10px 30px 10px 5px;
        position: relative;
    }
    .table-h tfoot tr {
        padding: 10px 15px;
    }
    .table-h tfoot td {
        padding: 0;
    }
    .table-h tfoot td:first-child {
        float: left;
        text-align: left;
    }
    .table-h tfoot td:last-child {
        width: auto;
    }
    .table-h td,
    .table-h tbody td {
        padding: 0;
        line-height: 2;
    }
    .table-h td a {
        display: inline-block;
        line-height: 1.5;
    }
    .table-v th, .table-v td {
        padding: 8px 12px;
    }
    .table-v th {
        width: 90px;
    }
}
@media screen and (max-width: 400px) {
    .table-v tr,
    .table-v th,
    .table-v td {
        display: block;
        width: auto;
        text-align: left;
    }
    .table-v tr:nth-child(2n+1) {
        background: none;
    }
    .table-v th {
        background: #F7F7F7;
        border: 0;
    }
}
@media screen and (max-width: 360px) {
    .table-h .name a.pic {
        width: 60px;
    }
    .cart-table tbody tr {
        padding-left: 70px;
    }
}*/
