:root {
  --primary: #b7230f;
  --primary-darker-color: #961b0b;
  --neutral-100: #f7f6f3;
  --neutral-200: #f1efea;
  --neutral-300: #e7e3da;
  --neutral-400: #b0ada5;
  --neutral-500: #535250;
  --neutral-600: #323232;
  --neutral-700: #1f1e19;
  --neutral-800: #0c0b0a;
  --black: #000;
  --white: white;

  --text-color-primary: var(--neutral-700);

  --primary-font-family: "Raleway", sans-serif;
  --primary-font-size: 16px;

  --secundary-font-family: "Spectral", sans-serif;

  --page-title-font-family: "Spectral", sans-serif;
  --page-title-font-size: 64px;
  --page-title-line-height: 1.1;

  --page-subtitle-font-family: "Spectral", sans-serif;
  --page-subtitle-font-size: 16px;

  --default-border-radius: 12px;

  --default-padding: 1rem;
}

/*Utilities*/

/*Iconos*/
.o-icon-map:before {
  content: "\f3c5";
}

/*display utilities*/
.block {
  display: block;
}

/*Width utilities*/
.min-w-100 {
  min-width: 100px;
}

.min-w-300 {
  min-width: 300px;
}

/*Background utilities*/

.bg-white {
  background: var(--white);
}
.bg-primary {
  background: var(--primary);
}

.bg-primary-dark {
  background: var(--primary-darker-color);
}

.bg-coleccion {
  background: rgba(115, 18, 4, 1);
}

.bg-light {
  background: var(--neutral-100);
}
.bg-light-200 {
  background: var(--neutral-200);
}
.bg-light-300 {
  background: var(--neutral-300);
}
.bg-dark {
  background: var(--neutral-600);
}
.bg-dark-500 {
  background: var(--neutral-500);
}

/*Text utilities*/

/*Titulos y subtitolos, headings*/
.page-title {
  font-family: var(--page-title-font-family);
  font-style: italic;
  font-size: var(--page-title-font-size);
  line-height: var(--page-title-line-height);
  font-weight: 300;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-family: var(--page-subtitle-font-family);
  font-style: italic;
  font-size: var(--page-subtitle-font-size);
  line-height: var(--page-subtitle-font-size);
  font-weight: 300;
}

/*text*/
.text {
  font-family: var(--primary-font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text-color-primary);
}

.text--secondary-font {
  font-family: var(--secundary-font-family);
  font-style: italic;
  font-weight: 400;
}

.text--primary-font {
  font-family: var(--primary-font-family);
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
}

.text--manrope-font {
  font-family: "Manrope", sans-serif;
}

/*Text decoration*/
.text--underline {
  text-decoration: underline;
}

/*text-color*/
.text-color-primary {
  color: var(--text-color-primary);
  fill: var(--text-color-primary);
}
.text-color-black {
  color: var(--black);
  fill: var(--black);
}

.text-color-red {
  color: var(--primary);
  fill: var(--primary);
}

.text--light {
  color: var(--white);
}

.text--light-700 {
  color: var(--neutral-700);
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 14px;
  line-height: 1.4;
}
.text-r {
  font-size: var(--primary-font-size);
  line-height: 1.4;
}
.text-md {
  font-size: 24px;
  line-height: 1.4;
}
.text-lg {
  font-size: 25px;
  line-height: 1.4;
}
.text-xl {
  font-size: var(--page-title-font-size);
  line-height: 1.8;
}

.bold {
  font-weight: 700;
}

.font-weight-400 {
  font-weight: 400;
}

.font-weight-500 {
  font-weight: 500;
}

.text-uppercase {
  text-transform: uppercase;
}

/*flex utilities*/
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex--column {
  flex-direction: column;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.flex-justify {
  justify-content: center;
}

.flex-justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 1rem;
}

/*size utilities*/
.max-w-sm {
  max-width: 300px;
}

.max-w-r {
  max-width: 390px;
}

.max-w-md {
  max-width: 480px;
}

.max-w-lg {
  max-width: 640px;
}

.max-w-xl {
  max-width: 800px;
}

.max-w-2xl {
  max-width: 1024px;
}

