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

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

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

table.tabla th,
table.tabla td {
  padding: .625em;
  text-align: center;
}

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

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

  table.tabla caption {
    font-size: 1.3em;
  }
  
  table.tabla thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table.tabla tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table.tabla td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table.tabla td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table.tabla
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table.tabla td:last-child {
    border-bottom: 0;
  }
}