.table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: #fff;
}
.table-h td {
    padding: 12px;
    line-height: 1.4;
    text-align: center;
}
.table-h thead th {
    color: #535353;
    background: #f3f3f3;
    padding: 6px 0px;
    border-top: solid 1px #ddd;
    text-align: center;
}
.table-h tbody tr + tr {
    border-top: 1px solid #ddd;
}
.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;
    /*border-left: solid 1px #ccc;*/
	width:50%;
	padding-left:10px;
}
.table-h .name a {
    display: inline-block;
    vertical-align: middle;
}
.table-h .name .pd-name {
    color: #666;
    font-size: 14px;
    font-weight: bold;
}
.table-h .name a:hover .pd-name {
    text-decoration: underline;
}
.table-h .name a.pic {
    position: relative;
    overflow: hidden;
    margin-right: 15px;
    width: 70px;
    border: solid 1px #ddd;
}
.table-h .name a.pic img {
    width: 100%;
    height: auto;
}
.table-h .name a.pic:hover:before {
    content: " ";
    border: 1px solid #274da3;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.table-h .qt{
    width: 20%;
}
.table-h .ids{
  width: 20%;
}
.table-h .btn-holder{
  width: 10%;
}
/*.table-h .qt .form-control {
	width: 90%;
    margin: 0 auto;
    border-color: #ccc;
    background: #FFF;
    text-align: center;
}*/
.table-h thead .qt{
}
.table .ibtn.delete {
    position: relative;
    width: 25px;
    height: 25px;
    color: #999;
    text-indent: inherit;
    text-align: center;
}
.table .ibtn.delete span{display: none;}
.table .ibtn.delete:before{
  content: '\f057';
  font-family: "Font Awesome 5 Free";
  font-size: 20px;
  font-weight: normal;
}
.table .ibtn.delete:hover{
    color: #d90000;
}
.table td span {
    color: #f00;
}

.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;
}
.qty-box{
  width: 130px;
  background: #e2e2e2;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.qty-box .form-control{
  width: 62px;
  margin: 0 auto;
  background: #FFF;
  border-left: solid 1px #e2e2e2;
  border-right: solid 1px #e2e2e2;
  text-align: center;
  border-radius: 0;
}
.qty-box .btn{
  color: #999;
  width: 34px;
  display: block;
  position: absolute;
  top: 0;
  font-size: 18px;
  text-align: center;
}
.qty-box .btn:hover{
  color: #FFF;
  background: #005cc2;
}
.qty-box .btn.less{
  left: 0;
}
.qty-box .btn.add{
  right: 0;
}

.inquiry-table .pro_name_td{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.inquiry-table .pro_img{
    width: 70px;
    overflow: hidden;
    margin-right: 15px;
    border: 1px #ddd solid;
}
.inquiry-table .pro_img img{
    display: block;
    width: 100%;
    height: auto;
}
.inquiry-table .pro_img:hover{
    border-color: #274da3;
    opacity: 0.7;
}
.inquiry-table .name a.pic:hover:before{display: none;}
.inquiry-table .name_text{
    width: calc(100% - 85px);
}


@media screen and (max-width: 1679px) {
.table-h .name .pd-name {
    max-width: 190px;
}
}
@media screen and (max-width: 1199px) {
.table-h .name .pd-name {
    max-width: 400px;
}
}
@media screen and (max-width: 991px) {
.table-h .name .pd-name {
    max-width: 210px;
}
}
@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: 10px;
        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 {
        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;
    }
	.table-h .name {
    text-align: left;
    width: 100%;
    padding: 10px 0;
}
.table-h .ids {
    width: 100%;
	border-top: 0;
}
    .table-h .qt label{
        position: relative;
     }
    .table .ibtn.delete{
      height: 18px;
    }
    .table-h .name{border: none;}
    .table-h .qt .form-control{
      margin-left: 40px;
      width: 100px;
    }
	.table-h .qt {
	background: none;
    width: 100%;
    border: none;
}
.qty-box {
    width: 180px;
    margin-bottom: 12px;
    background: #e2e2e2;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.table-h .btn-holder {
    width: 0;
}
.table-h .name a.pic {
    width: 120px;
}
.table-h .name .pd-name {
    max-width: 100%;
	padding-top:10px;
}
}

@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: 80px;
        margin-right: 15px;
    }
    .cart-table tbody tr {
        padding-left: 70px;
    }
}