/*position*/
.relative {
  position: relative;
}

/*Buttons*/
.button--light {
  background: var(--neutral-200);
  color: black;
}

.button--light:hover {
  background: var(--neutral-300);
}

/*padding*/
.padding {
  padding: var(--default-padding);
}
.padding-md {
  padding: calc(var(--default-padding) * 2);
}

/*margin*/
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mg-l-auto {
  margin-left: auto;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 1.8rem;
}

.mt-3 {
  margin-top: 2.5rem;
}

.mb-0,
.button.mb-0 {
  margin-bottom: 0;
}

.mb-1,
.button.mb-1 {
  margin-bottom: 1rem;
}

.mb-2,
.button.mb-2 {
  margin-bottom: 1.8rem;
}

.mb-3,
.button.mb-3 {
  margin-bottom: 2.5rem;
}

.mb-4,
.button.mb-4 {
  margin-bottom: 3.5rem;
}

/*radius utilities*/
.radius {
  border-radius: var(--default-border-radius);
}

/*------------------------ Propiedades default de omeka ----------------------*/
.resource.show .value.resource > .value-content {
  float: none;
  margin-right: 0;
  max-width: unset;
}

/*------------------ Fin de propiedades default de omeka ------------------------*/

/*Components*/
.donacion-box {
  width: 100%;
  max-width: 400px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.1);
}
.donacion-box h3 {
  font-weight: 300;
  font-size: 40px;
}
/*Layout*/
/*logo*/
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-title img {
  max-height: none;
}

/*Home page*/

.section.home-title {
  padding: 3rem 1.25rem 1.5rem 1.25rem;
}

.home-title__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/*Home separador*/
.home-separador {
  display: block;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
  padding: 0.7rem 0;
  position: relative;
}

.home-separador__item-icon {
  fill: white;
  width: 1rem;
  margin-right: 0.8rem;
}
.home-separador__wrapper .home-separador__wrapper-items {
  position: relative;
  display: flex;

  white-space: nowrap;
  flex-wrap: nowrap;
  overflow: hidden;
  width: 100%;
  align-items: center;
}

.home-separador__wrapper .home-separador__item {
  margin-left: 1.2rem;
  display: flex;
  align-items: end;
  animation: marquee 8s infinite linear;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 1.2rem));
  }
}

/*home description*/
.home-description__text {
  line-height: 1.4;
  font-size: 27px;
  font-weight: 300;
}

/*home donacion*/
.home-donacion__grid-container {
  display: grid;
  margin: 0 auto;
  grid-template-columns: repeat(
    12,
    1fr
  ); /* Dividir el contenedor en 12 columnas */
  gap: 10px;
  align-items: center;
}

@media screen and (max-width: 1220px) {
  .home-donacion__grid-container {
    max-width: 55rem;
  }
}

@media screen and (max-width: 1024px) {
  .home-donacion__grid-container {
    max-width: 55rem;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    gap: 2rem;
  }
}

.home-donacion__item-2 {
  width: 100%;
  position: relative;
}

.home-donacion__grid-container :first-child {
  grid-column: span 8;
}

.home-donacion__grid-container :last-child {
  grid-column: span 4;
  justify-self: end;
}

@media screen and (max-width: 1220px) {
  .home-donacion__grid-container :first-child {
    grid-column: span 6;
  }
  .home-donacion__grid-container :last-child {
    grid-column: span 6;
  }
}

@media screen and (max-width: 1024px) {
  .home-donacion__grid-container :first-child {
    text-align: center;
    font-size: 3.5rem;
  }
}

.home-donacion .donacion-box {
  margin: 0 auto;
  position: absolute;
  left: 0;
  top: -60px;
  transform: rotate(5deg);
}

@media screen and (max-width: 1220px) {
  .home-donacion .donacion-box {
    position: static;
    transform: rotate(0deg);
  }
}

/*home recursos*/
.home-recursos.section {
  padding-top: 8rem;
}
/* Añadir un media query para ajustar el número de columnas en pantallas más pequeñas */
@media (max-width: 1220px) {
  .home-recursos.section {
    padding-top: 5rem;
  }
}

