@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=REM:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    --p-font: Montserrat, sans-serif;
    --h-font: REM, sans-serif;

    --secondary: #0098CB;
    --secondaryRGB: 0, 152, 203;
    --primary: #FE8200;
    --primaryRGB: 254, 130, 0;


    --nav_logo_size_full: 2rem;
    --nav_logo_size_mbl: 2rem;
    --nav_menu_link_clr: var(--primary);
    --nav_menu_underline_clr: var(--secondary);
    --nav_menu_footer_clr: var(--primary);

    --hero_title_size_full: calc(3rem + 1vw);
    --hero_title_size_mbl: 2rem;
    --hero_sub_size_full: .35em;
    --hero_sub_size_mbl: .5em;
    --hero_logo_size: min(500px, 100%);
}

/* live hide */
#anna-modern-fold {
    display: none;
}

.home section[aria-label="property search hero"] {
    display: none;
}

.home section[data-cy="footer-valuation"] {
    display: none;
}

/* dev hide */
.home #search-tabs,
.home>section[aria-label="property search hero"] {
    display: none;
}

.home section[data-cy="footer-valuation"] {
    display: none;
}

/* miranda banner hide */
#quicksearch-section {
    display: none;
}

/* Page Resets */
.home #content {
    width: 100%;
    padding: 0;
}

.home .section-width-wrapper {
    padding: 0 !important;
    max-width: 100% !important;
}

.home #sidebar {
    display: none;
}

.home>div:first-of-type {
    padding: 0 !important;
}

.home #content>section {
    margin: 0 !important;
}

.home header {
    position: fixed;
}

/* modern fixes */

#rg-valuation-iframe-0 {
    min-height: 25rem !important;
}

.property-detail-listing-vertical:hover {
    outline: none !important;
}


/*  */

/* Fonts */
body *:is(p, li, a, label, legend, button, option) {
    font-family: var(--p-font) !important;
}

body *:is(h1, h2, h3, h4, h5, h6, .text-hero) {
    font-family: var(--h-font) !important;
}


body h1,
body.home h2,
body .text-hero {
    font-weight: 400;
}

body.home h2 {
    font-size: calc(2rem + .5vw);
    line-height: 1;
    font-weight: 300;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.home section>h2 {
    text-align: center;
}

body .--wht-txt *:is(p, li, h1, h2, h3, h4, h5, h6) {
    color: #fff;
}


/* navigation */

.home header.custom-scroll,
.pages header,
nav.top-nav {
    box-shadow: 0 1px 8px rgb(0, 0, 0, 0.15);
    border-bottom: none;
}

body>header>nav.relative>div.mx-0.pr-2.pl-6.lg\:px-8>div {
    height: 6rem;
}

body header #nav-logo {
    height: var(--nav_logo_size_mbl);
}

@media (min-width: 768px) {
    body header #nav-logo {
        height: var(--nav_logo_size_full);
    }
}

body.home header:not(.custom-scroll) img {
    filter: brightness(0) invert(1);
    /* opacity: 0; */
}

body.home header>nav>div:first-child {
    transition: 300ms ease;
}

body.home header:not(.custom-scroll)>nav:not(#mobile-menu)>div:first-child {
    opacity: 1;
    background-color: rgb(255, 255, 255, 0);
}

body.home header {
    background: transparent;
}

#nav-links>div {
    justify-content: flex-end;
    align-items: center;
}

body.home header:not(.custom-scroll) #nav-links a {
    color: #fff;
}

body.home header:not(.custom-scroll) #nav-links a:hover {
    color: #f8f8f8;
}

body.home header #nav-links a {
    color: var(--nav_menu_link_clr);
}

body.home header #nav-links a:hover {
    color: var(--nav_menu_underline_clr);
}


/* #nav-menu-button {
    display: flex !important;
} */

#nav-icons svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: 300ms ease;
}

body.home header #nav-icons svg {
    fill: #fff;
    color: #fff;
}

body.home header.custom-scroll #nav-icons svg,
body.pages header #nav-icons svg {
    fill: var(--nav_menu_link_clr);
    color: var(--nav_menu_link_clr);
}

#nav-menu-button svg path {
    transition: d 300ms ease;
}

#nav-menu-button svg:hover path {
    d: path("M 4 8 h 16 M 4 12 h 16 M 4 16 h 16");
}

@media (min-width: 451px) {
    .user-contact-icons ul {
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
}

.user-contact-icons .svg-inline--fa:not(.fa-bars) {
    display: none;
}

.user-contact-icons ul li a {
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transition: 300ms ease;
}

.user-contact-icons ul li a:hover svg {
    transition: 300ms ease;
}

.user-contact-icons ul li a:hover,
.user-contact-icons ul li a:hover svg {
    fill: var(--secondary);
}

.user-contact-icons ul li a svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--nav_menu_link_clr);
}

