/* The printable preventive care checklist (/tools/preventive-care-checklist/).
   On screen it is a page like the others; printed, it is one or two sheets:
   no site chrome, a header with name and year of birth, black text, a box to
   tick and a column to write dates in. */
.checklist-print-head { display: none; }
.checklist-box { display: inline-block; width: 0.8em; height: 0.8em; border: 1.5px solid #635C54; border-radius: 2px; margin-right: 0.5em; vertical-align: -0.05em; }
.checklist-write { min-width: 7.5em; }

@media print {
  @page { size: letter; margin: 0.55in 0.5in; }
  header[data-site-header], footer, nav, [data-no-print], [data-page-editor],
  #bh-a11y-status, [data-scroll-top], .spectrum-rule { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 10pt; }
  main { padding: 0 !important; }
  .checklist { max-width: none !important; padding: 0 !important; }
  .checklist-print-head { display: block; margin-bottom: 10pt; border-bottom: 1.5pt solid #000; padding-bottom: 6pt; font-size: 9pt; }
  .checklist-print-head p { margin: 2pt 0; }
  .checklist-print-title { font-family: Newsreader, Georgia, serif; font-size: 18pt; font-weight: 600; }
  .checklist-line { display: inline-block; width: 3.2in; border-bottom: 0.75pt solid #000; height: 1em; vertical-align: bottom; }
  .checklist-line-short { width: 1in; }
  .checklist-table th, .checklist-table td { padding: 2.5pt 4pt !important; color: #000 !important; line-height: 1.25 !important; }
  .checklist-table thead tr { background: #eee !important; }
  .checklist-write { border-bottom: 0.75pt solid #000; min-width: 0.9in; }
  .checklist-notes { font-size: 8pt; margin-top: 8pt !important; }
  .checklist-notes ul > li + li { margin-top: 2pt !important; }
  .checklist-notes ul, .checklist-notes p { font-size: 8pt !important; line-height: 1.35 !important; }
  .checklist-notes h2 { font-size: 11pt !important; }
  .overflow-x-auto { overflow: visible !important; border-color: #000 !important; }
  a { color: #000 !important; text-decoration: none !important; }
  a[href]::after { content: "" !important; }
}

/* The first risk-dependent row gets a heavier rule: everything under it is "if". */
.checklist-table tr.checklist-conditional { background: #FAF9F7; }
.checklist-table tr:not(.checklist-conditional) + tr.checklist-conditional { border-top: 2px solid #635C54; }
.checklist-print-only { display: none; }
@media print {
  .checklist-print-only { display: table-cell; }
  .checklist-table tr.checklist-conditional { background: #f4f4f4 !important; }
  .checklist-table { min-width: 0 !important; font-size: 8pt !important; table-layout: auto; }
  .checklist-table thead th:nth-child(2) { width: 16%; }
  .checklist-table thead th:nth-child(8) { width: 24%; }
}
