#slider-amount {
    transform: translateX(-50%);
    position: absolute;
    top: -0.75rem;
    width: auto;
    height: auto;
    background: #FFF;
    padding: 8px 8px 6px;
    line-height: 1;
    border-radius: 12px;
    z-index: 500;
    pointer-events: none;
    color: #1A475A;
    border: 2px groove #1A475A;

    top: -0.5rem;
    font-weight:800;
    font-size:1.1rem;
    border: 2px solid #055970;
    color:#055970
}

/*.bg-section {
    background-image: url(https://www.myfinancialgoals.org/afs-slider/bg.jpg);
    background-size: cover;
    position: relative;
    height: calc(100vh - 160px);
    min-height: 540px;
    z-index: 3;
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-content: center;
    transform:translateY(-30px);
    margin-bottom: -30px;
}
*/

.bg-section {
    background-image: url(https://www.myfinancialgoals.org/afs-slider/bg.jpg);
    background-size: cover;
    position: relative;
    height: calc(100vh - 160px);
    min-height: 540px;
    z-index: 3;
    z-index: 0;
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-content: center;
    transform:translateY(-30px);
    margin-bottom: -30px;

    background-position:top left;
    background-repeat:no-repeat;
    margin-bottom: 0;
    min-height: 530px;
}


.bg-section:after {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    /*
    background: rgb(255,255,255);
    background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6727065826330532) 29%, rgba(255,255,255,0) 100%);
    */
    z-index: 20;


    background: rgba(33,191,236,.065)
}
.slider-heading {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 2.5rem;
}
.slider-btn-row {
    display: flex;
    justify-content: center;
}
.slider-btn {
    border: none;
    outline: none;
    background-color: #28a745;
    color: #FFF;
    font-weight: bold;
    padding: 9px 30px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;

    padding: 16px 44px;
    border-radius: 6px;
    background-color:#4e9f1e;
    font-size:18px;
    margin-top: 1.5rem;
}
.slider-cta {
    margin-top: 1.5rem;
    text-align: center;
    font-weight:800;
    line-height:1.4;
}
.slider-cta a {
    color:#28a745;
    color:#055970;
}

.slider-cta.icons {
    margin-top: 2.1rem;
    text-align: center;
    color:#222;
    font-size:.9rem;
    font-weight:500;
    line-height:1.25
}

.slider-cta.icons i{
    display:block;margin-bottom:10px
}

.slider-cta.talk{margin-top:1.15rem}

.slider-inner {
    position: relative;
    z-index: 25;
    padding-right: 2rem;
}
#slider {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background-color: #EDEDED;
    width: 100%;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    border-radius: 6px;

    border:1px solid #999;
    height: 20px;
    background-color: #F1F1F1;
}

#slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 8px;
    width: 20px;
    border-radius: 2px;
    cursor: pointer;
    background: transparent;
}

#slider::-webkit-slider-thumb::before {
    content: var(--thumbNumber);
}

.slider-min-max {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}
.slider-contact-area {
    position: relative;
    z-index: 1;
}


h2.slider-heading {
    text-transform:none;
    font-weight:600;
    font-size:2.4rem
}

p.slider-subheading{
    font-size:1.4rem;
    font-weight:500;
    color:#111
}

img.slidericon{display:block;margin:0 auto 10px auto;}

