/* Print view: the ordinary web page without its interactive chrome.
   The same rules apply on screen to the ?printable=1 view (html.pm)
   and to printing any page (@media print). Keep both lists in step. */

.pm-footer {display: none;}

html.pm .header .linetop .langs,
html.pm .header .mobile__langs,
html.pm .header .regwindow, html.pm .header .enterwindow,
html.pm .header .linebottom,
html.pm .reg_tooltip, html.pm #popup, html.pm .toplayer, html.pm .toplayertext,
html.pm .partright, html.pm .partright-toggle,
html.pm .ntpartright, html.pm .printversion, html.pm .sharewidget,
html.pm .dottednavbibleline, html.pm .readmore2,
html.pm #relatedNotesZone, html.pm .libraryblock, html.pm .librarymaterials,
html.pm .dictnavline, html.pm .enterwords p, html.pm .faqparts, html.pm .bookswindow,
html.pm #loginStatusZone, html.pm .header .account,
html.pm .share-widget, html.pm .translateversions, html.pm .underheadline,
html.pm .showmorequestions, html.pm .showmorebooks,
html.pm .footer, html.pm .cc-window, html.pm .cc-revoke, html.pm .showmore {display: none !important;}
/* Related-link lists; the Links page keeps its own .linksblock content. Separate rule so
   browsers without :has() drop only this rule. */
html.pm .linksblock:not(:has(.resourceblock)) {display: none !important;}
html.pm .header {height: auto; min-height: 0; margin-bottom: 18px;}
html.pm .header .topright .linetop {height: 53px;}
html.pm .centralpart .partleft {float: none;}
html.pm .enterwords {border: 0 !important; padding-bottom: 0 !important; margin-bottom: 8px !important;}
html.pm .header .lineblack {border-top: 3px solid #0a256e; height: 0 !important; overflow: hidden;}
html.pm .pm-footer {display: block !important; margin: 28px 0 0; padding: 10px 0 0; border-top: 3px solid #d9d9d9; font: 12px/18px Arial, sans-serif; color: #777;}
html.pm .pm-footer a {color: #2b65aa; text-decoration: none;}

@page {margin: 14mm 14mm 16mm;}

@media print {
    .header .linetop .langs,
    .header .mobile__langs,
    .header .regwindow, .header .enterwindow,
    .header .linebottom,
    .reg_tooltip, #popup, .toplayer, .toplayertext,
    .partright, .partright-toggle,
    .ntpartright, .printversion, .sharewidget,
    .dottednavbibleline, .readmore2,
    #relatedNotesZone, .libraryblock, .librarymaterials,
    .dictnavline, .enterwords p, .faqparts, .bookswindow,
    #loginStatusZone, .header .account,
    .share-widget, .translateversions, .underheadline,
    .showmorequestions, .showmorebooks,
    .footer, .cc-window, .cc-revoke, .showmore {display: none !important;}
    .linksblock:not(:has(.resourceblock)) {display: none !important;}
    .header {height: auto; min-height: 0; margin-bottom: 18px;}
    .header .topright .linetop {height: 53px;}
    .centralpart .partleft {float: none;}
    .enterwords {border: 0 !important; padding-bottom: 0 !important; margin-bottom: 8px !important;}
    .header .lineblack {border-top: 3px solid #0a256e; height: 0 !important; overflow: hidden;}
    .pm-footer {display: block !important; margin: 28px 0 0; padding: 10px 0 0; border-top: 3px solid #d9d9d9; font: 12px/18px Arial, sans-serif; color: #777;}
    .pm-footer a {color: #2b65aa; text-decoration: none;}

    /* Paper: let the text column use the sheet width instead of the 954px screen grid. */
    html, body {background: #fff !important;}
    #page, .page, .header, .footer, .centralpart, .centralpart .partleft,
    #editionDependentData, .bibletextblock, .library_dicts_content, .questions,
    .readingsheader .leftheader, .library_themes_header .ntheader {
        width: auto !important; max-width: 100% !important;
        margin-left: 0 !important; margin-right: 0 !important;
        padding-left: 0 !important; padding-right: 0 !important;
    }
    .header .topright {width: auto !important; float: none !important; margin-left: 101px;}
    .header .topright .linetop, .header .lineblack {width: auto !important;}
    a {color: #2b65aa !important;}
    h1, h2, h3 {break-after: avoid;}
    p, .oneword, .question, .answer {orphans: 3; widows: 3;}
}
