/*
Global Styles
*/
body {
    font-family: 'Poppins', sans-serif;
    background-image: url(https://img.emlasts.com/funnel/v1/img/mejoresprestamospersonales/hero-bg.png);
    background-size: auto 750px;
    background-repeat: no-repeat;
    background-position: top center;
}

body[data-processing="true"] {
    background-image: none !important
}

body main, body #content {
    display: none;
}

body .loader {
    display: block;
}

body.ready main, body.ready #content {
    display: block;
}

body.ready .loader {
    display: none !important;
}

.text-highlight {
    color: #4361EE;
}

.bg-lavender {
    background-color: #4361EE;
}

.hero2 {
    max-height: 600px;
    margin-top: -20px;
    margin-left: 17px;
}

.form-select-lg,
.form-control-lg {
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

.spinner-grow {
    width: 4rem;
    height: 4rem;
}

.slide-in-left {
    -webkit-animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-200px);
        transform: translateX(-200px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-200px);
        transform: translateX(-200px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

.form-check .form-check-input {
    float: none;
    margin-left: 0;
}

.form-switch {
    padding-left: 0;
    font-size: 14px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CCC;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #81ADB8;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.btn-outline-warning {
    color: #fff;
    border-radius: 50px;
    padding: 15px 30px;
    border: 3px solid #fff;
    letter-spacing: -1px;
    font-weight: 600;
    font-size: 18px;
}

.btn-outline-warning:hover, .btn-outline-warning:active {
    color: #333;
    background-color: #fff;
    border-color: #fff;
}

.btn-outline-warning:focus {
    box-shadow: 0 0 0 0.25rem rgb(255 255 255 / 50%);
}

.btn-danger {
    color: #fff;
    background-color: #4361EE;
    border-color: #4361EE;
    border-radius: 50px;
    padding: 15px;
}

.btn-danger:hover,
.btn-danger:active,
.btn-danger:focus,
.btn-danger:active:focus {
    color: #fff;
    background-color: #4361EE !important;
    border-color: #4361EE !important;
    box-shadow: none;
}

.btn-primary {
    padding: 15px;
    font-weight: 600;
}

.btn-light {
    padding: 15px;
    border-radius: 6px;
    width: 50px;
    font-size: 14px;
    font-weight: 500;
}

#prevBtn:active {
    border-color: transparent;
}

.has-danger .form-control {
    border-color: #dc1d34;
}

.text-help {
    color: #dc1d34;
    font-size: 14px;
    padding-top: 5px;
}

.has-success .form-control {
    border-color: #3c763d;
}

.form-group label {
    color: #666;
}

.card-body label {
    font-size: 15px;
    padding: 15px;
}

/*
Nav/Logo
*/
.logo,
.modal-logo {
    margin: auto;
    max-width: 200px;
    padding: 15px 0;
}

/*
Hero
*/
.hero-bg {
    min-height: 650px;
}

/*
Progress Bar
*/
.progress {
    max-width: 340px;
    margin: 20px auto;
    padding-left: 0;
    padding-right: 0;
    height: 7px;
}

.progress-bar {
    background: #4361EE;
}

/*
Cards/Validation/Actions
*/
.card.current {
    display: block;
}

.card.not-current {
    display: none;
}

.card {
    border: none;
}

.card-title h3 {
    font-size: 16px;
}

.card-body {
    padding: 10px 0 0;
}

.sub-headline {
    font-size: 14px;
}

#legal-text {
    font-size: 12px;
}

.form-control:focus {
    border-color: #dbe0e4;
    box-shadow: none;
}

#actions {
    max-width: 500px;
    margin: auto;
}

#nextBtn {
    margin-bottom: 15px;
}

.submit {
    color: #fff;
    background-color: #4361EE;
    border-color: #4361EE;
    border-radius: 50px;
    padding: 15px;
}

.submit:hover,
.submit:active,
.submit:focus,
.submit:active:focus {
    color: #fff !important;
    background-color: #4361EE !important;
    border-color: #4361EE !important;
    box-shadow: none;
}

