/*
 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.0.120
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/** Hide Quick search results in search form */
#results {
    display: none !important;
}

#property_similar_listings .property_listing_details.child-theme {
    column-gap: 12px !important;
}

.listing_filters_head .dropdown.wpresidence_dropdown,
.listing_filters_head.child-theme {
    margin-bottom: 0 !important;
}

#sidebar-schedule-tab,
.actions-btn.bs-select-all,
.actions-btn.bs-deselect-all,
#gmap-control #geolocation-button,
#gmap-control #gmap-next,
#gmap-control #gmap-prev,
.wpestate_top_property_navigation.sticky_property_menu_visible > :nth-child(-n+2),
.wpresidence-detail-shteti,
.listing_detail.wpresidence-detail-country,
.listing_detail.wpresidence-detail-shteti,
.child-theme-hidden,
.ribbon-wrapper-Publikim-i-ri.Publikim-i-ri,
.ribbon-wrapper-New-listing.New-listing,
.ribbon-inside.Publikim-i-ri,
.ribbon-inside.New-listing,
#menu-item-34591,
#menu-item-34614,
.breadcrumb_container,
.page-id-33510 .breadcrumb_container,
.single-blog .meta-info .meta-element:nth-child(3),
.single-content.contact-content,
.contact-wrapper.row .contact_page_company_details,
#gmap_wrapper .contact_map_container,
.page-id-33510 #search_wrapper,
.page-id-30774 #search_wrapper,
.listing_filters_head > .dropdown #a_filter_action,
.listing_filters_head > .dropdown #a_filter_county,
.listing_filters_head > .dropdown #a_filter_categ,
.listing_filters_head > .dropdown #a_filter_project,
.listing_filters_head > .dropdown #a_filter_cities,
.listing_filters_head > .dropdown #a_filter_areas,
.page-id-19 #search_wrapper,
.page-id-19 .header_media {
    display: none !important;
}

.logged-in .listing_filters_head.child-theme > .dropdown #a_filter_categ,
.logged-in .listing_filters_head.child-theme > .dropdown #a_filter_project,
.logged-in .listing_filters_head.child-theme > .dropdown #a_filter_cities,
.logged-in .listing_filters_head.child-theme > .dropdown #a_filter_areas {
    /*display: block !important;*/
}

.classic-carousel.wpestate_property_carousel,
#property_slider_carousel {
    max-height: 764px !important;
}

#property_slider_carousel > .owl-stage-outer {
    max-height: 427.288px !important;
}

.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children > ul {
    border-radius: 0 !important;
}

#menu-prosperity-menu li.menu-item-has-children > ul {
    padding: 0 !important;
}

.wpresidence-navigation-menu .menu-mega-menu-updated-container ul li ul li {
    background-color: #f5f2f2 !important;
}

.wpresidence-navigation-menu .menu-mega-menu-updated-container ul li ul li a:hover {
    color:#c81f22 !important;
}

.infofloor {
    display: flex;
    gap: 5px;
    flex-direction: row;
}

.secondary_menu_sidebar a.secondary_select,
.property_dashboard_price,
.user_dashboard_links a:hover {
    color: #c81f22 !important;
}

.child-theme .adv_handler {
    width: 212px !important;
}

.child-theme .adv_handler span {
    font-size: 14px;
    font-weight: 500;
}

.child-theme #advanced_submit_10 {
    width: calc(100% - 222px) !important;
}

.wpestate_crm_lead_actions .property_dashboard_actions_button,
.property_dashboard_action .property_dashboard_actions_button,
.wpresidence_dashboard_body .wpresidence_button,
.user_dashboard_links .user_tab_active {
    background: #c81f22 !important;
}

.user_dashboard_links .user_tab_active_list a:hover {
    color: rgba(0, 0, 0, 0.38) !important;
}

.profile-onprofile.row > .half-content .half-content .half-content.col-md-6  {
    width: 100% !important;
}

.page-template-wpestate-crm-dashboard .property_wrapper_dash.row {
    padding: 0 !important;
}

.page-template-wpestate-crm-dashboard-php .wpestate_crm_lead_actions .btn {
    margin-top: 0 !important;
}

.property_wrapper_dash.row:hover {
    background-color: unset !important;
}

.page-template-wpestate-crm-dashboard-php .property_dashboard_actions_button {
    background-color: #c81f22 !important;
    color: #fff !important;
}

.crm-search-form .search-buttons {
    justify-content: flex-end;
}

.infofloor img,
.infofloor svg {
    height: 20px;
    object-fit: contain;
    fill: #5c727d;
}

.share_unit .copyLink:after {
    content: "\f0c5";
    font-family: "Font Awesome\ 5 Free", sans-serif;
}

.prop_social .share_unit .copyLink:after {
    left: 10px;
    position: absolute;
}

.backtop, .contact-box {
	color: #c81f22 !important;
}

.wpestate_agent_details_wrapper .agentpic-wrapper .agent-listing-img-wrapper .agentpict {
    background-size: contain !important;
}


.fullmap #gmap-control {
    z-index: 111;
    top: 78px;
}

.mobilex-menu li:hover a {
	background-color: #8c1416 !important ;
}

.elementor-30774 .elementor-element.elementor-element-bc52b65 > .elementor-widget-container {
        padding: 27px 15px 5px 15px !important;
    }

.testimonial-container.type_class_4 {
    padding: 45px 15px !important;
}

/* Project Filter Styling */
#a_filter_project {
    /*background-color: #fff;*/
    /*border: 1px solid #FFF;*/
    /*color: #333;*/
    /*font-size: 13px;*/
    /*padding: 8px 26px 8px 5px;*/
    /*border-radius: 4px;*/
    /*cursor: pointer;*/
    /*transition: all 0.3s ease;*/
}

