

/* Printer-Friendly Styles for The Open Scroll - Firefox Fix Included */
@media print {
  /* Base reset */
  body, html {
    background: white !important;
    color: #000 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    line-height: 1.5 !important;
    font-size: 12pt !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.5in !important;
  }

  /* Hide non-content */
  nav, header nav, footer, .sidebar, #sidebar, .menu, .search, .social, 
  .advertisement, iframe, video, audio, object, embed, section#footer.wrapper, 
  button, .no-print, [class*="nav"], [id*="nav"], [class*="menu"] {
    display: none !important;
  }

  /* Strong overrides for verse classes (Firefox fix) */
  .verse, [class*="verse"] {
    background: white !important;
    background-color: white !important;
    color: #000 !important;
    border: none !important;
  }

  .verseText, .verse-text, [class*="verseText"] {
		background: white !important;
		background-color: white !important;
		color: #000 !important;
		border-left: 3px solid #212632 !important;
  }

  /* Additional common verse-related classes */
  .verseHighlight, .highlight, .chiasm, .parallel, .structure, .quoted, #logo div {
    background: transparent !important;
    color: #000 !important;
  }
  
  .sidebox {
    background: transparent !important;
    color: #111 !important;
	border: #555 solid 2px !important; 
  }

  /* Links */
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #000;
  }

  /* Headings */
  h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
    page-break-after: avoid;
    break-inside: avoid;
  }

  h1 { font-size: 18pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }

  p, li, blockquote, td, th {
    color: #000 !important;
    orphans: 3;
    widows: 3;
  }

  table, th, td {
    border: 1px solid #000 !important;
    border-collapse: collapse !important;
    background: white !important;
  }

  /* General cleanup */
  * {
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
    filter: none !important;
  }

  pre, code {
    white-space: pre-wrap !important;
    font-size: 10pt !important;
    background: white !important;
  }

  @page {
    margin: 0.75in;
  }
}