q.trustpilot-widget iframe {border-radius:4px;border:1px #aed3cc solid;background:#deeaed}
.trustpilotbox {margin-top:-50px!important;background:#deeaed;z-index:1;border-radius:4px;padding:22px 28px;
box-shadow: 0px -1px #c8d5d9;}

.bulletrow .owl-carousel   {height:40px}


.iconowl .owl-item,.iconowl .owl-item i, .iconowl .bulletrow {font-size:1.4em!important;font-weight:500;color:#fdfdfd!important;}
.iconowl .owl-item  {line-height:1.1!important}

.iconowl .owl-item i {
    font-size:.95em!important
}

.bulletrow {
    padding:12px 10px
}

.trustrow img {
    max-height:60px!important;
    qmax-width:100%!important
}







@media(min-width: 730px) {
    .slider-inner {
        width: 68%;
        min-width: 375px;
        margin: 0 0 0 auto;
    }
}


@media(min-width: 840px) {
    .slider-inner {
        width:42%;
        min-width: 375px;
        margin: 0 0 0 auto;
    }
}

@media(max-width: 1588px) {
    h2.slider-heading {font-size:1.9rem;line-height:1.35}
    p.slider-subheading{font-size:1.4rem;line-height:1.35;margin-bottom:10px}

}


@media(max-width: 1399px) {

    .trustrow img {
    max-height:auto!important;
    max-width:100%!important;
    }

@media(max-width: 991px) {
        h2.slider-heading {font-size:1.7rem;line-height:1.35}

        .trustpilotbox {margin-top:-30px!important;}

    .bg-section {
        /*background-position: 25% center;*/
        background-position: top right;
        background-size:auto;
        transform:none;
        height: calc(100vh - 80px);
    }

}

}

@media(max-width: 840px) {
    .slider-heading { color: #222 }
    #slider {background-color:#EDEDED}

    .bg-section {
        /*background-position: 25% center;*/
        background-position: top right;
        background-size:auto;
        transform:none;
        height: calc(100vh - 20px);
    }
    .bg-section:after {
        background: rgba(0, 0, 0, 0.3);

        background: rgba(33,191,236,.09);
    }



    .slider-heading, .slider-cta a {
        text-shadow: 0 2px 3px rgba(0,0,0,0.5);

        text-shadow:none;
    }

    .slider-cta a
    {
        /* color: #FFF; */
        color:#055970;
        font-weight:700;
        text-shadow:none;
        font-size:1rem
    }

    .slider-inner {
        padding-left: 2.4rem;
        padding-right: 2.4rem;
    }
}


@media(max-width: 767px) {
    .iconowl .owl-item,.iconowl .owl-item i, .iconowl .bulletrow {font-size:1.2em!important}
    .bulletrow .owl-carousel   {height:30px}

    .bg-section{height: calc(100vh - 60px)}
    .trustpilotbox {margin-top:-60px!important;}



}

@media(max-width: 627px) {
    h2.slider-heading {
        font-size:1.35rem;
        line-height:1.25
        }

        .bg-section {  min-height:590px;height: calc(100vh + 20px); }

        p.slider-subheading {
            font-size: 1.25rem;
            line-height: 1.35;
            margin-bottom: 10px;
        }

    }

@media(max-width: 600px) {
.trustpilotbox {padding:14px;margin-top:-50px!important;}

.iconowl .owl-item,.iconowl .owl-item i, .iconowl .bulletrow {font-size:1.2em!important;margin-bottom:10px!important}
}



@media(max-width: 491px) {
    p.slider-subheading{font-size:1.2rem;}
}

@media(max-width: 413px) {
    h2.slider-heading {
        font-size:1.6rem;
        line-height:1.35
        }



    }

@media(min-width: 1000px) {
    .trustpilotbox {margin-top:-80px!important}
    }

@media(min-width: 1200px) {
    .trustpilotbox {margin-top:-60px!important}
    }

@media(min-width: 1300px) {
    .trustpilotbox {margin-top:-65px!important}
    }

@media(min-width: 1364px) {
    .bg-section {min-height:auto;height: calc(100vh - 200px)}
}

@media(min-width: 1400px) {
    .trustpilotbox {margin-top:-50px!important}
    }


@media(min-width: 1589px) {
    h2.slider-heading {font-size:2.2rem;line-height:1.35}
    p.slider-subheading{font-size:1.6rem;}

    .bg-section {min-height:auto;height: calc(100vh - 315px)}
    .bg-section {min-height:auto;height: calc(100vh - 215px)}

    .trustpilotbox {margin-top:-80px!important}
}