﻿@import url('Site.css');
@import url('UserIdentitySummary.css');

/* Base compartida para paginas integradas de home_net.
   Evita importar hojas legacy completas para no derramar estilos globales. */

#caja_exterior {
    width: 100%;
    padding: 20px 0;
}

#caja_exterior_Error {
    width: 80%;
    padding-top: 20px;
    padding-bottom: 50px;
    background-color: #00649a;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#caja_texto,
#caja_texto2 {
    width: 90%;
    max-width: 1180px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    background-color: #e0e3e4;
    margin-left: auto;
    margin-right: auto;
}

#texto,
#texto_centrado,
#texto_centrado1 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#texto {
    max-width: 640px;
}

#texto_caja_texto,
.texto_caja_texto {
    font-family: sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    line-height: 20px;
    color: #000;
    font-weight: normal;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 90%;
}

.texto_caja_texto_centrado {
    font-family: sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 20px;
    color: #000;
    font-weight: normal;
    text-align: center;
}

.texto_caja_texto_error {
    font-family: sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 20px;
    color: #230aa6;
    font-weight: bold;
}

.titulo_principal {
    font-family: sans-serif;
    font-size: 24px;
    letter-spacing: 3px;
    line-height: 20px;
    color: #039;
    text-align: center;
    margin-top: 35px;
    margin-bottom: 35px;
}

#subtitulos_principal {
    font-family: sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 20px;
    color: #004d94;
}

.txt_principal {
    font-family: sans-serif;
    font-size: 13px;
    line-height: 20px;
    color: #000;
    font-weight: 100;
}

#caja_login,
#caja_login_red,
#caja_formulario,
#caja_formulario1 {
    background-color: #369;
    margin-left: auto;
    margin-right: auto;
}

#caja_login {
    width: 40%;
    min-width: 300px;
    padding: 10px 10px 10px 12px;
}

#caja_login_red {
    width: 400px;
    padding: 10px 10px 10px 12px;
}

#caja_formulario1 {
    padding: 15px;
}

#caja_login1 {
    width: 90%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px 18px;
    overflow-x: auto;
}

#caja_login1 table {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#caja_login1 form {
    margin: 0;
}

#caja_login1 input[type="date"] {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

body.cert-alumno-regular #caja_login1 table.hovertable {
    min-width: 760px;
}

body.cert-alumno-regular #caja_login1 td form {
    display: flex;
    justify-content: center;
}

body.cert-alumno-regular #caja_login1 td input[type="submit"] {
    width: auto;
    min-width: 96px;
}

body.cert-alumno-regular #caja_formulario {
    width: 100%;
    max-width: 360px;
    padding: 14px;
}

body.cert-alumno-regular #caja_formulario .w3-input {
    width: 100%;
}

#caja_botones {
    width: 80%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
}

.datos_formulario {
    font-family: sans-serif;
    font-size: 13px;
    line-height: 20px;
    color: #e9e9e9;
    font-weight: 100;
}

.datos_formulario a,
.datos_formulario a:link,
.datos_formulario a:hover,
.datos_formulario a:visited {
    color: #fff;
    font-weight: 700;
}

.w2-boton {
    padding: 8px;
    display: block;
    border: none;
    border-bottom: 1px solid #ccc;
    width: 100px;
    background: #355B95;
    color: #fff;
    cursor: pointer;
}

.w2-boton:hover {
    background: #223a5e;
}

.btn_continuar,
.btn_cancelar,
.submit {
    color: #fff;
    border: 0;
    cursor: pointer;
}

.btn_continuar {
    width: 100px;
    height: 30px;
    margin: 0 15px 0 0;
    font-family: Open Sans, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    background-color: #7e972e;
}

.btn_cancelar {
    width: 100px;
    height: 30px;
    margin: 0 15px 0 0;
    font-family: Open Sans, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    background-color: #556272;
}

.submit {
    text-align: center;
    background: #355B95;
    padding-left: 3px;
    padding-right: 12px;
}

.alumno_gestion_inscripciones,
.alumno_gestion_consulta,
.alumno_gestion_situacion,
.alumno_gestion_plan,
.alumno_actividades_complementarias,
.alumno_gestion_wifi,
.alumno_gestion_aranceles,
.alumno_gestion_salir {
    width: 30px;
    height: 30px;
    float: left;
    background-repeat: no-repeat;
}

.alumno_gestion_inscripciones {
    background-image: url('../images/alumno_gestion_inscripciones_mini.png');
}

.alumno_gestion_consulta {
    background-image: url('../images/alumno_gestion_consulta_mini.png');
}

.alumno_gestion_situacion {
    background-image: url('../images/alumno_gestion_situacion_mini.png');
}

.alumno_gestion_plan {
    background-image: url('../images/alumno_gestion_plan_mini.png');
}

