.navigation-menu-mobile {
  text-align: center !important;
  overflow: hidden;
}
.navigation-menu-mobile .sub-menu {
  width: 100% !important;
  position: static !important;
  margin: 0 auto !important;
}
.navigation-menu-mobile .sub-menu a {
  display: inline-block;
}
.navigation-menu-mobile .has-submenu {
  position: relative;
  transition: none !important;
}
.navigation-menu-mobile .has-submenu::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  margin: 0 calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}
.navigation-menu-mobile .has-submenu .sub-arrow {
  transform: rotate(90deg);
}
.navigation-menu-mobile .has-submenu.active::before {
  background-color: inherit;
  opacity: 1 !important;
}
.navigation-menu-mobile .has-submenu.active .sub-arrow {
  transform: rotate(-90deg);
}
.navigation-menu-mobile ul:not(.sub-menu) li a {
  max-width: 460px;
  padding: 0 35px;
  margin-left: auto;
  margin-right: auto;
}
.navigation-menu-mobile .menu-item {
  position: relative;
}
.navigation-menu-mobile .sub-arrow {
  width: 30px;
  height: 30px;
  min-width: 30px;
  aspect-ratio: 1/1;
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  margin: auto 0 auto auto !important;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  transition: transform 0.3s ease;
}
.navigation-menu-mobile .sub-arrow i {
  filter: brightness(0);
  font-size: 16px;
}

body:not(.single-elementor_library) #navigation-menu-mobile-section {
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 1001;
}
body:not(.single-elementor_library) #navigation-menu-mobile-section.open {
  display: block !important;
}
body:not(.single-elementor_library) #navigation-menu-mobile-section > .elementor-container {
  height: 100%;
}

@-webkit-keyframes translateUp {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes translateUp {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
#navigation-menu-top {
  position: fixed;
  width: 100%;
  z-index: 9999;
}
@media (max-width: 1030px) {
  #navigation-menu-top > .elementor-container {
    padding: 5px 0;
  }
}
#navigation-menu-top.scrolling > .elementor-container, #navigation-menu-top.open > .elementor-container {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 5px 0;
}
#navigation-menu-top.scrolling > .elementor-container::after, #navigation-menu-top.open > .elementor-container::after {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  margin: 0 calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
  background: #fff;
  border-bottom: 1px solid #D9D9D9;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.1);
}

.dmw-elementor-custom-menu {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}
.dmw-elementor-custom-menu .open-menu {
  width: 45px;
  height: 45px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  position: relative;
  align-items: center;
  margin: 0 0 0 auto;
  aspect-ratio: 1/1;
  border: 0 !important;
  background: #fff !important;
  align-self: flex-start;
  /*         &:focus {
              .menu-description {
                  bottom: -20px;
              }
          }
          .cross.open+.menu-description {
              bottom: -20px;
          } */
}
.dmw-elementor-custom-menu .open-menu .menu-description {
  position: absolute;
  bottom: -20px;
  color: #000;
  transition: bottom 0.3s ease-in-out;
}
@media (max-width: 768px) {
  .dmw-elementor-custom-menu .open-menu .menu-description, .dmw-elementor-custom-menu .open-menu:focus .menu-description, .dmw-elementor-custom-menu .open-menu .cross.open + .menu-description {
    bottom: 10px;
    right: 110%;
  }
}

@media (max-width: 992px) {
  .dmw-elementor-custom-menu:not(.dmw-elementor-custom-menu-footer) #menu-menu-acces-rapides {
    display: none;
  }
}

@media (min-width: 992px) {
  .dmw-elementor-custom-menu-footer {
    display: none;
  }
}

.dmw-elementor-custom-menu ul, .dmw-elementor-custom-menu-footer ul {
  padding: 0;
  margin: 0 auto;
  display: flex;
  list-style: none;
}
.dmw-elementor-custom-menu ul li a, .dmw-elementor-custom-menu-footer ul li a {
  display: flex;
  flex-flow: column-reverse;
  justify-content: center;
  align-items: center;
}
.dmw-elementor-custom-menu ul li a:hover, .dmw-elementor-custom-menu-footer ul li a:hover {
  opacity: 0.8;
}
.dmw-elementor-custom-menu ul li a img, .dmw-elementor-custom-menu-footer ul li a img {
  aspect-ratio: 1/1;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  margin-bottom: 7px;
}
.dmw-elementor-custom-menu ul li + li, .dmw-elementor-custom-menu-footer ul li + li {
  padding-left: 30px;
}

.dmw-elementor-custom-menu-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--e-global-color-primary);
  z-index: 999999;
  padding: 15px 10px 10px 10px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.dmw-elementor-custom-menu-footer:not(.active) {
  transform: translateY(100%);
}
.dmw-elementor-custom-menu-footer ul {
  display: flex !important;
}
.dmw-elementor-custom-menu-footer ul li a {
  color: #fff;
  font-size: 75%;
}
.dmw-elementor-custom-menu-footer ul li a img {
  filter: brightness(0) invert(1);
}

.cross {
  display: block;
  width: 28px;
  height: 19px;
  cursor: pointer;
  position: relative;
}
.cross::after {
  content: " ";
  width: 45px;
  height: 45px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  left: -9px;
  top: -13px;
  z-index: -1;
  transition: all 0.3s;
}
.cross span {
  position: absolute;
  display: block;
  left: 0;
  height: 2.36px;
  width: 100%;
  background: #000;
  opacity: 1;
}
.cross span:nth-child(1) {
  top: 0px;
}
.cross span:nth-child(2), .cross span:nth-child(3) {
  top: 8px;
}
.cross span:nth-child(4) {
  top: 16px;
}
.cross.open {
  z-index: 9999;
}
.cross.open::after {
  background-color: #F3F3F3;
}
.cross.open span {
  max-width: 30px;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.cross.open span:nth-child(1) {
  top: 18px;
  width: 0;
  left: 50%;
}
.cross.open span:nth-child(2) {
  transform: rotate(45deg);
}
.cross.open span:nth-child(3) {
  transform: rotate(-45deg);
}
.cross.open span:nth-child(4) {
  top: 18px;
  width: 0;
  left: 50%;
}

.menu-right .elementor-container {
  margin-right: 0;
  justify-content: flex-end;
}

@media (max-width: 992px) {
  .menu-width-custom-widget-menu {
    width: 70px !important;
  }
}

.menu-right .elementor-container .elementor-column:first-of-type {
  width: 149px !important;
}
@media (max-width: 768px) {
  .menu-right .elementor-container .elementor-column:first-of-type {
    display: none;
  }
}

.elementor-widget-nav-menu .current-menu-item > a {
  text-decoration: underline;
}

h1 {
  scroll-margin-top: 5rem;
}

.elementor-element .elementor-nav-menu--main.elementor-nav-menu__container .elementor-nav-menu .elementor-nav-menu--dropdown {
  background-color: inherit;
}
.elementor-element .elementor-nav-menu--main.elementor-nav-menu__container .elementor-nav-menu .elementor-nav-menu--dropdown a:hover, .elementor-element .elementor-nav-menu--main.elementor-nav-menu__container .elementor-nav-menu .elementor-nav-menu--dropdown a.elementor-item-active, .elementor-element .elementor-nav-menu--main.elementor-nav-menu__container .elementor-nav-menu .elementor-nav-menu--dropdown a.highlighted {
  background-color: inherit;
}
