﻿div.dataTables_wrapper div.dataTables_filter label {
  height: 40px;
  vertical-align: middle;
  font-size: 14px;
  float: left;
}

div.dataTables_wrapper div.dataTables_filter label input {
  height: 35px;
  line-height: 1.21428571em;
  padding: .67857143em 1em;
  font-size: 14px;
  background: #fff;
  border: 1px solid rgba(34, 36, 38, .15);
  color: #666;
  border-radius: 4px;
  box-shadow: 0 0 0 0 transparent inset;
}

table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc,
table.dataTable thead > tr > th.sorting,
table.dataTable thead > tr > td.sorting_asc,
table.dataTable thead > tr > td.sorting_desc,
table.dataTable thead > tr > td.sorting {
  background-position-y: center;
  background-position-x: left;
}

/* Table Head */
table.product-table thead th {
  background-color: #7d7d7d;
  color: #fff;
  border-bottom-width: 0;
  height: 50px;
  padding-left: 20px;
}

table.product-table tr {
  height: 30px;
}

table.product-table tr td div.col {
  position: relative;
}

table.product-table tr td.price {
  color: #ed1c24;
}

table.product-table tr td.price a {
  cursor: pointer;
}

table.product-table tr td.stock a {
  color: #ed1c24;
  cursor: pointer;
}

table.product-table tbody tr td i.extend {
  position: absolute;
  cursor: pointer;
  left: 5px;
  top: -10px;
  width: 20px;
  height: 20px;
  background: url(../images/icon-extend.png) no-repeat center;
}

table.product-table tbody tr td i.extend.open {
  transform: rotate(90deg);
}

table.product-table tr:nth-child(odd) {
  background: #f7f7f7;
}

table.product-table tr:nth-child(even) {
  background: #ececec;
}

/* Column Style */
table.product-table td {
  font-size: 14px;
}

/* Padding and font style */
table.product-table td, table.product-table th {
  padding: 5px 10px;
  font-size: 14px;
  text-align: left;
}

/*产品展开部分样式*/

table.product-table tbody tr td div.extend-box {
  width: 99.9%;
  min-height: 200px;
  box-sizing: border-box;
  padding: 20px;
  font-size: 12px;
}

table.product-table tbody tr td div.extend-box .goods-name {
  font-size: 16px;
  color: #666;
  font-weight: bold;
}

table.product-table tbody tr td div.extend-box ul.table {
  padding: 20px 0 5px 0;
  overflow: hidden;
}

table.product-table tbody tr td div.extend-box ul.table li {
  float: left;
  width: 50%;
  height: 40px;
  line-height: 40px;
  box-sizing: border-box;
  border-bottom: 1px solid #bfbfbf;
  border-right: 1px solid #bfbfbf;
}

table.product-table tbody tr td div.extend-box ul.table li:nth-of-type(odd) {
  border-left: 1px solid #bfbfbf;
}

table.product-table tbody tr td div.extend-box ul.table li:nth-of-type(1) {
  border-top: 1px solid #bfbfbf;
}

table.product-table tbody tr td div.extend-box ul.table li:nth-of-type(2) {
  border-top: 1px solid #bfbfbf;
}

