﻿@font-face {
    font-family: 'Eras ITC';
    src: url('/Content/ERASBD.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Georgia';
    src: url('/Content/georgiab.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --mmargin: 0px 0px 0px 0px;
    --cmargin: 0px 0px 0px 0px;
}
.custom-alert {
    padding: 10px;
    background-color: #f8d7da; /* Red background color */
    color: #721c24; /* Dark red text color */
    border: 1px solid #f5c6cb; /* Red border */
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px
}

.printbodyimage, .printbodyimage2 {
    position: absolute;
    width: 541px;
    height: 763px;
    top: 0;
    left: 0;
    z-index: -1;
}


.printbody {
    position: relative;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    line-height: 16px;
    width: 541px;
    height: 763px;
    padding: 0px;
    border: 1px solid #000;
    z-index: 1;
}

.mprintimg {
    border: 1px solid #000;
    margin-top: 113px;
    margin-bottom: 0px;
    margin-right: 50px;
    width: 50px;
    height: 50px;
}

.msno {
    text-align: end;
    padding-right: 50px;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 700;
}

.printhead {
    display: flex;
    justify-content: flex-end;
    margin-top: 29px;
    align-items: flex-end;
}

    .printhead .div1 {
        width: 200px;
    }

    .printhead .div2 {
        width: 70px;
    }

    .printhead .div3 {
        width: 100px;
    }

    .printhead .div4 {
        width: 20px;
    }

.mnamec {
}

.mcourse {
    font-size: 8px;
}

.mduration {
}

.mregno {
}

.mdob {
}

.mmonthyear {
}

.mlcno {
}

.table-div {
    min-height: 286px;
}

.print-table {
    margin-top: 30px;
    border-spacing: 0px;
    border-collapse: collapse;
    width: auto;
    font-family: 'Times New Roman', Times, serif;
    font-size: 10px;
    font-style: italic;
    line-height: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

    .print-table tr > td:first-child {
        width: 50px;
        padding-left: 55px;
    }

    .print-table tr > td:nth-child(2) {
        width: 243px;
    }

    .print-table tr > td:nth-child(3) {
        width: 70px;
    }

    .print-table tr > td:nth-child(4) {
        font-family: Arial, Helvetica, sans-serif;
        font-style: normal;
        width: 50px;
    }

.mtotal, .mpercentage, .mgrade {
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-size: 14px;
}

.mtotal {
}

.mpercentage {
}

.mgrade {
}

.mldate {
    margin: 20px 0px 0px 90px;
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-size: 14px;
    font-weight: bold;
}

.printbody2 {
    margin-top: 2px;
    color: #000;
    font-family: 'Eras ITC';
    font-weight: bold;
    font-size: 7px;
    line-height: 16px;
    width: 541px;
    height: 763px;
    padding: 0px;
    border: 1px solid #000;
    position: relative;
    z-index: 0;
}

.printimg2 {
    border: 1px solid #000;
    margin-top: 180px;
    margin-bottom: 0px;
    margin-right: 80px;
    width: 55px;
    height: 55px;
}

.printhead2 {
    text-align: center;
    margin-top: 30px;
    text-transform: uppercase;
}
    .printhead2 h3 {
        font-size: 14px;
    }

    .printhead2 .cnamec {
        margin-top: 0px;
    }

    .printhead2 .cfathers {
        margin-top: 65px;
    }

    .printhead2 .ccourse {
        margin-top: 55px;
    }

.printhead3 {
    margin-top: 37px;
    display: flex;
    justify-content: space-between;
    padding: 0 45px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
}

    .printhead3 .cregno {
        font-size: 13px;
    }

    .printhead3 .cmonths {
        font-size: 13px;
        margin-right: 25px
    }

.printhead4 {
    margin-top: 23px;
    justify-content: space-evenly;
    padding: 0 90px;
}

    .printhead4 .cyear {
        font-size: 13px;
        padding-left: 20px;
    }

    .printhead4 .cgrad {
        font-size: 13px;
        padding-right: 55px;
    }

.cldate {
    margin: 65px 0px 0px 95px;
    text-transform: uppercase;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
}
    .cldate h3 {
        font-size: 13px;
    }

    .cldate .cplace {
        margin-top: 9px;
    }

@media print{
    @page {
        margin: 0;
    }

    body, html {
        margin: 0;
        padding: 0;
    }
    .printbody, .printbody2 {
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        border:none;
        page-break-before: always;
    }

    .printbodyimage, .printbodyimage2{
        display: none;
    }
}