﻿@media print and (width: 21cm) and (height: 29.7cm) {
    @page {
        margin: 3cm;
    }
}
@media print {
    /*@page {
        size: A4 landscape;
    }*/
    @page {
        size: A4 portrait;
        padding-top: 15px;

    }
    @page :first {
        padding-top: 0px;
        
    }

    html, body {
        width: 210mm !important;
        height: 297mm !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        
    }

    div.container {
        width: 755px;
    }

    header {
        position: relative;
        margin-left: 10px;
        /* top: 0;
        
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;*/
    }

    main {
        position: absolute;
        margin-top: 5px;
        margin-left: 1px;
        margin-right: 20px;
    }

    div.page-break-section {
        break-inside: avoid;
        page-break-before: auto;
        /*position: relative;
        top: 125px;*/
        /*page-break-inside: avoid;
        page-break-after: always;*/
    }

    table.page-break-section {
        break-inside: avoid;
        break-after: avoid;
        page-break-before: auto;
        /*position: relative;
        top: 125px;*/
        /*page-break-inside: avoid;
        page-break-after: always;*/
    }

    section.page-break-section {
        break-inside: avoid;
        break-after: avoid;
        page-break-before: auto;
        /*position: relative;
        top: 125px;*/
        /*page-break-inside: avoid;
        page-break-after: always;*/
    }

    div.report-sent {
        margin-left: 3px;
        margin-top: -18px;
    }

    .page-break {
        display: block;
        page-break-before: always;
    }

    span.span-break {
        break-before: auto;
    }

    div.page-ans-content {
        margin-left: 10px;
        margin-right: 10px;
    }

    footer {
        position: fixed;
        max-width: 300px;
        margin-bottom: 20px;
        bottom: 0;
    }

    .footer-page {
    }
    .footer-page-field {
    }

    .footer-page22:after {
        counter-increment: page;
        content: "Page " counter(page);
        left: 0;
        top: 100%;
        white-space: nowrap;
        z-index: 20;
        -moz-border-radius: 5px;
        -moz-box-shadow: 0px 0px 4px #222;
        background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
    }

}
@media screen {
    .footer-page {
        display: none;
    }
    .footer-page-field {
        display: none;
    }
    /*header {
        display: none;
    }*/
}

@page {
    @bottom-right {
        content: 'Page 'counter(page) ' of ' counter(pages) ;
        margin-top: -55px;
        margin-right: 25px;
        font-size: 10pt;
        color: gray;
    }
}

@font-face {
    font-family: 'notonastaliqurdu-variablefont_wght';
    src: url('../fonts/Jameel Noori Nastaleeq Regular.ttf') format('truetype');
}
.urduFont {
    font-family: Jameel Noori Nastaleeq Regular !important;
    font-size: 24px;
    text-align: right;
}

.urduFontList {
    font-family: Jameel Noori Nastaleeq Regular !important;
    font-size: 20px;
    height: 60px;
    float: right;
}

.urduFontList * {
    text-align: right;
}

.urduFont19 {
    font-family: Jameel Noori Nastaleeq Regular !important;
    font-size: 19px;
    text-align: right;
}

.urduFont21 {
    font-family: Jameel Noori Nastaleeq Regular !important;
    font-size: 21px;
    text-align: right;
}

.urduFont22 {
    font-family: Jameel Noori Nastaleeq Regular !important;
    font-size: 22px;
    text-align: right;
}

.urduFont16 {
    font-family: Jameel Noori Nastaleeq Regular !important;
    font-size: 16px;
    text-align: right;
}

.div-section {
    margin-left: 2px;
    text-align: center;
    border-right: 1px solid;
    border-left: 1px solid;
    width: 99.75%;
}

body {
    font-family: Calibri;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 800px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

footer {
    margin-top: auto;
}

.footerText {
    text-align: center;
    font-size: 10pt;
    margin-top: -5px;
    margin-bottom: 5px;
    color: gray;
}