/* Child Theme - Custom CSS File for Buyers to Modify */


/****
Theme
****/
.page-template-home .main,
.inner-wrapper {
    border: none !important;
    background-color: #F5F5F5 !important;
}
.e-con {
    /*width: 99% !important;*/
}
@media (min-width: 1200px) {
    .container {
        width: 1240px
    }
    .span3 {
        width: 340px;
    }
    .span12 {
        width: 1240px
    }
    .desc-wrap {
        width: 1170px
    }
}

/****
Header
****/

.rh_header--shadow {
    background: linear-gradient(180deg, rgba(0, 0, 0, .7) 0, rgba(192, 192, 192, 0) 100%);
}
.header-wrapper {
    background-color: #303030;
}
ul#menu-main-menu li a, 
.rh_menu__user_phone .contact-number,
.rh_header_var_1 ul.rh_menu__main li a {
    font-size: 1.8rem !important;
}

.main-menu,
.contact-number {
    margin-top: 0;
}
.rh_header_var_1 ul.rh_menu__main>.current-menu-item>a, .rh_header_var_1 ul.rh_menu__main>.current-menu-ancestor>a,
.rh_header_var_1 ul.rh_menu__main li a:hover,
.rh_header_var_1 ul.rh_menu__main li:hover {
    background-color: transparent !important;
}
.menu-and-contact-wrap {
    padding: 35px 0;
}

@media (min-width: 1200px) {
    .main-menu ul li a {
        padding: 12px 15px;
    }
}


.contact-number,
.contact-number .fa-phone, .contact-number .fa-whatsapp {
    background: none !important;
}

.contact-number .fa-phone, .contact-number .fa-whatsapp {
    font-size: 1.8rem !important;
    transform: scaleX(-1);
    margin-right: 5px !important;
    padding: 12px 15px 12px 1px !important
}

.contact-number .rh_make_a_call {
    font-weight: normal !important;
    font-size: 1.1rem !important;
}

.rh_prop_search__selectwrap .dropdown-menu.open, 
.rh_prop_search__selectwrap .dropdown-menu .inner.open {
    min-height: 265px !important;
    max-height: 265px !important;
}

/****
Mobile Menu
****/
@media (max-width: 1136px) { 

    #menu-main-menu > li > a{
        color: #000;
    }

    #menu-main-menu li ul.sub-menu a {
        color: #fff;
    }

    i.fas.fa-caret-down.rh_menu__indicator {
        color: #000 !important;
    }

    i.rh_menu__indicator_up {
        color: #000 !important;
    }

}

/****
Footer
****/
.footer-form #contact-email {
    margin: 20px 0 !important;
}
.footer-menu .elementor-nav-menu--main .elementor-nav-menu a {
    padding: 13px 0 !important;
}
.footer-menu .e--pointer-underline .elementor-item:after {
    display:  none !important;
}
.rh_footer .rh_footer__logo .tag-line, 
.rh_footer__widgets .textwidget p, 
.rh_footer__widgets .textwidget, 
.rh_footer .rh_footer__wrap .copyrights, 
.rh_footer .rh_footer__wrap .designed-by, 
.rh_contact_widget .rh_contact_widget__item .content,
body .wpcf7-form label {
    color: #808080 !important;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #ab1a2d ;
    margin-top: 10px;
}


/****
Slider
****/
/* 1) Contain any runaway slider layers */
rs-module-wrap, rs-module, .rev_slider, .rev_slider_wrapper { 
  overflow: hidden !important; 
}

/* 2) Keep the responsive menu within the viewport */
.rh_menu__responsive {
  max-width: 100vw;
  right: 0; /* stop bleeding beyond the right edge */
}

/* 3) Absolute defense: prevent page-wide horizontal scrolling */
html, body { overflow-x: clip; } /* (fallback: overflow-x:hidden) */


/****
Sidebar
****/
.widget .title {
    font-size: 2.2rem;
}
.rh_page.rh_page__sidebar {
    text-align: left;
}