.form-wrapper {
    margin: 0 auto;
    max-width: 95%;
    background: white;
    padding: 20px 20px 30px;
    border-radius: 50px;
}

.loan-amount label {
    color: #415D76;
    background: #D4D4D433;
    border: none;
    font-size: 16px;
    padding: 13px;
}

.opt-in,
.phone-disc,
#tcpa-disc {
    font-size: 10px;
    margin-top: 10px;
}

.sub-text {
    font-size: 16px;
}

.l4-user {
    position: relative;
    width: 55px;
}

.l4-user::before,
.l4-user::after {
    content: "";
    height: 1px;
    width: 100px;
    background-color: #cccccc;
    display: block;
    position: absolute;
    top: 50%;
}

.l4-user::before {
    left: -110px; /* Adjust as needed */
}

.l4-user::after {
    right: -110px; /* Adjust as needed */
}

.percent {
    background: #4261ee;
}

/*
Content
*/
.info-wrapper {
    max-width: 450px;
    padding: 40px;
}

.icon-wrapper {
    background-color: #4C6EF5;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 15px;
    margin-bottom: 45px;
}

.faq-wrapper {
    background: rgba(212, 212, 212, 0.3);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #2B2B2B;
    box-shadow: none;
}

hr {
    color: #b4b2b2;
}

.banner-wrapper {
    background-image: url(https://img.emlasts.com/funnel/v1/img/mejoresprestamospersonales/banner-desktop.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 450px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 350px;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    padding: 0 30px;
}

.banner-text {
    color: #ffffff;
    max-width: 500px;
}

.banner-text h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.6;
}

.banner-text p {
    font-size: 16px;
    margin-bottom: 0;
}

.banner-button {
    background-color: white;
    color: #4b4bec;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    width: 75%;
    margin: auto;
}

/*
Lookup
*/
#welcome-back h3 {
    font-size: 18px;
    font-weight: 600;
}

/*
Modals
*/
.modal-lg {
    max-width: 860px;
}

.modal-header {
    justify-content: center;
    padding: 2rem 1rem;
    font-weight: 500;
}

.modal-title small {
    font-weight: 400;
    color: #777;
}

#dont-sell {
    padding-top: 10px;
}

.terms-info a {
    color: #0d6efd !important;
    text-decoration: underline !important;
    cursor: pointer;
}

.modal-bg {
    background-image: url("https://img.emlasts.com/funnel/v1/img/modals-bg.jpg");
    min-height: 250px;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
}

.modal-body ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

#priincsrcAlert h3,
#bacctypeAlert h3,
#isddAlert h3 {
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
}

#priincsrcContinue:active,
#bacctypeContinue:active,
#isddContinue:active {
    border-color: transparent;
}

#priincsrcAlert ul {
    line-height: 2;
}

.col-padding {
    padding: 65px 45px 45px;
    color: #444;
}

/*
Footer
*/
footer {
    background: #D4D4D44D;
    padding: 50px 0;
}

footer p {
    font-size: 10px;
}

footer a {
    font-size: 10px;
}

/*
Lender Submit
*/
#lender-found.in {
    /*opacity: 1;*/
    -webkit-animation: heartBeat ease-in-out 1.5s;
    animation: heartBeat ease-in-out 1.5s;
}

.modal-logo img {
    padding: 30px 0 10px 0;
}

.badge-holder {
    max-width: 360px;
    margin: 40px auto;
    text-align: center;
    font-size: 12px;
}

.badge-holder svg {
    width: 45px;
    margin: 0 auto 20px auto;
    opacity: .3;
}

/*
Auto Complete
*/
.autoComplete_wrapper > input,
.autoComplete_wrapper {
    width: 100%;
    height: unset;
}

.autoComplete_wrapper > input::placeholder {
    color: #666;
    font-size: 15px;
}

.autoComplete_wrapper > ul > li mark {
    padding: 0;
}

/*
Processing Animation
*/
.processing-animation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 185px;
    margin: 15px auto 30px auto;
}

.processing-animation i {
    font-size: 55px;
    margin: 16px;
    color: #999999;
}

.wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

