/*
Theme Name: RealHomes Child Theme
Theme URI: http://themeforest.net/item/real-homes-wordpress-real-estate-theme/5373914
Description: Child theme for Real Homes.
Author: Inspiry Themes
Author URI: https://www.inspirythemes.com/
Template: realhomes
Version: 1.4.2
*/

:root {
	--tdm-max-width: 1440px;
	--tdm-color-black: #121212;
	--tdm-color-white: #fcfcfc;
	--tdm-font-family: 'Roboto';
	--tdm-font-weight-primary: bold;

	--tdm-h1: 54px;
	--tdm-h2: 42px;
	--tdm-h3: 32px;
	--tdm-h4: 24px;
	--tdm-h5: 20px;
	--tdm-h6: 18px;
	--tdm-p: 16px;
	--tdm-caption: 14px;
}

@media (max-width: 1023px) {
	:root {
		--tdm-h1: 46px;
		--tdm-h2: 38px;
		--tdm-h3: 28px;
		--tdm-h4: 22px;
		--tdm-h5: 18px;
		--tdm-h6: 16px;
		--tdm-p: 15px;
		--tdm-caption: 14px;
	}
}

@media (max-width: 767px) {
	:root {
		--tdm-h1: 38px;
		--tdm-h2: 32px;
		--tdm-h3: 24px;
		--tdm-h4: 20px;
		--tdm-h5: 18px;
		--tdm-h6: 16px;
		--tdm-p: 15px;
		--tdm-caption: 13px;
	}
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Roboto", sans-serif;
	font-weight: 800;
}

/** Start - Section Title Widget **/
.re_section_head_elementor {
	text-align: left;
	width: 50%;
}

.re_section_head_elementor .rh_section__title {
	font-family: var(--e-global-typography-primary-font-family);
	font-weight: var(--e-global-typography-primary-font-weight) !important;
	font-size: var(--tdm-h1);
	line-height: 100%;
	margin-top: 42px;
}

.re_section_head_elementor .rh_section__subtitle {
	font-size: var(--tdm-h3);
}

.re_section_head_elementor .rh_section__stretcher {
	content: '';
	flex: 1;
	align-self: center;
    /* width: 115px; */
    height: 2px;
    left: 0;
    border: 1px solid rgba(0,0,0, 0.4);
    vertical-align: middle;
    margin-right: 12px;
}

.re_section_main_flex {
	display: flex;
}

.re_section_main_flex .re_section_sub_flex {
	display: flex;
	flex-flow: row wrap;
}

.re_section_main_flex .re_section_sub_flex .rh_section__title {
	width: 100%;
}


/** End - Section Title **/

 /** Start - Properties Grid  **/
.elementor_property_card_parent .rh_overlay__contents a:hover {
	color: initial;
}
/** End - Properties Grid **/


/** Start - Elementor Widget - Properties Grid Three **/
.elementor-widget-rhea-properties-widget-3 .rhea_latest_properties_2 {
	margin-left: 0;
	margin-right: 0;
}

.elementor-widget-rhea-properties-widget-3 .rhea_latest_properties_2 .rhea_property_card_ele_stylish {
	min-width: auto;
	padding-left: 4px;
	padding-right: 4px;
	padding-bottom: 16px;
}

/* .elementor-widget-rhea-properties-widget-3 .rhea_latest_properties_2 .rhea_thumbnail_wrapper {
	height: 200px;
}
.elementor-widget-rhea-properties-widget-3 .rhea_latest_properties_2 .rhea_permalink {
	height: 100%;
}
.elementor-widget-rhea-properties-widget-3 .rhea_latest_properties_2 .rhea_thumbnail_wrapper img {
	height: 100%;
	object-fit: cover;
} */
/** End - Elementor Widget - Properties Grid Three **/

.sticky-btns-section {
	position: sticky;
	top: 80px;
	/* top: 0; */
	z-index: 999;
}
.sticky-btns-section .elementor-widget-wrap {
	flex-flow: row nowrap;
    align-items: stretch;
}
.sticky-btns-section .elementor-widget-wrap * {
	height: 100%;
}
.sticky-btns-section .elementor-widget-wrap .elementor-button-text {
	display: flex;
	align-items: center;
}

