/* assets/styles.css */

/* ── TEC Calendar ───────────────────────────────────────────── */

/* border-radius: 0 sur tous les boutons TEC */
.tribe-events button,
.tribe-events .tribe-common-c-btn,
.tribe-events .tribe-common-c-btn-border,
.tribe-events .tribe-common-c-btn-border-small,
.tribe-events [class*="tribe-common-c-btn"] { border-radius: 0 !important; }

/* Variables globales — écrase les defaults TEC */
.tribe-events {
    --tec-font-family-sans-serif:                            'Afacad', sans-serif;

    --tec-color-accent-primary:                              #44A365;
    --tec-color-accent-primary-hover:                        #0A4030;
    --tec-color-accent-primary-active:                       #0A4030;
    --tec-color-accent-primary-background:                   rgba(68, 163, 101, 0.1);

    --tec-color-button-primary:                              #EBE1D7;
    --tec-color-button-primary-background:                   #0A4030;
    --tec-color-button-primary-hover:                        #EBE1D7;

    --tec-color-background-events-bar-submit-button:         #0A4030;
    --tec-color-background-events-bar-submit-button-hover:   #44A365;
    --tec-color-background-events-bar-submit-button-active:  #44A365;
    --tec-color-text-events-bar-submit-button:               #EBE1D7;
    --tec-color-text-events-bar-submit-button-hover:         #EBE1D7;
    --tec-color-text-events-bar-input:                       #0A4030;
    --tec-color-text-events-bar-input-placeholder:           rgba(10, 64, 48, 0.6);
    --tec-color-background-search-container:                 #EBE1D7;
    --tec-color-border-events-bar:                           #0A4030;
    --tec-color-icon-events-bar:                             #0A4030;
    --tec-color-icon-events-bar-hover:                       #44A365;

    --tec-color-text-primary:                                #0A4030;
    --tec-color-text-secondary:                              #0A4030;
    --tec-color-text-event-title:                            #0A4030;
    --tec-color-text-events-title:                           #0A4030;
    --tec-color-text-event-date:                             #0A4030;
    --tec-color-text-day-of-week-month:                      #0A4030;
    --tec-color-text-view-selector-list-item:                #0A4030;
    --tec-color-text-view-selector-list-item-hover:          #44A365;

    --tec-color-link-primary:                                #0A4030;
    --tec-color-link-accent:                                 #44A365;
    --tec-color-link-accent-hover:                           #0A4030;

    --tec-color-border-active:                               #44A365;
    --tec-color-border-active-month-grid-hover:              #44A365;
    --tec-color-border-hover:                                #44A365;

    --tec-color-icon-primary:                                #0A4030;
    --tec-color-icon-secondary:                              #44A365;
    --tec-color-icon-hover:                                  #44A365;

    --tec-color-background-tooltip:                          #EBE1D7;
    --tec-color-background-subscribe-list-item-hover:        #0A4030;
    --tec-color-background-view-selector-list-item-hover:    transparent;
}

