@charset "utf-8";

/* ==============================
   FUENTES / RESET
============================== */
@font-face{
    font-family:'Lato';
    src:url("../../system/font/Lato/Lato-Light.ttf") format('truetype');
    font-weight:300;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:'Lato';
    src:url("../../system/font/Lato/Lato-Regular.ttf") format('truetype');
    font-weight:400;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:'Lato';
    src:url("../../system/font/Lato/Lato-Bold.ttf") format('truetype');
    font-weight:700;
    font-style:normal;
    font-display:swap;
}

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

html,
body{
    width:100%;
    min-height:100%;
    overflow-x:hidden;
    background:#fff;
    color:#000;
    font-family:'Lato', sans-serif;
    font-size:18px;
    font-weight:400;
    line-height:30px;
}

a{
    color:inherit;
    text-decoration:none;
}

/* ==============================
   HEADER / MENÚ
============================== */
.headerWrap{
    position:relative;
    width:100%;
}

.headerLogo{
    position:absolute;
    top:4px;
    left:30px;
    z-index:10;
}

.headerLogo img{
    display:block;
    width:300px;
    height:auto;
}

.headerMenu{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    width:100%;
    height:60px;
    padding-right:30px;
    background:#d3d3d3;
}

.headerMenu::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    z-index:2;
    width:100%;
    height:3px;
    background:linear-gradient(to right, #00aaff, #8c8c8c);
    box-shadow:0 0 8px rgba(0,170,255,.9), 0 0 15px rgba(0,170,255,.5);
}

.menuItems{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
}

.btnHeader01{
    min-height:38px;
    margin:0;
    padding:7px 15px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    border:1px solid transparent;
    border-radius:20px;
    cursor:pointer;
    user-select:none;
    font-size:13px;
    font-weight:700;
    letter-spacing:.7px;
    line-height:1.2;
    box-shadow:0 3px 8px rgba(0,0,0,.12);
    transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btnHeader01:hover,
.btnHeader01:focus-visible{
    transform:translateY(-2px);
    box-shadow:0 5px 12px rgba(0,0,0,.18);
    outline:none;
}

#back01{
    color:#27313c;
    background:#fff;
    border-color:#b9c1ca;
}

#back01:hover,
#back01:focus-visible{
    color:#c50000;
    border-color:#c50000;
}

.btnHeader01 .ico50{
    margin:0;
    font-size:18px;
    vertical-align:middle;
}
/****************
FORMATO INPUT GENERAL
*****************/
input,
select,
textarea,
button{
    font-family:inherit;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="telefono"]:focus,
