/* --------------------------- */
/* NEW LOGIN FORM STYLES - WB */
/* --------------------------- */


/* VARIABLES DE COLOR */

body[data-theme="prestamos"] {
    --primary-color:    #0070D9;
    --secondary-color:  #0BB2E5;
    --secondary-light:  #DBF6FF;
    --gradient: linear-gradient(145deg, rgba(0,198,251,1) 25%, rgba(0,91,234,1) 100%);
}

body[data-theme="ventas"] {
    --primary-color:    #02aa56;
    --secondary-color:  #39d688;
    --secondary-light:  #39d68820;
    --gradient: linear-gradient(145deg, #49BA64 25%, #35c957 100%);
}

/* HELPER CLASES */
.not-padding {
    padding: 0 !important;
}

.login-container {
    display: flex;
    flex-direction: row;
    min-height: 100%;
    /* max-width: 1600px; */
    overflow: auto;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.hide-container {
    display: none !important;
}

/* HERO */
.login-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(0,198,251);
    background: var(--gradient);
    padding: 40px 50px;
}

.login-hero .wrapper {
    display: flex;
    flex-direction: column;
    max-width: 660px;
}

.login-hero .heading h1,
.heading h1 {
    color: #fff;
    font-family: "Lato";
    font-weight: 800 !important;
    max-width: 420px;
}

.heading h1.dark-text {
    color: #454662 !important;
}

.login-hero .image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-hero .image img {
    max-width: 460px;
    transform: scale(1.1) translateY(-16px);
}

.features-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 40px;
}

.features-wrapper .feature {
    display: flex;
    flex-direction: column;
    width: 30%;
    color: #fff;
    font-size: 16px;
    font-family: "Lato";
    font-weight: 600;
}

.features-wrapper .feature img {
    max-width: 55px;
    margin-bottom: 22px;
}

img.inventario-icon {
    width: 46px;
}

/* FORM */
#login-form {
    max-width: 400px;
}

.form-header {
    margin-bottom: 40px;
}

.form-header .title {
    font-size: 30px !important;
    font-family: "Lato";
    color: #454662;
    font-weight: 800;
}

.form-header .logo {
    margin-bottom: 40px !important;
}

.form-container {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

button.custom-btn,
a.custom-btn,
button.custom-btn-secondary,
a.custom-btn-secondary {
    width: 100% !important;
    border-radius: 3px !important;
    background-color: var(--primary-color);
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    border-color: #00000001 !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #fff !important;
    transition: all .2s ease;
}

button.custom-btn:hover,
a.custom-btn:hover {
    filter: saturate(0.8);
}

button.custom-btn-secondary,
a.custom-btn-secondary {
    width: auto !important;
    background-color: var(--secondary-light);
    color: var(--primary-color) !important;
    padding-left: 20px;
    padding-right: 20px;
}

button.custom-btn-secondary:hover,
a.custom-btn-secondary:hover {
    color: #fff !important;
    background: var(--primary-color);
}

/* Form inputs */
#login-form .custom-btn {
    margin-top: 40px;
}

#login-form input[type="text"] {
    margin-bottom: 40px;
}

/* Login */
#login-form input[type="text"],
#login-form input[type="password"],
/* Register */
#register-form input[type="text"],
#register-form input[type="password"],
#register-form input[type="tel"],
#register-form input[type="email"] {
text-align: left !important;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #999999;
    padding: 22px 15px;
    position: relative;
}

#register-form input[type="text"],
#register-form input[type="password"],
#register-form input[type="tel"],
#register-form select,
#register-form input[type="email"] {
    margin-bottom: 10px;
}

/* Form validations calss */
#login-form .form-group.error input[type="text"],
#login-form .form-group.error input[type="password"] {
    border-color: #FF3838 !important;
}

#login-form .form-group.error input[type="text"].form-control.valid,
#login-form .form-group.error input[type="password"].form-control.valid {
    border-color: #999999 !important;
}

/* #login-form input[type="text"]::before {
    content: "\f007";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    color: #999999;
    position: absolute;
} */

