@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

a {
    color: #7d9bc0;
}

.article .document {
    width: 65% !important;
}


.obj_announcement_summary .read_more,
.pkp_page_index .current_issue .read_more {
    color: #7d9bc0 !important;
}

.pkp_page_article {
    text-align: justify;
}


.obj_issue_toc .section>h3 {
    font-size: 20px;
    color: #7d9bc0;
    font-weight: 600;
}

.pkp_nav_list ul a {
    color: #7d9bc0 !important;
    font-family: 'Montserrat', serif !important;
    font-size: 15px;
    background: white;
    transition: all 300ms;
}

.pkp_nav_list ul a:hover,
.pkp_nav_list ul a:focus,
.pkp_navigation_primary .dropdown-menu a:hover {
    border-color: #7d9bc0 !important;
    background: #7d9bc0;
    transition: all 300ms;
    font-weight: bold;
    color: #ffffff !important;
}

body {
    font-family: 'Montserrat', serif !important;
    min-width: 394px;
}

.obj_article_summary>.title {
    font-family: 'Montserrat', serif !important;
}

.obj_article_summary>.title a {
    color: #7d9bc0 !important;
    font-size: 16px;
}

.cmp_button, .cmp_form .buttons button, .page_lost_password .buttons button, .page_search .submit button, .block_make_submission a {
    display: inline-block;
    padding: 0 1em;
    background: #eee;
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-top-color: #bbb;
    border-radius: 3px;
    box-shadow: inset 0 -1em 1em rgba(0, 0, 0, 0.1);
    font-size: .93rem;
    line-height: calc(2.143rem - 2px);
    font-weight: 700;
    color: #7d9bc0;
    text-decoration: none;
}

.page_search .submit button:after {
    right: 64px !important;
    left: -21px;
    background: #7d9bc0;
    
}
.page_search .submit button:hover:after, .page_search .submit button:focus:after {
    box-shadow: inset 0 1em 1em rgba(0, 0, 0, 0.2);
    background: #7d9bc0;
}

.cmp_form .buttons button{
color: #fff;
background:#7d9bc0;
transition: all 300ms;
}
.cmp_form .buttons button:hover{
color: #fff;
background:#7d9bc0;
transition: all 300ms;
}

.obj_galley_link {
    border: none;
    color: #7d9bc0;
}

.obj_galley_link:hover,
.obj_galley_link:focus {
    transform: scale(1.0rem);
    background: none;
    border: none;
}

.obj_galley_link:before {
    display: none;
}

