/* Custom CSS for Homepage Template */
.kbfx-homepage .kbf-sticky-zone {
    position: relative;
} 
.kbfx-homepage .kbf-calculator-column {
    position: relative;
} 
.kbfx-homepage .kbf-calculator-sticky {
    z-index: 20;
}
.kbfx-homepage .calculator-currency.basic .calculator-currency-right {
    max-width: 100%;
}
.kbfx-homepage .kbf-white-row,
.kbfx-homepage .kbf-light-grey-row {
    position: relative;
    z-index: 1;
}
.kbfx-homepage .kbf-white-row::before,
.kbfx-homepage .kbf-light-grey-row::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vw;
    right: -100vw;
    z-index: -1;
}
.kbfx-homepage .kbf-white-row::before {
    background: var(--white);
}
.kbfx-homepage .kbf-light-grey-row::before {
    background: var(--grey-light);
}
.kbfx-homepage h2 {
    font-size:24px;
    margin-bottom:1rem;
}
.kbfx-homepage .h2-alt h2 {
    font-size:30px;
}
.kbfx-homepage .better-business-bureau h2 {
    font-size:30px;
    margin:0;
}
.kbfx-homepage p {
    font-size:18px;
}
.kbfx-homepage .hero-headline h1 {
    line-height: 1.5;
}
.kbfx-homepage .hero-headline h1,
.kbfx-homepage .hero-headline p {
    color:var(--white);
    font-size: 30px;
    font-weight: 700;
}
.kbfx-homepage .hero-image img {
    border-radius:18px
}
.kbfx-homepage .kbfx-hero-widget .hero-testimonial-highlight {
    gap:1rem;
    padding:0
}
.kbfx-homepage .kbfx-hero-widget .hero-testimonial-highlight .testimonial-header {
    gap:2rem;
}
.kbfx-homepage .hero-testimonial-highlight .testimonial {
    max-width: 410px;
}
.kbfx-homepage .hero-testimonial-highlight .testimonial p {
    font-size: 20px;
}
.kbfx-homepage .kbfx-hero-widget .paragraph p {
    font-weight: 400;
    font-size:16px;
    font-style:italic;
    line-height: 1.5;
}
.kbfx-homepage  .compare-rate-savings-table{
    margin-bottom:10px;
} 
.kbfx-homepage .compare-rate-savings-table.banks-column4 .compare-rate-item.header .cad-saved {
    font-weight: 400;
}
.kbfx-homepage .compare-rate-savings-table.banks-column4 .compare-rate-item .cad-saved {
    justify-content: center;
}
.kbfx-homepage .disclaimer-savings-table .disclaimer-left p,
.kbfx-homepage .disclaimer-savings-table .disclaimer-right p {
    font-size: 14px;
    color:#333333;
}
@media (min-width:1200px) {
    .kbfx-homepage .disclaimer-savings-table .disclaimer-right {
        width: 150px;
        text-align: center;
    }
}
.kbfx-homepage .disclaimer-savings-table .disclaimer-right p {
    margin-top: 3px;
}
.kbfx-homepage .testimonials-blue-bg .testimonial-item {
    background-color: #344BA5;
    border-color: #6279D2;
    color: var(--white);
    padding: 2em 2em 2em 0;
    max-width: 100%;
}
.kbfx-homepage .testimonial-content {
    margin-left:-30px;
}
.kbfx-homepage .testimonials-blue-bg .testimonial-item p {
    font-size: 16px;
    line-height: 1.7;
}
.kbfx-homepage .testimonial-item .testimonial-content .testmonial-name {
    font-style: normal;
}
.kbfx-homepage .savings-calculator h2 {
    font-size: 26px;
}
.kbfx-homepage .savings-calculator p {
    font-size: 20px;
}
.kbfx-homepage .calculator-currency.full .calculator-currency-left {
    width:100%;
    max-width:100%;
    margin-top:20px;
}
.kbfx-homepage #home-step-blocks {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}
.kbfx-homepage #steps-wrapper {
    padding-top:0
}
.kbfx-homepage #steps-wrapper h2 {
    font-size:28px;
    font-weight: 700;
    text-align: left !important;
    margin: 0;
}
.kbfx-homepage #steps-wrapper::before {
    left: -110px;
    bottom: auto;
    top: 100px;
}
.kbfx-homepage #steps-wrapper #home-step-blocks {
    margin-top:30px
}
.kbfx-homepage #steps-wrapper #home-step-blocks .home-step-block {
    display: flex;
    gap: 30px;
}
.kbfx-homepage #steps-wrapper #home-step-blocks .home-step-block:nth-child(2),
.kbfx-homepage #steps-wrapper #home-step-blocks .home-step-block:nth-child(4) {
    top: unset;
}
.kbfx-homepage #home-step-blocks .home-step-block .number {
    flex: 0 0 52px;
}
.kbfx-homepage #steps-wrapper #home-step-blocks .home-step-block h3 {
    margin-top: 0;
    letter-spacing: 0;
}
.kbfx-homepage #steps-wrapper #home-step-blocks .home-step-block p {
    font-size: 16px;
    margin-bottom: 0;
}
.kbfx-homepage #steps-wrapper #home-step-blocks .home-step-block small {
    margin-top: 5px;
}
.kbfx-homepage #steps-wrapper .bar-steps-wrapper {
    position: absolute;
    top: 148px;
    left: -30px;
    width: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 690px;
    margin: 0;
    padding: 0;
    z-index: 0;
    border: 0;
}
.kbfx-homepage #steps-wrapper .bar-steps-wrapper::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-image: linear-gradient(var(--black) 50%, transparent 50%);
    background-size: 3px 10px;
    background-repeat: repeat-y;
    z-index: -1;
}
.kbfx-homepage #steps-wrapper .bar-steps-wrapper>li {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.kbfx-homepage #steps-wrapper .bar-steps-wrapper>li:after {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.kbfx-homepage .mobile-cta .cta-wrapper {
    display:none;
}
.kbfx-homepage .disclaimer-savings-table .disclaimer-left p,
.kbfx-homepage .disclaimer-savings-table .disclaimer-right p {
    font-size: 14px;
}
@media (max-width: 1220px) {
    .kbfx-homepage #steps-wrapper .bar-steps-wrapper {
        left:-20px;
        top:183px;
        height:760px
    }
}
@media (max-width: 1060px) {
    .kbfx-homepage #steps-wrapper .bar-steps-wrapper {
        display:none;
    }
    .kbfx-homepage #steps-wrapper #home-step-blocks .home-step-block {
        margin:0
    }
}
@media (max-width: 991px) {
    .kbfx-homepage #steps-wrapper #home-step-blocks .home-step-block {
        gap: 20px;
    }
    .kbfx-homepage #steps-wrapper {
        padding-bottom: 0;
    }
}
.kbfx-homepage .calculator-widget,
.kbfx-homepage .kbf-calculator-sticky #as-seen-on .logos-as-seen-on {
    width: 400px;
    margin: auto;
    max-width: 100%;
}
.kbfx-homepage .calculator-currency.basic .calculator-currency-right {
    max-width: 100%;
}
.kbfx-homepage .calculator-widget {
    padding-left: 0;
    padding-right: 0;
}
.kbfx-homepage .kbfx-homepage-rate-disclaimer {
    display: block;
}
.kbfx-homepage .calculator-currency-right .button-container {
    text-align: center;
}
.kbfx-homepage .kbfx-homepage-rate-disclaimer {
    display: inline-block;
    position: relative;
    text-align: center;
    margin: 0 0 10px;
}  
.kbfx-homepage .rate-disclaimer-trigger {
    border: 0;
    background: transparent;
    color: #344BA5;
    font-weight: 700;
    font-size:12px;
    margin:20px auto 0;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}  
