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

.ibis-chalon-header {
    position: fixed;
    top: 40px;
    right: 40px;
    width: fit-content;
    max-width: 94vw;
    z-index: 999;
    background: #FFF5F2;
    border: 1px solid #CCCCDB;
}

/* Ajustement pour l'admin bar WordPress */
.admin-bar .ibis-chalon-header {
    top: 72px;
}

.ibis-chalon-menu-items {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    max-width: 100vw;
    max-height: 100vh;
    transition: max-width 0.5s ease-in-out, max-height 0.5s ease-in-out;
    overflow: hidden;
}

.ibis-chalon-menu-wrapper {
    display: flex;
    align-items: center;
    padding: 5px;
}

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


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

.opened ul.ibis-chalon-menu-list {
    animation: towrap 0.1s ease-in-out 0.5s;
    animation-fill-mode: forwards;
}

ul.ibis-chalon-menu-list li.current-menu-item a{
    color: #85221e;

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

ul.ibis-chalon-menu-list .menu-item{
    width: max-content;
}
ul.ibis-chalon-menu-list .menu-item a{
    padding: 0 10px;
    position: relative;
    display: block;
}
ul.ibis-chalon-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;
}

ul.ibis-chalon-menu-list .menu-item a:hover:after{
    width: 100%;
    background: #85221e
}

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

.ibis-chalon-menu-wrapper button.menu-reservation-btn {
    padding: 10px;
    background: #363E45;
    border: 1px solid #363E45;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}
.ibis-chalon-menu-wrapper button.menu-reservation-btn:hover {
    background: white;
    color: #363E45;
}

.ibis-chalon-menu-wrapper a {
    color: #000000;
}

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

}

a#open-menu {
    visibility: visible;
    max-width: 150px;
    max-height: 150px;
    padding: 5px 20px;
    transition: all 0.5s ease-in-out ;
}
a#open-menu.opened {
    visibility: hidden;
    max-width: 0;
    max-height: 0;
    padding: 0 0 ;
}
#close-menu {
    cursor: pointer;
}




@media screen and (max-width: 1100px) {
    .ibis-chalon-header {
        top: 20px;
        right: 20px;
        max-width: 89vw;
        transition: all 0.5s ease-in-out;
    }
    .ibis-chalon-header:has(#open-menu.opened) {
        top: 20px;
        right: 10%;
        transform: translateX(10%);
        max-width: 90vw;
    }
    .ibis-chalon-menu-wrapper:has(#open-menu.opened) {

        flex-direction: column;
    }
    ul.ibis-chalon-menu-list {
        flex-direction: column;
    }
    .ibis-chalon-menu-items {
        flex-direction: column-reverse;
        padding: 20px;
    }
    .hrztl-separator{
        width: 70px;
        height: 1px;
    }

}

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

/*bouton reservation content*/
.reservation-menu-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    max-width: 0;
    height: 100%;
    z-index: 9999;
    background-color: #FFF5F2  ;
    padding: 0;
    transition: max-width  0.5s ease-in-out, padding 0.5s ease-in-out;
    overflow: auto;
}
.reservation-menu-wrapper.opened {
    width: fit-content;
    padding: 0 40px;
    max-width: 500px;
}

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

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

ul.reservation-menu-list li a:after {
    content: "$";
    font-size: 18px;
    font-family: 'ETmodules';
    padding: 6px;
    border: 1px solid;
    line-height: normal;
    height: 16px;
    width: 16px;
}

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

#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: #777B80;
    margin: auto 0 auto auto;
}
#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;
    }
}
