/*
Theme Name: RealHomes Child
Theme URI: https://yourwebsite.com
Description: Child theme for RealHomes WordPress Theme
Author: Your Name
Author URI: https://yourwebsite.com
Template: realhomes
Version: 1.1.0
Text Domain: realhomes-child
*/

/* ================================
   Custom Styles Start Here
================================ */
/* @font-face {
  font-family: 'Font Awesome 5 Free';
  font-display: swap;
}

@font-face {
  font-family: 'Font Awesome 5 Brands';
  font-display: swap;
} */

/* body.login #login .wp-login-logo a {
background-size: 175px;
width: 175px;
}
body.login {
    background-color: #ffffff;
} */
html, body {
    overflow-x: hidden;
}
.rh_menu__user .rh_menu__user_phone .contact-number,
.user_menu_wrapper .rh_menu__user_phone .contact-number {
  font-size: 1.8rem;
}
.logoFooter img{
	margin: 0rem 0 1rem 0;
	border-radius: 5px;
	width: 230px;
	height: auto;
}
.rh_footer .contactButton a{
	background-color: #ffffff;
	color: var(--e-global-color-primary);
  border-radius: var(--rh-small-border-radius);
  padding: 12px 22px;
}
.rh_footer .contactButton a:hover{
	background-color: var(--e-global-color-secondary);
	color: var(--e-global-color-primary);
}
.rh_footer {
	/* background: #011b5b; */
	background: var(--e-global-color-primary);
}
.footerSocial a i{
	padding-right: 5px;
}
.rh_footer__widgets .textwidget p, 
.rh_footer a,
.rh_contact_widget .rh_contact_widget__item .content,
.rh_footer .rh_footer__wrap .copyrights, 
.rh_footer .rh_footer__wrap .designed-by {
	color:#ffffff;
}
.rh_footer a:hover,
.rh_footer .rh_contact_widget .rh_contact_widget__item a.content:hover{
	color: var(--e-global-color-secondary);
}
.rh_footer .widget_nav_menu li::before {
	border-left-color: #ffffff;
}
.rh_contact_widget .rh_contact_widget__item .icon svg {
	fill: #ffffff;
}
.rh_footer .rh_footer__bottom_wrap{
	justify-content: left;
}
@media (min-width: 1500px){
  .rh_slide__desc .rh_slide__desc_wrap {
    bottom: 10rem;
  }
}

.rh_pagination a {
  border-radius: var(--rh-small-border-radius);
}

.rh_prop_status_sty,
.rh_pagination .current,
.rh_pagination .rh_pagination__btn:hover{
  background-color: var(--rh-global-color-secondary);
}

.rh_slide__desc .rh_label,
.rh_label{
  background-color: var(--rh-global-color-primary);
}

#rh_slider__home .rh_label span,
.rh_label span {
  border-left-color:  var(--rh-global-color-primary) !important;
}

.rtl #rh_slider__home .rh_label span, .rh_label span {
  border-right-color:  var(--rh-global-color-primary) !important;
}

.rh_modal .rh_modal__wrap .rh_modal__dashboard .rh_modal__dash_link:hover svg, .rh_property__features_wrap .rh_property__feature .rh_done_icon svg, .rh_prop_card .rh_prop_card__thumbnail .rh_prop_card__btns a:hover svg path, .rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns a:hover svg path, .rh_list_card__wrap .rh_list_card__map_thumbnail .rh_list_card__btns a:hover svg path, .rh_property__print .rh_single_compare_button .highlight svg path, .rh_double_check, .rh_fav_icon_box a:hover svg path, .rh_address_sty a:hover svg, .highlight svg path {
  fill:var(--rh-global-color-primary);
}

[data-tooltip]:not([flow])::before, [data-tooltip][flow^=up]::before{
  border-top-color: var(--e-global-color-secondary);
}

