/* Printable song sheets. The HTML comes from _filters/songbook.lua and the
   song lines use the styles in song.css. */

.sheet-actions { margin-bottom: 1.5rem; }
.sheet-actions .btn { margin: 0.25rem 0.5rem 0.25rem 0; }

.sheet-page + .sheet-page {
  border-top: 1px dashed var(--bs-border-color);
  margin-top: 2rem;
  padding-top: 2rem;
}
.sheet-song { break-inside: avoid; margin-bottom: 1.5rem; }
.sheet-title { font-size: 1.35rem; margin: 0; border: none; padding: 0; }
.sheet-title a { color: inherit; text-decoration: none; }
.sheet-about { color: var(--bs-secondary-color); font-size: 0.9rem; margin-bottom: 0.5rem; }

@media (min-width: 900px) {
  .sheet-columns { columns: 2; column-gap: 3rem; }
}

@media print {
  @page { size: letter; margin: 0.5in; }
  body { padding-top: 0 !important; }
  #quarto-header, #title-block-header, .sheet-actions, .nav-footer,
  #quarto-margin-sidebar, #quarto-sidebar, .quarto-alternate-formats { display: none !important; }
  #quarto-content, main.content { margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important; }
  .page-columns { display: block !important; }
  .sheet-page { break-after: page; border: none !important; margin: 0 !important; padding: 0 !important; }
  .sheet-page:last-child { break-after: auto; }
  .sheet-columns { columns: 2; column-gap: 0.4in; }
  /* Zero top margins, or the first column starts lower than the second
     (a column break drops the margin, the top of the first column keeps it). */
  .sheet-song, .sheet-title { margin-top: 0 !important; padding-top: 0 !important; }
  .sheet-song { margin-bottom: 0.3in; }
  .sheet-title { font-size: 18pt; }
  .sheet-about { font-size: 10.5pt; margin-bottom: 0.08in; }
  .song { font-size: 13pt; line-height: 1.4; }
  .song-lyrics { padding-left: 1.5em; text-indent: -1.5em; }
  .sheet-columns .song { font-size: 12pt; }
  .song .chord { color: #000; }
}

/* Key menu from assets/songbook.js: on screen it replaces the "Key of G" text;
   the text comes back when printed. */
.sheet-key-tool { display: inline-flex; vertical-align: middle; white-space: nowrap; }
.sheet-key.has-tool { display: none; }
@media print {
  .sheet-key-tool { display: none !important; }
  .sheet-key.has-tool { display: inline; }
}
