/*
Theme Name: REIGN Child
Theme URI: https://wbcomdesigns.com/downloads/reign-buddypress-theme/
Author: Wbcom Designs
Author URI: https://wbcomdesigns.com/
Description: Premium BuddyPress Theme with Elementor Page Builder support.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: reign-child
Template: reign-theme
Domain Path: /languages/
Tags: one-column, two-columns, right-sidebar, custom-background, custom-menu, featured-images, post-formats, full-width-template, translation-ready, theme-options, threaded-comments, footer-widgets, custom-logo
*/

/* course index */

.index-courses-extra-sidebar-container {
  margin-top: 32px;
}

.index-courses-extra-sidebar-container-mobile {
  display: none !important;
}

@media screen and (max-width: 991px) {
  .index-courses-extra-sidebar-container {
    display: none !important;
  }

  .index-courses-extra-sidebar-container-mobile {
    display: block !important;
    margin-top: 32px;
    margin-bottom: 32px;
  }
}

.tax-product_cat .woof_container_product_cat {
  display: none;
}

.rg-woo-breadcrumbs a {
  color: #f0c990 !important;
}

/* cart page - qty */

.woocommerce .quantity input[type="number"] {
  background-color: #191919 !important;
}

/* cart page coupon input */

.bernardins-info {
  background-color: var(--reign-site-sections-bg-color);
  margin: 0 0 1em;
  padding: 1em 2em 1em 3.5em !important;
  color: inherit;
  border-radius: var(--reign-global-border-radius);
  box-shadow: 0 0 2px rgba(255, 255, 255, 1) !important;
  border-top-color: #1e85be;
  border-top: 3px solid #7f54b3;
  list-style: none outside;
  width: auto;
  word-wrap: break-word;
  border-top-color: #1e85be;
  position: relative;
}

.bernardins-info:before {
  font-family: "WooCommerce";
  content: "\e028";
  display: inline-block;
  position: absolute;
  top: 1em;
  left: 1.5em;
  color: #1e85be;
}

.woocommerce-cart-form #coupon_code,
.woocommerce-cart-form #coupon_code:focus,
.woocommerce-cart-form #coupon_code:hover {
  color: black !important;
}

.woocommerce-cart-form #coupon_code,
.woocommerce-cart-form #coupon_code::placeholder,
.woocommerce-cart-form #coupon_code::-moz-placeholder,
.woocommerce-cart-form #coupon_code::-ms-input-placeholder {
  color: black !important;
  opacity: 1 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table,
.woocommerce-checkout .cart-collaterals .cart_totals table,
#add_payment_method .cart-collaterals .cart_totals table {
  border: none !important;
}

.bernardins-message-cart-collaterals {
  display: flex;
  font-size: 15px;
  line-height: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.bernardins-message-cart-collaterals h2 {
  margin-bottom: 12px !important;
}

.bernardins-message-cart-collaterals i {
  margin-right: 8px;
  padding-top: 4px;
}

.bernardins-message-cart-collaterals span {
  flex: 1;
}

.cart_totals h2 {
  font-size: 30px;
  line-height: 34px;
}

/* header cart number */

.rg-count,
.rg-msg .rg-icon-wrap .bpbmuc {
  background-color: #f0c990 !important;
}

/* icones notifications - my account */
.woocommerce-MyAccount-navigation-link--notifications a:after {
  content: "\f0e0" !important;
}

/* woocommerce account - learndash mes cours */

.learndash-wrapper .ld-profile-summary .ld-profile-card {
  display: none !important;
}

/* woocommerce hover bug btn */

.woocommerce-table .button {
  text-transform: uppercase !important;
  font-family: inherit !important;
  line-height: 40px !important;
  padding: 0 20px !important;
  border-radius: var(--reign-global-button-radius) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}

/* woocommerce account address */

.woocommerce-Addresses a {
  color: #f0c990 !important;
}

.ld-course-navigation-heading .ld-expand-button {
  display: none !important;
}

/* sidebar navigation course */

.learndash-wrapper .ld-course-navigation .ld-lesson-item-expanded .ld-table-list-items {
  padding-top: 0 !important;
}

/* select */

#bbpress-forums fieldset.bbp-form select,
.buddypress-wrap #notification-select,
.buddypress-wrap .select-wrap select,
.buddypress-wrap .standard-form select,
body #buddypress.buddypress-wrap form#whats-new-form #whats-new-options select,
select,
select.dokan-form-control {
  background-image: none !important;
  -webkit-appearance: searchfield !important;
}

/* cours alert message */

.learndash-wrapper .ld-alert .ld-alert-icon.ld-icon-alert {
  padding: 0 !important;
}

/* checkout */
@media (min-width: 992px) {
  .checkout.woocommerce-checkout .lg-wb-grid-2-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.woocommerce-checkout #order_review_heading {
  font-size: 30px;
  line-height: 34px;
}

/* menu */

.reign-fallback-header.header-desktop {
  transition: none !important;
}

.header-desktop.fixed-top.nav-scrolling.to-bottom {
  opacity: 0 !important;
}

.header-desktop.fixed-top.nav-scrolling.to-top {
  opacity: 1 !important;
}

/* footer */

.widget-title {
  border: none !important;
}

body #footer-area .widget-title span {
  font-size: 30px !important;
  line-height: 34px !important;
}