.input-icon {
    z-index: 1000;
    position: absolute;
    left: 93%;
    top: 40%;
    font-size: 18px;
    background: #fff;
    color: #999999;
}

#login-form .keep-session-help-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.help-link,
.new-account p {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0 !important;
}

.new-account p {
    color: #454662 !important;
}

.new-account {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 40px;
}

.credits {
    margin-top: 10px !important;
}

.credits a,
.credits div {
    color: var(--primary-color) !important;
}


/* REGISTER FORM STYLES */

.main-container{
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.main-container .wave{
    position: absolute;
    bottom: 0;
    width: 100%;
    object-fit: cover;
    animation: wave 5s linear 1s infinite;
}

.main-container .wave-1{
    animation: wave 6s linear 3s infinite;
}
.main-container .wave-2{
    animation: wave 5s linear 2s infinite;
}
.main-container .wave-3{
    animation: wave 10s linear 1s infinite;
}

@keyframes wave {
    0%{
        transform: scaleY(1);
    }
    50%{
        transform: scaleY(1.1);
    }
    100%{
        transform: scaleY(1);
    }
}

.top-left-circle{
    position: absolute;
    border-radius: 50%;
    /* border: 1px solid red; */

}

.top-circle-1{
    top: -250px;
    left: -125px;
    width: 500px;
    height: 500px;
    background: linear-gradient(144deg,rgba(0, 113, 216, 1) 40%, rgba(4, 205, 255, 1) 100%);
    z-index: 1;
    animation: scale 5s linear 1s infinite ;

}
.top-circle-2{
    top: -250px;
    left: -125px;
    width: 520px;
    height: 520px;
    background: linear-gradient(144deg,rgba(0, 113, 216, 0.50) 40%, rgba(4, 205, 255, 0.50) 100%);
    z-index: 1;
    animation: scale 5s linear 0.5s infinite ;


}
.top-circle-3{
    top: -250px;
    left: -125px;
    width: 540px;
    height: 540px;
    background: linear-gradient(144deg,rgba(0, 113, 216, 0.50) 40%, rgba(4, 205, 255, 0.50) 100%);
    z-index: 1;
    animation: scale 5s linear infinite ;
}

.circle-ventas-1{
    background: linear-gradient(144deg,rgba(3, 236, 100, 1) 40%, rgba(2, 170, 86, 1) 100%);
}
.circle-ventas-2{
    background: linear-gradient(144deg,rgba(3, 236, 100, 0.50) 40%, rgba(2, 170, 86, 0.50) 100%);
}
.circle-ventas-3{
    background: linear-gradient(144deg,rgba(3, 236, 100, 0.50) 40%, rgba(2, 170, 86, 0.50) 100%);
}

@keyframes scale {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
    
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* border: 1px solid red; */
    position: relative;
}

.main-header{
    width: 100%;
    /* height: 75px; */
    height: auto;
    /* border: 1px solid red; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px 0 30px;
    z-index: 3;
    gap: 20px;
}

.main-header .logo img {
    max-width: 250px;
    width: 100%;
}

.main-header .btn-login{
    width: 50px;
    height: 50px;
    border: 2px dashed var(--primary-color);
    padding: 5px;
    border-radius: 50px;
    background-color: #0071d815;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    animation: rotate 2s linear infinite;
    text-decoration: none;
}

.main-header .btn-login:hover{
    width: 175px;
}
.main-header .btn-login:hover .btn-go-to-office span{
    display: block;
}
.main-header .btn-login:hover .btn-go-to-office{
        padding: 0 10px 0 10px;
}

.main-header .btn-login .btn-go-to-office{
    width: 100%;
    height: 100%;
    border: none;
    background-color: var(--primary-color);
    border-radius: 50px;
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: center;
    gap: 10px;
}

.main-header .btn-login .btn-go-to-office img{
    width: 24px;
}
.main-header .btn-login .btn-go-to-office span{
    display: none;
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    white-space: nowrap;
}

.main-footer{
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 1px solid red; */
    padding: 10px 0;
    z-index: 10;
}

.main-footer span{
    font-size: 0.8em;
    color: #fff !important;
    font-weight: 500;
}
.main-footer span a{
    text-decoration: none;
    color: #fff;
}
.main-footer span a:hover{
    border-bottom: 1px solid #fff;
}

/* Formulario */
.form-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 10;
}

