/* estilos de encabezado */
a {
  color: #217783;
}

.pkp_structure_main {
  width: 860px !important;
}

.pkp_head_wrapper {
  padding: 0 !important;
  width: 100% !important;
}

.pkp_site_name .is_img img {
  background-color: white;
  display: block !important;
  max-height: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  width: 100% !important;
}

.pkp_site_name .is_img {
  display: inline;
}

.pkp_site_name .is_img img {
  max-height: 100%;
}

.pkp_structure_head {
  background-color: white;
}

.pkp_site_nav_menu a {
  background: #000000;
}

.pkp_navigation_primary > li > a {
  color: #ffffff;
  font-weight: 100;
}

.pkp_navigation_primary_wrapper {
  background-color: #000000;
  text-align: left;
  margin-left: 40px !important;
  font-size: 1.3em !important;
  font-weight: bold !important;
}

.pkp_site_name_wrapper {
  width: 100%;
  padding: 0;
}

.pkp_site_nav_menu {
  background-color: #000000;
}

.pkp_nav_list ul {
  background: #000000 !important;
}

.pkp_nav_list ul a {
  color: #ffffff;
}

.pkp_navigation_primary .dropdown-menu a:focus,
.pkp_navigation_primary .dropdown-menu a:hover {
  border-color: #000000;
}

.pkp_nav_list ul a:hover,
.pkp_nav_list ul a:focus {
  background: #ffffff;
  border-color: #000000;
  color: #000000;
}

.pkp_block .title {
  text-align: center;
  margin-bottom: 10px !important;
  padding: 5% !important;
  font-size: 22px !important;
  line-height: 20px !important;
  color: #fff;
  background-color: #217783;
  font-weight: bold;
  margin: -11px -10px 2px -11px;
  border-radius: 10px;
  width: 100%;
}

.indexing-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
}

/* cuerpo */
.page {
  word-break: break-word;
}

.page_login .buttons button:hover {
  color: #fff;
}

.page_login .buttons button:active {
  color: #fff;
}

.block_make_submission a {
  text-align: center;
  background: #217783;
  margin-bottom: 10px !important;
  padding: 5% !important;
  font-size: 20px !important;
  line-height: 20px !important;
  color: #fff !important;
  background-color: #217783;
  font-weight: bold;
  margin: -11px -10px 2px -11px;
  border-radius: 10px;
  width: 100%;
}

.obj_issue_toc .galleys > h2,
.obj_issue_toc .section > h2,
.obj_issue_toc .galleys > h3,
.obj_issue_toc .section > h3 {
  font-size: 22px;
  color: #217783;
  font-weight: 100;
}

.obj_issue_toc .galleys:before,
.obj_issue_toc .section:before {
  border-top: none;
}

ul.article-views.list-group {
  display: flex;
  list-style: none;
}

li.item-views.simpleStatistics_views::before {
  display: inline-block;
  font: normal normal normal 14px / 1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  transform: translate(0, 0);
  content: "\f012";
}

li.item-views.simpleStatistics_down::before {
  display: inline-block;
  font: normal normal normal 14px / 1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  transform: translate(0, 0);
  content: "\f012";
}

li.item-views.list-group-item-estadisticas {
  padding: 10px;
}

.cmp_notification {
  background: #fff;
  border-left: 0.357rem solid #217783;
}

.cmp_monographs_list > .title {
  font-size: 1.643rem;
  left: 0;
  margin: 0;
  padding: 0;
  color: #000000;
}

.cmp_monographs_list .row {
  border-bottom: 2px solid gray;
}

.obj_monograph_summary a {
  color: #000000;
}

.cmp_monographs_list .obj_monograph_summary.obj_monograph_summary {
  border-left: 0px !important;
}

.cmp_monographs_list .obj_monograph_summary:first-child {
  border-right: 0px !important;
}

.pkp_structure_main:before,
.pkp_structure_main:after {
  width: 0px;
}

.cmp_monographs_list {
  border-top: 0px !important;
}

.pkp_navigation_primary > li > a:focus {
  background: #000000;
  color: #ffffff;
  outline: 0;
}

.pkp_navigation_primary > li > a:active {
  background: #000000;
  color: #ffffff;
  outline: 0;
}

.pkp_navigation_primary {
  max-width: 100%;
}

.img-to-icon {
  width: 20px;
  height: auto;
  margin-right: 4px;
}

/* pie de pÃ¡gina */

.pkp_brand_footer {
  display: none;
}

.pkp_footer_content {
  padding: 2.143rem !important;
  text-align: left;
}

.footer-logo {
  padding-left: 30px !important;
}

.footer-platform {
  padding-left: 30px !important;
}

/* Fondo aplicado al contenedor externo que sÃ­ ocupa todo el ancho */
.pkp_structure_footer {
  background-image: url("https://revistas.unir.net/public/site/images/admin/unir---footer---rep.png") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  width: 100% !important;
}

/* Este wrapper interno tiene un max-width que limita el contenido. Lo respetamos. */
.pkp_structure_footer_wrapper {
  color: #fff;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

.custom-footer-content {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  /* max-width: 1000px !important; */
  margin-top: 30px;
  margin-bottom: 40px;
  margin-right: 110px;
  gap: 20px !important;
}

.footer-logo img,
.footer-platform img {
  max-height: 70px !important;
  height: auto !important;
  width: auto !important;
}

.footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  flex: 1 !important;
  gap: 15px !important;
  padding: 10px 0 !important;
}

