﻿
body {
    display: grid;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: url('../image/texture.jpg');
    background-attachment: fixed;
    background-size: 260px;
}

.universityinfo td {
    padding: 3px 10px !important;
    text-align: center;
}

#PrintLink {
    background: #e3da11;
    text-decoration: none;
    font-size: 14px;
    padding: 12px 11px;
    position: absolute;
    border-radius: 3px;
    margin: 0;
    right: 30px;
    bottom: 20px;
    border: none;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}

.feeinto td {
    padding: 0px 10px !IMPORTANT;
    font-size: 14px !important;
}

    .feeinto td:first-child {
        width: 194px;
    }

.paperInfo th {
    font-size: 14px !important;
    text-transform: uppercase;
    /* font-weight: normal; */
}

.page {
    width: 100% !important;
}

.Instruction b {
    font-size: 14px !important;
    font-weight: bold;
    line-height: 22px !IMPORTANT;
}

.Instruction {
    line-height: 22px !IMPORTANT;
    padding: 3px 10px !IMPORTANT;
}

.studentinfo td, .studentinfo b {
    font-weight: normal !IMPORTANT;
}

.studentinfo td {
    padding: 0px 0px !important;
    margin: 0 !important;
    border: none !important;
}

    .studentinfo td * {
        font-size: 14px !important;
        line-height: 23px !important;
    }

.table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    padding: 0;
}

#RegistrationData {
    margin: 10px 0 0 0;
    width: 80%;
}

.feeinfo td {
    padding: 0 7px !important;
    font-size: 14px !IMPORTANT;
}

.container {
    width: 720px !important;
    padding: 20px 30px !important;
    margin: 20px 0 10px 0;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
    position: relative;
}

#Printable * {
    font-family: roboto;
    font-size: 16px;
    line-height: 24px;
}

.table.border td {
    border: 1px solid #666;
    padding: 10px 15px;
}

.admission_no_enter * {
    font-family: roboto;
}

.admission_no_enter .field:first-child {
    width: inherit;
}

.admission_no_enter {
    display: inline-flex;
    width: inherit;
}

    .admission_no_enter button {
        width: 120px !important;
        margin-top: 0px !important;
        padding: 9px 0px !important;
        height: auto !important;
    }

.personal_info td {
    padding: 3px 0px;
    border-bottom: 1px solid #eee;
}

.text-right {
    text-align: right
}

.programinfo td {
    padding: 0px 15px !IMPORTANT;
    text-transform: uppercase !IMPORTANT;
}

    .programinfo td * {
        font-size: 14px !important;
    }

.programinfo {
    margin-top: 10px;
}

.paperInfo th span {
    font-size: 12px !IMPORTANT;
    font-style: italic;
}

.paperInfo th {
    line-height: 22px !important;
    border: 1px solid;
    padding: 0 10px !IMPORTANT;
    background: #eee;
}

.paperInfo td {
    padding: 0px 7px !important;
    font-size: 14px !IMPORTANT;
}

    .paperInfo td i {
        font-size: 14px !important;
    }

.paperInfo tr td:first-child {
    width: 200px !important;
}

.paperInfo {
    margin-top: 10px;
}

.declaration * {
    font-size: 13px !IMPORTANT;
}

.declaration td {
    padding: 5px 10px !IMPORTANT;
    line-height: 22px !important;
}

.declaration tr:last-child td {
    padding-top: 35px !important;
    text-align: center;
}

.declaration tr:first-child td {
    border: none !IMPORTANT;
    padding: 10px 0 !important;
}

.paymentinfo .header td {
    text-transform: uppercase;
    background: #eee;
}

.paymentinfo * {
    font-size: 14px !important;
}

.paymentinfo td {
    padding: 0 10px !IMPORTANT;
    line-height: 22px !important;
}

.paymentinfo {
    width: 240px;
}

    .paymentinfo .paybtn td {
        padding: 9px !IMPORTANT;
    }

        .paymentinfo .paybtn td button {
            border-radius: 3px !important;
            width: 100%;
            border: none;
            background: #7ccb36;
            cursor: pointer;
            font-weight: bold;
            text-transform: uppercase;
            padding: 6px 10px;
            box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
        }

td {
}

.paymentinfo tr td:nth-child(2) {
    text-align: right;
}

