html {
    font-size: 12px;
}

body {
    line-height: normal !important;
}

@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

.nav-link {
    padding: .5rem .5rem !important;
    font-size: .975rem;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

#showHidePassword {
    position: absolute;
    font-size: 20px;
    right: 50px;
    top: 45%;
    cursor: pointer;
}

.default-bg {
    background: #0d6efd !important
}

.ftr {
    font-size: 26px;
}

.ftr1 li {
    list-style-type: none;
    line-height: 30px;
    font-size: 15px;
    color: #fff !important;
}

    .ftr1 li a {
        list-style-type: none;
        line-height: 30px;
        font-size: 15px;
        color: #fff;
        text-decoration: none !important;
    }

.text-justify {
    text-align: justify;
}

.footer {
    white-space: normal !important;
    position: relative !important;
}

.dropdown-menu {
    border-top: 1px solid goldenrod;
}

    .dropdown-menu .dropdown-item {
        font-size: 14px;
        border-bottom: 1px solid rgb(160, 159, 159);
    }

@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu > li:hover {
        background-color: #f1f1f1;
    }

        .dropdown-menu > li:hover > .submenu {
            display: block;
        }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

.lib-panel {
    margin-bottom: 20Px;
}

    .lib-panel img {
        width: 100%;
        background-color: transparent;
    }

    .lib-panel .row,
    .lib-panel .col-md-6 {
        padding: 0;
        background-color: #FFFFFF;
    }


    .lib-panel .lib-row {
        padding: 0 20px 0 20px;
    }

        .lib-panel .lib-row.lib-header {
            background-color: #FFFFFF;
            font-size: 20px;
            padding: 10px 20px 0 20px;
        }

            .lib-panel .lib-row.lib-header .lib-header-seperator {
                height: 2px;
                width: 26px;
                background-color: #d9d9d9;
                margin: 7px 0 7px 0;
            }

        .lib-panel .lib-row.lib-desc {
            position: relative;
            height: 100%;
            display: block;
            font-size: 13px;
        }

            .lib-panel .lib-row.lib-desc a {
                position: absolute;
                width: 100%;
                bottom: 10px;
                left: 20px;
            }

.select2-container .select2-selection--single {
    height: 35px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px !important;
}

.main-img {
    width: 100%;
    width: -moz-available !important; /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available !important; /* Mozilla-based browsers will ignore this. */
    width: fill-available !important;
    height: -moz-available !important;
    height: -webkit-fill-available !important;
    height: fill-available !important;
}

#collapseOne,
#collapseTwo,
#collapseThree,
#collapseFour,
#collapseFive {
    background-color: rgb(241, 241, 241);
}

.accordion {
    margin: 10px;
}

.fw-500 {
    font-weight: 500 !important;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid #e4e4e4;
    object-fit: cover;
}

.mentor-card {
    height: 300px; /* Ensure uniform card height */
}

/********* vertical height ************/

.vh-50 {
    height: 50vh !important;
    overflow-y: auto;
}

.min-vh-50 {
    min-height: 50vh !important;
}

.vh-60 {
    height: 60vh !important;
    overflow-y: auto;
}

.min-vh-60 {
    min-height: 60vh !important;
}

.vh-65 {
    height: 65vh !important;
    overflow-y: auto;
}

.min-vh-65 {
    min-height: 65vh !important;
}

.vh-70 {
    height: 70vh !important;
    overflow-y: auto;
}

.min-vh-70 {
    min-height: 70vh !important;
}

.vh-75 {
    height: 75vh !important;
    overflow-y: auto;
}

.min-vh-75 {
    min-height: 75vh !important;
}

/******* Question Answer Status Label *******/

.main .que-ans-status li {
    margin-bottom: 8px;
    list-style: none;
}

.main .que-ans-status .label {
    background: #fff;
    width: 25px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #333;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.main .label {
    display: inline;
    padding: .1em .3em;
    font-size: 75%;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 1px;
}

.main .skipped {
    border-radius: 0 0 20px 20px !important;
    background-color: #c0392b !important;
    border-color: #c0392b !important;
    color: #fff !important;
}

.main .attempted {
    border-radius: 20px 20px 0 0 !important;
    background-color: #27ae60 !important;
    color: #fff !important;
    border-color: #27ae60 !important;
}

.main .bookmarked {
    background-color: #9b59b6 !important;
    border-radius: 24px !important;
    border-color: #9b59b6 !important;
    color: #fff !important;
    position: relative;
}

