:root {
    /* Colors: */
    --blanco: #FFFFFF;
    --gris-1: #EBEBEB;
    --gris-2: #D9D8D6;
    --gris-3: #8C8C8C;
    --gris-4: #666666;
    --gris-7: #D9D9D9;
    --gris-8: #535252;
    --rojo: #DD1B37;
    --verde: #11B260;
    --azul-digital: #00C1D4;
    --azul-financiero: #2C8B9E;
    --azul-experto: #003865;
    --amarillo-optimista: #FFB81C;
    --amarillo-empatico: #FDD26E;
}

@font-face {
    font-family: 'Lato';
    src: url(libraries/bootstrap-5.0.2/fonts/Lato/Lato-Regular.ttf), url(libraries/bootstrap-5.0.2/fonts/Lato/Lato-Bold.ttf);
}


body{
    font-family: 'Lato'!important;
}
.login-img-logo {
    width: 80%;
    /* margin-top: 10rem; */
}
/**
-- Manejo tamaņo pantalla Topwise
*/
@media (max-height: 512px) {
    .ajusteMovile{
        margin-top: -3rem;
    }
}
@media(max-width: 768px) {

    .login-footer{
        text-align: left;
    }

    .login-page{
        flex-direction: column;
        align-items: flex-start;
        /* overflow-y: scroll !important; */
    }
    .login-img-logo {
        width: 70%;
        margin-top: 10rem;
    }

    .btn-show-help-modal {
        margin: 0 !important;
    }
}

.login-input {
    padding: 0.3rem 0.5rem;
    border-radius: 7px;
    border: 1px solid var(--gris-2);
    box-shadow: 0px 3px 6px #00000029;
}

.login-input input, .login-input span {
    border: 0px solid var(--gris-2);
    background: none;
    font-size: 1rem;
}

.btn-grupo-ojo {
    border: 0px solid var(--gris-2);
    background: none;
    outline: none;
    padding-top: 10px;
}

::-ms-reveal {
    display: none;
}

#btnPasswordGrupoOjo:focus {
    outline: none;
    box-shadow: none;
}

.login-input input {
    background: none;
}

.login-input-error {
    border: 1px solid var(--rojo);
}

.login-input-change {

    border: 1px solid var(--azul-experto);
}

.login-input-change-back-ocapo,.login-input-change-back-ocapo:focus, .login-input-change-back-ocapo:active  {
    background-color: rgba(241, 231, 231, 0.5) !important;
}

.login-input-error-msj {
    color: var(--rojo);
    float: right;
    font-size: 0.8rem;
    margin-top: 3px;
}

.login-box-body {
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 25px 0 25px 0;
    padding: 3rem;
    padding-bottom: 0;
    width: 100%;
}

.login-page {
    background: url(./icons/fondo-login.png) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow-y: hidden;
    height: 100vh;
    display: grid;
    place-content:center;
    align-items: center;
    font-family: 'Lato';

}

@media(max-width: 768px) {
    .login-box-body {
        box-shadow: none;
        border-radius: 0;
        padding: 3rem .8rem 0 .8rem;
    }

    .login-page {
        background: none;
        display: flex;
        place-content: none;
    }

    .content-token-modal-buttons {
        flex-direction: column;
        gap: 24px;
    }
}

.login-box-body .form-group label {
    color: var(--azul-experto);
    font-size: 1.2rem;
    padding-bottom: .5rem;
    font-weight: 600;
}

.login-box-body .form-group {
    padding-top: 1rem;
}

.text-decoration {
    color: var(--gris-3);
}

.link {
    color: var(--azul-experto);
    font-weight: bold;
    border-bottom: 1px solid;
}

.link:hover {
    color: var(--gris-3);
}

.btn-login {
    border: none;
    background-color: var(--amarillo-optimista);
    color: var(--azul-experto);
    font-size: 20px;
    border-radius: 25px;
    padding: 0.5rem 3rem;
    margin-left: auto;
    margin-right: auto;
    transition: .2s;
}
.btn-login:active, .btn-login:focus{
    box-shadow: none !important;
}

.btn-blue-fill {
    border: none;
    background-color: var(--azul-experto);
    color: var(--blanco);
    font-size: 1.2rem;
    border-radius: 25px;
    margin: 0;
    transition: .2s;
    flex: 1;
}
.btn-blue-outlined {
    background-color: var(--blanco);
    color: var(--azul-experto);
    font-size: 1.2rem;
    border-radius: 25px;
    margin: 0;
    transition: 0.2s;
    flex: 1;
    border: 2px var(--azul-experto) solid;
}