input[type="checkbox"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus{
    outline:none;
    border:3px solid mediumblue;
    box-shadow:0 0 0 5px rgba(0,170,255,.5);
}

input[type="text"]:hover,
input[type="password"]:hover,
input[type="telefono"]:hover,
input[type="checkbox"]:hover,
input[type="email"]:hover,
select:hover,
textarea:hover{
    outline:none;
    border:3px solid mediumblue;
}

/* ==============================
   HAMBURGUESA
============================== */
.hamburger{
    display:none;
    flex-direction:column;
    justify-content:space-between;
    z-index:20;
    width:34px;
    height:28px;
    cursor:pointer;
}

.hamburger span{
    width:100%;
    height:3px;
    background:#111;
    border-radius:3px;
    transition:.25s;
}

.hamburgerActivo span:nth-child(1){
    transform:rotate(45deg) translate(8px, 8px);
}

.hamburgerActivo span:nth-child(2){
    opacity:0;
}

.hamburgerActivo span:nth-child(3){
    transform:rotate(-45deg) translate(9px, -9px);
}

/* ==============================
   LOADER
============================== */
.loader{
    position:fixed;
    top:0;
    left:0;
    z-index:9999;
    width:100%;
    height:100%;
    background:url("../../system/img/loader.gif") 50% 50% no-repeat rgb(249,249,249);
    opacity:.8;
}

/* ==============================
   CONTENIDO PRINCIPAL
============================== */
.contMain{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:stretch;
    width:70%;
    height:600px;
    margin:0 auto;
    background:url("../../system/img/login.png") right center / 600px no-repeat;
}

.titleMain{
    width:720px;
    padding:30px;
}

.cl01{
    margin-bottom:20px;
    color:#253e51;
    font-size:30px;
    font-weight:700;
}

.cl02{
    width:530px;
    color:#253e51;
    font-size:17px;
    font-weight:400;
    text-align:justify;
    text-justify:inter-word;
    hyphens:auto;
}

.mnuCentral{
    width:60%;
    margin-left:30px;
    padding:40px 30px 30px;
    background:#f5f5f5;
    border-radius:13px;
    box-shadow:0 0 10px #fff;
}

.cl03{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.cl04{
    width:200px;
    margin-top:10px;
    margin-left:50px;
    color:#625e5e;
    cursor:pointer;
    font-size:16px;
    letter-spacing:1px;
    text-decoration:underline;
}

.cl04:hover{
    color:crimson;
    font-weight:700;
    letter-spacing:2px;
    transition:all .4s linear;
}

/* ==============================
   FORMULARIO
============================== */


.input02{
    width:260px;
    height:50px;
    margin:0 auto;
    padding:10px;
    background:#fff;
    border:.5px solid #e0e0e0;
    border-radius:5px;
    font-size:13px;
    text-align:left;
    text-indent:10px;
    user-select:none;
}

#correo{
    text-transform:lowercase;
    text-align:left;
}

.input-container{
    position:relative;
    display:inline-block;
    margin-right:30px;
}

.input-field{
    width:210px;
    height:50px;

    /* Texto a la izquierda y espacio reservado para el ojo */
    padding:10px 48px 10px 14px;

    background:#fff;
    border:.5px solid #e0e0e0;
    border-radius:5px;

    color:#111;
    font-size:13px;
    line-height:1.2;
    text-align:left;
    text-indent:0;

    transition:border-color .3s ease, box-shadow .3s ease;
}

.btnMostrarContrasena{
    position:absolute;
    top:50%;
    right:8px;
    z-index:2;

    width:36px;
    height:36px;
    padding:0;

    border:0;
    border-radius:50%;
    background:transparent;
    color:#555;

    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    font-family:"icomoon";
    font-size:22px;
    line-height:1;

    transform:translateY(-50%);
    transition:color .2s ease, background .2s ease;
}

.btnMostrarContrasena:hover,
.btnMostrarContrasena:focus-visible,
.input-container:focus-within .btnMostrarContrasena{
    color:dodgerblue;
    background:rgba(30,144,255,.08);
    outline:none;
}

.input-container:hover .input-field{
    border-color:dodgerblue;
}

.btn03{
    width:120px;
    margin:1px;
    padding:10px;
    border:.5px solid #e0e0e0;
    border-radius:5px;
    background:#c50000;
    color:#fff;
    cursor:pointer;
    font-size:14px;
    letter-spacing:1px;
    text-align:center;
}

.btn03:hover{
    background:#fff;
    border:.5px solid #c50000;
    box-shadow:0 0 30px #fff;
    color:#c50000;
    transition:all .4s linear;
}

/* ==============================
   PIE / DETALLES DE SEGURIDAD
============================== */
.details{
    position:fixed;
    left:0;
    bottom:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    width:100%;
    padding:20px 0;
    background:#e9e8ec;
    color:#253e51;
    font-size:17px;
    font-weight:400;
}

.co08{
    display:flex;
    align-items:stretch;
    justify-content:space-between;
    width:60%;
    margin:0 auto;
    padding:20px 0;
}

.cl06{
    width:80%;
}

.cl07{
    width:150px;
    height:auto;
    background:url("../../system/img/ssl-secure-1.svg") no-repeat;
}

/* ==============================
   RESPONSIVE: PC MEDIANA
============================== */
@media only screen and (max-width:1400px){
    .contMain{
        width:90%;
        background-size:480px;
    }

    .titleMain{
        width:58%;
    }

    .mnuCentral{
        width:55%;
    }

    .co08{
        width:80%;
    }
}

/* ==============================
   RESPONSIVE: TABLET
============================== */
@media only screen and (max-width:1024px){
    .headerLogo img{
        width:240px;
    }

    .headerMenu{
        padding-right:20px;
    }

    .contMain{
        width:94%;
        height:auto;
        min-height:600px;
        padding:40px 0;
        background-position:right bottom;
        background-size:380px;
    }

    .titleMain{
        width:60%;
        padding:25px;
    }

    .cl01{
        font-size:28px;
    }

    .cl02{
        width:100%;
        font-size:16px;
    }

    .mnuCentral{
        width:78%;
        margin-left:25px;
        padding:30px 20px;
    }

    .cl03{
        display:grid;
        grid-template-columns:260px 180px;
        grid-template-rows:50px 50px;
        gap:15px;
        align-items:center;
        justify-content:center;
    }

    #correo{
        grid-column:1;
        grid-row:1;
        width:260px;
        margin:0;
    }

    .input-container{
        grid-column:1;
        grid-row:2;
        width:260px;
        margin:0;
    }

    .input-field{
        width:260px;
    }

    #btnContinuar{
        grid-column:2;
        grid-row:2;
        width:180px;
        height:50px;
        margin:0;
    }

    .details{
        position:relative;
        margin-top:30px;
    }

    .co08{
        width:90%;
    }
}