.alumno_actividades_complementarias {
    background-image: url('../images/alumno_gestion_actividades_mini.png');
}

.alumno_gestion_wifi {
    background-image: url('../images/alumno_gestion_wifi_mini.png');
}

.alumno_gestion_aranceles {
    background-image: url('../images/alumno_gestion_aranceles_mini.png');
}

.alumno_gestion_salir {
    background-image: url('../images/alumno_gestion_salir_mini.png');
}

@media screen and (max-width: 880px) {
    #caja_login,
    #caja_login1,
    #caja_login_red,
    #caja_texto,
    #caja_texto2,
    #texto,
    #texto_centrado,
    #texto_centrado1 {
        width: 90%;
    }

    #caja_login,
    #caja_login_red {
        min-width: 0;
    }

    #caja_login1 {
        padding-left: 8px;
        padding-right: 8px;
    }

    body.cert-alumno-regular #caja_login1 {
        overflow-x: visible;
    }

    body.cert-alumno-regular #caja_login1 table.hovertable,
    body.cert-alumno-regular #caja_login1 table.hovertable tbody,
    body.cert-alumno-regular #caja_login1 table.hovertable tr,
    body.cert-alumno-regular #caja_login1 table.hovertable td {
        display: block;
        width: 100%;
    }

    body.cert-alumno-regular #caja_login1 table.hovertable {
        min-width: 0;
        border: 0;
        background: transparent;
    }

    body.cert-alumno-regular #caja_login1 table.hovertable tr:first-child {
        display: none;
    }

    body.cert-alumno-regular #caja_login1 table.hovertable tr {
        margin-bottom: 16px;
        border: 1px solid #c7d1da;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    body.cert-alumno-regular #caja_login1 table.hovertable td {
        position: relative;
        text-align: left;
        padding: 10px 12px 10px 132px;
        border: 0;
        border-bottom: 1px solid #e1e5e8;
        min-height: 40px;
        box-sizing: border-box;
    }

    body.cert-alumno-regular #caja_login1 table.hovertable td:last-child {
        border-bottom: 0;
    }

    body.cert-alumno-regular #caja_login1 table.hovertable td:before {
        position: absolute;
        left: 12px;
        top: 10px;
        width: 108px;
        font-weight: 700;
        color: #004c93;
        content: "";
    }

    body.cert-alumno-regular #caja_login1 table.hovertable tr td:nth-of-type(1):before { content: "Legajo"; }
    body.cert-alumno-regular #caja_login1 table.hovertable tr td:nth-of-type(2):before { content: "Ciclo"; }
    body.cert-alumno-regular #caja_login1 table.hovertable tr td:nth-of-type(3):before { content: "Generación"; }
    body.cert-alumno-regular #caja_login1 table.hovertable tr td:nth-of-type(4):before { content: "Vencimiento"; }
    body.cert-alumno-regular #caja_login1 table.hovertable tr td:nth-of-type(5):before { content: "Vigente"; }
    body.cert-alumno-regular #caja_login1 table.hovertable tr td:nth-of-type(6):before { content: "Descargar"; }
    body.cert-alumno-regular #caja_login1 table.hovertable tr td:nth-of-type(7):before { content: "Renovar"; }

    body.cert-alumno-regular #caja_login1 table.hovertable td form {
        display: block;
    }

    body.cert-alumno-regular #caja_login1 table.hovertable td input[type="submit"] {
        width: 100%;
        max-width: 180px;
        margin: 0;
    }

    body.cert-examen-final #caja_login1 table,
    body.cert-examen-final #caja_login1 tbody,
    body.cert-examen-final #caja_login1 tr,
    body.cert-examen-final #caja_login1 td {
        display: block;
        width: 100%;
    }

    body.cert-examen-final #caja_login1 tr {
        margin-bottom: 10px;
    }

    body.cert-examen-final #caja_login1 td {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    body.cert-examen-final #caja_login1 input[type="submit"],
    body.cert-examen-final #caja_login1 .w2-boton,
    body.cert-examen-final #caja_login1 .w3-input,
    body.cert-examen-final #caja_login1 input[type="date"] {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    body.cert-alumno-regular #caja_formulario {
        padding: 12px;
    }

    body.cert-alumno-regular #caja_formulario .w3-input {
        max-width: none;
    }

    .w2-boton {
        width: 80%;
    }
}

/* Override: estilo visual unificado para botones submit */
input[type="submit"],
button[type="submit"],
.submit,
.w3-boton,
.w2-boton {
    background: #355B95;
    color: #fff;
    border: 1px solid #355B95;
    border-radius: 4px;
    font-family: Open Sans, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.submit:hover,
.w3-boton:hover,
.w2-boton:hover {
    background: #223a5e;
    border-color: #223a5e;
    color: #fff;
}