/* message */

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  box-shadow: 0 0 2px rgba(255, 255, 255, 1) !important;
}

/* checkout payment */

.wc-saved-payment-methods {
  color: white !important;
}

/* quiz results */
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem.wpProQuiz_answerIncorrect,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem.wpProQuiz_answerCorrectIncomplete {
  color: white;
}

/* wooaccount - mes cours */

.woocommerce .learndash-wrapper .ld-item-list .ld-item-list-item,
.woocommerce .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-expanded .ld-progress {
  background: transparent !important;
}

.woocommerce .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name {
  color: var(--reign-accent-color) !important;
}

.woocommerce .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-expanded .ld-item-contents {
  padding: 0 !important;
}

/* certificat pay */

.learndash-wrapper .ld-alert-certificate.ld-alert-success {
  color: white !important;
}

/* icon course completed */

.learndash-wrapper .sfwd-mark-complete::after,
.learndash-wrapper #sfwd-mark-complete::after {
  top: 46% !important;
}

/* course professor thumbnail */

.learndash-single-course-header .learndash-course-instructor .instructor-avatar img.lm-author-avatar {
  width: 80px !important;
  max-width: 80px !important;
}

/* login page hide title */

.woocommerce-account:not(.logged-in) .entry-header {
  display: none !important;
}

/* password message */

.woocommerce-password-strength.short {
  background-color: #e35b5b !important;
}

.woocommerce-password-strength.bad {
  background-color: #f78b53 !important;
}

.woocommerce-password-strength.good {
  background-color: #ffc733 !important;
}

.woocommerce-password-strength.strong {
  background-color: #83c373 !important;
}

/* register form */
@media screen and (min-width: 1280px) {
  .woocommerce-account form.register {
    display: flex;
    flex-wrap: wrap;
  }

  .woocommerce-account form.register .form-row {
    width: 50%;
    margin-bottom: 18px;
  }

  .woocommerce-account form.register .form-row:nth-child(even) {
    padding-right: 12px;
  }

  .woocommerce-account form.register .form-row:nth-child(odd) {
    padding-left: 12px;
  }

  .woocommerce-account form.register .form-row:first-child {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }
}

.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
  color: grey !important;
  top: 9px !important;
}

/* mot de passe perdu */

.woocommerce-lost-password #user_login {
  width: 300px !important;
  max-width: 100% !important;
}

/* checkout order confirmation */

.order-again {
  display: none !important;
}

/* woo product page */

.woo-product-instructor {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  margin-right: 16px;
}

.woo-product-instructor-avatar img {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 100%;
  margin-right: 12px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: white !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li#tab-title-contenu_tab a:before {
  content: "\e904" !important;
  font-family: "ld-icons";
}

.woocommerce div.product .woocommerce-tabs ul.tabs li#tab-title-enseignant_tab a:before {
  content: "\e90c" !important;
  font-family: "ld-icons";
}

.woocommerce div.product .woocommerce-tabs ul.tabs li#tab-title-description_bernardins_tab a:before {
  content: "\e905" !important;
  font-family: "ld-icons";
}

/* widget product course */

.widget-product-course .widget-title {
  margin-bottom: 0 !important;
  text-transform: none !important;
}

.widget-product-course .widget-title span {
  padding-bottom: 5px;
  padding-top: 5px;
  font-family: "Roboto", sans-serif;
}

.widget-product-course ul {
  list-style: none !important;
}

