/*
 Theme Name:   WpResidence child theme
 Theme URI:    https://themeforest.net/item/wp-residence-real-estate-wordpress-theme/7896392
 Description:  WpResidence child theme
 Author:       WpEstate
 Author URI:   http://wpestate.org
 Template:     wpresidence
 Version:      5.1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


.agent_unit.text-center {
    padding: .5rem .5rem 1rem !important;
    border-radius: 1.5rem !important;
}

.wpresidence_agent_unit_wrapper .agent_unit .agent-unit-img-wrapper img {
    border-radius: 1rem !important;
    transform: scale(1) !important;
}


.wpresidence_agent_unit_wrapper .agent_unit .agent_unit_social {
    position: unset !important;
    justify-content: center !important;
    margin-top: 0 !important;
}

.wpresidence_agent_unit_wrapper .agent_unit .agent_unit_social.agent_list .agent_unit_email,
.wpresidence_agent_unit_wrapper .agent_unit .agent_unit_social.agent_list .agent_unit_phone {
    float: unset !important;
}

.wpresidence_agent_unit_wrapper .agent_unit .agent_unit_social.agent_list .agent_unit_email a,
.wpresidence_agent_unit_wrapper .agent_unit .agent_unit_social.agent_list .agent_unit_phone a {
    font-size: 13px;
    height: 26px;
    line-height: 26px;
    position: relative;
    display: flex !important;
    align-items: center;
    gap: .5rem;
    background: var(--bs-blue) !important;
    color: #fff !important;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--bs-blue) !important;
    transition: .5s;
}

.wpresidence_agent_unit_wrapper .agent_unit .agent_unit_social.agent_list .agent_unit_email a:hover,
.wpresidence_agent_unit_wrapper .agent_unit .agent_unit_social.agent_list .agent_unit_phone a:hover {
    background: #fff !important;
    color: var(--bs-blue) !important;
}

.agent_unit_star {
    position: absolute;
    right: .9375rem;
    bottom: .9375rem;
    font-size: .75rem;
    padding: .25rem .5rem;
    line-height: 1;
    border-radius: 1rem;
    background-color: #333333;
    color: #FFFFFF;

}

.agent-unit_badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0 .5rem;
    border-radius: 0.25rem;
    width: fit-content;
    color: #000;
    text-transform: capitalize;
}

.agent_unit_bade_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

.slick-list {
    padding-block: 1rem !important;
}


.agent_list_hero {
    position: relative;
    overflow: hidden;
    height: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent_list_hero h1 {
    position: absolute;
    color: #fff;
    text-align: center;
    padding-inline: 1rem;
    text-wrap-style: balance;
    font-size: 3.5rem;
}

.agent_list_hero img {
    object-fit: cover;
    width: 100%;
    height: 100% !important;
}

.agent-search-form-wrap {
    background-color: #fff;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    transform: translateY(-50%);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.agent-search-form-wrap input::placeholder {
    color: rgb(55 65 81);
}

.agent-search-form-wrap input,
.agent-search-form-wrap select {
    border: 1px solid rgb(229 231 235);
    height: 2.75rem;
    padding: .5rem;
    border-radius: .5rem;
    width: 100%;
    outline: none;
    text-transform: capitalize;
    color: rgb(55 65 81);
    font-size: 0.8125rem;
}

.agent-search-form-wrap > div {
    flex: 1 0 18%;
    gap: 1rem;
}

.agent_user_search_button button,
.agent_user_search_button a {
    background-color:
        var(--bs-blue);
    color: #fff;
    border: 1px solid var(--bs-blue);
    height: 2.75rem;
    padding: 0.5rem;
    min-width: 6rem;
    transition: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
}

.agent_user_search_button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem !important;
}

.agent_user_search_button button:hover,
.agent_user_search_button a:hover {
    background: #fff;
    color: var(--bs-blue);

}

.agent_list_cta img {
    width: 12rem;
    position: absolute;
    bottom: .25rem;
    right: 2rem;
}

.agent_list_cta h2 {
    font-size: 2rem;
}

.agent_list_cta p {
    font-size: 1.125rem !important;
    width: 70%;
    text-align: justify;
    line-height: 2;
}

.agent_list_cta a:hover {
    background: #fff;
    color: var(--bs-blue);
}

.agent_list_cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: .375rem 1rem;
    background-color: var(--bs-blue);
    border: 1px solid var(--bs-blue);
    border-radius: 2rem;
    color: #fff;
    transition: .5s;
}

.agent_list_cta {
    background-color: #D8E7FF;
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-block: 2rem;
    align-items: center;
    position: relative;
}


.no_results {
    float: unset !important;
    margin-bottom: 30px;
    text-align: center;
    color: var(--bs-danger);
    text-decoration: double;
    border-bottom: 4px double;
    width: fit-content !important;
    margin-inline: auto;
}

.agent-unit_badge.trusted i {
    color: rgb(172, 10, 232) !important;
}

.agent-unit_badge.trusted {
    background: rgba(222, 191, 224, .3125) !important;
}

.agent-unit_badge.verified {
    background-color: #E0E0E0;
    color: #333333;
}

.agent-unit_badge.elite {
    background-color: #1F3A93;
    color: #FFFFFF;
}

.agent-unit_badge.premier {
    background-color: #6A0DAD;
    color: #FFFFFF;
}

.agent-unit_badge.ambassador {
    background: linear-gradient(45deg, #FFD700, #FFC300, #FFB000, #FFD700);
    color: #000000;
    /* مشکی برای خوانایی */

}