nav.top-nav a {
    transition: 300ms ease;
}

nav.top-nav a:hover {
    color: var(--nav_menu_link_clr);
}

/* fix ugly border */

header #nav-links a {
    border: none;
    height: auto;
    padding-bottom: 0.5rem;
}

header #nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 1px;
    background: var(--primary);
    transition: 300ms ease;
}

header #nav-links a:hover::after {
    width: 100%;
}

/* mobile menu */

#mobile-menu .text-palette-navigationLink-color {
    color: var(--nav_menu_link_clr);
    transition: 300ms ease;
    border-bottom: none;
    padding-bottom: 0.25rem;
    position: relative;
}

#mobile-menu .text-palette-navigationLink-color:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1rem;
    height: 1px;
    background-color: var(--nav_menu_underline_clr);
    transition: 300ms ease;
}

#mobile-menu .text-palette-navigationLink-color:hover:before {
    width: 100%;
}

#mobile-menu>div>div.pl-12.pr-32.pt-16.pb-8.flex.flex-col.h-mobile-nav-inner.sm\:h-screen.overflow-y-auto>div.sm\:hidden.pt-9.border-t.border-medium-gray,
#mobile-menu>div>div.sm\:hidden.p-4.absolute.bottom-0.p-11.text-white.bg-dark-gray.w-full {
    display: block;
}

#mobile-menu .bg-dark-gray {
    background-color: var(--nav_menu_footer_clr);
}

/* nav social */
#navSocialMedia {
    gap: 1rem;
}

#navSocialMedia a.social-icon-footer {
    line-height: 1;
    color: var(--primary);
    font-size: .75em;
    display: block;
    transition: 300ms ease;
}

#navSocialMedia a.social-icon-footer:hover {
    color: var(--secondary);
}

/* Hero */

#custom-hero {
    height: 100svh;
    position: relative;
    display: grid;
    place-content: center;
    background-position: center;
    background-size: cover;
}

#custom-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: linear-gradient(to top, rgb(0, 0, 0, .35), rgb(0, 0, 0, .15), rgb(0, 0, 0, .35));
}

#custom-hero .custom-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: 1rem; */
    position: relative;
    z-index: 3;
    padding-inline: 2rem;
}

#custom-hero h1 {
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    margin: 0;
    padding: 0;
    border: none;
    text-shadow: 1px 1px 0.25rem rgb(0, 0, 0, .35);
    font-size: var(--hero_title_size_mbl);
    font-weight: 300;
    color: #fff;
    line-height: 1;
    margin-bottom: .25em;
}

#custom-hero h1 span.sub-title {
    display: block;
    font-size: var(--hero_sub_size_mbl);
    margin-top: 1rem;
    font-weight: 400;
}

#custom-hero img.header_logo {
    max-width: var(--hero_logo_size);
}

#custom-hero #react-typeahead,
#custom-hero #custom-search-tabs {
    width: min(750px, 100%);
    max-width: 100%;
}

#custom-hero #custom-search-tabs {
    display: grid;
    align-items: center;
    gap: .5rem;
    position: relative;
    z-index: 3;
    margin-bottom: .5rem;
}

#custom-hero #custom-search-tabs a {
    display: inline-block;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    border: 1px solid #fff;
    transition: 300ms ease;
    padding: 1rem 1.5rem;
    background-color: rgb(0, 0, 0, .25);
    text-align: center;
}

#custom-hero #custom-search-tabs a:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

@media (min-width: 768px) {
    #custom-hero h1 {
        font-size: var(--hero_title_size_full);
    }

    #custom-hero h1 span.sub-title {
        font-size: var(--hero_sub_size_full);
    }

    #custom-hero #custom-search-tabs {
        grid-template-columns: repeat(2, 1fr);

    }
}

/* hvt */
main[title="valuation content"] h1 {
    color: #000 !important;
    text-shadow: none !important;
}

main[title="valuation content"] p {
    color: #000 !important;
    text-shadow: none !important;
}

main[title="valuation content"] button {
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 300ms ease;
}

main[title="valuation content"] button:hover {
    background-color: var(--secondary);
}

main[title="valuation content"]>div>div {
    background-color: rgb(255, 255, 255, 0.8);
    /* padding-inline: calc(2rem + 7.5vw); */
    /* padding-block: calc(5rem + 2vw); */
}



/* page updates */


body .h-hero-image {
    height: 50vh;
}


.text-hero {
    text-shadow: 1px 1px 0.25rem rgb(0, 0, 0, .5);
}



.h-hero-image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, .15);
    z-index: 2;
}

#rgsb-custom>section.mb-16>div>div.relative.h-full.flex.flex-col.justify-center.items-center {
    position: relative;
    z-index: 3;
}