.learndash-wrapper.learndash-shortcode-wrap
    .learndash_checkout_buttons
    form.learndash-payment-gateway-form-stripe_connect
    .btn-join#btn-join {
    background-color: var(--bb-primary-button-background-regular) !important;
    color: var(--bb-primary-button-text-regular) !important;
    border: 1px solid var(--bb-primary-button-border-regular) !important;
    border-radius: var(--bb-button-radius) !important;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
.wn_xfti_grid_container label[for="workout_post_excerpt"],
.wn_xfti_grid_container #title {
    display: block;
    text-align: left;
    width: 100%;
}

.faded iframe {
    opacity: 0.5; /* Further reduce opacity for child iframes */
    pointer-events: none; /* Disable pointer events for child iframes */
}
.wn_xfti_grid_container label[for="workout_post_excerpt"] {
    font-weight: 700;
}
.wn_xfti_grid_container .drill-text-container {
    padding-right: 15px;
}
.wn_xfti_grid_container .add_workout_post {
    display: block;
    margin-top: 20px;
}

.wn_xfti_grid_container #content {
    margin-top: 10px !important;
}
.avg-star {
    font-size: 20px;
    color: #ccc;
    display: inline-block;
    margin-right: 5px;
}
.avg-star.filled {
    color: gold;
}
.avg-star.half-filled {
    color: gold;
}
#instructor_container #btn-join.btn-join {
    max-width: 150px;
    margin: 0 auto 25px auto;
}

.star {
    font-size: 20px;
    color: #ccc;
    display: inline-block;
    margin-right: 5px;
}

.star.active-star {
    color: gold;
}

#wnxfti-dropdown-filter + .flex.bp-secondary-header.align-items-center {
    display: none;
}

#session-personal-li #user-session,
.bp-personal-tab {
    display: none;
}

.comment-awaiting-moderation {
    display: none;
}
.comment-footer {
    display: none;
}

#mantine-r0-tab-paypal {
    display: none;
}

#wnxfti-drill-categories {
    margin-bottom: 10px;
}

#wnxfti-post-categories {
    margin-bottom: 10px;
}

/* RATING BOX STYLES BEGIN */
/* .student_rating_section{
	display:flex;
	gap:40px;
} */
.student_rating_section {
    font-family: "Poppins", sans-serif;
}
.student_rating_section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.student_rating_section .avg-star-rating {
    border-radius: 10px;
    background: #ffffff;
    padding: 25px;
    justify-content: flex-start !important;
    place-content: center;
    margin-bottom: 25px;
    min-height: 100%;
    display: grid;
    place-content: center;
    border: 1px solid var(--bb-content-border-color);
}
.first-rating,
.other-rating {
    padding: 15px 0;
    margin-top: 15px;
}
.avg_rating_container,
.all_rating_wrapper {
    max-height: 300px;
    min-height: 300px;
}
.all_rating_wrapper h2 {
    font-family: "Poppins", sans-serif;
    margin-bottom: 0 !important;
}
.other-rating + .other-rating {
    border-top: 1px solid var(--bb-content-border-color);
}
.all_rating_wrapper {
    background: #ffffff;
    overflow-y: auto;
}
:is(.first-rating, .other-rating) p {
    margin-bottom: 0;
    font-size: 13px;
    font-style: italic;
}
:is(.first-rating, .other-rating) h2 {
    font-size: 14px;
    margin-bottom: 0 !important;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
}
.all_rating_wrapper {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--bb-content-border-color);
    border-radius: 10px;
}
.all_rating_wrapper > h2 {
    font-weight: bold;
}
.student_rating_section .avg-star-rating h2 {
    margin: 0 !important;
    font-family: "Poppins", sans-serif;
}
.faded {
    opacity: 0.4;
}
/* .faded a {
    cursor: not-allowed;
} */
@media screen and (max-width: 768px) {
    .student_rating_section {
        grid-template-columns: repeat(1, 1fr);
    }
    .student_rating_section h2 {
        font-size: 18px !important;
    }
    .other-rating h2,
    .first-rating h2 {
        font-weight: 400;
        font-size: 15px !important;
    }
    .avg_rating_container,
    .all_rating_wrapper {
        width: 100%;
    }
}
/* RATING BOX STYLES END */

/* instructor seach and select drills start */
#drill-dropdown {
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
}
.drill-item {
    padding: 8px 12px;
    cursor: pointer;
}
.drill-item:hover {
    background-color: #f1f1f1;
}
#search-drills {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
}
#prescribed_drill {
    margin-top: 20px;
}

.wn-xfti-drill-div {
    margin-bottom: 10px;
}

.wn-xfti-drill-div h3 {
    display: inline-block;
    margin-right: 10px;
}
.wn-xfti-drill-div + .wn-xfti-drill-div {
    border-top: 1.5px solid #efefef;
    padding-top: 10px;
}
.wn-xfti-drill-div h3 a {
    font-weight: 600;
    width: 200px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wn-xfti-remove-drill,
.wn-xfti-remove-existing-drill {
    background: none;
    border: none;
    color: #d9534f;
    cursor: pointer;
}
.wn-xfti-remove-drill i,
.wn-xfti-remove-existing-drill i {
    font-size: 18px;
}
.wn_cs_s .post-inner-wrap {
    height: max-content;
}
.workout_post_content_heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
/* instructor seach and select drills end */

.wnxfti-drill-categories {
    margin: 0 0 10px 0px;
    width: 150px;
}

.wnxfti-drill-other-filters .wnxfti-drill-categories {
    margin-left: 6px;
}
.wp-block-instructor-role-wisdm-tabs .tab-labels {
    display: none;
}
#notifications-personal-li,
#profile-personal-li,
#invites-personal-li,
#export-personal-li {
    display: none;
}

/* Remove Workout Confirmation */
/* Modal Background */
.wn-workout-remove-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

/* Modal Content Box */
.wn-workout-remove-modal-content {
    background-color: #fff;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    max-width: 320px; /* Could be more or less, depending on screen size */
    text-align: center;
    border-radius: 5px;
}
.workout_post_content_heading > div {
    max-width: 70%;
}

/* Buttons inside the modal */
.wn-workout-remove-modal-actions {
    display: flex;
    justify-content: space-around;
}

.wn-workout-confirm-btn {
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.wn-workout-confirm-btn:hover {
    background-color: #005a87;
}

/* FIXES 10 OCT 2024 BEGIN */
select.wnxfti-article-categories {
    margin-bottom: 15px;
}
.custom_grid_box img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}
.wn-workout-remove-modal-actions .wn-workout-confirm-btn,
.wn-workout-remove-modal-actions .wn-workout-confirm-btn {
    background: #385dff !important;
}
.crse-stories-box-img video {
    width: 100% !important;
}
.cancel-membership #buddypress .bb-bp-settings-content h2.screen-heading {
    margin-bottom: 10px;
}
.screen-heading.cancel-membership-screen.warn + p + p {
    margin-bottom: 10px;
}
#cancel-membership-menu-item-personal-li a::before {
    content: "\eed4" !important;
    font-size: 30px !important;
}
#general-personal-li a::before {
    font-size: 28px !important;
}

/* FIXES 10 OCT 2024 END */
