@font-face {
    font-family: 'RoReg';
    src: url('../../fonts/Roboto-Regular.ttf');
}

@font-face {
    font-family: 'RoLight';
    src: url('../../fonts/Roboto-Light.ttf');
}

@font-face {
    font-family: 'RoMed';
    src: url('../../fonts/Roboto-Medium.ttf');
}

@font-face {
    font-family: 'RoBold';
    src: url('../../fonts/Roboto-Bold.ttf');
}

* {
    font-family: 'RoReg';
}

.all-modules-section {
    padding: 5rem 12vw 3rem 12vw;
}

.all-modules-section.after-login-MS {
    padding: 2.5rem 0 0 0;
}

.all-modules-section .nav-link {
    color: #666666;
    font-size: 19px;
    border: 0;
    font-family: RoLight;
}

.all-modules-section .nav-link.active {
    color: #114c8c;
    font-weight: 500;
    font-family: RoMed;
}

.all-modules-section .nav-tabs {
    border: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
}

.all-modules-section .nav-tabs .nav-link {
    padding: 0 1.7rem;
    flex: 0 0 auto;
}

.all-modules-section.after-login-MS .nav-tabs .nav-link:first-child {
    padding: 0 1.7rem 0 0;
}

.all-modules-section #nav-Quiz-tab {
    border-right: 1.5px solid #666666;
    border-left: 1.5px solid #666666;
}

/* .all-modules-carousel .owl-stage {
    gap: 1.1rem;
    display: flex;
} */

.module-single-card p.CS-upper-heading {
    font-size: 11px;
    color: white;
    font-weight: 300;
    background-color: #114c8c;
    padding: 6px 18px 32px 8px;
    letter-spacing: 1.5px;
    border-radius: 10px;
    display: inline-block;
}

.module-single-card img {
    margin-top: -1.8rem;
    border-radius: 20px;
    height: 21rem;
    object-fit: cover;
}

.module-single-card .card-img::after {
    content: '';
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
}

.module-single-card .card-bottom-text {
    position: absolute;
    bottom: 2.3rem;
    left: 0.7rem;
}

.module-single-card h4 {
    color: white;
    font-size: 16px;
    margin: 0;
}

.module-single-card span {
    color: white;
    font-size: 10px;
    font-weight: 300;
}

.module-single-card .btns-grp {
    position: absolute;
    bottom: -0.8rem;
    transform: translate(-50%, -50%);
    left: 50%;
}

.module-single-card a {
    border: 1px solid #114c8c;
    color: #114c8c;
    text-decoration: none;
    background-color: white;
    font-size: 12px;
    padding: 0.3rem 1.7rem;
    border-radius: 50px;
    white-space: nowrap;
}

.module-single-card .active-hover {
    display: none;
}

.module-single-card .active-hover div {
    height: 19rem;
}

.module-single-card a:hover {
    color: white;
    background-color: #114c8c;
    transition: all 0.3s ease-in-out;
}

.module-single-card:hover .active-hover {
    display: block;
    transition: all 0.3s ease-in-out;
}

.module-single-card:hover .inactive-hover {
    display: none;
    transition: all 0.3s ease-in-out;
}

.module-single-card .active-hover h2 {
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.module-single-card:hover .card-img::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
}

.module-single-card .active-hover p {
    font-size: 11px;
    color: white;
    font-weight: 400;
    margin: 0;
}