.widget-product-course li {
  margin: 10px 0;
  padding-top: 10px;
  border-top: 1px solid white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-product-course li.first-item {
  border-top: none !important;
}

.bernardins-product-course-widget-item {
  position: relative;
  padding-left: 40px;
}

.bernardins-product-course-widget-item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  display: block;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.item-icon-attestation:before {
  background-image: url(assets/icons/student.svg);
}

.item-icon-documents:before {
  background-image: url(assets/icons/document.svg);
}

.item-icon-video:before,
.item-icon-audio:before {
  background-image: url(assets/icons/infini.svg);
}

.item-icon-quiz:before {
  background-image: url(assets/icons/puzzle.svg);
}

.item-icon-livret:before {
  background-image: url(assets/icons/telechargement.svg);
}

.widget-product-course {
  padding-bottom: 0 !important;
}

.widget-product-course ul {
  margin: 0 !important;
}

.widget-product-course ul li:first-child {
  border: none !important;
}

.widget-product-course li i {
  min-width: 35px;
}

.widget-product-course li .lm-course-feature-value {
  font-weight: bold;
  margin-left: auto !important;
}

.woocommerce div.product div.images img {
  border-radius: 10px !important;
}

.bernardins-product-course-widget-button {
  margin-top: 16px !important;
}

.widget-product-course a,
.widget-bernardins-add-to-cart-button a {
  width: calc(100% + 30px) !important;
  margin-left: -15px !important;
  margin-right: -15px !important;
  text-align: center !important;
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  margin-top: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

@media screen and (max-width: 992px) {
  .widget-bernardins-add-to-cart-button {
    display: none !important;
  }
}

.widget-product-course a:after,
.widget-bernardins-add-to-cart-button a:after {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.widget-product-course .added_to_cart,
.widget-bernardins-add-to-cart-button .added_to_cart {
  display: none !important;
}

.widget-bernardins-add-to-cart-button a {
  border-radius: var(--reign-global-button-radius) !important;
}
.widget-bernardins-add-to-cart-button .bernardins-product-course-widget-button {
  margin-top: 0 !important;
}

/* course tab professor */

.lm-course-author-image-container {
  display: flex;
  align-items: center;
}

/* woocommerce index archive */

.woof_sid_flat_dark {
  border-radius: 10px !important;
  margin-bottom: 24px !important;
}

.site-content,
body.buddypress .site-content {
  padding-top: 20px !important;
}

.woocommerce nav.woocommerce-pagination ul li .page-numbers:not(.current):hover,
.woocommerce-page nav.woocommerce-pagination ul li .page-numbers:not(.current):hover {
  color: white !important;
  border-color: white !important;
}

li.product a.woocommerce-loop-product__link {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding-bottom: 45px !important;
}

ul.products li.product .button {
  background-color: #d19d3a !important;
  border-color: #d19d3a !important;
  color: white !important;
  position: absolute;
  bottom: -1px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  padding: 3px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

ul.products li.product .price {
  margin-top: auto !important;
}

ul.products .woocommerce-loop-product__title {
  margin-bottom: 0 !important;
}

.woocommerce .elementor-element.elementor-products-grid ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

@media screen and (max-width: 1024px) {
  .woocommerce .products ul,
  .woocommerce ul.products {
    margin: 0 5px !important;
  }
}

/* single enseignant */

.single-enseignant-container {
  display: flex;
  margin-bottom: 32px;
}

@media screen and (max-width: 767px) {
  .single-enseignant-container {
    flex-direction: column;
  }
}

.single-enseignant-main-col {
  flex: 1;
  padding-right: 32px;
}

@media screen and (max-width: 767px) {
  .single-enseignant-main-col {
    padding-right: 0px;
  }
}

.single-enseignant-main-col h1 {
  color: #d29e3a;
  font-family: "Bernardins2023-Bold", Sans-serif;
  font-size: 48px;
}

.single-enseignant-image-col {
  width: 33%;
}

@media screen and (max-width: 767px) {
  .single-enseignant-image-col {
    width: 100%;
    text-align: center;
    margin: 24px 0;
  }
}

.single-enseignant-image-col img {
  border-radius: 10px;
}

.single-enseignant-courses {
}

.professor-products {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .professor-products {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 40px;
  }
}

.professor-product {
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-radius: 5px;
  padding: 0px 0px 0px 0px;
  border-color: #d6d6d6;
  width: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.professor-product > div {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  flex: 1;
}

.professor-product-title h2 {
  color: white;
  text-align: center;
  padding: 0 10px;
  font-size: 22px !important;
  line-height: 24px !important;
  font-family: "Roboto", sans-serif;
}

@media screen and (max-width: 767px) {
  .professor-product-title h2 {
    font-size: 15px !important;
  }
}

.single-enseignant-wrapper {
  width: 1140px;
  max-width: 100%;
  margin: 0 auto;
}

.professor-product-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 1em;
  box-shadow: none;
  border-radius: 0;
}

.single-enseignant-btn-container {
  margin-top: 32px;
}

.professor-product-title-price {
  text-align: center;
  margin-top: auto;
  padding: 0 10px;
  margin-bottom: 0.5em;
}

.professor-product-title-price .amount {
  color: #d29e3a;
  font-size: 24px;
  font-weight: 700;
}

.single-enseignant-wrapper .add_to_cart_button {
  font-weight: 700;
  border-style: solid;
  border-width: 0px 0px 0px 0px;
  border-radius: 0px 0px 0px 0px;
  background-color: #d19d3a !important;
  border-color: #d19d3a !important;
  color: white !important;
  border-top: 1px solid white !important;
  text-align: center;

  min-height: auto;
  white-space: nowrap;
  overflow: hidden;
  padding: 0.618em 1em;
  margin: 0;
  opacity: 1;
  cursor: pointer;
  box-shadow: none;
  text-transform: uppercase;
  width: 100%;
  margin-top: auto !important;

  font-size: 12px !important;
  line-height: 14px !important;
}

.single-enseignant-wrapper .add_to_cart_button:hover {
  background-color: #d19d3a !important;
  border-color: #d19d3a !important;
}

/* loader */

#woof_svg_load_container {
  width: 32px !important;
  height: 32px !important;
}

/* btn */

.learndash-wrapper .btn-join,
.learndash-wrapper #btn-join,
.learndash-wrapper .ld-button {
  color: white !important;
  background-color: #d29e3a !important;
}

body .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem.wpProQuiz_answerCorrect label {
  background: #8bc34a;
}

/* bug related */

.woo-product-layout1 #buddypress .woocommerce li.product a.woocommerce-LoopProduct-link,
.woo-product-layout1 .woocommerce li.product a.woocommerce-LoopProduct-link,
.woo-product-layout1.woocommerce li.product a.woocommerce-LoopProduct-link,
.woo-product-layout1.woocommerce-page li.product a.woocommerce-LoopProduct-link {
  overflow: hidden !important;
}

/* search results */

.search-results #reign-sidebar-right {
  display: none;
}

/* single product */
@media screen and (min-width: 768px) {
  .single-product .woocommerce-product-gallery__wrapper {
    height: 100% !important;
  }

  .single-product .woocommerce-product-gallery__image {
    height: 100% !important;
  }

  .single-product .woocommerce-product-gallery__image > a {
    display: block !important;
    height: 100% !important;
  }

  .single-product.woocommerce div.product div.images.woocommerce-product-gallery img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}

/* header btn don */

.header-btn-don {
  background: black;
  border: 1px solid white;
  color: white;
  font-size: 16px;
  padding: 3px 12px;
  border-radius: 3px;
  font-family: Lexend Deca;
}

@media screen and (min-width: 960px) {
  .menu-hide-desktop {
    display: none !important;
  }
}

.menu-login a {
  text-align: center;
  background-color: #d29e3a !important;
  border-radius: 10px !important;
  margin-bottom: 14px !important;
  margin-top: 12px !important;
}

@media screen and (max-width: 959px) {
  .menu-don a,
  .menu-logout a {
    text-align: center;
    background: black !important;
    border: 1px solid white !important;
    color: white !important;
    border-radius: 10px !important;
    margin-top: 12px !important;
  }
}

/* header courses */
@media screen and (max-width: 959px) {
  .header-mobile-courses-link {
    order: 3;
  }

  .header-mobile-courses-link a {
    color: white;
    font-size: 22px;
  }
}

@media screen and (min-width: 960px) {
  .header-mobile-courses-link {
    display: none !important;
  }
}

/* shop */
@media screen and (max-width: 959px) {
  .woof_auto_4_columns .woof_container {
    width: 49% !important;
  }
}

@media screen and (max-width: 575px) {
  .woof_auto_4_columns .woof_container {
    width: 100% !important;
  }
}

/* myaccount */

.rg-woo-account-user .rg-woo-account-content-wrapper .rg-woo-user-info .user-logout a {
  color: white !important;
}

/* my account mobile */
@media screen and (max-width: 959px) {
  .woocommerce-account .entry-title {
    padding-top: 0 !important;
    font-size: 26px !important;
    margin-bottom: 10px !important;
  }

  .woocommerce-account .rg-my-account-content-wrapper.woo_myaccount_layout1 .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link a {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .woocommerce-account .learndash-wrapper #ld-profile .ld-profile-stats .ld-profile-stat {
    margin-bottom: 4px !important;
  }
}

/* learndash course sidebar */

.ld-lesson-navigation .widget_course_return {
  display: none !important;
}

/* checkout certificat message */

.woocommerce-notice-certificate-checkout {
  margin-top: 4px;
  margin-bottom: 12px;
}

.woocommerce-notice-certificate-checkout a {
  color: white !important;
  text-decoration: underline !important;
  font-weight: bold;
}

/* buy certificate */

.buy-certificate:before {
  display: none !important;
}

.wpProQuiz_certificate .learndash_checkout_button a {
  margin: 0 auto !important;
}

/* hide certifications stats */

.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat-certificates {
  display: none !important;
}

.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat-completed {
  border-right: 0 !important;
}

/* mini cart */

.woocommerce-mini-cart__buttons.buttons .button.checkout {
  display: none !important;
}

/* checkout */

.woocommerce-checkout .page-title {
  display: none !important;
}

/* product ajax add to cart */

form.cart .added_to_cart {
  display: none !important;
}

.single_add_to_cart_button.loading {
  background-color: rgba(210, 158, 58, 0.8) !important;
}

.single_add_to_cart_button.loading:after {
  top: 0 !important;
  right: 4px !important;
}

/* modal contant */

#elementor-popup-modal-18905 form p:after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  clear: both;
}

#elementor-popup-modal-18905 .wpcf7-spinner {
  display: none !important;
}