.home-recursos__contenedor-links {
  display: flex;
  flex-shrink: 1;
  flex-basis: 280px;
  flex-wrap: wrap;

  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}

.home-recursos__contenedor-links .button {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 4rem;
  font-size: 20px;
}

/*Quienes somos*/

/*componentes*/

.grid-integrantes__row .button,
.grid-table__row.button {
  padding: 0.5rem 1rem;
  border-radius: 12px;
  margin-bottom: 0;
}

.grid-integrantes__row,
.grid-table__row {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: minmax(12rem, 0.3fr) minmax(22rem, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--black);
}

.grid-integrantes__row:last-child,
.grid-table__row:last-child {
  border-bottom: none;
}

@media screen and (max-width: 780px) {
  .grid-integrantes__row,
  .grid-table__row {
    display: flex;
    flex-direction: column;
    justify-items: center;
    gap: 1rem;
  }
}

.grid-integrantes__row p:last-child,
.grid-table__row p:last-child {
  margin-bottom: 0;
}

.grid-integrantes__cell-file,
.grid-table__cell-file {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--neutral-400);
}

.grid-integrantes__cell-file:first-child,
.grid-table__cell-file:first-child {
  padding-top: 0;
}

.grid-integrantes__cell-file:last-child,
.grid-table__cell-file:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

/*Contacto*/
.contacto-info.section {
  padding-top: 0;
}
.contacto-info__grid-content {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(22rem, 0.8fr);
  gap: 1rem;
  align-items: center;
}

@media screen and (max-width: 1199px) {
  .contacto-info__grid-content {
    grid-template-columns: 1fr;
  }
}

.contacto-info__grid-content iframe {
  display: block;
  width: 100%;
}

.contacto-info__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.3rem 0;
}

.contacto-info__item svg {
  width: 15px;
  fill: #ef533e;
}

/*FAQ*/

.faq-preguntas.section {
  padding-top: 0;
}
.faq-preguntas__content {
  width: 100%;
}
.accordion {
  background: inherit !important;
}

.accordion-content {
  background: inherit !important;
}

.accordion-title:focus {
  background-color: transparent !important;
}

.accordion-title:hover {
  background-color: #b9b9b929 !important;
}

.accordion-item:first-child > :first-child,
:last-child:not(.is-active) > .accordion-title {
  border-radius: 0;
}

.accordion-title::before {
  font-family: "Raleway";
  top: 37%;
  font-size: 34px;
  font-weight: 300;
}

.accordion-title {
  padding: 2rem 1rem !important;
  border: none;
  color: var(--text-color-primary);
  font-size: 1.8rem;
  font-family: var(--page-title-font-family);
  font-style: italic;
  font-weight: 300;
}

.accordion-item.is-active .accordion-title {
  color: var(--primary);
}

.accordion-item {
  border-bottom: 1px solid var(--neutral-700);
}

.accordion-content {
  border: none;
}

/*Donaciones*/
.grid-donacion .grid-table__row {
  grid-template-columns: minmax(25rem, 0.4fr) minmax(22rem, 1fr);
}

.botones-pagos__contenedor {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
}

.botones-pagos__contenedor .button {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 2rem;
  font-size: 20px;
}

/*Header*/
@media print, screen and (max-width: 39.9988em) {
  header .top-bar {
    padding: 1rem 0rem;
  }
}

.menu {
  gap: 1rem;
}

.menu > li {
  border-radius: 12px;
  padding: 0.3rem;
  padding-left: 0.5rem;
  padding-right: 0.7rem;
}

.menu a {
  font-weight: 500;
}

#responsive-menu > .dropdown.menu > li > a:hover,
#responsive-menu > .dropdown.menu > li.is-active > a {
  text-decoration: none;
}

.menu .is-submenu-item {
  padding: 0;
}

.menu .is-submenu-item:not(:last-child) a {
  border-bottom: 0.5px solid var(--neutral-300);
}

.menu .is-submenu-item a {
  color: black;
}

.menu .is-submenu-item a:hover {
  background: var(--neutral-200);
  color: black;
}

.submenu {
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  border: none;
}
.dropdown .is-dropdown-submenu a {
  padding: 0.8rem 1rem;
}

