/*

table {
    min-width: 100%;
    padding-bottom:var(--standardpadding);
}

thead,
tbody,
tr {

}

th,
td {
  padding: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

th {
  position: sticky;
  top: 0;
  background: #61618e;
  text-align: left;
  font-weight: normal;
  font-size: 1.1rem;
  color: white;
}

th:last-child {
  border: 0;
}

.resize-handle {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background: black;
  opacity: 0;
  width: 3px;
  cursor: col-resize;
}

.resize-handle:hover,

.header--being-resized .resize-handle {
  opacity: 0.5;
}

th:hover .resize-handle {
  opacity: 0.3;
}

td {
  padding-top: 10px;
  padding-bottom: 10px;
  color: #808080;
}

tr:nth-child(odd) td {
  background: #fff;
}

tr:nth-child(even) td {
  background: #f8f6ff;
}

*/

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

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
  text-align: left;
}

table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

tr:nth-child(odd) td {
  background: #fff;
}

tr:nth-child(even) td {
  background: #f8f6ff;
}

table th,
table td {
  padding: .625em;
  text-align: left;
  vertical-align: top;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}


.text-formatted td a {
    display: block;
    background: var(--mid-alt);
    padding: 6px 12px;
    border-radius: 6px;
    transition: .3s;
    font-weight: 400;
    color: var(--white);
    box-shadow: 0 3px 3px #0000007a;
    width: 100%;
    font-size: 1.2rem;
    border-bottom: none;
}
.text-formatted td a:hover{
    background: #808b91;
    color: #fff;
    border-radius: 0;
    box-shadow: none;
}

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

  table caption {
    font-size: 1.3em;
  }
  
  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: .625em;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
  }
  
  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;
  }
}
