:root {
    /* =========================================================
       TREMPLIN BRAND COLOR CHARTER (CHARTE GRAPHIQUE TREMPLIN)
       ========================================================= */

    /* Primary Accent Colors (Violet) */
    --chakra-colors-primary: #773A97;
    --accent-100: #773A97;
    --accent-70: rgba(119, 58, 151, 0.7);
    --accent-50: rgba(119, 58, 151, 0.5);
    --accent-30: rgba(119, 58, 151, 0.3);
    --accent-10: rgba(119, 58, 151, 0.1);
    --accent-5: rgba(119, 58, 151, 0.05);
    --accent-0: rgba(119, 58, 151, 0);
    --accent-hover: #5e2c79;

    /* MasterStudy Standard & Modern Component CSS Variables */
    --masterstudy-color--primary-100: #773A97;
    --masterstudy-color--primary-70: rgba(119, 58, 151, 0.7);
    --masterstudy-color--primary-50: rgba(119, 58, 151, 0.5);
    --masterstudy-color--primary-30: rgba(119, 58, 151, 0.3);
    --masterstudy-color--primary-10: rgba(119, 58, 151, 0.1);
    --masterstudy-color--primary-5: rgba(119, 58, 151, 0.05);
    --masterstudy-color--primary-hover: #5e2c79;

    /* Global & Legacy LMS Variables */
    --primary: #773A97;
    --primary-color: #773A97;
    --main-color: #773A97;
    --main_color: #773A97;
    --stm_lms_primary_color: #773A97;
    --masterstudy-primary: #773A97;
    --masterstudy-primary-color: #773A97;
    --masterstudy-accent: #773A97;
    --wp-block-masterstudy-button--bgColor: #773A97;
    --wp-block-masterstudy-button--hoverColor: #5e2c79;

    /* WARNING */
    --warning-100: #F8D4A0;
    --warning-70: rgba(248, 212, 160, 0.7);
    --warning-50: rgba(248, 212, 160, 0.5);
    --warning-30: rgba(248, 212, 160, 0.3);
    --warning-10: rgba(248, 212, 160, 0.1);
    --warning-5: rgba(248, 212, 160, 0.05);
    --warning-0: rgba(248, 212, 160, 0);
    --warning-hover: #e8bd7c;

    /* DANGER */
    --danger-100: #BF2034;
    --danger-70: rgba(191, 32, 52, 0.7);
    --danger-50: rgba(191, 32, 52, 0.5);
    --danger-30: rgba(191, 32, 52, 0.3);
    --danger-10: rgba(191, 32, 52, 0.1);
    --danger-5: rgba(191, 32, 52, 0.05);
    --danger-0: rgba(191, 32, 52, 0);
    --danger-hover: #a51b2d;

    /* SUCCESS */
    --success-100: #3EB75E;
    --success-70: rgba(62, 183, 94, 0.7);
    --success-50: rgba(62, 183, 94, 0.5);
    --success-30: rgba(62, 183, 94, 0.3);
    --success-10: rgba(62, 183, 94, 0.1);
    --success-5: rgba(62, 183, 94, 0.05);
    --success-0: rgba(62, 183, 94, 0);
    --success-hover: #32994d;
}

/* =========================================================
   PAGE DE COURS & LMS - CONTAINER MAX-WIDTH LAYOUT
   ========================================================= */

.masterstudy-account-mobile-menu {
    box-shadow: 0 2px 15px rgba(0, 0, 0, .05) !important;
    border-radius: 2px 2px 0 0 !important;
}
.masterstudy-account-mobile-menu a.masterstudy-account-mobile-menu__link {
    border-radius: 2px !important;
}


.masterstudy-account-container {
    max-width: 100% !important;
}
.masterstudy-account {
    padding: 40px 12px !important;
}
.masterstudy-account-enrolled-quiz-attempts-item__progress--filled {
    background: #773A97 !important;
}

@media (min-width: 576px) {
    .masterstudy-account {
        max-width: 90% !important;
       
    }
}
@media (min-width: 768px) {
    .masterstudy-account {
        max-width: 90% !important;
    }
}
@media (min-width: 992px) {
    .masterstudy-account {
        max-width: 95% !important;
    }
}
@media (min-width: 1400px) {
    .masterstudy-account{
        max-width: 1320px !important;
    }
}



