/* 
    Document   : ingresoPortal
    Created on : Sep 8, 2016, 4:56:17 PM
    Author     : ipesce
    Description:
        Estilos de Ingreso al POrtal
*/


/* Aplicar fuente Verdana a TODO el documento y controles de formulario */
body, button, input, select, textarea {
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, sans-serif;
}


/* ------------    LOADER   ---------------------------

/* Contenedor que cubre toda la pantalla */
#loadingOverlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6); /* Blanco semitransparente */
    backdrop-filter: blur(4px); /* Efecto de difuminado/blur */
    z-index: 10000; /* Por encima de todo */
    text-align: center;
}

/* El spinner giratorio */
.spinner-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db; /* Azul corporativo */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

.loading-text {
    color: #333;
    font-weight: bold;
    font-family: Verdana, Geneva, sans-serif;
}

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

/* ------------    FIN LOADER  --------------------------- */



/* ------------    Contenedor Olvidaste Contraseña   --------------------------- */


.contenedorOlvidasteContrasenia {
    display: block; 
    margin-top: 20px;    
}

.link-reset {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px; /* Tamaño ideal para Verdana */
}

/* Estilo para el enlace de acción */
.link-reset a {
    color: #174568;
    text-decoration: none; /* Sin subrayado inicial para limpieza */
    font-weight: bold; /* Para que resalte la acción */
}

/* Efecto al pasar el mouse */
.link-reset a:hover {
    text-decoration: underline;
    color: #003d80;
}



/* ------------    FIN Contenedor Olvidaste Contraseña  ---------------------------*/


/* ------------    Contenedor Mostrar Contraseña   --------------------------- */


/*.contenedorMostrarContrasenia {
    margin-top: 5px;  
    margin-bottom: 5px;  
}*/

/*.contenedorMostrarContrasenia {
    display: flex;            Activa el modo flexible 
    align-items: center;      La clave: centra verticalmente checkbox y texto 
    gap: 8px;                 Espacio entre el cuadradito y la letra 
    margin-top: 5px;  
    margin-bottom: 5px;  
}

 Opcional: Para asegurar que el checkbox tenga un tamaño decente 
.contenedorMostrarContrasenia input {
    width: 16px; 
    height: 16px;
    margin: 0;                Quita márgenes raros del navegador 
    cursor: pointer;
}

 Opcional: Ajuste fino al texto 
.contenedorMostrarContrasenia span {
    font-size: 13px;          Tamaño legible para Verdana 
    line-height: 1;           Evita espacios extra arriba/abajo 
    cursor: default;          El cursor normal 
}*/

.bloqueLogin.margentop0 {
    margin-top:0px;
    
}

.bloqueLogin input.showPassword{
    width: auto;
    height: auto;
    position: relative;
    vertical-align: middle;
    bottom: -6px;
    display: inline-block;
    font-size: 12px;
}

.bloqueLogin span.showPassword {
    float: none;
    font-size: 14px;
    color: black;
    margin-left: 5px;
}




/* ------------    FIN Contenedor Mostrar Contraseña  ---------------------------*/






/*---------------  Contenedor esquina superior derecha con recomendacion de utilizar browser firefox* ---------------------------/

/*si es firefox no se muestra*/
@-moz-document url-prefix() { 
    .contenedorBrowserRecomendado {
        display: none
    }

}

.contenedorBrowserRecomendado {
    /*    position:absolute;
        top:0;
        right:0;*/
}

.contenedorBrowserRecomendado label{
    font-family: Verdana, Geneva, sans-serif;
    font-size: 16px;
    color: black;

}

.contenedorBrowserRecomendado img{
    vertical-align: middle;

}

/*---------------  FIN CONTENEDOR FIREFOX ---------------------------/


/* Sacar el color amarillo feo del autocompletar en Chrome */

input:-webkit-autofill { -webkit-box-shadow:0 0 0 500px white inset; 

}

/* Footer para Login y Reseteo */

/*.footerLogin{
     clear: both; 
    bottom: 0px;
    position: absolute;
     clear: both; 
     margin: 33px 14px 11px 13px; 
     clear: both; 
    padding-top: 15px;
     width: 100%; 
     margin-bottom: 15px; 
     margin-top: 45px; 
    height: 25px;
}*/

.footerLogin {
    /* clear: both; */
    bottom: 0px;
    position: static;
    /* clear: both; */
    /* margin: 33px 14px 11px 13px; */
    /* clear: both; */
    padding-top: 10px;
    /* width: 100%; */
    /* margin-bottom: 15px; */
    /* margin-top: 45px; */
    height: 25px;
    /* text-align: center; */
    /* display: inline-block; */
    /* vertical-align: middle; */
    /* -webkit-align-content: center; */
    /* align-content: center; */

    width: 100%;
    margin: 0px auto;
}