.agent-unit_badge.verified i {
    color: #333333;
}

.agent-unit_badge.elite i {
    color: #FFFFFF;
}

.agent-unit_badge.premier i {
    color: #FFFFFF;
}

.agent-unit_badge.ambassador i {
    color: #000000;
}







/* SINGLE AGENT PAGE  */
.wpresidence-content-container-wrapper,
.property_reviews_wrapper,
.wpestate_agent_details_container_wrapper .wpestate_agent_details_container {
    border-radius: 1.5rem !important;
}

.wpestate_agent_header2_content .wpestate_single_agent_details_wrapper_type2,
.wpestate_agent_header2_content .wpestate_single_agent_details_wrapper_type2 .agentpict {
    border-radius: 1rem !important;
}

.wpresidence_realtor_listings_wrapper .term_bar_wrapper {
    padding: 0.75rem;
    border-radius: 1.5rem;
}

/* SINGLE AGENT PAGE  */

.agent_card_my_listings {
    background-color: #0d6efd !important;
    text-transform: capitalize;
    display: block !important;
}


ul.sub-menu {
    padding-block: .25rem !important;
}

.home .agent-search-form-wrap button {
    min-width: 11rem;
    font-size: .875rem;
}

.home .agent-search-form-wrap > div {
    flex: 1 0 22%;
}

.home .agent-search-form-wrap {
    transform: unset;
}


.vertical-swiper .swiper-pagination-vertical.swiper-pagination-bullets,
.swiper-vertical > .swiper-pagination-bullets {
    right: 2rem;
}

.vertical-swiper .swiper-pagination-bullet {
    width: .8125rem;
    height: .8125rem;
    display: inline-block;
    --swiper-pagination-bullet-inactive-color: #fff;
}

.vertical-swiper {
    height: 100vh !important;
}

.vertical-swiper img {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover;
    user-select: none;
}

.vertical-swiper h2 {
    display: none;
}

.wpresidence-navigation-menu .menu-mega-menu-updated-container ul li ul {
    border-radius: unset !important;
    padding: unset !important;
}

.elementor-element.elementor-element-13329a2.elementor-skin-carousel.elementor-arrows-yes.elementor-pagination-type-bullets.elementor-pagination-position-outside.elementor-widget.elementor-widget-media-carousel.e-widget-swiper {
    padding-block: 1rem !important;
}

@media (max-width:991.98px) {
    .agent_list_hero h1 {
        font-size: 2rem;
    }

    .agent-search-form-wrap {
        padding: 1rem;
    }
}

@media (max-width:767.98px) {
    .agent-search-form-wrap {
        margin-bottom: -3.5rem;
    }

    .home .agent-search-form-wrap {
        margin-bottom: unset;
        gap: .75rem !important;
    }


    .agent-search-form-wrap > div {
        flex: 1 0 44%;
    }

    .agent_list_cta h2 {
        font-size: 1.5rem;
    }

    .agent_list_cta p {
        font-size: 1rem !important;
        width: 50%;
    }
}





@media (max-width:767.98px) {

    .agent_list_cta p {
        width: 100%;
    }

    .agent_list_cta {
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
        padding: 1rem;
        gap: 1rem;
        margin-top: unset;
    }

    .agent_list_cta img {
        width: 7rem;
        position: unset;
    }

    .agent_list_cta p {
        text-align: center;
    }

    .agent_list_cta a {
        margin-inline: auto;
    }

    .slider_container .shortcode_slider_wrapper {
        margin-top: 0 !important;
    }

    .home .agent-search-form-wrap > div {
        flex: 1 0 39%;
    }
}

