function pdf_html_header($site_title) {
$ret='
<html>
  <head>
  <title>'.$site_title.'</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=IBM+Plex+Sans+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700">
  <style>
@page { margin: 25px 25px 40px 25px; /* Top, Right, Bottom, Left */ }
      body {
        font-size: 0.7rem;        
        font-family: "IBM Plex Sans Condensed", sans-serif;;        
        font-weight: 400;        
        line-height: 0.9;        
        padding: 0;
        margin: 0;
        color: #000000;
      }
      table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0px 0px;
      }
      
      th,
      td {
        border: 1px solid #bdbdbd;
        padding: 0 0.15rem 0.08rem 0.15rem;
        border-spacing: 0px 0px;
        text-align: left;
      }
      
      th {
        background-color: #f2f2f2;
      }
      
      /* CSS CRITICAL FOR PAGE BREAKS */
      tr {
        page-break-inside: avoid;
      }
      
      /* Prevents a row splitting across pages */
      thead {
        display: table-header-group;
      }

      tr.grey{
        background-color: #eeeeee;
      }
      
      /* Repeats table header on every page */
      footer {
        position: fixed;
        bottom: -40px;
        left: 0px;
        right: 0px;
        height: 40px;
        text-align: center;
      }
      
      .page-number:after {
        content: counter(page);
      } 
      h3 {
        font-size: 15px;              
        padding: 0rem;
        margin: 0rem;
      }
      .tc {
        text-align: center;              
      }
      .tl {
        text-align: left;              
      }
  </style>
  </head>
  <body>
';
return $ret;
}