.et_fixed_nav.et_show_nav #page-container.custom-header-ibis-central {
  padding-top: 0;
}

.ibis-central-header {
  position: fixed;
  top: 65px;
  right: 40px;
  width: 100vw;
  max-width: 94vw;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

body.fixedPosition {
  overflow: hidden;
  height: 100vh;
}

div#header-wrapper {
  height: 150px;
}
div#header-wrapper.home-page {
  height: 0px;
}
/* Ajustement pour l'admin bar WordPress */

.ibis-central-header .logo-container:not(.mobile) {
  opacity: 1;
  visibility: visible;
  transition: all 0.5s ease-in-out;
}
.ibis-central-header.logo-hidden .logo-container {
  opacity: 0;
  visibility: hidden;
}

.logo-container.mobile {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
}

.ibis-central-menu-items {
  display: flex;
  gap: 20px;
  max-width: 100vw;
  max-height: 100vh;
  transition: max-width 0.5s ease-in-out, max-height 0.5s ease-in-out,
    padding 0.15s ease-in-out;
  overflow: hidden;
  border-radius: 50px;
  padding: 15px 20px;
  align-items: flex-end;
}

.ibis-central-menu-wrapper {
  display: flex;
  padding: 5px;
  gap: 10px;
}

div#primary-menu-wrapper {
  border-radius: 50px;
  display: flex;
  transition: all 0.5s ease-in-out;
}
div#primary-menu-wrapper:has(.closed) {
  background: #b82427;
}
div#primary-menu-wrapper:has(.opened) {
  background: #306e7c;
}

.open-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
}

.open-menu svg .line {
  transition: all 0.3s ease;
  transform-origin: center;
}

.open-menu.active svg .top {
  transform: rotate(45deg) translate(1px, 8px);
}

.open-menu.active svg .middle {
  opacity: 0;
}

.open-menu.active svg .bottom {
  transform: rotate(-45deg) translate(-1px, -8px);
}

ul.ibis-central-menu-list {
  display: flex;
  gap: 5px;
  align-items: center;
  row-gap: 20px;
}

.opened ul.ibis-central-menu-list {
  animation: towrap 0.1s ease-in-out 0.5s;
}

ul.ibis-central-menu-list li.current-menu-item a {
  color: #ddaf66;
}
ul.ibis-central-menu-list li.current-menu-item.menu-item a:after {
  width: 100%;
  background: #ddaf66;
}
.closed ul.ibis-central-menu-list,
.closed .hrztl-separator,
.closed .close-menu {
  padding: 0;
}

ul.ibis-central-menu-list .menu-item {
  width: max-content;
}
ul.ibis-central-menu-list .menu-item a {
  padding: 0 10px;
  position: relative;
  display: block;
}
ul.ibis-central-menu-list .menu-item a:after {
  background: transparent;
  bottom: 0;
  content: '';
  display: block;
  height: 2px;
  left: 0;
  position: relative;
  transition: width 0.5s ease 0s;
  width: 0;
  top: 2px;
}

ul.ibis-central-menu-list .menu-item a:hover:after {
  width: 100%;
  background: #ddaf66;
}

.ibis-central-header .close-menu {
  line-height: 0;
  border: none;
  background: none;
}
.hrztl-separator {
  width: 1px;
  height: 20px;
  background: #000;
}

.ibis-central-menu-wrapper button.menu-reservation-btn {
  padding: 0 30px;
  background: #b82427;
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'mulish', sans-serif;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  text-transform: uppercase;
}
.ibis-central-menu-wrapper button.menu-reservation-btn:hover {
  background: white;
  color: #363e45;
}

.ibis-central-menu-wrapper a {
  color: #fff;
  text-transform: uppercase;
  font-family: 'mulish', sans-serif;
  font-weight: 500;
  line-height: 16px;
}

.ibis-central-menu-items.closed {
  max-width: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0;

  transition: max-width 0.5s ease-in-out, max-height 0.5s ease-in-out,
    padding 0s ease-in-out 0.5s;
}

#open-menu {
  visibility: visible;
  max-width: 150px;
  max-height: 150px;
  padding: 15px;
  aspect-ratio: 1 / 1;
  border-radius: 50px;
  transition: all 0.5s ease-in-out;
  border: none;
  background: none;
  cursor: pointer;
}
#close-menu {
  cursor: pointer;
}