.form-cont .form {
    max-width: 400px;
    background-color: #fff;
    padding: 20px 10px 10px 10px;
    border-radius: 10px;
    border: 1px solid #bfbfbf50;
    width: 100%;
    box-shadow: 0px 2px 5px 0px rgba(191,191,191,0.5);
    -webkit-box-shadow: 0px 2px 5px 0px rgba(191,191,191,0.5);
    -moz-box-shadow: 0px 2px 5px 0px rgba(191,191,191,0.5);
    z-index: 10;
}

.hero-new-account {
    margin: 20px;
    border-radius: 16px;
    background-color: var(--secondary-light);
    width: 50%;
}

#register-form #stepsTabContent label b {
    font-weight: 600 !important;
    color: #454662;
}

#business_type {
    display: flex;
    justify-content: space-between;
}

#business_type .rad-with-details {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    border: 1px solid #E0E0E0;
    /* cursor: pointer; */
    padding: 8px 15px;
    font-size: 14px;
}

#business_type .rad-with-details label {
    margin-bottom: 0px !important;
    margin-right: 10px !important;
    cursor: pointer;
}

#business_type input:checked ~ .rad-with-details {
    background-color: var(--secondary-color) !important;
}

#business_type .rad-with-details .more-info i {
    font-size: 15px !important;
    margin-right: 17px;
    color: var(--primary-color) !important;
}

#business_type .inline-el {
    margin: 0;
    width: 48%;
}

#stepsTabs {
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    margin-bottom: 30px;
    padding: 5px !important;
    border-radius: 80px;
}

#step1-tab,
#step2-tab {
    padding: 7px 15px;
    display: inline-block;
    border-radius: 60px;
    border: none;
    margin: 0;
    color: var(--primary-color);
    font-weight: 500;
    width: 100%;
}

li.nav-item {
    width: 49.5%;
}

li.nav-item > a.nav-link.active {
    color: #fff !important;
    background: var(--primary-color);
}

.nav-tabs .nav-item .nav-link:before {
    display: none;
}

.form-title {
    font-weight: 700;
    color: #454662;
    /* margin: 40px 0 20px 0; */
    font-size: 1.3em;
    text-align: center;
    z-index: 6;
}

.form-check .form-check-label {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.login-check {
    margin: 0 !important;
}

/* VIDEO */
.video-btn {
    color: #454662;
    border: none;
    transition: all .2s ease;
    display: inline-block;
}

.video-btn:hover {
    transform: scale(1.05);
}

.hero-new-account {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
}

.hero-new-account::before,
.hero-new-account::after {
    content: url("../images/login/money-sign.png");
    position: absolute;
    z-index: 100;
    animation: rotation 20s linear infinite backwards;
}

.hero-new-account::before {
    top: 7%;
    left: -3.5%;
}

.hero-new-account::after {
    bottom: 13%;
    right: 9.5%;
}

@keyframes rotation {
    0%      { transform: rotate(0deg); }
    100%    { transform: rotate(360deg); }
}

.info-holder {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 460px;
    height: 100%;
}

.video-description {
    text-align: left;
}

button.custom-btn:disabled {
    background-color: #E5E5E5;
}
button.custom-btn:disabled span{
    color: #000;
}

/* .registro-logo img {
    max-width: 200px;
} */

/* MEDIAQUIERIES - RESPONSIVE */

/* ---------------- */
/* ---- TABLET ---- */
/* ---------------- */

@media (max-width: 991px){
    .login-hero,
    .hero-new-account {
        display: none;
    }

    .form-container {
        min-width: 100% !important;
        padding: 0 25px;
    }

    /* Register */
    .form-cont {
        width: 100%;
    }

    .form-cont .form {
        max-width: 580px;
    }

    #mList {
        display: none !important;
    }

    .main-wrapper {
        justify-content: center;
    }

    .form-cont .form {
        width: 90% !important;
    }
}