/* Barre de navigation */
.tribe-events .tribe-events-c-top-bar {
    background-color: #257D63;
    border-radius: 0;
    padding: 0.5rem 1rem;
}
/* Texte/icônes clairs sur fond vert — pas couvert par variables */
.tribe-events .tribe-events-c-top-bar__datepicker,
.tribe-events .tribe-events-c-top-bar__today-button,
.tribe-events .tribe-events-c-nav__prev,
.tribe-events .tribe-events-c-nav__next,
.tribe-events .tribe-events-c-top-bar__datepicker-desktop,
.tribe-events .tribe-events-c-nav__today { color: #EBE1D7 !important; fill: #EBE1D7 !important; }
.tribe-events .tribe-events-c-top-bar__today-button,
.tribe-events .tribe-events-c-nav__today { background-color: transparent !important; border-color: #EBE1D7 !important; }
.tribe-events .tribe-events-c-top-bar__today-button:hover,
.tribe-events .tribe-events-c-nav__today:hover { background-color: #EBE1D7 !important; color: #0A4030 !important; border-color: #EBE1D7 !important; }
/* Flèches + datepicker SVG */
.tribe-events-header__top-bar .tribe-events-c-top-bar__nav-link--prev,
.tribe-events-header__top-bar .tribe-events-c-top-bar__nav-link--next,
.tribe-events-header__top-bar .tribe-events-c-top-bar__nav-link--prev svg,
.tribe-events-header__top-bar .tribe-events-c-top-bar__nav-link--next svg,
.tribe-events-header__top-bar .tribe-events-c-top-bar__nav-link--prev path,
.tribe-events-header__top-bar .tribe-events-c-top-bar__nav-link--next path,
.tribe-events-header__top-bar .tribe-events-c-top-bar__datepicker-button,
.tribe-events-header__top-bar .tribe-events-c-top-bar__datepicker-button svg,
.tribe-events-header__top-bar .tribe-events-c-top-bar__datepicker-button path,
.tribe-events-header__top-bar .tribe-events-c-top-bar__datepicker-button use { color: #EBE1D7 !important; fill: #EBE1D7 !important; stroke: #EBE1D7 !important; }

/* En-tête des jours (L M M J V S D) */
.tribe-events .tribe-events-calendar-month__header-column,
.tribe-events .tribe-events-calendar-month__header-column * {
    background-color: #EBE1D7;
    color: #0A4030 !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Cellules des jours */
.tribe-events .tribe-events-calendar-month__calendar-day { background-color: #fff; border-color: #EBE1D7; }
time.tribe-events-calendar-month__day-date-daynum { color: #257D63 !important; }
.tribe-events-calendar-month__day:has(.tribe-events-calendar-month__calendar-event) time.tribe-events-calendar-month__day-date-daynum { color: #0A4030 !important; }
.tribe-events .tribe-events-calendar-month__calendar-day--current .tribe-events-calendar-month__calendar-day-date { color: #44A365 !important; font-weight: 700; }

/* Événements — bordure gauche + titre */
.tribe-events .tribe-events-calendar-month__calendar-event-title-link {
    color: #0A4030 !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease;
    cursor: pointer;
}
.tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover {
    color: #44A365 !important;
    text-decoration: none !important;
}
.tribe-events .tribe-events-calendar-month__calendar-event:not(.tribe-events-calendar-month__multiday-event) { border-left: 3px solid #44A365; }

/* Bouton S'abonner */
.tribe-events .tribe-events-c-subscribe-dropdown__button {
    background-color: #0A4030 !important;
    color: #EBE1D7 !important;
    border-color: #0A4030 !important;
    border-radius: 0;
}

.tribe-events .tribe-events-c-subscribe-dropdown__button-text {
    text-transform: uppercase !important;
    font-family: 'Afacad', sans-serif !important;
}
.tribe-events .tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #44A365 !important;
    border-color: #44A365 !important;
    color: #EBE1D7 !important;
}
.tribe-events .tribe-events-c-subscribe-dropdown__button * { color: #EBE1D7 !important; }
.tribe-events .tribe-events-c-subscribe-dropdown__content,
.tribe-events .tribe-events-c-subscribe-dropdown__list,
.tribe-events .tribe-events-c-subscribe-dropdown__list-item,
.tribe-events .tribe-events-c-subscribe-dropdown__list-item-link {
    background-color: #EBE1D7 !important;
    border: none !important;
}
.tribe-events .tribe-events-c-subscribe-dropdown__content {
    border: none !important;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(10, 64, 48, 0.15);
}
.tribe-events .tribe-events-c-subscribe-dropdown__list-item-link:hover {
    background-color: #EBE1D7 !important;
    color: #44A365 !important;
}

/* Point mobile */
.tribe-events .tribe-events-calendar-month__calendar-day-cell--mobile .tribe-events-calendar-month__calendar-day-dot { background-color: #44A365 !important; }

/* ── TEC Calendar - Modal événement ────────────────────────── */
#tec-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 64, 48, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#tec-modal.tec-open { opacity: 1; }
#tec-modal-box {
    background: #EBE1D7;
    border-radius: 8px;
    padding: 0;
    max-width: 460px;
    width: 90%;
    position: relative;
    transform: translateY(16px);
    transition: transform 0.3s ease;
    overflow: hidden;
}
#tec-modal.tec-open #tec-modal-box { transform: translateY(0); }

/* Header vert foncé */
#tec-modal-box .tribe-events-calendar-month__calendar-event-tooltip-datetime {
    background-color: #0A4030;
    color: #EBE1D7;
    padding: 0.75rem 1.25rem;
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
#tec-modal-box .tribe-events-calendar-month__calendar-event-tooltip-datetime * {
    color: #EBE1D7 !important;
    fill: #EBE1D7 !important;
}

/* Corps */
#tec-modal-box .tribe-events-calendar-month__calendar-event-tooltip-title,
#tec-modal-box .tribe-events-calendar-month__calendar-event-tooltip-description {
    padding: 0.75rem 1.25rem;
}
#tec-modal-box .tribe-events-calendar-month__calendar-event-tooltip-title-link {
    color: #0A4030 !important;
    font-size: 1.1rem;
    font-weight: 700;
    pointer-events: none;
}
#tec-modal-box .tribe-events-calendar-month__calendar-event-tooltip-description {
    color: #0A4030;
    font-size: 0.9rem;
    line-height: 1.6;
    padding-top: 0;
    padding-bottom: 1.25rem;
}

/* Bouton fermer */
#tec-modal-close {
    position: absolute;
    top: 0.6rem;
    right: 0.9rem;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    color: #EBE1D7;
    z-index: 1;
}
#tec-modal-close:hover { color: #44A365; }

body.tec-modal-active .tooltipster-base { display: none !important; }

/* ── TEC Tooltip (hover) ────────────────────────────────────── */
.tooltipster-base.tribe-events-tooltip-theme,
.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box,
.tooltipster-base.tribe-events-tooltip-theme .tooltipster-content {
    padding: 0 !important;
}
.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box {
    background: #EBE1D7;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 64, 48, 0.2);
}
.tooltipster-base .tribe-events-calendar-month__calendar-event-tooltip-datetime {
    background-color: #0A4030;
    color: #EBE1D7;
    padding: 0.6rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tooltipster-base .tribe-events-calendar-month__calendar-event-tooltip-datetime * {
    color: #EBE1D7 !important;
    fill: #EBE1D7 !important;
}
.tooltipster-base .tribe-events-calendar-month__calendar-event-tooltip-title {
    padding: 0.6rem 1rem 0.25rem;
}
.tooltipster-base .tribe-events-calendar-month__calendar-event-tooltip-title-link {
    color: #0A4030 !important;
    font-weight: 700;
}
.tooltipster-base .tribe-events-calendar-month__calendar-event-tooltip-description {
    color: #0A4030;
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 0 1rem 0.75rem;
}
/* Prevent Multiple Contact Form 7 Submissions */

.wpcf7-form.submitting .wpcf7-submit {
    pointer-events: none;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p, h1, h2, h3, h4, td, tr, li {
  text-wrap: pretty;
}


.no_margin_bt_last p:last-child {
  margin-bottom: 0 !important;
}

.light_green {
    color: #44A365 !important;
}

.avis_google .ti-widget.ti-goog.ti-custom-stars .ti-star:not(.e):not(.h) {
    background: #0A4030 !important;
}

.no_wrap {
    white-space: nowrap !important;
}

/* Bouton Menu */

.btn_menu .elementor-button-text {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn_menu .elementor-button:hover .elementor-button-text {
    transform: scale(1.25); /* zoom 20px → 25px */
}

.btn_menu.reservation .elementor-button:hover .elementor-button-text {
    transform: scale(1.1);
}


.bg_contain {
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}

.bg_cover {
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}



/* Popup Menu */

.dialog-widget-content:has(.menu_popup),
.dialog-message:has(.menu_popup) {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    overflow-x: hidden !important;
}

.dialog-widget-content:has(.menu_popup)::-webkit-scrollbar,
.dialog-message:has(.menu_popup)::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.popup_menu_left li {
    border-bottom: 1px solid #EBE1D7;
}

.popup_menu_left li:last-child {
    border-bottom: none;
}

.top_title_menu a {
  text-transform: uppercase;
  color: #44A365 !important;
}

.popup_menu_left.new ul.sub-menu {
    width: 350px !important;
}

@media only screen and (max-width : 1199px) {

    .popup_menu_left.new ul.sub-menu {
        width: 280px !important;
    }

}

@media only screen and (max-width : 767px) {

    .popup_menu_left.new ul.sub-menu {
        margin: 0 !important;
        width: 100% !important;    
    }

}



/************  Boxed Element In Fullwidth Section (with container) ********************/

:root {
    --padding: 20px;
    --container: 1780px;
    --scroll-bar-width-windows: 17px;
    --scroll-bar-width-mac: 15px;
    --cart-travel: 0px;
}

@media only screen and (min-width : 1890px) {

    .boxed_left {
        padding-left: calc( ( ( ( 100vw - var(--scroll-bar-width-windows) ) - var(--container) ) / 2 ) - var(--padding) ) !important;
    }

    .boxed_left_no_padding {
        padding-left: calc( ( ( ( 100vw - var(--scroll-bar-width-windows) ) - var(--container) ) / 2 ) ) !important;
    }

    .boxed_right {
        padding-right: calc( ( ( ( 100vw - var(--scroll-bar-width-windows)) - var(--container) ) / 2 ) - var(--padding) ) !important;
    }

    .boxed_right_no_padding {
        padding-right: calc( ( ( ( 100vw - var(--scroll-bar-width-windows)) - var(--container) ) / 2 ) ) !important;
    }

    body.mac .boxed_left {
        padding-left: calc( ( (  100vw - var(--container) ) / 2 ) - var(--padding) ) !important;
    }

    body.mac .boxed_left_no_padding {
        padding-left: calc( ( (  100vw - var(--container) ) / 2 ) ) !important;
    }

    body.mac .boxed_right {
        padding-right: calc( ( ( 100vw - var(--container) ) / 2 ) - var(--padding) ) !important;
    }

    body.mac .boxed_right_no_padding {
        padding-right: calc( ( ( 100vw - var(--container) ) / 2 ) ) !important;
    }

    body.mac.scrollbars-visible .boxed_left {
        padding-left: calc( ( ( ( 100vw - var(--scroll-bar-width-mac)  ) - var(--container) ) / 2 ) - var(--padding) ) !important;
    }

    body.mac.scrollbars-visible .boxed_left_no_padding {
        padding-left: calc( ( ( ( 100vw - var(--scroll-bar-width-mac)  ) - var(--container) ) / 2 ) ) !important;
    }

    body.mac.scrollbars-visible .boxed_right {
        padding-right: calc( ( ( ( 100vw - var(--scroll-bar-width-mac) ) - var(--container) ) / 2 ) - var(--padding) ) !important;
    }

    body.mac.scrollbars-visible .boxed_right_no_padding {
        padding-right: calc( ( ( ( 100vw - var(--scroll-bar-width-mac) ) - var(--container) ) / 2 ) ) !important;
    }
}





/* Hamburger → Croix (popup id 172) — icône SVG */

/* Fondu + rotation du SVG */
.hamburger svg,
.hamburger img {
    transition: opacity 0.25s ease, transform 0.35s ease;
}

.hamburger.hamburger--open svg,
.hamburger.hamburger--open img {
    opacity: 0;
    transform: rotate(90deg);
}

/* Croix CSS via pseudo-éléments */
.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background: #0A4030;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.35s ease;
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 10;
}

.hamburger.hamburger--open::before {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg);
}

.hamburger.hamburger--open::after {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 767px) {

  .hamburger::before,
  .hamburger::after {
      width: 25px;
  }

}

@media screen and (max-width: 423px) {

  .hamburger::before,
  .hamburger::after {
      width: 22px;
  }

}


/* Accueil */

.direction_maps svg {
    font-size: 33px !important;
}

.direction_maps:hover svg path {
    fill: #0A4030 !important;
}

.direction_maps span.elementor-button-content-wrapper {
    align-items: center !important;
}


@media screen and (max-width: 767px) {

    .direction_maps svg {
        font-size: 25px !important;
    }

}

/* Titre avec lignes décoratives */

.title_before_after h2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.title_before_after h2::before,
.title_before_after h2::after {
    content: '';
    width: clamp(30px, 10vw, 142px);
    height: 2px;
    background-color: #FFFCF8;
    flex-shrink: 0;
}

.title_before_after.dark h2::before,
.title_before_after.dark h2::after {
    background-color: #0A4030;
}

.title_before_after h2::before {
    margin-right: clamp(16px, 4vw, 70px);
}

.title_before_after h2::after {
    margin-left: clamp(16px, 4vw, 70px);
}

@media screen and (max-width: 1023px) {
    .title_before_after h2::before,
    .title_before_after h2::after {
        display: none;
    }
}

/* Section background fixe */

.fixed_banner {
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center 30% !important;
}


/*Galerie photos*/

.galerie_photos_slider > div {
    margin-right: -300px;
}

@media screen and (max-width: 1200px) {

    .galerie_photos_slider > div {
        margin-right: -250px;
    }
}

.galerie_photos_slider .swiper-pagination-bullet,
.a_propos_slider .swiper-pagination-bullet  {
    opacity: 1 !important;
}

.galerie_photos_slider .swiper-pagination-bullet-active,
.a_propos_slider .swiper-pagination-bullet-active  {
    background-color: #44A365 !important;
}

@media screen and (max-width: 423px) {

    .galerie_photos_slider > div {
        margin-right: 15px;
    }
}

/* A propos slider */

.a_propos_slider .swiper-pagination-bullets {
    opacity: 1 !important;
    background-color: #EBE1D7;
    padding: 20px 50px;
    border-radius: 13px 13px 0 0;
}

@media screen and (max-width: 1200px) {

    .a_propos_slider .swiper-pagination-bullets {
        padding: 15px 35px;
    }

}


/* Form */

.form_contact input[type=file] {
    border-radius: 0 !important;
}

@media screen and (max-width: 767px) {

    .form_contact .elementor-field-type-upload,
    .form_contact .elementor-column.elementor-field-type-submit  {
        width: 100%;
    }
}


/* Aperçu des trous */

.trou_label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);  /* lit de bas en haut */
  white-space: nowrap;
}


/* Tableau des trous */

.table_trous {
    background-color: #FFFCF8;
    border-radius: 20px;
}

.table_trous table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
    border-radius: 17px;
    overflow: hidden;
    border: none !important;
}

.table_trous tbody tr:last-child td:first-child {
    border-radius: 0 0 0 17px;
}

.table_trous tbody tr:last-child td:last-child {
    border-radius: 0 0 17px 0;
}

.table_trous thead th {
    background-color: #0A4030;
    color: #FFFCF8;
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: left;
    padding: 5px 28px;
}

.table_trous thead th:first-child {
    border-radius: 17px 0 0 17px;
}

.table_trous thead th:last-child {
    border-radius: 0 17px 17px 0;
}

.table_trous thead th,
.table_trous tbody td  {
    border: 0 !important;
}

.table_trous tbody tr:nth-child(odd) td {
    background-color: #F5F5F5;
}

.table_trous tbody tr:nth-child(even) td {
    background-color: #FFFCF8;
}

.table_trous tbody td {
    color: #0A4030;
    font-size: 20px;
    padding: 5px 28px;
}



@media screen and (max-width: 1199px) {

    .table_trous thead th {
        font-size: 22px;
        padding: 5px 20px;
    }

    .table_trous tbody td {
        font-size: 18px;
        padding: 5px 20px;
    }

}

@media screen and (max-width: 767px) {
    .table_trous {
        overflow-x: auto;
    }
    .table_trous table {
        min-width: 600px;
    }

    .table_trous thead th {
        font-size: 18px;
        padding: 12px 15px;
    }

    .table_trous tbody td {
        font-size: 16px;
        padding: 10px 15px;
    }
}

/* Animation voiture de golf */

.container_voiture {
    position: relative;
}

/*.voiture {
    position: absolute;
    bottom: 0;
    left: 0;
}*/

.voiture svg {
   width : 192px;
   height: 142px;
}

@media screen and (max-width: 1439px) {

    .voiture svg {
        width : 160px;
        height: 118px;
    }

}

@media screen and (max-width: 1023px) {

    .voiture svg {
        width : 120px;
        height: 89px;
    }

}

@media screen and (max-width: 767px) {

    .voiture svg {
        width : 90px;
        height: 66px;
    }

}

@media screen and (max-width: 423px) {

    .voiture svg {
        width : 70px;
        height: 52px;
    }

}

.voiture svg .roue_gauche,
.voiture svg .roue_droite {
    transform-box: fill-box;
    transform-origin: center;
    animation: wheel-spin 0.6s linear infinite;
    animation-play-state: paused;
}

.voiture.cart-driving svg .roue_gauche,
.voiture.cart-driving svg .roue_droite {
    animation-play-state: running;
}

@keyframes wheel-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Équipe — blocs blancs égaux par rangée (hauteur gérée par JS) */


.loop_all_team.direction .team_white_bloc {
    background-color: #EBE1D7 !important;
}


.loop_all_team .team_white_bloc {
    box-sizing: border-box;
}

@media screen and (max-width: 767px) {

    .loop_all_team .team_white_bloc {
        height: auto !important;
    }
}

/* Tableau abonnements - Académie */

.table_abonnement table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none !important;
}

.table_abonnement thead th,
.table_abonnement tbody td {
    border: none !important;
    vertical-align: middle;
}

.table_abonnement thead tr:first-child th.vide {
    background: transparent;
}

.table_abonnement thead tr:first-child th[colspan] {
    background-color: #257D63;
    color: #FFFCF8;
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    padding: 8px 28px;
    border-radius: 17px 17px 0 0;
    border-bottom: 3px solid #fff !important;
}

.table_abonnement thead tr:last-child th {
    background-color: #257D63;
    color: #FFFCF8;
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    padding: 7px 28px;
    line-height: 1.1;
}

.table_abonnement thead tr:last-child th:first-child {
    border-radius: 17px 0 0 17px;
    text-align: left;
}

.table_abonnement thead tr:last-child th:last-child {
    border-radius: 0 17px 17px 0;
}

.table_abonnement thead tr:last-child th:not(:last-child) {
    border-right: 5px solid #fff !important;
}

.table_abonnement tbody td:not(:last-child) {
    border-right: 5px solid #fff !important;
}

.table_abonnement tbody tr:not(:last-child) td {
    border-bottom: 5px solid #fff !important;
}

.table_abonnement tbody tr:nth-child(odd) td {
    background-color: #ffffff;
}

.table_abonnement tbody tr:nth-child(even) td {
    background-color: #F5F5F5;
}

.table_abonnement tbody td {
    color: #0A4030;
    padding: 33px 28px;
    text-align: center;
    line-height: 1.3;
}

.table_abonnement tbody td:first-child,
.table_abonnement thead tr:last-child th:first-child {
    text-align: left;
}

.table_abonnement tbody tr:last-child td:first-child {
    border-radius: 0 0 0 17px;
}

.table_abonnement tbody tr:last-child td:last-child {
    border-radius: 0 0 17px 0;
}

@media screen and (max-width: 1199px) {

    .table_abonnement thead tr:last-child th,
    .table_abonnement thead tr:first-child th[colspan] {
        font-size: 22px;
        padding: 5px 20px;
    }

    .table_abonnement tbody td {
        font-size: 18px;
        padding: 5px 20px;
    }

}

@media screen and (max-width: 840px) {
    .table_abonnement {
        overflow-x: auto;
    }
    .table_abonnement table {
        min-width: 650px;
    }

    .table_abonnement thead tr:last-child th,
    .table_abonnement thead tr:first-child th[colspan] {
        font-size: 18px;
        padding: 12px 15px;
    }

    .table_abonnement tbody td {
        font-size: 16px;
        padding: 10px 15px;
    }
}

/* Tableau cours - Académie */

.table_cours {
    background-color: #fff;
    border-radius: 20px;
}

.table_cours table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none !important;
}

.table_cours thead th,
.table_cours tbody td {
    border: none !important;
    vertical-align: middle;
}

.table_cours thead tr th {
    background-color: #257D63;
    color: #FFFCF8;
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    padding: 7px 28px;
    line-height: 1.1;
}

.table_cours thead tr th:first-child {
    border-radius: 17px 0 0 17px;
    text-align: left;
}

.table_cours thead tr th:last-child {
    border-radius: 0 17px 17px 0;
}

.table_cours thead tr th:not(:last-child) {
    border-right: 5px solid #fff !important;
}

.table_cours tbody td:not(:last-child) {
    border-right: 5px solid #fff !important;
}

.table_cours tbody tr:not(:last-child) td {
    border-bottom: 5px solid #fff !important;
}

.table_cours tbody td {
    background-color: #F5F5F5 !important;
}

.table_cours tbody td.white {
    background-color: #fff !important;
}

.table_cours tbody td {
    color: #0A4030;
    padding: 20px 28px;
    text-align: center;
    line-height: 1.3;
}

.table_cours tbody td:first-child {
    text-align: left;
}

.table_cours tbody td.center {
    text-align: center !important;
}

.table_cours tbody tr.slim td {
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
}

.table_cours tbody tr:last-child td:first-child {
    border-radius: 0 0 0 17px;
}

.table_cours tbody td.radius-bl {
    border-radius: 0 0 0 17px;
}

.table_cours tbody tr:last-child td.no-radius-bl {
    border-radius: 0;
}

.table_cours tbody tr:last-child td:last-child {
    border-radius: 0 0 17px 0;
}

@media screen and (max-width: 1199px) {

    .table_cours thead tr th {
        font-size: 22px;
        padding: 5px 20px;
    }

    .table_cours tbody td {
        font-size: 18px;
        padding: 5px 20px;
    }

}

@media screen and (max-width: 840px) {
    .table_cours {
        overflow-x: auto;
    }
    .table_cours table {
        min-width: 650px;
    }

    .table_cours thead tr th {
        font-size: 18px;
        padding: 12px 15px;
    }

    .table_cours tbody td {
        font-size: 16px;
        padding: 10px 15px;
    }
}

/* Tableau membres */

.table_membres {
    background-color: #fff;
    border-radius: 20px;
}

.table_membres table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none !important;
}