/* ==============================
   RESPONSIVE: CELULAR
============================== */
@media only screen and (max-width:767px){
    html,
    body{
        height:auto;
        min-height:100%;
        font-size:16px;
        line-height:24px;
    }

    .headerLogo{
        position:relative;
        top:auto;
        left:auto;
        z-index:10;
        padding-top:10px;
        text-align:center;
    }

    .headerLogo img{
        width:230px;
        margin:0 auto;
    }

    .headerMenu{
        align-items:flex-start;
        justify-content:flex-start;
        height:auto;
        min-height:55px;
        padding:12px 15px;
        flex-wrap:wrap;
        background:rgba(0,0,0,.70);
    }

    .hamburger{
        display:flex;
    }

    .hamburger span{
        background:#fff;
    }

    .menuItems{
        display:none;
        flex-direction:column;
        align-items:flex-start;
        width:100%;
        margin-top:15px;
        gap:8px;
    }

    .menuItems.menuActivo{
        display:flex;
    }

    .btnHeader01{
        width:100%;
        margin-right:0;
        padding:8px 0;
        color:#fff;
        font-size:12px;
        text-align:left;
    }

    .btnHeader01:hover{
        color:#ca0f16;
    }

    .contMain{
        align-items:center;
        width:100%;
        height:auto;
        min-height:auto;
        padding:20px 15px 30px;
        background-image:none;
    }

    .contMain::after{
        content:"";
        display:block;
        width:100%;
        height:250px;
        margin-top:25px;
        background:url("../../system/img/login.png") center center / contain no-repeat;
    }

    .titleMain{
        width:100%;
        padding:15px;
        text-align:center;
    }

    .cl01{
        font-size:26px;
        line-height:32px;
    }

    .cl02{
        width:100%;
        font-size:15px;
        line-height:24px;
        text-align:justify;
    }

    .mnuCentral{
        width:100%;
        margin-left:0;
        padding:25px 15px;
    }

    .cl03{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:10px;
    }

    .cl03 > *{
        margin:0 !important;
    }

    #correo,
    .input02,
    .input-container,
    .input-field,
    .btn03{
        width:100% !important;
        max-width:none;
        height:50px;
        margin:0 !important;
    }

    .input02,
    .input-container,
    .btn03{
        margin-bottom:10px !important;
    }

    .btn03{
        line-height:30px;
    }

    .cl04{
        width:100%;
        margin-left:0;
        font-size:14px;
        text-align:center;
    }

    .details{
        position:relative;
        margin-top:20px;
        padding:20px 15px;
    }

    .co08{
        flex-direction:column;
        align-items:center;
        width:100%;
        gap:15px;
        text-align:justify;
    }

    .cl06{
        width:100%;
        font-size:14px;
        line-height:22px;
    }

    .cl07{
        width:90px;
        height:90px;
        background-position:center;
        background-size:contain;
    }
}


/* ==============================
   LOADING DENTRO DEL BOTÓN
============================== */
.btn03{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
}

