/*
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
*/


.page-residential-listings .entry-header.blog-post-entry-header { background: none !important; padding-left: 0; margin-left: 0; }
.page-residential-listings .entry-title { font-size: 2.6rem !important; color: #303030 !important; }

.rh_prop_search__form.advance-search-form { border: 1px solid #f5f5f5; }

.sub-menu { background-color: #303030 !important; z-index: 10000000 !important; }
#menu-main-menu a { background-color: transparent !important; }
#menu-main-menu * { background-color: transparent; color: #fff; }
#menu-main-menu a:hover { color: #bbb; }

.rh_agent__arrow svg circle { fill: #ab1a2d; }
.flex-prev:hover { background-color: #ab1a2d !important; }
.flex-next:hover { background-color: #ab1a2d !important; }
.rh_agent { flex: 0 0 !important; }

@media (min-width: 1280px) {
	
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.rh_prop_search.rh_wrap--padding {
		position: relative;
		z-index: 10000000;
		margin-top: 10rem;
	}
}

.page-template-agents-list .rh_prop_search.rh_wrap--padding {
	display: block !important;
}

.page-template-agents-list .rh_header {
	position: inherit !important;
	background-color: #303030;
}

.page-template-agents-list .rh_banner.rh_banner__image {
	height: 5rem;
}

.rh_section.rh_section__agents .rh_section__subtitle a { color: #ab1a2d; transition: color .25s ease-in-out; }
.rh_section.rh_section__agents .rh_section__subtitle a:hover { color: #777; }

.rh_section.rh_section__content { display: none; }
.rh_section.rh_section--props_padding { background-color: #f5f5f5; }
.rh_section.rh_section--featured:before { background-color: #f5f5f5; }

.rh_page__property_price .price { color: #ab1a2d !important; }
.rh_property__id .id { color: #ab1a2d !important; }
.rh_svg { fill: #ab1a2d !important; }
.rh_property__heading { color: #ab1a2d !important; }
input#submit { background-color: #ab1a2d; }

.blog .entry-header.blog-post-entry-header { background: #303030 !important; }
.blog .entry-header.blog-post-entry-header .entry-title { color: #ab1a2d !important; }
.rh_blog__single { background: transparent !important; }

.rh_blog__post.entry-header-margin-fix.post-4731.page.type-page.status-publish.hentry { background: transparent; }
	
.page-residential-listings .rh_content.entry-content { padding-left: 0; padding-right: 0; margin-right: 0; margin-left: 0; }
.ihf-grid-result-price { background-color: #ab1a2d !important; }
.ihf-grid-result-address:hover { color: #ab1a2d !important; }

/**.btn { background-color: #ab1a2d !important; }**/
.ihf-detail-navigation-prev span, .ihf-detail-navigation-next span { background-color: #ab1a2d !important; }
.ihf-detail-navigation-prev a, .ihf-detail-navigation-next a { background-color: #ab1a2d !important; }

.nav.nav-tabs a:hover { color: #ab1a2d !important; }
.nav.nav-tabs li:nth-child(n + 1) { display: none; }

.title-bar-1 { background-color: #ab1a2d !important; }

.ihf-price, .ihf-price .ihf-for-sale-price { color: #ab1a2d !important; }

#ihomefinderpropertiesgallery-4 a[href='https://pavia.trainor.it/homes-for-sale-featured/'] { background-color: #ab1a2d; }

#contact-message, #contact-email { background-color: #f5f5f5; width: 100%; padding: 1rem .7rem; margin-top: .5rem; }
#contact-message { resize: none; height: 150px; }
.wpcf7-form-control.wpcf7-submit { background-color: transparent; color: #fff; font-weight: bold; padding: 1rem; width: 150px; border: 2px solid #fff; transition: all .3s ease-in-out; }

.wpcf7-form-control.wpcf7-submit:hover { background-color: #fff; color: #303030; font-weight: bold; padding: 1rem; width: 150px; border: 2px solid #fff; }

.rh_page__property_title { width: 100%; }
.rh_page__title { font-size: 2.8rem !important; }
.rh_property__heading { font-size: 2rem !important; }
.rh_page__property_price .status { font-size: 2.5rem !important; }
.rh_page__property_price .price { font-size: 2.25rem !important; }
.rh_banner.rh_banner__default { height: 9.5rem; }
.rh_menu__user_profile { display: none !important; }
.favorite.add-to-favorite, .favorite-placeholder.highlight__red { display: none !important; }

.page-template-properties-search .sub { font-size: 2.6rem !important; color: #ab1a2d !important; }
.page-template-properties-search .rh_view_type { display: none; }
.page-template-properties-search a.rh_pagination__btn { color: #ccc !important; }
.page-template-properties-search a.rh_pagination__btn.current { color: #fff !important; }
.page-template-properties-search div.rh_page__head .sub { color: #ab1a2d; }
.select2-dropdown.select2-dropdown--below { background: #303030; }
.select2-results__option { background: #303030 !important; }
.select2-results__option--highlighted { background: #454545 !important; text-decoration:underline; }

#property_types_widget-2 a:hover { color: #ab1a2d !important; }

::-webkit-scrollbar-thumb { background-color: #606060 !important; }
::-webkit-scrollbar-track { background-color: #303030 !important; }


.rh_banner { background-image: none !important; height: 10rem; } 
/*.page-template-list-layout .rh_banner, .single-property .rh_banner, .page-template-properties-search .rh_banner, .tax-property-type .rh_banner { height: 17.5rem !important; }*/

.page-template-default .rh_banner.rh_banner__default { height: 13.5rem; }
.page-template-default .entry-header.blog-post-entry-header { padding-top: 0 !important; padding-bottom: 1.5rem !important; margin-top: -10.5rem !important; }

.page-template-agents-list .rh_prop_search.rh_wrap--padding { display: none; }
.rh_agent_card__link * { color: #000 !important; }
.rh_agent_card__link:hover * { color: #ab1a2d !important; }

.rh_agent_card .name a:hover { color: #ab1a2d !important; }
.rh_agent_card .rh_agent_card__listings .count { color: #ab1a2d !important; }

.rh_pagination a { background-color: #ab1a2d !important; }
#rh_prop_search__advance { background-color: #303030 !important; }
#rh_prop_search__advance:hover { background-color: #454545 !important; }
.rh_btn.rh_btn__prop_search { background-color: #303030 !important; }
.rh_btn.rh_btn__prop_search:hover { background-color: #454545 !important; }
.page-template-optima-express section.rh_prop_search.rh_wrap--padding , .page-template-default section.rh_prop_search.rh_wrap--padding { display: none !important; }
.rh_banner__cover { display: none !important; }
.rh_banner__wrap { display: none !important; }

.rh_list_card__details h3 a { text-decoration: underline; }

.single-agent .listed_properties .number { color: #ab1a2d !important; font-size: 1.8rem; }
.single-agent .listed_properties .heading { font-size: 1.8rem; }
.single-agent .rh_agent_form__row .rh_btn.rh_btn--primary:hover { background-color: #743535 !important; }
.single-agent .rh_page__head.rh_page--single_agent .sub { color: #ab1a2d; }

div.rh_footer__widgets:nth-child(1) { width: 100%; }
div.rh_footer__widgets:nth-child(2) { width: 100%; }
div.rh_footer__widgets:nth-child(3) { width: 100%; }

section#ihomefinderpropertiesgallery-2 a { background-color: #ab1a2d !important; }
section#ihomefinderpropertiesgallery-2 .row a { background-color: transparent !important; }
.gallery-prop-info .row:last-of-type { display: none !important; }

.gallery-prop-info { margin-bottom: 30px; background-color: #fff; padding: 3rem 2.5rem; border: 1px solid #ddd; }
.gallery-prop-info .address { color: #222 !important; }
.gallery-prop-info .address:hover { color: #ab1a2d !important; }

.entry-title { font-size: 3.6rem !important; }

.rh_prop_search__option.rh_prop_search__select.rh_prop_search__active {
	background-color: #303030 !important;
}

.rh_prop_search__option.rh_prop_search__select.rh_prop_search__active .select2-selection.select2-selection--single {
	background-color: #303030;
}

.infoBox .price { color: #ab1a2d; }
.infoBox .arrow-down { border-color: #ab1a2d transparent transparent transparent !important; }
.infoBox .map-info-window { border-color: #ab1a2d; }

.rh_property__comments { display: none; }
.widget.rh_property_agent .contact.email a, .page-template-agents-list .contact a:hover { color: #ab1a2d !important; }
.widget.rh_property_agent .rh_btn.rh_btn--primary.rh_property_agent__link:hover { background-color: #743535; }

.page-template-agents-list .rh_pagination__btn { color: #ddd !important; }
.page-template-agents-list .rh_pagination__btn.current { color: #fff; }

.widget.rh_property_agent .rh_btn.rh_btn--primary.rh_widget_form__submit:hover { background-color: #743535; }

#ajax-loader g path { fill: #ab1a2d !important; }

.single-agent .detail a:hover { color: #ab1a2d !important; }


.page-template-optima-express .rh_section.rh_section--flex.rh_wrap--padding.rh_wrap--topPadding {
	padding-top:40rem !important;
}

#ihf-main-container .chosen-container .chosen-results li.highlighted { background-color: #ab1a2d !important; }

.rh_view_type { display: none; }



.rh_prop_search__form.advance-search-form .rh_prop_search__btnWrap.clearfix {
	background-color: #ab1a2d !important;
}
#ihf-main-container .pagination li:first-child>a, #ihf-main-container .pagination li:first-child>span, #ihf-main-container .pagination li:last-child>a, #ihf-main-container .pagination li:last-child>span { background-color: #ab1a2d !important; }


.rh_cta__quote { max-width: 71rem !important; }


.entry-header.blog-post-entry-header .entry-title { color: #000 !important; }
.ihf-grid-result-address { color: #000 !important; }

.gallery-prop-info a:hover { color: #ab1a2d !important; }
.rh_prop_card__details a { text-decoration: underline; }
.rh_footer__social i { font-size: 3rem !important; }

.rh_contact_us { font-size: 3.5rem; }

.tp-revslider-slidesli.active-revslide * { text-shadow: none !important; }

.rh_section.rh_section__agents { background-color: #fff;}
.rh_section.rh_section__agents:after { border-color:#fff; }
.rh_section.rh_section__agents:before { border-right-color:#fff; background-color:#f5f5f5 !important; }



.agent-links a:hover { color: #ab1a2d !important; }

.page-template-dsIDXpress .rh_banner.rh_banner__default { height: 17.5rem; }

.ihf-grid-result-container.well .col-xs-10 {
	width: 100% !important;
	padding: 15px 0;
	margin: 0 !important;
}

.page-template-optima-express .ihf-grid-result-address { font-size: 1.2rem !important; }

.ihf-listing-search-results .ihf-grid-result { margin-bottom: 30px !important; }

.btn-group.btn-group-justified .btn.btn-primary {
	background-color: #fff !important;
    color: #fff !important;
    border: 1px solid #ab1a2d !important;
}

.btn-group.btn-group-justified .btn.btn-primary:nth-child(1) {
	background-color: #fff !important;
    color: #ab1a2d !important;
    border: 1px solid #ab1a2d !important;
	border-right: none !important;
}

.btn-group.btn-group-justified .btn.btn-primary:nth-child(3) {
	background-color: #fff !important;
    color: #ab1a2d !important;
    border: 1px solid #ab1a2d !important;
	border-left: none !important;
}

.btn.btn-link.dropdown-toggle span.caret { border-top-color: #fff !important; }

.btn.btn-link { color: #fff !important; }


.btn-group.btn-group-justified .btn.btn-primary.active {
	background-color: #ab1a2d !important;
    color: #fff !important;
    border: none !important;
}

	.page-commercial-listings .rh_header, .page-template-contact .rh_header,
.page-residential-listings .rh_header { position: initial; background: #303030; }

@media (min-width: 768px) {
	
}


.rh_section.rh_section--props_padding.about {
	background-color: #fff !important;
	
}

.about .rh_section__title { padding-bottom: 0 !important; }

@media (min-width: 1280px) {
	.rh_section--props_padding {
		padding: 10rem 0 10rem 0;
	}
}
.rh_section.rh_section--props_padding.about:after {
	display: none !important;
}
.about-section .intro-section { font-size: 24px; width: 65%; }

.blog .rh_blog.rh_blog__listing.rh_blog__single .entry-title {
	font-size: 2.1rem !important;
	color: #fff !important;
}

.blog .entry-summary { padding-top: 0; }
.blog .rh_btn.rh_btn--primary.read-more:hover { background-color: transparent; border: 1px solid #ab1a2d; color: #ab1a2d;  }

.blog .rh_header, .post-template-default .rh_header { position: inherit; background: #303030; height: 8rem; }


.post-template-default .rh_section.rh_section--flex.rh_wrap--padding.rh_wrap--topPadding a { color: #ab1a2d !important; }
#menu-main-menu-2 li { width: 50%; }

ul.rh_menu__main ul.sub-menu, ul.rh_menu__main ul.sub-menu ul.sub-menu { 
	border-top-color: #ab1a2d !important;
	border-top-width: 2px;
}

.select2-container.select2-container--default.select2-container--open .select2-search__field { display: none; }

.rh_blog.rh_blog__listing.rh_blog__single .entry-meta.blog-post-entry-meta, .rh_blog.rh_blog__listing.rh_blog__single .entry-meta.blog-post-entry-meta * {
	color: #fff !important;
}

.rh_blog.rh_blog__listing.rh_blog__single .entry-meta.blog-post-entry-meta a {
	text-decoration: underline;
	color: #fff !important;
}


/* start here */

.page-template-optima-express #searchProfile { position: absolute; top: 14.7rem; left: 50%; 
	transform:translateX(-50%); width:90%; background-color: #fff; 
	padding: 1rem 2rem; border: 1px solid #ddd; }


.page-residential-listings .rh_banner.rh_banner__default { height: 2rem; }


@media (min-width: 768px) {
	div.rh_footer__widgets:nth-child(1) { width: 100%; margin-bottom: 2rem; }
	div.rh_footer__widgets:nth-child(2) { width: 40%; }
	div.rh_footer__widgets:nth-child(3) { width: 60%; }
	.rh_banner.rh_banner__default { height: 10.5rem; }
	
	.page-template-optima-express #searchProfile { width:70%; }
	
	.page-template-optima-express .rh_section.rh_section--flex.rh_wrap--padding.rh_wrap--topPadding {
		padding-top:14rem;
	}
	.rh_footer__social { margin-left: -1.25rem; }
	
	.rh_contact_us { font-size: 3.6rem; }
	
		.page-template-optima-express .rh_section.rh_section--flex.rh_wrap--padding.rh_wrap--topPadding {
			padding-top:17rem !important;
		}
	
	.form-inline.ihf-quick-search-form { width: 100% !important; max-width: 1024px; }
	
	.ihf-listing-search-results .ihf-grid-result { margin-bottom: calc(30px - 12px) !important; }
	
	.page-commercial-listings .rh_header, .page-template-contact .rh_header,
	.page-residential-listings .rh_header { position: initial; height: 12rem; background: #303030; }
	.page-commercial-listings .rh_banner.rh_banner__default, 
	.page-template-contact .rh_banner.rh_banner__image,
	.page-residential-listings .rh_banner.rh_banner__default { height: 7rem; }
}

@media (min-width: 1024px) {
	div.rh_footer__widgets:nth-child(1) { width: 40%; }
	div.rh_footer__widgets:nth-child(2) { width: 20%; padding-left: 5%; }
	div.rh_footer__widgets:nth-child(3) { width: 40%; }

	#menu-main-menu-2 li { width: 100%; }
	ul#menu-main-menu li a, .rh_menu__user_phone .contact-number { font-size: 1.1rem !important; }

	footer.rh_footer { padding-bottom: 1.5rem !important; }
	div.rh_footer__wrap:nth-child(2) { padding-bottom: 1rem !important; }

	.rh_page__property_price { width: 35% !important; }
	.rh_agent_card .rh_agent_card__listings .head, .rh_agent_card .rh_agent_card__listings .count { font-size: 1.8rem !important; }	
	.page-template-optima-express .ihf-grid-result-address { font-size: 2.2rem !important; text-align:center; }
	.page-template-optima-express .rh_page.rh_page__sidebar { margin-top: 4rem; }
}

@media (min-width: 1280px) { 
	.rh_agent { width: 20%; }
}

@media (min-width: 1441px) {	
	.page-template-optima-express #searchProfile { width:75%; max-width:1240px; z-index: 100000;}
	
	.rh_page__property_price { width: 30% !important; }
	
	.rh_footer__social { margin-left: 0; }
}


@media (min-width: 1600px) {
	.page-template-list-layout section.rh_section.rh_section--flex.rh_wrap--padding.rh_wrap--topPadding,
	.tax-property-type section.rh_section.rh_section--flex.rh_wrap--padding.rh_wrap--topPadding,
	.page-template-list-layout .rh_section.rh_section--flex.rh_wrap--padding.rh_wrap--topPadding
	section.rh_section.rh_wrap--padding.rh_wrap--topPadding,
	.rh_footer__wrap.rh_footer--alignTop.rh_footer--paddingBottom,
	.rh_prop_search.rh_wrap--padding,
	.rh_header__wrap
	 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.rh_footer__logo { padding-left: 0 !important; }
}

.rh_make_a_call:hover {color:white!important;}

/* none of these work */
a.ihf-grid-result-address {font-size:16px!important;}
.ihf-grid-result-address a {font-size:16px!important;}
.ihf-grid-result-address {font-size:16px!important;}
.ihf-grid-result-address-container {font-size:16px!important;}
.ihf-grid-result-address-container a {font-size:16px!important;}
a.ihf-grid-result-address-container {font-size:16px!important;}

.ihf-grid-result-address p h1 h2 h3 h4 h5 h6 div a {font-size:16px!important;}
