/* =====================================================
   ÓRBITA - RESTAURAR COLORES DEL CONTENIDO
   ===================================================== */

/* Títulos principales del contenido */
.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_main h4,
.obj_article_details h1,
.obj_article_details h2,
.obj_article_details h3,
.page h1,
.page h2,
.page h3 {
    color: #b00000 !important;
}

/* Enlaces del contenido principal */
.pkp_structure_main a,
.obj_article_details a,
.page a,
.cmp_breadcrumbs a {
    color: #b00000 !important;
}

/* Hover de enlaces del contenido */
.pkp_structure_main a:hover,
.obj_article_details a:hover,
.page a:hover,
.cmp_breadcrumbs a:hover {
    color: #7a0000 !important;
    text-decoration: underline;
}

/* Título del artículo: negro elegante como estaba */
.obj_article_details .page_title,
.obj_article_details h1.page_title,
.obj_article_details h1 {
    color: #111111 !important;
}


/* =====================================================
   ÓRBITA - FOOTER CORREGIDO SIN DAÑAR EL RESTO
   ===================================================== */

/* Fondo del pie */
.pkp_structure_footer {
    background-color: #a70f14 !important;
    color: #ffffff !important;
}

/* Textos dentro del footer */
.pkp_structure_footer p,
.pkp_structure_footer span,
.pkp_structure_footer li,
.pkp_structure_footer div {
    color: #ffffff !important;
}

/* Títulos del footer: Sobre la revista / Información / Enlaces rápidos */
.pkp_structure_footer h1,
.pkp_structure_footer h2,
.pkp_structure_footer h3,
.pkp_structure_footer h4,
.pkp_structure_footer strong,
.pkp_structure_footer .title,
.pkp_structure_footer .blockTitle {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Enlaces solamente dentro del footer */
.pkp_structure_footer a,
.pkp_structure_footer a:link,
.pkp_structure_footer a:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Hover de enlaces del footer */
.pkp_structure_footer a:hover {
    color: #ffd6d6 !important;
    text-decoration: underline !important;
}

/* Parte inferior OJS/PKP y licencia */
.pkp_structure_footer .pkp_brand_footer,
.pkp_structure_footer .pkp_brand_footer a {
    color: #ffffff !important;
    opacity: 1 !important;
}
/* =====================================================
   ÓRBITA - CORRECCIÓN FINAL MENÚ SUPERIOR
   ===================================================== */

/* Fondo del encabezado y barra de navegación */
.pkp_structure_head,
.pkp_site_nav_menu,
.pkp_navigation_primary_wrapper {
    background-color: #c41218 !important;
}

/* Enlaces principales del menú */
.pkp_navigation_primary > li > a,
.pkp_navigation_primary > li > a:link,
.pkp_navigation_primary > li > a:visited {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Hover del menú principal */
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    color: #ffffff !important;
    background-color: #a70f14 !important;
    text-decoration: none !important;
}

/* Submenús desplegables */
.pkp_navigation_primary ul,
.pkp_navigation_primary .dropdown-menu {
    background-color: #ffffff !important;
    border-top: 3px solid #c41218 !important;
}

/* Enlaces dentro de submenús */
.pkp_navigation_primary ul a,
.pkp_navigation_primary .dropdown-menu a {
    color: #222222 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
}

/* Hover dentro de submenús */
.pkp_navigation_primary ul a:hover,
.pkp_navigation_primary .dropdown-menu a:hover {
    color: #c41218 !important;
    background-color: #f8eeee !important;
}

/* Usuario / Registrarse / Entrar */
.pkp_navigation_user a,
.pkp_navigation_user a:link,
.pkp_navigation_user a:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}

.pkp_navigation_user a:hover {
    color: #ffd6d6 !important;
}


/* =====================================================
   ÓRBITA - CORRECCIÓN FINAL FOOTER
   ===================================================== */

/* Fondo general del footer */
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
    background-color: #a70f14 !important;
}

/* Evitar franjas laterales negras en el área del footer */
.pkp_structure_footer_wrapper {
    width: 100% !important;
}

/* Contenedor interno del footer */
.pkp_structure_footer {
    color: #ffffff !important;
    border-top: 4px solid #c41218 !important;
}

/* Textos del footer */
.pkp_structure_footer p,
.pkp_structure_footer span,
.pkp_structure_footer li,
.pkp_structure_footer div {
    color: #ffffff !important;
}