.main .attempted {
    border-radius: 20px 20px 0 0 !important;
    background-color: #27ae60 !important;
    color: #fff !important;
    border-color: #27ae60 !important;
}

.main .bookmarked {
    background-color: #9b59b6 !important;
    border-radius: 24px !important;
    border-color: #9b59b6 !important;
    color: #fff !important;
    position: relative;
}

.main .attempted.bookmarked::after {
    content: '';
    position: absolute;
    border-color: #27ae60;
    border-style: solid;
    border-width: 0 .3em .3em 0;
    height: 1em;
    top: -.375em;
    right: 0;
    transform: rotate(45deg);
    width: .5em;
}

.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

.custom-control-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 1rem;
}

.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

    .custom-control-input:checked ~ .custom-control-label::before {
        color: #fff;
        background-color: #007bff;
    }

    .custom-control-input:focus ~ .custom-control-label::before {
        box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

    .custom-control-input:active ~ .custom-control-label::before {
        color: #fff;
        background-color: #b3d7ff;
    }

    .custom-control-input:disabled ~ .custom-control-label {
        color: #6c757d;
    }

        .custom-control-input:disabled ~ .custom-control-label::before {
            background-color: #e9ecef;
        }

.custom-control-label {
    position: relative;
    margin-bottom: 0;
}

    .custom-control-label::before {
        position: absolute;
        top: 0.25rem;
        left: -1.5rem;
        display: block;
        width: 1rem;
        height: 1rem;
        pointer-events: none;
        content: "";
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: #dee2e6;
    }

    .custom-control-label::after {
        position: absolute;
        top: 0.25rem;
        left: -1.5rem;
        display: block;
        width: 1rem;
        height: 1rem;
        content: "";
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 50% 50%;
    }

.custom-checkbox .custom-control-label::before {
    border-radius: 0.25rem;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #007bff;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    background-color: #007bff;
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E");
}

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}

.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}

.custom-radio .custom-control-label::before {
    border-radius: 50%;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E");
}

.custom-radio .custom-control-label::after {
    position: absolute;
    top: .25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.dataTables_scroll {
    overflow: auto;
}

.table .thead-dark th {
    color: #f9f9f9 !important;
    background-color: #212529 !important;
    border-color: #f9f9f9;
    text-align: center;
}

    .table .thead-dark th:first-child {
        border-radius: 5px 0 0 5px;
    }

    .table .thead-dark th:last-child {
        border-radius: 0 5px 5px 0;
    }

table.commonTable > tbody > tr > td {
    vertical-align: middle;
    text-align: center;
}

/******* font size ************/
.smaller-font-1 {
    font-size: 0.725rem;
}

.ars .rank {
    background: #dd4c4a;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: .725rem;
    color: #e4e4e4;
}

.test-series-image {
    width: 100%;
    height: 180px;
    /*object-fit: cover;*/
    border-radius: 6px;
}

.ts-list-group > .list-group-item.active {
    border-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;
}

/****** FAQ Accordion *******/
#faqAccordion .accordion-button {
    border: 1px solid #dd4c4a;
}

    #faqAccordion .accordion-button:focus {
        z-index: 3;
        border-color: #dd4c4a;
        color: #000;
        box-shadow: 0 0 0 .25rem rgb(255 182 182 / 25%);
    }

#faqAccordion .accordion-item:last-of-type .accordion-collapse {
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
    border: 1px solid #dd4c4a;
    border-top: 0;
}

#faqAccordion .accordion-button:not(.collapsed) {
    color: #000;
}

/******* Course Review ********/
#courseReview .carousel-item {
    transition: transform 0.6s ease, z-index 0.6s ease, opacity 0.6s ease;
    display: flex;
    justify-content: center;
    opacity: 0.6;
    transform: scale(0.9);
    z-index: 1;
    margin-right: auto;
}

    #courseReview .carousel-item.active {
        opacity: 1;
        transform: scale(1.05);
        z-index: 3;
    }

#courseReview .carousel-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#courseReview .carousel-control-prev,
#courseReview .carousel-control-next {
    z-index: 4;
}

#courseReview .review-card {
    width: 80%;
    max-width: 600px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-radius: 15px;
    transition: all 0.4s ease-in-out;
}

#courseReview .review-text {
    font-style: italic;
}

#courseReview .user-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

#courseReview .review-header {
    display: flex;
    align-items: center;
}

#courseReview .star-rating {
    color: #f39c12;
    font-size: 1.2rem;
}

#courseReview .carousel-control-next-icon, #courseReview .carousel-control-prev-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 50% 50%;
}

.detail-h3 {
    font-size: 1rem;
}