.btnContenido{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    width:100%;
}

.btn03.btnCargando{
    cursor:not-allowed;
    pointer-events:none;
    opacity:.78;
    user-select:none;
}

.btn03.btnCargando:hover{
    background:#c50000;
    border:.5px solid #e0e0e0;
    box-shadow:none;
    color:#fff;
}

.spinnerBoton{
    display:inline-block;
    width:18px;
    height:18px;
    border:2px solid rgba(255,255,255,.45);
    border-top-color:#fff;
    border-radius:50%;
    animation:girarBoton .7s linear infinite;
}

@keyframes girarBoton{
    to{
        transform:rotate(360deg);
    }
}

@media (prefers-reduced-motion:reduce){
    .spinnerBoton{
        animation-duration:1.4s;
    }
}


/* =========================================================
   AJUSTE FINAL MENÚ MÓVIL ESTILO INDEXZ
========================================================= */
@media only screen and (max-width:767px){

    .headerWrap{
        position:relative;
        width:100%;
        height:72px;
        min-height:72px;
        padding:0;
        background:#fff;
        border-bottom:1px solid #e7e7e7;
        box-shadow:0 4px 14px rgba(0,0,0,.07);
        z-index:1000;
    }

    .headerLogo{
        position:absolute;
        top:50%;
        left:50%;
        transform:translate(-50%, -50%);
        width:auto;
        padding:0;
        margin:0;
        text-align:center;
        background:transparent;
        z-index:15;
        pointer-events:none;
    }

    .headerLogo img{
        width:230px;
        max-width:58vw;
        height:auto;
        margin:0 auto;
        display:block;
    }

    .headerMenu{
        position:relative;
        width:100%;
        height:72px;
        min-height:72px;
        padding:0 15px;
        margin:0;
        display:flex;
        justify-content:flex-start;
        align-items:center;
        flex-wrap:nowrap;
        gap:0;
        background:#fff;
        overflow:visible;
    }

    .hamburger{
        display:flex;
        position:relative;
        width:34px;
        height:28px;
        flex:0 0 34px;
        margin:0;
        padding:0;
        flex-direction:column;
        justify-content:space-between;
        align-items:stretch;
        cursor:pointer;
        pointer-events:auto;
        touch-action:manipulation;
        z-index:10001;
    }

    .hamburger span{
        width:100%;
        height:3px;
        background:#111;
        border-radius:3px;
        transition:transform .25s ease, opacity .25s ease;
    }

    .hamburgerActivo span:nth-child(1){
        transform:translateY(12px) rotate(45deg);
    }

    .hamburgerActivo span:nth-child(2){
        opacity:0;
    }

    .hamburgerActivo span:nth-child(3){
        transform:translateY(-13px) rotate(-45deg);
    }

    .menuItems{
        display:none;
        position:absolute;
        top:72px;
        left:0;
        width:100%;
        margin:0;
        padding:14px 18px 16px;
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
        background:#fff;
        border-top:1px solid #ececec;
        box-shadow:0 8px 14px rgba(0,0,0,.08);
        visibility:visible;
        opacity:1;
        z-index:9999;
    }

    .menuItems.menuActivo{
        display:flex !important;
        pointer-events:auto;
    }

    .menuItems .btnHeader01{
        width:100%;
        margin:0;
        min-height:42px;
        padding:11px 14px;
        display:flex;
        align-items:center;
        justify-content:flex-start;
        color:#27313c;
        background:#f7f8fa;
        border:1px solid #d8dde3;
        border-radius:9px;
        text-align:left;
        font-size:12px;
        letter-spacing:1.5px;
        box-shadow:none;
    }

    .menuItems .btnHeader01 span{
        width:auto;
        margin-right:0;
        color:inherit;
    }

    .menuItems .btnHeader01:hover,
    .menuItems .btnHeader01:hover span{
        color:#ca0f16;
        background:#fff;
        border-color:#c50000;
    }
}

@media only screen and (max-width:420px){
    .headerLogo img{
        width:200px;
        max-width:60vw;
    }

    .menuItems .btnHeader01{
        width:100%;
        text-align:left;
    }
}