[data-tooltip]::after{
  background-color: var(--e-global-color-secondary);
  color: var(--e-global-color-primary);
}
.google-reviews-section .ti-widget.ti-goog .ti-review-item>.ti-inner {
border-radius: 5px !important;
}
.google-reviews-section .ti-widget.ti-goog .ti-controls .ti-next:hover, .google-reviews-section .ti-widget.ti-goog .ti-controls .ti-next:focus, .google-reviews-section .ti-widget.ti-goog .ti-controls .ti-prev:hover, .google-reviews-section .ti-widget.ti-goog .ti-controls .ti-prev:focus {
	background-color:var(--e-global-color-secondary) !important;
	outline-color: var(--e-global-color-secondary) !important;
}
.google-reviews-section .ti-widget.ti-goog .ti-controls .ti-next:before, .google-reviews-section .ti-widget.ti-goog .ti-controls .ti-prev:before {
  border-color: var(--e-global-color-primary) !important;
}
/* .inspiry_half_map_header_wrapper .rh_section__map_listing{
	padding: 20px;
} */

.inspiry_half_map_header_wrapper .rh_page__map_properties{
	padding: 0px 20px;
}

.rh_list_card__wrap .rh_list_card__map_thumbnail .rh_list_card__btns a.add-to-favorite svg path,
.rh_list_card__wrap .rh_list_card__map_thumbnail .rh_list_card__btns a:hover.add-to-favorite svg path,
.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns .rh_trigger_compare svg path,
.rh_prop_card .rh_prop_card__thumbnail .rh_prop_card__btns .rh_trigger_compare svg path,
.rh_list_card__wrap .rh_list_card__map_thumbnail .rh_list_card__btns a.add-to-compare svg path
{
	fill: #ffffff;
}

.rh_prop_card_meta_theme_stylish .rh_prop_card__meta .rh_svg{
	fill: var(--e-global-color-secondary);
}

.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns .favorite:hover svg path, 
.rh_prop_card .rh_prop_card__thumbnail .rh_prop_card__btns .favorite:hover svg path,
.rh_list_card__wrap .rh_list_card__map_thumbnail .rh_list_card__btns a:hover.add-to-favorite svg path,
.rh_fav_icon_box .favorite:hover svg path,
.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns .rh_trigger_compare:hover svg path,
.rh_prop_card .rh_prop_card__thumbnail .rh_prop_card__btns .rh_trigger_compare:hover svg path,
.rh_list_card__wrap .rh_list_card__map_thumbnail .rh_list_card__btns a:hover.add-to-compare svg path,
.rh_fav_icon_box .rh_trigger_compare:hover svg path{
	fill: var(--e-global-color-secondary);
}

.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns .favorite-placeholder svg path,
.rh_prop_card .rh_prop_card__thumbnail .rh_prop_card__btns .favorite-placeholder svg path,
.rh_list_card__wrap .rh_list_card__map_thumbnail .rh_list_card__btns .favorite-placeholder svg path,
.rh_fav_icon_box .favorite-placeholder svg path,
.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns a svg path, 
.rh_prop_card .rh_prop_card__thumbnail .rh_prop_card__btns a svg path,
.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns .compare-placeholder svg path,
.rh_prop_card .rh_prop_card__thumbnail .rh_prop_card__btns .compare-placeholder svg path,
.rh_list_card__wrap .rh_list_card__map_thumbnail .rh_list_card__btns .compare-placeholder svg path,
.rh_fav_icon_box .compare-placeholder svg path{
	fill: var(--e-global-color-primary);
}

.inspiry_half_map_header_wrapper .rh_page__map_properties .rh_list_card__wrap .rh_list_card__map_details .rh_list_card__priceLabel .rh_list_card__price .status:not(:empty){
    background-color: var(--e-global-color-secondary);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}

.home-room-types .rhea-property-taxonomy-widget-outer-wrapper a
/* .single-property .rh_property__feature a */
{
  pointer-events: none;
}
/* .page-template-properties-search .rh_banner,
.page-template-compare-properties .rh_banner{
	display: none;
} */
/* .page-template-properties-search .inspiry_half_map_header_wrapper .rh_section__map_listing{ */
.inspiry_half_map_header_wrapper .rh_section__map_listing{
	margin-top: 0px;
	padding: 50px 20px;
}
.page-template-properties-search{
    overflow: visible !important;
}
.error404 h2,
.error404 h4{
	color: var(--e-global-color-primary);
}