.all-modules-carousel .owl-dot span {
    width: 25px !important;
    height: 25px !important;
    margin: 5px !important;
    background: #2f3133 !important;
    display: inline-block;
    border-radius: 50%;
    line-height: 25px;
    font-size: 12px;
    text-align: center;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.all-modules-carousel .owl-dot.active span {
    background: #114c8c !important;
}

.benefit-of-ortho {
    background-color: #114c8c;
    padding: 4rem 3rem 1rem;
}

.benefit-of-ortho p {
    margin-bottom: 0;
}

.benefit-of-ortho .BO-head h2 {
    color: white;
    font-weight: 600;
}

.benefit-of-ortho .BO-head img {
    width: 15rem;
}

.benefit-of-ortho .BO-mid img {
    /* width: 10rem; */
    width: 12rem;
}

.benefit-of-ortho .BO-mid img.ico-1 {
    width: 2.7rem;
}

.benefit-of-ortho .BO-mid img.ico-2 {
    width: 2.5rem;
}

.benefit-of-ortho .BO-mid p {
    color: white;
    font-weight: 500;
    /* font-size: 18px; */
    font-size: 20px;
    padding: 1rem 0;
}

.benefit-of-ortho .BO-mid .BO-mid-R1 p {
    border-bottom: 1px dashed white;
}

.benefit-of-ortho .benefit-of-ortho p {
    font-size: 20px;
    color: white;
}

.benefit-of-ortho .BO-bottom img {
    width: 6rem;
}

.benefit-of-ortho .BO-bottom p {
    color: white;
    font-weight: 600;
    /* font-size: 19px; */
    font-size: 22px;
    text-align: center;
}

.benefit-of-ortho .BO-bottom-1,
.benefit-of-ortho .BO-bottom-2 {
    width: 20rem;
}

.benefit-of-ortho .BO-bottom-1 p,
.benefit-of-ortho .BO-bottom-2 p {
    font-size: 20px;
    font-weight: 500;
    color: white;
    margin-left: .5rem;
}

.benefit-of-ortho .BO-bottom-1 img {
    width: 4.2rem;
}

.benefit-of-ortho .BO-bottom-2 img {
    width: 4.3rem;
}

.benefit-of-ortho span {
    color: #d4d2ec;
    font-size: 12px;
    font-weight: 500;
    text-align: right;
    display: block;
    margin-top: 2.5rem;
    margin-right: 1rem;
}

.home-video-sec {
    background-color: #114c8c;
    padding: 4rem 0 4rem 3rem;
    text-align: center;
}

.home-video-sec p {
    color: white;
    font-size: 2.4rem;
    font-weight: 500;
    width: 22rem;
    border: 2px solid white;
    padding: 5rem 2rem;
    text-align: left;
    border-radius: 30px;
}

.home-video-sec .inner-video {
    /* background: white; */
    height: 26rem;
    width: 38rem;
    position: relative;
    left: -3rem;
    border-radius: 30px;
    overflow: hidden;
}

.video-frame {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.dashboard-title {
    color: #2a5c9a;
    font-weight: 600;
    font-size: 16px;
}

.stat-card {
    color: #fff;
    border-radius: 6px;
    padding: 12px;
    text-align: left;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #4b7bc1 0%, #3a8d7a 100%);
    height: 100%;
}

.stat-card img {
    width: 2.3rem;
}

.stat-card h3 {
    font-size: 28px;
    margin-bottom: 5px;
    font-family: RoBold;
    margin-bottom: 0;
}

.stat-card p {
    font-family: RoReg;
    font-size: 12px;
    margin: 0;
}

.download-card {
    border: 1.5px solid #d0d0d0;
    border-radius: 6px;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #2a5c9a;
    display: flex;
    align-items: center;
    font-size: 20px;
    height: stretch;
}

.download-card img {
    width: 1.8rem;
}

.download-card div {
    font-family: 'RoBold';
    line-height: 1.3;
}

.tabs span {
    margin-right: 20px;
    color: #777;
    cursor: pointer;
}

.tabs .active {
    color: #2a5c9a;
    font-weight: 600;
}

.rules {
    color: #2a5c9a;
    font-size: 14px;
}

.module-card {
    position: relative;
    height: 320px;
    border-radius: 18px;
    overflow: visible;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.module-card .badge {
    position: absolute;
    top: -10px;
    left: 0;
    background: #1e5494;
    color: #fff;
    padding: 6px 22px;
    font-size: 12px;
    border-radius: 12px 12px 12px 0;
    z-index: 3;
}

.module-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.module-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 18px 20px;
    color: #fff;
    z-index: 2;
}

.module-content h6 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.module-content small {
    font-size: 11px;
    opacity: 0.85;
}

.btn-start {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #1e5494;
    border: 2px solid #1e5494;
    padding: 7px 40px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    z-index: 3;
}

.btn-start:hover {
    background: #1e5494;
    color: #fff;
}

.view-header-nav-div.below-sm img {
    height: 24px;
}

.view-header-nav-div.below-sm a {
    font-size: 11px;
}

.nav-top .container.course-path-page {
    padding: 0;
}

.avatar-div {
    width: 4.5rem;
}

.profile-modal .custom-close {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    padding: 10px;
    max-height: 400px;
    /* Adds scroll if many avatars */
    overflow-y: auto;
}

.avatar-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 5px;
    border: 3px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-item img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    filter: grayscale(20%);
    /* Softens them until hovered */
}

.avatar-item:hover {
    transform: translateY(-5px);
    background-color: #f0f7ff;
}

.avatar-item:hover img {
    filter: grayscale(0%);
}

.exp-sharing-modal .modal-content,
.warning-modal .modal-content {
    border-radius: 22px;
}

.exp-sharing-modal .logo-img {
    width: 9rem;
}

.exp-sharing-modal .modal-header button {
    font-size: 0.6rem;
    font-family: 'RoBold';
    border: 1px solid black;
    border-radius: 100px;
    padding: 0.2rem;
    position: absolute;
    top: 16px;
    right: 17px;
}


.exp-sharing-modal .floating-group {
    position: relative;
}

.exp-sharing-modal .floating-group textarea {
    width: 100%;
    padding: 14px 12px;
    border: 1px solid #114c8c;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    background: #eee;

}

.exp-sharing-modal .floating-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 5px;
    color: #777;
    font-size: 13px;
    transition: 0.3s;
    font-family: ROBold;
}

