
/*TABLE樣式*/

.tright{
  width: 59%;
}

table {
  margin: 0% 0 0 0;
  float: left;
  width: 100%;
  border:0px solid #e1e1e1; 
  font-size: 15px;
  min-width: 100%;
}

table thead {
  background-color: #fff;
  color: #666;
  border-bottom: 1px solid #ddd;
}

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

th, td {
  padding: 13px 20px;
  text-align: center;
  vertical-align: middle;
  color:#777;
}

td{
  line-height: 25px;
  padding: 5px 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(even) {
    background-color: #fff;
}
table tbody tr:nth-child(odd) {
   background-color:#f9f9f9;
}
table tbody tr{
  border-bottom: 0px solid #ccc;
  width: 100%;
  float: left;
  margin:0 0 5% 0;
}
table tbody tr:last-child{
  border-bottom: 0px;
}

table tbody tr:hover{
  background: #f5f5f5;
}

table tbody tr td{
  display: block;
  /*float:left;
  width:100%;*/
  margin: -1px 0 0 0;
  border:1px solid #ccc;
  float: left;
  width: 100%;
}


/*table td:before {
  content: attr(data-th) " : ";
  font-weight: bold;
  width: 24%;
  display: inline-block;
  float: left;
  text-align: left;
  border-right:1px solid #ccc;
  margin:0 10px 0 0;
  min-height:26px;
}*/




table td:before {
    content: attr(data-th) " : ";
    font-weight: bold;
    width: auto;
    display: inline-block;
    /* background: #f00; */
    float: left;
    text-align: left;
    /* border-right: 1px solid #ccc; */
    margin: 0 10px 0 0;
    font-weight: bold;
    font-size: 1.2em;
    min-height: 26px;
  }
.cus-road table td:before {
  content: attr(data-th) " : ";
  font-weight: normal;
  font-size: 16px;
  width: 37%;
  display: inline-block;
  float: left;
  text-align: left;
  border-right:1px solid #ccc;
  margin:0 10px 0 0;
  min-height:26px;
}
.cus-ticket-highway table td:before,.cus-ticket-road table td:before,.cus-busticket-tauyuan table td:before{
  content: attr(data-th) " : ";
  font-weight: bold;
  width: 90px;
  display: inline-block;
  float: left;
  text-align: left;
  border-right:1px solid #ccc;
  margin:0 10px 0 0;
  min-height:26px;
}
.lostthing table td:before{
  content: attr(data-th) " : ";
  font-weight: bold;
  width: auto;
  display: inline-block;
  float: left;
  text-align: left;
  border-right:0px solid #ccc;
  margin:0 10px 0 0;
  min-height:26px;
}
@media (min-width: 600px) {

table tbody tr{
  border-bottom: 1px solid #ccc;
  width: 100%;
  float: left;
  margin:0 0 2% 0;
}

}

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

@media (min-width: 1000px) {
  .tright{
    width: 100%;
  }
  table {
    border:1px solid #e1e1e1; 
    font-size: 15px;
    min-width: 100%;
  }
  table td:before,
  .cus-road table td:before,
  .cus-ticket-highway table td:before,
  .cus-ticket-road table td:before,
  .cus-busticket-tauyuan table td:before,
  .lostthing 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;
    margin: 0px 0 0 0;
    float: none;
    width: auto;
  }
  td{
    padding: 10px 15px;
  }
  table tbody tr{
    width: auto;
    float: none;
    border-bottom: 1px solid #ccc;
  }



  /*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%;}*/

  
  .stationtable table thead th:nth-child(1), .stationtable table tbody tr td:nth-child(1),
  .stationtable table thead th:nth-child(4), .stationtable table tbody tr td:nth-child(4),
  .stationtable table thead th:nth-child(2), .stationtable table tbody tr td:nth-child(2),
    .stationtable table thead th:nth-child(3), .stationtable table tbody tr td:nth-child(3){

    text-align: center;
  }

}