/* 
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
*/

.page-header {
  display: none;
}

/* Slider home partenaires */
.slider-blur-edges .elementor-image-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.slider-blur-edges .elementor-image-carousel-wrapper::before,
.slider-blur-edges .elementor-image-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.slider-blur-edges .elementor-image-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.slider-blur-edges .elementor-image-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.sticky_content {
  position: sticky;
  top: 10rem;
}

/* menu mobile */

.dm-off-canvas {
  transition: right 0.5s ease-in-out;
  position: fixed;
  right: -100%;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  max-height: 100vh;
  -webkit-overflow-scrolling: touch;
  z-index: 9999 !important
}

.dm-off-canvas.open {
  right: 0%;
}

/* Customize scrollbar */
.dm-off-canvas::-webkit-scrollbar {
  width: 0px; /* Width of the scrollbar */
}

.dm-toggle,
.dm-toggle-close {
  cursor: pointer;
}

/* Sous-menus simples - UNIQUEMENT EN TABLETTE ET MOBILE */
@media (max-width: 1024px) {
  .elementor-element-71cc797 {
    z-index: 1 !important;
  }

  .elementor-nav-menu--dropdown {
    z-index: 9999 !important;
  }
  .elementor-item {
    line-height: 1.5 !important;
    word-wrap: break-word !important;
    white-space: normal !important;
  }
  .elementor-nav-menu--dropdown {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    min-width: auto !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    float: none !important;
    margin: 0 !important;
    z-index: 9999 !important;
    text-align: right !important;
  }

  /* Éléments des sous-menus */
  .elementor-nav-menu--dropdown .elementor-sub-item {
    display: block !important;
    padding: 15px 0 15px 15px !important;
    background: none !important;
    color: white !important;
    margin-bottom: 10px !important;
    line-height: 1 !important;
    word-wrap: break-word !important;
    white-space: normal !important;
  }

  .elementor-nav-menu--dropdown .elementor-sub-item:hover {
    background: none !important;
    color: var(--e-global-color-secondary) !important;
  }

  .elementor-nav-menu .sub-arrow {
    display: block;
  }
}

/* gt translate */

.gt_float_switcher {
  box-shadow: none !important;
  border-radius: 10px !important;
}

.gt-lang-code {
  display: none;
}

.nturl {
  font-size: 0;
}

/* page besoin d'aide */

#container-informe,
#container-oriente {
  display: none;
  opacity: 0;
}

#container-informe.active,
#container-oriente.active {
  display: block;
  opacity: 1;
  animation: slideIn 0.4s ease;
}

#card-informe,
#card-oriente {
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

#card-informe:hover,
#card-oriente:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.elementor-editor-active #container-informe,
.elementor-editor-active #container-oriente {
  display: block;
  opacity: 1;
}

/* lenis */

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

@media (max-width: 768px) {
  .elementor-element-4881428 {
    z-index: 1 !important;
  }
}