.btn-blue-outlined:disabled {
    border: none;
    background-color: var(--gris-1);
    color: var(--gris-4);
}

.btn-login:hover {
    border: none;
    background-color: var(--azul-experto);
    color: var(--blanco);
    font-size: 1.3rem;
    border-radius: 25px;
    padding: 0.5rem 3rem;
    margin-left: auto;
    margin-right: auto;
    transition: .2s;
}

/* Modal token styles */
.content-token-modal {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.content-token-modal-title {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700 !important;
    font-size: 25px;
    line-height: 28px;
}

.content-token-modal-body {
    width: 70%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.content-token-modal-buttons{
    display: flex;
    /*flex-wrap: wrap;*/
    justify-content: space-between;
    gap: 10px;
    height: 60px;
}

.content-token-modal-alert {
    /* position: absolute; */
    width: 100%;
    /* margin-top: 38rem; */
    background-color: transparent;
}

.content-token-modal-alert-body {
    background-color: var(--verde);
    width: 100%;
    margin: auto;
    color: #ffffff;
    border-radius: 26px;
    padding: 10px;
    font-family: Lato;
    font-size: 18px;
    text-align: center;
}

/* Media queries for token modal */
@media screen and (max-width: 767px) {
    .help-content {
        width: 85%;
    }

    .content-token-modal-alert-body {
        width: 80%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .help-content {
        width: 75%;
    }

    .content-token-modal-alert-body {
        width: 70%;
    }
}
@media screen and (min-width: 1024px) {
    .help-content {
        width: 55%;
    }

    .content-token-modal-alert-body {
        width: 50%;
    }
}

@media screen and (min-width: 1280px) {
    .help-content {
        width: 45%;
    }

    .content-token-modal-alert-body {
        width: 40%;
    }
}

@media screen and (min-width: 1920px) {
    .help-content {
        width: 35%;
    }

    .content-token-modal-alert-body {
        width: 30%;
    }
}


/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

    .content-token-modal-alert {
        background-color: transparent;
    }

    .content-token-modal-alert-body {
        background-color: var(--verde);
        margin: auto;
        color: #ffffff;
        border-radius: 26px;
        padding: 10px;
        font-family: Lato;
        font-size: 18px;
    }
    .btn-show-help-modal:hover {
        color:  var(--amarillo-optimista)!important;
        border-color:  var(--amarillo-optimista)!important;
    }

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .content-token-modal-alert {
        background-color: transparent;
    }

    .content-token-modal-alert-body {
        background-color: var(--verde);
        margin: auto;
        color: #ffffff;
        border-radius: 26px;
        padding: 10px;
        font-family: Lato;
        font-size: 18px;
    }

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .content-token-modal-alert {
        background-color: transparent;
    }

    .content-token-modal-alert-body {
        background-color: var(--verde);
        margin: auto;
        color: #ffffff;
        border-radius: 26px;
        padding: 10px;
        font-family: Lato;
        font-size: 18px;
    }
}


.content-cancel-modal {
    color: var(--gris-4);
    text-align: center;
    font-size: 17px;
    font-weight: 400 !important;
    text-decoration: none !important;
    margin-bottom: 30px;

}
.content-cancel-modal:hover span {
    color: var(--gris-4);
    border-bottom: 1px solid var(--gris-4);
}

/* Checkbox styles */
.checkbox-container {
    display:flex;
    justify-content: center;
    align-items: center;
}

.checkbox{
    display: inline-block;
    width: 55px;
    height: 33px;
    background: var(--gris-1);
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    transition: .2s;
    margin-left: 10px;
}

.checkbox::after{
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    background: var(--blanco);
    border-radius: 100px;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: .2s;
}

#remember_user:checked + .checkbox::after{
    left: 26px;
}

#remember_user:checked + .checkbox{
    background: var(--amarillo-optimista);
}

#remember_user{
    display: none;
}

.label_remeber {
    font-size: 14px;
    color: var(--azul-experto);
    font-weight: bold;
}
/* End Checkbox styles */

/* Modal Help */
.btn-show-help-modal {
    background: var(--blanco);
    border: 4px solid var(--azul-experto);
    width: 50px;
    height: 50px;
    border-radius: 100%;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
	color:  var(--azul-experto);
	z-index: 99;
    padding-left: 0px;
    padding-right: 0px;

}