.paymentinfo tr.footer td {
    font-weight: bold;
}

/* =========================================================
   RESPONSIVE CSS
   Load this AFTER examinationform.css
   ========================================================= */


/* ---------------------------------------------------------
   GLOBAL
--------------------------------------------------------- */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}


/* ---------------------------------------------------------
   MOBILE
   0 - 576px
--------------------------------------------------------- */

@media (max-width: 576px) {

    /* Main fixed 720px container */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        margin: 10px 0 !important;
        box-shadow: none;
    }

    .form-outer {
        width: 100%;
        max-width: 100%;
    }

        .form-outer .container {
            width: 100% !important;
        }


    /* -----------------------------------------------------
       Admission Number Section
    ----------------------------------------------------- */

    #RegistrationData {
        width: 100% !important;
    }

    .admission_no_enter {
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        gap: 10px;
    }

        .admission_no_enter .field,
        .admission_no_enter .field:first-child {
            width: 100% !important;
        }

        .admission_no_enter input {
            width: 100% !important;
            max-width: 100%;
            height: 42px;
            padding: 8px 10px;
        }

        .admission_no_enter button {
            width: 100% !important;
            max-width: 100%;
            height: 42px !important;
        }


    /* -----------------------------------------------------
       University Header
    ----------------------------------------------------- */

    .universityinfo {
        width: 100% !important;
        table-layout: fixed;
    }

        .universityinfo tr {
            width: 100%;
        }

        .universityinfo td {
            padding: 5px !important;
            vertical-align: middle;
        }

            .universityinfo td:first-child {
                width: 65px !important;
            }

            .universityinfo td:nth-child(2) {
                width: auto !important;
            }

            .universityinfo td:last-child {
                width: 90px !important;
                font-size: 11px;
            }

        .universityinfo img {
            width: 55px !important;
            height: auto;
        }

        .universityinfo h1 {
            font-size: 17px !important;
            line-height: 21px !important;
            margin: 0;
            word-break: normal;
        }


    /* -----------------------------------------------------
       Programme Information
    ----------------------------------------------------- */

    .programinfo {
        width: 100% !important;
        table-layout: fixed;
    }

        .programinfo td {
            padding: 5px 7px !important;
            font-size: 12px !important;
            word-break: break-word;
        }

            .programinfo td:first-child {
                width: auto !important;
            }

            .programinfo td:last-child {
                width: 90px !important;
            }

            .programinfo td * {
                font-size: 12px !important;
            }


    /* -----------------------------------------------------
       Personal Information
    ----------------------------------------------------- */

    .personal_info {
        width: 100% !important;
    }

        .personal_info > tbody > tr > td {
            /* width: 100% !important; */
        }

            .personal_info > tbody > tr > td:last-child {
                width: 75px !important;
            }

    .studentinfo {
        width: 100% !important;
    }

        .studentinfo td {
            padding: 2px 4px !important;
            font-size: 12px !important;
            line-height: 19px !important;
            word-break: break-word;
        }

            .studentinfo td:first-child {
                width: 30% !important;
            }

            .studentinfo td:last-child {
                /* width: 60% !important; */
            }

            .studentinfo td * {
                font-size: 12px !important;
                line-height: 19px !important;
            }

    .ExamFormStudentImage {
        width: 100px !important;
        height: auto !important;
        display: block;
        margin: 5px auto;
    }


    /* -----------------------------------------------------
       Instruction
    ----------------------------------------------------- */

    .Instruction {
        padding: 6px !important;
        line-height: 18px !important;
    }

        .Instruction b {
            font-size: 12px !important;
            line-height: 18px !important;
        }


    /* -----------------------------------------------------
       Paper Information
    ----------------------------------------------------- */

    .paperInfo {
        width: 100% !important;
        table-layout: fixed;
    }

        .paperInfo th {
            padding: 4px !important;
            font-size: 11px !important;
            line-height: 17px !important;
        }

            .paperInfo th span {
                font-size: 10px !important;
            }

        .paperInfo td {
            padding: 4px !important;
            font-size: 11px !important;
            line-height: 17px !important;
            word-break: break-word;
            overflow-wrap: anywhere;
        }

        .paperInfo tr td:first-child {
            width: 35% !important;
        }

        .paperInfo tr td:last-child {
            width: 65% !important;
        }


    /* -----------------------------------------------------
       Activity
    ----------------------------------------------------- */

    .activity,
    .activity table {
        width: 100% !important;
    }


    /* -----------------------------------------------------
       Fee Information
    ----------------------------------------------------- */

    .feeinfo {
        width: 100% !important;
        table-layout: fixed;
    }

        .feeinfo td {
            padding: 4px !important;
            font-size: 10px !important;
            line-height: 15px !important;
            word-break: break-word;
        }


    /* -----------------------------------------------------
       Declaration
    ----------------------------------------------------- */

    .declaration {
        width: 100% !important;
        table-layout: fixed;
    }

        .declaration td {
            padding: 5px !important;
            font-size: 10px !important;
            line-height: 16px !important;
            word-break: break-word;
        }

        .declaration * {
            font-size: 10px !important;
        }

        .declaration tr:last-child td {
            padding-top: 20px !important;
            font-size: 10px !important;
        }


    /* -----------------------------------------------------
       Payment
    ----------------------------------------------------- */

    .paymentinfo {
        width: 100% !important;
        max-width: 100% !important;
    }

        .paymentinfo td {
            padding: 5px 7px !important;
            font-size: 12px !important;
        }

        .paymentinfo * {
            font-size: 12px !important;
        }

        .paymentinfo .paybtn td {
            padding: 8px !important;
        }

            .paymentinfo .paybtn td button {
                width: 100% !important;
                min-height: 40px;
            }


    /* -----------------------------------------------------
       Print Button
    ----------------------------------------------------- */

    #PrintLink {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        display: block;
        width: 100%;
        margin: 10px 0;
    }


    /* -----------------------------------------------------
       General Tables
    ----------------------------------------------------- */

    .table {
        max-width: 100%;
    }

        .table td,
        .table th {
            max-width: 100%;
        }
}


