
/*TABLE樣式*/

table {
  margin: 0% 0 0 0;
  float: left;
  width: 100%;
  border:2px solid #956134;
  min-width: 100%;
  letter-spacing: 0px;
  border-radius: 5px;
  background: rgba(50,50,50,.1);
  font-size: 16px;
}

table thead {
  background: rgba(50,50,50,.3);
  color: #000;
  border-bottom: 2px solid  #956134;
}

table th{
  font-weight: 600;
  display: none;
  font-size: 20px;
}

th, td {
  padding: 5px 15px;
  text-align: left;
  vertical-align: middle;
  color:#222;
}

td{
  line-height: 25px;
  padding: 10px 10px;
  display: block;
}



/*th:first-child,td:first-child{
  text-align: center;
}*/
/*table thead th:nth-child(1), table tbody tr td:nth-child(1),
table thead th:nth-child(4), table tbody tr td:nth-child(4),
table thead th:nth-child(3), table tbody tr td:nth-child(3),
table thead th:nth-child(2), table tbody tr td:nth-child(2),
table thead th:nth-child(5), table tbody tr td:nth-child(5),
table thead th:nth-child(6), table tbody tr td:nth-child(6){
  text-align: left;
}*/

/*table tbody tr:nth-child(odd) {
    background-color: #fff;
}
table tbody tr:nth-child(even) {
   background-color:#f9f9f9;
}*/
table tbody tr{
  border-bottom: 0px solid rgba(255,255,255,.5);
  width: 100%;
  float: left;
  margin:0 0 0% 0;
}
table tbody tr:last-child{
  border-bottom: 0px;
}

table tbody tr:hover{
  background: rgba(255,255,255,.1);
}

table tbody tr td{
  display: block;
  float:left;
  width:100%;
  border:1px solid #666;
}


table td:before {
  content: attr(data-th) " : ";
  font-weight: bold;
  width: auto;
  display: inline-block;
  /*background: #f00;*/
  float: left;
  text-align: left;
  font-weight: bold;
  /*border-right:1px solid #ccc;*/
}

table td.last:before{
  display: none;
}

table tbody tr:nth-child(even){
    background:rgba(255,255,255,.15);
  }

/*------------------------------------------*/

@media (min-width: 1000px) {
  table td:before {
    display: none;
  }
  table th ,table tbody tr td{
    display: table-cell;
    float: none;
    width: auto;
  }
  table tbody tr td{
    border:0px solid #666;
  }
  td{
    padding: 10px 15px;
  }
  table tbody tr{
    width: auto;
    float: none;
    border-bottom: 1px solid #454545;
  }

  table tbody tr:nth-child(even){
    background:none;
  }

  

 

  /*table thead th:nth-child(1){width:10%;}
  table thead th:nth-child(4){width:10%;}
  table thead th:nth-child(3){width:20%;}
  table thead th:nth-child(2){width:25%;}
  table thead th:nth-child(5){width:8%;}
  table thead th:nth-child(6){width:12%;}
  table thead th:nth-child(7){width:15%;}*/

}