#a_filter_project:hover {
    background-color: #fff;
    border-color: #fff;
}

#a_filter_project + .dropdown-menu {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 2px;
}

#a_filter_project + .dropdown-menu li {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#a_filter_project + .dropdown-menu li:hover {
    background-color: #f8f9fa;
}

#a_filter_project + .dropdown-menu li[data-value="all"] {
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

/* Ensure project filter dropdown is consistent with other filters */
.listing_filters_head .dropdown.wpresidence_dropdown {
    margin-right: 10px;
    margin-bottom: 10px;
}

.listing_filters_head .dropdown.wpresidence_dropdown:last-child {
    margin-right: 0;
}

.listing_detail.property_default_property_size::after,
.listing_detail.area_net::after,
.listing_detail.common_area::after,
.listing_detail.terrace_area::after,
.listing_detail.parking_area::after,
.listing_detail.pool_area::after,
.listing_detail.garage_area::after,
.listing_detail.warehouse_area::after {
    content: " m²";
    position: relative;
}

.property-unit-information-wrapper.child-theme .property_location {
    height: 75px;
    padding: 0 10px;
}

footer a:hover {
    color: #d3d0d0 !important;
}

#footer-widget-area img.footer-logo {
    max-width: 200px;
}

#footer-widget-area .wp-block-heading {
    color: #fff;
}

#footer-widget-area .widget-container li {
    width: auto !important;
}

.wpestate_agent_details_wrapper .agentpic-wrapper .agent-listing-img-wrapper .agentpict {
    height: 100px !important;
}

button#a_filter_order::before {
    content: "Rendit sipas: ";
}

html[lang="en-US"] button#a_filter_order::before {
    content: "Order by: ";
}

footer p,
footer span,
footer a {
    color: #FFF !important;
}

footer .wp-block-social-link a {
    background: #FFF;
    border-radius: 50%;
    font-size: 22px !important;
}

footer .wp-block-social-link a svg {
    fill: #c81f22 !important;
}

/*@media screen and (max-width: 576px) {
    #gmap-control span {
        font-size: 9px !important;
        padding-top: 0px !important;
    } */

@media screen and (min-width: 780px) {
    .single-content.listing-content .owl-item.cloned:last-child img {
        min-height: 427px !important;
    }

    #all_wrapper .wpresidence_page_content_wrapper {
        padding: 0 !important;
    }

    #property_similar_listings {
        margin-left: 10px !important;
        margin-right: 10px !important;
        padding: 0 !important;
    }

    #property_similar_listings .property_location {
        padding: 0 !important;
    }

    #property_similar_listings .property_listing_details > span {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #property_similar_listings .property_listing_details svg {
        margin: 0 auto !important;
    }

    #property_similar_listings .infofloor {
        margin-top: -4px !important;
        gap: 0 !important;
    }

    #property_similar_listings .infofloor svg {
        height: 19px !important;
    }
}

@media screen and (max-width: 780px) {
    .dropdown-menu.show .bs-searchbox {
        margin-top: 25px !important;
    }

    .dropdown-menu.show .dropdown-close-btn {
        position: absolute;
        top: 5px;
        right: 8px;
        font-size: 37px;
        line-height: 1;
        cursor: pointer;
        color: rgb(220, 53, 69);
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        border: 1px solid red;
        padding: 0;
        border-radius: 50%;
        background: #ffffff;
    }

    #projekti .dropdown-close-btn {
        display: none !important;
    }

    .page-id-33510 #adv-search-header-mobile,
    .page-id-30774 #adv-search-header-mobile,
    .tax-property_category_agent.term-residential #adv-search-header-mobile,
    .page-id-6 #adv-search-header-mobile,
    .page-id-93 #adv-search-header-mobile,
    .page-id-33739 #adv-search-header-mobile,
    .page-id-33757 #adv-search-header-mobile {
        display: none !important;
    }

    .tax-property_category_agent.term-residential .col-md-4.child-theme,
    .page-id-6 #adv-search-1 .col-md-4.child-theme,
    .page-id-93 #adv-search-1 .col-md-4.child-theme,
    .page-id-33739 #adv-search-1 .col-md-4.child-theme,
    .page-id-33757 #adv-search-1 .col-md-4.child-theme {
        padding-top: 10px !important;
    }

    .wpestate-price-component-popoup-done {
        float: right;
    }

    .info_details {
        margin: -140px 0 0 -148px !important;
    }

    .gmapzoomminus_sh, .gmapzoomplus_sh {
        margin-top: 300px !important;
    }

    #property_slider_carousel > .owl-stage-outer {
        max-height: 208px !important;
    }

    footer .wp-block-social-link a {
        font-size: 18px !important;
    }

    .wpestate_property_description .property-panel,
    .single-overview-section {
        padding: 15px !important;
    }

    .accordion.property-panel .accordion-header > button {
        padding-bottom: 15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .accordion.property-panel .accordion-body {
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-bottom: 15px !important;
    }

    .property-unit-information-wrapper.child-theme .property_location {
        padding: 0;
    }

    #search_wrapper {
        display: inline-block !important;
    }

    #gmap-control span {
		font-size: 9px !important;
        padding-top: 42px !important;
    }

	#gmap-control, #gmap-control span {
        margin-top: -30px;
        align-content: center;
        display: flex;
	}

    .fullmap .gmap-controls {
        font-size: 9px !important;
        left: 0;
        margin-top: 7px !important;
        margin-left: 180px !important;
        max-width: 100%;
        width: 100%;
	}
}

