/* general styling */
body {
  /* font-family: "Open Sans", sans-serif; */
  font-family: Helvetica;
  line-height: 1.25;
}

h1 {
  font-size: 3em;
  font-weight: bolder;
  color: #02778e;
}

h2 {
  color: #008aa6;
}

h3 {
  font-size: 1.5em;
  font-weight: lighter;
  color: #6e788c;
}

h4 {
  font-size: 1.0em;
  font-weight: lighter;
  color: #6e788c;
}

p {
  color: #232d40;
}

a {
  color: #02778e;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}

table {
  /* border: 1px solid #ccc; */
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: 0.5em 0 0.75em;
}

table tr {
  /* background-color: #f8f8f8; */
  /* border: 1px solid #ddd; */
  padding: 0.35em;
}

table th,
table td {
  padding: 0.625em;
  text-align: center;
}

table th {
  font-size: 0.85em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media screen and (max-width: 800px) {
  table {
    border: 0;
  }

  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  table tr {
    /* border-bottom: 3px solid #ddd; */
    display: block;
    margin-bottom: 0.625em;
  }

  table td {
    /* border-bottom: 1px solid #ddd; */
    display: block;
    font-size: 0.8em;
    text-align: center;
  }

  table td::before {
    /*
      * aria-label has no advantage, it won't be read inside a table
      content: attr(aria-label);
      */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  table td:last-child {
    border-bottom: 0;
  }
}