@media (max-width: 768px){

}

/* ---------------- */
/* ---- MOBILE ---- */
/* ---------------- */

@media (max-width: 556px){
    .form-title {
        color: #fff;
    }
}
@media (max-width: 450px){

}

@media (max-width: 375px){

}

@media (max-width: 320px){

}

.info-form{
    position: relative;
    margin: 0 0 20px 0 !important;
}

.info-form.country{
    margin: 10px 0 5px 0 !important;
}
.info-form.first-child{
    margin: 0 0 20px 0 !important;
}

.info-form label{
    position: absolute;
    top: -10px;
    left: 10px;
    padding: 0 5px;
    background-color: #fff;
    /* border: 1px solid red; */
    z-index: 40;
    font-size: 0.7em;
    border-radius: 5px !important;
    font-weight: 600;
}

.info-form .inp{
    position: relative;
}

.info-form .inp .icon{
    position: absolute;
    top: 7px;
    right: 10px;
    width: 30px;
    z-index: 10;
    background-color: #fff;
}
.info-form .inp .icon-country{
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    border-radius: 3px;
    z-index: 10;
}

.info-form .inp input{
    border: 1px solid #bfbfbf50 !important;
    border-radius: 5px !important;
    margin: 0 !important;
    outline: none  !important;
}

.info-form .inp select{
    border: 1px solid #bfbfbf50 !important;
    border-radius: 5px !important;
    margin: 0 !important;
    outline: none  !important;
    padding: 0 0 0 50px !important;
}