@media(max-width: 768px) {
    .btn-show-help-modal{
        text-align: left;
        position:absolute!important;
        text-align: center;

    }
}

@media(max-width: 670px) {

    .btn-show-help-modal{
        right: 86%!important;
    }
}

@media(max-width: 550px) {
    /*
    .btn-show-help-modal{
        right: 84%!important;
    }*/

}
@media(max-width: 430px) {

    .btn-show-help-modal{
        right: 81%!important;
        text-align: center;
    }

}
.btn-show-help-modal:hover {
	color:  var(--amarillo-optimista)!important;
    border-color:  var(--amarillo-optimista)!important;
}

.btn-close-help-modal {
    background: var(--azul-experto);
    border: 0px;
    width: 60%;
    padding: 5px 0px;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-radius: 25px;
    color: var(--blanco);
    text-align: center;
    font-size: 1.3rem;
    height: 60px;
}



.btn-close-help-modal:hover {
	color:  var(--blanco);
}

.modal-show-help {
    background-color: rgb(140, 140, 140, 0.73);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--blanco);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0px;
	left: 0px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
}

.help-content {
    background: var(--blanco);
    color: var(--azul-experto);
    border-radius: 25px !important;
    box-shadow: 0px 3px 6px #00000029;
    padding: 3rem 0 3rem 0;
    position: relative;
    text-align: center;
    font-size: 1rem;
    /* width: 25%; */
}

.help-content .help-icon {
    position: absolute;
    width: 100%;
    display: block;
    text-align: center;
    margin-top: -7rem;
    margin-left: auto;
    margin-right: auto;
}

.help-info {
    font-size: 1.3rem;
}

.help-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    margin-top: 1rem;
}

.help-error {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    padding: 0 1rem;
}

.help-error-msj {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: -1rem;
    padding: 0 1rem;
}

.help-error-msj-block {
    display: block;
    font-size: 1rem;
    color: var(--azul-experto);
    font-weight: bold;
    margin-top: 0.3rem;
    /* padding: 0 2rem; */
}

.help-error-info {
    color: var(--gris-4);
    display: block;
    font-size: 1rem;
    margin-top: 1rem;
    /* padding: 0 1rem; */
}

.help-error-info-number {
    color: var(--azul-experto);
    font-weight: bold;
    border-bottom: 2px solid var(--azul-experto);
}

.help-preguntas {
    border-bottom: 1px solid var(--azul-experto);
}

@media(max-width: 768px) {
    .modal-show-help {
        background-color: rgb(140, 140, 140, 0.9);
    }
    .help-content {
        position: relative;
        text-align: center;
        font-size: 1rem;
    }

    .help-number {
        display: block;
        font-size: 3rem;
    }

    .help-error {
        display: block;
        font-size: 1.5rem;
        font-weight: bold;
    }
    .help-info {
        font-size: 1rem;
    }

    /* .help-content {
        width: 75%;
    } */
}

@media(min-width: 768px) {

    .help-content {
        /* width: 50%; */
        padding: 3rem 0 3rem 0;

    }
    .help-content .help-icon {
        position: relative;
        margin-top: 0rem;
    }
    .help-error-msj-block {
        margin-top: 1rem;
        font-size: 1.5rem;
    }
    .btn-close-help-modal {
        width: 30%;
    }

}

/* End Modal Help */

.icon-help-password {
    width: 17px;
    content: url("/templates/default/icons/help.svg");
    margin-left: 3px;
}

/* TOOLTIP */
.tooltip2 {
    position: relative;
    display: inline-block;
}
.tooltip2 .tiptext {
    visibility: hidden;
    font-size: 9px;
    width: 190px;
    background-color: var(--gris-4);
    color: #fff;
    text-align: left;
    padding: 10px;
    margin-left: -5px;
    margin-top: -20px;
    position: absolute;
    z-index: 1000;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 5px;
}
.tooltip2 .tiptext::after {
    content: "";
    position: absolute;
    border-width: 10px;
    border-style: solid;
}
.tooltip2:hover .tiptext {
    visibility: visible;
}
.tooltip2:hover .icon-help-password {
    content: url("/templates/default/icons/help-hover.svg");
}
.tooltip2.right .tiptext{
    top: 0px;
    left: 200%;
}
.tooltip2.right .tiptext::after{
    margin-top: -35px;
    top: 50%;
    right: 100%;
    border-color: transparent var(--gris-4) transparent transparent;
}
/* FIN TOOLTIP */
.btn-eye {
    padding: 6px;
    background: var(--blanco) !important;
    border-radius: 0 7px 7px 0;
    margin-top: 4px;
}

