/***********************
    GLOBALS
***********************/
body {
    --primary: var(--e-global-color-primary);
    --secondary: var(--e-global-color-secondary);
    --text-color: var(--e-global-color-text);
    --accent-color: var(--e-global-color-accent);
    --text-font: var(--e-global-typography-primary-font-family);
    --title-font: var(--e-global-typography-secondary-font-family);
    --accent-font: var(--e-global-typography-accent-font-family);
    --cookies-text-color: white;
    --coral-bg: var(--e-global-color-548f2d6);
    --coral-text: var(--e-global-color-86aef06);
    --turquoise-bg: var(--e-global-color-a090304);
    --turquoise-text: var(--e-global-color-48f6e2a);
    --pink-bg: var(--e-global-color-2de7538);
    --pink-text: var(--e-global-color-677bba0);    
    --purple-bg: var(--e-global-color-7ab7c42);
    --purple-text: var(--e-global-color-71d4d25);
    --yellow-flash: var(--e-global-color-790f729);
    --black-txt: var(--e-global-color-6fe9f74);
}
body:not(.elementor-editor-active) .animate-text .elementor-heading-title {
    opacity: 0;
}

.elementor-button-link,
.elementor-button {
    font-family: var(--accent-font) !important;
    font-weight: 500;
}
h1,
.title-xl .elementor-heading-title {
    font-family: var(--title-font);
    font-size: clamp(35px, 10px + 3vw, 57px);
    line-height: 1.1;
}
.title-lg .elementor-heading-title {
    font-family: var(--title-font);
    font-size: 31px;
    line-height: 1.5;
    /* @media screen and (max-width: 1024px) {
        font-size: 28px;
    }
    @media screen and (max-width: 767px) {
        font-size: 25px;
    } */
}

.subtitle .elementor-heading-title {
    font-family: var(--text-font);
    font-size: 14px;
    line-height: 1.2;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}
.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}
.elementor-widget-text-editor li:last-child {
    margin-bottom: 0.7rem;
}
.elementor-post__read-more {
    font-weight: 600 !important;
}

/* Commentaires */
#comments .title-comments {
    display: none;
}
.commentrating .fa {
    font-size: 16px;
    margin: 0 5px;
    color: #ffcc00;
}
.comment-form-url {
    display: none;
}

/***********************
    AVIS
***********************/
/* .front-page-avis-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-top: 20px;
}
.meo-avis {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: white;
}
.meo-avis-author {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 35px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
.meo-avis-date {
    color: black;
    font-family: var(--e-global-typography-secondary-font-family);
    font-weight: 600;
}
.meo-avis-rating i {
    color: #ffcc00;
    margin: 0 10px;
    font-size: 23px;
}
.meo-avis-content {
    color: black;
    text-align: center;
}
@media screen and (max-width: 1024px) {
    .meo-avis-author {
        font-size: 25px;
    }
}
@media screen and (max-width: 767px) {
    .meo-avis-content {
        grid-template-columns: 1fr;
    }
} */

/***********************
    TABLEAUX
***********************/
tr,
td {
    background-color: transparent !important;
}
.horaires tr,
.horaires td {
    padding: 0 !important;
    border: none !important;
    line-height: 2.2;
}
.horaires-line {
    display: grid;
    grid-template-columns: 1fr 2fr;
}
@media screen and (min-width: 1024px) {
    .horaires-hour {
        justify-self: end;
    }
}
/***********************
    HOME NEWSLETTER
***********************/
/*
.home-newsletter form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.home-newsletter form p {
    flex-grow: 1;
    margin: 0;
    position: relative;
}
.home-newsletter .meo-newsletter-input,
.home-newsletter .meo-newsletter-submit {
    height: 45px;
    padding-left: 25px;
    font-family: var(--e-global-typography-primary-font-family);
    border-radius: 0;
    border: none;
}
.home-newsletter .meo-newsletter-input::placeholder {
    color: black;
    opacity: 0.5;
    font-family: var(--e-global-typography-primary-font-family);
    font-style: italic;
}
.home-newsletter .meo-newsletter-submit {
    background-color: var(--e-global-color-secondary) !important;
    color: white !important;
    text-transform: uppercase;
    padding-right: 25px !important;
    padding-left: 25px !important;
}*/
/***********************
    SITEMAP
***********************/
.wsp-container h2 {
    margin-top: 20px;
    /* color: var(--secondary); */
}

