/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
@font-face {
    font-family: 'Sailec';
    src: url('fonts/Sailec-Regular.woff2') format('woff2'),
    url('fonts/Sailec-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sailec';
    src: url('fonts/Sailec-RegularItalic.woff2') format('woff2'),
    url('fonts/Sailec-RegularItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Sailec';
    src: url('fonts/Sailec-Bold.woff2') format('woff2'),
    url('fonts/Sailec-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sailec';
    src: url('fonts/Sailec-BoldItalic.woff2') format('woff2'),
    url('fonts/Sailec-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

body{
    overscroll-behavior: contain;
}
body, h1, h2, h3, p, li, a{
    font-family: 'Sailec' !important;
}

header .hfe-site-logo-img{
    width: 180px;
}

@media (max-width: 801px) {
    .hero-logo img{
        width: 100px !important;
    }
    #menu-1-6974d63 > .menu-item{
        border-top: 1px solid #000;
    }
    .elementor-30 .elementor-element.elementor-element-6974d63 .hfe-nav-menu__toggle{
        margin-right: 0;
        margin-left: auto;
    }
}
#menu-item-64 .sub-menu a{
    background-color: #10BEE8;
    color: #224099;
}
#menu-item-64 .sub-menu a:hover{
    color: white;
}

.hero-section-titres > div > div:first-of-type span{
    background: #32BCAD !important;
}
.hero-section-titres > div > div:last-of-type span{
    background: white !important;
}
@media (max-width: 800px){
    .hero-section-titres h2{
        font-size: 30px;
        line-height: 50px;
        margin: 0;
    }
}
@media (min-width: 801px){
    .hero-section-titres h2{
        font-size: 60px;
    }
}
.hero-section-titres > div > div:first-of-type{
    width: fit-content;
}
.hero-section-titres  > div > div:last-of-type{
    width: fit-content;
}

@media (max-width:1000px){
    .elementor-widget-html{
        width:100% !important;
        max-width:100% !important;
    }
}

@media (max-width:1000px){
    .elementor-widget-html{
        width:100% !important;
        max-width:100% !important;
    }
}

main#content{
    min-height: calc(100vh - 160px);
}

.accueil-video iframe{
    aspect-ratio: 9/5;
}

#menu-item-3743{
    border: 3px solid white;
}

/*** ARENE ***/
.arene{
    max-height: 100vh;
    display: flex;
}
.arene svg{
    margin-left: auto;
    margin-right: auto;
}
.arene-popup{
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    z-index: 100;
    background-color: rgba(00, 00, 00, .6);
}
.arene-popup-container{
    position: relative;
    height: 80%;
    width: 70%;
    background-color: white;
    border-radius: 30px;
    overflow: hidden;
}
.arene-popup-container-close{
    position: absolute;
    top: 12px;
    right: 30px;
    z-index: 102;
    width: 45px;
    height: 45px;
    border: none;
    background-color: transparent !important;
    background: url('img/close.png') no-repeat 100%;
}
.arene-popup-container-content{
    width: 100%;
    height: 100%;
    overflow: auto;
    display: none;
}

.arene-popup-container .elementor-element.retour-arene{
    display: none;
}

.arene-popup .arene-popup-container-boutons-nav{
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 30px auto;
}
.arene-popup .arene-popup-container-boutons-nav .arene-popup-container-next, .arene-popup .arene-popup-container-boutons-nav .arene-popup-container-prev{
    border: none;
    color: white;
    background-color: var(--e-global-color-primary);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 20px;
}
.arene-popup .arene-popup-container-boutons-nav .arene-popup-container-next:hover, .arene-popup .arene-popup-container-boutons-nav .arene-popup-container-prev:hover{
    color: var(--e-global-color-accent);
}
.arene-popup .arene-popup-container-boutons-nav .arene-popup-container-next:hover svg path, .arene-popup .arene-popup-container-boutons-nav .arene-popup-container-prev:hover svg path{
    stroke: var(--e-global-color-accent);
}
.arene-popup .arene-popup-container-boutons-nav svg{
    width: 8px;
}

.arene .fiche{
    display: none;
}
#arene-popup .arene-popup-container-content > .elementor > .e-con-full > .elementor-element.elementor-widget-image img{
    width: 300px;
}

.popupshow{
    display: flex;
    overscroll-behavior: contain;
}
.popupcontentshow{
    display: block;
}

circle{
    /* transition: fill .3s ease, opacity .3s ease; */
}
a:hover circle{
   opacity: 1; 
   fill: white;
}

#popup-content:has(.loader){
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #224099;
  box-shadow: 20px 0 #224099, -20px 0 #224099;
  position: relative;
  animation: flash 0.5s ease-out infinite alternate;
  margin-left: 20px;
}

@keyframes flash {
  0% {
    background-color: grey;
    box-shadow: 20px 0 grey, -20px 0 #224099;
  }
  50% {
    background-color: #224099;
    box-shadow: 20px 0 grey, -20px 0 grey;
  }
  100% {
    background-color: grey;
    box-shadow: 20px 0 #224099, -20px 0 grey;
  }
}

/** ACCORDEON **/
.e-n-accordion-item-title-header{
    width: 82%;
}
.e-n-accordion-item-title{
    transition: border-bottom-left-radius 0.5s ease, border-bottom-right-radius 0.5s ease;
}
.e-n-accordion-item-title.ouvert{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.e-n-accordion-item-title-icon{
    position: absolute !important;
    right: 10px !important;
}
.e-n-accordion .elementor-shortcode .elementor-element:has(>h1), .e-n-accordion .elementor-shortcode .elementor-element.retour-arene{
    display: none;
}

/** AUDIO **/
.mejs-container, .mejs-container .mejs-controls, .mejs-embed, .mejs-embed body{
    background: #224099 !important;
    border-radius: 20px;
}

#arene-popup audio{
    background: #224099 !important;
}