#elementor-popup-modal-18905 .wpcf7-response-output {
  clear: both;
  margin: 0 !important;
  display: block !important;
  border: none !important;
}

/* user account */

.rg-woo-account-user .user-logout {
  display: none !important;
}

/* logout hide */
/*
.bp-logout-nav, .woocommerce-MyAccount-navigation-link--customer-logout, .menu-logout{
	display: none!important;
}
*/

/* course review */

#learndash-course-reviews-respond .grid-x {
  margin-top: 10px;
  margin-bottom: 10px;
}

#learndash-course-reviews-respond .review-star label {
  cursor: pointer;
}

.learndash-course-reviews-form #loginform {
  display: none;
}

#tab-title-avis a:before {
  content: "\f086";
}

.ld-tabs .ld-icon-comments:before {
  content: "\f086";
  font-family: "Font Awesome 5 Pro", reign-icons !important;
}

/* checkout */

.logged-in.woocommerce-checkout #customer_details {
  border: none !important;
  padding: 0;
  margin: 0;
}

/* course navigation */

.learndash-widget .ld-progress-steps {
  margin-top: 10px;
}

@media screen and (min-width: 641px) {
  .learndash-wrapper .ld-content-actions .ld-content-action {
    flex-basis: 110px;
  }
}

@media screen and (min-width: 768px) {
  .learndash-wrapper .ld-content-actions .ld-content-action {
    flex-basis: 225px;
  }
}