.obj_galley_link li a img:hover {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.obj_issue_toc .galleys_links li {
    display: inline-block;
    margin-right: 0;
}

.page_issue_archive .issues_archive>li {
    width: 33.3% !important;
    float: left !important;
    height: 345px !important;
}

.page_issue_archive img {
    height: 250px !important;
}

.pkp_page_issue .obj_issue_summary .description,
.pkp_page_politicas .page_title,
.pkp_brand_footer,
.author_guidelines h2 {
    display: none;
}

.page_title {
    text-align: center !important;
}

.pkp_page_enfoque_alcance ul li,
.pkp_page_politicas ul li,
.pkp_page_equipo ul li {
    list-style: none;
}

.pkp_page_enfoque_alcance ul,
.pkp_page_politicas ul,
.pkp_page_equipo ul {
    padding-inline-start: 0px;
}

.pkp_page_enfoque_alcance,
.pkp_page_politicas,
.pkp_page_proceso_evaluacion,
.description,
.pkp_footer_content {
    text-align: left;
}

.pkp_footer_content {
    padding: 0;
}

.indices {
    width: 100%;
}

.indices td {
    width: 25%;
    padding: 15px;
}

.block_make_submission_link {
    width: 100% !important;
    text-align: center !important;
}

.pkp_page_normasautores .pkp_structure_main h1,
.pkp_page_lineamientos_eticac .pkp_structure_main h1 {
    margin: 0px 0 20px !important;
    text-transform: uppercase;
    text-align: center;
}

.estadisticas_block {
    width: 100%;
}

.block_make_submission a,
.pkp_search button[type="submit"] {
    font-size: 14px !important;
    padding: 0.2em 1em !important;
    background: #7d9bc0 !important;
    border: 1px solid #7d9bc0 !important;
    border-top-color: #7d9bc0 !important;
    border-radius: 10px;
    color: #ffffff !important;
    font-family: 'Montserrat', serif !important;
    transition: all 400ms;
    box-shadow: none !important;
}

.block_make_submission a:hover {
    background: #7d9bc0 !important;
    transition: all 400ms;
}

.pkp_block .title {
    background: #7d9bc0 !important;
    border: 1px solid #7d9bc0 !important;
    border-radius: 10px;
    color: #ffffff !important;
    width: 100%;
    text-align: center;
    padding: 8px 1em
}

.pkp_block .content iframe {
    max-width: 100%;
}

.form-input-block {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 8px 5px;
}

.tabs {
    position: relative;
    min-height: 500px;
    min-width: 450px;
    clear: both;
    margin: 25px 0;
}

.tab {
    width: 25%;
}

.tab label {
    background: #eee;
    padding: 5px;
    border: 1px solid #ccc;
    margin-left: -1px;
    position: relative;
    left: 1px;
    display: block;
}

.tab [type="radio"] {
    opacity: 0;
    display: none;
}

.contenido {
    position: absolute;
    top: 0;
    left: 25%;
    background: white;
    right: 0;
    bottom: 0;
    padding: 0 20px;
    border: 1px solid #ccc;
    height: 100%;
    overflow: auto;
    text-align: justify;
}

.tab [type="radio"]:checked~label {
    background: white;
    border-right: 1px solid white;
    z-index: 2;
}

.tab [type="radio"]:checked~label~.contenido {
    z-index: 1;
}

.tab [type="radio"]:checked~label~.contenido>* {
    opacity: 1;
    transform: translateX(0);
}

.obj_issue_toc .sections:not(:first-child) {
    margin-top: 10px;
}

.pkp_structure_main {
    padding: 0 30px 5px !important;
}

.obj_issue_toc .galleys,
.obj_issue_toc .section {
    margin: 0px -30px;
    padding-bottom: 0;
}

.pkp_structure_main h1,
.pkp_structure_main h3,
.pkp_structure_main h4 {
    margin: 10px 0 10px;
    font-family: 'Montserrat', serif !important;
}

    .pkp_navigation_primary>li:last-child a {
        margin-right: initial;
    }

    .pkp_navigation_user>li:last-child>a {
        margin-right: initial;
    }

    .page_contact .contact {
        width: 100%;
    }

.pkp_structure_main h2 {
    color: #7d9bc0;
    font-family: 'Montserrat', serif !important;
}

.block-title {
    color: #7d9bc0;
    font-family: 'Montserrat', serif !important;
    font-size: medium;
    font-weight: 700;
}

::-webkit-scrollbar {
    width: 5px;
    height: 30px;
}

::-webkit-scrollbar-track {
    background: #f1f1f182;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #7d9bc0;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7d9bc0;
}

.pkp_structure_main:before,
.pkp_structure_main:after {
    background: #dddddd00;
}

.obj_issue_toc .galleys:before,
.obj_issue_toc .section:before {
    border-top: 1px solid #7d9bc0;
}

.current_issue_title {
    color: #7d9bc0;
    font-size: 2rem;
    font-weight: 400 !important;
}

.obj_issue_toc .published .label {
    font-weight: 700;
    color: #7d9bc0;
}

.popover__wrapper {
    position: relative;
    margin-top: 5px;
    margin: 0 8px;
}

.popover__content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transform: translate(0, 10px);
    background-color: #bfbfbf;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    width: auto;
}

.popover__content:before {
    position: absolute;
    z-index: -1;
    content: "";
    right: calc(50% - 10px);
    top: -8px;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #bfbfbf transparent;
    transition-duration: 0.3s;
    transition-property: transform;
}

.popover__wrapper:hover .popover__content {
    z-index: 10;
    opacity: 1;
    visibility: visible;
    transform: translate(0, -20px);
    transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}

.popover__message {
    text-align: center;
}

@media (min-width: 768px) {
    .pkp_op_archive .obj_issue_summary a {
        width: 100% !important;
    }

}

@media (min-width: 990px) {
    .has_site_logo .pkp_head_wrapper {
        width: 100%;
    }

    .pkp_navigation_primary {
        max-width: 100%;
    }

    .has_site_logo .pkp_head_wrapper {
        padding-top: 0px;
    }

    .buscar_block {
        top: 10px !important;
        width: 100%;
    }

    .pkp_site_name_wrapper {
        height: auto;
        width: 100%;
    }

    .eg-icon {
        max-width: 16px;
        margin-bottom: -4px;
        width: 1.1vw;
        height: auto;
    }

    .pkp_navigation_user li {
        background: #7d9bc0;
        border-radius: 5px;
    }
}

.pkp_site_name .is_img {
    padding-bottom: 0px !important;
}

.pkp_navigation_primary_wrapper .pkp_search {
    display: none;
}

.pkp_navigation_user>li>a {
    font-family: 'Montserrat', serif !important;
    font-size: 15px;
}

.pkp_navigation_user a {
    color: white !important;
}

.pkp_structure_head {
    background-color: white;
    color: black;
}