.single-property .rh_banner, .single-property .rh_property__id{
	display: none;
}
.single-property .rh_property__print {
    margin-left: auto;
} 

.single-property .rh_property__print a,
.single-property .rh_property__print a svg path,
.archive .rh_prop_card_meta_theme_stylish .rh_prop_card__meta .rh_svg {
	fill: var(--e-global-color-secondary);
}
.single-property .highlight__red svg path,
.single-property .rh_property__print a:hover svg path {
	fill: var(--e-global-color-primary);
}

.single-property .rh_page__property .rh_page__property_title .rh_page__title{
	font-size: 36px;
	color: var(--e-global-color-primary);
}
.single-property .rh_property__heading {
	font-size: 24px;
	text-decoration: underline;
}
.single-property p,
.single-property .features-content-wrapper .rh_property__features_wrap .rh_property__feature a,
.single-property .rh_property__meta_wrap .rh_property__meta .figure,
.single-property .rh_property__meta_wrap .rh_property__meta .rh_meta_titles,
.single-property .rh_page__property .rh_page__property_title .rh_page__property_address,
.single-property .rh_page__property .rh_page__property_price .status{
	font-size: 18px;
}
.single-property .features-content-wrapper .rh_property__features_wrap .rh_property__feature a:hover{
	color: var(--e-global-color-secondary);
}
.rh_banner,
.inspiry_responsive_header_solid .rh_banner__image {
	height: 400px;
}
.archive .rh_map__search{
	padding: 20px;
}
/* Make parent relative */
.rh_list_card,
.rh_prop_card .rh_prop_card__wrap{
    position: relative;
}

/* Style and position the status badge */
.rh_list_card__price .status,
.rh_prop_card__priceLabel .rh_prop_card__status{
    position: absolute;
    top: 0px;
    right: 0px;
    background: var(--e-global-color-secondary); /* green */
    color: #ffffff;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
    z-index: 5;
    display: inline-block;
}

/* .rh_sort_controls{
	display: none;
} */
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-modern .choices .choices__inner{
	min-height: 51px !important;
	border: 1px solid rgba(128, 128, 128, .2) !important;
	border-radius: var(--rh-small-border-radius) !important;
}
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-modern .choices .choices__inner .choices__item.choices__placeholder{
    font-size: 14px !important;
}
@media(max-width: 1024px) {
    .rh_banner,
	.inspiry_responsive_header_solid .rh_banner__image {
		height: 300px;
	}
	.rh_footer__widgets #rh_contact_information-2 .rh_contact_widget{
		margin-bottom: 0px;
	}
	.rh_footer__widgets #rh_contact_information-2 .rh_contact_widget .title{
		margin-bottom: 15px;
		margin-top: 5px;
	}
	.rh_footer__widgets #rh_contact_information-2 .rh_contact_widget .rh_contact_widget__item {
		padding: 0 0 10px 0;
	}
	/* .rh_footer__widgets #custom_html-4 .title{
		margin-bottom: 10px;
	} */
	 
	.wp_forms_center .elementor-element-populated{
		margin: 20px 0px 0px 0px !important;
	}

}
@media(max-width: 767px) {
    .rh_banner,
	.inspiry_responsive_header_solid .rh_banner__image {
		height: 200px;
	}
	.rh_page__head .rh_page__controls {
        display: flex;
        flex-direction: column;
        gap: 10px; /* space between rows */
		text-align: center;
    }

    .rh_page__head .rh_page__controls > div {
        width: 100%;
    }

    .rh_save_search,
    .rh_sort_controls {
        width: 100%;
    }

    /* Optional: make dropdown full width */
    .rh_sort_controls select {
        width: 100%;
    }
	iframe[src*="jotform"] {
		height: auto !important;
		min-height: 700px !important;
	}
}

/* ================================
   SEARCH PAGE LAYOUT
================================ */

