/* GIGW 5.1.20 - print stylesheet: fits A4, black on white, no navigation/banners */
@page { size: A4; margin: 12mm; }
@media print {
    html, body { width: auto !important; min-width: 0 !important; max-width: 100% !important;
                 background: #fff !important; color: #000 !important; font-size: 12pt !important; }
    .container, .container-fluid, main, #main, #b-header, #b-accessibility, .footer-bs footer {
        width: 100% !important; max-width: 100% !important; min-width: 0 !important;
        padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
    .row { display: block !important; margin-left: 0 !important; margin-right: 0 !important; }
    [class*="col-"] { width: 100% !important; max-width: 100% !important; flex: none !important; float: none !important; padding-left: 0 !important; padding-right: 0 !important; }
    /* hide navigation, banners, tools */
    .skip-link, #b-accessibility, nav, .navbar, .b-acc-wrap, .b-lang-wrap, .bhashini-plugin-container,
    .b-header-search, .b-header-logo, .footer-bs, .backtotop, .breadcrumb, .btn, button,
    .alert .close, .captcha-refresh, #chartdiv .btn { display: none !important; }
    #b-header { display: block !important; border-bottom: 1px solid #000; margin-bottom: 8pt; }
    .b-header-brand { display: flex !important; flex-wrap: wrap; }
    img, svg, canvas, table, pre { max-width: 100% !important; height: auto; }
    table { width: 100% !important; table-layout: auto; border-collapse: collapse; }
    th, td { border: 1px solid #000 !important; color: #000 !important; word-break: break-word; }
    * { box-shadow: none !important; text-shadow: none !important; background-image: none !important; }
    .card, .border, .shadow, .shadow-sm { border: 1px solid #000 !important; background: #fff !important; }
    h1, h2, h3, h4, h5, h6, p, li, span, label, small, strong, td, th, a { color: #000 !important; }
    h1, h2, h3, h4 { page-break-after: avoid; }
    tr, img, .card { page-break-inside: avoid; }
    a { text-decoration: underline; }
    a[href^="http"]:after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
    .collapse:not(.show) { display: block !important; }  /* print FAQ answers */
    pre, code { white-space: pre-wrap !important; word-break: break-word; }
}