.table_membres thead th,
.table_membres tbody td {
    border: none !important;
    vertical-align: middle;
}

.table_membres thead th {
    background-color: #257D63;
    color: #FFFCF8;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    padding: 7px 20px;
    line-height: 1.2;
}

.table_membres.carte thead th {
    padding: 15px 20px;
}

.table_membres thead th small {
    display: block;
    font-size: 0.75em;
    text-transform: none;
    font-weight: 400;
}

.table_membres thead tr:first-child th:first-child {
    border-radius: 17px 0 0 0;
    background: transparent;
    border-right: none !important;
}

.table_membres thead tr:first-child th:last-child {
    border-radius: 0 17px 17px 0;
}

.table_membres thead tr:first-child th[colspan] {
    border-bottom: 3px solid #fff !important;
    border-radius: 17px 0 0 0;
}

.table_membres thead tr:last-child th:first-child {
    border-radius: 17px 0 0 17px;
    text-align: left;
    font-size: 20px;
    text-transform: uppercase;
}

.table_membres thead tr:last-child th {
    text-transform: none;
    font-size: 14px;
}

.table_membres thead tr th:not(:last-child) {
    border-right: 5px solid #fff !important;
}

.table_membres thead tr:last-child th:last-child {
    border-right: 5px solid #fff !important;
}

