/*!
 * Overwrites for bootstrap print styles
 * Designed and built with all the love for trees.
 */

@media print {
    @page {
        size: letter;
    }
    .container {
        width: 1170px;
    }
    .column {
        height: auto !important;
    }
    a[href]:after {
        content: none;
    }
    abbr[title]:after {
        content: " (" attr(title)")";
    }
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: none;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
    .logged-in #toolbar,
    .logged-in .tabs,
    .book_add_child,
    .book_printer,
    .comment-add,
    #search-block-form,
    .site-main-menu,
    .comment-form {
        display: none;
    }
}
