/*
 Theme Name:   Educal Child
 Theme URI:    https://bdevs.net/wp/educal-child/
 Description:  Educal Child Theme
 Author:       Aurelien
 Author URI:   https://themeforest.net/user/theme_pure/portfolio
 Template:     educal
 Version:      1.0.0
*/

@import url("../educal/style.css");

/* Ici, vous pouvez ajouter des styles personnalisés pour le thème enfant */

.elementor-price-table-container {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Espace entre les éléments */
}

.elementor-price-table-container .elementor-price-table {
    flex: 1;
    min-width: 0; /* Empêche les éléments de dépasser le conteneur */
}

@media (max-width: 768px) {
    .elementor-price-table-container {
        flex-direction: column;
    }
}

.elementor-price-table {
    height: 100%;
}

    .box.selected {
        background-color: #2b4eff; /* Couleur de fond au survol */
        color: #ffffff; /* Changer la couleur du texte au survol */
        border: 1px solid #012c59;
    }
    .box {
    background-color: #f3f3f3ff; /* Couleur de fond par défaut */
    padding: 0.1em; /* Espace intérieur */
    padding-right: 0.5em;
    border: 1px solid #f2dfdf; /* Bordure */
    transition: background-color 0.3s ease; /* Transition douce */
    text-align: center; /* Centrer le texte */
    border-radius: 10px; /* Arrondir les coins */
    height: 2em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-right: 1em;
    margin-left: 1em;
    font-size: 0.9em;
}

    .box:hover {
        background-color: #2b4eff; /* Couleur de fond au survol */
        color: #ffffff; /* Changer la couleur du texte au survol */
        border: 1px solid #012c59;
        cursor: pointer;
    }

    .price__features ul li {
        font-size: 13px;
        font-weight: normal;
        font-family: "Hind", sans-serif;
        line-height: 1.5;
        color: var(--e-global-color-primary);
        text-align: left;
    }
    .price__features ul li:hover i { background-color: #30a820}.price__features ul li:hover, .price__features ul li i, .about__list ul li i, .price__features ul li:hover, .price__features ul li i, .about__list ul li i, .events__allow ul li i { color: #30a820}asdf { border-color: #30a820}
.asf { background-color: #ffb352}.slider__content > span { color: #ffb352}asdf { border-color: #ffb352}


    .elementor-price-table-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.elementor-price-table {
    background-color:#faeeeeff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 250px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.elementor-price-table:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.elementor-price-table__header {
    background-color:#faeeeeff;
    color: var(--e-global-color-primary);
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0;
}

.elementor-price-table__heading {
    font-size: 18px;
    margin: 0 0 10px;
    font-family: "Hind", sans-serif;
    font-weight: 400;
}

.elementor-price-table__subheading {
    font-size: 14px;
    font-weight: normal;
    font-family: "Hind", sans-serif;
}

.elementor-price-table__price {
    padding: 20px;
    font-weight: bold;
    color: #333333;
    background-color:#faeeeeff;
}

.elementor-price-table__currency {
    font-size: 20px;
    position: relative;
    top: -10px;
}

.elementor-price-table__integer-part {
    font-size: 48px;
    line-height: 1;
}

.elementor-price-table__fractional-part {
    font-size: 20px;
    position: relative;
    top: -20px;
}

.elementor-price-table__period {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #888888;
}

.elementor-price-table__features-list {
    list-style-type: none;
    padding: 1em;
    margin: 0;
    border-top: 1px solid #e0e0e0;
    background-color:#faeeeeff;
}

.elementor-price-table__feature-inner {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-price-table__feature-inner i {
    margin-right: 10px;
    color: #4CAF50;
}

.elementor-price-table__footer {
    padding: 20px;
    background-color:#f3f3f3ff;
}

.elementor-price-table__button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2b4eff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.elementor-price-table__button:hover {
    background-color: #021fb4ff;
}

.elementor-price-table__additional_info {
    margin-top: 10px;
    font-size: 12px;
    color: #888888;
}

.elementor-price-table__ribbon {
    position: absolute;
    top: 20px;
    right: -40px;
    transform: rotate(45deg);
    width: 150px;
    overflow: hidden;
    height: 30px;
}

.elementor-price-table__ribbon-inner {
    text-align: center;
    left: 0;
    width: 200%;
    transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
    margin-top: 35px;
    font-size: 12px;
    line-height: 2;
    font-weight: 800;
    text-transform: uppercase;
    background: #3fab50;
    color: #ffffff;
}

@media (max-width: 768px) {
    .elementor-price-table {
        flex: 1 1 100%;
    }
}

.woo-category-select-container {
    max-width: 100%; /* Augmenter la largeur maximale */
    margin: 0 auto;
}

.woo-category-radio-group {
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne */
    gap: 15px;
    justify-content: space-between; /* Répartit les éléments uniformément */
}

.woo-category-radio-wrapper {
    flex-basis: calc(25% - 15px); /* 25% pour 4 éléments par ligne, moins l'espace entre eux */
    max-width: calc(25% - 15px);
    box-sizing: border-box;
    /* Autres styles existants... */
}

@media (max-width: 1200px) {
    .woo-category-radio-wrapper {
        flex-basis: calc(33.333% - 15px); /* 3 éléments par ligne sur les écrans moyens */
        max-width: calc(33.333% - 15px);
    }
}

@media (max-width: 768px) {
    .woo-category-radio-wrapper {
        flex-basis: calc(50% - 15px); /* 2 éléments par ligne sur les petits écrans */
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 480px) {
    .woo-category-radio-wrapper {
        flex-basis: 100%; /* 1 élément par ligne sur les très petits écrans */
        max-width: 100%;
    }
}

.woo-category-radio-button {
    flex-grow: 1;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.woo-category-radio-label {
    margin-left: 10px;
    margin-right: 10px;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer; /* Ajout de cette ligne */
}

.woo-category-select-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.woo-category-select-button:hover {
    background-color: #45a049;
}

.woo-category-radio-input:checked + .woo-category-radio-label {
    font-weight: bold;
}

.woo-category-radio-wrapper:has(.woo-category-radio-input:checked) {
    border-color: #4CAF50;
    background-color: #e8f5e9;
}

/* Ajout de cette nouvelle règle */
.woo-category-radio-wrapper label {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Conteneur principal */
.custom-tabs {
    font-family: 'Hind', sans-serif; /* Police utilisée par le thème Educal */
    width: 100%;
    margin-bottom: 3rem;
}

/* Navigation des onglets */
.custom-tabs-nav {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.custom-tabs-nav li {
    padding: 15px 25px;
    cursor: pointer;
    margin-right: 5px;
    background-color: #edeef3;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-tabs-nav li:hover {
    background-color: #df0b77;
    color: #ffffff;
}

.custom-tabs-nav li.is-active {
    background-color: #df0b77; /* Couleur bleue pour l'onglet actif */
    color: #ffffff;
    border-bottom: 2px solid #df0b77;
    font-weight: 600;
}

/* Contenu des onglets */
.custom-tabs-content {
    background-color: #ffffff;
    margin-top: 1.5em; /* Pour aligner le contenu avec les onglets */
    margin-left : 0.5em;
    margin-right : 0.5em;
    text-align: justify;
}

.custom-tab-item {
    display: none;
}

.custom-tab-item.is-active {
    display: block;
}

/* Titres dans le contenu des onglets */
.custom-tab-item h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

/* Ajustements pour les paragraphes */
.custom-tab-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Styles supplémentaires si nécessaire */
.custom-tab-item ul {
    list-style-type: disc;
    margin-left: 20px;
}

.custom-tab-item ul li {
    margin-bottom: 10px;
}

.course-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
  }
  
  .course-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
  }
  
  .course-number {
    background-color: #fff;
    border: 1px solid #ddd;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }
  
  .course-content {
    display: flex;
    gap: 15px;
    flex: 1;
  }
  
  .course-card {
    background-color: #4a4a4a;
    width: 100px;
    height: 80px;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
  }
  
  .delf-badge {
    color: white;
    font-weight: bold;
    font-size: 14px;
  }
  
  .lock-icon {
    color: white;
    align-self: flex-end;
  }
  
  .course-info {
    flex: 1;
  }
  
  .course-info h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
  }
  
  .mandatory-text {
    color: #ff4444;
    font-size: 14px;
    margin: 5px 0 0 0;
  }

  /* Style du titre principal */
.tutor-course-details-widget-title {
    margin-bottom: 16px;  /* Vient de tutor-mb-16 */
    color: var(--tutor-body-color);  /* Vient de tutor-color-black */
}

/* Taille de police */
.tutor-fs-5 {
    font-size: 24px;  /* Basé sur l'échelle typographique tutor */
    line-height: 142%;  /* Proportionnel à la taille de police */
}

/* Graisse de la police */
.tutor-fw-bold {
    font-weight: 700;  /* Poids de police gras */
}

/* Marge bas */
.tutor-mb-16 {
    margin-bottom: 16px;
}

/* Variables nécessaires */
:root {
    --tutor-body-color: #212327;
}

.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list li {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    font-size: 1.2rem;
}

.custom-list li svg {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 10px;
    fill: #2b4eff; /* Couleur de l'icône */
}

.spccontainer {
    width: 90%; /* Largeur ajustée pour s'adapter aux écrans étroits */
    margin: 0 auto; /* Centrer la div */
    padding: 20px;
    text-align: center;
    box-sizing: border-box; /* Inclure le padding dans les dimensions */
}

.spccontainer::after {
    content: '';
    display: block;
    height: 2px; /* Épaisseur de la bordure */
    width: 60%; /* Largeur de la bordure (40% d'espace blanc total) */
    margin: 0 auto; /* Centrer la bordure */
    background-color: #cccccc; /* Couleur de la bordure */
    margin-top: 10px; /* Espace entre le contenu et la bordure */
}

/* Layout */
.course-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  
.course-card {
    flex: 1;
    max-width: 20%;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Category Badge */
.category-badge {
    background-color: #6c63ff;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 5px;
    z-index: 10;
}

/* Course Image */
.course-image-wrapper {
    display: block;
    position: relative;
    width: 250px;
    height: 150px;
    overflow: hidden;
    text-align: center;
}

.course-image {
    max-width: 100%;
    height: auto;
}

/* Course Content */
    .course-content {
    padding: 15px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #757575;
    margin-bottom: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.star-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    color: #FFC107;
}

.course-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px;
}

/* Review Section */
.review-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-bottom: 1rem;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: bold;
    color: #2a2a2a;
}

.user-review {
    font-size: 12px;
    color: #6c757d;
}

.star-rating {
    display: flex;
    gap: 2px;
}

/* Spacing */
.section-title {
    margin-bottom: 1.5rem;
}

.mt-lg {
    margin-top: 3rem;
}

/* Additional utility classes */
.spc {
    margin: 1rem 0;
}

/* Remplacer .woocommerce par .woocommerce.columns-4 pour cibler uniquement la grille de produits */
.woocommerce.columns-4 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.woocommerce.columns-4 .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 -15px;
}

/* Changer également les sélecteurs pour les colonnes */
.woocommerce.columns-4 .col-xxl-4 {
    width: 33.333333%;
    padding: 15px;
    box-sizing: border-box;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce.columns-4 .col-xxl-4 {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .woocommerce.columns-4 .col-xxl-4 {
        width: 100%;
    }
}

/* Style des cartes produits */
.woocommerce.columns-4 .course__item {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.woocommerce.columns-4 .course__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.woocommerce.columns-4 .course__meta {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



.product__box {
  max-width: 280px; /* ou la largeur souhaitée */
  padding: 5px;
}

.pro-text {
  width: 100%;
}

.pro-title h6 {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  width: 100%;
}

.single_add_to_cart_button {
	margin-top: 2em;
}

.home .header__white .main-menu ul li a {
    color: black !important;
}

.home .header__white.sticky .main-menu ul li a {
    color: black !important;
}



.pipeline-fields.hidden {
    display: none !important;
}

.page__title-height {
	padding-top: 8rem !important;
	padding-bottom: 1rem !important;
}

.main-container {
	padding-top: 2rem !important;
}