/* Print-only stylesheet loaded with media="print" */

/* Hide everything except the certificate */
body * {
    visibility: hidden;
}

#dop-pdf-content,
#dop-pdf-content * {
    visibility: visible !important;
}

#dop-pdf-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 0.5in;
}

/* Hide nav, footer, modal chrome */
.no-print,
.modal-header,
.modal-footer,
.lightera-nav,
.lightera-footer,
.lightera-accent-bar,
header,
footer,
nav {
    display: none !important;
}

/* Modal overrides for print */
.modal {
    position: absolute !important;
    overflow: visible !important;
    background: none !important;
}

.modal-dialog {
    max-width: 100% !important;
    margin: 0 !important;
}

.modal-content {
    border: none !important;
    box-shadow: none !important;
}

/* Certificate print styles */
.dop-certificate {
    font-size: 11pt;
    line-height: 1.4;
    color: black !important;
    background: white !important;
    max-width: 100%;
    padding: 0 !important;
}

.dop-certificate table {
    color: black !important;
}

.dop-company-logo {
    height: 40px;
}

/* Prevent page breaks inside tables */
.dop-certificate table {
    page-break-inside: avoid;
}

@page {
    size: letter;
    margin: 0.5in;
}
