@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: #601707;
}

.article .document {
    width: 65% !important;
}


.obj_announcement_summary .read_more,
.pkp_page_index .current_issue .read_more {
    color: #601707 !important;
}

.pkp_page_article {
    text-align: justify;
}


.obj_issue_toc .section>h3 {
    font-size: 20px;
    color: #601707;
    font-weight: 600;
}

.pkp_site_nav_toggle {
    background: #601707;
}

.pkp_navigation_user>li:last-child>a {
        margin-right: 0.286rem;
    }

.pkp_nav_list ul a {
    color: #601707 !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: #84220f !important;
    background: #84220f;
    transition: all 300ms;
    font-weight: bold;
    color: #fff !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: #b22223 !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: #b22223;
    text-decoration: none;
}

.page_search .submit button:after {
    right: 64px !important;
    left: -21px;
    background: #b22223;
    
}
.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: #b22223;
}

.cmp_form .buttons button{
color: #fff;
background:#b22223;
transition: all 300ms;
}
.cmp_form .buttons button:hover{
color: #fff;
background:#601707;
transition: all 300ms;
}

.obj_galley_link {
    border: none;
    color: #000000;
}

.obj_galley_link:hover,
.obj_galley_link:focus {
    transform: scale(1.0rem);
    background: none;
    border: none;
    color: #601707;
}

.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;
}

.buscar_block:before,
.estadisticas_block:before,
ul#navigationPrimary>li:last-child a::before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
    line-height: 18px;
}

.buscar_block:before {
    content: "\f002";
}

.estadisticas_block:before {
    content: "\f201";
}

.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: justify;
}

.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: #b22223 !important;
    border: 1px solid #b22223 !important;
    border-top-color: #b22223 !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: #84220f !important;
    transition: all 400ms;
}

.pkp_block .title {
    background: #b22223 !important;
    border: 1px solid #b22223 !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;
}

.eg-icon {
    max-width: 16px;
    margin-bottom: -4px;
    height: auto;
}

.eg-icon2 {
    max-width: 25px;
    margin-bottom: -4px;
    height: auto;
    margin-right: 3px;
}

.eg-icon-galley {
    max-width: 35px;
    height: auto;
    margin-right: 0px;
    transition: all 400ms;
}


.eg-icon-galley:hover {
    filter: drop-shadow(2px 4px 6px rgb(254, 80, 0, 0.36));
    transform: scale(1.2);
    transition: all 400ms;
}

.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_structure_main h2 {
    color: #b22223;
    font-family: 'Montserrat', serif !important;
}

.block-title {
    color: #b22223;
    font-family: 'Montserrat', serif !important;
    font-size: medium;
    font-weight: 700;
}

.pkp_structure_main:before,
.pkp_structure_main:after {
    background: #dddddd00;
}

.obj_issue_toc .galleys:before,
.obj_issue_toc .section:before {
    border-top: 1px solid #601707;
}

.current_issue_title {
    color: #601707;
    font-size: 2rem;
    font-weight: 400 !important;
}

.obj_issue_toc .published .label {
    font-weight: 700;
    color: #601707;
}

#navigationPrimary li:last-child a i {
    display: none;
}

.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%;
    }

    .fn-icon {
        max-width: 16px;
        margin-bottom: -4px;
        width: 1.1vw;
        height: auto;
    }

    .pkp_navigation_user li {
        background: #601707;
        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: #601707;
}

.pkp_nav_list ul {
    background: #601707 !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5);
    border: 2px solid #601707;
}

.pkp_search_desktop .search_prompt {
    color: black;
}

.img-estadisticas {
    cursor: pointer;
    height: auto;
}

.img-estadisticas:hover {
    box-shadow: 0 0 3px 3px #888;
}

.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: #FE5000;
    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.75vw;
        width: 98vw;
    }

    .pkp_navigation_primary_wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .pkp_navigation_primary>li>a {
        margin: .0rem 0 !important;
        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: #005b57;
    }

    .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: #601707 !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: #84220f;
    color: #ffffff;
}

.header_view .return:hover,
.header_view .return:focus {
    background: #84220f;
}

.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: #84220f;
}

audio::-moz-media-controls-enclosure {
    background-color: #84220f;
}

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 #601707;
}

@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: #601707 !important;
    font-size: 16px;
}

/* Garantizar que el contenedor nativo ocupe todo el ancho */
.pkp_structure_footer_wrapper {
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* ===== Reset del pie en OJS para full-bleed ===== */
.pkp_footer, .footer { padding:0 !important; background:transparent !important; border:0 !important; }
.pkp_footer_content { padding:0 !important; background:transparent !important; border:0 !important; }

/* ===== Fondo a todo lo ancho (sin laterales grises) ===== */
.fnbg-footer{
  background: url("http://localhost/ojs/COLEF/fronteranorte.colef.mx/public/site/red-fondo.png") center/cover no-repeat;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  color: #fff;
  position: relative;
  min-height: 260px; /* ajusta a tu imagen */
  overflow: hidden;
}

/* ===== Layout interno: 3 columnas (logos | línea | texto) ===== */
.fnbg-inner{
  max-width: 1500px;      /* sube/baja según ancho nativo de tu JPG/PNG */
  margin: 0 auto;
  padding: 22px 36px;     /* controla el margen común de todo */
  display: grid;
  grid-template-columns: 34% 14px 1fr; /* igual a la referencia: izquierda + línea + derecha */
  column-gap: 22px;
  align-items: start;
  position: relative;
}

/* Columna 1: Logos */
.fnbg-left{
  display: grid;
  row-gap: 12px;
  align-content: start;
}
.fnbg-logo{ display:block; height:auto; width:auto; }
.fnbg-logo-top{ max-width: 115px; }     /* título/escudo superior */
.fnbg-logo-bottom{ max-width: 165px; }  /* logo COLEF inferior */

/* Columna 2: Línea blanca vertical */
.fnbg-vline{
  width: 2px;
  height: calc(100% - 30px);  /* deja respiro arriba/abajo como en la imagen */
  margin: 15px auto;          /* centra la línea en su columna */
  background: #fff;
  border-radius: 3px;
}

/* Columna 3: Texto + CC */
.fnbg-right{
  display: grid;
  grid-template-rows: auto 1fr auto; /* CC pegado abajo */
  min-height: 100%;
}
.fnbg-text p{
  margin: 0;
  font-size: 0.96rem;   /* ajusta si tu fuente se ve más grande/pequeña */
  line-height: 1.55;
  text-align: justify;
  color: #fff;
}
.fnbg-cc{
  justify-self: end;
  align-self: end;
  margin-top: 14px;
}
.fnbg-cc img{ width:auto; display:block; }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .fnbg-inner{
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .fnbg-vline{ display:none; }
  .fnbg-cc{
    justify-self: center;
    align-self: center;
    margin-top: 12px;
  }
}