.dropdown.menu > li.opens-left > .is-dropdown-submenu,
.toc-block > ul.dropdown > li.opens-left > .is-dropdown-submenu,
.toc-block ul ul.dropdown > li.opens-left > .is-dropdown-submenu {
  top: 110%;
  left: 0;
  right: auto;
}

.menu li.is-active {
  background: var(--primary-darker-color);
}

.top-bar ul ul {
  background-color: white;
}

.dropdown.menu > li.is-dropdown-submenu-parent > a::after,
.toc-block > ul.dropdown > li.is-dropdown-submenu-parent > a::after,
.toc-block ul ul.dropdown > li.is-dropdown-submenu-parent > a::after {
  border-color: #fff rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}
.top-bar__container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary);
}

.top-bar {
  width: 100%;
  max-width: 1440px;
  padding: 1rem 1rem;
}

.button.hollow.white:hover,
.site-page-pagination > a.hollow.white:hover,
.hollow.white[type="submit"]:hover,
.hollow.white[type="button"]:hover,
.button.hollow.white:focus,
.site-page-pagination > a.hollow.white:focus,
.hollow.white[type="submit"]:focus,
.hollow.white[type="button"]:focus,
.button.hollow.secondary:hover,
.site-page-pagination > a.hollow.secondary:hover,
.field-meta label.button.hollow:hover,
.hollow.secondary[type="submit"]:hover,
.field-meta label.hollow[type="submit"]:hover,
.hollow.secondary[type="button"]:hover,
.field-meta label.hollow[type="button"]:hover,
.button.hollow.secondary:focus,
.site-page-pagination > a.hollow.secondary:focus,
.field-meta label.button.hollow:focus,
.hollow.secondary[type="submit"]:focus,
.field-meta label.hollow[type="submit"]:focus,
.hollow.secondary[type="button"]:focus,
.field-meta label.hollow[type="button"]:focus {
  border-color: white;
  color: white;
  background-color: #ffffff28;
}

/*Footer*/
.footer {
  width: 100%;
  max-width: 100%;
  background: var(--neutral-600);
  padding: 3rem 2rem;
  margin: 0;
}

.footer-wrapper {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  gap: 3rem;
}

.footer-social-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2.5rem;
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width: 870px) {
  .footer-social-wrapper {
    position: relative;
    margin-bottom: 2rem;
    justify-content: center;
    gap: 1.5rem;
  }
}

.footer-logo {
  display: block;
  width: 100%;
  max-width: 450px;
  margin-bottom: 3rem;
}

.col-1.footer-col {
  margin-right: auto;
}

.col-2.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer__social-links-container {
  margin-bottom: auto;
}

.footer-links-info-container {
  display: flex;
  gap: 5rem;
}

.footer-links-info-container a:hover {
  color: #ef533e;
}

.footer__logos-container {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: flex-end;
  gap: 0rem;
}

.footer__logos-container img {
  display: block;
}
.footer__logos-unsamfes {
  display: flex;
  align-items: center;
}
.footer__logos-unsamfes img {
  max-width: none;
}
.footer__logos-container .logounsamfooter,
.footer__logos-container .logofes {
  max-width: 6rem;
}