/****
Pages
****/
.rh_page__content {
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.rh_properties_element .wrapper_properties_list_ele .rh_prop_card_elementor {
    padding: 0 0px 30px 0px !important;
}


.rh_property__content p.title {
    margin-bottom: 0 !important;
}

.rh_property__sidebar .whatsapp span {
    display: none !important;
}

.rh_property__meta svg {
    display: none !important;
}

/****
Optima Express
****/
.page-template-optima-express .idx-listings-block {
    flex-direction: column;
}
.page-template-optima-express .entry-content {
    width:100%;
    padding-right: 0rem;
}
  
.page-template-optima-express .rh_wrap--topPadding {
    padding-top: 0rem;
}
.page-template-optima-express section.rh_section .rh_page__main {
    width: 100%;
    padding: 0;    
} 
.page-template-optima-express .rh_blog__post {
    background-color: transparent !important;
}
a.btn.btn-primary {
    color: white !important;
} 
@media (min-width: 768px) {
    .page-template-optima-express .idx-listings-block {
        display: flex; 
        flex-direction: row;
    }

    .page-template-optima-express .entry-content {
        width:70%;
        padding: 0 3rem 0 0 !important;
    }

    .page-template-optima-express .rh_blog__post .entry-header {
        margin: -6rem 0 0;
    }
}
@media (min-width: 1024px) {
    .page-template-optima-express .rh_section.rh_section--flex.rh_wrap--padding.rh_wrap--topPadding {
        padding-top: 8rem !important;
    }
}



/****
Homepage
****/

/**Commercial Cards**/
.rh_prop_card__details_elementor h3 {
    text-decoration: underline !important;
}

.rh_prop_card__details_elementor h3 a{
    text-decoration: underline !important;
}

.rh_prop_card_meta_wrap_stylish .rh_prop_card__meta .rhea_meta_icon_wrapper {
    margin-left: 0 !important;
}

.rh_prop_card__details_elementor .rh_prop_card__price {
    color: #1a1a1a !important;
}

/**Agents**/
.page-template-agents-list section#rh-banner-attachment-parallax {
    display: none;
}
.rhea_section__agents_two .rhea_agent_two_thumbnail a{
    overflow: visible !important;
}
.rhea_agent_two_thumbnail a img {
    margin-top: -45px;
}
article.rhea_agent_two {
    margin-top: 60px;
}
.rhea_agent_two_meta {
    display: none !important;
}



/****
Property Searchbar
****/
/****Hide/Show****
.wp-singular .inspiry_show_on_doc_ready.rh_prop_search.rh_prop_search_init {
    display: none !important;
}
.page-template-properties .inspiry_show_on_doc_ready.rh_prop_search.rh_prop_search_init,
.page-template-contact  .inspiry_show_on_doc_ready.rh_prop_search.rh_prop_search_init, {
    display: block !important;
}
*/

@media (min-width: 1280px) {
    .rh_prop_search__form {
        padding: 0 0rem !important;
    }
}
.rh_prop_search__form {
    max-width: 1240px;
}

.rh_prop_search__form .rh_prop_search__fields .inspiry_bs_is_open .inspiry_select_picker_trigger button.dropdown-toggle,
.rh_prop_search__form .rh_prop_search__buttons .rh_prop_search__advance,
.rh_prop_search__form .rh_prop_search__fields .inspiry_bs_is_open,
.open_more_features {
    background: #303030;
    color: #fff;
}
.rh_prop_search__form.advance-search-form {
    border-bottom: none !important;
}

/****
Property Listings
****/
.rh_page__head .rh_page__title .title {
    color: #1a1a1a;
    font-size: 3.6rem;
}
.rh_sidebar .Featured_Properties_Widget .title, .rh_sidebar .Agent_Featured_Properties_Widget .title, .rh_sidebar .Agent_Properties_Widget .title {
    margin: 0 0 3rem 0 !important;
}

.rh_properties_element .wrapper_properties_list_ele .rh_prop_card__wrap figure {
    max-height: 190px;
}

.rh_properties_element .wrapper_properties_list_ele .rh_prop_card__details_elementor {
    max-height: 190px;
}
.rh_prop_card_meta_wrap_stylish {
    justify-content: space-between;
    width: 100%;
    padding-right: 10px;
}
.rh_prop_card_meta_wrap_stylish .rh_prop_card__meta .rhea_meta_titles {
    margin-bottom: 0 !important;
}