.elementor-element.elementor-element-785e6b4.elementor-widget.elementor-widget-html {
    width: 1000px;
}










.custom-map {
    width: 100%;
    height: 30rem;
    border-radius: 1rem;
    margin: 0 auto;
    border: 1px solid #ccc;
    margin-block: 4rem;
}

.custom-popup {
    font-family: 'Segoe UI', sans-serif;
    padding: 8px 12px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-left: 5px solid #007BFF;
    min-width: 180px;
}

.custom-popup h3 {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin: 0 0 4px 0;
}

.custom-popup p {
    font-size: 14px;
    color: #666;
    margin: 0 !important;
}

.custom-popup .rent {
    color: #e31a1c;
    font-weight: bold;
}


.agent-search-form-hero {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    border-color: 1px solid rgb(243 244 246);

    --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.search-form-hero-simple {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-form-hero-advanced .d-flex {
    align-items: center;
    gap: 1rem;
}

.search-form-hero-advanced .d-flex > div {
    flex: 1 0 0;
}

.search-form-hero-simple input {
    height: 3.5rem;
    width: 100%;
    border: 1px solid rgb(229, 231, 235);
    font-size: 0.875rem;
    padding-left: 1rem;
    border-radius: 0.5rem !important;
    color: rgb(2, 8, 23);
}

.search-form-hero-simple button {
    height: 3.5rem;
    width: 10.5rem;
    font-weight: 500;

}

.search-form-hero-searchfield {
    width: 100%;
}

.agent-search-form-hero select {
    border: 1px solid rgb(226, 232, 240);
    height: 3rem;
    border-radius: 0.5rem !important;
    font-size: 0.875rem;
    color: rgb(2, 8, 23);
    width: 100%;
    padding-inline: .75rem;
}

.search-form-hero-advanced-btn i {
    font-size: 0.75rem;
    transition: 0.5s;
}

.search-form-hero-advanced-btn:hover {

    color: rgb(6, 73, 204);
}

.search-form-hero-advanced-btn {
    display: flex;
    width: fit-content;
    margin: 1rem auto 0;
    gap: .5rem;
    color: rgb(7, 91, 242);
    font-size: 1rem;
    font-weight: 500;
    align-items: center;
    cursor: pointer;
    transition: 0.5s;
}

.fr-wrap {
    position: relative;
}

.search-form-hero-advanced {
    display: none;
    margin-top: 1rem;
}

.search-form-hero-advanced-btn.active i {
    transform: scale(1, -1);
}

.wpresidence_agent_unit_wrapper .agent_unit .agent_unit_social .wpestate_agent_unit_social {
    align-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: auto !important;
    float: unset !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
}

.wpresidence_agent_unit_wrapper .agent_unit .agent_unit_social.agent_list .wpestate_agent_unit_social a:hover {
    background: rgb(7, 91, 242) !important;
    color: #fff !important;
}

.wpresidence_agent_unit_wrapper .agent_unit .agent_unit_social.agent_list .wpestate_agent_unit_social a {
    align-items: center;
    justify-content: center;
    width: 2rem !important;
    height: 2rem !important;
    color: rgb(7, 91, 242) !important;
    border-radius: 50%;
    display: flex !important;
    background-color: rgb(226, 232, 240) !important;
    transition: 0.5s;
    flex-shrink: 0 !important;
    font-size: 1rem !important;
}


.agent_unit.text-center {
    box-shadow: unset !important;
}

.submit_action.custom_submit_action i {
    font-size: 1.5em;
}

.submit_action.custom_submit_action:hover {
    background-color: #fff;
    color: var(--wp-estate-main-color);
}

.submit_action.custom_submit_action {
    background: var(--wp-estate-main-color-option, var(--wp-estate-main-color));
    color: #fff;
    padding: .5rem;
    border-radius: .5rem;
    display: flex;
    align-items: baseline;
    font-family: 'Inter';
    gap: .5rem .75rem;
    font-size: .875rem;
    border: 1px solid var(--wp-estate-main-color);
}

.mobile_header i {
    font-size: 1.25rem !important;
}

@media (max-width:991.98px) {
    .wpresidence_agent_unit_wrapper .agent_unit .agent_unit_social {
        padding: 0 .25rem;
    }
}

@media (max-width:575.98px) {
    .agent-search-form-hero {
        padding: 1rem;
    }

    .search-form-hero-simple button {
        height: 3.5rem;
        width: 8.5rem;
    }

    .search-form-hero-advanced .d-flex {
        flex-direction: column;
    }

    .search-form-hero-advanced .d-flex > div {
        flex: 1 0 100%;
        width: 100%;
    }

}