body {
  background-image: url('https://clinicals-space.sfo3.cdn.digitaloceanspaces.com/dinv/ojs/body7.svg');
  background-size: cover;
  background-repeat: no-repeat;
}

.pkp_structure_content {
   width: 94% !important;
}

.pkp_structure_main {
   padding-left: 6%;
   padding-right: 6%;
}

.pkp_block, .panel {
  background-color: #fff9;
}

header.navbar.navbar-default > div.container-fluid:first-child > div.row {
    position: absolute;
    top: -11.5vw;
    left: 0;
    width: 100%;
    padding: 6px;
    z-index: 1000;
}

.navbar-brand.navbar-brand-logo {
    display: none !important;
}

.galley-link.btn.btn-primary.pdf {
   margin-right: 6px;
   border-radius: 4px !important;
   background-color: #3103fa;
}

.btn-primary {
    background-color: #3103fa;
}

#htmlContainer {
   margin-top: 24rem;
}

.pkp_page_article.pkp_op_view > div.header-container {
   display: none;
}

.col-md-4 {
   width: 25%;
}

.col-md-8 {
   width: 75%;
}

/* Responsive correction Main */
.pkp_structure_main.col-xs-12.col-sm-10.col-md-8,
.pkp_structure_sidebar.left.col-xs-12.col-sm-2.col-md-4 {
    width: 100% !important;
}
@media (min-width: 1200px) {
    .pkp_structure_main.col-xs-12.col-sm-10.col-md-8 {
        width: 75% !important;
    }
    .pkp_structure_sidebar.left.col-xs-12.col-sm-2.col-md-4 {
        width: 25% !important;
    }
}

/* Responsive correction Publications */
article.article-details .row section.article-sidebar.col-md-4,
article.article-details .row .col-md-8 {
   width: 100% !important;
}
@media (min-width: 768px) and (max-width: 991px) {
    article.article-details .row section.article-sidebar.col-md-4 {
        width: 41.66666667% !important;
    }
    article.article-details .row .col-md-8 {
        width: 58.33333332% !important;
    }
}
@media (min-width: 992px) {
  article.article-details .row section.article-sidebar.col-md-4 {
    width: 25% !important; 
  }
  article.article-details .row .col-md-8 {
        width: 75% !important;
   }
}

header .container-fluid {
    background-color: #6b3fdf !important;
}

.navbar-default .nav > li > a, .navbar-default .navbar-nav > li > a {
    color: #fff !important;
    font-weight: bold !important;
}

/* Estilos Generales del Footer */
.footer {
    padding: 0 !important;
}

.footer .container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.footer .row {
    width: 100%;
    margin: 0;
}

.footer .row .col-md-10 {
    width: 100%; /* Deja el ancho completo */
    padding: 0; /* Elimina cualquier padding interno */
}

.footer .row .col-md-2 {
    display: none; /* Mantiene oculto si es necesario */
}

.footer .container .row .col-md-10 p {
    margin: 0 !important;
}

/* Estilos de las Imágenes del Footer */
.footer-images {
    position: relative; /* Permite posicionar imágenes internas */
    width: 100%;
    text-align: center;
}

.footer-image-left {
    position: absolute;
    height: 34px;
    left: 17.5vw;
    top: 8vh;
}

.footer-image-right {
    width: 100%;
    height: auto;
}


/* GRID Revisores */

