{###########################################################################}
{##############################   ROW - FLEXI TABLE   #############################}
{###########################################################################}

.hhs-table-mod table th,
.hhs-table-mod table td {
  display: table-cell !important;
}

table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

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

table tr {
  padding: .35em;
}

table th,
table td {
  padding: .625em;
}

table th {
  font-size: .85em;
}

@media screen and (max-width: 992px) {

  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;
  }
  
  .hhs-table-mod table tr {
    /*border-bottom: 3px solid #ddd;*/
    display: block !important;
    margin-bottom: .625em;
  }
  
  .hhs-table-mod table td {
    /*border-bottom: 1px solid #ddd;*/
    display: block !important;
    font-size: .8em;
    text-align: right;
  }
  
  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;
    padding-right: 20px;
    padding-bottom: 1px;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
}