@media screen and (max-width: 1100px) {
  .ibis-central-header {
    top: 20px;
    right: 20px;
    max-width: 89vw;
    transition: all 0.5s ease-in-out;
  }
  .ibis-central-header:has(#open-menu.opened) {
    top: 20px;
    right: 10%;
    transform: translateX(10%);
    max-width: 90vw;
  }
  .ibis-central-menu-wrapper:has(#open-menu.opened) {
    flex-direction: column;
  }
  ul.ibis-central-menu-list {
    flex-direction: column;
  }
  .ibis-central-menu-items {
    flex-direction: column-reverse;
    padding: 20px;
  }
  .hrztl-separator {
    width: 70px;
    height: 1px;
  }
  div#primary-menu-wrapper {
    max-height: 100vh;
    flex-direction: column-reverse;
    align-items: center;
  }
  div#primary-menu-wrapper:has(.opened) {
    padding: 50px;
  }

  .ibis-central-menu-wrapper button.menu-reservation-btn {
    min-height: 52px;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .ibis-central-header,
  .admin-bar .ibis-central-header:has(#open-menu.opened) {
    top: 56px;
  }

  .ibis-central-header .logo-container {
    opacity: 0;
    visibility: hidden;
    display: none;
  }
  .ibis-central-header #primary-menu-wrapper:has(.opened) .logo-container.mobile {
    opacity: 1;
    visibility: visible;
    display: block;
  }

  .ibis-central-header {
    justify-content: flex-end;
  }
}

/*bouton reservation content*/
.reservation-menu-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  max-width: 0;
  height: 100%;
  z-index: 9999;
  background-color: #306e7c;
  padding: 0;
  transition: max-width 0.5s ease-in-out, padding 0.5s ease-in-out;
  overflow: auto;
  border-radius: 24px 0 0 24px;
}
.reservation-menu-wrapper.opened {
  width: fit-content;
  padding: 0 0 0 40px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
}

.reservation-menu {
  margin-top: 50px;
}

ul.reservation-menu-list {
  display: flex;
  flex-direction: column;
  margin: 50px 0;
  gap: 20px;
}
ul.reservation-menu-list li {
  width: 100%;
}
ul.reservation-menu-list li:last-of-type {
  border-bottom: none;
}
ul.reservation-menu-list li a {
  padding: 20px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 18px;
  color: #fff;
}
ul.reservation-menu-list li a {
  padding: 20px 0 10px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 18px;
  color: #fff;
}

ul.reservation-menu-list li a:after {
  content: '';
  padding: 0;
  line-height: normal;
  height: 9px;
  width: 100px;
  background: url(/wp-content/uploads/image-menu-item-reservation.png) no-repeat
    left;
}
ul.reservation-menu-list li a:before {
  content: '';
  background: transparent;
  display: block;
  height: 2px;
  left: 0;
  transition: width 0.5s ease 0s;
  width: 0;
  bottom: 2px;

  position: absolute;
}
ul.reservation-menu-list li:hover a:before {
  width: calc(100% - 130px);
  background: #ddaf66;
}

.logo-reservation-menu {
  display: block;
  margin: auto;
  width: 100%;
  max-width: 300px;
}

#overlay-menu-reservation {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9998;
  background: #0000003d;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
#overlay-menu-reservation.opened {
  visibility: visible;
  opacity: 1;
}

#close-reservation-menu {
  cursor: pointer;
  width: max-content;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  gap: 10px;
  font-size: 16px;
  color: #bcc3c8;
  margin: auto 0 auto auto;
  padding-right: 40px;
}
#cta-wrapper {
  position: fixed;
  z-index: 99;
  bottom: 35px;
  right: 35px;
  width: fit-content;
  display: flex;
  border: 1px solid #363e45;
}

.cta-img img {
  width: 34px;
  height: 34px;
}

.cta-img {
  padding: 15px;
  background: #363e45;
  display: flex;
  align-items: center;
}

.cta-txt {
  padding: 0;
  background: #fff5f2;
  display: flex;
  align-items: center;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  white-space: nowrap;
}

#cta-wrapper:hover .cta-txt {
  padding: 15px;
  opacity: 1;
  max-width: 200px;
  overflow: visible;
}

@keyframes towrap {
  from {
    flex-wrap: nowrap;
  }
  to {
    flex-wrap: wrap;
  }
}
