/* Resets */
.lfh-booking-mask p{
    margin: unset;
    text-align: left;
}

.lfh-booking-mask button{
    margin: 0;
    padding: 0;
    border: none;
    font: inherit;
    color: inherit;
    background: none;
}

/* Fonts */
.lfh-booking-mask-field-input-text{
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    font-family: "theinhardt_pan",Inter,Roboto,"Helvetica Neue","Arial Nova","Nimbus Sans",Arial,sans-serif;
    display: flex;
    flex-direction: column;
    text-wrap: nowrap;
}

.js-location-display{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lfh-booking-mask-location p{
    font-size: 16px;
    font-weight: 500;
    line-height: 133%;
    font-family: "theinhardt_pan",Inter,Roboto,"Helvetica Neue","Arial Nova","Nimbus Sans",Arial,sans-serif;
}

.mask-room-heading p{
    font-family: "theinhardt_pan",Inter,Roboto,"Helvetica Neue","Arial Nova","Nimbus Sans",Arial,sans-serif;
    font-weight: 700;
    letter-spacing: 12.5%;
    line-height: 120%;
    font-size: 12px;
    text-transform: uppercase;
    flex: 1;
}

.guest-selector-title{
    font-family: "theinhardt_pan",Inter,Roboto,"Helvetica Neue","Arial Nova","Nimbus Sans",Arial,sans-serif;
    font-weight: 500;
    line-height: 133%;
    font-size: 14px;
    letter-spacing: 0.875px;
    text-transform: uppercase;
}

.guest-selector-label{
    font-family: "theinhardt_pan",Inter,Roboto,"Helvetica Neue","Arial Nova","Nimbus Sans",Arial,sans-serif;
    font-weight: 400;
    letter-spacing: 0.36px;
    line-height: 150%;
    font-size: 12px;
}

.guest-selector-value p{
    font-family: "Host Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: 6.25%;
    line-height: 133%;
    font-size: 16px;
}

.lfh-booking-mask-field-input-text{

}

.lfh-booking-mask-field-input-text span{
    font-family: "Host Grotesk", sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 3%;
    line-height: 120%;
    color: rgba(0, 6, 16, 0.50);
}


/* Main Booking Mask Styling */
.lfh-booking-mask{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    position: absolute;
    bottom: 6.5rem;
    margin: 0 auto;
    justify-self: center;
}

.c-hero__scroller{
    bottom: 2.5rem;
    top: unset!important;
}

.lfh-booking-mask-form{
    gap: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    width: 100%;
}
.lfh-booking-mask-form-fields{
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
    flex: 0 1 auto;
    min-width: 0;
}
.lfh-booking-mask-form-fields .lfh-booking-mask-field-container{
    flex: 0 0 196px;
    max-width: 100%;
}

.lfh-booking-mask-submit{
    flex: 0 0 auto;
    display: flex;
}


.lfh-booking-mask-field-wrapper{
    display: contents;
}
.lfh-booking-mask-field-container{
    position: relative;
}

.lfh-booking-mask-field{
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.50);
    background: #FFF;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 24px 16px;
    height: 64px;
    cursor: pointer;
}

.lfh-booking-mask-field * {
    transition: color 0.25s;
}

.lfh-booking-mask-field:hover *{
    color:#7a99ac;
}

.lfh-booking-mask-field-input{
    flex: 1;
}
.lfh-booking-mask-field-input-text, input.lfh-booking-mask-field-input-text, input.lfh-booking-mask-field-input-text:focus{
    text-wrap-style: pretty;
    text-overflow: ellipsis;
    font-family: "theinhardt_pan",Inter,Roboto,"Helvetica Neue","Arial Nova","Nimbus Sans",Arial,sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
    color: #000610;
}

.lfh-booking-mask-field-svg, .lfh-booking-mask-field-svg svg{
    width: 24px;
    height: 24px;
    aspect-ratio: 1/1;
    color: #000610;
    object-fit: contain;
}

.flatpickr-months .flatpickr-month{
    overflow: visible!important;
}