.exp-sharing-modal .floating-group textarea:focus+label,
.exp-sharing-modal .floating-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    font-size: 15px;
    color: #114c8c;
    left: 1px;
}

.exp-sharing-modal .floating-group textarea[readonly] {
    background-color: #ededed;
    border: 1px solid #616161;
    color: #555;
    cursor: not-allowed;
}

.exp-sharing-modal .floating-group textarea[readonly]:focus {
    border-color: #ccc;
    box-shadow: none;
}

.exp-sharing-modal .modal-dialog {
    min-width: 600px;
}

.exp-sharing-modal .modal-body {
    padding: 1.5rem 3rem 2rem;
}

.exp-sharing-modal .modal-body button {
    display: inline-block;
    margin-top: 15px;
    background-color: #114c8c;
    color: white;
    padding: 8px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'RoMed';
    font-size: 15px;
    letter-spacing: 0.5px;
}

.warning-modal img {
    width: 4rem;
}

.warning-modal h3 {
    color: #F59500;
    font-family: RoBold;
}

@media (max-width: 992px) {
    .all-modules-section {
        padding: 5rem 2vw 3rem 2vw;
    }

    .home-video-sec {
        padding: 4rem 0 4rem 2rem;
    }

    .home-video-sec p {
        font-size: 2rem;
        padding: 5rem 1.5rem;
    }

    .home-video-sec .inner-video {
        left: -2rem;
    }

    .view-page-main .left-right-section {
        margin-top: -48px;
    }
}

@media (max-width: 768px) {
    .benefit-of-ortho {
        padding: 3rem 3rem 1rem;
    }

    .benefit-of-ortho .BO-head img {
        width: 11rem;
    }

    .benefit-of-ortho .BO-mid img {
        width: 8rem;
    }

    .benefit-of-ortho .BO-mid p {
        font-size: 15px;
    }

    .benefit-of-ortho .BO-bottom p {
        font-size: 16px;
    }

    .benefit-of-ortho .BO-bottom-1 p,
    .benefit-of-ortho .BO-bottom-2 p {
        font-size: 15px;
    }

    .benefit-of-ortho .BO-bottom-1 img,
    .benefit-of-ortho .BO-bottom-2 img {
        width: 2.8rem;
    }

    .benefit-of-ortho span {
        font-size: 10px;
    }

    .benefit-of-ortho .BO-bottom-1,
    .benefit-of-ortho .BO-bottom-2 {
        width: 16rem;
    }

    .home-video-sec {
        padding: 2rem 1rem;
    }

    .home-video-sec p {
        padding: 0 0 2rem;
        border: 0;
        text-align: center;
    }

    .home-video-sec .inner-video {
        left: 0;
        width: 90%;
        height: 20rem;
    }

    .module-card {
        height: 230px;
    }

    .stat-card h3 {
        font-size: 22px;
    }

    .view-page-main .left-right-section {
        margin-top: -24px;
    }

    .module-single-card img {
        height: 14rem;
    }

    .module-single-card .active-hover div {
        height: 12rem;
    }
}

@media (max-width: 576px) {
    .benefit-of-ortho {
        padding: 1rem 1rem 1rem;
    }

    .benefit-of-ortho .BO-bottom img {
        width: 4rem;
    }

    .benefit-of-ortho .BO-bottom-1 img,
    .benefit-of-ortho .BO-bottom-2 img {
        width: 2.2rem;
    }

    .benefit-of-ortho .BO-bottom-1 p,
    .benefit-of-ortho .BO-bottom-2 p {
        font-size: 13px;
    }

    .home-video-sec .inner-video {
        width: 100%;
    }

    .all-modules-section .nav-tabs .nav-link {
        padding: 0 1rem;
    }

    .all-modules-section.after-login-MS .nav-tabs .nav-link:first-child {
        padding: 0 1rem 0 0;
    }

    .all-modules-section .nav-link {
        font-size: 16px;
    }

    .download-card img {
        width: 1.4rem;
    }

    .download-card {
        font-size: 18px;
    }
}