* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: #222;
    background: #ffffff;
}

a { text-decoration: none; }


/* ===================== NAV ===================== */
.top-nav {
    background-color: #1a86c7;
    padding: 10px 30px;
}

.top-nav a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: underline;
}

/* ===================== CONTENT ===================== */
.content-wrap {
    background-color: #f0f0f0;
   /* padding: 25px 0 40px;*/
}

.content-card {
    max-width: 1267px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 0 30px 30px;
}

.breadcrumb-bar {
    background-color: #f5f5f5;
    padding: 10px 16px;
    font-size: 14px;
    color: #666;
}

.crumb-active {
    background-color: #67c9b0;
    color: black;
    padding: 9px 14px;
    border-radius: 4px;
    font-weight: 700;
}

.crumb-sep {
    margin: 0 6px;
    color: #999;
}

.crumb-current {
    color: #666;
}

.seat-status {
    min-height: 24px;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 0 0;
}

.seat-status:not(:empty) {
    background-color: yellowgreen;
    display: inline-block;
    padding: 4px 10px;
}

/* ===================== FORM ===================== */
.profile-form {
    padding-top: 30px;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.form-row label {
    width: 220px;
    text-align: right;
    padding-right: 20px;
    font-size: 15px;
    color: #222;
}

.form-row select {
    width: 320px;
    padding: 6px 8px;
    font-size: 14px;
    border: 1px solid #a9a9a9;
    border-radius: 2px;
    background-color: #ffffff;
}

.submit-row {
    margin-top: 10px;
}

.submit-row button {
    background-color: #4a76b5;
    color: #fff;
    border: none;
    padding: 9px 28px;
    font-size: 15px;
    border-radius: 3px;
    cursor: pointer;
}

.submit-row button:hover {
    background-color: #3d64a0;
}

/* ===================== TABLE ===================== */
.table-wrap {
    overflow-x: auto;
    margin-top: 25px;
}

#GrViewInstitute {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

#GrViewInstitute th,
#GrViewInstitute td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
}

#GrViewInstitute th {
    background-color: #f0f0f0;
}

#GrViewInstitute tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* ===================== FOOTER ===================== */
.footer-links-bar {
    background-color: #1a86c7;
    text-align: center;
    padding: 12px 0;
}

.footer-links-bar a {
    color: #ffffff;
    font-size: 14px;
}

.footer-links-bar a:hover {
    text-decoration: underline;
}

.footer-links-bar span {
    color: #ffffff;
    margin: 0 10px;
}

.footer-bottom {
    background-color: #ffffff;
    text-align: center;
    padding: 25px 15px 35px;
}

.footer-bottom p {
    font-size: 14px;
    color: #222;
    line-height: 1.7;
    margin: 0 0 20px;
}

.footer-bottom a {
    color: #b03a3a;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-logos img {
    height: 42px;
}

.footer-logos .divider {
    width: 1px;
    height: 40px;
    background-color: #ccc;
}


/* ============================================================
   MOBILE / RESPONSIVE FIXES
   The original site.css has no media queries, so header logos,
   the form, breadcrumb links and footer logos overflow / break
   on small screens. These overrides fix that without touching
   the desktop look.
   ============================================================ */

/* ---------- Header ---------- */
@media (max-width: 767px) {
    .headerfirst {
        text-align: center;
    }

        .headerfirst h1 {
            font-size: 19px;
            padding-top: 10px;
        }

        .headerfirst h3 {
            font-size: 13px;
        }

    img.logofirst {
        height: 55px;
        margin: 0 auto;
        float: none !important;
        display: inline-block;
    }

    .headerfirst .pull-right {
        float: none !important;
        display: inline-block;
        max-width: 160px;
        height: auto;
        margin: 6px auto 10px;
    }
}

/* ---------- Nav / Close link ---------- */
@media (max-width: 767px) {
    .navbar-header {
        float: none;
    }

    .navbar-collapse {
        border-top: none;
    }

    .navbar-nav {
        margin: 0;
    }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding: 10px 15px;
            }
}

/* ---------- Breadcrumb ---------- */
@media (max-width: 480px) {
    .breadcrumb {
        font-size: 12px;
        line-height: 1.8;
    }
}

/* ---------- Form ---------- */
@media (max-width: 767px) {
    .form-horizontal .control-label {
        text-align: left;
        padding-bottom: 4px;
    }

    .form-horizontal .form-group {
        margin-left: 0;
        margin-right: 0;
    }

    .chosen-container,
    select.form-control,
    #ddlInstType,
    #ddlInstitutes,
    #ddlprogram {
        width: 100% !important;
    }

    .form-horizontal .col-sm-4 {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 8px;
    }

    .text-center .btn {
        width: 100%;
    }
}