body .masterstudy-buy-button{
     border-radius: 2px !important;
}
a.masterstudy-button, button.masterstudy-button {
    border-radius: 2px !important;
}
.masterstudy-course-card__wrapper{
    border-radius: 2px !important;
}
.masterstudy-course-card__meta{
    border-radius: 2px !important;
}
.masterstudy-course-card .masterstudy-instructor-course-actions__modal-btn {
    border-radius: 2px !important;
}
.masterstudy-single-course-description img.masterstudy-single-course-description__image{
    border-radius: 2px !important;
}
.masterstudy-popular-courses__image {
    border-radius: 2px !important;
}
a.masterstudy-nav-button.masterstudy-nav-button_style-primary{
    border-radius: 2px !important;
}

.masterstudy-course-player-lesson-video .plyr {
    border-radius: 2px !important; 
}
.masterstudy-switch-button {
     border-radius: 2px !important; 
}
.masterstudy-course-player-header {
    background-color: #F8F6F9;
}
.masterstudy-single-course-complete-block {
    border-radius: 2px !important;
}

.stm_lms_courses_wrapper{
    margin-top: 50px !important;
    margin-bottom: 50px !important;
}
.masterstudy-single-course,
.stm-lms-wrapper,
.stm_lms_courses_wrapper,
.single-stm-courses .site-main,
.single-stm-courses main,
.post-type-archive-stm-courses .site-main,
.post-type-archive-stm-courses main {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    
}