.wsp-container li a,
.wsp-container strong {
    font-size: 1rem;
    color: var(--text-color);
    padding-left: 10px;
}
/* .wsp-container li a:hover {
    color: var(--secondary);
} */

.wsp-container li::marker {
    color: var(--text-color);
    font-family: "Font Awesome 5 Free";
    content: "\f15c";
    font-weight: 900;
}

/***********************
    COOKIES BAR
***********************/
#cookie-notice .cookie-notice-container {
    background-color: var(--primary);
    font-family: var(--text-font);
    color: var(--cookies-text-color);
}
#cookie-notice .cookie-notice-container .cn-button {
    background-color: transparent !important;
    border: 1px solid var(--cookies-text-color) !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: var(--text-font) !important;
}
#cookie-notice .cookie-notice-container .cn-button:hover {
    background-color: black !important;
    color: inherit;
}
#cookie-notice .cookie-notice-container a {
    color: inherit;
    font-weight: bold;
}
#cookie-notice .cookie-notice-container a:hover {
    color: black;
}

/***********************
    SMOOTH SCROLL
***********************/

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}
@media screen and (max-width: 767px) {
    /*Corrige les avis Google qui ne vont pas à la ligne*/
    .es-grid-layout {
        display: flex !important;
        flex-direction: column !important;
    }
}

/***********************
    Custom Color Class
***********************/
.coral-bg-txt{
    background-color: var(--coral-bg);
    color: var(--coral-text);
}

.turquoise-bg-txt{
    background-color: var(--turquoise-bg);
    color: var(--turquoise-text);
}

.pink-bg-txt{
    background-color: var(--pink-bg);
    color: var(--pink-text);
}

.purple-bg-txt{
    background-color: var(--purple-bg);
    color: var(--purple-text);
}

.white-bg-txt{
    background-color: #FFFFFFE6;
    color: #4A5565;
}

.span-gradient-coral-turquoise {
    background: -webkit-linear-gradient(360deg, #e85d43, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.span-gradient-coral-pink {
    background: -webkit-linear-gradient(360deg, #e85d43, #f6339a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.span-gradient-purple-turquoise {
    background: -webkit-linear-gradient(360deg, #ad46ff, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.span-gradient-purple-coral {
    background: -webkit-linear-gradient(360deg, #ad46ff, #e85d43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.yellow-flash-txt-border{
    color: var(--yellow-flash);
}

/***********************
    Custom Class
***********************/
.full-border-radius{
    border-radius: 100px;
}

.discipline-icon{
    width: 41px;
    height: 41px;
    justify-self: end;
    background-color: #FFFFFF33;
    padding: 10px;
    border-radius: 100px;

}

.discipline-icon i{
    color: #FFFFFF;
    font-size: 21px;
    width: 21px;
    height: 21px;
}

.hidden {
    display: none;
}

.discipline-loop-items:hover{
    cursor: pointer;
}

.discipline-loop-items.open{
    border: solid 4px var(--yellow-flash26);
}

.discipline-loop-items.open .discipline-background,
.discipline-loop-items.open .discipline-background::before
{
    border-radius: 16px 16px 0 0;
}

.discipline-loop-items.open .home-discipline-details{
    border-radius: 0 0 16px 16px;
}   

.discipline-loop-items.open .home-discipline-details {
    /* background-color: #fbf9fa; */
    background-color: #191919;
}

.essai-gratuit{
    color: var(--black-txt);
    font-size: 12px;
    font-weight: 500;
    background-color: var(--yellow-flash);
    border-radius: 100px;
    padding: 5px 10px;
    text-align: center;
    margin-top: 20px;
}
    
.discipline-background,
.service-background,
.actu-background,
.event-background {
    background-size: 100%;
    -webkit-transition: background-size 250ms linear;
    -moz-transition: background-size 250ms linear;
    -o-transition: background-size 250ms linear;
    -ms-transition: background-size 250ms linear;
    transition: background-size 250ms linear;
}

.discipline-loop-items:hover .discipline-background,
.service-items:hover .service-background,
.actu-items:hover .actu-background,
.event-loop-items:hover .event-background {
    background-size: 105%;
}


/***********************
    NewsLetter
***********************/
#newsletter-footer-form .meo-newsletter-paragraph{
    display: flex;
    justify-content: space-evenly;
}

#newsletter-footer-form .meo-newsletter-input{
    width: 60%;
    border: unset;
    border-radius: 15px;
    background-color: #ffffffe6;
    box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
}

#newsletter-footer-form .meo-newsletter-submit{
    background-image: none;
    background-color: #FFFFFF;
    color: #101828;
    border: unset;
    border-radius: 15px;
    padding: 0 20px;
    box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
}

#newsletter-footer-form .meo-newsletter-submit:hover{
    background-color: #ffffffe6;
}

