/*mobile layout quiery*/

@media only screen and (max-width: 1000px) {

    #header .logo img {
        max-height: 35px;
    }

    #header.page-banner-header .logo img {
        max-height: 70px;
    }

    .page-banner-section .banner-text-sc {
        padding: 200px 0;
    }

    .banner-text-sc {
        padding: 150px 0;
    }

    .mortgage .single-angle-box.bg2 {
        transform: translateY(-50px);
    }

    .banner-text-sc h1 {
        font-size: 28px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .page-banner-section {
        height: 120vw;
    }

    .banner-text-sc p {
        font-size: 11px;
    }

    .banner-text-sc a.btn.btn-success.top-btn.appointment {
        font-size: 12px;
        padding: 13px 23px 12px;
    }

    section.client-loan-section-area .section-title h2 {
        font-size: 18px;
    }

    section#hero {
        background-size: cover;
        height: 160vw;
    }

    .mobile-nav {
        background: rgb(216 215 211);
        text-align: center;
    }

    .nav-top-area {
        justify-content: center;
        flex-wrap: wrap;
        padding: 10px 0 0;
    }

    .nav-top-btn.apply a {
        margin-bottom: 10px;
    }

    .mobile-nav .social-link a {
        padding: 0;
    }

    .owl-carousel.client-slide .owl-nav .owl-prev,
    .owl-carousel.client-slide .owl-nav .owl-next {
        display: none;
    }

    .mobile-nav-toggle {
        top: 25px;
    }

    .mobile-nav-toggle i {
        color: #fff;
    }

    section.client-loan-section-area::before {
        background-size: cover;
    }

    .box-grid-module::before {
        content: none;
    }

    .box-grid-module {
        gap: 0;
    }

    .box-grid-module .single-box img {
        max-height: 80px;
    }

    .box-grid-module .single-box,
    .box-grid-module .single-box:nth-child(4),
    .box-grid-module .single-box:nth-child(5),
    .box-grid-module .single-box:nth-child(6),
    .box-grid-module .single-box:nth-child(7) {
        flex: 0 0 100%;
        text-align: center;
    }

    .contact-action-area {
        flex-wrap: wrap;
        justify-content: center;
    }

    .text-icon {
        flex-wrap: wrap;
        justify-content: center;
    }

    .text-icon h2 {
        padding-left: 0;
        font-size: 23px;
        text-align: center;
        line-height: 35px;
        padding-bottom: 15px;
    }

    .text-icon img {
        width: 80px;
        padding-bottom: 12px;
    }

    .about-img-block img {
        width: 100%;
        padding-bottom: 20px;
    }

    .about-details-area h3 {
        font-size: 25px;
        line-height: 36px;
    }

    .about-list-area ul li {
        padding-bottom: 20px;
        font-size: 15px;
    }

    .our-product-section .section-title h2 {
        font-size: 20px;
    }

    .row.product-module {
        padding-top: 30px;
    }

    .section-title h2 {
        font-size: 23px;
        padding-left: 40px;
    }

    .contact-section-area .section-title p {
        font-size: 13px;
    }

    .contact-info {
        gap: 0;
        flex-wrap: wrap;
    }

    .section-title h4 {
        font-size: 19px;
    }

    .section-title h2::before,
    .parner-section-area .section-title h2::before {
        width: 28px;
    }

    .section-title p {
        font-size: 13px;
    }

    .our-sevices-area .section-title p {
        font-size: 11px;
    }

    .owl-carousel.client-slide .owl-dots {
        bottom: -20px;
    }

    .row.partner-module .col-md-4 {
        max-width: 100%;
        margin-bottom: 25px;
    }

    section.client-section-area,
    .contact-section-area,
    .parner-section-area,
    section.about-section-area,
    .our-product-section,
    section.our-sevices-area,
    section.client-loan-section-area,
    #about-shape-block.mortgage.page-body-section,
    .payment-calculator-section,
    #mortgage-page.our-product-section,
    section.our-team-section,
    #about-shape-block.about.page-body-section,
    #about-shape-block.about_block_2.page-body-section,
    #about-shape-block.page-body-section,
    #about-shape-block.page-body-section,
    #about-shape-block.career.page-body-section,
    section.loan-summary-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    button.btn.btn-success.top-btn.appointment.big.submit_btn {
        width: 100%;
    }

    .contact-section-area {
        background-size: cover;
        padding-bottom: 0;
    }

    .contact-section-area .row .col-md-7 {
        flex: 95%;
        max-width: 95%;
    }

    #footer {
        background-size: cover;
    }

    .logo-ftr {
        padding-bottom: 40px;
    }

    .footer-content-area h4 {
        padding-top: 15px;
    }

    .footer-menu {
        margin-left: 0;
        padding: 7px 0px 0px;
        margin-top: 0;
    }

    .footer-menu ul li a {
        font-size: 12px;
        letter-spacing: 0px;
    }

    .footer-menu ul {
        gap: 5px;
        flex-wrap: wrap;
        margin-bottom: 8px;
    }

    /*=========== Mortgage Rates page =================*/

    .payment-calculate-show-info {
        flex-wrap: wrap;
    }

    .about-image-block img {
        width: 100%;
    }

    .payment-calculator-section .section-title h2,
    #mortgage-page .section-title h2 {
        font-size: 17px;
    }

    .payment-calculator-section .section-title h4 {
        padding-top: 10px;
        font-size: 16px;
    }

    .payment-calculate-show-info .item img {
        width: 120px;
    }

    .payment-calculator-chatbar-sc .section-title h4 {
        font-size: 24px;
        line-height: 32px;
        padding-bottom: 20px;
    }

    h4.show-total-title {
        font-size: 18px;
        padding-top: 20px;
    }

    .logo-ftr img {
        width: 100%;
    }

    .contact-info ul {
        margin-bottom: 10px;
    }

    .mortgage .about-marketing-text {
        padding-left: 0;
    }

    .row.angel-box-module {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }

    .payment-calculate-show-info .item {
        max-width: 200px;
        width: 100%;
    }

    .single-angle-box {
        padding: 70px 26px;
        max-height: 450px;
        margin-bottom: 60px;
    }

    /*=========== End Mortgage Rates page =================*/

    /*=========== About us page =================*/

    .team-warper-area {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .about .about-marketing-text {
        padding-top: 50px;
        padding-left: 00px;
    }

    #about-shape-block.about_block_2.page-body-section::before {
        content: none;
    }

    #about-shape-block.about.page-body-section::before,
    #about-shape-block.career.page-body-section {
        background-size: cover;
    }

    /*=========== End About us page =================*/

    /*=========== Co-marketing page =================*/
    .marketing-co-banner {
        display: block;
        padding-bottom: 30px;
    }

    .marketing-co-banner img {
        width: 100%;
    }

    #about-shape-block.page-body-section {
        background: none;
    }

    #about-shape-block.co-marketing .row {
        flex-direction: column-reverse;
    }

    .about-marketing-text p {
        font-size: 15px !important;
        line-height: 22px !important;
        padding-bottom: 10px !important;
    }

    /*=========== End About us page =================*/

    /*=========== Contact page =================*/

    #contact-page h2.page-title {
        font-size: 25px;
    }

    /*=========== End Contact page =================*/

    /*=========== carrer page =================*/
    #career .section-title h2 {
        line-height: inherit;
        font-size: 35px;
    }

    .summary-text p {
        font-size: 14px;
        line-height: 20px;
    }

    .loan-summary-section .section-title h2 {
        font-size: 22px;
    }

    .sub-listing-info .item {
        flex: 0 0 100%;
        padding-bottom: 14px;
    }

    .loan-essential-warper {
        margin: 0 20px;
    }

    .sub-listing-info .item img {
        margin-right: 28px;
        width: 35px;
    }

    .single-qulifi-box {
        max-width: 90%;
        margin: 0 auto;
    }

}