/** Start - Single Property **/

.rh_banner .rh_banner__wrap {
	padding-left: 2rem;
	padding-right: 2rem;
}

.rh_wrap--padding {
	padding-left: 2rem;
	padding-right: 2rem;
}

.rh_property .rh_property__main {
	flex: 3;
	width: auto;
}

.rh_property .rh_property__sidebar {
	flex: 2;
	width: auto;
}

.rh_page__property .rh_page__property_title .rh_page__title {
	font-size: var(--tdm-h1);
	font-family: var(--tdm-font-family);
	font-weight: bold;
}

.rh_page__property .tdm__district {
	font-size: var(--tdm-h4);
	font-family: var(--tdm-font-family);
	margin-top: 1rem;
}

.rh_property .property-detail-slider-wrapper .slick-slide img {
	width: 100%;
}

.rh_property .rh_property__meta_wrap > * {
	flex: 1 1 auto;
}

.rh_property__meta_wrap .rh_property__meta .rh_meta_titles {
	font-size: var(--tdm-h6);
}

.rh_property__heading {
	font-size: var(--tdm-h5);
}

.rh_page__property .rh_page__property_price {
	margin-top: 18px;
}

.rh_page__property .rh_page__property_price .status {
	font-size: var(--tdm-h5);
}

.rh_page__property .rh_page__property_price .price {
	font-size: var(--tdm-h4);
	font-weight: bold;
}

.rh_property .rh_property__id {
	visibility: hidden;
}

.tdm__bg_img {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	height: 640px;
}

.tdm__info_card_wrapper {
	height: 100%;
	display: flex;
	justify-content: flex-end;
}

.tdm__info_card {
	background: white;
	padding: 48px 36px;
	max-width: 680px;
}

.rh_page__property .tdm__info_card .rh_page__property_title .rh_page__title {
	line-height: 1.1em;
}

.tdm-single-property__gallery {
	display: flex;
	flex-flow: row wrap;
	row-gap: 8px;
	column-gap: 8px;
	list-style: none;
}

.tdm-single-property__gallery > * {
	flex: 0 1 auto;
	width: calc(50% - 4px);
}

.btn-whatsapp {
	display: block;
    padding: 16px;
	margin-top: 18px;
	border: 2px solid var(--tdm-color-black);
}

.btn-whatsapp:hover {
	background: var(--tdm-color-black);
	color: var(--tdm-color-white);
}

.btn-whatsapp i {
	font-size: 20px;
	margin-right: 6px;
}

.tdm-sidebar--desktop {
	display: block;
}

.tdm-sidebar--mobile {
	display: none;
}

@media (max-width: 1023px) {
	
	.tdm-sidebar--desktop {
		display: none;
	}

	.tdm-sidebar--mobile {
		display: block;
	}
}

/** End - Single Property **/

.rh_logo img,
.rh_mod_sticky_header .rh_sticky_header_logo img {
	height: 60px;
}

.rh_mod_sticky_header .rh_sticky_header_logo {
	max-width: initial;
}

.rh_mod_sticky_header .menu-main-menu-container > ul > li {
	margin: 0;
}

.rh_mod_sticky_header .menu-main-menu-container > ul > li a {
	padding: 1.3rem 1.7rem;
}

.rh_header .rh_header__wrap {
	max-width: var(--tdm-max-width);
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.rh_header .rh_header__wrap .rh_logo {
	padding: 0;
}
.rh_header_advance .rh_menu .main-menu {
	margin-top: -12.5px;
}

.rh_header .rh_menu__user .rh_menu__user_phone,
.rh_mod_sticky_header .rh_menu__user_phone {
	display: none;
}

.rh_mod_sticky_header {
	background: var(--tdm-color-black);
}

.rh_section__content .rh_content, .rh_section__content .commentlist article .comment-detail-wrap .comment-body, .commentlist article .comment-detail-wrap .rh_section__content .comment-body {
	padding: 0 20px 0 20px;
}

.rh_sticky_header_container {
	max-width: 	var(--tdm-max-width);
	margin: auto;
}

@media (max-width: 1139px) {
	.rh_header.rh_header_advance.rh_temp_header_responsive_view {
		position: fixed;
	}
}


/** Start - For Home page Banner Layout **/
.rh_header {
	position: relative;
	background: var(--tdm-color-black);
}

.rh_header_advance.rh_header {
	background: var(--tdm-color-black);
}

.rh_section__content {
	padding-top: 0;
}

.wrapper-home-sections {
	margin-top: 0;
}

/** End - For Home page Banner Layout **/

#properties-listing.rh_section.rh_section--flex {
	column-gap: 20px;
}

