@media print {
  .print-hide {
    display: none;
  }
  @page {
    size: A4 portrait;
    margin: 0.6cm 0.6cm !important;
  }
  html, body {
    /*changing width to 100% causes huge overflow and wrap*/
    height: 100%;
    overflow: hidden;
    font-size: 14pt;
    line-height: 14pt;
    font-family: serif;
  }
  .a4 {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  table.cols-3 {
    font-family: serif;
    font-size: 14pt;
    line-height: 14pt;
  }
  table.cols-3 tr td {
    display: table-cell !important;
  }
  table tr:first-child td {
    border-top-width: 0.25pt !important;
    height: 27pt;
  }
  table td {
    padding: 2.25pt 3.75pt;
  }
  table td.qcell {
    padding-top: 4.5pt;
    padding-left: 9.75pt;
    border-bottom-width: 0.25pt !important;
  }
  table td.icell {
    border-bottom-width: 0.25pt !important;
  }
  table td.icell .input-box {
    height: 21pt !important;
    border-width: 0.25pt !important;
  }
  table td.acell {
    border-left-width: 0.25pt;
    border-bottom-width: 0.25pt !important;
    padding-top: 4.5pt;
    padding-left: 10pt;
  }
  table td.acell:last-child {
    border-right-width: 0.25pt !important;
  }
  table.arabic {
    font-family: 'tajawal';
    font-size: 16pt !important;
    line-height: 16pt !important;
  }
  table.arabic td.qcell {
    padding-right: 9.75pt;
    padding-left: 3.75pt;
    border-right-width: 0.25pt !important;
    border-left: none;
  }
  table.arabic td.qcell:first-child {
    border-right-style: solid !important;
  }
  table.arabic td.acell {
    border-right-width: 0.25pt !important;
    border-left: none;
    padding-right: 10pt;
    padding-left: 3.75pt;
  }
  table.arabic td.acell:last-child {
    border-left-width: 0.25pt !important;
  }
}