.btn-candado {
    padding: 6px;
    background: var(--blanco) !important;
    border-radius: 0 7px 7px 0;
    margin-top: 4px;
}

.ocultar {
    display: none;
}

@media(max-width: 768px) {
    .tooltip2.right .tiptext{
        left: 0%;
        top: 225%;
        margin-left: -125px;
    }
    .tooltip2.right .tiptext::after{
        margin-top: -18px;
        top: 50%;
        right: 25%;
        top: 0%;
        border-color: transparent transparent var(--gris-4) transparent;
    }

}


.btn-disable{
    border: none;
    background-color: var(--gris-7);
    color: var(--gris-4);
    border-radius: 25px;
    margin: 0;
    transition: 0.2s;
    flex: 1;
    padding:13px;
}

@media (max-width: 364px){
    .btn-blue-outlined{
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }
}

.login-texto-bold{
    color:var(--azul-experto);
    font-family:'Lato' !important;
}

.btn-show-help-modal:hover{
    border-color: var(--amarillo-optimista)!important;
    color: var(--amarillo-optimista)!important;
    cursor:pointer;
}


@media (max-height: 700px) and (max-width: 768px) {
    .login-img-logo{
        margin-top: 1rem;
    }
}
@media (max-height: 600px) and (max-width: 768px) {
    .login-box-body{
        padding-top: 0rem;
    }
}

/*FIX CAMBIO BOOTSTRAP*/

.icon-eye-close{
    content: url("/templates/default/icons/icon-ocultar.svg");
}

.icon-eye-open{
    content: url("/templates/default/icons/icon-mostrar.svg");
}

.icon-candado{
    content: url("/templates/default/icons/icon-candado.svg");
}

a{
    text-decoration: none!important;
}

.input-group-addon > img{
    /* padding-top:8px; */
}
.login-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: right;
    padding: 15px 30px 15px 15px;
    margin: auto 0;
}

@media(max-width: 768px) {

    .login-footer{
        text-align: left;
    }
}
@media(max-height: 750px) and (max-width:768px) {

    .login-footer{
        position: static;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .login-jump-line{
        display: none;
    }
    .login-margin-groupPOS{
        margin-bottom: 0px;
    }
}

@media(max-height: 750px) and (max-width:768px) {

    .login-jump-line{
        display: none;
    }
    .login-margin-groupPOS{
        margin-bottom: 0px;
    }
}

@media(max-height: 750px)  {
    .login-footer{
        padding: 0px;
    }
}

@media(max-height: 750px) and (min-width:769px)  {
    .login-footer{
        padding: 0px;
    }
    .login-jump-line{
        display: none;
    }
    .login-margin-groupPOS{
        margin-bottom: 0px;
    }
    .login-logo{
        margin-bottom:0px
    }
    #login-jump-line-width-esp{
        display: block;
    }
    #btnShowHelpModal{
        margin-right: 15px;
    }
}
.icon-help {
    content: url("/templates/default/icons/help.svg");
}
/* amarillo - hover & active */
.icon-help:hover  {
    content: url("/templates/default/icons/help-hover.svg");
}

@media (max-height: 580px) {
    .login-footer {
        position: relative !important
    }

    .login-footer button {
        position: relative !important;
        margin: 0 !important;
        left: 1% !important;

    }

}


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #F3F3F8 inset;
    -webkit-box-sizing: none;
}
input:-webkit-autofill {
    -webkit-text-fill-color: #000000;
}

.user_name_remember, .user_name_remember:focus{
    background-color:  #f8f3f3;
}

#login_name:not(.user_name_remember) {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    -webkit-box-sizing: none;
}

#login_passwd:-webkit-autofill,
#login_passwd:-webkit-autofill:hover,
#login_passwd:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    -webkit-box-sizing: none;
}

.margin-iconDesktop{
    padding-top:5px;

}

@media (min-width: 320px) and (max-width: 500px){

    .padding-bottom{
        padding-bottom:0px!important;
    }

   /* .login-page{
        overflow-y: hidden !important;
    }*/
}

@media screen and (max-width: 560px) {
    .login-page{
        overflow-y: hidden !important;
    }
}

.login_name_mask{
    display: none;
    background-color: transparent !important;
}