.learndash-wrapper .ld-tabs .ld-tabs-content {
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .ld-content-actions .learndash_mark_complete_button {
    text-align: center;
  }
}

/* quiz responsive btns */
@media screen and (max-width: 768px) {
  .ld-quiz-actions {
    display: flex !important;
    flex-direction: column !important;
  }

  .learndash-wrapper .ld-quiz-actions .quiz_continue_link,
  .learndash-wrapper .wpProQuiz_content a#quiz_continue_link,
  .learndash-wrapper .ld-quiz-actions .wpProQuiz_button,
  .learndash-wrapper .ld-quiz-actions input[type="button"],
  .learndash-wrapper .wpProQuiz_content .wpProQuiz_button,
  .learndash-wrapper .wpProQuiz_content .wpProQuiz_button2 {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .learndash-wrapper .ld-quiz-actions .quiz_continue_link,
  .learndash-wrapper .ld-quiz-actions .wpProQuiz_button,
  .learndash-wrapper .ld-quiz-actions input[type="button"],
  .learndash-wrapper .wpProQuiz_content .wpProQuiz_button,
  .learndash-wrapper .wpProQuiz_content .wpProQuiz_button2 {
    margin-bottom: 14px !important;
  }
  .wpProQuiz_button {
    text-align: center !important;
  }
}

/* forum */
@media screen and (max-width: 767px) {
  #wpforo #wpforo-wrap .wpfl-1 .head-title {
    width: calc(100% - 100px) !important;
  }
  #wpforo #wpforo-wrap .wpfl-1 .head-stat-views {
    width: 32px !important;
  }
  #wpforo #wpforo-wrap .wpfl-1 .head-stat-posts {
    width: 65px !important;
  }
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-certificate-link {
  display: flex !important;
}

/* woo mini cart */

body .rg-woocommerce_mini_cart ul.woocommerce-mini-cart li a.edd-remove-from-cart,
body .rg-woocommerce_mini_cart ul.woocommerce-mini-cart li a.remove {
  border: none !important;
  color: white !important;
  font-size: 22px !important;
}

body .rg-woocommerce_mini_cart ul.woocommerce-mini-cart li a.edd-remove-from-cart:hover,
body .rg-woocommerce_mini_cart ul.woocommerce-mini-cart li a.edd-remove-from-cart:focus,
body .rg-woocommerce_mini_cart ul.woocommerce-mini-cart li a.remove:hover,
body .rg-woocommerce_mini_cart ul.woocommerce-mini-cart li a.remove:focus {
  background-color: transparent !important;
  border: none !important;
}

/* woocommerce account courses list */

.woocommerce-account .learndash-wrapper .ld-item-list {
  margin-top: 0 !important;
}

.ld-content-actions {
  border-top: 0px solid #000 !important;
}

/* learn dash index */

