.share-element {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    height: 40px;
    width: 40px;
}

.addtoany_share_container {
    top: 10px;
    right: 10px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-block: 10px;
}

.share-element img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
}

@media (min-width: 1280px) {
    .container {
        max-width: 1080px !important;
    }
}

.container-fluid {
    max-width: 1280px !important;
}

body {
    /* background: linear-gradient(180deg, #F2F7FF 0%, #FFF 100%) !important; */
    background: #f9fafb !important;
}

section#content {
    margin-top: 120px;
    margin-bottom: 120px;
}

.main-box {
    position: relative;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--primary);
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 350px;
    height: 100%;
    max-height: 500px;
    overflow: hidden;
}

.video-container {
    height: 100%;
    width: 100%;
    z-index: 3;
}

.csPlayer .csPlayer-container iframe {
    width: 2400%;
    height: 100%;
    margin-left: -1149.95%;
    border: none;
    outline: none;
    position: relative !important;
}

#subscribe-container {
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
}

#subscribe-container:hover {
    cursor: pointer;
    /* opacity: 0.8; */
    /* filter: blur(1px); */
}

.course-cover-image {
    position: absolute;
    width: 100%;
    height: 100%;
}

.course-cover-image:hover {
    cursor: pointer;
    /* opacity: 0.8; */
    /* filter: blur(1px); */
}

.course-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-box .play-button {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1rem;
    background-color: var(--primary);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-align: center;
    border: none;
}

.main-box .play-button:hover {
    background-color: var(--primary-dark);
}

.subscribe-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, 0.8);
    /* Darken the cover image */
    z-index: 1;
}

#subscribe-container:hover .subscribe-layer,
.subscribe-layer:hover {
    cursor: pointer;
    background: rgba(50, 50, 90, 0.8);
}

.subscribe-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    width: 90%;
    text-align: center;
    padding: 20px;
}

#video {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-navigation {
    margin-top: 16px;
    margin-bottom: 16px;
}

.video-navigation .button-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.lesson-navigation {
    position: relative;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1),
        0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    height: 360px;
    width: auto;
    border-radius: 12px;
    padding: 16px;
    background-color: white;
    overflow-y: scroll;
}

.lesson-navigation-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 24px;
    color: var(--black);
}

.lesson-number {
    color: #4b5563;
    font-size: 0.825rem;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 16px;
}

.rating-star-wrapper {
    display: inline;
    margin-left: 12px;
}

.about-text,
.about-text>p {
    color: #374151;
    font-size: 0.825rem;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.course-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 8px;
    margin-top: 8px;
    overflow: hidden;
}

.course-progress-bar-fill {
    height: 100%;
    background-color: var(--secondary);
}

.course-progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 0.825rem;
}

.segments {
    /* background-color: wheat; */
    margin-top: 16px;
}

.segment {
    margin-bottom: 16px;
    /* background-color: rgb(124, 216, 114) */
}

.segment-name {
    font-size: 1rem;
    font-weight: 500;
    line-height: 24px;
    color: var(--black);
}

.lesson {
    /* background-color: tomato; */
    padding-left: 12px;
    margin-top: 8px;
    /* margin-bottom: 12px; */
}

.lesson-item {
    text-decoration: none !important;
    color: var(--black);
    display: block !important;
    padding: 5px 0;
    margin-bottom: 4px;
}

.lesson-item:hover,
.lesson-item.active {
    background-color: #f3f4f6;
    border-radius: 8px;
}

.lesson-item.active .lesson-name span {
    color: var(--primary);
}

.lesson-item span {
    text-decoration: none !important;
    color: var(--black);
}

.lesson-name {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.lesson-duration {
    font-size: 0.7rem;
    color: #6b7280;
    padding-left: 36px;
}

.mentor {
    width: 100%;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1),
        0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 16px;
    background-color: white;
}

.mentor-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 24px;
    color: var(--black);
    margin-bottom: 24px;
}

.mentor-picture-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mentor-picture-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.mentor-name {
    font-size: 1rem;
    font-weight: 500;
    line-height: 24px;
    color: var(--black);
    margin-bottom: 2px;
}

.mentor-job {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.2;
    color: #6b7280;
    margin-bottom: 8px;
}

.mentor-desc,
.mentor-desc p {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.3;
    color: #374151;
}

.top-row {
    align-items: start;
}

.lesson-column {
    position: sticky;
    padding-bottom: 12px;
    top: 120px;
    overflow-y: auto;
}

.action-2-button {
    margin-bottom: 8px;
}

h1 {
    font-size: 1.825rem;
    line-height: 1.4;
    margin-bottom: 4px;
}

.breadcrumb {
    flex-wrap: initial;
}

.breadcrumb-item {
    /* max-width: 280px; */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb-item a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* max-width: 270px; */
}

.breadcrumb-item:last-child {
    /* max-width: 500px; */
}

@media (max-width: 768px) {
    .breadcrumb-item {
        /* max-width: 185px; */
    }

    .breadcrumb-item:last-child {
        max-width: 60%;
    }

    .breadcrumb-item a {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        /* max-width: 170px; */
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.3rem;
    }

    .main-box {
        min-height: 220px;
    }

    #subscribe-container {
        height: 100%;
        width: 100%;
        position: absolute;
        overflow: unset;
    }

    .action-1-button {
        width: 50%;
    }

    .action-2-button {
        width: 100%;
    }
}

.action-2-button {
    margin-right: 8px;
}