.key-inp{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.key-inp .no-margin{
    margin: 0 !important;
}

.tutorial-mobile{
    display: none;
    width: 100%;
    /* border: 1px solid red; */
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    z-index: 20;
}

.tutorial-mobile a{
    width: 275px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
    background-color: var(--primary-color);
    padding: 5px 20px;
    transition: all 0.3s ease-in-out;
    border: 2px dashed #fff;
}
.tutorial-mobile a:hover{
    filter: saturate(0.8);
}

.tutorial-mobile a i{
    font-size: 1.5em;
}
.tutorial-mobile a span{
    font-size: 1.1em;
    font-weight: 500;
    white-space: nowrap;
}

.tutorial-container{
    position: absolute;
    bottom: 0;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 12;
}

.tutorial-container .tutorial-title {
    width: 100%;
    /* background-color: var(--gradient); */
    position: relative;
    z-index: 6;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 1px solid red; */
    height: auto;
}
.tutorial-container .tutorial-title span{
    text-align: center;
    width: 100%;
    color: #fff;
    font-weight: 500;
    font-size: 1.1em;
    line-height: 1;
}

.tutorial-container .video{
    max-width: 350px;
    max-height: 350px;
    /* border: 1px solid red; */
    margin: 10px 0 0 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    --s: 50px;
    --t: 5px;
    --g: 10px; 
    
    padding: calc(var(--g) + var(--t));
    outline: var(--t) solid #fff;
    outline-offset: calc(-1*var(--t));
    mask:
      conic-gradient(at var(--s) var(--s),#0000 75%,#000 0)
       0 0/calc(100% - var(--s)) calc(100% - var(--s)),
      conic-gradient(#000 0 0) content-box;
    transition: .4s;
}

.tutorial-container .video:hover {
    outline-offset: calc(-1*var(--g));
  }

/* .tutorial-container .video::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff77;
    z-index: 1;
} */

.tutorial-container .video .onHover{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #ffffff75; */
    opacity: 0;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
    z-index: 2;
}
.tutorial-container .video:hover .onHover{
    opacity: 1;
}

.tutorial-container .video .onHover i{
    font-size: 4em;
    color: var(--primary-color);
}

.tutorial-container .video img{
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}

.labelError{
    background-color: #ffedec;
    position: absolute;
    max-width: 175px;
    top: 65px;
    padding: 5px !important;
    color: #f00000 !important;
    font-weight: 500;
    z-index: 50;
    border: 1px dashed #f0000075;
}

.labelError-left{
    right: 0;
    border-radius: 3px 0 3px 3px;
}

.labelError-left::after{
    content: '';
    position: absolute;
    top: -17px;
    right: 18px;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-left: 15px solid #ffedec;
	border-bottom: 10px solid transparent;
    /* border-radius: 3px; */
    transform: rotate(-90deg);
}

.labelError-custom{
    left: 0 !important;
    max-width: 245px !important;
    background-color: #ffedec;
    color: #f00000 !important;
    border-radius: 0 3px 3px 3px;
}

.labelError-custom::after{
    content: '';
    position: absolute;
    top: -17px;
    left: 18px;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-right: 15px solid #ffedec;
	border-bottom: 10px solid transparent;
    /* border-radius: 3px; */
    transform: rotate(90deg);
}

.float-icon{
    position: absolute;
    z-index: 2;
}

.float-1{
    bottom: -10px;
    left: 0;
    animation: float-1 25s linear 1s infinite;

}
.float-2{
    bottom: 0;
    left: 0;
    animation: float-2 30s linear 3s infinite;
}
.float-3{
    bottom: 0;
    left: -90px;
    animation: float-3 30s linear 6s infinite;
}
.float-4{
    bottom: -10px;
    left: -50px;
    animation: float-4 35s linear 9s infinite;
}
.float-5{
    bottom: -50px;
    left: -130px;
    animation: float-5 40s linear 2s infinite;
}
.float-6{
    bottom: -5px;
    left: -10px;
    animation: float-6 45s linear 4s infinite;
}
.float-7{
    bottom: 200px;
    left: -40px;
    animation: float-7 30s linear 7s infinite;
}
.float-8{
    bottom: 250px;
    left: -80px;
    animation: float-8 45s linear 3s infinite;
}
.float-9{
    bottom: -150px;
    left: -80px;
    animation: float-9 40s linear 8s infinite;
}
.float-10{
    bottom: -50px;
    left: -80px;
    animation: float-9 35s linear 5s infinite;
}

@keyframes float-1 {

	0% {
		transform: translate(0, 0);
	}

	100% {
		transform: translate(1000px, -1000px);
	}

}

@keyframes float-2 {

	0% {
		transform: translate(100px, 100px);
	}

	100% {
		transform: translate(2000px, -1700px);
	}

}
@keyframes float-3 {

	0% {
		transform: translate(200px, 200px);
	}

	100% {
		transform: translate(2000px, -1300px);
	}

}
@keyframes float-4 {

	0% {
		transform: translate(0, 0);
	}

	100% {
		transform: translate(2000px, -1000px);
	}

}
@keyframes float-5 {

	0% {
		transform: translate(-50px, -50px);
	}

	100% {
		transform: translate(1000px, -1200px);
	}

}
@keyframes float-6 {

	0% {
		transform: translate(0, 0);
	}

	100% {
		transform: translate(2000px, -1600px);
	}

}
@keyframes float-7 {

	0% {
		transform: translate(0, 0);
	}

	100% {
		transform: translate(2000px, -1400px);
	}

}
@keyframes float-8 {

	0% {
		transform: translate(0, 0);
	}

	100% {
		transform: translate(2000px, -1100px);
	}

}
@keyframes float-9 {

	0% {
		transform: translate(0, 0);
	}

	100% {
		transform: translate(2000px, -1200px);
	}

}
@keyframes float-10 {

	0% {
		transform: translate(0, 0);
	}

	100% {
		transform: translate(2500px, -1500px);
	}

}

@media screen and (max-width: 1147px) {
    .tutorial-container{
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .tutorial-mobile{
        display: flex;
    }
}

@media screen and (max-width: 430px)  {
    .main-header .logo{
        max-width: 175px;
    }
    .info-form .inp .icon {
        position: absolute;
        top: 12px;
        right: 10px;
        width: 24px;
        background-color: #fff;
    }

    .main-header .btn-login {
        border: 2px dashed #fff;
        background-color: #ffffff15;
    }

    .main-footer{
        padding: 0;
    }

    .main-container .wave-1{
        height: 175px;
    }
    .main-container .wave-2{
        height: 185px;
    }
    .main-container .wave-3{
        height: 195px;
    }
}