.learndash-wrapper div.ld-course-status {
  border: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* rating bloc */

.bernardins-rating-bloc {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media screen and (max-width: 959px) {
  .bernardins-rating-bloc,
  .bernardins-single-product-students-count {
    display: none !important;
  }
}

.bernardins-rating-stars {
  font-size: 20px;
  line-height: 20px;
  color: #d6d6d6;
}

.bernardins-rating-stars .filled {
  color: #d29e3a;
}

.bernardins-rating-stars .half-filled {
  background: linear-gradient(90deg, #d29e3a 50%, #d6d6d6 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bernardins-rating-bloc-total-votes {
  margin-left: 5px;
}

.bernardins-rating-average-rating {
  margin-right: 5px;
  color: #d29e3a;
}

.bernardins-review-link {
  text-decoration: underline !important;
  color: white !important;
}

/* single product top */

.bernardins-single-product-lessons-count-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.bernardins-single-product-time {
  position: relative;
  margin-left: 5px;
}

.bernardins-single-product-time:before {
  content: "-";
  margin-right: 5px;
}

.single-product .woo-product-instructor {
  margin-right: 0;
  margin-bottom: 0;
}

.single-product form.cart {
  display: flex;
  align-items: center;
  gap: 15px;
}

.single-product div.product form.cart {
  margin-top: 20px;
}

.single-product div.product form.cart:before {
  display: none !important;
}

.single-product div.product form.cart:after {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .single-product div.product form.cart {
    position: fixed;
    bottom: 50px;
    background: black;
    width: 100%;
    left: 0;
    margin: 0;
    z-index: 30001;
    padding: 12px 12px;
    justify-content: space-evenly;
  }
}

.price-next-to-cart {
  font-size: 1.2em;
  font-weight: bold;
}

/* single product course content */

.learndash-course-content-title h3 {
  color: #d29e3a;
}

.bd-sc-accordion-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bd-sc-accordion-item {
  border-bottom: 1px solid white;
  margin-bottom: 5px;
}

ul.bd-sc-accordion-list .bd-sc-accordion-item:last-child {
  border-bottom: none;
}

.bd-sc-accordion-header {
  display: flex;
  align-items: center;
  padding: 15px 15px 15px 0;
  cursor: pointer;
}

.no-content .bd-sc-accordion-header {
  cursor: default;
}

.bd-sc-accordion-arrow {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  position: relative;
}

.bd-sc-accordion-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.bd-sc-accordion-item.active .bd-sc-accordion-arrow::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

.bd-sc-accordion-content {
  display: none;
  padding: 0 15px 15px 15px;
}

.bd-sc-accordion-item.active .bd-sc-accordion-content {
  display: block;
}

.lesson-title {
  flex-grow: 1;
}

.lesson-time {
  margin-left: auto;
  font-size: 0.9em;
  padding-left: 10px;
}

.lesson-topics,
.lesson-quizzes {
  margin: 10px 0;
  padding-left: 20px;
}

.topic-item,
.quiz-item {
  margin: 5px 0;
}

.bd-sc-accordion-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* learndash actions */

body .learndash-wrapper .learndash_mark_complete_button,
body .learndash-wrapper #learndash_mark_complete_button {
  border-radius: 3px !important;
}

body .learndash-wrapper .sfwd-mark-complete::after,
.learndash-wrapper #sfwd-mark-complete::after {
  display: none !important;
}

@media screen and (min-width: 769px) {
  body .learndash-wrapper .ld-content-actions-top.ld-content-actions .ld-content-action {
    flex-basis: auto;
    max-width: calc(100% - 10px);
  }
}

body .learndash-wrapper .ld-content-actions-top.ld-content-actions .ld-content-action {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body .ld-content-actions-top {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* learndash button */

.learndash-wrapper .ld-item-list .ld-section-heading .ld-item-list-actions .ld-expand-button,
.learndash-course-widget-wrap .learndash-wrapper .ld-button {
  border-radius: 3px !important;
}

/* woocommerce checkout progress bar */

.checkout-progress-bar {
  display: flex;
  justify-content: space-between;
  width: 80%;
  max-width: 80%;
  margin: 30px auto;
  position: relative;
  align-items: center;
}

.checkout-progress-bar::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: white;
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 30px;
  height: 30px;
  background-color: #f0c990;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: white !important;
}

.step-link {
  margin-top: 10px;
}

.step-label {
  font-size: 14px;
  color: white;
  margin-top: 10px;
}

.step-link .step-label {
  margin-top: 0;
}

.step.active .step-number {
  background: #d29e3a;
  color: white !important;
}

.step.active .step-label {
  color: #d29e3a;
  font-weight: bold;
}

.checkout-progress-bar-mobile {
  display: none;
}

@media (max-width: 767px) {
  .checkout-progress-bar {
    display: none;
  }

  .checkout-progress-bar-mobile {
    display: block;
    padding: 0 0 30px 0;
  }

  .mobile-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .step-circle {
    width: 50px;
    height: 50px;
    background-color: transparent;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
  }

  .step-info {
    width: auto;
    max-width: 100%;
    color: white;
  }

  .current-step {
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1.3;
  }

  .next-step-label {
    font-size: 0.9em;
    line-height: 1.3;
  }

  .next-step-name {
    font-weight: 500;
    line-height: 1.3;
  }
}

/* cart page table products */

.woocommerce-cart .woocommerce table.woocommerce-cart-form__contents {
  border: none !important;
  margin-top: 16px !important;
}

.woocommerce-cart .woocommerce table.woocommerce-cart-form__contents td {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  vertical-align: top !important;
}

.woocommerce-cart .woocommerce table.shop_table a.remove {
  color: white !important;
  font-size: 26px !important;
  background-color: transparent !important;
}

.woocommerce-cart table.cart img {
  width: 125px !important;
  height: 125px !important;
  border-radius: 3px;
}

.woocommerce-cart .woocommerce table.woocommerce-cart-form__contents td.product-thumbnail {
  width: 150px !important;
}

.woocommerce-cart .woocommerce table.woocommerce-cart-form__contents td.product-subtotal {
  vertical-align: middle !important;
  font-size: 22px;
}

.bernardins-product-subtotal-mobile {
  font-size: 22px;
}

.woocommerce-cart .woo-product-instructor {
  margin-bottom: 0px !important;
  margin-right: 0px !important;
  color: #d29e3a !important;
}

.woocommerce-cart .bernardins-product-name a {
  color: white !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

.woocommerce-cart .bernardins-single-product-lessons-count-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

@media screen and (max-width: 900px) {
  .woocommerce-cart .bernardins-single-product-lessons-count-container {
    display: block;
  }
  .bernardins-single-product-lessons-count-separator {
    display: none;
  }
}

.woocommerce-cart .woocommerce-cart-form__contents tr td::before {
  display: none !important;
}

.bernardins-product-subtotal-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  body.woocommerce-cart .woocommerce-cart-form__contents tr {
    display: table-row !important;
  }
  body.woocommerce-cart .woocommerce-cart-form__contents tr td {
    display: table-cell !important;
    text-align: left !important;
  }

  .woocommerce-cart .woocommerce table.woocommerce-cart-form__contents td.product-thumbnail {
    width: 80px !important;
    display: table-cell !important;
  }

  .woocommerce-cart table.cart img {
    width: 60px !important;
    height: 60px !important;
  }

  body.woocommerce-cart .cart-collaterals-container .rg-has-border {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__contents tr td.product-subtotal {
    display: none !important;
  }

  .bernardins-product-subtotal-mobile {
    display: block !important;
    margin-top: 12px;
  }
}

@media screen and (min-width: 500px) and (max-width: 768px) {
  .woocommerce-cart .woocommerce table.woocommerce-cart-form__contents td.product-thumbnail {
    width: 150px !important;
  }

  .woocommerce-cart table.cart img {
    width: 120px !important;
    height: 120px !important;
  }
}

/* checkout page */

.woocommerce-checkout footer {
  display: none !important;
}

.woocommerce-account .rg-my-account-content-wrapper > .woocommerce-MyAccount-content {
  width: calc(100% -340px) !important;
}

/* my account fix bug */

@media screen and (max-width: 991px) {
  .rg-my-account-content-wrapper {
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
  }
}

@media screen and (max-width: 991px) {
  .woocommerce-account .rg-my-account-content-wrapper.woo_myaccount_layout1 .woocommerce-MyAccount-navigation-wrapper,
  .woocommerce-account .rg-my-account-content-wrapper.woo_myaccount_layout2 .woocommerce-MyAccount-navigation-wrapper {
    min-width: 230px !important;
    float: none !important;
    width: 100% !important;
    padding-right: 0 !important;
    margin: 0 0 30px !important;
    border-right: 0 !important;
  }
}

@media screen and (max-width: 991px) {
  .woocommerce-account .woocommerce .rg-my-account-content-wrapper .woocommerce-MyAccount-content {
    width: 100% !important;
    padding: 0 !important;
    border-left: 0 !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 640px) {
  .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview .ld-item-details {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview .ld-item-details a,
  .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview .ld-item-details div {
    margin-left: 0 !important;
  }

  #page .ld-item-details .btn-join {
    display: inline-block;
    width: auto;
    font-size: 12px;
  }
}

/* checkout page */

#wc-stripe-upe-form {
  border-bottom: none !important;
}

/* formation a la une */

.e-product-related .elementor-widget-wrap {
  padding: 0 0 16px 0 !important;
  border: 1px solid white;
  border-radius: 5px;
}

.e-product-related .elementor-widget-wrap > .elementor-element {
  margin-bottom: 0 !important;
}

.e-product-related .elementor-widget-image a {
  width: 100%;
  display: block;
}

.e-product-related .elementor-widget-wrap img {
  border-top-left-radius: 5px !important;
  border-top-right-radius: 5px !important;
  margin-bottom: 16px !important;
  display: block;
  width: 100%;
}

.e-product-related-title {
  text-align: left !important;
  margin: 0 0 14px 0 !important;
  font-size: 25px !important;
  line-height: 28px !important;
  font-family: "Roboto", sans-serif;
  padding-left: 15px;
  padding-right: 15px;
}

.e-product-related .woo-product-instructor {
  margin-bottom: 0 !important;
  margin-right: 0 !important;
  padding-left: 15px;
  padding-right: 15px;
}

.e-product-related .woo-product-instructor-name {
  color: #d29e3a !important;
  margin-bottom: 5px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 17px !important;
}

.e-product-related .bernardins-loop-cat-price-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.e-product-related .elementor-widget-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.e-product-related .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
}

.e-product-related .swiper-initialized .elementor-container {
  height: 100%;
}

.e-product-related .bernardins-loop-cat-price-container,
.e-product-related .bernardins-loop-lessons-time-container,
.e-product-related .bernardins-rating-bloc,
.e-product-related .bernardins-single-product-students-count {
  padding-left: 15px;
  padding-right: 15px;
  color: white !important;
  font-size: 13px !important;
  line-height: 17px !important;
  margin-bottom: 4px;
}

.e-product-related .bernardins-single-product-price {
  margin-left: 10px;
}

.e-product-related .elementor-heading-title {
  margin-bottom: 14px !important;
}

.e-product-related .bernardins-loop-lessons-time-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

#scrollUp::after {
  color: white !important;
  font-size: 22px !important;
}

.site-content {
  min-height: 100% !important;
  min-height: unset !important;
}

/* learn dash  btn */

.learndash-wrapper .ld-status {
  border-radius: 3px !important;
}

.index-courses-extra-sidebar-container .widget-title {
  font-size: 25px !important;
  line-height: 28px !important;
}

.bernardins-score {
  margin-left: 20px;
}

.related.products h2 {
  font-size: 30px;
  line-height: 34px;
}

.related.products .loop-product-images {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* woo mobile sidebar */

.woocommerce-mobile-sidebar-container {
  display: none;
}

.woocommerce-mobile-sidebar-container .bernardins-product-course-widget-button {
  display: none !important;
}

@media (max-width: 767px) {
  .woocommerce-mobile-sidebar-container {
    display: block;
  }

  .woocommerce-mobile-sidebar-container .widget.widget-product-course {
    margin-top: 0;
    margin-bottom: 32px;
    border: 1px solid white;
    border-radius: 10px;
    padding: 1.5em !important;
  }
}

/* learndash */

.learndash-course-widget-wrap .ld-button,
.learndash-course-widget-wrap .ld-course-status-action .btn-join,
.learndash-course-widget-wrap .ld-course-status-action a {
  background-color: #d19d3a !important;
  border-color: #d19d3a !important;
  color: white !important;
  border-radius: 3px !important;
}

.learndash-course-widget-wrap .ld-button:hover,
.learndash-course-widget-wrap .ld-course-status-action .btn-join:hover,
.learndash-course-widget-wrap .ld-course-status-action a:hover {
  background-color: #d19d3a !important;
  border-color: #d19d3a !important;
}

/* woocommerce loop */

#bernardins-woo-filter-results > ul > li a > div.loop-product-images {
  padding: 0 !important;
  position: relative;
}

.loop-product-images {
  margin-bottom: 16px !important;
}

.loop-product-images .primary-img {
  padding: 0;
}

.loop-product-images .secondary-img {
  padding: 0;
}

.loop-product-images .secondary-img img {
  padding: 0;
}

#bernardins-woo-filter-results > ul > li .attachment-woocommerce_thumbnail {
  margin-bottom: 0 !important;
}

