html {
    overflow-y: scroll;
}
html #close-hippo-results {
    display: none !important;
}
html #hc-widget-search-behind-results {
    display: none;
}
html:has(
    #hc-widget-search-results:not(.d-none),
    #hc-widget-billingitems-form:not(.d-none),
    #hc-widget-customer-form:not(.d-none),
    #hc-widget-payment-form:not(.d-none),
    #hc-widget-confirmation-form:not(.d-none),
    #hc-widget-insurance-form:not(.d-none)
) {
    overflow-y: hidden;
}
html:has(
        #hc-widget-search-results:not(.d-none),
        #hc-widget-billingitems-form:not(.d-none),
        #hc-widget-customer-form:not(.d-none),
        #hc-widget-payment-form:not(.d-none),
        #hc-widget-confirmation-form:not(.d-none),
        #hc-widget-insurance-form:not(.d-none)
    )
    #close-hippo-results {
    display: block !important;
}
html:has(
        #hc-widget-search-results:not(.d-none),
        #hc-widget-billingitems-form:not(.d-none),
        #hc-widget-customer-form:not(.d-none),
        #hc-widget-payment-form:not(.d-none),
        #hc-widget-confirmation-form:not(.d-none),
        #hc-widget-insurance-form:not(.d-none)
    )
    #hc-widget-search-behind-results {
    display: block;
}
html:has(
        #hc-widget-search-results:not(.d-none),
        #hc-widget-billingitems-form:not(.d-none),
        #hc-widget-customer-form:not(.d-none),
        #hc-widget-payment-form:not(.d-none),
        #hc-widget-confirmation-form:not(.d-none),
        #hc-widget-insurance-form:not(.d-none)
    )
    #header:has(.main-menu.visible) {
    z-index: 99;
}
html .daterangepicker {
    z-index: 9999 !important;
}

