 
  .wrapper {
    margin: 0 auto;
    padding: 40px;
    max-width: 800px;
  }
  
  .table {
    margin: 0 0 40px 0;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: table;
  }
  @media screen and (max-width: 580px) {
    .table {
      display: block;
    }
  }
  
  .tablerow {
    display: table-row;
    background: #f6f6f6;
  }
  .tablerow:nth-of-type(odd) {
    background: #e9e9e9;
  }
  .tablerow.header {
    font-weight: 900;
    color: #ffffff;
    background: #ea6153;
  }
  .tablerow.green {
    background: #27ae60;
  }
  .tablerow.blue {
    background: #243f8e;
  }
  @media screen and (max-width: 580px) {
    tablerow {
      padding: 14px 0 7px;
      display: block;
    }
    tablerow.header {
      padding: 0;
      height: 6px;
    }
    tablerow.header .cell {
      display: none;
    }
    tablerow .cell {
      margin-bottom: 10px;
    }
    tablerow .cell:before {
      margin-bottom: 3px;
      content: attr(data-title);
      min-width: 98px;
      font-size: 10px;
      line-height: 10px;
      font-weight: bold;
      text-transform: uppercase;
      color: #969696;
      display: block;
    }
  }
  
  .cell {
    padding: 6px 12px;
    display: table-cell;
  }
  @media screen and (max-width: 580px) {
    .cell {
      padding: 2px 16px;
      display: block;
    }
  }
  