/***********************************************************/
/*                                                         */
/* Plataforma e-ducativa INFD - Argentina                  */
/*                                                         */
/* Copyright (c) 2026 de e-ducativa Educación Virtual S.A. */
/*                                                         */
/***********************************************************/
/*  Estilos especificos del skin redinfod en vista de usuario
    sobreescribe propiedades de otras hojas de estilos */

/* Variables: el footer de redinfod tiene 2 filas (logos + powered by) */
:root {
    --footer-height: 156px;
}

/* Links INFD */
.infd_links {
    width: 100%;
    margin-bottom: -26px;
    text-align: right;
    transition-duration: 1s;
    box-sizing: border-box;
}

.not-logged .infd_links {
    margin-top: -43px;
}

.infd_links a {
    display: inline-block;
    border-bottom: 2px solid transparent;
    padding: 10px 14px;
    font-size: .81rem;
    color: #2f2f2f;
    text-decoration: none;
}

.infd_links a:hover {
    border-bottom: 2px solid #757575;
    background-color: rgb(255, 255, 255);
}

.infd_links a.video-tutoriales {
    color: var(--variable-color-plataforma-contraste);
    background-color: var(--variable-color-plataforma);
}

.infd_links a.video-tutoriales:hover {
    color: var(--variable-color-plataforma-contraste);
    background-color: var(--variable-color-plataforma-gamma2);
}

@media only screen and (max-width : 480px) {
    .infd_links {
        text-align: center;
    }
}

@media only screen and (max-width : 435px) {
    .infd_links a {
        padding: 10px 5px;
    }
}

/* Nuevo style login 2020 (reescribe acceso.css) */
#wrapper {
    min-height: calc(100% - var(--footer-height));
}

.con_imagen>#wrapper {
    min-height: calc(100% - var(--footer-height));
}

#wrapper.login_style_2 .infd_links {
    margin-top: 0px;
    position: absolute;
    right: 0;
    z-index: 1;
}

#acceso_frame.login_style_2 {
    min-height: calc(100vh - 300px);
    max-width: 360px;
}

#acceso_frame.login_style_2>#titulo_portada_login {
    padding: 26px 20px 8px;
}

#acceso_frame.login_style_2>#menu_login {
    margin-top: 28px;
}

body.not-logged #wrapper {
    margin-top: 0;
}

/* Footer */
#footer a {
    opacity: 1;
    margin: 0;
    padding: 0;
}

#footer a:hover {
    padding: 0;
}

/* ========================================
   Footer especifico para redinfod
   Estructura de dos filas dentro de powered_by
   ======================================== */

footer.footer { box-shadow: 0 -2px 6px rgba(0, 0, 0, .1); }

/* Asegurar que footer_wrapper sea block para layout correcto */
.footer_wrapper {
    display: block;
}

/* Resetear estilos de base.css (axis) y aplicar estructura de columna */
#footer .powered_by {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    background-color: transparent;
    box-sizing: border-box;
}

/* Primera fila: logos institucionales con fondo blanco */
#footer .powered_by .infd_logos {
    width: 100%;
    padding: 20px 10px;
    text-align: center;
    background-color: #fff;
    box-sizing: border-box;
}

#footer .powered_by .infd_logos a {
    display: inline-block;
    vertical-align: middle;
}

#footer .powered_by .infd_logos a:last-child {
    margin-left: 20px;
}

#footer .powered_by .infd_logos img {
    vertical-align: middle;
}

/* Segunda fila: footer text + powered by con fondo oscuro */
#footer .powered_by .powered {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
    background-color: #232323;
    box-sizing: border-box;
}

#footer .powered_by .footer_text {
    flex: 0 0 auto;
    font-weight: 300;
    font-size: .875rem;
    color: #ffffff;
}

#footer .powered_by .powered_text {
    color: #878787;
    font-size: .93rem;
    white-space: nowrap;
}

#footer .powered_by .powered_text a {
    color: #a5a5a5;
    text-decoration: none;
}

#footer .powered_by .powered_text a:hover {
    color: #fff;
}

/* Responsive: logos apilados verticalmente en mobile */
@media only screen and (max-width: 768px) {
    #footer .powered_by .infd_logos a {
        display: block;
        margin-left: 0;
        margin-bottom: 10px;
    }

    #footer .powered_by .powered {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #footer .powered_by .powered_text {
        white-space: normal;
    }
}

/* Indice de programa */
.prg_indice .dot.visible::before {
    visibility: hidden;
}

/* Indice resumido de programa */
@media only screen and (min-width : 961px) {
    .indice_resumido .infd_links {
        width: 80%;
    }
}

/* responsive.css */
@media only screen and (max-width : 1200px) {
    #section {
        border-bottom: none;
    }

    #footer {
        border-top: 1px solid #e2e2e2;
    }
}

/* Landing page de validacion de certificados
No se muestra nombre de aula para INFD */
.cert_validate .info_box .course {
    display: none;
}