#form-resa-hippo {
    z-index: 1000;
}
#form-resa-hippo #hpc-backtotop {
    display: none !important;
}
#form-resa-hippo #close-hippo-results {
    position: fixed;
    top: 0.4rem;
    right: 1.5rem;
    z-index: 9999;
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    color: var(--gt-hippo-color-1, #2b6cb0);
}
#form-resa-hippo #hc-widget-search-behind-results {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9997;
}
#form-resa-hippo #hc-widget-search-results,
#form-resa-hippo #hc-widget-billingitems-form,
#form-resa-hippo #hc-widget-customer-form,
#form-resa-hippo #hc-widget-payment-form,
#form-resa-hippo #hc-widget-confirmation-form,
#form-resa-hippo #hc-widget-insurance-form {
    position: fixed;
    right: 0;
    top: 0;
    width: 1200px;
    max-width: 100%;
    height: 100%;
    background: white;
    overflow-y: scroll;
    overflow-x: clip;
    z-index: 9998;
    padding: 2.5rem !important;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
}
#form-resa-hippo #hc-widget-search-results .hippo-product > .container > .row > div:first-child,
#form-resa-hippo #hc-widget-billingitems-form .hippo-product > .container > .row > div:first-child,
#form-resa-hippo #hc-widget-customer-form .hippo-product > .container > .row > div:first-child,
#form-resa-hippo #hc-widget-payment-form .hippo-product > .container > .row > div:first-child,
#form-resa-hippo #hc-widget-confirmation-form .hippo-product > .container > .row > div:first-child,
#form-resa-hippo #hc-widget-insurance-form .hippo-product > .container > .row > div:first-child {
    padding-right: 0 !important;
    padding-left: 0 !important;
}
#form-resa-hippo #hippo-main-search-container {
    background: transparent !important;
    padding: 0 !important;
}
#form-resa-hippo #hippo-main-search-container .col-md-2 {
    max-width: max-content !important;
    flex: 0 0 auto !important;
    padding: 0 0.5rem;
}
@media (max-width: 767px) {
    #form-resa-hippo #hippo-main-search-container .col-md-2 {
        flex: 0 0 50% !important;
    }
}
#form-resa-hippo #hippo-main-search-container .col-md-3 {
    max-width: 100% !important;
    flex: 1 1 0 !important;
    padding: 0 0.5rem;
}
@media (max-width: 767px) {
    #form-resa-hippo #hippo-main-search-container .col-md-3 {
        flex: 0 0 50% !important;
    }
}
#form-resa-hippo #hippo-main-search-container #hc-form-container {
    padding: 0.5rem 1.75rem !important;
}
#form-resa-hippo #hippo-main-search-container label {
    margin-bottom: 0.1rem;
}
#form-resa-hippo #hippo-main-search-container .pt-2 {
    padding-top: 0 !important;
}
#form-resa-hippo .pro-button {
    background: var(--gt-hippo-color-1, #2b6cb0) !important;
    color: var(--gt-hippo-text, #ffffff) !important;
    border-radius: var(--gt-hippo-radius) !important;
    border: none;
}
#form-resa-hippo .bootstrap-iso a:not(.btn-success),
#form-resa-hippo .hpc-price-customized {
    color: var(--gt-hippo-color-1, #2b6cb0) !important;
}

#form-resa-hippo .slider-handle {
    background-image: linear-gradient(to bottom, var(--gt-hippo-color-1, #2b6cb0), #333) !important;
    background-image: -webkit-linear-gradient(top, var(--gt-hippo-color-1, #2b6cb0), #333) !important;
    background-image: -o-linear-gradient(top, var(--gt-hippo-color-1, #2b6cb0), #333) !important;
    background-image: linear-gradient(to bottom, var(--gt-hippo-color-1, #2b6cb0), #333) !important;
}

#form-resa-hippo .slider-selection {
    background-color: var(--gt-hippo-color-1, #2b6cb0) !important;
}

#form-resa-hippo .btn-customized {
    background-color: var(--gt-hippo-color-1, #2b6cb0) !important;
    border-color: var(--gt-hippo-color-1, #2b6cb0) !important;
}

#form-resa-hippo .btn-qty-primary {
    background-color: var(--gt-hippo-color-1, #2b6cb0) !important;
    border-color: var(--gt-hippo-color-1, #2b6cb0) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
}
#form-resa-hippo .hpc-step-item.active .hpc-step-dot {
    background-color: var(--gt-hippo-color-1, #2b6cb0) !important;
}

#form-resa-hippo .hpc-step-item.active::before {
    background: var(--gt-hippo-color-1, #2b6cb0) !important;
}

#form-resa-hippo .bootstrap-iso .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--gt-hippo-color-1, #2b6cb0) !important;
    background-color: var(--gt-hippo-color-1, #2b6cb0) !important;
}

#form-resa-hippo .hpc-cta-btn{
    margin-bottom: 1rem;
}

#form-resa-hippo:not(.sticky) .form-resa-hippo__header {
    display: none;
}
#form-resa-hippo:not(.sticky) .form-resa-hippo__recherche {
    position: relative;
    z-index: 3;
}
#form-resa-hippo:not(.sticky) .form-resa-hippo__recherche #hippo-main-search-container #hc-form-container {
    border-radius: var(--gt-hippo-radius) !important;
}

#form-resa-hippo.sticky {
    position: fixed;
    bottom: 0;
    left: 50%;
    width: 990px;
    max-width: 100%;
    margin-left: -495px !important;
    z-index: 1000;
    background: white;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
}
@media (max-width: 1010px) {
    #form-resa-hippo.sticky {
        left: 0;
        margin-left: 0 !important;
        width: 100%;
    }
}
#form-resa-hippo.sticky .form-resa-hippo__header {
    display: block;
}
#form-resa-hippo.sticky .form-resa-hippo__header__title {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.75rem 2rem;
    background: var(--gt-hippo-color-1, #2b6cb0);
    color: var(--gt-hippo-text, #ffffff);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 0;
    user-select: none;
}
#form-resa-hippo.sticky .form-resa-hippo__recherche {
    display: none;
    position: relative;
    z-index: 3;
}
#form-resa-hippo.sticky .form-resa-hippo__recherche #hippo-main-search-container #hc-form-container {
    border-radius: 0 !important;
}
@media (max-width: 767px) {
    #form-resa-hippo.sticky .form-resa-hippo__recherche #hippo-main-search-container {
        width: 100%;
        margin: 0;
        max-width: 100%;
    }
}
#form-resa-hippo.sticky.opened .form-resa-hippo__recherche {
    display: block;
}

.d-none {
    display: none !important;
}
