/* SDK - Adding Custom Styles for Tables on Web Pages */
#web-page-table {
  border-collapse: collapse;
  width: 100%; }

#web-page-table td, #web-page-table th {
  border: 1px solid #ddd;
  padding: 8px; }

#web-page-table tr:nth-child(even) {
  background-color: #f2f2f2; }

#web-page-table tr:hover {
  background-color: #ddd; }

#web-page-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #74BB28;
  color: white; }

#used-parts-table {
  border-collapse: collapse;
  width: 100%; }

#used-parts-table td, #used-parts-table th {
  border: 1px solid #ddd;
  padding: 8px; }

#used-parts-table tr:nth-child(even) {
  background-color: #f2f2f2; }

#used-parts-table tr:hover {
  background-color: #ddd; }

#used-parts-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #74BB28;
  color: white; }

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
  /* Force table to not be like tables anymore */
  #used-parts-table table, #used-parts-table thead, tbody, th, td, tr {
    display: block; }
  /* Hide table headers (but not display: none;, for accessibility) */
  #used-parts-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px; }
  #used-parts-table tr {
    border: 1px solid #ccc; }
  #used-parts-table td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20%; }
  #used-parts-table 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; }
  /*
	Label the data
	*/
  #used-parts-table td:nth-of-type(1):before {
    content: "Part:"; }
  #used-parts-table td:nth-of-type(2):before {
    content: "Year:"; }
  #used-parts-table td:nth-of-type(3):before {
    content: "Price:"; }
  #used-parts-table td:nth-of-type(4):before {
    content: "Notes:"; } }