/** FICHE POI **/
.elementor-testimonial-content{
    margin-bottom: 0 !important;
}

/** CAROUSEL **/
@media (min-width: 1024px) {
    #carousel-arenes{
    }
}

/* .embla__slide {
    flex: 0 0 45%;
    min-width: 0;
    margin: 0 10px;
    opacity: 0.5;
    transform: scale(0.9);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.embla__slide.is-snapped.is-in-view {
    transform: scale(1);
    opacity: 1;
} */
.carousel-arenes{
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.embla {
  max-width: 100%;
  width: 100%;
  margin: auto;
  --slide-height: 19rem;
  --slide-spacing: 1rem;
  --slide-size-D: calc(100% / 3);
  --slide-size-M: 100%;
}
.embla__viewport {
  overflow: hidden;
}
.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
  margin-left: calc(var(--slide-spacing) * -1);
}
.embla__slide {
  min-width: 0;
  /* padding-left: var(--slide-spacing); */
}
@media (max-width: 800px){
    .embla__slide {
        flex: 0 0 var(--slide-size-M);
    }
    .embla__viewport{
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width: 801px){
    .embla__slide {
        flex: 0 0 var(--slide-size-D);
    }
    .embla__slide .embla__slide__inner{
        transform: scale(0.8);
        transition: transform 0.3s ease;
    }
    .embla__slide.is-snapped.is-in-view .embla__slide__inner {
        transform: scale(1);
    }
}
.embla__slide .embla__slide__inner{
    display: block;
    background-color: #224099;
    color: white;
    text-decoration: none;
}
.embla__slide_texte{
    padding: 20px;
    width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
}
.embla__slide_texte h3{
    font-weight: bold;
}
.embla__buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    width: 105%;
    bottom: 0;
    top: 0;
    right: -2%;
}
.embla__button {
  background-color: white;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  border: 0.2rem solid var(--detail-medium-contrast);
  width: 51px;
  height: 51px;
  z-index: 1;
  border-radius: 50%;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(0deg);
}
.embla__button, .embla__button:hover, .embla__button:active{
  background-color: white !important;
}
.embla__button__svg {
  width: 35%;
  height: 35%;
}
.embla__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
}
.embla__dot {
  background-color: black !important;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  opacity: 0.3;
}
.embla__dot--selected {
  opacity: 1;
}

/** FIGCAPTION **/
figcaption:before{
    content: url(img/bleu.png);
    margin-right: 5px;
}
.texte-image figcaption:before{
    content: url(img/vert.png);
    margin-right: 5px;
}

/** RECHERCHE **/
@media (min-width:1000px) {
    .resultats-recherche{
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}
.resultats-recherche .resultats-titre{
    width: fit-content;
    border-style: solid;
    border-width: 0px 0px 10px 0px;
    border-color: var(--e-global-color-accent);
    margin-bottom: 2%;
}
.resultats-recherche{
    margin-top: 2%;
}

.resultats-recherche .searchbar{
    margin: 20px 0;
}
.resultats-recherche .search-form{
    display: flex;
    align-items: center;
}
.resultats-recherche .search-form label .search-field{
    background-color: #ededed;
    border: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.resultats-recherche .search-form .search-submit{
    color: #fff;
    min-width: 50px;
    background-color: var(--e-global-color-primary);
    font-size: 16px;
    border: none;
    font-weight: bold;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.resultats-recherche .resultats{
   display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 1% 0;
}
@media (max-width:999px){
    .resultats-recherche{
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width:1000px){
    .resultats-recherche .resultats{
        width: 70%;
    }
}
.resultats-recherche h1{
    font-size: var(--e-global-typography-c7b4849-font-size);
    font-weight: var(--e-global-typography-c7b4849-font-weight);
    color: var(--e-global-color-text);
}
.resultats-recherche h2{
    font-size: 22px;
    font-weight: bold;
    color: var(--e-global-color-primary);
}
.resultats-recherche .resultat{
    width: fit-content;
}
.resultats-recherche .resultat h2{
    margin: 0;
}
.resultats-recherche .resultat:hover h2{
    color: var(--e-global-color-166852b);
}
.resultats-recherche p{
    color: black;
}

.resultats-recherche .search-pagination{
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 1% 0;
}
.resultats-recherche .search-pagination span, .resultats-recherche .search-pagination a{
    font-weight: bold;
}
.resultats-recherche .search-pagination span{
    color: var(--e-global-color-166852b);
}
.resultats-recherche .search-pagination a{
    color: var(--e-global-color-primary);
}
.resultats-recherche .search-pagination a:hover{
    color: var(--e-global-color-166852b);
}

.post-tags{
    display: none;
}

/** FOOTER **/
@media (max-width: 800px) {
    //body, html{
    //    overflow-x: hidden;
    //}
    .footer-logo{
        position: initial !important;
        padding-bottom: 20px;
    }
}
.footer-logo img{
    width: 120px;
}

/** COOKIES **/
.parametres-cookies-bouton a{
    cursor: pointer;
}
.tac_activate .tac_float .tarteaucitronAllow, #tarteaucitronAlertBig #tarteaucitronPersonalize, #tarteaucitronAlertBig #tarteaucitronPersonalize2, .tarteaucitronCTAButton, #tarteaucitronRoot .tarteaucitronDeny{
  background-color: var(--e-global-color-166852b) !important;
  color: white !important;
}
#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow, #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny, .tac_activate .tarteaucitronAllow, #tarteaucitronRoot .tarteaucitronAllow{
  background: var(--e-global-color-166852b) !important;
  color: white !important;
}