﻿/* Paper setup */
@page {
  size: auto;                /* use the browser's chosen size */
  margin: 0.5in;             /* comfortable margins for most printers */
}

/* Global print tweaks */
@media print {
  html, body { background: #fff !important; }
  body {
    font: 10pt/1.3 Arial, Helvetica, sans-serif; /* smaller, readable */
    color: #000 !important;
  }

  /* Don’t append URLs after links */
  a[href]:after { content: "" !important; }

/* Hide non-essential/ink-heavy bits (adjust to taste) */
/*
  #tblHeader img,
  #tblHeader a
  #tblHeader tr:nth-child(3),
  #tblHeader tr:nth-child(7)
  {
    display: none !important;
  }
*/

/* Hide A-HREF links */
  #tblHeader a
  {
    display: none !important;
  }

/* change A-HREF links to NO be underlined */
/*
  #tblHeader a
  {
    text-decoration: none;
  }
*/
  #inforow { display: table-row !important; }
  #rtToggleButton { display: none !important; }
 
  /* Provide an easy kill switch for anything else */
  .no-print { display: none !important; }

  /* Tables: full width, compact, bordered */
  table {
    width: 100% !important;
    border-collapse: collapse !important;
    /*   page-break-inside: avoid; */    /* keep each table intact if possible */
  }
  thead { display: table-header-group; } /* repeat headers on new pages */
  tfoot { display: table-footer-group; }

  th, td {
    font-size: 9pt !important;       /* tighter table text */
    padding: 4pt 6pt !important;     /* compact cells */
    border: 0px solid #333 !important;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;             /* keeps times on one line */
  }

  /* Make header tables smaller and tighter */
  #tblHeader td {
    font-size: 12pt !important;
    padding: 2pt 0 !important;
    border: 0 !important;
  }

  /* Headline sizing */
  #tblHeader .FINAL       { font-size: 14pt !important; font-weight: 700; }
  #tblHeader .FINAL-TIME  { font-size: 10pt !important; }

  .w3-black
  {
    /* background: #e0e0e0 !important; */
    /* color: #000 !important; */
    background: #6d6d6d !important;
    color: #ffffff !important;
  }


  /* Tone down heavy backgrounds for print legibility */
 .w3-gray, .w3-dark-gray, .w3-dark-grey {
    background: #e0e0e0 !important;
    color: #000 !important;
  }
  /* .w3-striped tr:nth-child(even) { background: #f5f5f5 !important; } */

  /* Keep each result row together on a page */
  tr { page-break-inside: avoid !important; }

  /* Course colors: keep emphasis via weight; color may not print well */
  .course1, .course2 {
    /* font-weight: 700; */
    /* If you want grayscale instead of color, uncomment: */
    /* color: #000 !important; */
  }

  /* Remove any leftover backgrounds */
  /*
  .ProntoLightGray, .w3-light-gray, .w3-light-grey {
    background: #fafafa !important;
  }
*/

  /* Tighten vertical rhythm between stacked rows (your “detail” rows) */
  #tbl01 tr + tr td { padding-top: 3pt !important; }
}