.wrapper {
    position: relative;
    height: 185px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


.wrapper span {
    position: relative;
    left: 112px;
    top: 60px;
    -webkit-animation-name: cloud-loop;
    animation-name: cloud-loop;
    -webkit-animation-duration: 0.7s;
    animation-duration: 0.7s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}

.wrapper:before {
    content: "";
    position: absolute;
    top: 210px;
    left: 26px;
    width: 100px;
    height: 32px;
    border-radius: 100%;
    background-color: rgba(222, 225, 228, 0.4);
    -webkit-animation-name: shadow-loop;
    animation-name: shadow-loop;
    -webkit-animation-duration: 0.7s;
    animation-duration: 0.7s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}

.center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 140px;
    height: 140px;
    border-radius: 100%;
    background-color: #e8edef;
    border: 9px solid #DEE1E4;
    overflow: hidden;
    -webkit-animation-name: cloud-loop;
    animation-name: cloud-loop;
    -webkit-animation-duration: 0.7s;
    animation-duration: 0.7s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}

.handle:before {
    content: "";
    position: absolute;
    width: 50px;
    height: 6px;
    background-color: #DEE1E4;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.handle:after {
    content: "";
    position: absolute;
    left: 30px;
    top: 20px;
    width: 36px;
    height: 12px;
    background-color: #DEE1E4;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-radius: 0 4px 4px 0;
}

.box-1 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.box-2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

@-webkit-keyframes rowup-1 {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(50%, 0, 0);
        transform: translate3d(50%, 0, 0);
    }
}

@keyframes rowup-1 {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(50%, 0, 0);
        transform: translate3d(50%, 0, 0);
    }
}

@-webkit-keyframes rowup-2 {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(50%, 0, 0);
        transform: translate3d(50%, 0, 0);
    }
}

@keyframes rowup-2 {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(50%, 0, 0);
        transform: translate3d(50%, 0, 0);
    }
}

@-webkit-keyframes cloud-loop {
    0% {
        -webkit-transform: translate(0, 15px);
        transform: translate(0, 15px);
    }
    100% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
}

@keyframes cloud-loop {
    0% {
        -webkit-transform: translate(0, 15px);
        transform: translate(0, 15px);
    }
    100% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
}

@-webkit-keyframes shadow-loop {
    0% {
        -webkit-transform: translate(0, -35px) scale(1.15, 0.25);
        transform: translate(0, -35px) scale(1.15, 0.25);
    }
    100% {
        -webkit-transform: translate(0, -35px) scale(1, 0.25);
        transform: translate(0, -35px) scale(1, 0.25);
    }
}

@keyframes shadow-loop {
    0% {
        -webkit-transform: translate(0, -35px) scale(1.15, 0.25);
        transform: translate(0, -35px) scale(1.15, 0.25);
    }
    100% {
        -webkit-transform: translate(0, -35px) scale(1, 0.25);
        transform: translate(0, -35px) scale(1, 0.25);
    }
}

.bi-coin {
    padding: 10px;
    color: #485e4e
}

.box-1 {
    -webkit-animation: 1s rowup-1 linear infinite normal;
    animation: 1s rowup-1 linear infinite normal;
}

.box-2 {
    -webkit-animation: 1s rowup-2 linear infinite normal;
    animation: 1s rowup-2 linear infinite normal;
}