/* Desktop layout */
.page-template-properties-search .rh_section__map_listing {
    display: flex;
}

/* Map = 40% */
.page-template-properties-search .rh_page__listing_map {
    width: 40%;
    flex: 0 0 40%;
    height: auto !important;
}

/* Listing = 60% */
.page-template-properties-search .rh_page__map_properties {
    width: 60%;
    flex: 0 0 60%;
    max-width: 100%;
}

/* Grid layout */
.page-template-properties-search .rh_page__listing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.page-template-properties-search .rh_page__listing:has(.no-results-found) {
    grid-template-columns: 1fr !important;
}

/* Card fixes */
.page-template-properties-search .rh_list_card__wrap {
    display: block !important;
}

.page-template-properties-search .rh_list_card__map_thumbnail {
    width: 100%;
    height: 25rem;
}

.page-template-properties-search .rh_list_card__map_wrap {
    width: 100%;
}

/* Hide pagination */
.page-template-properties-search .rh_pagination {
    display: none !important;
}

/* Sticky map (desktop only) */
.page-template-properties-search #listing-map {
    height: 100vh;
    position: sticky;
    top: 0;
}
.page-template-properties-search .rh_content,
.page-template-properties-search .rh_pagination__stats{
    display: none;
}

.page-template-properties-search .rh_page__head {
    padding: 0 0 1rem;
}
.page-template-properties-search .rh_alert-wrapper{
    padding: 0px 20px;
}
/* @media(max-width: 1278px) and (min-width:1025px) {
    .elementor-widget-rhea-nav-menu .rhea-nav-menu-wrapper{
        display: block !important;
    }
    .elementor-widget-rhea-nav-menu .rhea-nav-menu-responsive{
        display: none !important;
    } 
    .elementor-widget-rhea-nav-menu .elementor-column.elementor-col-66{
        width: 90% !important;
    }
    .elementor-widget-rhea-nav-menu .elementor-column.elementor-col-33{
        width: 10% !important;
    }
} */
@media (max-width: 1139px){
    .inspiry_half_map_fixed #map-head {
        height: auto !important;
        min-height: auto !important;
        padding-bottom: 4rem !important;
    }
}
@media (max-width: 1024px) {

    /* Stack layout */
    .page-template-properties-search .rh_section__map_listing {
        flex-direction: column;
    }

    /* Full width */
    .page-template-properties-search .rh_page__listing_map,
    .page-template-properties-search .rh_page__map_properties {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Map height fix */
    .page-template-properties-search #listing-map {
        height: 400px;
        position: relative;
    }

    /* Keep 2 columns */
    .page-template-properties-search .rh_page__listing {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    /* Banner height */
    .rh_banner,
    .inspiry_responsive_header_solid .rh_banner__image {
        height: 200px;
    }
    .single-property .rh_property__print {
        margin: 0 auto;
    }

    /* Controls stacked */
    .rh_page__head .rh_page__controls {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .rh_page__head .rh_page__controls > div,
    .rh_save_search,
    .rh_sort_controls {
        width: 100%;
    }

    .rh_sort_controls select {
        width: 100%;
    }

    /* Single column listing */
    .page-template-properties-search .rh_page__listing {
        grid-template-columns: 1fr;
    }

    /* Map height */
    .page-template-properties-search #listing-map {
        height: 300px;
    }

    /* Card image */
    .page-template-properties-search .rh_list_card__map_thumbnail {
        height: 18rem;
    }

    /* Parent container */
    /* .rh_page__head .rh_page__controls {
        display: flex;
        justify-content: space-between;
        gap: 15px;
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: stretch;
    } */

    /* Fix bootstrap select full width */
    /* .rh_sort_controls .bootstrap-select {
        width: 100% !important;
    } */

    /* #rh_save_search,
    .realhomes-round-corners .rh_page__head .rh_page__controls .rh_sort_controls {
        width: 100%;
    } */

}

/* Small devices */
@media (max-width: 480px) {
    .page-template-properties-search .rh_list_card__map_thumbnail {
        height: 16rem;
    }
}