/*
  Northmount Pharmacy: veterinary formulary (veterinary-formulary.php).
  Additions to the shared building blocks in site.css. Rules are scoped to vf- classes;
  the print rules only load on this page.

  Made with Aloha ~ Aloha Way Marketing
*/

/* Dosage forms table */
.vf-forms th[scope="row"] { color: var(--plum); white-space: nowrap; }

/* Phones: each row becomes a small card (the column names come from data-label) */
@media (max-width: 600px) {
  .vf-forms thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .vf-forms, .vf-forms tbody, .vf-forms tr, .vf-forms th, .vf-forms td { display: block; width: 100%; }
  .vf-forms tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .vf-forms tr:last-child { border-bottom: 0; }
  .vf-forms th[scope="row"], .vf-forms td { padding: 0; border: 0; white-space: normal; }
  .vf-forms th[scope="row"] { font-size: 18px; margin-bottom: 4px; }
  .vf-forms td + td { margin-top: 6px; }
  .vf-forms td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--plum); }
}

/* Buttons inside topic cards */
.vf-card-ctas { margin-top: 16px; }

/* Fax order form: the addressee line */
.vf-to { margin: 0 0 8px; padding-bottom: 12px; border-bottom: 2px solid var(--line); color: var(--ink-soft); }
.vf-to b { color: var(--plum); }

/* Printing: only the fax order form goes on paper. Header, footer and hero are hidden by
   site.css; the other sections carry .no-print; the closing band is hidden here. */
@media print {
  .cta-band { display: none !important; }
  #fax-form { padding: 0; background: none; }
  #fax-form .sec-head { margin-bottom: 12px; }
  .vf-print { padding: 0; }
  .vf-print .row { min-height: 2.6em; }
}
