.elementor-1217 .elementor-element.elementor-element-2683bc2c{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:stretch;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}#elementor-popup-modal-1217 .dialog-widget-content{animation-duration:1s;background-color:#FFFFFF00;border-style:none;}#elementor-popup-modal-1217{background-color:#00000080;justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-1217 .dialog-message{width:60vw;height:custom;align-items:center;}#elementor-popup-modal-1217 .dialog-close-button{display:flex;top:4%;font-size:30px;}#elementor-popup-modal-1217 .dialog-close-button i{color:#FFFFFF;}#elementor-popup-modal-1217 .dialog-close-button svg{fill:#FFFFFF;}@media(max-width:1024px){#elementor-popup-modal-1217 .dialog-message{width:75vw;height:75vh;}}@media(min-width:768px){.elementor-1217 .elementor-element.elementor-element-2683bc2c{--content-width:100%;}}@media(max-width:767px){.elementor-1217 .elementor-element.elementor-element-2683bc2c{--padding-top:0%;--padding-bottom:0%;--padding-left:5%;--padding-right:5%;}#elementor-popup-modal-1217 .dialog-message{width:100vw;height:90vh;}#elementor-popup-modal-1217{align-items:center;}}/* Start custom CSS for html, class: .elementor-element-d277ca1 */.matterport-popup-wrap {
  width: 100%;
  height: 80vh;
}

.matterport-popup-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.elementor-popup-modal {
  overflow: hidden !important;
}

.matterport-popup-wrap {
  height: 90vh !important;
  overflow: hidden !important;
}

.matterport-popup-wrap iframe {
  height: 100% !important;
  width: 100% !important;
  border: 0;
}

/* =========================================
   MATTERPORT POPUP - MOBILE CLOSE BUTTON
========================================= */

@media (max-width: 767px) {

    .elementor-popup-modal .dialog-close-button {
        right: 25px !important;
        left: auto !important;
    }

}/* End custom CSS */
/* Start custom CSS *//* =========================================
   ELEMENTOR MATTERPORT POPUP
   MOBILE POSITION FIX
========================================= */

@media (max-width: 767px) {

    /* =====================================
       POPUP OVERLAY
       Do NOT force display:flex here.
       Elementor must control show/hide.
    ===================================== */

    .elementor-popup-modal {
        position: fixed !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        width: 100vw !important;
        height: 100dvh !important;

        margin: 0 !important;

        z-index: 999999 !important;
    }


    /* =====================================
       POPUP DIALOG
    ===================================== */

    .elementor-popup-modal .dialog-widget-content {
        position: absolute !important;

        top: 50% !important;
        left: 50% !important;

        right: auto !important;
        bottom: auto !important;

        transform: translate(-50%, -50%) !important;

        margin: 0 !important;

        max-height: 90dvh !important;

        overflow: auto !important;
    }


    /* =====================================
       POPUP CONTENT
    ===================================== */

    .elementor-popup-modal .dialog-message {
        max-height: 90dvh !important;

        overflow: auto !important;
    }

}

/* =========================================
   MATTERPORT POPUP
   KEEP CLOSE BUTTON ABOVE IFRAME
========================================= */

@media (max-width: 767px) {

    /* Popup dialog */
    .elementor-popup-modal .dialog-widget-content {
        overflow: visible !important;
    }

    /* Elementor close button */
    .elementor-popup-modal .dialog-close-button {
        position: absolute !important;

        top: 10px !important;
        right: 10px !important;

        z-index: 9999999 !important;

        width: 44px !important;
        height: 44px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        cursor: pointer !important;
        pointer-events: auto !important;

        background: rgba(0, 0, 0, 0.55) !important;

        border-radius: 50% !important;
    }

    /* X icon itself */
    .elementor-popup-modal .dialog-close-button,
    .elementor-popup-modal .dialog-close-button i,
    .elementor-popup-modal .dialog-close-button svg {
        color: #ffffff !important;
        fill: #ffffff !important;
    }

    /* Keep Matterport underneath Elementor controls */
    .elementor-popup-modal iframe {
        position: relative !important;
        z-index: 1 !important;
    }

}/* End custom CSS */