/* Single product Elementor page styles. */
.layout-trained{
    margin-left: auto;
    margin-right: auto;
}
.v-single-product-bnr-grid{
    grid-template-columns: repeat(4, auto) !important;
    grid-template-rows: repeat(1, 1fr) !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    max-width: fit-content !important;
    width: fit-content;  
    gap: 35px !important;
}
.v-single-product-bnr-grid .elementor-image-box-content{
    width:fit-content !important;
}
.v-single-product-bnr-grid .elementor-image-box-title{
    margin:0px;
}
.v-single-product-bnr-grid .hero-info-widget{
   padding: 0px !important;
}
.button-custom-hover ,#fly-way-elementor-button{
    transition: all 0.3s ease-in-out;
}
.button-custom-hover:hover ,#fly-way-elementor-button:hover{
    transform: translateY(1px);
}
.floor-plan-main-title:after {
    content: '';
    position: absolute;
    width: 150px;
    height: 2px;
    background: #865e36;
    bottom: -5px;
    left: 0;
    border-radius: 8px;
}
.floor-plan-main-title{
    position: relative;
    padding-bottom: 10px;
}
#fly-way-elementor-button{
    cursor: pointer;
}

/* Match the exterior video caption to the room thumbnail captions. */
#walk-through-main-sec-div .exterior-video-item .room-video-thumb {
    display: block;
}
#walk-through-main-sec-div .exterior-video-item > .room-360-name {
    display: block !important;
    margin-top: 6px;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1.3;
    text-transform: uppercase;
}

/* Keep the 360 thumbnail widget from becoming a vertical scroll area. */
#walk-through-main-sec-div .elementor-element-3354940,
#walk-through-main-sec-div .elementor-element-3354940 .elementor-widget-container,
#walk-through-main-sec-div .elementor-element-3354940 .elementor-shortcode,
#walk-through-main-sec-div .room-360-thumbnails {
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
}
.first-word-small sup{
    text-transform: uppercase !important;
}
.view-area-right-col{
    cursor: zoom-in !important;
}
@media (min-width:1024px) {
    .floor-pan-right-widget{
        justify-content: end;
    }
}
@media (max-width:767px) {
    .back-page-arrow .elementor-image-box-wrapper{
        display: flex;
        gap: 10px;
    }
    .next-page-arrow .elementor-image-box-wrapper{
       flex-direction: row-reverse;
    }
    .v-single-product-bnr-grid{
        grid-template-columns: repeat(2, auto) !important;
        grid-template-rows: repeat(2, 1fr) !important;
        max-width: 100% !important;
        width: 100% !important;  
        gap: 25px !important;
    }
   .room-360-viewer iframe{
        height: 500px !important;
   }
   .hero-btn a{
        width: 100%;
   }
   .v-single-product-bnr-grid .hero-info-widget .elementor-image-box-wrapper {
        display: flex;
        justify-content: flex-start;
        gap: 15px;
    }
    .v-single-product-bnr-grid .hero-info-widget .elementor-image-box-wrapper .elementor-image-box-img {
        width: 50px !important;
    }
    .v-single-product-bnr-grid .hero-info-widget .elementor-image-box-wrapper .elementor-image-box-content{
        width:100% !important;
    }
}