#properties-listing.rh_section .rh_page__listing_page .rh_page__listing_grid {
	overflow: hidden;
}


/** Start - For Inspiry Properties 3 **/
.rhea_latest_properties_2 .rhea_top_tags_box,
.rh_latest_properties_2 .rh_top_tags_box {
	display: flex;
	flex-flow: row wrap;
	justify-content: end;
	align-items: start;
	padding: 15px;
	row-gap: 6px;
	column-gap: 6px;
}

.rhea_latest_properties_2 .rhea_top_tags_box .rhea_prop_status_sty,
.rh_latest_properties_2 .rh_top_tags_box .rh_prop_status_sty {
	margin: 0;
	display: block;
}

.rhea_latest_properties_2 .rhea_top_tags_box .rhea_soi_prop_status_sty,
.rh_latest_properties_2 .rh_top_tags_box .rh_soi_prop_status_sty {
	display: block;
	flex: initial;
	margin: 0;
}

.rhea_latest_properties_2 .rhea_top_tags_box > *:not(:first-child):not(:last-child),
.rh_latest_properties_2 .rh_top_tags_box > *:not(:first-child):not(:last-child) {
	margin-left: 0;
}

.rhea_latest_properties_2 .rhea_top_tags_box .rhea_property_types small,
.rh_latest_properties_2 .rh_top_tags_box .rh_property_types small {
	font-size: var(--tdm-caption);
}

.rhea_property_card_ele_stylish_inner,
.rh_property_card_stylish_inner {
	overflow: hidden;
}

.rhea_property_card_ele_stylish_inner .tdm__sold_tag,
.rh_property_card_stylish_inner .tdm__sold_tag {
	position: absolute;
    background: crimson;
    width: 192px;
    border-left: 60px solid crimson;
    padding: 6px 16px;
    text-align: left;
    transform: rotate(-44deg) translateX(-46px) translateY(-28px);
    top: 8px;
    left: 0;
    color: white;
    font-weight: bold;
    z-index: 0;
}
.tdm__brand-new-tag {
	background: #0ca210;
	color: white;
}

/** End - For Inspiry Properties 3 **/


/* Start - Footer */

.menu-footer-widget-menu-container #menu-footer-widget-menu {
	display: block;
}

/* End - Footer */

/**
 * Elementor Widget - Image Carousel :: RealHomes
 */

/* the slides */
.elementor-widget-inspiry-image-carousel-widget .rhea-image-carousel .slick-slide {
	margin: 0 12px;
}

/* the parent */
.elementor-widget-inspiry-image-carousel-widget .rhea-image-carousel .slick-list {
	margin: 0 -12px;
}

.elementor-widget-inspiry-image-carousel-widget .rhea-image-carousel {
	border-radius: 0;
}

.elementor-widget-inspiry-image-carousel-widget .rhea-image-carousel .rhea-image-carousel-image {
	height: 480px;
    object-fit: cover;
	object-position: top;
    width: 100%;
	box-shadow: 0 0 5px 2px rgba(0,0,0,.05);
}

/* the slides */
.elementor-widget-inspiry-image-carousel-widget.side-carousel .rhea-image-carousel .slick-slide {
	margin: 0;
}

/* the parent */
.elementor-widget-inspiry-image-carousel-widget.side-carousel .rhea-image-carousel .slick-list {
	margin: 0;
}

.elementor-widget-inspiry-image-carousel-widget.side-carousel .rhea-image-carousel .rhea-image-carousel-image {
	height: 300px;
    object-fit: cover;
	object-position: top;
    width: 100%;
	box-shadow: 0 0 5px 2px rgba(0,0,0,.05);
}