.table_membres tbody tr:nth-child(odd) td {
    background-color: #fff !important;
}

.table_membres tbody tr:nth-child(even) td {
    background-color: #F5F5F5 !important;
}

.table_membres.carte tbody tr:nth-child(even) td {
    background-color: #fff !important;
}

.table_membres.carte tbody tr:nth-child(odd) td {
    background-color: #F5F5F5 !important;
}

.table_membres tbody td {
    color: #0A4030;
    padding: 5px 20px;
    text-align: center;
    line-height: 1.3;
}

.table_membres.carte tbody td {
    padding: 15px 20px;
}

.table_membres.junior tbody td {
    padding: 10px 20px;
}

.table_membres tbody td:not(:last-child) {
    border-right: 5px solid #fff !important;
}

.table_membres tbody tr:not(:last-child) td {
    border-bottom: 5px solid #fff !important;
}

.table_membres tbody td:first-child {
    text-align: left;
}

.table_membres tbody td.center {
    text-align: center !important;
}

.table_membres tbody tr.slim td {
    padding-top: 8px;
    padding-bottom: 8px;
}

.table_membres tbody tr.slim td:first-child {
    text-align: center;
}

.table_membres tbody tr:last-child td:first-child {
    border-radius: 0 0 0 17px;
}

.table_membres tbody tr:last-child td:last-child {
    border-radius: 0 0 17px 0;
}

