﻿* {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.section-title {
    color: #171717;
    font-style: normal;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: calc(1.275rem + .3vw);
    text-align: center;
    font-weight: 800;
    margin-bottom: 20px;
    /* padding-bottom: 5px; */
    /* border-bottom: 1px solid #c5c6c7; */
}

.dpr_preview p,
.dpr_preview ul li {
    color: #171717;
}

.dpr_preview .table th {
    font-weight: 600;
    font-family: mainFontSansSemiBold;
}

.dpr_preview .table tr th,
.dpr_preview .table tr td {
    text-align: left;
    padding: 6px 0;
    border: none;
    font-size: .875rem;
    color: #171717;
    white-space: normal;
}

.dpr_preview .table td {
    font-weight: 400 !important;
}

.dpr_preview .table thead th {
    border-bottom: 1px solid #c5c6c7 !important;
}

.dpr_preview .table.last_text_end tr th:last-child,
.dpr_preview .table.last_text_end tr td:last-child {
    text-align: right !important;
}

/* Same layout for screen view */
#pdf-content {
    width: 100%;
    max-width: 794px;
    /* background: white;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.break-b {
    page-break-before: always;
}

.pdf_section_wrapper {
    height: 1118px;
    /* margin-bottom: 20px; */
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
}

    .pdf_section_wrapper .footer_text {
        position: absolute;
        bottom: 35px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }

.pdf_section {
    /* page-break-inside: avoid;
            break-inside: avoid;
            page-break-after: always; */
    border: 3px solid var(--blue);
    padding: 45px 30px 45px;
    height: calc(1118px - 40px);
}

.project_name {
    position: absolute;
    top: 250px;
    left: 0;
    height: 300px;
    width: 90%;
    background: var(--blue);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
    span

{
    font-size: 2.5rem !important;
}

}

.project_details_wrap {
    margin-top: 400px !important;
}

    .project_details_wrap.table tr th {
        max-width: 150px;
    }

    .project_details_wrap.table tr th,
    .project_details_wrap.table tr td {
        font-size: 20px !important;
    }

@media print {
    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        margin: 0;
    }

    @page {
        size: A4 portrait;
        margin: 0;
    }

    /* #pdf-content {
                padding: 0;
                margin: 0;
                box-shadow: none;
            } */

    /* .pdf_section_wrapper {
                height: unset;
                margin-bottom: 0;
                background: transparent;
                box-shadow: none;
                padding: 0;
            } */
}