.footer-menu {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.footer-menu__wrapper .footer-menu ul,
.footer-menu__wrapper .footer-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu__submenu-title > a {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.footer-menu__wrapper .footer-menu .footer-menu__submenu {
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-menu__submenu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-menu__submenu-item::after {
  display: inline-block;
  line-height: 1;
  content: url("/themes/foundation/asset/img/chevron-right-light.png");
}

@media screen and (max-width: 1024px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  .col-1.footer-col {
    margin: 0;
    /*max-width: 480px;
    flex-shrink: 1;
    flex-grow: 1;*/
  }
  .footer__logos-container {
    align-items: flex-start;
  }
  .footer-links-info-container {
    flex-wrap: wrap;
  }
}

/*Browse Items*/
.nico-revista-search-root .tw-container .tw-grid {
  margin: 0 auto;
  max-width: 1200px;
}

.resources.resource-grid {
  margin: 0;
}
.browse-controls.closed,
.browse-controls {
  margin: 0;
}

.tw-text-popover-foreground input[type="text"]:not(:only-child) {
  width: 100%;
  margin: initial;
}
.tw-text-popover-foreground input[type="text"]:focus,
.tw-text-popover-foreground input[type="text"],
.nico-revista-search-root button[type="button"]:focus,
.nico-revista-search-root button[type="button"] {
  color: black;
  outline: initial;
  border: initial;

  -webkit-box-shadow: initial;
  box-shadow: initial;
  -webkit-transition: border-color 0.25s ease-in-out, -webkit-box-shadow 0.5s;
  transition: border-color 0.25s ease-in-out, -webkit-box-shadow 0.5s;
  transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
  transition: box-shadow 0.5s, border-color 0.25s ease-in-out,
    -webkit-box-shadow 0.5s;
}

.nico-revista-search-root button[type="button"]:focus {
  background-color: hsl(var(--background));
}

/*Revista Show*/
.revista-ejemplares .button.button.text-sm,
.suplementos .button.text-sm {
  padding: 0.7em 1em !important;
}

.revista-body__acordion .grid-table__cell {
  max-height: 500px;
  overflow-y: auto;
}

.revista-body__acordion .accordion-item.is-active .accordion-title {
  border-bottom: 1px solid var(--primary);
}

.revista-body__acordion .grid-table__row {
  border-bottom: 1px solid var(--neutral-400);
}

.revista-body__acordion .grid-table__row:last-of-type {
  border-bottom: 1px solid transparent;
}

.revista-body__acordion .accordion-item:last-of-type .accordion-title,
.revista-body__acordion .accordion-item:last-of-type {
  border-bottom: 1px solid transparent;
}
.estudio-relacionados .estudios-item__wrapper:last-of-type {
  border-bottom: 1px solid transparent;
}

.accordion-item:last-child > :last-child {
  border-radius: 0 0 0 0;
}
/*revista buttons*/

/*thumbnails en item browse (ejemplares)*/
.ejemplar-heading {
  padding: 2rem 1.25rem 2.5rem 1.25rem;
}
.ejemplar-heading .ejemplar-heading__content {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
}

.ejemplar-heading__thumbnail {
  position: static;
  overflow: visible;
}

.ejemplar-heading__image {
  position: relative;
  height: 400px;
  top: 0;
  left: 0;
  z-index: 30;
  border-radius: 20px;
  border: solid 5px white;
  transform: scale(1);
  box-shadow: 0 13px 13px 0 rgba(0, 0, 0, 0.1);
}

.section.ejemplar-show iframe {
  width: 100%;
}

/*Thumnnails en item show*/
#content {
  overflow: hidden;
}
.revista-heading {
  position: relative;
}

.revista-heading__thumbnail {
  position: absolute;
  overflow: visible;
  width: 352px;
  right: 14%;
  top: 27%;
}

.revista-heading__image {
  position: relative;
  height: 450px;
  top: 0;
  left: 0;
  z-index: 30;
  border-radius: 20px;
  border: solid 5px white;
  transform: scale(1);
  box-shadow: 0 13px 13px 0 rgba(0, 0, 0, 0.1);
}
.revista-heading__image:nth-child(2) {
  position: absolute;
  transform: scale(0.7);
  left: 125px;
  z-index: 20;
}

.revista-heading__image:nth-child(3) {
  position: absolute;
  transform: scale(0.5);
  left: 225px;
  z-index: 10;
}

@media screen and (max-width: 1200px) {
  .revista-heading__thumbnail {
    position: relative;
    top: 0;
    right: 0;
    margin: 0 auto;
    margin-bottom: 4rem;
    width: 100%;
  }
  .revista-heading__image {
    display: block;
    margin: 0 auto;
    height: auto;
    width: 100%;
    max-width: 350px;
  }
  .revista-heading__image:nth-child(2),
  .revista-heading__image:nth-child(3) {
    display: none;
  }
}

.is-dropdown-submenu {
  z-index: 1000;
}
.revista-heading__back-link {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.revista-heading__back-link:hover .revista-heading__back-text {
  text-decoration: underline;
}

/*Listado de media / ejemplares en item*/

.revista-ejemplares__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 250px));
  row-gap: 1rem;
  column-gap: 1.5rem;
  padding: 0;
  list-style: none;
  border: none;
  margin: 3rem 0;
}