.lfh-booking-mask-dropdown{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #FFF;
    align-self: stretch;
    border-radius: 4px;
    background:#FFF;
    box-shadow: 4px 8px 24px 0  rgba(0, 6, 16, 0.05);
    top: calc(100% + 8px);
    transition: all 0.25s;
}
.lfh-booking-mask-dropdown.active{
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.lfh-booking-mask-locations{
    display: flex;
    flex-direction: column;
    gap:24px;
    padding: 24px;

}
.lfh-booking-mask-location{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap:14px;
    cursor: pointer;
}

.lfh-booking-mask-location *, .lfh-booking-mask-guests-rooms *{
    color:#000610;
}

.lfh-booking-mask-location *{
    transition: color 0.25s;
}
.lfh-booking-mask-location:hover *{
    color:#7a99ac;
}
.lfh-booking-mask-location svg{
    flex: none;
}
.lfh-booking-mask-location p{
    text-wrap: nowrap;
}

.lfh-booking-mask-guests-rooms{
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lfh-booking-mask-guests-rooms-track{
    max-height: 320px;
    overflow: auto;
}

.js-guest-selector-control.disabled{
    pointer-events: none;
    opacity: 0.5;
}

.mask-room-button-remove{
    cursor: pointer;
}

.lfh-booking-mask-guests-rooms .lfh-booking-mask-room{
    padding:24px;
    min-width: 329px;
}
.lfh-booking-mask-room{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lfh-booking-mask-room[data-num="1"] .mask-room-button-remove{
    display: none;
}

.lfh-booking-mask-room .mask-room-heading{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.guest-selector-header{
    width: 100%;
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.guest-selector-section[data-type="children"] .guest-selector{
    display: none;
}
.guest-selector-section[data-type="children"].active .guest-selector{
    display: flex;
}

.guest-selector-section{
    display: flex; 
    flex-direction: column;
    gap: 8px;
}
.guest-selector{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 17px;
    padding: 4px 4px 4px 0;
}
.guest-selector .guest-selector-label-wrap{
    flex: 1;
    text-align: left;
}

.guest-selector-controls{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.guest-selector-controls button.guest-selctor-control-icon{
    height: 32px;
    padding: 8px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    border: 2px solid rgba(0, 6, 16, 0.25);
    aspect-ratio: 1 / 1;
    transition: all 0.25s;
    cursor: pointer;
}
.guest-selector-controls button.guest-selctor-control-icon svg{
    width: 16px;
    aspect-ratio: 1/1;
}

.guest-selector-controls button.guest-selctor-control-icon:hover{
    border-color: #3C5A3C;
}

.guest-selector-value{
    width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.lfh-booking-mask-guests-rooms-footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 12px 24px;
    border-top: 1px solid  rgba(0, 6, 16, 0.10);
    background: #FFF;
    box-shadow: 0 -12px 24px 8px #FFF;
    gap:8px;
}

.lfh-booking-mask button.lfh-booking-mask-guests-rooms-button{
    min-height: 32px;
    padding: 8px;
    border-radius: 4px;
    flex: 1;
    font-family: "Host Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0%;
    line-height: 120%;
    cursor: pointer;
    transition: all 0.25s;
}
.lfh-booking-mask-guests-rooms-button.minor{
    color: #000610;
}
.lfh-booking-mask-guests-rooms-button.minor:hover{
    color:#7a99ac;
}
.lfh-booking-mask-guests-rooms-button.primary{
    background: #3C5A3C;
    color: #fff
}
.lfh-booking-mask-guests-rooms-button.primary:hover{
    background:#e5ebe7;
    color: #000610;
}


.lfh-dates-arrow{
    height: 32px;
    width: 32px;
    padding: 8px;
    aspect-ratio: 1/1;
    background: #3C5A3C;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%) translateX(50%);
    z-index: 1;
}
.lfh-dates-arrow svg{
    width: 16px;
    aspect-ratio: 1/1;
}


.lfh-booking-mask .lfh-booking-mask-field-input-text{
    border: unset;
    padding: unset;
    width: 120px;
}


.lfh-booking-mask  button.lfh-booking-mask-submit-button{
    display: flex;
    padding: 16px 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    color: #FFF;
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-variant-numeric: lining-nums proportional-nums;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 16.8px */
    letter-spacing: 0.875px;
    text-transform: uppercase;
    border-radius: 4px;
    background: #3C5A3C;
    white-space: nowrap;
    height: 64px;
    font-family: "Host Grotesk", sans-serif;
    cursor: pointer;
    transition: all 0.25s;
}

.lfh-booking-mask  button.lfh-booking-mask-submit-button:hover{
    background-color: rgba(229, 235, 231);
    color:rgb(0, 0, 0);
}



/*Toggle CSS */
.toggle {
	cursor: pointer;
	display: inline-block;
}

.toggle-switch {
	display: inline-block;
	background: #ccc;
	border-radius: 16px;
	width: 58px;
	height: 32px;
	position: relative;
	vertical-align: middle;
	transition: background 0.25s;
    width: 40px;
    height: 20px;
}

.toggle-switch:before,
.toggle-switch:after {
	content: "";
}

.toggle-switch:before {
	display: block;
	background: linear-gradient(to bottom, #fff 0%, #eee 100%);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
	width: 12px;
	height: 12px;
	position: absolute;
	top: 4px;
	left: 4px;
	transition: left 0.25s;
}

.toggle:hover .toggle-switch:before {
	background: linear-gradient(to bottom, #fff 0%, #fff 100%);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.toggle-checkbox:checked + .toggle-switch {
	background: #3C5A3C;;
}

.toggle-checkbox:checked + .toggle-switch:before {
	left: 24px;
}

.toggle-checkbox {
	position: absolute;
	visibility: hidden;
}

.toggle-label {
	margin-left: 5px;
	position: relative;
	top: 2px;
}

/*Date Picker*/

.lfh-booking-mask .flatpickr-calendar{
    position: absolute;
    top: calc(100% + 8px)!important;
    padding: 24px;
    width: fit-content!important;
}

.lfh-booking-mask .flatpickr-calendar .flatpickr-months{

}

.lfh-booking-mask .flatpickr-calendar .flatpickr-days, .lfh-booking-mask .flatpickr-calendar .flatpickr-weekdays{
    display: flex;
    flex-direction: row;
    gap: 48px;
    width: fit-content !important;
}

.lfh-booking-mask .flatpickr-calendar .flatpickr-weekdays{
    width: 100%!important;
    height: unset;
}

.lfh-booking-mask .flatpickr-calendar .flatpickr-weekdaycontainer{
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}   

.lfh-booking-mask .flatpickr-calendar .flatpickr-weekdaycontainer .flatpickr-weekday{
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lfh-booking-mask .flatpickr-calendar .dayContainer+.dayContainer{
    box-shadow: unset;
}

.lfh-booking-mask .flatpickr-calendar .flatpickr-day.selected,.lfh-booking-mask .flatpickr-calendar .flatpickr-day.startRange, .flatpickr-day.selected,.lfh-booking-mask .flatpickr-calendar .flatpickr-day.endRange {
    border-radius: unset;
    background: #3C5A3C;
    border-color: #3C5A3C;
}

.lfh-booking-mask .flatpickr-calendar .flatpickr-day.selected.startRange{

}

.lfh-booking-mask .flatpickr-calendar .flatpickr-day.selected.endRange{

}

.lfh-booking-mask .flatpickr-calendar .flatpickr-day{
    height: 48px;
    width: 48px;
    max-width: unset;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
}


.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)), .flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)), .flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)){
    box-shadow: unset!important;
}


/* Mobile Styling */

@media (min-width: 1024px) { 
  .lfh-booking-mask-form-fields .lfh-booking-mask-field-container {
    width: 196px;
  }
}

@media only screen and (max-width: 1250px) {

    .lfh-booking-mask-dropdown{
        position: fixed;
        top: unset;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        width: 100%;
        border-radius: 4px 4px 0 0;
        background: #FFF;
        box-shadow: 0 -8px 24px 0 rgba(0, 6, 16, 0.05);
        transform: translateY(100%);
    }

    .lfh-booking-mask-dropdown.active{
        transform: translateY(0%);
    }

    .lfh-booking-mask-dropdown .lfh-booking-mask-guests-rooms{
        width: 100%;
    }

    /* Date picker slides up from the bottom like the dropdowns */
    .lfh-booking-mask .flatpickr-calendar{
        display: block;
        position: fixed;
        top: unset!important;
        bottom: 0;
        left: 0!important;
        right: 0!important;
        z-index: 9999;
        width: 100%!important;
        max-height: unset;
        border-radius: 4px 4px 0 0;
        box-shadow: 0 -8px 24px 0 rgba(0, 6, 16, 0.05);
        transform: translateY(100%);
        transition: all 0.25s;
    }

    .lfh-booking-mask .flatpickr-calendar.open{
        transform: translateY(0%);
    }

    .lfh-booking-mask .flatpickr-calendar.animate.open{
        animation: none;
    }

    .lfh-booking-mask .flatpickr-calendar .flatpickr-innerContainer{
        justify-content: center;
    }

    /* Keep month arrows next to the calendar rather than the screen edges */
    .lfh-booking-mask .flatpickr-calendar .flatpickr-months{
        position: relative;
        width: fit-content;
        min-width: min(336px, 100%);
        margin: 0 auto;
    }

    /* Shrink days to fit narrow phones */
    .lfh-booking-mask .flatpickr-calendar .flatpickr-day{
        width: min(48px, calc((100vw - 48px) / 7));
        height: auto;
    }

    .lfh-booking-mask .flatpickr-calendar:before,
    .lfh-booking-mask .flatpickr-calendar:after{
        display: none;
    }

    .lfh-booking-mask{
        padding: 21px;
        max-width: 600px;
    }

    .lfh-booking-mask-form{
        flex-direction: column;
    }

    .lfh-booking-mask-field-wrapper{
        display: flex;
        gap: 8px;
        flex: 1;
        min-width: 100%;
    }

    .lfh-booking-mask-field-wrapper .lfh-booking-mask-field-container{
        flex: 1;
    }

    .lfh-booking-mask-form-fields .lfh-booking-mask-field-container{
        flex: 1;
    }
    .lfh-booking-mask-form-fields .lfh-booking-mask-field-container.mobile-full-width{
        flex: 1;
    }

   .lfh-booking-mask  button.lfh-booking-mask-submit-button{
        flex: 1;
   }

   .lfh-booking-mask .lfh-booking-mask-field-input-text{
        width: 100%;
   }

}

@media only screen and (max-width: 1024px) {

     .lfh-booking-mask{
        position: relative;
        bottom: 0;
    }

}