﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5em;
    overflow-x: hidden !important;
    border-top: none !important;
    color: #ABA8A8 !important;
}

    body.model-open {
        padding: 0 !important;
    }

/*header*/
.top-header .logo-box {
    background: transparent;
    height: 52px;
    margin: 10px 0px;
}

    .top-header .logo-box img {
        height: 100%;
        object-fit: contain;
    }


.top-header .tp-top-btns {
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
}

    .top-header .tp-top-btns a.tp-btns {
        display: inline-block;
        position: relative;
        background: #F5F5F5;
        padding: 20px 15px 20px 58px;
        border: solid 1px #0001;
        margin-left: 10px;
        border-radius: 10px;
        min-width: 143px;
    }

        .top-header .tp-top-btns a.tp-btns i {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            position: absolute;
            top: 12px;
            left: 8px;
            line-height: 40px;
            text-align: center;
            background: #273F4F;
            font-size: 23px;
            color: #fff;
        }

        .top-header .tp-top-btns a.tp-btns span {
            font-size: 13px;
        }

        .top-header .tp-top-btns a.tp-btns aside {
            font-size: 13px;
            color: #0a0a0a;
            font-weight: 700;
        }

.top-header {
    padding: 8px 0px;
}

    .top-header .tp-top-btns a.tp-btns.school-login-btn {
        display: flex;
        align-items: center;
    }

        .top-header .tp-top-btns a.tp-btns.school-login-btn i {
            background: #27548A;
        }

        .top-header .tp-top-btns a.tp-btns.school-login-btn span {
            font-size: 17px;
            color: #27548A;
            font-weight: 600;
        }

    .top-header .tp-top-btns a.tp-btns:hover {
        background: #27548a;
    }

        .top-header .tp-top-btns a.tp-btns:hover i {
            background: #fff;
            color: #27548a;
        }

        .top-header .tp-top-btns a.tp-btns:hover span, .top-header .tp-top-btns a.tp-btns:hover aside {
            color: #fff;
        }

    .top-header .tp-top-btns a.tp-btns.school-login-btn:hover {
        background: #27548A;
    }

        .top-header .tp-top-btns a.tp-btns.school-login-btn:hover i {
            color: #27548A;
        }

.btm-header {
    background: #27548A;
    position:relative;
}

    .btm-header ul.main-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
    }


        .btm-header ul.main-menu > li > a {
            font-size: 17px;
            display: block;
            padding: 13px 20px;
            color: #fff;
            text-decoration: none;
            text-transform: uppercase;
        }

        .btm-header ul.main-menu > li.active > a, .btm-header ul.main-menu > li:hover > a {
            background: #1a3a60;
            color: #fff;
        }

        .btm-header ul.main-menu li.dropdowns.ml-auto {
            margin-left: auto;
            padding: 7px 0px;
        }

            .btm-header ul.main-menu li.dropdowns.ml-auto a {
                background: #fff;
                color: #000;
                margin: 0px;
                padding: 7px 15px;
                border-radius: 5px;
            }

        .btm-header ul.main-menu li.dropdowns {
            position: relative;
        }

        .btm-header ul.main-menu > li > a span {
            font-size: 13px;
            padding-left: 5px;
        }

        .btm-header ul.main-menu li.dropdowns ul.sub-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            box-shadow: 0 0 5px #0000004a;
            margin: 0;
            list-style: none;
            width: max-content;
            padding: 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            -webkit-transform: translateY(10px);
            transition: 0.3s all ease;
            max-width: 23em;
            min-width: 200px;
            z-index: 11;
        }

        .btm-header ul.main-menu li.dropdowns.ml-auto ul.sub-menu {
            right: 0;
            left: auto;
        }


        .btm-header ul.main-menu li.dropdowns ul.sub-menu li.dropdown-headings {
            color: #000;
            font-weight: 600;
            font-size: 16px;
            padding: 5px 13px;
        }

        .btm-header ul.main-menu li.dropdowns ul.sub-menu li.divider {
            padding: 0;
            border-top: 1px solid rgb(233, 236, 239);
        }

        .btm-header ul.main-menu li.dropdowns:hover ul.sub-menu {
            visibility: visible;
            opacity: 1;
            transform: translateY(0);
            -webkit-transform: translateY(0);
        }

        .btm-header ul.main-menu li.dropdowns ul.sub-menu li a {
            color: #000;
            background: transparent;
            padding: 7px 24px;
            width: 100%;
            display: block;
            font-size: 16px;
        }

            .btm-header ul.main-menu li.dropdowns ul.sub-menu li a:hover {
                color: #fff;
                background: #27548A;
            }

        .btm-header ul.main-menu li.dropdowns.ml-auto ul.sub-menu li a {
            border-bottom: 1px solid rgb(233, 236, 239);
            border-radius: 0;
        }

        .btm-header ul.main-menu li.dropdowns.ml-auto ul.sub-menu li:last-child a {
            border-bottom: none;
        }

