/*
 * Staging-only responsive corrections. Loading is guarded in
 * fp-preprod-priority-corrections.php.
 */

/* Frédéric: bypass WPResidence's tightly cropped 525 x 328 derivative. */
body.single-estate_agent
    .wpestate_agent_header2_content
    .wpestate_single_agent_details_wrapper_type2
    .agentpict[style*="/Fred-Photo-1-525x328.jpg"] {
    aspect-ratio: 4 / 3;
    height: auto;
    background-color: #fff;
    background-image: url("https://franceproprietes.fr/wp-content/uploads/2025/08/Fred-Photo-1.jpg") !important;
    background-position: 50% 0;
    background-size: contain;
}

/*
 * Responsive Elementor header.
 *
 * WPResidence caps the logo at 198px on tablet and 162px on mobile. Its menu
 * widget also gives the trigger a white background while Elementor makes the
 * SVG paths white, producing an empty white square. Keep the correction scoped
 * to the reconciled header and the staging-only stylesheet.
 */
@media (max-width: 1024px) {
    .elementor-19534 .elementor-element.elementor-element-2be08547 .wpresidence-site-logo .logo img,
    .elementor-19534 .elementor-element.elementor-element-2be08547 img.wp-image-19481 {
        height: auto !important;
        max-width: clamp(190px, 32vw, 260px) !important;
        width: clamp(190px, 32vw, 260px) !important;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger_close {
        align-items: center;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 6px;
        color: #fff !important;
        display: flex;
        height: 48px;
        justify-content: center;
        min-height: 48px;
        min-width: 48px;
        padding: 11px;
        width: 48px;
    }

    .elementor-19534 .elementor-element.elementor-element-58cb4f1,
    .elementor-19534 .wpestate-elementor-menu-mobile-container {
        min-height: 48px;
        position: relative;
        z-index: 3;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger_close {
        display: none;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger svg,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger_close svg {
        display: block;
        height: 24px;
        width: 24px;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger svg path,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger_close svg path {
        stroke: currentColor !important;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger:focus-visible,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger_close:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

    /*
     * Keep submenu links readable when WPResidence propagates a parent
     * li:hover background to every descendant link. Elementor otherwise keeps
     * those descendants gray on blue.
     */
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li > a,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu .sub-menu > li > a {
        background-color: #fff !important;
        box-sizing: border-box;
        color: #263238 !important;
        max-width: 100%;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu .sub-menu > li > a {
        background-color: #f4f7f9 !important;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li:has(> .sub-menu[style*="display: block"]) > a,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li.current-menu-item > a,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li.current-menu-parent > a,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li.current-menu-ancestor > a,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li > a:hover,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li > a:focus,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li > a:active,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu .sub-menu > li.current-menu-item > a,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu .sub-menu > li > a:hover,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu .sub-menu > li > a:focus,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu .sub-menu > li > a:active {
        background-color: #005ea8 !important;
        color: #fff !important;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu a:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: -4px;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li.menu-item-has-children > a::after {
        color: currentColor !important;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .wpestate_filter_list_properties_wrapper.row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .wpestate_filter_list_properties_wrapper > .listing_wrapper,
    .wpestate_filter_list_properties_wrapper > .pagination {
        left: auto !important;
        max-width: 100% !important;
        right: auto !important;
        width: 100% !important;
    }
}

/*
 * WPResidence renders these controls outside the gallery to navigate between
 * property posts. They are not image-carousel arrows. On phones and small
 * tablets their fixed 110px wrappers follow the viewport and cover the page,
 * so keep that unrelated listing navigation out of the mobile property view.
 */
@media (max-width: 1024px) {
    body.single-estate_property .nav-prev-wrapper,
    body.single-estate_property .nav-next-wrapper {
        display: none !important;
    }
}

/*
 * Property pages: keep WPResidence's mobile contact actions available without
 * letting its two 49% floated columns clip long agent names or cover the end
 * of the page. CookieYes keeps its own control and is only lifted above this
 * bar while the bar is present.
 */
@media (max-width: 991.98px) {
    body.single-estate_property {
        --fp-mobile-contact-bar-height: 68px;
    }

    body.single-estate_property #all_wrapper {
        padding-bottom: calc(
            var(--fp-mobile-contact-bar-height) + env(safe-area-inset-bottom)
        ) !important;
    }

    body.single-estate_property .mobile_agent_area_wrapper {
        align-items: center;
        bottom: 0;
        box-sizing: border-box;
        display: grid !important;
        float: none;
        gap: 8px;
        grid-template-columns: minmax(0, 1fr) max-content;
        height: calc(
            var(--fp-mobile-contact-bar-height) + env(safe-area-inset-bottom)
        );
        left: 0;
        max-height: calc(
            var(--fp-mobile-contact-bar-height) + env(safe-area-inset-bottom)
        );
        min-height: calc(
            var(--fp-mobile-contact-bar-height) + env(safe-area-inset-bottom)
        );
        overflow: hidden;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        position: fixed;
        right: 0;
        width: 100%;
        z-index: 105;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent-listing-img-wrapper {
        align-items: center;
        display: grid;
        float: none;
        font-size: 13px;
        gap: 8px;
        grid-template-columns: 48px minmax(0, 1fr);
        min-width: 0;
        overflow: hidden;
        width: auto;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agentpict {
        border-radius: 50%;
        float: none;
        height: 48px;
        margin: 0;
        width: 48px;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent-listing-img-wrapper > a {
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        float: none;
        font-size: 13px;
        height: auto;
        line-height: 1.2;
        max-height: 2.4em;
        max-width: none;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: normal;
    }

    body.single-estate_property .mobile_agent_area_wrapper .mobile_agent_area_details_wrapper {
        align-items: center;
        display: flex;
        float: none;
        gap: 4px;
        justify-content: flex-end;
        min-width: 0;
        width: auto;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent_detail {
        float: none;
        margin: 0;
        min-width: 0;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent_detail > a {
        align-items: center;
        box-sizing: border-box;
        display: flex;
        float: none;
        flex-direction: row;
        font-size: 13px;
        height: 44px;
        justify-content: center;
        line-height: 1;
        max-width: none;
        min-height: 44px;
        min-width: 44px;
        white-space: nowrap;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent_mobile_class > a {
        padding: 0 7px;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent_detail i {
        align-items: center;
        display: flex;
        font-size: 17px;
        height: 44px;
        justify-content: center;
        line-height: 1;
        margin: 0;
        width: 44px;
    }

    body.single-estate_property .cky-btn-revisit-wrapper.cky-revisit-bottom-left {
        bottom: calc(
            var(--fp-mobile-contact-bar-height) + 12px + env(safe-area-inset-bottom)
        ) !important;
    }
}

@media (max-width: 359px) {
    body.single-estate_property .mobile_agent_area_wrapper .agent_mobile_class > a {
        font-size: 0;
        padding: 0;
        width: 44px;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent_mobile_class > a::before {
        content: "\f095";
        font-family: "Font Awesome 5 Free";
        font-size: 17px;
        font-weight: 900;
    }
}

@media (max-width: 767px) {
    .single-estate_property .wpestate-energy_class_container {
        max-width: 100%;
        min-width: 0;
    }

    .single-estate_property .indicator-energy {
        line-height: 1.25 !important;
        max-width: min(260px, calc(100vw - 30px)) !important;
        text-align: center !important;
        white-space: normal !important;
        width: max-content !important;
    }

    .single-estate_property .wpestate-class-energy_no_4 .indicator-energy,
    .single-estate_property .wpestate-class-energy_no_5 .indicator-energy,
    .single-estate_property .wpestate-class-energy_no_6 .indicator-energy,
    .single-estate_property .wpestate-class-co2_no_4 .indicator-energy,
    .single-estate_property .wpestate-class-co2_no_5 .indicator-energy,
    .single-estate_property .wpestate-class-co2_no_6 .indicator-energy {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }

    .single-estate_property .wpestate-class-energy_no_7 .indicator-energy,
    .single-estate_property .wpestate-class-energy_no_8 .indicator-energy,
    .single-estate_property .wpestate-class-energy_no_9 .indicator-energy,
    .single-estate_property .wpestate-class-co2_no_7 .indicator-energy,
    .single-estate_property .wpestate-class-co2_no_8 .indicator-energy {
        left: auto !important;
        right: 0 !important;
        transform: none !important;
    }

}

/*
 * Recompose the Elementor footer on portrait phones without changing its
 * content, links, tablet landscape layout or desktop layout.
 */
@media (max-width: 767px) and (orientation: portrait) {
    .elementor-19656 .elementor-element.elementor-element-14569ed > .e-con-inner {
        align-items: center;
        max-width: 100%;
        row-gap: 8px;
    }

    .elementor-19656 .elementor-element.elementor-element-f1c0d39,
    .elementor-19656 .elementor-element.elementor-element-61d987d,
    .elementor-19656 .elementor-element.elementor-element-ec8579a {
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 370px;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        width: 100%;
    }

    .elementor-19656 .elementor-element.elementor-element-f1c0d39 {
        padding-bottom: 24px;
        padding-top: 20px;
    }

    .elementor-19656 .elementor-element.elementor-element-61d987d,
    .elementor-19656 .elementor-element.elementor-element-ec8579a {
        padding-bottom: 22px;
        padding-top: 22px;
        row-gap: 14px;
    }

    .elementor-19656 .elementor-element.elementor-element-84dd51d,
    .elementor-19656 .elementor-element.elementor-element-28c19bd,
    .elementor-19656 .elementor-element.elementor-element-f4be341,
    .elementor-19656 .elementor-element.elementor-element-958e9c0,
    .elementor-19656 .elementor-element.elementor-element-c3c56a4,
    .elementor-19656 .elementor-element.elementor-element-157a48d,
    .elementor-19656 .elementor-element.elementor-element-712d7e6,
    .elementor-19656 .elementor-element.elementor-element-a706f87 {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .elementor-19656 .elementor-element.elementor-element-28c19bd,
    .elementor-19656 .elementor-element.elementor-element-958e9c0,
    .elementor-19656 .elementor-element.elementor-element-a706f87 {
        max-width: 320px;
        width: 100% !important;
    }

    .elementor-19656 .elementor-element.elementor-element-f4be341,
    .elementor-19656 .elementor-element.elementor-element-712d7e6 {
        width: 100%;
    }

    .elementor-19656 .elementor-element.elementor-element-958e9c0 .elementor-icon-list-item,
    .elementor-19656 .elementor-element.elementor-element-a706f87 .elementor-icon-list-item,
    .elementor-19656 .elementor-element.elementor-element-5369d7e .elementor-icon-list-item,
    .elementor-19656 .elementor-element.elementor-element-cb7151d .elementor-icon-list-item {
        justify-content: center;
        text-align: center;
    }

    .elementor-19656 .elementor-element.elementor-element-958e9c0 .elementor-icon-list-item > a,
    .elementor-19656 .elementor-element.elementor-element-a706f87 .elementor-icon-list-item > a,
    .elementor-19656 .elementor-element.elementor-element-5369d7e .elementor-icon-list-item > a,
    .elementor-19656 .elementor-element.elementor-element-cb7151d .elementor-icon-list-item > a {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .elementor-19656 .elementor-element.elementor-element-c642d01 {
        align-items: center !important;
        justify-content: center !important;
        max-width: 320px;
        width: 100%;
    }

    .elementor-19656 .elementor-element.elementor-element-157a48d .elementor-button {
        min-height: 44px;
    }

    .elementor-19656 .elementor-element.elementor-element-f15a94d {
        padding-bottom: 120px;
    }

    .elementor-19656 .elementor-element.elementor-element-415c3e7,
    .elementor-19656 .elementor-element.elementor-element-27ed5e3,
    .elementor-19656 .elementor-element.elementor-element-d2596d7 {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 370px;
        width: 100%;
    }

    .elementor-19656 .elementor-element.elementor-element-5369d7e,
    .elementor-19656 .elementor-element.elementor-element-cb7151d {
        max-width: 330px;
        text-align: center !important;
        width: 100%;
    }

    .backtop,
    .contact-box {
        bottom: 16px;
        height: 44px;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        width: 44px;
    }

    html.fp-mobile-footer-is-visible .backtop,
    html.fp-mobile-footer-is-visible .contact-box {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
}

/*
 * Property lightbox: branded, uncropped 3:2 presentation.
 * WPResidence and Owl Carousel retain opening, closing and navigation.
 */
body.single-estate_property .lightbox_property_wrapper {
    --fp-lightbox-edge: 16px;
    --fp-lightbox-frame: 44px;
    --fp-lightbox-header: 102px;
    --fp-lightbox-control-size: 56px;
}

body.single-estate_property .lightbox_property_wrapper .lighbox_overlay {
    background: #07090c;
    opacity: 0.96;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_wrapper_level2.lightbox_wrapped_no_contact {
    background: #f7f7f5;
    border-radius: 6px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.48);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: fit-content !important;
    max-height: calc(100vh - (2 * var(--fp-lightbox-edge))) !important;
    max-height: calc(100dvh - (2 * var(--fp-lightbox-edge))) !important;
    max-width: calc(100vw - (2 * var(--fp-lightbox-edge))) !important;
    overflow: hidden;
    padding: 0 var(--fp-lightbox-frame) var(--fp-lightbox-frame);
    position: relative;
    width: fit-content !important;
}

/* White header with a restrained gold rule, following the supplied mockup. */
body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_wrapper_level2.lightbox_wrapped_no_contact::before {
    background-color: #f7f7f5;
    border-top: 6px solid #b89058;
    box-sizing: border-box;
    content: "";
    display: block;
    flex: 0 0 var(--fp-lightbox-header);
    height: var(--fp-lightbox-header);
    margin-left: calc(-1 * var(--fp-lightbox-frame));
    width: calc(100% + (2 * var(--fp-lightbox-frame)));
}

/* Final lightbox logo: colors are embedded directly in the PNG. */
body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_wrapper_level2.lightbox_wrapped_no_contact::after {
    background: url("../images/logo-horizontal-fp-exp-lightbox.png") center / contain no-repeat;
    content: "";
    height: 44px;
    left: 50%;
    max-width: calc(100% - 160px);
    position: absolute;
    top: 29px;
    transform: translateX(-50%);
    width: 514px;
    z-index: 5;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_content.row {
    align-items: center;
    height: auto !important;
    justify-content: center;
    margin: 0;
    width: auto;
}

body.single-estate_property .lightbox_property_wrapper .lightbox_property_slider
    :is(#owl-demo, .owl-stage-outer, .owl-stage, .owl-item, .item) {
    aspect-ratio: auto !important;
    height: 100% !important;
    min-height: 0 !important;
}

body.single-estate_property .lightbox_property_wrapper .lightbox_property_slider {
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
    max-width: none !important;
    padding: 0;
    position: static !important;
    transform: none !important;
    width: min(
        calc(94vw - (2 * var(--fp-lightbox-frame))),
        calc((100vh - (2 * var(--fp-lightbox-edge)) - var(--fp-lightbox-header) - var(--fp-lightbox-frame)) * 1.5)
    ) !important;
    width: min(
        calc(94vw - (2 * var(--fp-lightbox-frame))),
        calc((100dvh - (2 * var(--fp-lightbox-edge)) - var(--fp-lightbox-header) - var(--fp-lightbox-frame)) * 1.5)
    ) !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider .item {
    align-items: center;
    background-position: center !important;
    background-repeat: no-repeat;
    background-size: contain !important;
    display: flex;
    justify-content: center;
    padding: 0 !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider .item img {
    display: block;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center;
    width: 100% !important;
}

/* Thin black photographic edge with a restrained inward shadow. */
body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider #owl-demo::after {
    box-shadow:
        inset 0 0 22px rgba(0, 0, 0, 0.42),
        inset 0 0 0 1px rgba(0, 0, 0, 0.62);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 20;
}

/* Existing Owl controls: visible, contrasted and comfortably clickable. */
body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next) {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 5px;
    box-shadow: none;
    color: #fff !important;
    display: flex;
    height: var(--fp-lightbox-control-size) !important;
    justify-content: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
    opacity: 1 !important;
    padding: 0 !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: var(--fp-lightbox-control-size) !important;
    z-index: 25 !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider .owl-prev {
    left: 20px !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider .owl-next {
    left: auto !important;
    right: 20px !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next)
    > .wpresidence-carousel-control {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    display: flex;
    height: 100% !important;
    inset: auto !important;
    justify-content: center;
    margin: 0 !important;
    opacity: 1 !important;
    padding: 0 !important;
    pointer-events: none;
    position: relative !important;
    width: 100% !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next)
    > .wpresidence-carousel-control
    :is(.carousel-control-prev-icon, .carousel-control-next-icon) {
    display: none !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next)::before,
body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next)::after {
    content: none !important;
    display: none !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next)
    > .wpresidence-carousel-control::before {
    background: currentColor;
    content: "";
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
    height: 32px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider .owl-prev
    > .wpresidence-carousel-control::before {
    -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTEuMzU0IDEuNjQ2YS41LjUgMCAwIDEgMCAuNzA4TDUuNzA3IDhsNS42NDcgNS42NDZhLjUuNSAwIDAgMS0uNzA4LjcwOGwtNi02YS41LjUgMCAwIDEgMC0uNzA4bDYtNmEuNS41IDAgMCAxIC43MDggMCIvPjwvc3ZnPg==") center / contain no-repeat;
    mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTEuMzU0IDEuNjQ2YS41LjUgMCAwIDEgMCAuNzA4TDUuNzA3IDhsNS42NDcgNS42NDZhLjUuNSAwIDAgMS0uNzA4LjcwOGwtNi02YS41LjUgMCAwIDEgMC0uNzA4bDYtNmEuNS41IDAgMCAxIC43MDggMCIvPjwvc3ZnPg==") center / contain no-repeat;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider .owl-next
    > .wpresidence-carousel-control::before {
    -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNC42NDYgMS42NDZhLjUuNSAwIDAgMSAuNzA4IDBsNiA2YS41LjUgMCAwIDEgMCAuNzA4bC02IDZhLjUuNSAwIDAgMS0uNzA4LS43MDhMMTAuMjkzIDggNC42NDYgMi4zNTRhLjUuNSAwIDAgMSAwLS43MDgiLz48L3N2Zz4=") center / contain no-repeat;
    mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNC42NDYgMS42NDZhLjUuNSAwIDAgMSAuNzA4IDBsNiA2YS41LjUgMCAwIDEgMCAuNzA4bC02IDZhLjUuNSAwIDAgMS0uNzA4LS43MDhMMTAuMjkzIDggNC42NDYgMi4zNTRhLjUuNSAwIDAgMSAwLS43MDgiLz48L3N2Zz4=") center / contain no-repeat;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next):is(:hover, :focus-visible) {
    background: rgba(0, 0, 0, 0.3) !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next):focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Native close control. */
body.single-estate_property .lightbox_property_wrapper .lighbox-image-close {
    align-items: center;
    background: rgba(7, 9, 12, 0.38);
    border: 0;
    border-radius: 5px;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    height: var(--fp-lightbox-control-size);
    justify-content: center;
    line-height: 1;
    right: var(--fp-lightbox-frame);
    top: var(--fp-lightbox-header);
    width: var(--fp-lightbox-control-size);
    z-index: 30;
}

body.single-estate_property .lightbox_property_wrapper .lighbox-image-close i {
    display: none;
}

body.single-estate_property .lightbox_property_wrapper .lighbox-image-close::before,
body.single-estate_property .lightbox_property_wrapper .lighbox-image-close::after {
    background: #fff;
    border-radius: 999px;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 28px;
}

body.single-estate_property .lightbox_property_wrapper .lighbox-image-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

body.single-estate_property .lightbox_property_wrapper .lighbox-image-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

body.single-estate_property .lightbox_property_wrapper
    .lighbox-image-close:is(:hover, :focus-visible) {
    background: rgba(7, 9, 12, 0.62);
    color: #fff;
}

body.single-estate_property .lightbox_property_wrapper
    .lighbox-image-close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media screen and (max-width: 600px) {
    body.single-estate_property .lightbox_property_wrapper {
        --fp-lightbox-edge: 8px;
        --fp-lightbox-frame: 10px;
        --fp-lightbox-header: 64px;
        --fp-lightbox-control-size: 44px;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_wrapper_level2.lightbox_wrapped_no_contact {
        border-radius: 4px;
        max-width: calc(100vw - (2 * var(--fp-lightbox-edge))) !important;
        padding: 0 var(--fp-lightbox-frame) var(--fp-lightbox-frame);
        width: fit-content !important;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_wrapper_level2.lightbox_wrapped_no_contact::before {
        border-top-width: 4px;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_wrapper_level2.lightbox_wrapped_no_contact::after {
        height: 22px;
        max-width: calc(100% - 64px);
        top: 21px;
        width: 256px;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_slider {
        width: calc(
            100vw - (2 * var(--fp-lightbox-edge)) - (2 * var(--fp-lightbox-frame))
        ) !important;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_slider .owl-prev {
        left: 20px !important;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_slider .owl-next {
        right: 20px !important;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_slider :is(.owl-prev, .owl-next)
        > .wpresidence-carousel-control::before {
        height: 26px;
        width: 26px;
    }

    body.single-estate_property .lightbox_property_wrapper .lighbox-image-close {
        right: 0;
        top: calc((var(--fp-lightbox-header) - var(--fp-lightbox-control-size)) / 2);
    }

    body.single-estate_property .lightbox_property_wrapper
        .lighbox-image-close::before,
    body.single-estate_property .lightbox_property_wrapper
        .lighbox-image-close::after {
        width: 24px;
    }
}

@media screen and (max-width: 768px) {
    body.single-estate_agent
        .wpestate_agent_header2_content
        .wpestate_single_agent_details_wrapper_type2 {
        flex-direction: column !important;
    }
}