#rh_save_search_btn { 
display:none !important; 
}

.rh_property--has-banner{
  position:relative;
  overflow:hidden;                 /* clip the diagonal */
}

.pavia-status-banner{
  position:absolute;
  top:0;
  right:0;
  width:clamp(220px,53vw,53%);     /* same visual you used inline */
  line-height:0;
  z-index:12;
  pointer-events:none;
}

.pavia-status-banner svg{
  display:block;
  width:100%;
  height:auto;
}

.rh_meta_icon_wrapper span.label {
    /**display: none;*/
}

.rh_pagination__stats {
    display: none;
}

/****
Commercial Listings
****/
.rh_prop_card_meta_theme_stylish {
    margin-right: 0px;
    margin-left: 0px;    
}
.rh_prop_card_meta_theme_stylish .rh_prop_card__meta .rh_meta_titles {
    margin-bottom: 0 ;
}
.rh_prop_card_meta_theme_stylish .rh_prop_card__meta {
    padding: 0 25px 25px 0px;
}
.rh_prop_card_meta_theme_stylish .rh_prop_card__meta .rh_meta_icon_wrapper {
    margin-right: 0px;
    margin-left: 0px;    
}


/****
Agent Listings
****/
.rh_agent_card__contact_wrap {
    padding-bottom: 10px;
}


/****
Contact Page
****/
@media (min-width: 768px) {
    h1.rh_contact_us {
        padding: 3rem 3rem 5rem !important;
        text-align: left;
    }
}

.page-template-contact .rh_page {
    padding: 0 0 0rem !important;
}

@media (min-width: 768px) {
    .rh_contact__wrap {
        padding: 0 3rem 0rem !important;
    }
}





::-moz-selection {
  color: #fff;
  background: #ab1a2d !important;
}

::selection {
  color: #fff;
  background: #ab1a2d !important;
} 

.rh_agent__listed {
    display: none !important;
}

.rh_agent_card__listings {
    display: none;
}

.rh_agent_profile__dp .listed_properties {
    display: none;
}

.rh_agent_card__link {
    display: none;
}

.rh_agent_card__link {
    display: none !important;
}

.rh_property__row.rh_property__meta_wrap {
    /*display: none;*/
}

.single-agent .rh_header {
    background-color: #303030;
}

@media (min-width: 320px) {
    .single-agent .rh_section {
        margin-top: 5rem;
    }
}

.rh_section__head a.section-head-link:hover h2 {
    color: #ab1a2d !important;
}

.page-template .rh_header, .single-property .rh_header, .archive .rh_header, .page-template-properties-search .rh_header {
    position: initial !important;
    background-color: #303030;
    height: 12rem;
}