.grid-container-revisores {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.grid-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.info p {
    margin: 5px 0;
}

.info p:first-of-type {
    font-weight: bold; /* Aplica negrita al primer párrafo dentro de .info */
}

.icons a {
    margin-right: 5px;
}

.grid-container-revisores .icons img {
    width: 20px;
    height: 20px;
}


/* Equipo Editorial */

.investigadores {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.investigador {
    display: flex;
    background-color: white;
    border: 1px solid #ddd;
    padding: 4px 20px;
    border-radius: 8px;
    align-items: flex-start;
    gap: 20px;
}

.foto img {
    width: 113px;
    height: auto;
  object-fit: cover;
  margin-right: 20px;
  padding-top: 2.3rem;
  max-height: 17.5rem;
}

.info {
    flex: 1;
}

.info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 5px;
}

.role {
    font-size: 1.2rem;
    font-weight: bold;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio entre el texto del rol y los iconos */
}

.role a {
    display: inline-flex;
    align-items: center;
}

.role a img {
    width: 20px; /* Tamaño del icono */
    height: 20px;
}

.info p {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.5;
}

.info a {
    color: #007bff;
    text-decoration: none;
}

.info a:hover {
    text-decoration: underline;
}

/* Comité Científico */

section.comite-cientifico {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.miembro {
    display: flex;
    background-color: white;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    align-items: flex-start;
    gap: 20px; /* Espacio entre la imagen y el contenido */
}

.miembro h3 {
    font-size: 1.7rem;
    color: #333;
    margin-bottom: 10px;
}

.miembro p {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: unset !important;
}

.miembro a {
    color: #007bff;
    text-decoration: none;
}

.miembro a:hover {
    text-decoration: underline;
}

.miembro .icon-link {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
}

.miembro .icon-link img {
    width: 20px;
    height: 20px;
    margin-left: 5px;
}

.miembro p:last-child {
    margin-bottom: 0;
}

@media (max-width: 500px) {
    .logo-puce, .logo-monterrey, .logo-odecom { 
        display: none !important; 
    }
}

/* Responsive */

.revista-descripcion {
    display: block;
}   

@media (min-width: 501px) and (max-width: 1000px) {
    .logo-puce { 
        display: block; 
    }
    .logo-monterrey, .logo-odecom { 
        display: none !important; 
    }
}

@media (min-width: 1001px) and (max-width: 1500px) {
    .logo-puce, .logo-monterrey { 
        display: block; 
    }
    .logo-odecom { 
        display: none !important; 
    }
    .revista-descripcion {
        display: flex;
    }
}

@media (min-width: 1501px) {
    .logo-puce, .logo-monterrey, .logo-odecom { 
        display: block; 
    }
}

/* Media Queries - Estilos Responsive */

@media (max-width: 768px) {
    .investigador {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .foto img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 400px) {
    .investigador {
        padding: 10px;
    }

    .foto img {
        width: 100px;
        height: 100px;
    }

    .info h3 {
        font-size: 1.2em;
    }

    .info p {
        font-size: 0.9em;
    }

    .info .role img {
        width: 16px;
        height: 16px;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .grid-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .grid-item img {
    width: 25px;
    height: 25px;
    border-radius: 15%;
  }

  .grid-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.2em;
  }

  .grid-item p {
    margin-bottom: 10px;
  }

/* Estilos Responsivos */
  @media (max-width: 1200px) {
    .grid-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .grid-container {
      grid-template-columns: 1fr;
    }

    .grid-item img {
      width: 80px;
      height: 80px;
    }
  }

  @media (max-width: 400px) {
    .grid-item {
      padding: 10px;
    }

    .grid-item img {
      width: 25px;
      height: 25px;
    }

    .grid-item strong {
      font-size: 1.1em;
    }

    .grid-item p {
      font-size: 0.9em;
    }
}

/* Bases de indexación */

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
}

.category {
    margin-bottom: 40px;
}

.category h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.grid-item {
    text-align: center;
    padding: 10px;
    background-color: #c7c7c721;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s;
}

.grid-item:hover {
    transform: scale(1.05);
}

.grid-item img {
    width: 100px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 5px;
}

.grid-item p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

.grid-item a {
    text-decoration: none;
    color: inherit;
}


/* Estadísticas */
:root {
  --verde: #28a745;
  --rojo: #dc3545;
  --azul: #007bff;
  --gris: #6c757d;
  --fondo: #f8f9fa;
  --borde: #dee2e6;
}

.widget-estadisticas {
  max-width: 800px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.tarjeta {
  background-color: #fff;
  border: 1px solid var(--borde);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tarjeta .icono {
  font-size: 2em;
  margin-bottom: 10px;
}

.tarjeta .valor {
  font-size: 2em;
  font-weight: bold;
  margin: 10px 0;
}

.tarjeta .etiqueta {
  font-size: 0.9em;
  color: var(--gris);
}

.verde { color: var(--verde); }
.rojo { color: var(--rojo); }
.azul { color: var(--azul); }
.gris { color: var(--gris); }