/*
 * Elementor Widget - Transaction List
 */

.dsp-flex {
	display: flex;
}

.section-transaction-list .transaction-card {
	display: flex;
	/* column-gap: 20px; */
	margin-bottom: 20px;
	background: white;
	box-shadow: 0 0 5px 2px rgba(0,0,0,.05);
}

.section-transaction-list .transaction-card > * {
	flex: 1 0 0;
}

.section-transaction-list .transaction-card .col-one {
	flex: 0 0 32%;
	display: flex;
}

.section-transaction-list .transaction-card .col-two {
	flex: 0 0 26%;
	flex-flow: column;
	justify-content: space-between;
	padding: 20px;
}

.section-transaction-list .transaction-card .col-three {
	padding-top: 20px;
	padding-bottom: 20px;
}

.section-transaction-list .transaction-card .transaction-img {
	width: 100%;
	height: 100%;
	min-height: 120px;
    /* aspect-ratio: 3/2; */
	background-size: cover;
	background-position: center;
	cursor: pointer;
}

.section-transaction-list .transaction-card .title {
	font-size: var(--tdm-h5);
	font-weight: bold;
	margin: 0 0 2rem;
}

.section-transaction-list .transaction-card p {
	margin: 0 0 2rem;
}

.section-transaction-list .transaction-card .label {
	font-size: var(--tdm-caption);
	font-weight: bold;
	color: #333;
	display: block;
}

.section-transaction-list .transaction-card .value {
	font-size: var(--tdm-p);
	line-height: 2em;
}

.section-transaction-list .transaction-card .value small {
	font-size: var(--tdm-p);
}

.section-transaction-list .transaction-card .highlight {
	font-size: var(--tdm-h6);
	color: var(--rh-global-color-primary);
    font-weight: 500;
    line-height: 2em;
}

.section-transaction-list .transaction-card .dsp-flex {
	column-gap: 20px;
}

@media (max-width: 1023px) {
	.section-transaction-list .transaction-card {
		display: grid;
		/* grid-template-columns: repeat(2, 50%); */
	}
}

/* End - Elementor Widget - Transaction List */


/**
 * Transaction Page Template
 */
 .rh_section .section-transaction-list {
	text-align: left;
}

/**
 * Property Card
 */
.rh_prop_card .rh_prop_card__thumbnail img {
	height: 320px;
	object-fit: cover;
}
/* End - Property Card */


/**
 * Property Card Stylish (from grid-card-3)
 */
.rh_property_card_stylish {
	width: 33.33%;
}

.rh_property_card_stylish .rh_property_card_stylish_inner img {
	height: 320px;
	object-fit: cover;
}
/* End - Property Card Stylish */


/**
 * Page with Sidebar
 */
 .rh_page__sidebar .rh_sidebar {
	position: sticky;
	top: 104px;
}

@media (min-width: 1024px) {
	.rh_section__left_sidebar .rh_page__sidebar {
		flex: 3 0 0;
	}
	.rh_section__left_sidebar .rh_page__main {
		flex: 9 0 0;
	}
}

@media (max-width: 767px) {
	.rh_page__listing_grid > * {
		width: 100%;
	}
}

.advance-search .rh_prop_search__option label {
	padding: 1.2rem 1.2rem 0;
}
.Advance_Search_Widget .inspiry_select_picker_trigger>.dropdown-toggle {
	padding: 0 1.2rem 1.2rem;
}
.rh_widget_search__buttons .rh_prop_search__searchBtn button {
	padding: 2rem 2rem;
}
/* End - Page with Sidebar */


/**
 * WP Default Pagination
 */
.pagination {
	display: flex;
	justify-content: center;
	column-gap: 12px;
}

.pagination .page-numbers { 
    background: var(--tdm-color-white);
    text-align: center;
    padding: 20px 24px;
	box-shadow: 0 0 5px 2px rgba(0,0,0,.05);
}

.pagination .page-numbers.current {
	background: var(--tdm-color-black);
	color: var(--tdm-color-white);
}