.revista-ejemplares__item {
  border-radius: 12px;
  padding: 0.2rem;
  background: white;
  box-shadow: 0 13px 13px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}

.revista-ejemplares__item--suplemento {
  max-width: 250px;
}

.revista-ejemplares__item:hover {
  box-shadow: 0 13px 13px 0 rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

.revista-ejemplares__image {
  width: 100%;
  height: 250px;
  border-top-left-radius: 12px; /* Radio de borde en la esquina superior izquierda */
  border-top-right-radius: 12px; /* Radio de borde en la esquina superior derecha */
  object-fit: cover;
  object-position: top center;
  transition: all 0.2s ease-in-out;
}

.revista-ejemplares__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.revista-ejemplares__title {
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 0;
}

/*Maps*/

.leaflet-popup-content {
  margin: 0;
  min-width: 150px;
}
.map-popup-content__image {
  display: block;
  height: 130px;
  width: 100%;
  object-fit: cover;
  object-position: top center;
}

.map-popup-content__header {
  position: relative;
}

.leaflet-container a.map-popup-content__link {
  font-family: var(--primary-font-family);
  padding: 0.7rem 1rem;
  background-color: var(--primary);
  color: white;
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}

.leaflet-container a {
  color: black;
}

.map-popup-content-header__overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.leaflet-container a.leaflet-popup-close-button {
  color: white;
  z-index: 200;
  font: 21px/21px Tahoma, Verdana, sans-serif;
  top: 3%;
  right: 3%;
  border-radius: 100%;
}

.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
  color: white;
  background: rgba(0, 0, 0, 0.2);
}

.map-popup-content-header__overlay:hover {
  opacity: 1;
}

.leaflet-popup-content-wrapper {
  padding: 0;
  overflow: hidden;
}

.leaflet-popup-content p {
  font-family: var(--primary-font-family);
  margin: 0 0 0.5rem 0;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
}

.leaflet-popup-content .map-popup-content__title {
  margin-bottom: 1rem;
  font-family: var(--secundary-font-family);
  font-style: italic;
  font-size: 24px;
  line-height: 20px;
  font-weight: 500;
}

.leaflet-popup-content .map-popup-content__body {
  padding: 1rem;
}

.mapping-block {
  background-color: var(--neutral-100);
  padding-bottom: 3rem;
  padding-top: 3rem;
}

.mapping-map {
  max-width: 1200px;
  margin: 0 auto;
}

/*Buttons catalogo mapa*/
.catalogo-buttons__wrapper {
  display: inline-block;
  background-color: var(--neutral-300);
  padding: 0;
  margin: 0;
  border-radius: 12px;
}

.catalogo-buttons__wrapper div {
  border-radius: 12px;
  display: inline-block;
  padding: 0.5rem 3rem;
  color: var(--neutral-700);
  font-family: var(--primary-font-family);
  font-size: var(--primary-font-size);
  line-height: var(--primary-font-size);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.catalogo-buttons__wrapper div a {
  color: var(--neutral-600);
}

.catalogo-buttons__wrapper .active a {
  color: white;
}

.catalogo-buttons__wrapper .active {
  font-weight: 400;
  color: white;
  background-color: var(--primary);
}

.catalogo-buttons__wrapper .active a:hover {
  color: white;
}

.catalogo-buttons__wrapper a:hover {
  color: var(--neutral-600);
}

/*Buscar / caralogo */

.catalogo-buttons {
  padding: 0rem 1.25rem;
}
.catalogo .section__wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
}

.search-results-header,
.search-results-footer {
  align-items: center;
}
.search-results-footer {
  margin-top: 1rem;
}

fieldset.search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form.search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0;
}

@media screen and (max-width: 870px) {
  .catalogo .section__wrapper {
    grid-template-columns: 1fr;
  }
}

.catalogo .field {
  margin-bottom: 0;
}

.catalogo [type="text"] {
  margin-bottom: 0;
}

.form-search input[type="search"] {
  border-radius: 12px;
}
.form-search .field:has(input[type="search"]) {
  display: none;
}