.table_membres tbody td.radius-bl {
    border-radius: 0 0 0 17px;
}

.table_membres tbody tr:last-child td.no-radius-bl {
    border-radius: 0;
}

@media screen and (max-width: 1199px) {

    .table_membres thead th {
        font-size: 16px;
        padding: 5px 15px;
    }

    .table_membres thead tr:last-child th:first-child {
        font-size: 16px;
    }    

    .table_membres.carte thead th {
        padding: 5px 15px;
    }    

    .table_membres tbody td {
        font-size: 15px;
        padding: 5px 15px;
    }

    .table_membres.junior tbody td {
        padding: 8px 15px;
    }

    .table_membres.carte tbody td {
        padding: 10px 15px;
    }    

}

@media screen and (max-width: 1023px) {
    .table_membres {
        overflow-x: auto;
    }
    .table_membres table {
        min-width: 900px;
    }

    .table_membres thead th {
        font-size: 13px;
        padding: 10px 12px;
    }

    .table_membres thead tr:last-child th:first-child {
        font-size: 13px;
    }    

    .table_membres tbody td {
        font-size: 13px;
        padding: 5px 12px;
    }

  .table_membres.junior tbody td {
        padding: 5px 12px;
    }

    .table_membres.carte tbody td {
        padding: 8px 12px;
    }    

}