.footerLogin p {
    font-size: 0.60em;
    color: #1b3271;
    margin: 0 auto 0 auto;
    text-align: center;
    font-family: Verdana, Geneva, sans-serif;
}


.fondoLogin{
    background-color: rgba(128, 128, 128, 0.1) ;
}

.contenedorLogin {
    width: 34%;
    margin: auto;
    margin-top: 5%;
}




/* Bloque de mensajes de error javascript y serverside */

.mensajesError {
    display: none;
    list-style-type: disc;
    /*                margin: 0 10px 15px 10px;*/
    padding: 13px 35px 13px 30px;
    color: #B94A48;
    background-color: #F2DEDE;
    border: 2px solid #EED3D7;
    border-radius: 4px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    width: 81%;
    margin-top: 15px;

}

.mensajesError span {
    font-weight: bold;
}

.mensajesError li{
    padding-bottom: 10px;
}

.mensajesError label{
    color: #B94A48;
}

input.error{  
    border-color: #B94A48 !important;
    border-style:solid;
    border-width:1px; 
    color: #B94A48 !important;
    background-position: 20px bottom !important;
} 

/* Titulo de ingreso con logo para Login */


/*.logoIngresar {
    /*background-image: url('/theme/img/general/logoCorto.png');*/
/*background-image: url(/theme/img/general/logo_40_chico_1.png);
background-position: 2% 10px;
background-repeat: no-repeat;
background-size: 70px;
height: 75px;
line-height: 91px;
margin: auto;
padding-bottom: 8px;
margin-right: 10px;
}*/

.logoIngresar {
    background-image: url('/theme/img/general/logoCorto.png');
    /*background-image: url(/theme/img/general/logo_40_chico_1.png);*/
    background-position: 2% 10px;
    background-repeat: no-repeat;
    background-size: 70px;
    height: 75px;
    line-height: 91px;
    margin: auto;
    padding-bottom: 8px;
    margin-right: 10px;
}

.logoIngresar h2 {
    padding-left: 24%;
    color: rgb(0, 82, 143);
    font-size: 28px;
    font-family: Verdana, Geneva, sans-serif;
}




/* Bloque de Login para ingreso de datos */

.bloqueLogin{
    padding: 30px;
    background: #fff;
    border-radius: 5px;
    border-top: 4px solid #FFB637;
    border-right: 1px solid rgba(34, 36, 38, 0.15);
    border-bottom: 1px solid rgba(34, 36, 38, 0.15);
    border-left: 1px solid rgba(34, 36, 38, 0.15);
    width: 85%;
}

.bloqueLogin h1 {
    text-align: center;
    color: #000;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 20px;
}

.bloqueLogin input:active {
    border: 1px solid #7BA9C9;
}

bloqueLogin input:hover{
    background-color:  #fff;

}

/* 1. Aplica la fuente al contenedor (se hereda a span, label, a) */
.bloqueLogin {
    font-family: Verdana, Geneva, sans-serif;
}

/* Aplica al contenedor general y a elementos específicos */
.bloqueLogin,
.bloqueLogin span,
.bloqueLogin label,
.bloqueLogin a,
.bloqueLogin input,
.bloqueLogin button,
.bloqueLogin select,
.bloqueLogin textarea {
    font-family: Verdana, Geneva, sans-serif;
}

.bloqueLogin input{
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 14px;
    font-size: 13px;
    padding: 0 20px 0 50px;
    outline: none;
    color: #1b3271;
}

.bloqueLogin input.usuario {
    background: #fff url('/theme/img/particular/login/usuarioLogin.png') 20px top no-repeat;
    background-size: 16px 80px;
}

.bloqueLogin input.usuario:focus {
    background-size: 16px 80px;
    border: 1px solid #7BA9C9;
}

.bloqueLogin input.password {
    background: #fff url('/theme/img/particular/login/lockLogin.png') 20px top no-repeat;
    background-size: 16px 80px;
    margin-bottom: 6px;
}

.bloqueLogin input.password:focus {
    background-size: 16px 80px;
    border: 1px solid #7BA9C9;
}


.bloqueLogin input.email {
    background: #fff url('/theme/img/particular/resetearContrasenia/mail.svg') no-repeat;
    background-size: 20px 22px;
    background-position: 18px !important;
}

.bloqueLogin input.email:focus {
    background-size: 20px 22px;
    border: 1px solid #7BA9C9 ;
}