.toggle-btn-new {
    position: absolute;
    top: -46px;
    right: 20px;
    width: 30px;
    height: 20px;
    transition: 0.3s all ease;
    z-index: 99;
}

    .toggle-btn-new span {
        position: absolute;
        top: 0;
        left: 0;
        width: 30px;
        height: 3px;
        background: #000;
        transition: 0.3s all ease;
        z-index: 11;
    }

        .toggle-btn-new span.middle {
            top: 8px;
        }

        .toggle-btn-new span.bottom {
            top: 16px;
            width: 13px;
        }

        .toggle-btn-new span.top {
            width: 20px;
        }

.menu-open .toggle-btn-new span.top {
    width: 30px;
    transform: rotate(45deg);
    top: 10px;
}

.menu-open .toggle-btn-new span.middle {
    display: none;
}

.menu-open .toggle-btn-new span.bottom {
    width: 30px;
    transform: rotate(-45deg);
    top: 10px;
}

.txt-new-tbls {
    background: #fff;
    box-shadow: 0 0 4px #00000061;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    padding: 15px;
}

    .txt-new-tbls table {
        border: none !important;
        margin-bottom: 0;
    }

.result-boxes .card-box {
    background: #fff;
    box-shadow: 0 0 4px #00000061;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

    .result-boxes .card-box .card-header {
        background: #27548a;
        border-bottom: solid 3px #d88900;
        padding: 15px 10px;
        position: relative;
        padding-right: 55px;
    }

        .result-boxes .card-box .card-header h5.card-title {
            font-size: 20px;
            color: #ffff;
            font-weight: 600;
            margin: 0;
        }

            .result-boxes .card-box .card-header h5.card-title span.pull-right {
                position: absolute;
                right: 10px;
                top: 7px;
                width: 40px;
                height: 40px;
                background: #fff;
                border-radius: 5px;
                line-height: 40px;
                text-align: center;
                color: #27548a;
                font-size: 21px;
                float: none;
            }

                .result-boxes .card-box .card-header h5.card-title span.pull-right i {
                    font-size: 21px;
                }

    .txt-new-tbls table tr td, .result-boxes .card-box table tr td {
        font-size: 15px;
        padding: 10px;
        vertical-align: middle;
        line-height: 1.7em;
    }

.txt-new-tbls.highligh-text table tr td {
    padding: 0;
    border: none;
    font-size: 18px;
}

.result-boxes .card-box table tr:last-child td {
    border-bottom: none;
}

.txt-new-tbls.highligh-text {
    margin-bottom: 0;
    margin-top: 15px;
    border-radius: 5px;
}

.result-boxes .card-box table tr td a {
    color: #27548a;
}

    .result-boxes .card-box table tr td a:hover {
        color: #d88900;
        text-decoration: none;
    }

.rslt-btns a.btn.btn-success {
    padding: 8px 10px;
    box-shadow: none;
    outline: none;
}

/*footer*/
footer {
    background: #E5F1FF;
    text-align: center;
    position: relative;
}

    footer .tp-footer-new {
        padding: 10px;
        position: relative;
        z-index: 1;
    }

    footer:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../images/footer-bg.png) no-repeat center;
        background-position: center bottom;
        background-size: cover;
        opacity: 0.6;
    }

    footer .btm-logo {
        height: 52px;
    }

        footer .btm-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

    footer .btm-menus {
        margin: 5px 0px;
        border-bottom: solid 1px #C2C2C2;
        padding-bottom: 2px;
    }

        footer .btm-menus ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            footer .btm-menus ul li {
                display: inline-block;
                padding: 10px;
            }

    footer .footer-content p {
        color: #000;
        font-size: 14px;
        margin-bottom: 5px;
    }

    footer .copyright-txt {
        color: #000;
        font-size: 14px;
        font-weight: 600;
        background: #C8D9EE;
        padding: 8px;
        position: relative;
        z-index: 1;
    }