/* Tableau intermédiaire */

.table_intermediaire {
    background-color: #fff;
    border-radius: 17px;
}

.table_intermediaire table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none !important;
}

.table_intermediaire thead th,
.table_intermediaire tbody td {
    border: none !important;
    vertical-align: middle;
}

.table_intermediaire thead tr th {
    background-color: #257D63;
    color: #FFFCF8;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    padding: 7px 20px;
    line-height: 1.2;
}

.table_intermediaire thead th small {
    display: block;
    font-size: 0.75em;
    text-transform: none;
    font-weight: 400;
}

.table_intermediaire thead tr th:first-child {
    border-radius: 17px 0 0 17px;
    text-align: left;
}

.table_intermediaire thead tr th:last-child {
    border-radius: 0 17px 17px 0;
}

.table_intermediaire thead tr th:not(:last-child) {
    border-right: 5px solid #fff !important;
}

.table_intermediaire tbody tr.section-title:nth-child(odd) td,
.table_intermediaire tbody tr.section-title:nth-child(even) td {
    background-color: #0A4030 !important;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 20px;
    border: none !important;
    border-radius: 10px;
}

.table_intermediaire tbody tr:has(+ tr.group-separator) td {
    border-bottom: none !important;
}

.table_intermediaire tbody tr.group-separator:nth-child(odd) td,
.table_intermediaire tbody tr.group-separator:nth-child(even) td {
    background-color: #257D63 !important;
    height: 5px;
    padding: 0 !important;
    border: none !important;
    font-size: 0;
}