.focus-in {
    -webkit-animation: focus-in 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
    animation: focus-in 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@-webkit-keyframes focus-in {
    0% {
        -webkit-filter: blur(12px);
        filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur stdDeviation="12" /></filter></svg>#filter');
        filter: blur(12px);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    }
    100% {
        -webkit-filter: blur(0px);
        filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur stdDeviation="0" /></filter></svg>#filter');
        filter: blur(0px);
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    }
}

@keyframes focus-in {
    0% {
        -webkit-filter: blur(12px);
        filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur stdDeviation="12" /></filter></svg>#filter');
        filter: blur(12px);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    }
    100% {
        -webkit-filter: blur(0px);
        filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur stdDeviation="0" /></filter></svg>#filter');
        filter: blur(0px);
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    }
}

.processing-txt h6,
.processing-txt h3 {
    letter-spacing: -0.5px !important;
    color: #2c334e;
}

.processing-txt h6 {
    font-weight: 300 !important;
}

.processing-txt h3 {
    font-weight: 400 !important;
}

.animation-pause * {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

/*
Last 4 SSN Step
*/
.small-legal {
    font-size: 11px;
    color: #999;
    text-align: justify;
    margin-bottom: 0;
}

.small-legal strong {
    font-size: 14px;
}

.last4-group {
    width: 250px;
    margin: 0 auto;
}

.last4 {
    padding: 12px 15px;
    border: 1px solid #ccc;
}

.alert-light-ssn {
    border: 1px solid #ccc;
    margin: 5px 0 15px 0;
}

/*
Legal Terms Lookup
*/
#legalTerms {
    max-width: 400px;
    margin: 15px auto;
    font-size: 10px
}

/*
Lookup Validated Welcome Back Text
*/
#welcome-back p {
    font-size: 14px;
    margin: auto;
}

.session-legal p {
    font-size: 12px;
    line-height: 1.3;
}

.returned-submit {
    position: relative;
}

.return-user-img {
    width: 285px;
    margin: 0 auto;
}

.arrow-3 {
    width: 50px;
    height: 25px;
    display: flex;
    position: absolute;
    top: 13px;
    right: 20px;
}

.arrow-3:before {
    content: "";
    flex: 1;
    margin: 0 5px;
    background: white;
    clip-path: polygon(0 10px, calc(100% - 15px) 10px, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, calc(100% - 15px) calc(100% - 10px), 0 calc(100% - 10px));
    animation: a3 .5s infinite alternate;
}

@-webkit-keyframes a3 {
    0% {
        -webkit-transform: scaleX(var(--s, 1)) translate(-4px);
        transform: scaleX(var(--s, 1)) translate(-4px)
    }
    100% {
        -webkit-transform: scaleX(var(--s, 1)) translate(4px);
        transform: scaleX(var(--s, 1)) translate(4px)
    }
}

@keyframes a3 {
    0% {
        -webkit-transform: scaleX(var(--s, 1)) translate(-4px);
        transform: scaleX(var(--s, 1)) translate(-4px)
    }
    100% {
        -webkit-transform: scaleX(var(--s, 1)) translate(4px);
        transform: scaleX(var(--s, 1)) translate(4px)
    }
}

/*
Media Queries
*/
@media (max-width: 425px) {
    .alert-light {
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .hero-bg h2 {
        margin-bottom: 30px;
    }
}

@media (max-width: 992px) {
    .hero2 {
        max-height: 500px !important;
        margin-top: 0px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .lav-ban {
        padding: 40px 20px 0px 20px;
    }
}

@media (min-width: 768px) {
    .partner-list {
        -webkit-column-count: 3 !important;
        -moz-column-count: 3 !important;
        column-count: 3 !important;
    }

    .form-wrapper {
        max-width: 420px;
    }
}

@media (min-width: 992px) {
    .alert-light {
        min-height: 0;
        padding: 35px 20px;
    }
}

/*
Processing Progress Bar
*/
.progress-container {
    width: 100%;
    background-color: #eee;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar-lenders {
    height: 7px;
    text-align: center;
    line-height: 30px;
    color: white;
    border-radius: 8px;
    width: 50%; /* Adjust this to change the progress */
    animation: fillProgress 5s infinite, moveBackground 2s linear infinite;
    margin-bottom: 25px;
    background-color: #4361EE;
}

@keyframes fillProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Scoped Popover Styles */
.popover.help-popover .popover-body {
    padding: 0 !important;
}

.popover.help-popover .popover-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.popover.help-popover {
    border: none !important;
    background: transparent !important;
}

.popover.help-popover .popover-arrow,
.popover.help-popover .popover-header {
    opacity: 0 !important;
}

.popover.help-popover .popover-body {
    width: 330px;
    padding: 0 !important;
}

.popover.help-popover img {
    width: 100%;
    max-width: 300px;
}