/*tab layout quiery*/

@media only screen and (min-width: 768px) and (max-width: 1000px) {

    section#hero {
        height: 90vh;
    }

    .banner-text-sc h1 {
        font-size: 35px;
    }

    section.client-loan-section-area .section-title h2 {
        font-size: 26px;
    }

    .section-title h4 {
        font-size: 30px;
    }

    .box-grid-module .single-box,
    .box-grid-module .single-box:nth-child(4),
    .box-grid-module .single-box:nth-child(5),
    .box-grid-module .single-box:nth-child(6),
    .box-grid-module .single-box:nth-child(7) {
        flex: 0 0 50%;
    }

    .row.product-module .col-md-4 {
        max-width: 50%;
        flex: 0 0 50%;
    }

    .single-partner-box img {
        width: 50px;
    }

    .single-partner-box p {
        font-size: 12px;
    }

    .btn.btn-success.top-btn.bigL {
        font-size: 14px;
        padding: 14px 27px 13px;
    }

    .contact-info {
        display: flex;
        gap: 0;
        flex-wrap: wrap;
    }

    .nav-top-area {
        justify-content: end;
    }

    /*=========== Mortgage Rates page =================*/
    .mortgage .details p {
        font-size: 12px;
        line-height: 19px;
    }

    .mortgage .btn.btn-success.top-btn.appointment.big {
        font-size: 11px;
        padding: 13px 40px 10px;
    }

    section#about-shape-block .row {
        align-items: center;
    }

    #mortgage-page .section-title h2 {
        font-size: 25px;
    }

    #mortgage-page .row.product-module {
        justify-content: center;
    }

    .row.angel-box-module .col-md-4 {
        max-width: 50%;
        flex: 0 0 50%;
    }

    .payment-calculate-show-info {
        flex-wrap: nowrap;
    }

    .payment-calculate-show-info .item img {
        width: 100px;
    }

    .payment-calculate-show-info .item p {
        font-size: 13px;
    }

    .row.angel-box-module {
        max-width: 800px;
    }

    /*=========== End Mortgage Rates page =================*/

    /*=========== About us page =================*/

    #about-shape-block.about.page-body-section::before {
        background-size: 100% 100%;
    }

    #about-shape-block.about_block_2 .col-md-6 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    section#about-shape-block.about_block_2 .details p {
        font-size: 15px;
    }

    /*=========== End About us page =================*/

    /*=========== Co-marketing page =================*/

    #about-shape-block.co-marketing .col-md-6 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    #about-shape-block.co-marketing .row {
        flex-direction: column;
    }

    #about-shape-block.page-body-section::before {
        bottom: -140px;
    }

    #about-shape-block.co-marketing.page-body-section {
        padding-bottom: 0px;
    }

    .co-marketing.page-body-section .marketing-co-banner {
        padding-bottom: 0;
    }

    /*=========== End About us page =================*/

    /*=========== Career page =================*/
    .single-qulifi-box {
        max-width: 90%;
        flex: 0 0 47%;
    }


}

