/*
 Theme Name:   LPDW config
 Theme URL:    https://leplusduweb.com
 Description:  Theme enfant developpé par l'entreprise LE PLUS DU WEB
 Author:       Le plus du web
 Author URI:   http://leplusduweb.com
 Template:     enfold
 Version:      1.0.0
*/

/*
Styles tous médias
================================================== */

/*******************************************************/
/********************** VARIABLES **********************/
/*******************************************************/

/********************** Typographie **********************/
@font-face {
  font-family: "libre baskerville";
  font-weight: 300;
  src: url(‘/fonts/LibreBaskerville-Regular.ttf’) format(‘truetype’);
}

@font-face {
  font-family: "libre baskerville";
  font-weight: 600;
  src: url(‘/fonts/LibreBaskerville-Bold.ttf’) format(‘truetype’);
}
/********************** Couleurs **********************/

:root {
  --dark-green: #287234;
  --green: #9cc45c;
  --red: #c7423d;
  --black: #141919;
  --grey: #f2f2f2;
}

/********************** Animations **********************/

@keyframes slide_right {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(50%);
  }
}

/*
Desktop Styles
================================================== */
/* Note: CSS POUR VUE PC CLASSIQUE */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

  /*********************************************************/
  /********************** GÉNÉRALITÉS **********************/
  /*********************************************************/
  /********************** Titres **********************/

  .template-page .entry-content-wrapper h1 {
    margin: 40px 0 0 0;
  }

  #wrap_all #main :is(.title-middle-centered, .title-left-centered) {
    width: fit-content;
  }

  #wrap_all #main .title-middle-centered {
    margin: 0 auto;
  }

  #wrap_all #main .title-middle-centered::before,
  #wrap_all #main .title-middle-centered::after,
  #wrap_all #main .title-left-centered::after {
    content: "";
    position: absolute;
    top: 40%;
    display: inline-block;
    height: 4px;
    width: 32px;
    background-color: var(--red);
    transform: translateY(-50%);
  }

  #wrap_all #main .title-middle-centered::before {
    left: -42px;
  }

  #wrap_all #main .title-middle-centered::after,
  #wrap_all #main .title-left-centered::after {
    right: -42px;
  }

  /********************** Marges **********************/

  .avia-section-large .content,
  .avia-section-large .sidebar {
    /*large*/
    padding: 110px 0;
  }

  #top #main {
    padding-top: calc(170px - 22px) !important;
  }

  /********************** Liens **********************/

  .main_color a:hover {
    text-decoration: none;
  }

  /********************** Liens & Boutons **********************/

  #top #main .primary-button {
    background-color: var(--dark-green);
    border-radius: 24px;
    font-size: 14px;
    transition: all ease 300ms;
  }

  #top #main .primary-button .avia-button {
    background-color: transparent !important;
    border: none;
  }

  #top #main .primary-button .avia_button_icon {
    margin-left: 8px;
  }

  #top #main .primary-button:hover,
  #top #main .primary-button:focus {
    background-color: var(--black);
    color: white;
  }

  /********************** Formulaires **********************/

  #top .main_color .input-text,
  #top .main_color input[type="text"],
  #top .main_color input[type="input"],
  #top .main_color input[type="password"],
  #top .main_color input[type="email"],
  #top .main_color input[type="number"],
  #top .main_color input[type="url"],
  #top .main_color input[type="tel"],
  #top .main_color input[type="search"],
  #top .main_color textarea,
  #top .main_color select {
    border-color: var(--dark-green);
  }

  /********************** Tableaux **********************/

  #top tr:first-child {
    background-color: var(--dark-green) !important;
    font-weight: 700;
    font-size: 14px;
    color: white;
  }

  #top tr:first-child td {
    color: white !important;
  }

  tr {
    height: 60px;
    line-height: 60px;
    text-align: center;
  }

  /********************** Galerie **********************/

  #top .mfp-container::before {
    content: none;
  }

  #top .mfp-wrap {
    position: absolute !important;
    top: 50% !important;
    left: 50%;
    transform: translate(-50%);
  }

  /********************** Accordéon **********************/

  .togglecontainer .av_toggle_section .single_toggle p.toggler {
    padding: 24px 52px 24px 24px;
    font-size: 16px;
  }

  .togglecontainer .av_toggle_section .single_toggle .toggle_content a {
    color: var(--black);
    text-decoration: underline;
  }

  /********************** Icônes **********************/

  [class^="icon-"]:before,
  [class*=" icon-"]:before {
    font-family: "entypo-fontello";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: 0.5em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: 0.2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
  }
  .icon-clock:before {
    content: "\e862";
  }

  /****************************************************/
  /********************** HEADER **********************/
  /****************************************************/

  #top #header {
    background-color: white;
    margin-top: 0 !important;
  }

  #header_main {
    border: none;
  }

  /********************** Logo **********************/

  #header #header_main .logo .av-contains-svg {
    height: 64px;
    margin: calc((88px - 64px) / 2);
  }

  /********************** Meta navigation **********************/

  #header_meta {
    display: none;
  }

  /********************** Navigation secondaire **********************/

  #header #header_in_between {
    position: absolute;
    right: 0;
    top: 50%;
    width: 50%;
    transform: translateY(-25%);
  }

  #header #header_in_between nav {
    position: relative;
    top: 25%;
    display: flex;
    gap: 48px;
    align-items: center;
    line-height: 88px;
    justify-content: end;
  }

  #header #header_in_between a {
    position: relative;
    min-width: 64px;
    font-size: 12px;
    color: var(--black);
    text-align: center;
    transition: all ease 300ms;
  }

  #header #header_in_between a::before {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -4px;
    left: 50%;
    width: 24px;
    height: 24px;
    padding: 4px;
    background-color: var(--dark-green);
    color: white;
    font-family: "golf-icon", sans-serif;
    font-size: 14px;
    text-align: center;
    border-radius: 50%;
    transform: translate(-50%);
    transition: all ease 300ms;
  }

  /* Association des icones au menu  */
  #header #header_in_between nav a.espace-membres::before {
    content: "\e827";
  }
  #header #header_in_between nav a.en-direct::before {
    content: "\e825";
  }
  #header #header_in_between nav a.infos-pratiques::before {
    content: "\e828";
  }
  #header #header_in_between nav a.reservation::before {
    content: "\e83b";
  }
  #header #header_in_between nav a.contact::before {
    content: "\e826";
  }

  #header #header_in_between a:not(:last-child)::after {
    content: "";
    position: absolute;
    display: inline-block;
    height: 64px;
    width: 1px;
    background-color: var(--black);
    opacity: 0.12;
    top: 50%;
    right: -24px;
    transform: translateY(-80%);
  }

  #header #header_in_between a:hover,
  #header #header_in_between a:focus {
    color: var(--dark-green);
  }

  #header #header_in_between a:hover::before,
  #header #header_in_between a:focus::before {
    background-color: var(--black);
  }

  /********************** Navigation principale **********************/
  #header #header_main_alternate {
    height: 60px;
    background-color: var(--black);
    line-height: 60px;
  }

  #header #header_main_alternate .avia-menu {
    height: 40px;
    margin: calc((60px - 40px) / 2) 0;
  }

  /********************** Navigation **********************/

  #header #header_main_alternate li {
    transition: all ease 300ms;
  }

  #header
    #header_main_alternate
    li.menu-item-top-level:not(.special-menu-item, #menu-item-65):after {
    content: "";
    position: absolute;
    top: 50%;
    right: -3px;
    display: inline-block;
    height: 6px;
    width: 6px;
    background-color: var(--red);
    border-radius: 50%;
    transform: translateY(-50%);
  }

  #top #header #header_main_alternate .avia-menu-fx {
    top: 47px;
    height: 3px;
  }

  #header #header_main_alternate li.menu-item-top-level a {
    height: 40px;
    padding: 0 16px;
    font-size: 16px;
    line-height: 40px;
    font-weight: normal;
  }

  #header #header_main_alternate li > .sub-menu {
    padding-top: 8px;
    width: 242px;
    border: none;
    border-color: transparent;
    background-color: transparent;
  }

  #header #header_main_alternate li > .sub-menu a {
    background-color: var(--black);
    border: none;
    color: white;
    transition: all ease 300ms;
  }

  #header #header_main_alternate li:hover > a,
  #header #header_main_alternate li:focus > a {
    color: var(--green);
  }

  #header #header_main_alternate .special-menu-item {
    float: right;
  }

  #header #header_main_alternate .special-menu-item a {
    background-color: var(--green);
    border-radius: 24px;
  }

  #header #header_main_alternate .special-menu-item:hover > a,
  #header #header_main_alternate .special-menu-item:focus > a {
    background-color: var(--dark-green);
    color: white;
  }

  /* On ne veut pas afficher le effet de hover des items de listes sur les boutons */
  #header #header_main_alternate .special-menu-item:hover .avia-menu-fx,
  #header #header_main_alternate .special-menu-item:focus .avia-menu-fx {
    display: none;
  }

  #header #header_main_alternate #menu-item-71 {
    margin-right: 10px;
  }

  #header #header_main_alternate #menu-item-71 a::before {
    content: "\e824";
    font-family: "golf-icon";
    font-size: 16px;
    margin-right: 8px;
  }

  #header #header_main_alternate #menu-item-75 a {
    font-weight: bold;
  }

  /* Style de l'item du menu quand il est actif  */
  #header #header_main_alternate .current-menu-item > a,
  #header #header_main_alternate .current_page_item > a {
    color: var(--green) !important;
  }

  /* On colore le menu aprent quand l'enfant est actif */
  #header #header_main_alternate .active-parent-item a {
    color: var(--green);
  }

  /********************** Mega menu **********************/

  #header #header_main_alternate .avia_mega_div {
    position: fixed;
    top: 149px;
    left: 0 !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* Modification de la localisation si connecté */
  .logged-in #header #header_main_alternate .avia_mega_div {
    top: 179px;
  }

  #header #header_main_alternate .avia_mega_div > ul.sub-menu {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    column-gap: 24px;
    row-gap: 42px;
    padding: 16px;
    background-color: var(--black);
  }

  #header #header_main_alternate .avia_mega_div ul li {
    width: 100%;
    padding: 0;
    border: none;
  }

  #header #header_main_alternate .avia_mega_div ul li.menu-item-type-custom {
    height: auto;
    padding: 0;
    margin: 0;
    line-height: initial;
  }

  #header #header_main_alternate .avia_mega_div ul .mega_menu_title {
    margin: 0;
    padding-bottom: 12px;
    font-size: 18px;
    color: white;
    font-weight: bold;
    line-height: initial;
  }

  #top #header #header_main_alternate .avia_mega_div li a {
    height: 224px;
    width: 100%;
    padding: 0;
    background-color: unset;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    font-size: 0;
    line-height: initial;
  }

  #top #header #header_main_alternate .avia_mega_div li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    height: 100%;
    width: 100%;
    background-position: center center;
    background-size: 64px;
    background-repeat: no-repeat;
  }

  #top #header #header_main_alternate .avia_mega_div li a:hover::before,
  #top #header #header_main_alternate .avia_mega_div li a:focus::before {
    background-color: #14191964;
  }

  #header #header_main_alternate .avia_mega_div .avia-bullet {
    display: none;
  }

  /* Les items qui font 2 lignes de haut  */
  #top
    #header
    #header_main_alternate
    .avia_mega_div
    :is(.ecole-g, .initi-g, .stages)
    a {
    height: 100%;
    overflow: hidden;
  }

  /* Item correspondant : Cours individuels */
  #header #header_main_alternate .avia_mega_div .cours-indi {
    grid-column: 1/3;
    grid-row: 1;
  }

  #header #header_main_alternate .avia_mega_div .cours-indi a::before {
    background-image: url("/wp-content/themes/enfold_child/images/user-solid.svg");
  }

  #header #header_main_alternate .avia_mega_div .cours-indi a {
    background-image: url("/wp-content/uploads/2023/02/illu_individuel.jpg");
  }

  /* Item correspondant : Cours collectifs */
  #header #header_main_alternate .avia_mega_div .cours-colle {
    grid-column: 1/3;
    grid-row: 2;
  }

  #header #header_main_alternate .avia_mega_div .cours-colle a::before {
    background-image: url("/wp-content/themes/enfold_child/images/user-group-solid.svg");
  }

  #header #header_main_alternate .avia_mega_div .cours-colle a {
    background-image: url("/wp-content/uploads/2023/02/illu_groupes.jpg");
  }

  #header
    #header_main_alternate
    .avia_mega_div
    :is(.ecole-g, .initi-g, .stages) {
    overflow: hidden;
  }

  /* Item correspondant : École du golf */
  #header #header_main_alternate .avia_mega_div .ecole-g {
    grid-column: 3;
    grid-row: 1/3;
  }

  #header #header_main_alternate .avia_mega_div .ecole-g a::before {
    background-image: url("/wp-content/themes/enfold_child/images/graduation-cap-solid.svg");
  }

  #header #header_main_alternate .avia_mega_div .ecole-g a {
    background-image: url("/wp-content/uploads/2023/02/illu_ecole.jpg");
  }

  /* Item correspondant : Le diagnoswing */
  #header #header_main_alternate .avia_mega_div .initi-g {
    grid-column: 4;
    grid-row: 1/3;
  }

  #header #header_main_alternate .avia_mega_div .initi-g a::before {
    background-image: url("/wp-content/themes/enfold_child/images/golf-club-solid.svg");
  }

  #header #header_main_alternate .avia_mega_div .initi-g a {
    background-image: url("/wp-content/uploads/2023/02/illu_swing.png");
  }

  /* Item correspondant : Les stages */
  #header #header_main_alternate .avia_mega_div .stages {
    grid-column: 5;
    grid-row: 1/3;
  }

  #header #header_main_alternate .avia_mega_div .stages a::before {
    background-image: url("/wp-content/themes/enfold_child/images/golf-flag-hole-solid.svg");
  }

  #header #header_main_alternate .avia_mega_div .stages a {
    background-image: url("/wp-content/uploads/2023/02/illu_stage.jpg");
  }
  /******************************************************/
  /********************** TAB BAR **********************/
  /******************************************************/

  #sidebar_fixe {
    display: none;
  }

  /******************************************************/
  /********************** HOMEPAGE **********************/
  /******************************************************/
  /********************** Hero **********************/

  #top #hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    opacity: 0.16;
  }

  #top #hero {
    position: relative;
    height: 564px;
  }

  #hero .av-special-heading p {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: bold;
  }

  #hero .av-special-heading h1 {
    text-transform: initial;
  }

  #hero .av-special-heading h1::after {
    content: "";
    position: relative;
    display: block;
    height: 4px;
    width: 64px;
    margin-top: 12px;
    background-color: white;
  }

  #hero .flex_column:last-child {
    position: relative;
    top: 12px;
  }

  #hero .avia-image-container-inner {
    width: 100%;
  }

  #hero .avia-image-overlay-wrap::after {
    content: "";
    display: block;
    height: 164px;
    width: 164px;
    position: absolute;
    top: 0;
    right: 32px;
    background-image: url("/wp-content/themes/enfold_child/images/red_leaf.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    overflow: visible;
    visibility: visible;
  }

  #hero .avia-image-overlay-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    right: -42px;
  }

  #hero img {
    float: inline-end;
    height: 564px;
    width: 564px;
    object-fit: cover;
    border-radius: 50%;
  }

  /********************** Section activités **********************/

  #top #section-activites .template-page {
    padding: 64px 0;
  }

  #top #section-activites .flex_column_table {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 24px;
    padding: 0 64px;
  }

  #top #section-activites .av-flex-placeholder {
    display: none;
  }

  #top #section-activites .carte-activite {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
  }

  #section-activites .carte-activite .avia-image-container img {
    max-height: 150px;
    object-fit: cover;
    height: 100%;
  }

  #section-activites .carte-activite .av_textblock_section {
    padding: 16px 24px;
  }

  #top #section-activites .carte-activite h5 {
    color: var(--dark-green);
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all ease 300ms;
  }

  #top #section-activites .carte-activite .av_textblock_section a:hover,
  #top #section-activites .carte-activite .av_textblock_section a:focus {
    font-weight: bold;
    text-decoration: underline;
  }

  #top #section-activites .carte-activite .av_textblock_section a::after {
    content: "\e81b";
    display: inline-block;
    position: relative;
    left: 4px;
    line-height: 14px;
    font-family: "golf-icon", sans-serif;
  }

  #top #section-activites .carte-activite:hover .av_textblock_section a::after {
    animation: 500ms infinite alternate slide_right;
  }

  /********************** Section découverte du golf de Jumièges **********************/

  #section-decouverte {
    background-image: url("/wp-content/uploads/2023/01/terrain_golf.jpg");
    background-position: center center;
    background-size: cover;
  }

  #top #section-decouverte .flex_cell:last-child {
    padding: 64px 10% 64px 64px;
  }

  #top #section-decouverte .avia-icon-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  #top #section-decouverte .iconlist_icon {
    margin-right: 12px;
  }

  #top #section-decouverte article h4 {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
  }

  #top #section-decouverte .iconlist-timeline {
    display: none;
  }

  /********************** Section services **********************/

  #section-services .template-page {
    padding: 82px 0;
  }

  #top #section-services .flex_column_table {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 15px 82px;
    margin: 0;
    gap: 32px;
  }

  #top #section-services .av-flex-placeholder {
    display: none;
  }

  #top #section-services .flex_column {
    margin: 0;
    background-color: white;
    border-radius: 12px;
    transition: all ease 500ms;
    overflow: hidden;
  }

  #top #section-services .flex_column:hover,
  #top #section-services .flex_column:focus {
    box-shadow: 2px 2px 16px 2px #00000004;
    transform: scale(1.02);
  }

  #section-services .flex_column .avia-image-container img {
    max-height: 242px;
    height: 100%;
    object-fit: cover;
  }

  #top #section-services .av_textblock_section {
    padding: 16px 24px;
  }

  #top #section-services .flex_column h5 {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--dark-green);
  }

  /********************** Section actualités et événements **********************/

  #section-actus-evenements .template-page {
    padding: 82px 0;
  }

  #section-actus-evenements .slide-entry-wrap:not(#footer-page *) {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
  }

  #section-actus-evenements .slide-entry:not(#footer-page *) {
    display: flex;
    width: 100%;
    height: 282px;
    margin: 0;
    padding: 4px;
    background-color: var(--grey);
    border-radius: 12px;
  }

  #section-actus-evenements .slide-entry .slide-image {
    margin: 0;
    width: 100%;
    max-width: 282px;
    border-radius: 12px 0 0 12px;
  }

  #section-actus-evenements .slide-entry .slide-image img {
    max-width: 282px;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
  }

  #section-actus-evenements .slide-entry :is(.slide-content, .entry-title) {
    color: var(--black);
  }

  #section-actus-evenements .slide-entry .slide-content {
    padding: 16px;
  }

  #section-actus-evenements .slide-entry header {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  #section-actus-evenements .slide-entry header .entry-title {
    order: 3;
    position: relative;
    padding: 0;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
  }

  #section-actus-evenements .slide-entry .slide-meta-time {
    color: var(--red);
    text-transform: initial;
    line-height: 26px;
    order: 2;
  }

  #top #section-actus-evenements .slide-entry .blog-categories {
    position: static;
    width: min-content;
    padding: 6px 12px;
    margin-bottom: 12px;
    font-family: "Libre Baskerville", Helvetica, sans-serif;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: initial;
    border-radius: 24px;
    order: 1;
  }

  /* Compétition */
  #section-actus-evenements .slide-entry .category-id-10 {
    background-color: var(--red);
  }

  /* Actualité */
  #section-actus-evenements .slide-entry .category-id-11 {
    background-color: var(--green);
  }

  #section-actus-evenements .slide-entry footer {
    display: none;
  }

  #section-actus-evenements .flex_column_table:not(:first-child) {
    display: flex;
    gap: 6%;
  }

  #section-actus-evenements
    .flex_column_table:not(:first-child)
    .av-ecqvo-1825a0f794049c0314fcb93866fa364a {
    margin-top: 50px;
  }

  /********************** Section récapitulatif **********************/

  #section-recap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 100%;
    width: 100%;
    background-color: var(--black);
    opacity: 0.7;
    overflow: visible;
    visibility: visible;
  }

  #section-recap {
    position: relative;
  }

  #top #section-recap .template-page {
    padding: 42px 0;
  }

  #top #section-recap .flex_column_table {
    display: flex;
    justify-content: space-around;
    height: 100%;
    max-height: 282px;
    gap: 32px;
  }

  #top #section-recap .av-flex-placeholder {
    display: none;
  }

  #top #section-recap .flex_column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 24px 64px;
    gap: 24px;
    transition: all ease 300ms;
  }

  #top #section-recap .flex_column:hover {
    background-color: var(--grey);
  }

  #section-recap .flex_column h6 {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 24px;
  }

  #top #section-recap .flex_column .av-icon-char::before {
    position: relative;
    top: 0;
    left: 0;
    display: inline-block;
  }

  #top #section-recap .flex_column:hover .av-icon-char::before {
    animation: 500ms infinite alternate slide_right;
  }

  /*****************************************************/
  /********************** CONTENU **********************/
  /*****************************************************/

  /********************** Hero spécial **********************/

  #main #hero-common-page {
    overflow: hidden;
    background-color: var(--black);
  }

  #main #hero-common-page-content {
    position: relative;
    display: flex;
  }

  #main #hero-common-page-content .context {
    display: flex;
    flex-direction: column;
    width: 80%;
    padding: 82px 0;
  }

  #main #hero-common-page-content h1 {
    margin-top: 16px;
    color: white;
  }

  #main #hero-common-page-content h1::after {
    content: "";
    position: relative;
    display: block;
    width: 42px;
    height: 4px;
    margin-top: 12px;
    background-color: white;
  }

  #main #hero-common-page-content :is(.breadcrumb, a) {
    color: white;
    transition: all ease 300ms;
  }

  #main #hero-common-page-content a:hover,
  #main #hero-common-page-content a:focus {
    color: var(--green);
    text-decoration: underline;
  }

  #main #hero-common-page-content .thumbnail {
    position: absolute;
    top: -42px;
    right: -124px;
    width: 50%;
  }

  #main #hero-common-page-content .thumbnail::before {
    content: "";
    position: absolute;
    display: block;
    width: 132px;
    height: 132px;
    top: 25%;
    left: -20px;
    background-image: url("/wp-content/themes/enfold_child/images/red_leaf.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translate(-50%);
  }

  #main #hero-common-page-content .thumbnail img {
    height: 442px;
    width: 100%;
    border-radius: 182px 0 0 242px;
    object-fit: cover;
  }

  /********************** Page des actualités & des compétitions **********************/

  :is(.page-id-218, .page-id-338) .slide-entry-wrap:not(#footer-page *) {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
  }

  :is(.page-id-218, .page-id-338) .slide-entry:not(#footer-page *) {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 4px;
    background-color: var(--grey);
    border-radius: 12px;
  }

  :is(.page-id-218, .page-id-338) .slide-entry .slide-image {
    margin: 0;
    width: 100%;

    border-radius: 12px 12px 0 0;
  }

  :is(.page-id-218, .page-id-338) .slide-entry .slide-image img {
    height: 100%;
    max-height: 242px;
    border-radius: 0;
    object-fit: cover;
  }

  .page-id-338 .slide-entry .slide-image img {
    max-height: 412px;
  }

  :is(.page-id-218, .page-id-338)
    .slide-entry
    :is(.slide-content, .entry-title) {
    color: var(--black);
  }

  :is(.page-id-218, .page-id-338) .slide-entry .slide-content {
    padding: 16px;
  }

  :is(.page-id-218, .page-id-338) .slide-entry header {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  :is(.page-id-218, .page-id-338) .slide-entry header .entry-title {
    order: 3;
    position: relative;
    padding: 0;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
  }

  .page-id-218 .slide-entry .slide-meta-time {
    color: var(--red);
    text-transform: initial;
    line-height: 26px;
    order: 2;
  }

  :is(.page-id-218, .page-id-338) .slide-entry .blog-categories {
    background-color: var(--green);
    position: static !important;
    width: fit-content;
    padding: 6px 12px;
    margin-bottom: 12px;
    font-family: "Libre Baskerville", Helvetica, sans-serif;
    color: white;
    font-size: 12px !important;
    font-weight: 600;
    text-transform: initial !important;
    border-radius: 24px;
    order: 1;
  }

  /*** ACTUALITÉS ***/
  /* Compétition */
  .page-id-218 .slide-entry .category-id-10 {
    background-color: var(--red);
  }

  /* Actualité */
  .page-id-218 .slide-entry .category-id-11 {
    background-color: var(--green);
  }

  :is(.page-id-218, .page-id-338) .slide-entry footer,
  .page-id-338 .slide-entry .slide-meta-time {
    display: none;
  }

  /********************** Page des parcours **********************/

  :is(.page-id-180, .page-id-303) .avia-tooltip {
    padding: 0;
  }

  :is(.page-id-180, .page-id-303) .av-tt-hotspot {
    border-radius: 24px;
  }

  :is(.page-id-180, .page-id-303) .av-tt-hotspot .inner_tooltip {
    display: flex !important;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
  }

  :is(.page-id-180, .page-id-303) .av-tt-hotspot h3 {
    padding-top: 16px;
    margin: 0;
    font-size: 18px;
    order: 1;
  }

  :is(.page-id-180, .page-id-303) .av-tt-hotspot p {
    order: 0;
  }

  :is(.page-id-180, .page-id-303) .av-tt-hotspot p,
  :is(.page-id-180, .page-id-303) .av-tt-hotspot p img {
    padding: 0;
    margin: 0;
  }

  :is(.page-id-180, .page-id-303) .av-tt-hotspot p[style*="text-align: left;"] {
    order: 2;
    padding: 0 12px 16px 12px;
  }

  :is(.page-id-180, .page-id-303) .av-tt-hotspot .avia-arrow-wrap {
    bottom: -20px;
  }

  :is(.page-id-180, .page-id-303) .av-tt-hotspot .avia-arrow-wrap .avia-arrow {
    background: white;
  }

  /********************** Page de trou **********************/

  #desc-trou h2 {
    margin: 0;
    text-transform: initial;
  }

  #desc-trou :is(.avia-slideshow, .avia-slideshow-inner) {
    max-height: 482px;
  }

  /************** Page des INFORMATIONS PRATIQUES ***************/

  /* section accès, ajout du padding pour que l'icone ne gene pas la lecture */
  #top.page-id-59 #wrap_all #main #sec-acces div.flex_cell:first-child {
    padding-bottom: 90px;
  }

  /****************************************************/
  /********************** FOOTER **********************/
  /****************************************************/
  /********************** Footer : header **********************/
  #main #footer-page #footer-header {
    min-height: 74px;
  }

  #main #footer-page #footer-header .template-page {
    padding: 0;
  }

  #footer-page #footer-header .flex_column:first-child::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 54px;
    right: -24px;
    width: 124px;
    height: 102px;
    background-image: url("/wp-content/themes/enfold_child/images/red_leaf.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    overflow: visible;
    visibility: visible;
  }

  #footer-page #footer-header .av_three_fifth {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    height: 74px;
    margin: 0 auto;
  }

  #footer-page #footer-header .av-special-heading {
    padding: 0;
    width: max-content;
  }

  #footer-page #footer-header .av-special-heading h4 {
    font-size: 22px;
    line-height: 74px;
  }

  #footer-page #footer-header .avia-icon-list-container {
    margin: 0;
  }

  #footer-page #footer-header .avia-icon-list {
    display: flex;
    height: 42px;
    gap: 8px;
  }

  #footer-page #footer-header .avia-icon-list .avia_start_animation {
    padding: 0;
  }

  #footer-page #footer-header .avia-icon-list .iconlist_icon {
    margin: 0;
    height: 42px;
    width: 42px;
    line-height: 42px;
    font-size: 20px;
    transition: all ease 300ms;
  }

  #footer-page #footer-header .avia-icon-list .iconlist_icon:hover,
  #footer-page #footer-header .avia-icon-list .iconlist_icon:focus {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
  }

  #footer-page #footer-header .iconlist_title {
    display: none;
  }

  #footer-page #footer-header .iconlist_content {
    color: var(--black);
  }

  #main #footer-page #footer-header .av-icon-char {
    padding: 16px;
    margin-right: 0;
    color: var(--green);
    border: none;
  }

  /********************** Footer : contenu **********************/

  #footer-page #footer-content .footer-logo {
    padding-bottom: 12px;
  }

  #footer-page #footer-content .footer-logo img {
    width: 62%;
  }

  #footer-page #footer-content .article-icon-entry p {
    margin-top: 0;
    color: var(--black);
    word-wrap: anywhere;
  }

  #footer-page #footer-content .article-icon-entry a {
    text-decoration: none;
    transition: all ease 300ms;
  }

  #footer-page #footer-content .article-icon-entry a:hover,
  #footer-page #footer-content .article-icon-entry a:focus {
    color: var(--dark-green);
    text-decoration: underline;
  }

  #footer-page #footer-content .iconlist-char::before {
    font-size: 18px;
    margin-right: 8px;
  }

  #footer-page #footer-content .av_leaflet_sc_main_wrap {
    border-radius: 12px;
    border: 5px solid white;
  }

  #main #footer-page #footer-content h3 {
    font-size: 24px;
    color: var(--black);
  }

  #main #footer-page #nav_menu-3 ul li,
  #main #footer-page #nav_menu-2 ul li {
    border: none !important;
  }

  #main #footer-page #nav_menu-2 h3 {
    text-transform: initial;
  }

  #footer-page #footer-content .hr-inner {
    border-top-width: 3px;
  }

  #top #footer-content .flex_column_table:last-child {
    margin-top: 0;
  }

  #footer-page #footer-content #menu-menu-footer,
  #footer-page #footer-content #menu-menu-legal {
    list-style-type: disc;
  }

  #footer-page #footer-content .menu a {
    padding: 2px;
    line-height: 18px;
    color: var(--black);
    transition: all ease 300ms;
  }

  #footer-page #footer-content .menu a:hover {
    background-color: unset !important;
    color: var(--dark-green);
  }

  #wrap_all #scroll-top-link{
    bottom: 80px;
  }

  /****************************************************/
  /********************** SOCKET **********************/
  /****************************************************/
  #socket {
    border: 0px;
  }

  #main #socket {
    max-height: 42px;
    min-height: unset;
  }

  #main #socket :is(.template-page, .container) {
    padding: 0;
  }

  #socket p {
    height: 32px;
    font-size: 14px;
    line-height: 32px;
  }
}