.bloqueLogin input.email.error{  
    border-color: #B94A48 !important;
    border-style:solid;
    border-width:1px; 
    color: #B94A48 !important;
    background: #fff url('/theme/img/particular/resetearContrasenia/mailError.svg') no-repeat;
    background-size: 20px 22px;
    background-position: 18px !important;

}



/*.bloqueLogin div.showPassword{
    width: auto;
    height: auto;
    position: relative;
    vertical-align: middle;
    bottom: -6px;
    display: inline-block;
    font-size: 12px;
}*/



.bloqueLogin span {
    float: right; 
    font-size: 14px; 
    color: rgba(0, 0, 0, 0.85);
}

.bloqueLogin a {
    font-size: 15px; 
    font-weight: bold; 
    color: rgb(34, 136, 187);
}

.bloqueLogin button , input[type="submit"] {
    width: 100%;
    height: 41px;
    background: #00528F;
    box-sizing: border-box;
    border-radius: 5px;
    border: 2px solid #00528F;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 15px;
    /* font-family: Montserrat; */
    outline: none;
    cursor: pointer;
    margin-top: 16px;
    font-family: Verdana, Geneva, sans-serif;
    padding: unset;
}


.bloqueLogin button:hover, input[type="submit"]:hover {
    background: #174568;
}


/* Titulo para Reseteo y Nueva Contraseña */

.tituloIngresar h2 {
    /* padding-left: 57px; */
    color: rgb(0, 82, 143);
    font-size: 28px;
    font-family: Verdana, Geneva, sans-serif;
}


/*Media queries para contenedorLogin*/

@media screen and (min-width: 1300px) {

    .contenedorLogin {
        width: 32%;
        margin-top: 6%;
    }



    /*.logoIngresar {
        background-position: 2% 10px;
        background-size: 70px;
        padding-bottom: 26px;
        line-height: 110px;
        margin-right: 10px;
    }*/


    .logoIngresar {
        /* background-position: 8% 10px; */
        background-size: 55px;
        padding-bottom: 5%;
        line-height: 110px;
        /* margin-right: 10px; */
        /* margin-left: ; */
        /* padding-left: 10px; */
        margin-left: 5%;
        /* margin-right: 0%; */
        /* padding-left: ; */
    }


    .logoIngresar h2 {
/*        padding-left: ;*/
        font-size: 32px;
/*        margin-left: ;*/
/*        margin-right: 12%;*/
/*        padding-right: ;*/
        padding-left: 20%;
    }

    .bloqueLogin {
        padding: 40px;
        width: 85%;
    }


    .bloqueLogin input {
        height: 48px;
        margin-bottom: 16px;
        font-size: 15px;

    }

    .bloqueLogin input.usuario {
        background-size: 20px 90px;
    }

    .bloqueLogin input.usuario:focus {
        background-size: 20px 90px;
    }


    .bloqueLogin input.password {
        background-size: 20px 88px;
        margin-bottom: 6px;
    }

    .bloqueLogin input.password:focus {
        background-size: 20px 88px;
    }


    .bloqueLogin a {
        font-size: 16px;
    }

    .bloqueLogin span {
        font-size: 15px;
    }

    .bloqueLogin button, input[type="submit"] {
        height: 45px;
        font-size: 19px;
        margin-top: 28px;

    }

}

/* Se aplica solo si la pantalla mide entre 1200px y 1366px */
@media (min-width: 1200px) and (max-width: 1366px) {
    .logoIngresar {
        background-image: url('/theme/img/general/logoCorto.png');
        /* background-image: url(/theme/img/general/logo_40_chico_1.png); */
        background-position: 7% 7px;
        background-repeat: no-repeat;
        background-size: 50px;
        height: 75px;
        line-height: 91px;
        margin: auto;
        padding-bottom: 8px;
        margin-right: 10px;
    }
}


@media screen and (max-width: 1080px) and (min-width: 890px) {
    .contenedorLogin {
        width: 45%;
    }
}

@media screen and (max-width: 890px) and (min-width: 621px) {
    .contenedorLogin {
        width: 60%;
    }

}
@media screen and (max-width: 621px) and (min-width: 300px) {
    .contenedorLogin {
        width: 80%;
    }

    .logoIngresar h2 {
        padding-left: 24%;
        font-size: 24px;
    }

    .logoIngresar{
        background-size: 40px;
        background-position: 6% 17px;
        height: 50px;
        line-height: 82px;
        padding-bottom: 8px;

    }

    .logoIngresar h2 {
        padding-left: 28%;
        font-size: 18px;
    }

    .bloqueLogin{
        margin-top: 5%;

    }

    .bloqueLogin input{

        font-size: 11px;
    }
}