/* Títulos del footer */
.pkp_structure_footer h1,
.pkp_structure_footer h2,
.pkp_structure_footer h3,
.pkp_structure_footer h4,
.pkp_structure_footer strong,
.pkp_structure_footer .title,
.pkp_structure_footer .blockTitle {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Enlaces solo dentro del footer */
.pkp_structure_footer a,
.pkp_structure_footer a:link,
.pkp_structure_footer a:visited {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

/* Hover footer */
.pkp_structure_footer a:hover {
    color: #ffd6d6 !important;
    text-decoration: underline !important;
}

/* Bloque oscuro del footer: Anual / Acceso abierto / Doble ciego */
.pkp_structure_footer .footer-info-bar,
.pkp_structure_footer .footer-highlights,
.pkp_structure_footer .footer-card,
.pkp_structure_footer div[style*="background"] {
    color: #ffffff !important;
}

/* Parte inferior OJS/PKP */
.pkp_structure_footer .pkp_brand_footer,
.pkp_structure_footer .pkp_brand_footer a {
    color: #ffffff !important;
    opacity: 1 !important;
}
/* =====================================================
   ÓRBITA - MENÚ SUPERIOR ROJO
   ===================================================== */

.pkp_structure_head,
.pkp_site_nav_menu,
.pkp_navigation_primary_wrapper,
.pkp_navigation_primary_row {
    background: #c41218 !important;
    background-color: #c41218 !important;
}

/* Menú principal */
.pkp_navigation_primary > li > a,
.pkp_navigation_primary > li > a:link,
.pkp_navigation_primary > li > a:visited {
    color: #ffffff !important;
    background: transparent !important;
    font-weight: 700 !important;
}

/* Hover del menú */
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    color: #ffffff !important;
    background-color: #a70f14 !important;
}

/* Botón Buscar */
.pkp_search_desktop .search_prompt,
.pkp_search .search_prompt {
    background-color: #c41218 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
/* =====================================================
   ÓRBITA - CORRECCIÓN FRANJA SUPERIOR DE GALERADA PDF
   ===================================================== */

/* Barra superior donde sale el título del artículo */
.header_view,
.header_view .title,
.header_view .return,
.header_view .download,
.header_view .download a,
.header_view a {
    background-color: #c41218 !important;
    background: #c41218 !important;
    color: #ffffff !important;
    border-color: #a70f14 !important;
}

/* Texto del título de la galerada */
.header_view .title,
.header_view .title a {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Botón de regresar */
.header_view .return,
.header_view .return a {
    background-color: #c41218 !important;
    color: #ffffff !important;
}

/* Botón Descargar */
.header_view .download,
.header_view .download a {
    background-color: #ffffff !important;
    color: #c41218 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Hover del botón Descargar */
.header_view .download:hover,
.header_view .download a:hover {
    background-color: #f5dada !important;
    color: #a70f14 !important;
}

/* Íconos de la barra superior */
.header_view .fa,
.header_view .fas,
.header_view .glyphicon {
    color: inherit !important;
}
/* =====================================================
   ÓRBITA - FRANJA SUPERIOR DE LA GALERADA PDF
   Detectado en DevTools: header.header_view
   ===================================================== */

html body.pkp_page_article.pkp_op_view header.header_view {
    background: #c41218 !important;
    background-color: #c41218 !important;
    border-bottom: 1px solid #a70f14 !important;
}

/* Botón volver */
html body.pkp_page_article.pkp_op_view header.header_view a.return {
    background: #c41218 !important;
    background-color: #c41218 !important;
    color: #ffffff !important;
}

/* Título de la galerada */
html body.pkp_page_article.pkp_op_view header.header_view a.title,
html body.pkp_page_article.pkp_op_view header.header_view .title {
    background: #c41218 !important;
    background-color: #c41218 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Hover y focus del título */
html body.pkp_page_article.pkp_op_view header.header_view a.title:hover,
html body.pkp_page_article.pkp_op_view header.header_view a.title:focus {
    background: #a70f14 !important;
    background-color: #a70f14 !important;
    color: #ffffff !important;
}

/* Botón Descargar */
html body.pkp_page_article.pkp_op_view header.header_view a.download {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #c41218 !important;
    font-weight: 700 !important;
}

/* Hover Descargar */
html body.pkp_page_article.pkp_op_view header.header_view a.download:hover,
html body.pkp_page_article.pkp_op_view header.header_view a.download:focus {
    background: #f5dada !important;
    background-color: #f5dada !important;
    color: #a70f14 !important;
}
/* =====================================================
   ÓRBITA - CORRECCIÓN MENÚ DE USUARIO ADMIN
   ===================================================== */

/* Nombre de usuario en la parte superior */
.pkp_navigation_user > li > a,
.pkp_navigation_user > li > a:link,
.pkp_navigation_user > li > a:visited {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Fondo del desplegable del usuario */
.pkp_navigation_user ul,
.pkp_navigation_user .dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid #dddddd !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
}

/* Opciones del desplegable: Panel de control, Ver perfil, Administración, Salir */
.pkp_navigation_user ul li a,
.pkp_navigation_user .dropdown-menu li a,
.pkp_navigation_user ul a,
.pkp_navigation_user .dropdown-menu a {
    color: #222222 !important;
    background-color: #ffffff !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

/* Hover de opciones del usuario */
.pkp_navigation_user ul li a:hover,
.pkp_navigation_user ul li a:focus,
.pkp_navigation_user .dropdown-menu li a:hover,
.pkp_navigation_user .dropdown-menu li a:focus {
    color: #ffffff !important;
    background-color: #c41218 !important;
}

/* Opción activa o seleccionada */
.pkp_navigation_user ul li.current a,
.pkp_navigation_user .dropdown-menu li.current a,
.pkp_navigation_user ul li a.is-active {
    color: #ffffff !important;
    background-color: #a70f14 !important;
}
/* Refuerzo para menú usuario OJS */
.pkp_navigation_user .task_count,
.pkp_navigation_user .profile a,
.pkp_navigation_user .dropdown a {
    color: #222222 !important;
}

.pkp_navigation_user .dropdown a:hover {
    color: #ffffff !important;
    background-color: #c41218 !important;
}
/* =====================================================
   ÓRBITA - ARREGLO DEFINITIVO MENÚ ADMIN / USUARIO
   ===================================================== */

/* Caja desplegable del usuario */
html body .pkp_navigation_user > li > ul,
html body .pkp_navigation_user ul,
html body .pkp_navigation_user .dropdown-menu {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #d9d9d9 !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25) !important;
    min-width: 190px !important;
    padding: 6px 0 !important;
}

/* Texto de las opciones del menú desplegable */
html body .pkp_navigation_user > li > ul > li > a,
html body .pkp_navigation_user ul li a,
html body .pkp_navigation_user .dropdown-menu li a,
html body .pkp_navigation_user .dropdown-menu a {
    color: #222222 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    display: block !important;
    padding: 9px 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hover: al pasar el mouse */
html body .pkp_navigation_user > li > ul > li > a:hover,
html body .pkp_navigation_user ul li a:hover,
html body .pkp_navigation_user .dropdown-menu li a:hover,
html body .pkp_navigation_user > li > ul > li > a:focus,
html body .pkp_navigation_user ul li a:focus,
html body .pkp_navigation_user .dropdown-menu li a:focus {
    color: #ffffff !important;
    background: #c41218 !important;
    background-color: #c41218 !important;
}

/* Nombre adminorbita23 arriba */
html body .pkp_navigation_user > li > a {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Número de notificaciones */
html body .pkp_navigation_user .task_count {
    background: #d94141 !important;
    color: #ffffff !important;
}
/* =====================================================
   ÓRBITA - SOLUCIÓN DEFINITIVA MENÚ ADMIN
   Fondo oscuro para que las letras blancas se vean
   ===================================================== */

html body .pkp_navigation_user ul,
html body .pkp_navigation_user li ul,
html body .pkp_navigation_user .dropdown-menu,
html body .pkp_navigation_user > li > ul {
    background: #8f0c10 !important;
    background-color: #8f0c10 !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35) !important;
    padding: 6px 0 !important;
}

/* Todas las opciones internas del menú */
html body .pkp_navigation_user ul li,
html body .pkp_navigation_user li ul li,
html body .pkp_navigation_user .dropdown-menu li {
    background: #8f0c10 !important;
    background-color: #8f0c10 !important;
}

/* Enlaces del desplegable: Panel de control, Ver perfil, Administración, Salir */
html body .pkp_navigation_user ul li a,
html body .pkp_navigation_user li ul li a,
html body .pkp_navigation_user .dropdown-menu li a,
html body .pkp_navigation_user > li > ul > li > a {
    color: #ffffff !important;
    background: #8f0c10 !important;
    background-color: #8f0c10 !important;
    display: block !important;
    padding: 10px 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

/* Al pasar el mouse */
html body .pkp_navigation_user ul li a:hover,
html body .pkp_navigation_user li ul li a:hover,
html body .pkp_navigation_user .dropdown-menu li a:hover,
html body .pkp_navigation_user > li > ul > li > a:hover,
html body .pkp_navigation_user ul li a:focus,
html body .pkp_navigation_user li ul li a:focus,
html body .pkp_navigation_user .dropdown-menu li a:focus,
html body .pkp_navigation_user > li > ul > li > a:focus {
    color: #ffffff !important;
    background: #c41218 !important;
    background-color: #c41218 !important;
}

/* Usuario adminorbita23 arriba */
html body .pkp_navigation_user > li > a {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Burbuja de notificaciones */
html body .pkp_navigation_user .task_count {
    background: #d94141 !important;
    color: #ffffff !important;
}