@media only screen and (min-width: 4501px) and (max-width: 6000px)
/* == 25% == */
    {}


@media only screen and (min-width: 3100px) and (max-width: 4500px)
/* == 33% == */
    {}


@media only screen and (min-width: 2701px) and (max-width: 3100px)
/* == 50% == */
    {
    .faq-outer .e-con-inner::before {
        height: 85%;

    }
}


@media only screen and (min-width: 2001px) and (max-width: 2700px)
/* == 67% == */
    {
    .faq-outer .e-con-inner::before {
        height: 80%;

    }
}


@media only screen and (min-width: 1801px) and (max-width: 2000px)
/* == 75% == */
    {}


@media only screen and (min-width: 1601px) and (max-width: 1800px)
/* == 80% == */
    {}


@media only screen and (min-width: 1517px) and (max-width: 1600px)
/* == 90% == */
    {}


@media (min-width: 1517px) {

    header .header-logo-outer {
        width: 10%;
    }

    header .e-con-inner ul {
        column-gap: 31px;
    }

    header .e-con-inner ul li.header-CTA {
        margin-left: 30px;
    }

}

@media (min-width: 1517px) {
    header .header-logo-outer {
        width: 8%;
    }
}

@media (min-width: 1400px) {
    .banner-outer .e-con-inner {
        max-width: 1200px !important;
    }

    .california-reach-outer .e-con-inner {
        max-width: 1200px !important;
    }

    .starting-point-outer>.e-con-inner {
        max-width: 1200px !important;
    }

    .integrated-advisory-content {
        max-width: 1200px !important;

    }

    .blog-section-outer .e-con-inner {
        max-width: 1200px !important;
    }

    .practice-architecture-outer>.e-con-inner {
        max-width: 1366px !important;
    }

    .about-pg-section-bug .e-con-inner {
        max-width: 1200px !important;
    }

    .relationship-built-outer .e-con-inner {
        max-width: 1400px !important;
    }

    .what-ha-af-section .e-con-inner {
        max-width: 1200px !important;
    }

}