@media print {
    * {
        font-family: 'Roboto', sans-serif !important;
    }

    h1 {
        font-size: 20px !important;
        font-weight: bold;
    }

    button, .PrintLink {
        display: none !important;
    }

    @media print {
        .no-print {
            display: none !important;
        }
    }
}



/* ---------------------------------------------------------
   SMALL MOBILE
   0 - 400px
--------------------------------------------------------- */

@media (max-width: 400px) {
    .feeinfo tr td:first-child {
        width: 100px;
    }

    .container {
        padding: 7px !important;
    }

    .universityinfo h1 {
        font-size: 15px !important;
        line-height: 18px !important;
    }

    .universityinfo td:first-child {
        width: 55px !important;
    }

    .universityinfo td:last-child {
        width: 75px !important;
        font-size: 9px;
    }

    .universityinfo img {
        width: 48px !important;
    }

    .studentinfo td {
        font-size: 11px !important;
    }

        .studentinfo td * {
            font-size: 11px !important;
        }

    .paperInfo th,
    .paperInfo td {
        font-size: 10px !important;
    }

    .feeinfo td {
        font-size: 9px !important;
    }

    .declaration,
    .declaration * {
        font-size: 9px !important;
    }
}


/* ---------------------------------------------------------
   TABLET
   577px - 768px
--------------------------------------------------------- */

@media (min-width: 577px) and (max-width: 768px) {

    .container {
        width: 90% !important;
        max-width: 100% !important;
        padding: 15px !important;
        margin: 15px auto !important;
    }

    #RegistrationData {
        width: 85% !important;
    }

    #PrintLink {
        right: 18px;
        bottom: 13px;
    }

    .admission_no_enter {
        width: 100% !important;
    }

    .universityinfo h1 {
        font-size: 22px !important;
    }

    .universityinfo td:last-child {
        width: 120px !important;
    }

    .paperInfo tr td:first-child {
        width: 30% !important;
    }

    .paperInfo tr td:last-child {
        width: 70% !important;
    }

    .paymentinfo {
        max-width: 300px;
    }
}


/* ---------------------------------------------------------
   SMALL LAPTOP
   769px - 992px
--------------------------------------------------------- */

@media (min-width: 769px) and (max-width: 992px) {

    .container {
        width: 95% !important;
        max-width: 900px !important;
        padding: 20px !important;
    }

    .universityinfo h1 {
        font-size: 25px !important;
    }
}