/*result-view*/
.result-search-details {
    margin: 30px 0px;
    min-height: calc(100vh - 283px);
}

    .result-search-details .card {
        background: #fff;
        box-shadow: 0 0 4px #00000061 !important;
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 15px !important;
        margin: auto;
        max-width: 640px;
    }

        .result-search-details .card .card-header {
            background: #27548a !important;
            border-bottom: solid 3px #d88900;
            padding: 15px 10px;
            position: relative;
            padding-right: 55px;
        }

            .result-search-details .card .card-header h5 {
                font-size: 20px;
                color: #ffff;
                font-weight: 600;
                margin: 0;
            }

                .result-search-details .card .card-header h5 span.float-end {
                    position: absolute;
                    right: 10px;
                    top: 7px;
                    width: 40px;
                    height: 40px;
                    background: #fff;
                    border-radius: 5px;
                    line-height: 40px;
                    text-align: center;
                    color: #27548a;
                    font-size: 21px;
                    float: none;
                }

                    .result-search-details .card .card-header h5 span.float-end i {
                        font-size: 21px;
                    }
                .result-search-details .card .card-body .form-group label {
                    color: #000;
                    display: block;
                    margin-bottom: 5px;
                    font-size: 16px;
                    font-weight: 600;
                }

                .result-search-details .card .card-body .form-group select, .result-search-details .card .card-body .form-group input {
                    width: 100% !important;
                    height: auto;
                    padding: 8px 6px;
                    border-radius: 5px;
                    outline: none !important;
                    background-color: #fff;
                    border: solid 1px #d5d5d5 !important;
                    color: #000;
                    outline: none;
                    box-shadow: none;
                    max-width: 100%;
                }

            .result-search-details .card .card-body .text-center button.btn.btn-success.btn-lg {
                width: auto;
                display: inline-block;
                text-align: center;
                font-size: 16px;
                font-weight: 400;
                padding: 8px 20px;
                border: solid 1px #27548a;
                color: #fff;
                text-decoration: none;
                background: #27548a;
                transition: 0.3s all ease;
                position: relative;
                overflow: hidden;
                z-index: 1;
                border-radius: 50px;
            }

                .result-search-details .card .card-body .text-center button.btn.btn-success.btn-lg:hover {
                    background: transparent;
                    color: #27548a;
                }

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    background: url(../images/down-arrow-3.png) no-repeat center right 0px/30px;
    border: none;
    padding-right: 24px;
}

.result-main-box a.btn.btn-outline-primary {
    background: #27548a;
    color: #fff;
    border-color: #27548a;
}

    .result-main-box a.btn.btn-outline-primary:hover {
        background: transparent;
        color: #27548a;
    }

.result-main-box button.btn.btn-success:hover {
    background: transparent;
    color: #198754;
}

.result-marksheet {
    max-width: 900px;
    margin: 30px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

    .result-marksheet .header {
        background: #a50706;
        color: white;
        padding: 10px;
        text-align: center;
        display: flex;
        align-items: center;
    }

        .result-marksheet .header img {
            margin-right: 7px;
        }

        .result-marksheet .header h2 {
            margin: 5px 0;
            font-size: 34px;
        }

    .result-marksheet .section-box {
        padding: 20px;
        border-top: 1px solid #ddd;
    }

        .result-marksheet .section-box h3 {
            margin-bottom: 10px;
            color: #27548A;
            margin-top: 0;
            font-size:18px;
            font-weight:700;
        }

        .result-marksheet .section-box .grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

            .result-marksheet .section-box .grid div {
                padding: 8px;
                background: #f1f1f1;
                border-radius: 6px;
                color:#333;
            }

        .result-marksheet .section-box table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
        }
        .result-marksheet .section-box .rslt-tbl table {
            margin: 0;
        }

            .result-marksheet .section-box table,
            .result-marksheet .section-box table th,
            .result-marksheet .section-box table td {
                border: 1px solid #9ca7b5;
            }

                .result-marksheet .section-box table tr th,
                .result-marksheet .section-box table tr td {
                    text-align: center;
                    padding: 5px;
                    color: #000;
                }

                .result-marksheet .section-box table tr th {
                    border: none;
                    border-bottom: solid 1px #ccc;
                    text-align: left;
                }

        .result-marksheet .section-box .result-status {
            padding: 10px;
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
            border-radius: 6px;
            margin-top: 15px;
            font-weight: bold;
            text-align: center;
        }

        .result-marksheet .section-box.disclaimer .disclaimer-inner {
            font-size: 13px;
            color: #555;
            padding: 15px 15px;
            background: #fff3cd;
            border-left: 4px solid #ffeeba;
            border-radius: 6px;
        }

            .result-marksheet .section-box.disclaimer .disclaimer-inner ol {
                margin: 0;
                padding-left: 10px;
            }

                .result-marksheet .section-box.disclaimer .disclaimer-inner ol li {
                    margin-bottom: 5px;
                }

    .result-marksheet .footer-links {
        text-align: center;
        padding: 15px;
    }

        .result-marksheet .footer-links a {
            color: #b30000;
            margin: 0 10px;
            text-decoration: none;
            font-weight: bold;
        }

    .result-marksheet .section-box .result-status.fail {
        background: #edd9d4;
        border-color: #edd9d4;
        color: #571915;
    }