.single-property .rh_banner, .archive .rh_banner, .page-template-properties-search .rh_banner {
    height: 7rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option[aria-selected=true] {
    text-decoration: none;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar {
    width: 1rem;
}

.rh_blog__post .entry-header {
    background-color: #303030 !important;
}

.rh_blog__post .entry-header h1 {
    color: #fff !important;
}

.entry-header.blog-post-entry-header .entry-title {
    color: #fff !important;
}

.blog .entry-header.blog-post-entry-header .entry-title, .rh_blog__post .entry-header .entry-title {
    color: #fff !important;
    margin-bottom: 1rem;
}

.blog-post-entry-header h2 a {
    font-size: 3.6rem !important;
    line-height: 1 !important;
}

.blog-post-entry-meta, .blog-post-entry-meta a, .blog-post-entry-meta .vcard {
    color: #fff !important;
}

.blog-post-entry-header h2 a:hover, .blog-post-entry-meta a:hover {
    color: #999 !important;
}

.entry-summary .read-more {
    border: 1px solid #ab1a2d;
}

.blog .entry-summary {
    padding-top: 1rem;    
}

.rh_blog.rh_blog__listing.rh_blog__single .entry-meta.blog-post-entry-meta a {
    text-decoration: none;
}

.rh_blog.rh_blog__listing.rh_blog__single .entry-meta.blog-post-entry-meta a:hover {
    color: #999 !important;
}

.content a.directions {
    color: #ab1a2d;
}

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

.page-residential-listings .entry-header.blog-post-entry-header {
    background-color: #303030 !important;
    padding: 2rem 2.5rem !important;
    margin: 0 !important;
}

.blog .rh_banner, .single-post .rh_banner, .page-template-agents-list .rh_banner {
    height: 11rem !important;
}

.page-template-agents-list .rh_header {
    height: 12rem;
}

.page-template-agents-list .rh_banner {
    height: 70px !important;
}

.single-agent .rh_prop_search {
    display: block !important;
}

.single-agent .rh_banner {
    height: 19rem !important;
}

.widget.rh_property_agent .rh_property_agent__link {
    display: none !important;
}

.rh_label {
    background: #ab1a2d !important;
}

.rh_label span {
    border-left-color: #ab1a2d !important;
}

.rh_prop_card .rh_prop_card__details .rh_prop_card__priceLabel .rh_prop_card__price, .rh_list_card__wrap .rh_list_card__map_details .rh_list_card__priceLabel .rh_list_card__price .price, .rh_list_card__wrap .rh_list_card__priceLabel .rh_list_card__price .price {
    color: #1a1a1a !important;
}

.rh_page__property_price .price {
    color: #1a1a1a !important;
}

.rh_prop_card__meta svg, .rh_list_card__meta svg {
    display: none !important;
}

.rh_prop_card__meta .figure, .rh_list_card__meta .figure {
    padding: 0 !important;
    margin-left: 0 !important;
}

#property_types_widget-2 {
    display: none !important;
}

.home .rh_section__agents a.section-head-link {
    font-size: 2.2rem !important;
}

@media (max-width: 1025px) {
    .home .rh_section__agents a.section-head-link.agent-header {
        display: block;
        margin-bottom: 5rem;
    }
}

.intro-section p {
    font-size: 2.2rem !important;
    margin-bottom: 1.2rem !important;
    color: #444 !important;
}

.rh_btn--primary, #mc-submit {
    background: #ab1a2d !important;
}

.rh_btn--primary:hover, #mc-submit:hover, .single-agent .rh_agent_form__row .rh_btn.rh_btn--primary:hover, .rh_contact__input input:hover {
    background: #fff !important;
}

.rh_btn--primary.rh_widget_form__submit:hover, #mc-submit:hover, .single-agent .rh_agent_form__row .rh_btn.rh_btn--primary:hover, .rh_contact__input input:hover {
    color: #ab1a2d !important;
}

.single-agent .rh_agent_form__row .rh_btn.rh_btn--primary, .single-agent .rh_agent_form__row .rh_btn.rh_btn--primary:hover, .rh_contact__input input:hover {
    border: 1px solid #ab1a2d;
}

.rh_agent {
    flex: 0 1 auto !important;
    max-width: 26.625rem;
}

.title {
    margin-bottom: 1.5rem;
}

.rh_sidebar .widget .title.title--center {
    text-align: center;
}

.title h4 {
    color: #1a1a1a;
    font-size: 1.55rem;
    margin-top: 0;
}

.title .agent__license {
    font-weight: 500;
}

.contact.email a {
    color: #ab1a2d !important;
}

.rh_agent_profile__wrap .rh_agent_profile__head .rh_agent_profile__details .detail a {
    color: #ab1a2d;
}

.rh_agent_card__wrap .rh_agent_card__head .rh_agent_card__name .name {
    margin-bottom: .5rem;
}

.rh_agent .rh_agent__details .rh_agent__email {
    display: none;
}

.rh_agent_profile__wrap .rh_agent_profile__head .rh_agent_profile__details .rh_agent_profile__name {
    margin-bottom: .5rem;
}

.rh_list_card__details_wrap .rh_list_card__author {
/**   display: none; */
}

.rh_list_card__details_wrap h3 a {
    color: #ab1a2d !important;
}

.rh_prop_card .rh_prop_card__details h3 a, .rh_list_card__wrap .rh_list_card__map_wrap h3 a, .rh_list_card__wrap .rh_list_card__details_wrap h3 a {
    color: #ab1a2d !important;
}