#newsletter-footer-form .meo-newsletter-cbx-rgpd{
    display: flex;
    justify-content: center;
}

#newsletter-footer-form .lbl-rgpd,
#newsletter-footer-form .lbl-rgpd a{
    color: #FFFFFF;
    width: 70%;
    text-align: center;
    font-size: 15px;
}

#newsletter-footer-form .lbl-rgpd a{
    font-weight: 500;
}

@media screen and (max-width: 767px) {
    #newsletter-footer-form  .meo-newsletter-paragraph{
        flex-direction: column;
    }

    #newsletter-footer-form .meo-newsletter-input{
        width: 100%;
        margin-bottom: 10px;
    }

    #newsletter-footer-form .meo-newsletter-submit{
        padding: 5px 20px;
    }

    #newsletter-footer-form .lbl-rgpd{
        width: 100%;
    }
}


/***********************
    Disciplines Loop
***********************/
.horaire-discipline{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 12px;
    color: var(--black-txt);
}

.horaire-discipline .heures{
    font-weight: 500;
}

.horaire-discipline .level{
    border: solid 1px #0000001A;
    border-radius: 6px;
    padding: 0 10px;
}

.disciplines-loop .essai-gratuit{
    margin-top: 0;
    padding: 10px 20px;
}

.discipline-icon {
    display: flex;
    align-items: center;
    gap: 8px; /* espace entre icône et texte */
    flex-wrap: nowrap; /* empêche le retour à la ligne */
    width: auto; /* laisse le conteneur s’adapter au contenu */
}

.discipline-mention {
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
    white-space: nowrap; /* texte sur une seule ligne */
    overflow: visible; /* laisse le texte s’afficher */
    text-overflow: unset; /* pas de "..." */
}


/***********************
    Events Loop
***********************/
.ne-pas-rater{
    /* background-image: linear-gradient(90deg, #AD46FF, #F6339A); */
    background-color: var(--yellow-flash);
    color: #000000;
    border-radius: 100px;
    padding: 5px 10px;
    font-size: 12px;
}

.ne-pas-rater-border{
    border: solid 3px var(--yellow-flash);
}

.ne-pas-rater-border .event-background{
    border-radius: 17px 17px 0 0;
}

.event-categories .elementor-widget-container{
    display: flex;
    flex-direction: column;
    align-items: end;
}

.event-category{
    padding: 5px 10px;
    margin: 2px 0;
    border-radius: 100px;
    width: fit-content;
    font-size: 10px;
}

/***********************
    Professeur Loop
***********************/
.horaires-cours-profs{
    /* display: flex;
    flex-direction: row;
    justify-content: space-between; */
        display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: auto;
    font-size: 12px;
}

.horaires-cours-profs:first-child{
    padding-top: 10px;
}

.disciplines-profs{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    font-size: 12px;
    padding-top: 10px;
}

/* Ordre des filtres */
#profs_tax_filter_order .e-filter-item[data-filter="lundi"]{
    order: 1;
}

#profs_tax_filter_order .e-filter-item[data-filter="mardi"]{
    order: 2;
}

#profs_tax_filter_order .e-filter-item[data-filter="mercredi"]{
    order: 3;
}

#profs_tax_filter_order .e-filter-item[data-filter="jeudi"]{
    order: 4;
}

#profs_tax_filter_order .e-filter-item[data-filter="vendredi"]{
    order: 5;
}

#profs_tax_filter_order .e-filter-item[data-filter="samedi"]{
    order: 6;
}

#profs_tax_filter_order .e-filter-item[data-filter="dimanche"]{
    order: 7;
}