﻿/* PRINT ONLY */
@media print {

    /* 1) Ensure colours/spacing print nicely (optional but usually helpful) */
    html, body {
        background: #fff !important;
        font-size: 12pt !important;
    }

    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 90%;
    }

    #PrintPageLink {
        display: none;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
    #PILContainer {
        margin: 0 !important;
    }
    #PILHeaderBar {
        display: block !important;
    }

    /* target the PIL columns (only direct children of the row) */
    #PILRow > div {
        width: 100%;
    }
    /* BOOSTRAP ACCORDION - Always expand each accordion item */
    .accordion-collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    .accordion-button {
        pointer-events: none;
        background: none;
        color: #000;
    }
        /* Hide the toggle icon */
        #PILRow .accordion-button::after {
            display: none;
        }

    /* HIDE FOOTER AND HEADER ELEMENTS THAT AREN'T NECESSARY FOR PRINT */
    .accessibility-tools-link,
    #EmergencyMessage,
    #MobileMenu,
    #DesktopSearchForm,
    #DesktopNavigationBar,
    #Breadcrumb {
        display: none !important;
    }


    /* // No longer needed as have seperate header bar with Patient Information heading
        #BreadcrumbInner::before {
        content: "Patient information";
    }*/

    #FooterSocialIcons,
    #FooterLogos,
    footer .navbar-nav {
        display: none;
    }
    
    
}