.field-meta label {
  background: transparent;
}

select.chosen-select {
  width: 100%;
  border-radius: 12px;
}

select {
  padding: 0.25rem 2rem 0.25rem 0.5rem !important;
}

/*REsults list*/
.search-results .resource-list.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
}

.search-results .resource-list.grid .resource {
  height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  display: block;
  margin: 0;
  padding: 0;
}
.resource-list .resource img {
  float: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0;
  padding: 0;
}

.resource-list .resource .revistaoverlay {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem;
}

.revistaoverlay {
  z-index: 10;
  opacity: 0;
  /*background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0) 100%);*/
  transition: opacity 0.3s ease;
}

.revistaoverlay h2 {
  margin-top: auto;
}

.resource-list .resource:hover .revistaoverlay {
  opacity: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
}

/*mapa o busqueda*/
.invisible {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

/*
button--recurso
*/
.button--recurso {
  display: block;
  width: max-content;
  padding: 0.7rem 1.5rem;
}

/*alfabeto buscador*/
.section.colecciones-title {
  padding-bottom: 2rem;
}

.colecciones-title__wrapper {
  margin-bottom: 3rem;
}

.alfabetic-list-buttons__form {
  gap: 0.5rem;
  flex-wrap: wrap;
  display: flex;
}
.alfabetic-list-buttons__form .button.active {
  background: var(--primary);
  color: white;
}

.alfabetic-list-buttons__form .button {
  margin-bottom: 0;
}

.section.colecciones-list {
  padding-top: 0;
}
.colecciones-list__wrapper {
  gap: 0.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  justify-content: center;
}

.colecciones-list__button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 124px;
  padding: 1rem 1rem;
  font-family: var(--secundary-font-family);
  font-style: italic;
  font-weight: 300;
}

.colecciones-list .omeka-pagination {
  margin-top: 2rem;
}

/*Estudios*/
.section.estudios-list {
  padding-top: 0;
}

.menu-revistas-estudio.dropdown.menu
  > li.is-dropdown-submenu-parent
  > a::after {
  border-color: var(--neutral-400) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}

.menu-revistas-estudio.dropdown.menu li {
  margin: 0 0 0 0;
  padding: 0em 0.5em;
}

.menu-revistas-estudio.dropdown.menu li a {
  padding: 0.8rem 1em;

  color: black;
}
.menu-revistas-estudio.dropdown.menu > li > a {
  padding-right: 1.8rem;
}
.menu-revistas-estudio.dropdown.menu .submenu.is-dropdown-submenu {
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  background-color: transparent;
  border-radius: 12px;
}
.menu-revistas-estudio.dropdown.menu > li.is-active {
  background-color: rgba(0, 0, 0, 0.05);
}

.menu-revistas-estudio.dropdown.menu > li.is-active .is-submenu-item {
  background-color: white;
  border-radius: 0;
}
.menu-revistas-estudio.dropdown.menu > li.is-active .is-submenu-item:hover {
  background-color: var(--neutral-100);
}
.menu-revistas-estudio.dropdown.menu > li.is-active .is-submenu-item:hover a {
  background: transparent;
}



/*Mapa colores*/
.marker-cluster-small {
  background-color: hsla(0, 63%, 62%, 0.657);
}

.marker-cluster-small div {
  background-color: #c11a04b8;
}

.marker-cluster-small div span {
  color: white;
}

/*Estudios*/
.section.estudios-title {
  padding-bottom: 3rem;
}

.estudios-list__wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0rem 0rem 3rem 0rem;
}

.estudios-item__wrapper {
  max-width: 1024px;
  border-bottom: 2px solid var(--neutral-300);
  padding: 1rem;
}

.accordion-content .estudios-item__wrapper {
  max-width: 100%;
}

.estudios-item__title {
  margin-bottom: 1.5rem;
  font: 400 1rem/1.5 var(--primary-font-family);
  text-transform: uppercase;
}

.estudios-item__body {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0;
  align-items: center;
}

.estudios-item-estudio__title {
  margin-bottom: 0;
  font-weight: 400;
}

.estudios-item__buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.estudios-item__buttons .button {
  min-width: max-content;
  margin-bottom: 0rem;
}