/*medium layout quiery*/

@media only screen and (min-width: 1001px) and (max-width: 1365px) {

    section.client-loan-section-area::before,
    #footer,
    #about-shape-block.about.page-banner-section {
        background-size: cover;
    }

    section#hero {
        height: 90vw;
    }

    .page-banner-section {
        height: 45vw;
    }

    .page-banner-section .banner-text-sc {
        padding: 200px 0;
    }

    .owl-carousel.client-slide .owl-nav .owl-prev,
    .owl-carousel.client-slide .owl-nav .owl-next {
        left: 0px
    }

    .owl-carousel.client-slide .owl-nav .owl-next {
        right: 0px;
        left: auto;
    }

    .client-single-item p {
        font-size: 13px;
    }

    #header .logo img {
        max-height: 40px;
    }

    .mortgage .single-angle-box.bg2 {
        transform: translateY(-100px);
    }

    #header.page-banner-header .logo img {
        max-height: 100px;
    }

    .banner-text-sc p {
        font-size: 17px;
    }

    .banner-text-sc h1 {
        font-size: 35px;
    }

    .box-grid-module::before {
        left: 12px;
        height: 52%;
    }

    .text-icon h2 {
        font-size: 28px;
    }

    .single-product-box {
        padding: 61px 20px 0;
    }

    .about-details-area h3 {
        font-size: 34px;
    }

    .about-img-block img {
        width: 100%;
    }

    button.btn.btn-success.top-btn.appointment.big.submit_btn {
        font-size: 13px;
    }

    .contact-info ul li,
    .footer-content-area p {
        font-size: 12px;
    }

    .footer-content-area h4 {
        font-size: 15px;
    }

    .footer-menu ul li a {
        font-size: 13px;
    }

    #footer {
        padding-top: 170px;
    }

    /*=========== End Mortgage Rates page =================*/

    .mortgage .section-title h2 {
        font-size: 38px;
    }

    .payment-calculator-section .section-title h4 {
        padding-top: 25px;
        font-size: 30px;
    }

    #mortgage-page .single-product-box {
        padding: 40px 20px 0;
    }

    .row.angel-box-module .col-md-4 {
        max-width: 37%;
        flex: 0 0 37%;
    }

    .row.angel-box-module {
        max-width: 1100px;
        margin: 0 auto;
    }

    /*=========== End Mortgage Rates page =================*/

    /*=========== About us page =================*/

    .team-warper-area {
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .about-image-block img {
        width: 100%;
    }

    .about .about-marketing-text p {
        font-size: 17px;
        line-height: 28px;
    }

    #about-shape-block.about_block_2.page-body-section::before {
        background-size: 75%;
    }

    /*=========== End About us page =================*/

    /*=========== Co-marketing page =================*/

    #about-shape-block.page-body-section {
        background-size: 70%;
    }

    .co-marketing .about-marketing-text p {
        font-size: 16px;
        line-height: 27px;
    }

    #about-shape-block.page-body-section::before {
        bottom: -120px;
    }

    .contact-section-area {
        background-size: cover;
    }

    /*=========== End About us page =================*/

    #about-shape-block.career.page-banner-section,
    #about-shape-block.career.page-body-section {
        background-size: cover;
    }

}

