﻿@media print {

    @page {
        size: letter landscape;
        margin: 10mm 10mm 10mm 10mm;
    }

    body {
        zoom: 80%;
        /*writing-mode: tb-rl;*/
    }

    .no-print, .no-print * {
        display: none !important;
    }

    #detailsPane {
        height: unset !important;
        width: unset !important;
    }

        #detailsPane table thead tr th, #detailsPane table tbody tr td {
            border-color: black;
            border-width: 1pt;
            border-collapse: collapse;
        }
    
    /*Hide URLs*/
    a[href]:after {
        content: none !important;
    }
    * {
        color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }


    th {
        background-color: gray !important;
        color: white !important;
    }

    ::-webkit-scrollbar { /*hides scroll bars*/
        display: none;
    }

    /*For accordions*/
    .accordion > h3 {
        font-size: x-large !important;
        border: 1px solid #ddd !important;
        background-color: #ddd !important;
    }
    .ui-accordion-header {
        page-break-inside: avoid;
    }
    .accordion .ui-accordion-content {
        /*overflow: no-display !important;
        line-break: strict !important;
        line-height: unset !important;
        color: red !important;
        font-family: cursive !important;
        break-inside: auto !important;*/
    }

    /*For Rules*/
    #tblRules hr {
        border-top: 1pt solid black !important;
    }
    .ruleSpannedHeaderCell {
        background-color: white !important;
    }

    /*For Categories*/
    .cellNoInter {
        background-color: white !important;
    }

    /*For data elements*/
    #dataElementsDetId {
        display: table;
        border-collapse: collapse;
        border-top: 1pt solid black;
        border-right: 1pt solid black;
    }
    #dataElementsDetId div.no-border {
        border: none !important;
    }

        #dataElementsDetId div {
            border-left: 1pt solid black !important;
            border-bottom: 1pt solid black !important;
            min-height: 25pt;
        }

        #dataElementsDetId .DivTableheader {
            background-color: gray !important;
            color: white !important;
        }

        #dataElementsDetId .row {
            margin: 0px;
        }
}
