


/* ----------- */
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

  table, thead, tbody, th, td, tr
{ 
  display: block; 
}

#score-tb thead tr { 
  position: absolute;
  top: -9999px;
  left: -9999px;
}

/* #score-tb tr { border: 1px solid #ccc; } */

#score-tb tr:nth-child(odd) {
    background: #929fe0;
}

#score-tb tbody tr td { 
  /* Behave  like a "row" */
  border: none;
  position: relative;
  padding-left: 50%; 
}

#score-tb>tbody>tr>td:before { 
  /* Now like a table header */
  position: absolute;
  /* Top/left values mimic padding */
  top: 6px;
  left: 6px;
  width: 45%; 
  padding-right: 10px; 
  white-space: nowrap;
  font-weight: 900;
}

#score-tb>tbody>tr>td:nth-of-type(1):before { content: "科目序號"; }
#score-tb>tbody>tr>td:nth-of-type(2):before { content: "開課班級"; }
#score-tb>tbody>tr>td:nth-of-type(3):before { content: "科目"; }
#score-tb>tbody>tr>td:nth-of-type(4):before { content: "分班"; }
#score-tb>tbody>tr>td:nth-of-type(5):before { content: "修別"; }
#score-tb>tbody>tr>td:nth-of-type(6):before { content: "學分"; }
#score-tb>tbody>tr>td:nth-of-type(7):before { content: "成績"; }
#score-tb>tbody>tr>td:nth-of-type(8):before { content: "備註"; }

}