/* CSS pour un format style iPad Pro  */
@media only screen and (max-width: 1300px) and (min-width: 768px) {
  /***************************************************************/
  /************************HEADER*********************************/
  /***************************************************************/

  /********************** Navigation secondaire **********************/

  #header_in_between {
    display: none;
  }

  /********************** Navigation principale **********************/
  /* On impose le burger menu dès cet instant pour éviter les difficultés que l'on peut rencontrer au format tablette  */

  #top #header .av-main-nav > li {
    display: none;
  }

  #top #header .av-main-nav > li.special-menu-item {
    display: block;
  }

  #top #header #header_main .av-burger-menu-main {
    display: block;
    position: fixed;
    right: 80px;
    top: 24px;
  }

  #top #header #header_main .av-burger-menu-main a {
    display: flex;
    align-items: center;
  }

  #top #header #header_main .av-hamburger-inner,
  #top #header #header_main .av-hamburger-inner::before,
  #top #header #header_main .av-hamburger-inner::after {
    background-color: var(--black);
  }

  #header_main #av-burger-menu-ul .special-menu-item {
    display: none;
  }

  #header #header_main #av-burger-menu-ul li > a {
    background-color: transparent;
  }

  #top #header #header_main .av-burger-overlay-bg {
    background-color: var(--black);
    opacity: 0.8;
  }

  /*****************************************************/
  /********************** TAB BAR **********************/
  /*****************************************************/

  #top #sidebar_fixe {
    position: fixed;
    bottom: 24px;
    left: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 248px);
    height: 82px;
    padding: 6px 4px;
    margin: 0 auto;
    background-color: white;
    border-radius: 24px;
    transform: translateX(-50%);
    z-index: 5;
  }

  #sidebar_fixe a {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    color: var(--dark-green);
    height: 100%;
    justify-content: flex-end;
    width: 100%;
    text-align: center;
    line-height: 14px;
  }

  #sidebar_fixe a span::before {
    position: absolute;
    top: 8px;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    padding: 4px;
    background-color: var(--dark-green);
    color: white;
    font-family: "golf-icon", sans-serif;
    font-size: 14px;
    text-align: center;
    border-radius: 50%;
    transform: translate(-50%);
  }

  /* Association des icones au menu */
  #sidebar_fixe a #sidebar_fixe_espace_membres::before {
    content: "\e827";
  }
  #sidebar_fixe a #sidebar_fixe_direct::before {
    content: "\e825";
  }
  #sidebar_fixe a #sidebar_fixe_infos::before {
    content: "\e828";
  }
  #sidebar_fixe a #sidebar_fixe_reservation::before {
    content: "\e83b";
  }
  #sidebar_fixe a #sidebar_fixe_contacts::before {
    content: "\e826";
  }

  /******************************************************/
  /********************** HOMEPAGE **********************/
  /******************************************************/
  /********************** Section Hero **********************/

  #wrap_all #hero .flex_column:last-child {
    top: 64px;
  }

  #wrap_all #hero .avia-image-overlay-wrap {
    right: unset;
  }

  #wrap_all #hero img {
    height: 464px;
  }

  /********************** Section activités **********************/
  #top #section-activites .carte-activite {
    flex: 1 1 224px;
  }

  /* Faire en sorte que l'image soit toujours à 100% de la largeur de la carte */
  #top #section-activites .carte-activite .avia-image-container {
    margin: 0;
  }

  #top
    #section-activites
    .carte-activite
    :is(
      .avia-image-container,
      .avia-image-container-inner,
      .avia-image-overlay-wrap,
      img
    ) {
    width: 100%;
  }

  /********************** Section services **********************/

  #top #section-services .container .flex_column_table .flex_column {
    width: 100%;
    flex: 1 1 212px;
  }

  /* Faire en sorte que l'image soit toujours à 100% de la largeur de la carte */

  #top
    #section-services
    .container
    .flex_column_table
    .flex_column.avia-image-container {
    margin: 0;
  }

  #top
    #section-services
    .container
    .flex_column_table
    .flex_column
    :is(
      .avia-image-container,
      .avia-image-container-inner,
      .avia-image-overlay-wrap,
      img
    ) {
    width: 100%;
  }

  /********************** Section récapitulatif **********************/

  #top #wrap_all #section-recap .flex_column_table {
    max-height: unset;
    height: unset;
    flex-wrap: wrap;
    gap: 24px;
  }

  #section-recap .flex_column_table .flex_column {
    flex: 0 1 242px;
    width: 100%;
  }

  /****************************************************/
  /********************** FOOTER **********************/
  /****************************************************/
  /********************** Footer : header **********************/

  #wrap_all #footer-page #footer-header .av_one_fifth {
    width: 8%;
  }

  #wrap_all #footer-page #footer-header .av_three_fifth {
    width: 64%;
  }

  #wrap_all #footer-page #footer-header .av-flex-placeholder {
    display: none;
  }

  #scroll-top-link{
    bottom: 80px;
  }
}