/* ---------- Grid / Table ---------- */
@media (max-width: 767px) {
    .table-responsive {
        border: 1px solid #ddd;
    }

    table.dataTable {
        font-size: 12px;
    }
}

/* ---------- Footer ---------- */
@media (max-width: 767px) {
    .footerthird .linkcenter {
        display: block;
        text-align: center;
    }

    .footerthird ul li {
        float: none;
        display: inline-block;
        padding: 6px 4px;
    }

    .disclaimerLogo {
        text-align: center;
    }

        .disclaimerLogo a {
            padding: 7px 12px;
        }

            .disclaimerLogo a:after {
                display: none;
            }

        .disclaimerLogo img {
            max-height: 40px;
            width: auto;
        }

    .disclaimerText p {
        font-size: 12px;
        padding: 10px 12px;
        line-height: 1.6em;
    }
}

@media (max-width: 400px) {
    .headerfirst h1 {
        font-size: 16px;
    }

    img.logofirst {
        height: 42px;
    }
}


/* ===========================================
   MOBILE RESPONSIVE
=========================================== */

@media (max-width:992px) {

    .top-header {
        padding: 15px;
    }

    .header-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .logo-left,
    .logo-right {
        width: 100%;
        text-align: center;
    }

        .logo-left img,
        .logo-right img {
            height: 60px;
            max-width: 100%;
        }

    .header-title {
        order: 2;
    }

        .header-title h1 {
            font-size: 24px;
            line-height: 1.3;
        }

        .header-title h2 {
            font-size: 16px;
        }

    .top-nav {
        padding: 10px 15px;
        text-align: center;
    }

    .content-card {
        padding: 0 15px 20px;
    }

    .breadcrumb-bar {
        font-size: 13px;
        line-height: 1.6;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

        .form-row label {
            width: 100%;
            text-align: left;
            padding-right: 0;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .form-row select {
            width: 100%;
        }

    .submit-row {
        align-items: center;
    }

        .submit-row button {
            width: 100%;
        }

    .footer-links-bar {
        padding: 15px;
        line-height: 2;
    }

        .footer-links-bar span {
            display: none;
        }

        .footer-links-bar a {
            display: block;
            margin: 6px 0;
        }

    .footer-logos {
        flex-wrap: wrap;
        gap: 15px;
    }

        .footer-logos .divider {
            display: none;
        }

        .footer-logos img {
            height: 35px;
            max-width: 100%;
        }
}


/* Small Mobile */

@media (max-width:576px) {

    .top-header {
        padding: 12px;
    }

    .logo-left img,
    .logo-right img {
        height: 48px;
    }

    .header-title h1 {
        font-size: 18px;
    }

    .header-title h2 {
        font-size: 14px;
    }

    .content-card {
        padding: 0 10px 15px;
    }

    .breadcrumb-bar {
        font-size: 12px;
        padding: 10px;
    }

    .crumb-active {
        display: inline-block;
        margin-bottom: 5px;
    }

    .seat-status {
        font-size: 14px;
    }

    .form-row label {
        font-size: 14px;
    }

    .form-row select {
        font-size: 14px;
        height: 33px;
    }

    .submit-row button {
        font-size: 15px;
        padding: 12px;
    }

    .footer-bottom {
        padding: 20px 10px;
    }

        .footer-bottom p {
            font-size: 12px;
            line-height: 1.7;
        }

    .footer-logos {
        flex-direction: column;
    }

        .footer-logos img {
            height: 32px;
        }
}

img {
    max-width: 100%;
    height: auto;
}

/*================ HEADER =================*/

.top-header {
    background: linear-gradient(to right,#fff 0%,#a8e1ff 50%,#fff 100%);
    padding: 15px 30px;
}

.header-inner {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    align-items: center;
}

/* Left Logo */

.logo-left {
    text-align: left;
}

    .logo-left img {
        height: 70px;
    }

/* Center */

.header-title {
    text-align: center;
    padding: 0 20px;
}

    .header-title h1 {
        margin: 0;
        font-size: 28px;
        font-weight: 700;
    }

    .header-title h2 {
        margin-top: 8px;
        font-size: 18px;
        font-weight: 500;
    }

/* Right Logo */

.logo-right {
    text-align: right;
}

    .logo-right img {
        height: 65px;
    }

@media (max-width:768px) {

    .header-inner {
        grid-template-columns: 1fr;
        row-gap: 15px;
        text-align: center;
    }

    .logo-left,
    .logo-right,
    .header-title {
        text-align: center;
    }

        .logo-left img,
        .logo-right img {
            height: 55px;
        }

        .header-title h1 {
            font-size: 20px;
            line-height: 1.4;
        }

        .header-title h2 {
            font-size: 15px;
        }
}