@media only screen and (min-width: 1065px) {
    .box-grid-module::before {
        height: 55%;
    }

}

@media only screen and (min-width: 1366px) and (max-width: 1600px) {

    .logo-ftr img {
        width: 70%;
    }

    .logo-ftr {
        text-align: right;
    }

    .contact-info ul li {
        font-size: 12px;
    }

    .footer-content-area .col-md-6 {
        padding-left: 0;
    }

    .form-section {
        padding-bottom: 50px;
    }


}

@media only screen and (min-width: 1366px) and (max-width: 1500px) {

    .banner-text-sc {
        padding: 200px 0;
    }

    section#hero {
        height: 60vw;
    }

    .contact-section-area,
    .our-product-section {
        background-size: 130% 100%;
    }

    .owl-carousel.client-slide .owl-nav .owl-prev {
        left: -60px;
    }

    .owl-carousel.client-slide .owl-nav .owl-next {
        left: auto;
        right: -60px
    }

    #header .logo img {
        max-height: 55px;
    }

    section.client-loan-section-area::before,
    #about-shape-block.career.page-body-section {
        background-size: cover;
    }

    .page-banner-section {
        height: 36vw;
    }

    #header.page-banner-header .logo img {
        max-height: 100px;
    }


}

@media only screen and (min-width: 1501px) and (max-width: 1700px) {

    section#hero {
        height: 60vw;
    }

    .page-banner-section {
        height: 33vw;
    }

    .contact-section-area {
        background-size: cover;
    }

    section.client-loan-section-area::before {
        background-size: cover;
    }


}

@media only screen and (min-width: 1701px) and (max-width: 1919px) {

    section#hero {
        background-size: 100% 100%;
        height: 54vw;
    }

    .page-banner-section {
        height: 30vw;
    }

}