.kbfx-homepage .rate-disclaimer-popup {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    left: 0;
    top: 0;
    transform: none;
    width: 344px;
    max-width: calc(100vw - 40px);
    margin: 0;
    background: var(--mid-blue);
    color: var(--white);
    padding: 18px 22px;
    border-radius: 6px;
    text-align: left;
    font-size: 14px;
    z-index: 9999;
    transition: opacity .2s ease, visibility .2s ease;
}  
.kbfx-homepage .kbfx-homepage-rate-disclaimer.is-open .rate-disclaimer-popup{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}
.kbfx-homepage .rate-disclaimer-popup[data-placement^="bottom"]::before {
    content: "";
    position: absolute;
    top: -12px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 14px solid var(--mid-blue);
    border-top: 0;
}
.kbfx-homepage .rate-disclaimer-popup[data-placement^="top"]::before {
    content: "";
    position: absolute;
    top: auto;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 0;
    border-top: 14px solid var(--mid-blue);
}
.kbfx-homepage .kbf-calculator-sticky #as-seen-on .logos-as-seen-on {
    border-radius: 20px;
    margin: 30px auto;
    padding: 20px 10px;
}
.kbfx-homepage .kbf-calculator-sticky #as-seen-on .logos-as-seen-on::before {
    position: static;
    text-align: center;
    display: block;
    font-weight: 400;
}
.kbfx-homepage .kbf-calculator-sticky #as-seen-on .logos {
    margin-top: 10px;
    gap: 1em 0.2em;
}
.kbfx-homepage .kbf-calculator-sticky #as-seen-on .logos img {
    margin: 0;
    padding: 0;
}
.kbfx-homepage .kbf-calculator-sticky #as-seen-on .logos-as-seen-on img.logo-order-1 {
    order: 1;
    height: 28px;
}
.kbfx-homepage .kbf-calculator-sticky #as-seen-on .logos-as-seen-on img.logo-order-2 {
    order: 2;
    height: 28px;
}
.kbfx-homepage .kbf-calculator-sticky #as-seen-on .logos-as-seen-on img.logo-order-3 {
    order: 4;
    height: 13px;
}
.kbfx-homepage .kbf-calculator-sticky #as-seen-on .logos-as-seen-on img.logo-order-4 {
    order: 5;
    height: 17px;
}
.kbfx-homepage .kbf-calculator-sticky #as-seen-on .logos-as-seen-on img.logo-order-5 {
    order: 3;
    height: 30px;
}
@media (max-width:1400px) {
    .kbfx-homepage .testimonials-blue-bg .testimonial-item {
        margin-left: 2rem;
    }
}
@media (max-width:991px) {
    .kbfx-homepage .hero-headline h1,
    .kbfx-homepage .hero-headline p {
        font-size:22px
    }
    .kbfx-homepage .h2-alt h2 {
        font-size:24px;
    }
    .kbfx-homepage .kbf-calculator-column {
        display: none !important;
    }
    .kbfx-homepage .kbfx-hero-widget .hero-testimonial-highlight {
        padding: 0;
        justify-content: center;
        text-align: center
    }
    .kbfx-homepage .kbfx-hero-widget .hero-testimonial-highlight .testimonial {
        margin-bottom: 5px;
    }
    .kbfx-homepage .kbfx-hero-widget .paragraph p {
        font-style: normal;
        font-weight: 300;
    }
    .kbfx-homepage .kbfx-hero-widget .hero-testimonial-highlight .testimonial-header {
        flex-direction: column;
        align-items: center;
        text-align: center
    }
    .kbfx-homepage .kbfx-hero-widget .hero-testimonial-highlight .paragraph {
        max-width: 800px;
        margin-left:auto;
        margin-right: auto;
    }
    .kbfx-homepage .hero-image .sow-image-container {
        align-items: center;
        justify-content: center;
        margin-top:15px
    }
    .kbfx-homepage .calculator-currency.full {
        align-items: center;
        justify-content: center;
    }
    .kbfx-homepage .calculator-currency.basic .calculator-currency-right {
        width: 540px;
    }
    .kbfx-homepage .calculator-currency.full .calculator-currency-left {
        margin: 0 auto;
        max-width: 540px;
    }
    .kbfx-homepage #steps-wrapper h2 {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto
    }
    .kbfx-homepage #steps-wrapper #home-step-blocks {
        width:480px;
    }
    .kbfx-homepage #steps-wrapper #home-step-blocks .home-step-block {
        max-width: 100% !important;
    }
    .kbfx-homepage #steps-wrapper #home-step-blocks .home-step-block h3 {
        font-size:21px;
    }
    .kbfx-homepage .mobile-cta .cta-wrapper {
        display:block;
        margin-top:40px
    }
}
@media (max-width: 920px) {
    .kbfx-homepage .calculator-currency.full .calculator-currency-left {
        text-align: left;
    }
}
@media (max-width:767px) { 
    .kbfx-homepage .testimonial-content {
        margin-left: 0;
        text-align: center;
    }
    .kbfx-homepage .testimonials-blue-bg .testimonial-item {
        padding-left:2em;
        margin-left:0
    }
    .kbfx-homepage #steps-wrapper #home-step-blocks .home-step-block {
        display: flex;
        gap: 20px;
    }
}
@media (max-width:620px) {
    .kbfx-homepage #as-seen-on .logos-as-seen-on {
        padding:20px 0
    }
    .kbfx-homepage #as-seen-on .logos img.logo-order-3,
    .kbfx-homepage #as-seen-on .logos img.logo-order-4 {
        max-width:45%;
    }
}
@media (max-width:600px) {
    .kbfx-homepage .disclaimer-savings-table .disclaimer-left {
        order: 1
    }
    .kbfx-homepage .disclaimer-savings-table .disclaimer-right {
        order:2
    }
}
@media (max-width:400px) {
    .kbfx-homepage .rate-disclaimer-popup {
        width:280px
    }
}