.scnd-heading h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 0;
    padding: 9px 5px;
    color: #000;
    font-weight: 600;
}

.result-marksheet .section-box {
    padding: 0px 20px;
}

    .result-marksheet .section-box .new-tbl tr td {
        border: none;
        border-bottom: solid 1px #ccc;
        text-align: left;
        color: #000;
        font-size: 16px;
    }

        .result-marksheet .section-box .new-tbl tr td.bold {
            font-weight: 600;
        }

    .result-marksheet .section-box .new-tbl table, .result-marksheet .section-box .new-tbl tr {
        border: none;
        margin: 0;
    }

    .result-marksheet .section-box table tr td table tr:last-child td {
        border: none;
    }

    .result-marksheet .section-box .new-tbl tr td ol li {
        border-bottom: solid 1px #ccc;
        padding: 9px;
    }

    .result-marksheet .section-box .new-tbl tr td ol {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .result-marksheet .section-box .new-tbl tr td ol li:last-child {
            border-bottom: none;
        }

@media print{
    header, footer{
        display:none;
    }

    .result-marksheet {
        box-shadow: none !important;
        border: none;
        margin: 0;
        border-radius: 0;
    }

        .result-marksheet .header,
        .result-marksheet .section-box,
        .result-marksheet .result-status,
        .result-marksheet .disclaimer-inner {
            -webkit-print-color-adjust: exact;
            print-color-adjust: exact;
        }

        .result-marksheet .footer-links {
            display: none !important;
        }
}

@media (max-width:1399px){
    .txt-new-tbls table tr td, .result-boxes .card-box table tr td {
        padding: 8px;
        font-size: 14px;
    }

        .result-boxes .card-box table tr td:nth-child(3) {
            width: 130px;
        }
}
@media (max-width:991px) {
    .btm-header .main-menu {
        position: absolute;
        left: -100%;
        top: 0px;
        width: 100%;
        background: #27548A;
        height: 100vh;
        transition: 0.5s all ease;
        overflow: auto;
        padding-bottom: 80px !important;
        z-index: 9999;
    }

    .btm-header ul.main-menu li {
        display: block;
    }

        .btm-header ul.main-menu li.dropdowns.ml-auto a {
            background: transparent;
            color: #fff;
            padding: 13px 15px;
        }

        .btm-header ul.main-menu li.dropdowns ul.sub-menu, .btm-header ul.main-menu li.dropdowns:hover ul.sub-menu {
            visibility: visible;
            opacity: 1;
            position: relative;
            top: auto;
            left: auto;
            transform: none;
            width: 100%;
            right: auto;
            max-width: 100%;
            display: none;
        }

        .btm-header ul.main-menu li.dropdowns.active ul.sub-menu {
            display: block;
        }

        .btm-header ul.main-menu li:hover a, .btm-header ul.main-menu li.active a {
            background: transparent;
        }

        .btm-header ul.main-menu li.dropdowns span {
            position: absolute;
            right: 10px;
            color: #fff;
            top: 12px;
        }

    .btm-header ul.main-menu > li {
        border-bottom: solid 1px #fdfdfd4f;
    }

    .menu-open .btm-header .main-menu {
        left: 0;
        display: block;
    }

    body.menu-open {
        overflow: hidden;
    }

        body.menu-open:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #0000003d;
            z-index: 0;
        }

    .container {
        max-width: 100% !important;
    }

    .top-header .logo-box {
        padding: 10px;
        height: 60px;
        margin: 0;
        text-align: left !important
    }

        .top-header .logo-box img {
            width: auto;
        }

    .top-header {
        position: relative;
        z-index: 1;
        background: #fff;
        background: #fff;
    }

    .btm-header ul.main-menu > li.ml-auto span {
        font-size: 17px;
        display: block;
        padding: 14px 20px;
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
    }
}