@media(max-width:1239px) {
    .relationship-built-outer .e-con-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media(max-width:1190px) {
    .relationship-built-outer .architecture-content h2 {
        width: 100%;
    }
}

@media (max-width: 1400px) {}

@media (max-width: 1370px) {}

@media (max-width: 1340px) {



    header .header-menu {
        width: 100%;
    }

    header .header-menu nav {
        width: 100% !important;
        display: flex;
        justify-content: center;
    }

    header .e-con-inner ul {
        margin-left: 0;
    }

}

@media (max-width: 1311px) {}

@media (max-width: 1300px) {
    .footer-left-out {
        width: 25% !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .footer-out .elementor-element-7c66772 {
        width: 80% !important;
    }

    .footer-out>.e-con-child:last-child,
    .footer-out .elementor-element-7c66772 {
        width: 77% !important;
    }
}

@media (max-width: 1285px) {}

@media (max-width: 1260px) {
    .blog-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        justify-content: center;
        width: 100%;
    }

    .blog-card .blog-content {
        padding: 20px;
        position: absolute;
        bottom: 60px;
        left: 0;
        z-index: 2;
    }

    .article.blog-card:hover .blog-content {
        bottom: 0px;

    }

}

@media (max-width: 1240px) {

    header .e-con-inner ul {
        justify-content: center !important;
        display: flex;
        flex-wrap: wrap !important;
    }

    header .e-con-inner ul li.head-contact-btn ul.sub-menu {
        right: 0 !important;
        left: auto !important;
    }

    header .e-con-inner ul li.head-contact-btn ul.sub-menu::after {
        left: auto !important;
        right: 0 !important;
    }

}

@media (max-width: 1239px) {
    .households-outer .e-con-inner {
        max-width: 92% !important;
    }

    .households-three-card .e-con-inner {
        max-width: 92% !important;
    }
}


@media (max-width: 1200px) {
    .right-office-outer {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        padding: 25px 0 32px !important;
        /* border-bottom: 1px solid rgba(255, 255, 255, 0.65); */
        position: relative;
        flex-wrap: wrap;
        column-gap: 25px !important;
    }

    .footer-left-out {
        width: 35% !important;
    }

    .three-practice-content {
        width: 80%;
    }

    .top-service-intro {
        align-items: center;
    }

    .top-service-intro {
        justify-content: space-between;
        align-items: center;
    }

    .three-practice-imgae {
        padding-right: 0;
    }
}

@media (max-width: 1170px) {}

@media (max-width: 1160px) {
    .three-practice-outer .step-out {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .three-practice-outer .step-right-outer {

        padding: 25px 40px 25px 30px !important;
    }
}

@media (max-width: 1120px) {}

@media (max-width: 1100px) {
    .california-reach-outer .e-con-inner {
        flex-direction: column !important;
    }

    .california-reach-left {
        width: 100% !important;
    }

    .california-reach-right {
        width: 100% !important;
    }

    .left-two-img .left-img {
        height: 100%;
        padding-bottom: 50% !important;
    }
}

@media (max-width: 1060px) {}

@media only screen and (min-width: 1024px) and (max-width: 1340px) {

    header .e-con-inner {
        flex-direction: column !important;
        align-items: center !important;
    }

}

@media (max-width: 1024px) {

    /* MOBILE MENU CSS CODE START :::::::::::::::::::::::::: */
    header .header-menu nav {
        margin-top: 20px;
    }

    header .e-con-inner {
        flex-direction: row !important;
    }

    header .header-logo-outer {
        width: 140px;
    }

    header .header-menu {
        position: absolute;
        left: 0;
    }

    header .e-con-inner {
        align-items: center !important;
    }

    header .hfe-nav-menu__toggle {
        margin-right: 20px !important;
    }

    header .hfe-nav-menu__toggle .hfe-nav-menu-icon svg {
        opacity: 0;
    }

    header .hfe-nav-menu__toggle .hfe-nav-menu-icon {
        width: 70px !important;
        height: 70px;
        position: relative;
        padding: 0;
    }

    header .hfe-nav-menu__toggle .hfe-nav-menu-icon::before {
        position: relative;
        content: "";
        width: 100%;
        height: 100%;
        background: url(../images/open-menu.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        left: 0;
        top: 0;
        display: block;
    }

    header .hfe-nav-menu__toggle.hfe-active-menu .hfe-nav-menu-icon::before {
        position: relative;
        content: "";
        width: 100%;
        height: 100%;
        background: url(../images/close-menu.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        left: 0;
        top: 0;
        display: block;
    }


    header .e-con-inner ul li a {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body .hfe-nav-menu li.menu-item ul.sub-menu {
        width: 100% !important;

    }

    body .hfe-nav-menu li.menu-item ul.sub-menu li a {
        font-family: var(--font-source) !important;
        font-weight: 400 !important;
        font-size: 17px;
        color: #ffffff !important;
        line-height: 26px !important;
        text-decoration: none !important;
        transition: 0.5s ease;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        background: transparent !important;
        border-bottom: 1px solid #ffffff5e !important;
    }

    header .e-con-inner ul li ul.sub-menu::after {
        display: none;
    }

    header .e-con-inner ul li ul.sub-menu li {
        border-bottom: 0 solid #ffffff45 !important;
        background: transparent !important;
    }

    header .e-con-inner ul li.menu-item-has-children a span.hfe-menu-toggle {
        position: absolute;
        right: 10px;
    }

    .hfe-nav-menu__breakpoint-tablet .hfe-menu-toggle:hover {
        border: 0px dotted;
    }

    header .e-con-inner ul li.menu-item-has-children a span.hfe-menu-toggle i.fa {
        /* font-size: 31px; */
        width: 13px;
        height: 13px;
        border: 2px solid #333;
        border-left: 0;
        border-top: 0;
        transform: rotate(45deg);
    }

    .hfe-submenu-icon-arrow .hfe-nav-menu .parent-has-child .sub-arrow i:before {
        content: "" !important;
    }

    .hfe-nav-menu__breakpoint-tablet.hfe-submenu-icon-arrow .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a .sub-arrow i {
        width: 13px;
        height: 13px;
        border: 2px solid var(--heritagered-color);
        border-left: 0;
        border-top: 0;
        transform: rotate(225deg);
    }


    /* MOBILE MENU CSS CODE END :::::::::::::::::::::::::: */



    .Expore-outer {
        padding: 28px 25px 0 !important;
    }

    .Expore-outer h2 {
        font-size: 34px;
    }

    .footer-nav {
        width: 100%;
    }

    .footer-nav ul.hfe-nav-menu {
        padding: 0 10px !important;
    }

    .footer-nav .menu-item a.hfe-menu-item {
        padding: 14px 10px !important;
        font-size: 14px;
    }

    .footer-out {
        padding: 60px 35px 30px !important;
    }

    .office-details {
        padding-left: 35px !important;
        font-size: 14px;
    }

    .right-office-outer {
        gap: 15px;
    }

}


@media only screen and (min-width: 991px) and (max-width: 1400px) {
    .relationship-built-outer .insurance-right-out {
        padding-right: 50px;
    }
}

@media(min-width:1001px) {
    .circumstances-img-out .personal-image.circumstances-img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        left: 0;
        top: 0;
    }
}

@media (max-width: 1000px) {
    .households-three-card .households-row {
        gap: 30px;
        display: flex;
        flex-direction: column;
    }

    .circumstances-outer .e-con-inner {
        flex-direction: column !important;
    }

    .circumstances-outer .e-con-inner .circumstances-content-out {
        width: 100%;
    }

    .circumstances-outer .e-con-inner .circumstances-img-out {
        width: 100%;
    }

    .relationship-built-outer .insurance-left-out {
        width: 100%;
    }

    .relationship-built-outer .insurance-right-out {
        width: 100%;
    }

    .relationship-built-outer .e-con-inner {

        margin-bottom: 40px;
    }

    .insurance-left-out::before {
        opacity: 0.04;
    }
}

@media (min-width: 991px) {}

@media (max-width: 991px) {
    .relationship-built-outer::after {
        opacity: 0.3;
    }

    .relationship-built-outer::before {
        opacity: 0.3;
    }

    .starting-point-outer::after {
        opacity: 0.3;
    }

    .gfield.wd-quarter {
        width: 31% !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .footer-out {

        flex-direction: column !important;
        align-items: center;

    }

    .footer-left-out {
        width: 100% !important;
    }

    .footer-out .our-company-outer {
        width: 100% !important;
    }

    .banner-outer {
        overflow: hidden;
        padding-top: 40px;
    }

    .banner-outer {
        overflow: hidden;
    }

    .banner-outer .e-con-inner {
        /* grid-template-columns: 1fr; */
        flex-direction: column-reverse !important;
    }

    .banner-out-left {
        width: 100% !important;
    }

    .banner-out-right {
        width: 100% !important;
    }

    .banner-outer::before {
        content: "";
        position: absolute;
        width: 378px;
        height: 100%;
        background-image: url(../images/hero-line.svg);
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        top: auto;
        right: -220px;
        left: auto;
        bottom: 0;
        z-index: -1;
        opacity: 0.2;
    }

    .top-service-intro {
        flex-direction: column-reverse !important;
    }

    .three-practice-content {
        width: 100%;
    }

    .three-practice-imgae {
        width: 24% !important;
        margin-right: auto;
    }


    .practice-architecture-outer .e-con-inner {

        flex-direction: column !important;
    }

    .architecture-right-outer {
        padding: 20px 40px 40px 40px !important;
        width: 100%;
    }

    .architecture-left-outer {
        width: 100%;
    }

    .architecture-content-img {
        position: relative;
        width: 100% !important;
        height: 0;
        padding-bottom: 100% !important;
    }



    .california-reach-left {
        width: 100% !important;
    }

    .california-reach-right {
        width: 100% !important;
    }

    .relationship-built-outer .e-con-inner {

        flex-direction: column !important;

    }

    .relationship-built-outer .relationship-img {
        height: auto;
        width: 100% !important;
    }

    body .relationship-built-outer .e-con-inner .architecture-content {
        width: 100% !important;
        position: relative;
    }

    .starting-point-outer .e-con-inner {
        flex-direction: column !important;
        gap: 20px;
    }

    .starting-point-left {
        position: relative;
        z-index: 2;
        width: 100% !important;
        padding: 85px 70px 75px 50px !important;
        background: var(--heritagered-color);
        height: fit-content;
    }

    .starting-point-right {
        position: relative;
        z-index: 3;
        width: 100% !important;
        display: flex;
        flex-direction: column;
        margin-left: 0px !important;
    }

    .right-one-img {
        position: relative;
        width: 54% !important;
        padding: 0 !important;
        overflow: hidden;
        border-radius: 0;
        height: fit-content;
    }

    .architecture-right-outer::before {
        content: "";
        position: absolute;
        bottom: 65px;
        left: 92px;
        top: 74px;
        width: 1px;
        height: auto;
        border-left: 2px dashed #667d9b;
        z-index: 1;
    }

    .starting-point-left::after {
        right: 0px;

    }
}

@media (max-width: 950px) {}

@media (max-width: 900px) {

    .gfield.wd-quarter {
        width: 100% !important;
    }

    .gfield.wd-half {
        width: 100% !important;
    }

    .ginput_address_city,
    .ginput_address_state,
    .ginput_address_zip {
        width: 100% !important;
    }

    .blog-section-outer .e-con-inner {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    .blog-left-text p {
        margin-bottom: 20px !important;
        padding: 0;
        -ms-transform: rotate(-90deg);
        transform: unset;
        width: 100%;
        text-align: unset;
        position: unset;
        white-space: unset;
        left: unset;
        font-size: 80px;
        -webkit-writing-mode: unset;
        -ms-writing-mode: unset;
        writing-mode: unset;
        font-weight: 700 !important;
        color: var(--primary-color) !important;
        font-family: 'Libre Baskerville';
        font-style: italic;
        top: unset;
        line-height: 112px !important;
    }

    .blog-left-text {
        width: 100%;
    }

    .blog-section-outer .e-con-inner::before {
        display: none;
    }
}

@media (max-width: 850px) {
    .better-img {
        width: 40% !important;
        padding-bottom: 46%;
    }

    .starting-point-row {
        flex-direction: row !important;
        flex-wrap: nowrap;
    }

    .faq-outer .e-con-inner {
        max-width: 100% !important;
        padding-right: 0px !important;
        display: flex;
        flex-direction: column-reverse !important;
        gap: 0px !important;
        position: relative;
    }

    .faq-outer .faq-right-outer {
        width: 100%;
    }

    .faq-outer .faq-left-outer {
        width: 100% !important;
    }

    .faq-outer .faq-left-outer .left-img {
        border-top-right-radius: 60px;
        width: 100% !important;
        height: 100% !important;
        position: relative;
        padding-bottom: 90% !important;
        display: block;
    }
}

@media (max-width: 800px) {

    .SEO-outer {
        padding: 50px 20px 10px 20px !important;
    }

    .SEO-outer ol {
        padding-left: 20px;
    }


}

@media (max-width: 790px) {
    .three-practice-outer .step-right-outer {
        grid-template-columns: 1fr;
        margin-left: 20px !important;
    }

    .three-practice-outer .step-right-outer::before {

        width: 100%;
    }

    .three-practice-outer .step-img {
        margin: 0 auto;
    }

    .three-practice-outer .step-right-content {
        width: 100% !important;
        padding-left: 0;
        padding-right: 0;
    }

}

@media (max-width: 790px) {}

@media (max-width: 767px) {

    .insurance-left-out .insurance-img::after {

        opacity: 0.3;
    }

    .relationship-built-outer::before {

        opacity: 0.3;
    }


    .relationship-built-outer::after {

        opacity: 0.3;
    }

    .relationship-built-outer .relationship-img {

        width: 100%;
    }

    .relationship-built-outer .e-con-inner .architecture-content {
        width: 100% !important;
    }

    .relationship-built-outer .e-con-inner {
        gap: 20px;
        display: flex;
        flex-direction: column-reverse !important;

    }

    .scroll-btn {
        right: 18px;
        bottom: 18px;

        width: 45px !important;
        height: 45px !important;
    }

    .scroll-btn .elementor-button {
        width: 45px;
        height: 45px;
    }

    .scroll-btn .elementor-button::before {
        content: "";
        position: absolute;
        right: 3px;
        bottom: 6px;
        width: 35px;
        height: 35px;
        transition: transform 0.3s ease;
        background-image: url(../images/top-scroll.svg) !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
    }

    .scroll-btn .elementor-button::before {
        font-size: 19px;
    }

    .Expore-outer {
        padding: 25px 15px 0 !important;
        border-radius: 20px 20px 0 0;
    }

    .Expore-outer h2 {
        font-size: 28px;
        margin-bottom: 20px !important;
    }

    .footer-nav {
        width: 100%;
        margin-bottom: -10px !important;
    }

    .footer-nav ul.hfe-nav-menu {
        padding: 8px 15px !important;
        border-radius: 22px;
    }

    .footer-nav .menu-item {
        width: 100%;
        text-align: center;
    }

    .footer-nav .menu-item a.hfe-menu-item {
        padding: 11px 5px !important;
        font-size: 14px;
    }

    .footer-out {
        flex-direction: column !important;
        padding: 60px 25px 30px !important;
    }

    .footer-left-out {
        width: 100% !important;
        margin-bottom: 35px;
        text-align: center;
    }

    .left-img {
        margin-bottom: 25px;
    }

    .footer-logo-image {
        width: 100px;
    }

    .left-text h3 {
        font-size: 16px;
    }

    .left-text p {
        font-size: 14px;
    }

    .footer-out>.e-con-child:last-child,
    .footer-out .elementor-element-7c66772 {
        width: 100% !important;
    }

    .right-office-outer {
        flex-direction: column;
        align-items: flex-start;

        gap: 20px;

        padding: 10px 0 25px !important;
    }

    .office-details {
        width: 100%;
        padding-left: 38px !important;
        font-size: 15px;
    }

    .social-media-outer {
        justify-content: center;
        padding-top: 25px !important;
    }

    .site-social-icons {
        justify-content: center;
        gap: 25px;
    }

    .privacy-outer {
        padding: 18px 15px !important;
        text-align: center;
    }

    .privacy-outer .hfe-copyright-wrapper {
        font-size: 13px;
    }

    .three-practice-outer .three-steps-outer {
        max-width: 90% !important;
    }

    .blog-card .blog-content {

        bottom: 0;

    }
}



@media (max-width: 700px) {
    .integrated-advisory-outer {
        padding: 40px 40px 40px !important;
    }
}

@media (max-width: 740px) {}

@media (max-width: 640px) {}

@media (max-width: 600px) {
    .per-coverage-list ul {
        column-count: 1;
    }

    .gfield {
        width: 100% !important;
    }

    .architecture-content-img {
        position: relative;
        width: 100% !important;
        height: 0;
        padding-bottom: 150% !important;
    }

    .architecture-content-out .architecture-content {
        background: #ffffffe8 !important;
    }

    .california-reach-left {
        padding: 0 !important;
    }

    .overlay-text p {
        font-size: 4vh;

    }

    .california-reach-outer .e-con-inner {
        padding: 24px !important;
        max-width: 93.7% !important;
    }

    .architecture-right-outer {
        padding: 20px 20px 40px 20px !important;
    }

    .architecture-right-outer::before {
        content: "";
        position: absolute;
        bottom: 65px;
        top: 74px;
        width: 1px;
        height: 100%;
        border-left: 2px dashed #667d9b;
        z-index: 1;
        left: 68px;

    }

    .questions-row {
        padding: 30px 20px 30px 20px !important;
    }
}

@media (max-width: 650px) {}

@media (max-width: 701px) {}

@media (max-width: 580px) {}

@media (max-width: 500px) {
    .architecture-right-outer {
        padding: 20px 20px 30px 20px !important;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .integrated-advisory-outer {
        padding: 31px 20px 30px 20px !important;
    }

    .integrated-advisory-outer::after {
        opacity: 0.2;
    }

    .integrated-advisory-outer .e-con-inner::before {
        opacity: 0.2;
    }

    .architecture-content-out .architecture-content {
        z-index: 3;
        position: absolute !important;
        padding: 55px 35px 45px 40px !important;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }

    .starting-point-row {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    .better-img {
        width: 100% !important;
        padding-bottom: 100%;
    }

    .better-content {
        width: 100% !important;
        padding: 0 !important;
    }

    .faq-outer .faq-right-outer .hp-faq-heading {
        padding-left: 20px !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 450px) {
    .architecture-box .architecture-style::after {
        display: none;
    }

    .architecture-box {
        flex-wrap: wrap;
        gap: 10px;
        flex-direction: column !important;
        margin-bottom: 20px !important;
    }

    .architecture-right-outer::before {
        z-index: 0;
    }
}

@media (max-width: 440px) {}

@media (max-width: 400px) {
    .integrated-advisory-outer {
        padding: 30px 10px 30px 10px !important;
    }

    .architecture-content-out .architecture-content {
        padding: 20px 20px 10px 20px !important;
    }

    .california-reach-right {
        gap: 10px;
    }

    .left-two-img {
        gap: 10px;
    }
}

@media (max-width: 380px) {}

@media (max-width: 360px) {}

@media (max-width: 350px) {}

@media (max-width: 330px) {}