.table_intermediaire tbody tr:nth-child(even) td {
    background-color: #fff !important;
}

.table_intermediaire tbody tr:nth-child(odd) td {
    background-color: #F5F5F5 !important;
}

/* Réinversion après chaque group-separator */
.table_intermediaire tbody tr.group-separator ~ tr:not(.group-separator):not(.section-title):nth-child(odd) td {
    background-color: #fff !important;
}
.table_intermediaire tbody tr.group-separator ~ tr:not(.group-separator):not(.section-title):nth-child(even) td {
    background-color: #F5F5F5 !important;
}
.table_intermediaire tbody tr.group-separator ~ tr.group-separator ~ tr:not(.group-separator):not(.section-title):nth-child(odd) td {
    background-color: #F5F5F5 !important;
}
.table_intermediaire tbody tr.group-separator ~ tr.group-separator ~ tr:not(.group-separator):not(.section-title):nth-child(even) td {
    background-color: #fff !important;
}

.table_intermediaire tbody td {
    color: #0A4030;
    padding: 15px 20px;
    text-align: center;
    line-height: 1.3;
}

.table_intermediaire tbody td:not(:last-child) {
    border-right: 5px solid #fff !important;
}

.table_intermediaire tbody tr:not(:last-child) td {
    border-bottom: 5px solid #fff !important;
}

.table_intermediaire tbody td:first-child {
    text-align: left;
}

.table_intermediaire tbody tr:last-child td:first-child {
    border-radius: 0 0 0 17px;
}

.table_intermediaire tbody tr:last-child td:last-child {
    border-radius: 0 0 17px 0;
}

@media screen and (max-width: 1199px) {

    .table_intermediaire thead tr th {
        font-size: 16px;
        padding: 5px 15px;
    }

    .table_intermediaire tbody td {
        font-size: 15px;
        padding: 5px 15px;
    }   

}

