﻿/* Page margin */
@page {
    margin: 0.25in !important;
    size: auto; /* keeps the browser’s default page size */
    margin: 1in; /* adjust margins as needed */
}
/* Hide any non-print UI */
.noprint {
    display: none !important;
}

    .noprint * {
        display: none !important;
    }

#main-content, #main-content * {
    color: #000;
    background-color: transparent !important;
}


/* Begin tables */

/* Table should use the full available width */
.table {
    width: 100% !important;
    word-wrap: break-word;
}


/* Begin Handle Text Stuff */

/* force white-on-dark to readable */
.text-white, .bg-dark, .bg-dark-gray {
    color: #000 !important;
    background: #fff !important;
}

/* End Handle Text Stuff*/

/* Begin special member photo print */

/* Flatten card */
.member-card {
    background: none !important;
    break-inside: avoid; /* better way to prevent split rows */
    page-break-inside: avoid; /* older engines */
}

/* Print-only image */
.print-member-photo {
    display: block !important;
    height: auto !important;
    max-width: 100% !important;
    z-index: 1 !important;
}

/* Make overlay text readable */
.member-overlay {
    margin-top: 100px;
    color: #FFFFFF !important;
    z-index: 2 !important;
}

    .member-overlay * {
        color: #FFFFFF !important;
    }

    .member-overlay .card-text a {
        color: #FFFFFF !important;
    }

.card-title {
    color: #FFFFFF !important;
}

/* member details photo */

.member-photo-print {
    max-width: 200px !important;
    height: auto !important;
}

.member-info-row {
    display: grid !important;
    grid-template-columns: 32% 68%;
    column-gap: 16px;
    align-items: start;
    page-break-inside: avoid;
    break-inside: avoid;
}

    .member-info-row .member-photo-col,
    .member-info-row .member-info-col {
        float: none !important;
        width: auto !important;
        max-width: none !important;
        flex: none !important;
    }

    /* Kill the mobile spacer on paper */
    .member-info-row .d-md-none {
        display: none !important;
    }


.collapse-print { /* global ?*/
    display: block !important;
    height: auto !important;
    width: 100%;
}

/* End special member photo print */
/* Begin Special browser stuff */

#breadcrumbs {
    display: none !important;
    background: none !important;
    background-image: none !important;
    visibility: hidden !important;
}

#sticky-spacer {
    display: none;
    visibility: hidden;
    height: 0 !important;
}


/* old print stuff */
.content {
    font-size: 13px !important;
}

.fulltextLineHeight {
    line-height: normal !important;
}

code {
    color: black !important;
    font-size: 13px !important;
}

.originalTable {
    width: 800px !important;
    caption-side: unset;
    border-collapse: unset;
}
body {
    font-size: 13px !important; /* or whatever size matches your screen view */
    -webkit-print-color-adjust: exact; /* preserve colors if needed */
    print-color-adjust: exact;
}

* {
    font-size: inherit !important; /* inherit the body size */
}