.secondary-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.loop-product-images.has-hover-image:hover .secondary-img {
  opacity: 1;
}

.loop-product-images.has-hover-image:hover .primary-img {
  opacity: 0;
}

#bernardins-woo-filter-results > ul > li a > div.rg-product-images {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-placeholder {
  border: none !important;
  border-top-left-radius: 3px !important;
  border-top-right-radius: 3px !important;
}

.bd-rating-title {
  font-size: 26px !important;
}

.search-results .content-wrapper .entry-header h2 a {
  font-size: 26px !important;
  line-height: 30px !important;
}

iframe {
  border: 0 !important;
  border: none !important;
}

.checkout .shop_table.woocommerce-checkout-review-order-table {
  border-bottom: none !important;
}

.checkout .shop_table.woocommerce-checkout-review-order-table tbody tr:last-child .product-name {
  border-bottom-left-radius: 6px !important;
}
.checkout .shop_table.woocommerce-checkout-review-order-table tbody tr:last-child .product-total {
  border-bottom-right-radius: 6px !important;
}

.lm-course-author-info-tab .lm-author-description {
  text-align: left !important;
}

.index-courses-extra-sidebar-container-mobile .widget-title {
  font-size: 22px !important;
}

@media screen and (max-width: 959px) {
  #scrollUp {
    display: none !important;
  }
}

.home .site-content {
  padding-top: 0 !important;
}

.woocommerce-Tabs-panel.entry-content h2, .ld-tab-content h2 {
  font-size: 24px !important;
  line-height: 28px !important;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment{
  background-color: transparent!important;
}

.woocommerce-account #wc-stripe-upe-form{
  border:none!important;
}