/* <WHITE GRADIENT IN THE BOTTOM OF EACH ROOM'S MAIN PHOTO> */
.img-gradient{
    position:relative;
    display:inline-block;
}
.img-gradient:after {
    content:'';
    position:absolute;
    left:0; bottom:0;
    width:100%; height:128px;
    display:inline-block;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255, 255, 255, 1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255, 0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255, 1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255, 1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255, 1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255, 1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
.img-gradient img {
    display:block;
}
/* </WHITE GRADIENT IN THE BOTTOM OF EACH ROOM'S MAIN PHOTO> */


.room_gallery_item.inactive , .room_gallery_item.inactive span, .room_gallery_item.inactive em {
    width:0px;
    visibility: hidden;
    opacity: 0;
}

.room_gallery_item.active , .room_gallery_item.active span, .room_gallery_item.active em {
    margin: 1px 1px 0px 0px;
    visibility:visible;
    opacity: 1;
    width:100px;
}

.room_gallery_item{
    float: left;
    text-align:center;
    font-size: 12px;
    transition: width 0.25s, visibility 0.5s, opacity 0.5s linear;
    text-align: center;
}

.rateDescription { color:#4f4f4f; padding: 5px 0px; }
.selectRoom .rateDescription { color:#fff; }

.otaReviews {
    width: 100%;
    position: absolute;
    bottom: 1px;
    right: 0px;
    background: #fafafa;
    text-align: center;
    padding: 5px;
    font-size: .65rem !important;
    color: #c3c3c3;
}
.otaReviews strong { font-size: 120%; }
.selectRoom .otaReviews { background: #24d3a0; color:#93f7da; }

.otaCost .text-muted { color:#bcbcbc !important; }
.otaCost .badge-secondary { background: none !important; border: solid 1px #e8e8e8; }
.selectRoom .otaCost .text-muted { color:#fff !important; }
.selectRoom .otaCost .text-muted.bestPriceTitle { background:#56e8bd !important; }

.otaCost .otaLogos img {
    filter: grayscale(100%);
    opacity: 0.5;
    height: 30px !important;
}

@media (max-width: 768px) {
    .otaLogos, .rateDescription {
        text-align: center;
        padding-bottom: 20px;
    }
}

.bedbathBox {
    text-align: center;
    background: #f7f7fc;
    /* background: rgb(0,159,177); */
    padding: .2rem;
    border-radius: .75rem;
}

.bedbathBox h3, .bedbathBox h6, .bedbathBox em, .bedbathBox p { color:#4a4b65; font-size: 1rem; margin: 0px; }

/* DISABLES THE ROOM CONTAINER ACCORDION */
a.disabled {
    pointer-events: none;
    cursor: default;
}

.swalnewsearch {
    padding: .55rem 1.2rem !important;
    font-size: 0.90rem !important;
    direction: ltr;
}
.swalnewsearch::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f060";
    margin-right: 10px;
}
.swalproceed {
    padding: .55rem 1.2rem !important;
    font-size: 0.90rem !important;
    direction: rtl;
}
.swalproceed::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f164";
    margin-left: 10px;
}

.roomsAvailablePreviewRoomTitleSuccess {
    background: #0d906a;
    display: block;
}

.roomsAvailablePreviewRoomTitleDanger {
    background: #bb002e;
    display: block;
}

.roomsAvailablePreviewRoomPersonsSuccess {
    background: #2dae88;
    display: block;
}

.roomsAvailablePreviewRoomPersonsDanger {
    background: #e33761;
    display: block;
}

.sortLabel {
    margin-top: 35px;
    text-align: right;
}
.sortDropdown {
    padding-right: 25px;
}

@media (max-width: 767.98px) {
    .sortLabel {
        margin-top: 0px;
        text-align: center;
    }
    .sortDropdown {
        margin-top: 10px;
        margin-bottom: 25px;
        padding: 0px 25px;
    }
}


.timeline-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;
    margin-bottom: 2rem;
}

.timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9e9e9;
    z-index: 0;
}

.stay-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
    z-index: 1;
}

.stay-label {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

.stay-line {
    width: 2px;
    height: 20px;
    background: #e9e9e9;
    margin-bottom: 10px;
}

.stay-card {
    width: 240px;
}

.arrow-icon {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.arrow-icon i {
    color: #007bff;
}

.roomLocation {
    height: fit-content; 
    margin: auto 0;
}

@media (max-width: 767px) {
    .timeline-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .timeline-wrapper::before {
        display: none;
    }

    .arrow-icon {
        margin: 10px 0;
    }

    .stay-line {
        display: none;
    }

    .wrapFlex {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .wrapFlex .nav-heading {
        width: 100%;
    }

    .roomLocation {
        margin: 0 auto;
    }
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
    background-color: red;
}

.step2 .s2-toolbar{
    border-radius:14px;
    margin:10px 0 14px; 
    padding:10px 12px;
    border:1px solid rgba(0,0,0,.06);
    background:#fff;
    box-shadow:0 8px 28px rgba(0,0,0,.08);
}

.step2 .s2-ages-menu{
    padding:5px;
    min-width:380px;
    max-width:95vw;
    border:1px solid rgba(0,0,0,.08); 
    box-shadow:0 14px 40px rgba(0,0,0,.14);
    border-radius:12px;
}
@media (max-width:767px) {
    .step2 .s2-ages-menu {
       min-width:280px; 
       max-width:95vw;
       left: -30px;
    }
}

.step2 .s2-ages-actions{
    display:flex;
    justify-content:flex-end;
    gap:8px; 
    padding-top:8px;
    border-top:1px dashed #e5e7eb;
    margin-top:8px;
}

.s2-roomAgePicker .agePicker {
    margin: 10px 0 !important;
}

.s2-roomAgePicker .agePicker .form-group {
    margin-bottom: 0;
}

.step2 .dropdown-menu {
    transform: translate3d(-65px, 64px, 0px);
}





/* STEP 1 ages popup: anchor and layer it above content */
.step1 .form-select-guests { 
    position: relative;
    overflow: visible !important;
}

.step1 .form-select-guests .select-guests-dropdown {
    position: absolute;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    margin: 0 !important;
    display: none;
    z-index: 1061;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    border-radius: 12px;
    background: #fff;
}

/* If your Step-1 ages panel also has the "dropdown-menu" class, keep it pinned */
.step1 .form-select-guests .select-guests-dropdown.dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
}

/* Ensure the Step-1 toolbar doesn't clip the popup */
.step1 .s1-toolbar,
.step1 .search-toolbar,
.step1 .step1-header {
    position: relative;
    overflow: visible !important;
    z-index: 1030;
}