
    .table-wrapper {
      overflow-x: auto;
    }

    table {
      border-collapse: collapse;
      width: 100%;
    }

    th,
    td {
      text-align: left;
      padding: 8px;
    }

    th {
      background-color: #f2f2f2;
    }

    tr:nth-child(even) {
      background-color: #f2f2f2;
    }

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

      table,
      thead,
      tbody,
      th,
      td,
      tr {
        display: block;
      }

      thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
      }

      tr {
        border: 1px solid #ccc;
      }

      td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
      }

      td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
      }

      td:nth-of-type(1):before {
        content: "Invocie No";
      }

      td:nth-of-type(2):before {
        content: "Date";
      }

      td:nth-of-type(3):before {
        content: "Amount";
      }

      td:nth-of-type(4):before {
        content: "Paid";
      }

      td:nth-of-type(5):before {
        content: "Due";

      }

      td:nth-of-type(6):before {
        content: "Print";

      }
    }
 