@media (max-width: 768px) {
    .stm_lms_courses_wrapper{
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
}

@media (min-width: 576px) {
   .masterstudy-single-course,
    .stm-lms-wrapper,
    .stm_lms_courses_wrapper,
    .single-stm-courses .site-main,
    .single-stm-courses main,
    .post-type-archive-stm-courses .site-main,
    .post-type-archive-stm-courses main {
    max-width: 90%;
  }
}

@media (min-width: 992px) {
    .masterstudy-single-course,
    .stm-lms-wrapper,
    .stm_lms_courses_wrapper,
    .single-stm-courses .site-main,
    .single-stm-courses main,
    .post-type-archive-stm-courses .site-main,
    .post-type-archive-stm-courses main {
    max-width: 95%;
  }
}
@media (min-width: 1200px) {
    .masterstudy-single-course,
    .stm-lms-wrapper,
    .stm_lms_courses_wrapper,
    .single-stm-courses .site-main,
    .single-stm-courses main,
    .post-type-archive-stm-courses .site-main,
    .post-type-archive-stm-courses main {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
    .masterstudy-single-course,
    .stm-lms-wrapper,
    .stm_lms_courses_wrapper,
    .single-stm-courses .site-main,
    .single-stm-courses main,
    .post-type-archive-stm-courses .site-main,
    .post-type-archive-stm-courses main{
    max-width: 1320px;
  }
}

.stm_lms_courses__filter_heading h3{
    color: #413E3E !important;
   font-family: 'Canva Sans', sans-serif !important;
}
body {
  font-family: 'Canva Sans', sans-serif !important;
  color: #413E3E;
}

.masterstudy-single-course-announcement ol li, 
.masterstudy-single-course-announcement ul li,
.masterstudy-single-course-description__content h1, 
.masterstudy-single-course-description__content h2, 
.masterstudy-single-course-description__content h3, 
.masterstudy-single-course-description__content h4, 
.masterstudy-single-course-description__content h5,
.masterstudy-single-course-description__content h6,
.masterstudy-single-course-description__content ol li, 
.masterstudy-single-course-description__content ul li,
.masterstudy-single-course-description__content p{
    color: #413E3E !important;
    font-family: 'Canva Sans', sans-serif !important;
}

h1.masterstudy-single-course-title,
.masterstudy-single-course-details__title,
.masterstudy-single-course-details__quantity,
.masterstudy-popular-courses__title,
.masterstudy-popular-courses__subtitle,
.masterstudy-single-course-widgets .wp-block-heading,
.wp-block-search__label{
    font-family: 'Canva Sans', sans-serif !important;
    color: #413E3E !important;
}

/* =========================================================
   OVERRIDE HARDCODED MASTERSTUDY LMS BLUE ELEMENTS
   ========================================================= */

.masterstudy-single-course a,
.stm-lms-wrapper a,
.stm_lms_courses_wrapper a,
.single-stm-courses .site-main a,
.single-stm-courses main a,
.post-type-archive-stm-courses .site-main a,
.post-type-archive-stm-courses main a{
    color: inherit !important;
}


/* Primary Buttons & Actions */
a.masterstudy-button.masterstudy-button_style-primary,
button.masterstudy-button.masterstudy-button_style-primary,
.masterstudy-button_style-primary,
a.btn.btn-primary,
button.btn.btn-primary,
.btn-primary,
.wp-block-masterstudy-button,
.stm_lms_recent_courses .stm_lms_recent_courses__all a.btn.btn-default,
.stm_lms_certificate_checker__form a.btn.btn-default,
.load-my-courses .btn.btn-default,
.masterstudy-theme a.stm_lms_courses_search__button.sbc,
.stm_lms_courses_grid .showing a.btn.btn-default.stm_lms_load_more_courses,
.stm_lms_featured_teacher .featured-teacher-all a.btn.btn-default,
.stm_lms_featured_teacher .stm_lms_featured_teacher_content a.btn.btn-default,
.masterstudy-theme .stm_lms_courses_wrapper .stm_lms_load_more_courses,
.masterstudy-theme #stm_lms_add_review a.btn.btn-default,
.masterstudy-theme .create-announcement-btn,
.stm_zoom_wrap .stm_zoom_content .stm-join-btn,
.product-enterprise-group {
    background-color: #773A97 !important;
    border-color: #773A97 !important;
    color: #ffffff !important;
}
.stm_lms_user_float_menu .__position_left .__logged_in a {
    color: inherit !important;
    text-decoration: none
}

.stm_lms_user_float_menu .__position_left .__logged_in a:hover,
.stm_lms_user_float_menu .__position_left .__logged_in a:focus {
    color: inherit !important;
    text-decoration: none;
}
.float_menu_item.float_menu_item__inline.__icon{
    color: inherit !important;
}
.stm_lms_user_float_menu__user_info h3{
    color: #773A97 !important;
}

.btn.btn-default{
  color: #fff !important;
}  

/* Hover States for Primary Buttons & Actions */
a.masterstudy-button.masterstudy-button_style-primary:hover,
button.masterstudy-button.masterstudy-button_style-primary:hover,
.masterstudy-button_style-primary:hover,
a.btn.btn-primary:hover,
button.btn.btn-primary:hover,
.btn-primary:hover,
.wp-block-masterstudy-button:hover,
.stm_lms_recent_courses .stm_lms_recent_courses__all a.btn.btn-default:hover,
.stm_lms_certificate_checker__form a.btn.btn-default:hover,
.load-my-courses .btn.btn-default:hover,
.masterstudy-theme a.stm_lms_courses_search__button.sbc:hover,
.masterstudy-theme .stm_lms_courses_wrapper .stm_lms_load_more_courses:hover,
.masterstudy-theme #stm_lms_add_review a.btn.btn-default:hover,
.stm_zoom_wrap .stm_zoom_content .stm-join-btn:hover {
    background-color: #5e2c79 !important;
    border-color: #5e2c79 !important;
    color: #ffffff !important;
}

/* Tertiary / Soft Accent Buttons & Badges */
a.masterstudy-button.masterstudy-button_style-tertiary,
button.masterstudy-button.masterstudy-button_style-tertiary,
.masterstudy-button_style-tertiary {
    background-color: rgba(119, 58, 151, 0.1) !important;
    color: #773A97 !important;
    border-color: #773A97 !important;
}

/* Links & Interactive Text */
.primary_color,
.primary-color,
.stm_lms_courses_grid .stm_lms_courses_grid__counter .stm_lms_courses_grid__all,
.masterstudy-theme #wrapper .stm_lms_categories_dropdown__child a:hover,
.masterstudy-theme #wrapper .stm_lms_categories_dropdown__parents .sbc_h:hover,
.masterstudy-theme .stm_header_links i.secondary_color,
.stm_header_links a.stm_lms_bi_link.normal_font:hover,
.stm_header_links i.lnr.lnr-bullhorn.secondary_color,
.stm_header_links i.stmlms-case.secondary_color,
body.masterstudy-theme .stm_lms_instructor_courses__grid a:hover,
body.masterstudy-theme .stm_lms_log_in,
body.masterstudy-theme .stm_lms_log_in i.stmlms-user,
.message-notice a,
.stm_lms_instructors_carousel_wrapper .stm_lms_instructors_carousel__top .h4:hover,
.stm_lms_courses__grid .stm_lms_courses__single--info .stm_lms_courses__single--info_title a:hover h4,
.pmpro_invoice_wrap .pmpro_actions_nav a:hover,
.stm_lms_cart .stm_lms_cart__item_title .normal_font a:hover {
    color: #773A97 !important;
}

/* Active Tabs & Navigation Border/Backgrounds */
.nav.nav-tabs>li.active a,
.stm_lms_courses_carousel__terms .stm_lms_courses_carousel__term.secondary_color.active {
    border-top-color: #773A97 !important;
    color: #773A97 !important;
}

.stm_lms_courses_carousel__terms .stm_lms_courses_carousel__term.secondary_color.active {
    background-color: #773A97 !important;
    color: #ffffff !important;
}

.stm_lms_courses_carousel__terms .stm_lms_courses_carousel__term:hover {
    color: #773A97 !important;
}

/* Pagination & Active Indicators */
ul.page-numbers>li a.page-numbers.current,
ul.page-numbers>li span.page-numbers.current,
ul.page-numbers>li a.page-numbers:hover,
ul.page-numbers>li span.page-numbers:hover,
.elementor-container .page-numbers.stm_lms_my_course_bundles__pagination li span.page-numbers.current,
.elementor-container .page-numbers.stm_lms_my_course_bundles__pagination li a.page-numbers:hover,
body .stm-lms-wrapper .asignments_grid__pagination .page-numbers li span.page-numbers.current,
body .stm-lms-wrapper .asignments_grid__pagination .page-numbers li a.page-numbers:hover {
    background-color: #773A97 !important;
    border-color: #773A97 !important;
    color: #ffffff !important;
}

ul.page-numbers>li a.page-numbers.current:after,
ul.page-numbers>li span.page-numbers.current:after,
ul.page-numbers>li a.page-numbers:after,
ul.page-numbers>li span.page-numbers:after,
body .stm-lms-wrapper .asignments_grid__pagination .page-numbers li span.page-numbers.current::after,
body .stm-lms-wrapper .asignments_grid__pagination .page-numbers li a.page-numbers:after {
    background-color: #773A97 !important;
}

.stm_lms_instructors__grid .owl-dots .owl-dot.active,
.stm_lms_single_course_carousel_wrapper .stm_lms_single_course_carousel .owl-dots .owl-dot.active {
    border-color: #773A97 !important;
}

/* Form Radios, Checkboxes & Select2 Active Options */
.wpcfto_radio input:checked+.wpcfto_radio__fake:after,
.stm_lms_button .select2-container--default .select2-results__option--highlighted[aria-selected],
.classic_lms .select2-container--default .select2-results__option--highlighted[aria-selected],
.masterstudy-course-templates .select2-container .select2-results__option--highlighted[aria-selected] {
    background-color: #773A97 !important;
}

.stm_lms_button .select2-container--default .select2-selection--single .select2-selection__arrow b:after,
.classic-lms-2 .select2-container--default .select2-selection--single .select2-selection__arrow b:after,
.classic_lms .select2-container--default .select2-selection--single .select2-selection__arrow b:after,
.academy .select2-container--default .select2-selection--single .select2-selection__arrow b:after {
    border-color: #773A97 transparent transparent !important;
}

/* Form Inputs Focus State */
.masterstudy-authorization__form input.masterstudy-authorization__form-input:focus,
.masterstudy-authorization__form textarea.masterstudy-authorization__form-textarea:focus {
    border: 1px solid #773A97 !important;
    outline: 0;
    box-shadow: none;
    background: #fff;
}

/* Certificates, Loaders & Badges */
.masterstudy-theme .stm-lms-wrapper .masterstudy_preview_certificate {
    background-color: #773A97 !important;
}

.masterstudy-theme .stm-lms-wrapper div.multiseparator:after {
    background-color: #773A97 !important;
}

.ms_lms_loader_::after,
.ms_lms_loader_::before {
    border-color: transparent transparent #773A97 #773A97 !important;
}

.masterstudy-theme .header_2 .stm_lms_account_dropdown .dropdown button {
    background-color: #773A97 !important;
    border-color: #773A97 !important;
}

.stm_lms_courses__single--info_preview a {
    color: #fff !important;
}




.masterstudy-enrolled-courses__empty a.masterstudy-enrolled-courses__empty-button{
    display: none !important;
}

.masterstudy-account-wishlist__empty a.masterstudy-account-wishlist__empty-button{
    display: none !important;
}