/*Paginacion*/
@media print, screen and (min-width: 40em) {
  .omeka-pagination {
    width: auto;
    margin: 0;
  }
}

/*Decadas anios meses grid*/
.anios-meses-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
  gap: 1rem;
}

.anios-meses-grid .button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.top-bar .top-bar-right .dropdown.menu .submenu.is-dropdown-submenu {
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.dropdown.menu > li.is-dropdown-submenu-parent > a::after,
.toc-block > ul.dropdown > li.is-dropdown-submenu-parent > a::after,
.toc-block ul ul.dropdown > li.is-dropdown-submenu-parent > a::after {
  display: block;
  border: none;
  width: 20px;
  height: 20px;
  /* border-style: solid; */
  /* border-width: 6px; */
  content: "";
  /* border-bottom-width: 0; */
  /* border-color: #b7230f rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); */
  /* right: 5px; */
  /* left: auto; */
  margin-top: -12px;
  content: url(/themes/foundation/asset/img/chevron-down-light.svg);
}

.section.estudios-list
  .dropdown.menu
  > li.is-dropdown-submenu-parent
  > a::after {
  display: block;
  border: none;
  width: 20px;
  height: 20px;
  /* border-style: solid; */
  /* border-width: 6px; */
  content: "";
  /* border-bottom-width: 0; */
  /* border-color: #b7230f rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); */
  /* right: 5px; */
  /* left: auto; */
  margin-top: -12px;
  content: url(/themes/foundation/asset/img/chevron-down.svg);
}
header .is-dropdown-submenu-parent a::after {
  position: absolute;
  top: 50%;
  right: 0px !important;
  left: auto;
  margin-top: -6px;
}
select {
  background-image: url(/themes/foundation/asset/img/chevron-down.svg);
  background-size: 19px !important;
}

[type="text"],
[type="select"],
[type="search"],
.form-search input[type="search"],
select {
  box-shadow: none !important;
  border: 1px solid #e6e6e6;
}

[type="text"]:focus,
[type="select"]:focus,
[type="search"]:focus,
.form-search input[type="search"]:focus,
select:focus {
  box-shadow: none !important;
  border: 1px solid #8a8a8a;
}

/*seacrh*/
.search-controls__wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: min-content;
  padding: 1rem;
  border-radius: 10px;
  background-color: var(--neutral-200);
}

.search-controls__wrapper .search-sort select {
  border-radius: 12px;
  padding-right: 2rem;
  width: 100%;
}

.search-controls__wrapper .search-sort label {
  display: none;
}

.search-controls-order__title,
.search-controls-filter__title {
  margin-bottom: 0.5rem;
}

.advanced-search-form input[type="search"] {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 200px;
}

.catalogo-heading .section__wrapper {
  flex-direction: row;
  justify-content: space-between;
}

.button.button--pagination {
  background-color: var(--neutral-300);
  font-weight: 400 !important;
  font-size: 1rem !important;
  min-width: 2.7rem !important;
}
.button.button--pagination.active {
  background-color: var(--primary);
}

.button-group {
  gap: 0.5rem;
}

.button-group .button:hover {
  background-color: var(--primary-darker-color);
}

#nico-search {
  margin-top: 20px;
}

.link-revista-externa {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.link-revista-externa svg {
  width: 70px;
  height: 70px;
  margin-left: auto;
}
.link-revista-externa span {
  font-size: 70px;
}
.link-revista-externa span,
.link-revista-externa svg {
  color: black;
  stroke: var(--primary);
}

.link-revista-externa:hover span {
  color: var(--primary);
}

.section__acceso-coleccion {
  max-width: 80rem;
}


/*Ciudad Pais buttons*/
.ciudad-pais__container .button {
  background: var(--neutral-700);
  padding: 8px;
  border-radius: 8px;
  font-size: 14px;
}

.ciudad-pais__container .button:hover {
  background: var(--neutral-800);
}

.revista-heading.bg-coleccion .ciudad-pais__container .button {
  background: transparent;
  border: 1px solid white;
}

.revista-heading.bg-coleccion .ciudad-pais__container .button:hover {
  background: rgba(0, 0, 0, 0.1);
}
