body {
  font-family: 'Lato', Trebuchet MS, Helvetica, Arial, sans-serif !important; 

}
#pdfCanvasContainer {
    position: relative;
}
.galley_view iframe {
    padding-top: 0px;
}
.media-body {
    width: 100%;
}

img {
    max-width: 100%;
}

.highlights > .carousel > .carousel-inner > .item > .carousel-caption > div p{
  font-size: calc(7px + .5vw) !important;
}
/* Paragraphs */
p {
  font-size: 16px!important;
  font-weight: 400; /* Regular weight */
  text-align: justify;
  text-justify: inter-word;
    font-style: normal;
    font-display: swap;
}

/* Headings */
h1 {
  font-size: 2em!important;
  font-weight: 700; /* Bold */
}

h2 {
  font-size: 1.75em!important;
  font-weight: 600; /* Semibold */
}

h3 {
  font-size: 1.5em!important;
  font-weight: 600; /* Semibold */
}

h4 {
  font-size: 1.25em!important;
  font-weight: 600; /* Semibold */
}

h5 {
  font-size: 1em!important;
  font-weight: 600; /* Semibold */
}

h6 {
  font-size: 0.875em!important;
  font-weight: 600; /* Semibold */
}
/* carousel */

.carousel-inner img{
    width: 100%;
}

.pkp_block .title {
    color: #fff;
    background: #1179C3;
background: linear-gradient(270deg, rgba(17, 121, 195, 1) 0%, rgba(13, 61, 136, 1) 100%);
    border-color: #ecf0f1;
    font-size: 1.4em !important;
    font-weight: 400;
}
.pkp_block .title h2{
    font-size: 1.5em !important;
    font-weight: 400;
}
/* buttons & links */

a {
    color: #5eb1bf !important;
}
.pager a, .pager a:hover {
    color: #fff !important;
}

.pkp_block.block_make_submission a {
    color: #fff !important;
    background-color: #0d3d88 !important;
    border: solid 1px #fff;
    text-transform: uppercase;
    font-size: 0.85em;
}

.pkp_block.block_make_submission a:hover {
    color: #0d3d88 !important;
    background-color: #fff !important;
    border-color: #0d3d88 !important;
}

.btn-default {
    border: solid 1px #fff;
    background-color: #0d3d88 !important;
    border-color: #fff !important;
    text-transform: uppercase;
    font-size: 0.85em;
}

.btn-default:hover {
    color: #0d3d88 !important;
    background-color: #fff !important;
    border-color: #0d3d88 !important;
}

.alert-info {
    font-size: 17px !important;
}
.alert-info a{
    color: #dad095 !important;
}

.article-details .download .btn {
    margin: .5em 0;
    display: inline-block !important;
}

/* Acerca de */

.page-header{ margin-bottom:0 !important; }

#description{
    background-color: #f1f1f1;
    padding: 15px;
    color: #000;
    border: 1px #ddd solid;
}


/* ARCHIVES */
.issues > .media{
    border: solid red 0px;
    display: inline-grid;
    margin: 2%;
    width: 28%;
}
.issues > .media > .media-left{
    margin-bottom: 15px;
}
.issues > .media > .media-left img{
    border: solid #ccc 1px;
    box-shadow: 2px 2px 10px #00000066;
    max-width: 100%;
    width: 100%;
}
.issues > .media > .media-body{
    width: 100% !important;
}
.issues > .media > .media-body h2{
    font-size: 1.25em!important;
}
.issues > .media > .media-left, .media-right, .media-body{
    display: inline-block !important;    
}

/* FOOTER */

.ojs-logo {
    max-width: 50% !important;
    float: right;
}

.footer p{
  text-align: left;
  text-justify: none;
    font-size: 16px !important;
}

/**/

@media (min-width: 1600px) {
    .container {
        width: 1570px;
    }
}

/*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*-|-*/

/* --- RESET Y MEJORAS GENERALES DEL HEADER --- */

.navbar-default, .header_view {
    background-image: url(header-2026.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #1a315c;
    border: none;
    display: flex;
    flex-direction: column;
}

/* Barra superior (Usuario e Idiomas) */
#headerNavigationContainer .container-fluid {
    background: rgba(0, 0, 0, 0.2); /* Sutil separación visual */
    width: 100%;
}

#navigationUser {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 5px 0;
}

#navigationUser > li > a {
    color: #fff !important;
    font-size: 13px;
}

/* --- CUERPO PRINCIPAL DEL HEADER --- */

.container-fluid-2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
    max-width: 1200px; /* Ajustable según tu diseño */
    margin: 0 auto;
    width: 100%;
}

.navbar-header {
    margin: 0;
    display: flex;
    align-items: center;
}

.navbar-brand {
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

.navbar-brand img {
    max-height: 100px; /* Tamaño controlado del logo */
    width: auto;
    transition: transform 0.3s ease;
}

/* Buscador */
.pull-md-right {
    margin: 0;
    display: flex;
    align-items: center;
}

.navbar-form {
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.navbar-form .form-control {
    border-radius: 3px;
    border: 1px solid #ccc;
    padding: 6px 15px;
}

/* --- MENÚ DE NAVEGACIÓN PRINCIPAL --- */

#nav-menu {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 15px;
}

.navbar-nav {
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.navbar-nav > li > a {
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 20px !important;
}

.navbar-nav > li > a:hover {
    background: rgba(255,255,255,0.5);
    text-decoration: underline;
}

/* --- RESPONSIVE DESIGN --- */

@media (max-width: 991px) {
    /* 1. Contenedor principal del Header */
    .container-fluid-2 {
        flex-direction: column;
        padding: 15px;
    }
    
    /* 2. Alineación del Logo y Botón Hamburguesa */
    .navbar-header {
        width: 100%;
        display: flex;
        justify-content: space-between; /* Empuja el logo a la izq y botón a la der */
        align-items: center;
    }
    .site-name {
        order: 1;
        margin: 0;
    }
    
    /* Forzar visibilidad de la Hamburguesa */
    .navbar-toggle {
        display: block !important; /* Sobrescribe la ocultación de Bootstrap */
        order: 2;
        margin: 0;
        border-color: #fff;
    }
    .navbar-toggle .icon-bar {
        background-color: #fff;
    }

    /* 3. Ocultar el menú vertical y activar el colapso */
    .navbar-collapse.collapse {
        display: none !important; /* Oculta la lista por defecto */
    }
    .navbar-collapse.collapse.in {
        display: block !important; /* Muestra la lista al tocar la hamburguesa */
        width: 100%;
        background: rgba(26, 49, 92, 0.98);
        margin-top: 15px;
        border-radius: 5px;
        padding: 10px 0;
    }
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    .navbar-nav > li > a {
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 12px 20px !important;
    }

    /* 4. Buscador en una línea con Lupa */
    .pull-md-right {
        margin-top: 15px;
        order: 3;
        width: 100%;
    }
    .navbar-form {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .navbar-form .form-group {
        flex-grow: 1;
        margin: 0;
    }
    .navbar-form .form-control {
        width: 100% !important;
        border-radius: 3px 0 0 3px;
    }
    .navbar-form .btn-default {
        border-radius: 0 3px 3px 0;
        margin-left: -1px;
        font-size: 0; /* Oculta el texto */
        padding: 6px 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .navbar-form .btn-default::before {
        content: "🔍";
        font-size: 16px;
    }
}

/* Reducir tamaño del logo solo en móviles pequeños */
@media (max-width: 767px) {
    .navbar-brand img {
        max-height: 70px;
    }
}