@media screen and (max-width: 1023px) {
    .table_intermediaire {
        overflow-x: auto;
    }
    .table_intermediaire table {
        min-width: 900px;
    }

    .table_intermediaire thead tr th {
        font-size: 13px;
        padding: 10px 12px;
    }

    .table_intermediaire tbody td {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* Carte promotion */

.promo_card {
    position: relative !important;
    --promo-arrow-width: 70px;
}

.promo_card::after {
    content: '';
    position: absolute;
    left: calc(100% - 10px);
    top: -3px;
    bottom: 0;
    width: 0;
    right: 0;
    border-radius: 0 13px 13px 0;
    background-color: #44A365;
    background-image: url('https://centredegolfleversant.kinsta.cloud/wp-content/uploads/2026/05/Arrow-promo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    overflow: hidden;
    transition: width 0.3s ease;
    height: calc(100% + 6px);
}

.promo_card:hover::after {
    width: var(--promo-arrow-width);
}

@media screen and (max-width: 1023px) {

    .promo_card {
        --promo-arrow-width: 50px;
    }

    .promo_card::after {
        background-size: 25px;

    }
}

@media screen and (max-width: 767px) {

    .promo_card {
        --promo-arrow-width: 40px;
    }

    .promo_card::after {
        background-size: 20px;

    }
}

/* table_membres variante carte */

.table_membres.carte thead tr:first-child th:nth-child(2) {
    border-radius: 13px 0 0 0;
}

/* table_tarifs */

.table_tarifs {
    background-color: #fff;
    border-radius: 20px;
}

.table_tarifs table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none !important;
}

.table_tarifs thead th,
.table_tarifs tbody td {
    border: none !important;
    vertical-align: middle;
}

.table_tarifs thead tr:first-child th {
    background-color: #257D63;
    color: #FFFCF8;
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 7px 28px;
    line-height: 1.1;
}

.table_tarifs thead tr:first-child th:first-child {
    border-radius: 17px 0 0 17px;
    text-align: left;
}

.table_tarifs thead tr:first-child th:last-child {
    border-radius: 0 17px 17px 0;
    text-align: right;
    font-size: 16px;
    text-transform: none;
    white-space: nowrap;
}

.table_tarifs thead tr:last-child th {
    padding: 7px 28px;
    font-size: 18px;
    font-weight: 400;
    color: #0A4030;
    text-align: right;
    background-color: #F5F5F5;
}

.table_tarifs thead tr:last-child th:first-child {
    text-align: left;
}

.table_tarifs tbody td {
    color: #0A4030;
    padding: 20px 28px;
    line-height: 1.3;
}

.table_tarifs tbody td:first-child {
    text-align: left;
}

.table_tarifs tbody td:not(:first-child) {
    text-align: right;
}

.table_tarifs tbody tr:nth-child(odd) td {
    background-color: #fff !important;
}

.table_tarifs tbody tr:nth-child(even) td {
    background-color: #F5F5F5 !important;
}

.table_tarifs tbody tr:last-child td:first-child {
    border-radius: 0 0 0 17px;
}

.table_tarifs tbody tr:last-child td:last-child {
    border-radius: 0 0 17px 0;
}

.table_tarifs.golf_interieur thead th {
    font-size: 25px !important;   
}

@media screen and (max-width: 1199px) {

    .table_tarifs thead tr:first-child th {
        font-size: 22px;
        padding: 5px 20px;
    }

    .table_tarifs.golf_interieur thead th {
       font-size: 22px !important;   
    }

    .table_tarifs thead tr:last-child th,
    .table_tarifs tbody td {
        font-size: 18px;
        padding: 5px 20px;
    }

}

@media screen and (max-width: 840px) {

    .table_tarifs {
        overflow-x: auto;
    }

    .table_tarifs table {
        min-width: 550px;
    }

    .table_tarifs thead tr:first-child th {
        font-size: 18px;
        padding: 12px 15px;
    }

    .table_tarifs.golf_interieur thead th {
        font-size: 18px !important;   
    }

    .table_tarifs thead tr:last-child th,
    .table_tarifs tbody td {
        font-size: 15px;
        padding: 10px 15px;
    }

}

/* table_tarifs variante sans sous-header */

.table_tarifs.golf_interieur thead th {
    background-color: #257D63 !important;
    color: #FFFFFF !important;
    text-align: left !important;
    text-transform: uppercase !important;
    white-space: normal !important;
}

.table_tarifs.golf_interieur tbody td:not(:first-child) {
    text-align: left !important;
}

/* Footer */


@media screen and (max-width: 500px) {

    .infolettre .elementor-field-type-email,
    .infolettre .elementor-field-type-submit  {
      width: 100%;
  }

}

/* Animation section restaurant */

.single_cart {
    overflow: hidden;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1),
                flex 1.5s cubic-bezier(0.4, 0, 0.2, 1),
                max-width 1.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 1s ease;
}

.single_cart.collapsed {
    max-width: 0 !important;
    width: 0 !important;
    flex: 0 0 0% !important;
    min-width: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.single_cart.expanded {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    align-self: stretch !important;
}

.wrapper_all_carts {
    position: relative;
}

.icon_click {
    cursor: pointer;
}

.single_cart.expanded .icon_click,
.wrapper_all_carts > .icon_click {
    transform: scaleX(-1);
}

@media screen and (max-width: 767px) {
    .single_cart.collapsed {
        max-width: none !important;
        width: auto !important;
        flex: auto !important;
        min-width: unset !important;
        opacity: 1;
        pointer-events: auto;
    }
}

/* table_abonnements */

.table_abonnements {
    background-color: #fff;
    border-radius: 20px;
    overflow-x: auto;
}

.table_abonnements table {
    width: 100%;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
    border: none !important;
}

.table_abonnements thead th,
.table_abonnements tbody td {
    border: none !important;
    vertical-align: middle;
}

.table_abonnements thead th:not(:last-child),
.table_abonnements tbody td:not(:last-child) {
    border-right: 5px solid #fff !important;
}

.table_abonnements tbody tr:not(:last-child) td {
    border-bottom: 5px solid #fff !important;
}

.table_abonnements tbody tr:first-child td {
    border-top: 5px solid #fff !important;
}

.table_abonnements thead th {
    background-color: #257D63;
    color: #FFFCF8;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 10px 8px;
    line-height: 1.2;
    text-align: center;
}

.table_abonnements thead th:first-child {
    border-radius: 17px 0 0 17px;
    text-align: left;
    font-size: 22px;
    padding: 10px 20px;
    width: 28%;
}

.table_abonnements thead th:last-child {
    border-radius: 0 17px 17px 0;
}

.table_abonnements thead th .col-subtitle {
    display: block;
    font-size: 11px;
    text-transform: none;
    font-weight: 400;
    margin-top: 5px;
    color: rgba(255, 252, 248, 0.8);
    line-height: 1.3;
}

.table_abonnements tbody td {
    color: #0A4030;
    padding: 14px 8px;
    line-height: 1.3;
    text-align: center;
    font-size: 18px;
}

.table_abonnements tbody td:first-child {
    text-align: left;
    padding: 14px 20px;
    font-size: 15px;
}

.table_abonnements tbody td small {
    display: block;
    font-size: 12px;
    color: #5a7a72;
    font-weight: 400;
    margin-top: 3px;
    line-height: 1.3;
}

.table_abonnements tbody tr:nth-child(odd) td {
    background-color: #fff !important;
}

.table_abonnements tbody tr:nth-child(even) td {
    background-color: #F5F5F5 !important;
}

.table_abonnements tbody tr:last-child td:first-child {
    border-radius: 0 0 0 17px;
}

.table_abonnements tbody tr:last-child td:last-child {
    border-radius: 0 0 17px 0;
}

.table_abonnements .check {
    color: #257D63;
    font-size: 20px;
    font-weight: 700;
}

.table_abonnements .check-note {
    display: block;
    font-size: 13px;
    color: #0A4030;
    margin-top: 3px;
    font-weight: 400;
    line-height: 1.3;
}

