/* Slightly modified version of
https://github.com/alcaeus/bootstrap-table-responsive/blob/master/dist/css/bootstrap-table-responsive.css
*/
.table-collapse tbody > tr > td.collapse-toggle {
  display: none;
  padding: 4px 4px 0 0;
}

@media (max-width: 768px) {
  .table-collapse {
    display: block;
  }
  .table-collapse caption {
    display: block;
  }
  .table-collapse thead,
  .table-collapse tfoot {
    display: none;
  }
  .table-collapse tbody {
    display: block;
  }
  .table-collapse tbody > tr {
    display: block;
    border-top: 1px solid #dddddd;
  }
  .table-collapse tbody > tr:first-child {
    border-top: none;
  }
  .table-collapse tbody > tr > td,
  .table-collapse tbody > tr > th {
    display: block;
    border: none;
  }
  .table-collapse tbody > tr > td.collapse-toggle {
    display: block;
    float: right;
  }
  .table-collapse tbody > tr > td.collapse {
    display: none;
  }
  .table-collapse tbody > tr > td[data-caption]:before {
    display: block;
    float: left;
    width: 160px;
    padding-right: 20px;
    overflow: hidden;
    clear: left;
    font-weight: bold;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    content: attr(data-caption);
  }
  .table-collapse.table-bordered {
    border: none;
  }
  .table-collapse.table-bordered tbody {
    border: 1px solid #dddddd;
  }
}