.footer-links a {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px !important;
  transition: color 0.3s ease !important;
}

.footer-links a:hover {
  color: #ffd700 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .custom-footer-content {
    flex-direction: column !important;
    text-align: center !important;
  }

  .footer-logo,
  .footer-platform {
    margin: 10px 0 !important;
  }

  .pkp_structure_main {
    width: 100% !important;
  }
}

/* articulo */
.simpleStatistics_views::before {
  content: "\f012" !important;
}

.simpleStatistics_downloads::before {
  content: "\f012" !important;
}

.obj_monograph_summary .cover img {
  box-shadow: 4px 4px 4px 2px rgba(0, 0, 0, 0.4);
}

.obj_monograph_full .cover img {
  box-shadow: 4px 4px 4px 2px rgba(0, 0, 0, 0.4);
}

.cmp_button,
.cmp_download_link,
.cmp_form .buttons button,
.page_lost_password .buttons button,
.page_search .cmp_search button,
.obj_monograph_full .files .link a,
.obj_monograph_full .files .pub_format_remote a,
.obj_monograph_full .files .pub_format_single a {
  background: #ffffff;
  color: #000000;
}

.cmp_button:hover,
.cmp_button:focus,
.cmp_download_link:hover,
.cmp_download_link:focus,
.page_login .buttons button:hover,
.page_login .buttons button:focus,
.page_lost_password .buttons button:hover,
.page_lost_password .buttons button:focus,
.page_search .cmp_search button:hover,
.page_search .cmp_search button:focus,
.obj_monograph_full .files .link a:hover,
.obj_monograph_full .files .pub_format_remote a:hover,
.obj_monograph_full .files .pub_format_single a:hover,
.obj_monograph_full .files .link a:focus,
.obj_monograph_full .files .pub_format_remote a:focus,
.obj_monograph_full .files .pub_format_single a:focus {
  background: #000000;
  border-color: #000000;
}

.pkp_navigation_search_wrapper a:focus {
  background: #000000;
  color: #ffffff;
}

.obj_galley_link:hover,
.obj_galley_link:focus {
  border-radius: 10px;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
}

.obj_galley_link {
  border-radius: 10px;
  color: #ffffff;
  background: #217783;
  border: 1px solid #217783;
}

.obj_article_details .main_entry {
  text-align: justify;
}

.item.references {
  display: block;
  height: 400px;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

/* responsive design */

@media (max-width: 768px) {
  .featured-row {
    flex-direction: column;
  }

  .featured-main,
  .featured-list {
    width: 100%;
  }

  .featured-list {
    order: 2;
    padding-top: 1rem;
  }

  .featured-item {
    font-size: 1rem;
  }
  .pkp_structure_main .page h1 {
    margin-top: 30px;
  }

  .obj_monograph_full .title,
  .obj_monograph_full .main_entry,
  .obj_monograph_full .details {
    margin-bottom: 1.857rem;
  }

  .cmp_breadcrumbs .current {
    padding-top: 20px;
  }
}

@media (max-width: 600px) {
  .featured-row {
    flex-direction: column;
  }

  .featured-main,
  .featured-list {
    width: 100%;
  }

  .featured-list {
    order: 2;
    padding-top: 1rem;
  }

  .featured-item {
    font-size: 1rem;
  }

  .pkp_structure_main .page h1 {
    margin-top: 30px;
  }

  .obj_monograph_full .title,
  .obj_monograph_full .main_entry,
  .obj_monograph_full .details {
    margin-bottom: 1.857rem;
  }

  .cmp_breadcrumbs .current {
    padding-top: 20px;
  }
}

/* menÃº hamburguesa */
@media (max-width: 600px) {
  .pkp_site_nav_toggle {
    display: block !important;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    margin: 10px;
    background: black;
  }

  .pkp_site_nav_toggle[aria-expanded="true"]::after {
    background: black;
    content: "X";
    margin-left: 10px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center !important;
  }
  .footer-grid .footer-links {
    justify-content: center !important;
  }
  .footer-oai-logo {
    width: 60px !important;
  }
  .footer-oai-text {
    font-size: 0.85rem !important;
  }
}

/* === Footer === */
.custom-footer-content {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  text-align: center !important;
}

.footer-logo,
.footer-platform {
  padding-left: 0 !important;
}

.footer-logo,
.footer-links,
.footer-platform {
  flex: 1 1 auto !important;
}

/* Ajustar enlaces */
.footer-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Bloque OAI */
.footer-platform div {
  text-align: center !important;
}

/* Responsivo */

@media (min-width: 1200px) {
  .footer-oai .oai-text {
    max-width: 50ch !important;
    margin: 0 auto !important;
    white-space: normal !important;
    line-height: 1.4 !important;
  }
}
@media (max-width: 900px) {
  .custom-footer-content {
    flex-wrap: wrap !important;
    gap: 25px !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
  }
  .footer-links {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }
  .footer-platform img {
    height: 45px !important;
  }
}

@media (max-width: 600px) {
  .custom-footer-content {
    flex-direction: column !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
  }
  .footer-links {
    flex-direction: column !important;
    margin-right: 0 !important;
  }
}