.pkp_site_name .is_img img {
    max-width: 100%;
    height: auto;
    width: auto;
    max-height: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -5px;
    margin-bottom: -5px;
}

.pkp_head_wrapper {
    padding: 0 !important;
    width: 100% !important;
}

.pkp_site_name_wrapper {
    width: 100%;
    padding: 0;
}

.pkp_site_nav_menu {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
}

#navigationPrimary li a {
    color: white;
    font-family: 'Montserrat', serif !important;
}

.pkp_site_nav_menu {
    background: #7d9bc0;
}

.pkp_nav_list ul {
    background: #7d9bc0 !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5);
    border: 2px solid #7d9bc0;
}

.pkp_search_desktop .search_prompt {
    color: black;
}

.pkp_structure_footer_wrapper {
    background: #7d9bc0;
    font-size: small;
    color: white;
}

.pkp_structure_footer_wrapper a {
    color: white;
}

.pkp_structure_footer_wrapper a:hover {
    color: #7d9bc0;
    transition: all 400ms;
}

.img-estadisticas {
    cursor: pointer;
    height: auto;
}

.img-estadisticas:hover {
    box-shadow: 0 0 3px 3px #7d9bc0;
}

.div-estadisticas {
    text-align: center;
    padding: 15px;
    display: flex;
}

.img-cintillo-footer {
    text-align: center;
}

.pkp_brand_footer {
    display: none;
}

.pkp_page_normasautores .pkp_structure_main h1 {
    text-transform: none;
    text-align: start;
}

.pkp_page_lineamientos_eticac .pkp_structure_main h1 {
    text-transform: none;
    text-align: start;
}

.pkp_page_enfoque_alcance .pkp_structure_main h1,
.pkp_page_equipo .pkp_structure_main h1 {
    display: none;
}

div.title1 {
    font-family: 'Montserrat', serif !important;
    font-size: 24px;
    font-weight: bold;
}

.hover-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-text {
    opacity: 0; 
    position: absolute;
    top: -110%;
    left: 50%;
    transform: translate(-50%, -0%);
    border-radius: 10px;
    background-color: #7d9bc0;
    padding: 1px 5px;
    color: white;
    transition: opacity 0.4s ease, transform 0.4s ease; 
    pointer-events: none; 
}

.hover-container:hover .hover-text {
    opacity: 1; 
    transform: translate(-50%, -60%); 
    pointer-events: auto; /
}

.eg-icon-galley {
    max-width: 35px;
    height: auto;
    margin-right: 0px;
    transition: transform 0.4s ease; 
    display: block;
}

.hover-container:hover .eg-icon-galley {
    transform: scale(1.1);
}


@media(min-width:992px) {
    .pkp_navigation_primary_wrapper .pkp_navigation_primary {
        display: flex;
        justify-content: space-around;
        align-items: center;
        font-size: 0.85vw;
        width: 98vw;
    }

    .pkp_navigation_primary_wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .pkp_navigation_primary>li>a {
        padding: .657rem .5em calc(.714rem - 2px);
        border-bottom: 2px solid transparent;
        color: #fff;
        text-decoration: none;
    }
}

@media(max-width:992px) {
    .pkp_site_name_wrapper {
        background: #7d9bc0;
    }

    .pkp_site_name {
        padding-left: 0px;
    }

    .pkp_site_name_wrapper {
        height: 105px;
    }

    .pkp_site_nav_menu a {
        color: #000000;
    }

    .pkp_nav_list ul a {
        background: #7d9bc0 !important;
        font-family: 'Montserrat', serif !important;
        font-size: 15px;
        color: white !important;
        transition: all 300ms;
    }
}

@media(max-width:989px) {
    .pkp_structure_main {
    margin-top: 65px;}
}

}

@media(max-width:770px) {
    .pkp_site_name_wrapper {
        height: 80px;
    }
}

@media(max-width:710px) {
    .pkp_site_name_wrapper {
        height: 70px;
    }
}

@media(max-width:610px) {
    .pkp_site_name_wrapper {
        height: 60px;
    }
}

@media(max-width:510px) {
    .pkp_site_name_wrapper {
        height: 50px;
    }

    .page_issue_archive .issues_archive>li {
        height: 290px !important;
    }

    .page_issue_archive img {
        height: 150px !important;
    }

}

@media(max-width:410px) {
    .pkp_site_name_wrapper {
        height: 40px;
    }

    .page_issue_archive .issues_archive>li {
        height: 290px !important;
    }

    .page_issue_archive img {
        height: 150px !important;
    }
}

.item.article-statistics li {
    list-style: none;
}

.header_view .return {
    background: #7d9bc0;
    color: #ffffff;
}