table.product-table tbody tr td div.extend-box ul.table li .t {
  width: 50%;
  float: left;
  box-sizing: border-box;
  padding-left: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

table.product-table tbody tr td div.extend-box ul.table li .c {
  width: 50%;
  float: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

table.product-table tbody tr td div.extend-box .download-box {
  overflow: hidden;
}

table.product-table tbody tr td div.extend-box .download-box .download-btn {
  float: left;
  margin-right: 25px;
  width: 105px;
}

table.product-table tbody tr td div.extend-box .group {
  overflow: hidden;
  margin-top: 25px;
}

table.product-table tbody tr td div.extend-box .group .group-box {
  width: 930px;
  float: left;
  overflow: hidden;
}

table.product-table tbody tr td div.extend-box .group .group-box .item .img {
  width: 150px;
  height: 133px;
  box-sizing: border-box;
  border: 1px solid #dfdfdf;
}

table.product-table tbody tr td div.extend-box .group .group-box .item .img img {
  display: block;
  width: 150px;
}

table.product-table tbody tr td div.extend-box .group .group-box .item .text {
  margin-top: 10px;
}

table.product-table tbody tr td div.extend-box .group .group-box .item .text .name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 150px;
}

table.product-table tbody tr td div.extend-box .group .group-box .item .text .price {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 5px;
  color: #ed1c24;
}

table.product-table tbody tr td div.extend-box .group .group-box .item .text .price .checkbox {
  float: right;
  position: relative;
  margin-right: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

table.product-table tbody tr td div.extend-box .group .group-box .item .text .price .checkbox input {
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

table.product-table tbody tr td div.extend-box .group .group-box .item .text .price .checkbox label {
  display: block;
  width: 100%;
  height: 100%;
  background: url(../images/checked-2.png) 3px 3px no-repeat #626262;
}

table.product-table tbody tr td div.extend-box .group .group-box .item .text .price .checkbox input:checked + label {
  background-color: #ed1c24;
}

table.product-table tbody tr td div.extend-box .group .group-box .master {
  float: left;
  width: 150px;
  margin-right: 60px;
  text-align: center;
  position: relative;
}

table.product-table tbody tr td div.extend-box .group .group-box .master::before,
table.product-table tbody tr td div.extend-box .group .group-box .master::after {
  content: '';
  position: absolute;
  display: block;
  right: -40px;
  top: 65px;
  width: 18px;
  height: 2px;
  background: #333;
}

table.product-table tbody tr td div.extend-box .group .group-box .master::after {
  transform: rotate(90deg);
}

table.product-table tbody tr td div.extend-box .group .group-box .list {
  overflow: hidden;
  position: relative;
  float: left;
  width: 640px;
  height: 190px;
}

table.product-table tbody tr td div.extend-box .group .group-box .list .list-cont {
  position: absolute;
  left: 0;
  width: 99999px;
}

table.product-table tbody tr td div.extend-box .group .group-box .list .list-cont .item {
  float: left;
  margin: 0 5px;
}

table.product-table tbody tr td div.extend-box .group .group-box .opt {
  float: right;
  width: 55px;
  height: 140px;
}

table.product-table tbody tr td div.extend-box .group .group-box .opt .btn {
  width: 100%;
  height: 66px;
  padding-top: 1px;
  background: #fff;
  position: relative;
  transition: background 0.2s ease-in;
  cursor: pointer;
}

table.product-table tbody tr td div.extend-box .group .group-box .opt .btn.prev::before,
table.product-table tbody tr td div.extend-box .group .group-box .opt .btn.next::before {
  content: '';
  display: block;
  margin: 22px auto 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg) translate(-5px, 5px);
  transition: border-color 0.2s ease-in;
}

table.product-table tbody tr td div.extend-box .group .group-box .opt .btn.prev {
  margin-bottom: 6px;
}

table.product-table tbody tr td div.extend-box .group .group-box .opt .btn.prev::before {
  transform: rotate(-135deg) translate(-5px, 5px);
}

table.product-table tbody tr td div.extend-box .group .group-box .opt .btn:hover {
  background: #ed1c24;
}

table.product-table tbody tr td div.extend-box .group .group-box .opt .btn:hover::before {
  border-color: #fff;
}

table.product-table tbody tr td div.extend-box .group .group-buy {
  float: right;
  width: 200px;
  height: 140px;
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
  color: #666;
}

table.product-table tbody tr td div.extend-box .group .group-buy h3 {
  font-size: 14px;
  margin-top: 25px;
}

table.product-table tbody tr td div.extend-box .group .group-buy p {
  margin-top: 3px;
}

table.product-table tbody tr td div.extend-box .group .group-buy p span {
  color: #ed1c24;
}

table.product-table tbody tr td div.extend-box .group .group-buy .btn {
  width: 110px;
  height: 40px;
  margin: 15px auto;
  background: #ed1c24;
  border-radius: 5px;
  color: #fff;
  line-height: 40px;
  cursor: pointer;
}

table.product-table tbody tr td div.extend-box .group .group-buy .btn::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 5px;
  position: relative;
  top: 2px;
  background: url(../images/cart-2.png);
}

table.product-detail {
  width: 100%;
  min-width: 580px !important;
  margin-top: 25px;
}

table.product-detail tr:nth-child(odd) {
  background: #efefef !important;
}

table.product-detail tr:nth-child(even) {
  background: #f7f7f7 !important;
}

table.product-detail tr {
  height: auto;
  border: 1px solid #bfbfbf;
}

table.product-detail tr td {
  width: 50%;
  padding: 12px 0;
  font-size: 12px !important;
}

table.product-detail tr td .t {
  width: 40%;
  float: left;
  box-sizing: border-box;
  padding-left: 30px;
}

table.product-detail tr td .c {
  width: 60%;
  float: left;
  box-sizing: border-box;
  padding-left: 30px;
  padding-right: 15px;
  word-break: break-word;
}

table.list-attr tr {
  border: none;
}

table.list-attr tr td {
  height: 26px;
}

.lead_time {
  color: #333333;
  font-size: 16px;
  cursor: pointer;
  padding-left: 5px;
}

.cart-btn .icon-shopping-cart{
  box-sizing: border-box;
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url(../images/icon-shop-cart.png) no-repeat center center;
  background-size: contain;
  margin-right: 5px;
  position: relative;
  top:2px;
}
.goods-table .extend-box p a{
  display: inline-block;
  height: 35px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #E60012;
  border-radius: 5px;
  line-height: 35px;
  text-align: center;
  color: #E60012;
  cursor: pointer;
}

.goods-table .extend-box p a + a{
  margin-left: 10px;
}