.rh_list_card__wrap .rh_list_card__details_wrap .rh_list_card__excerpt {
    font-size: 1.4rem;
    line-height: 1.8rem;
}

.rh_pagination a {
    color: #fff !important;
}

.rh_pagination .current {
    background-color: #fff !important;
    color: #ab1a2d !important;
}

.rh_pagination__next svg, .rh_pagination__prev svg {
    fill: #fff !important;
}


@media (min-width: 1441px) {
    .rh_page__property_price {
        width: 30% !important;
    }
}

@media (min-width: 1024px) {
    .rh_page__property_price {
        width: 35% !important;
    }
}

.rh_property__meta_wrap .rh_property__meta .figure {
    margin-left: 0 !important; 
}

.inspiry-post-nav .entry-info .entry-title{
    font-size: inherit !important;
}

.page-template-properties-search a.rh_pagination__btn {
    color: #fff !important;
}
.page-template-properties-search a.rh_pagination__btn.current {
    color: #ab1a2d !important;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 2px solid #f80000;
    margin: 0;
    padding: 15px;
    background-color: #fff;
    color: #f80000;
}

.wpcf7-mail-sent-ok {
    margin: 0 !important;
    background-color: #fff !important;
    color: #398f14 !important; 
}

.widget_ihomefinderpropertiesgallery > a {
    background-color: #ab1a2d !important;
    width: 100%;
    display: block;
    text-align: center;
    padding: 1rem;
    color: white;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 500px !important;
}

.ihf-market-report-header-toggle .dropdown-toggle {
    display: none !important;
}

.ihf-map-icon {
    background-color: #ab1a2d !important;
}
.ihf-map-icon:after {
    border-top-color:  #ab1a2d !important;
}

#ihf-main-container .dropdown-menu>.active>a, #ihf-main-container .dropdown-menu>li>a:hover, .modal-header button {
    background-color: #ab1a2d !important;
}

.ihf-grid-result-container .pull-right .ihf-map-icon {
    display: none !important;
}

#ihf-market-report-header {
    margin-bottom: 0 !important;
}

#ihf-market-report-nav-container, #ihf-refine-search-button {
    display: none !important;
}

#ihf-listing-search-results .btn-link.dropdown-toggle {
    display: none !important;
}

.page-template-optima-express #searchProfile {
    z-index: 100000;
}

.rh_menu__responsive_show {
    z-index: 1000000;
}

#ihf-main-container .ihf-grid-result-price {
    margin: 20px 0 0 0;
}

.active-campaign p {
    font-size: 2.2rem !important;
    width: 80% !important;
    margin: 1rem auto !important;
}

.active-campaign ._field {
    margin: 1rem 0;
}

.active-campaign ._label {
    font-size: 2rem;
}

.active-campaign input {
    border: 1px solid grey;
}

.active-campaign #compile79 input:hover {
    cursor: pointer;
} 

@media (max-width: 767px) {
    .email-friend {
        margin-top: 20px;
    }
}

@media (min-width: 1024px) {
    #menu-footer-links-custom li {
        width: 100% !important;
    }
}

@media (min-width: 1280px) {

    .rh_agent {
        width: 25% !important;
        margin-bottom: 80px !important;
    }

}


@media print {

    body {
        margin: 0;
        padding: 0;
        background-color: #fff !important;
    }

    .rh_page.rh_page__sidebar,
    .select2-selection,
    .rh_pagination
    {
        display: none !important; 
    }

    .post_thumbnail {
        -webkit-print-color-adjust: exact !important;
    }

    .rh_header {
        background-color: #fff !important;
        color: #000 !important;
    }

    .rh_logo .rh_logo__heading,
    .rh_menu__user .rh_menu__user_phone .contact-number {
        color: #000 !important;
    }

    .rh_header::before {
        content: url('/wp-content/uploads/2018/04/18-PAVI-0306-PaviaRealEstateBrandMark_RedKO-e1523278321642.png');
        text-align: center;
        background-color: #000000;
        display: block;
        padding: 20px 0;
    }

    .rh_page__head {
        margin-top: 140px;
        text-align: center;
    }

    .rh_page__title.rh_page__title_pad {
        width: 100% !important;
    }

}

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