table {
  border: 1px solid #ddd;
  width: 100%;
  border-collapse: collapse;
}
table.narrow {
  width: auto;
}
table tr th,
table tr td {
  padding: 0.5em;
  margin: 0;
}
table tr th {
  background-color: #f2f2f2;
  text-align: left;
  color: #666;
  text-transform: uppercase;
  font-size: 0.8em;
}
table tr th a {
  color: inherit;
  text-decoration: none;
  text-size:100% !important;
}
table tr th a img {
  margin-left: 0.25em;
}
table tr:hover td {
  background-color: #f3f7fd;
}
@media only screen and (max-width: 768px) {
  table,
  tbody,
  tr,
  td {
    display: block;
  }
  table th {
    display: none;
  }
  table,
  table * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  table tr {
    border-bottom: 1px solid #ddd;
  }
  table tr td {
    padding: 0.4em 0.6em;
  }
  table tr td:first-child {
    padding-top: 1.2em;
  }
  table tr td:last-child {
    padding-bottom: 1.2em;
  }
  table tr td:before {
    content: attr(data-label);
    display: inline;
    font-weight: bold;
    font-size: 0.8em;
    text-transform: uppercase;
    padding-right: 0.5em;
  }
}
