table.responsive {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table.responsive caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table.responsive tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

table.responsive th,
table.responsive td {
  padding: .625em;
  text-align: center;
  text-transform: initial;
}

table.responsive th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: initial;
}

@media screen and (max-width: 767px) {
  table.responsive {
    border: 0;
  }

  table.responsive caption {
    font-size: 1.3em;
  }
  
  table.responsive thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table.responsive tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table.responsive td, table.responsive th {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
  }
  
  table.responsive td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table.responsive
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: initial;
  }
  
  table.responsive td:last-child {
    border-bottom: 0;
  }
  .table-container table.responsive td:last-child, .table-container table.responsive td:first-child {
    width: auto;
  }
  table.responsive.bordered {
    border: none;
  }
  table.responsive td {
    min-height: 25px;
    text-align: end;
    vertical-align: middle;
  }
  table.responsive.bordered td:last-child {
    border-bottom: 2px solid;  
  }
}
@media screen and (min-width: 768px) {
.table.responsive-container table.bordered td:first-child {
    width: 30px;
}

.table.responsive-container table td:last-child {
    width: 75px!important;
}
}