.header_view .return:hover,
.header_view .return:focus {
    background: #7d9bc0;
}

.header_view {
    background: transparent !important;
}

.header_view .title:hover,
.header_view .title:focus {
    background: none;
    text-decoration: underline;
}

.header_view .title {
    margin-left: 30px;
    padding-left: 10px;
    display: block;
    text-overflow: ellipsis;
    color: #000;
    height: 30px;
    line-height: 30px;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: transparent;
    font-family: Calibri !important;
    font-size: 20px !important;
}

audio::-webkit-media-controls-enclosure {
    background-color: #7d9bc0;
}

audio::-moz-media-controls-enclosure {
    background-color: #7d9bc0;
}

section.item p {
    word-break: break-word;
}

.galley_view {
    justify-content: center;
    display: flex;
    align-items: center;
}

.cmp_notification {
    background: #fff;
    border-left: 0.357rem solid #7d9bc0;
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:focus {
        background: none !important;
    }

    .pkp_navigation_user>li>a:focus {
        background: none !important;
    }
}

.pkp_structure_main p {
    text-align: justify;
}

.pkp_structure_main ul {
    text-align: justify;
}

.pkp_structure_main ol {
    text-align: justify;
}

div.sparkline img {
    display: none !important;
}

#widgetIframe h6 {
    color: #7d9bc0 !important;
    font-size: 16px;
}
/* Overrides tuyos */
.pkp_structure_footer { 
  width: 100% !important;
}
.pkp_footer_content {
  padding: 0;
}

/* ====== Footer UCN/OPS ====== */
.pkp_structure_footer {
  background: #7f9bb8; /* azul de la referencia */
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
}

/* Layout principal: izquierda logos, centro sedes (4 col), derecha OPS */
.pkp_structure_footer .footer-top{
  display: grid;
  grid-template-columns: minmax(280px,420px) 1fr minmax(180px,260px);
  gap: 32px;
  align-items: start;
  padding: 28px 24px 10px;
  box-sizing: border-box;
}

/* Columna izquierda: UCN+CNA y badges */
.pkp_structure_footer .footer-logos{display:flex;flex-direction:column;gap:18px}
.pkp_structure_footer .footer-logos .logo-ucn-cna{height:92px;object-fit:contain;display:block}
.pkp_structure_footer .footer-logos .badge-row{display:flex;align-items:center;gap:18px}
.pkp_structure_footer .footer-logos .badge-row img{height:34px;display:block;object-fit:contain}

/* Centro: sedes en 4 columnas */
.pkp_structure_footer .footer-sedes{
  display:grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 10px 42px;
}
.pkp_structure_footer .footer-sedes .sede h3{
  margin:0 0 8px;
  font-weight:700;
  font-size:1.25rem;
  color:#fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: Nunito,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
white-space: nowrap;
}
.pkp_structure_footer .footer-sedes .sede p{margin:0}

/* Derecha: logo OPS grande, alineado vertical */
.pkp_structure_footer .footer-ops{
  display:flex; align-items:center; justify-content:flex-end;
}
.pkp_structure_footer .footer-ops .logo-ops{
  height:130px; object-fit:contain; display:block;
  /* quita el filtro si ya es claro sobre fondo azul */
  filter: none;
}

/* Sociales centrados en la fila inferior azul */
.pkp_structure_footer .footer-socials{
  display:flex; justify-content:center; align-items:center; gap:14px;
  padding: 14px 0 18px;
}
.pkp_structure_footer .footer-socials a img{width:42px;height:42px;display:block}

/* Franja inferior naranja */
.pkp_structure_footer .footer-bottom{
  background:#b36834;
  text-align:center;
  padding:12px 20px;
  font-weight:400;
  font-size:1rem;
}

/* -------- Responsive -------- */
@media (max-width: 1200px){
  .pkp_structure_footer .footer-sedes{
    grid-template-columns: repeat(3, minmax(180px,1fr));
    gap: 12px 28px;
  }
}
@media (max-width: 900px){
  .pkp_structure_footer .footer-top{
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 18px 6px;
  }
  .pkp_structure_footer .footer-ops{justify-content:flex-start}
  .pkp_structure_footer .footer-ops .logo-ops{height:110px}
  .pkp_structure_footer .footer-sedes{
    grid-template-columns: repeat(2, minmax(180px,1fr));
  }
}
@media (max-width: 560px){
  .pkp_structure_footer .footer-logos .logo-ucn-cna{height:80px}
  .pkp_structure_footer .footer-sedes{grid-template-columns:1fr}
  .pkp_structure_footer .footer-socials a img{width:38px;height:38px}
  .pkp_structure_footer .footer-bottom{font-size:16px}
}
