/* ==========================================================================
   DEPURACIÓN
   ========================================================================== */

/*  Añade un mensaje a la cabecera con un número de versión */
.account-masthead:before {
  display: block;
  position: absolute;
  top: 4px;
  left: 4px;
  /* TO-DO: Actualizar el número de versión aquí */
  content: "DEBUG modificación theme: v0.148";
  font-size: 10px;
  color: black;

  opacity: 0;
}

/* ==========================================================================
   Código CSS heredado del panel de administración
   ========================================================================== */

/* CSS Document */
body {
  font-family: "Jost", sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #000;
  background: #fff;
}

@media (max-width: 980px) {
  .masthead .container {
    background-image: none;
    padding: 0;
  }
}

.navbar-toggle {
  margin-right: 0;
  font-size: 20px;
  color: #000;
}
.navbar .nav > li > a {
  padding: 8px 15px;
}
.navbar-static-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
  /*width: 1010px;*/
}
.nav-pills li a {
  background-color: transparent;
}

/* Barra que contiene los botones */
.masthead {
  min-height: 55px;
  color: #ffffff;
  background: #fff;
  background-color: none;
  padding-bottom: 0;
  /*box-shadow: 0px 7px 20px 2px rgba(0, 0, 0, 0.24);*/
}
.masthead .nav-collapse {
  padding-top: 4px;
  visibility: hidden;
}

/* Barrita más superior */
.account-masthead {
  background-image: none;
  background-color: none;
  background: none;
}
/* Fuente superior */
.account-masthead .account ul li a {
  color: #666;
}
/*Botones menu superior*/
.masthead .nav-collapse {
  padding-top: 4px;
  margin: auto;
  width: 57%;
}
.masthead .nav > li > a,
.masthead .nav > li > a:focus,
.masthead .nav > li > a:hover,
.masthead .nav > .active > a,
.masthead .nav > .active > a:hover,
.masthead .nav > .active > a:focus {
  color: #263a93;
  font-size: 14px;
  font-weight: bold;
}
.masthead .navigation .nav-pills li a:hover,
.masthead .navigation .nav-pills li.active a,
a.tag:hover,
a.tag:active {
  background-color: transparent;
}

.masthead a {
  color: #000 !important;
  font-size: 16px !important;
  /*letter-spacing: 0.1316872428em;*/
}

h1 {
  font-family: "Jost", sans-serif;
  font-size: 2em;
  color: #2060c5;
  font-weight: 600;
  margin: 0.67em 0;
}
h2 {
  font-family: "Jost", sans-serif;
  font-size: 1.8em;
  color: #2060c5;
  font-weight: 500;
  margin: 0.67em 0;
}
h3 {
  font-family: "Jost", sans-serif;
  font-size: 1.5em;
  color: #0074ca;
  font-weight: 400;
  margin: 0.67em 0;
}
h4 {
  font-family: "Jost", sans-serif;
  font-size: 1.2em;
  color: #2060c5;
  font-weight: 200;
  margin: 0.67em 0;
}

p {
  font-family: "Jost", sans-serif;
  text-align: justify;
  line-height: 1.5;
  color: #72727e;
}

.module-content.intro-text {
  padding: 10px 25px 15px;
  background-color: #fff;
  color: #434353;
  font-size: 14px;
  font-family: "Jost", sans-serif;
  text-align: justify;
}
.module-content.box.intro-text {
  text-align: center;
}

.module-hero-search .search-input input {
  border-width: 1px;
  border-color: #c3c3d1;
}
.search-giant.search-input input {
  border-radius: 3px 3px 30px 3px;
}

.homepage .module-search .module-content {
  background-color: #fafafa;
}
.homepage .module-search .tags {
  background-color: #fafafa;
  color: #fff;
}
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small,
.h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small,
h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small,
.h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small {
  color: #5c5c5c; /* Accesibilidad */
}

.nav > li > a:hover,
.nav > li > a:focus {
  color: #0074ca !important;
}

.search-by-cat {
  background-color: #f4f4ff;
}

/*pie*/
.site-footer {
  padding: 2em 0 2em;
  background-color: #232323;
  color: #bbbbbb;
  text-align: center;
}
.site-footer a {
  display: inline-block;
  color: #b9b9bf;
  text-decoration: none;
  font-weight: bold;
}
aside.widget.widget_media_image {
  margin: 20px;
  vertical-align: middle;
  display: inline-block;
}
.widget {
  margin: 0;
  padding: 0.5em 0;
  font-size: 1.8573333333em;
  color: #72727e;
  text-shadow: 0 1px 2px #000000;
}
.image {
  max-width: 100%;
  height: auto;
}
ul#menu-footer-menu-es-bnelab,
ul#menu-footer-menu-en-bnelab-ingles {
  display: inline-block;
  list-style: none;
}
#menu-footer-menu-es-bnelab li,
#menu-footer-menu-en-bnelab-ingles li {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
ul#menu-footer-menu-es-bnelab li:after,
ul#menu-footer-menu-en-bnelab-ingles li:after {
  content: "·";
  margin: 0 10px;
  text-decoration: none;
}
ul#menu-footer-menu-es-bnelab li:last-child:after,
ul#menu-footer-menu-en-bnelab-ingles li:last-child:after {
  content: "";
  padding: 0;
}

.alineado {
  display: flex;
  gap: 30px;
  justify-content: center;
}
.statement {
  color: #b9b9bf;
  padding-top: 35px;
}
.img-logo {
  height: 100px;
}

/*otros*/
.module-heading {
  background: #eeeeee;
  margin-bottom: 5px;
  -webkit-box-shadow: 2px 3px 4px 0px rgba(107, 105, 107, 0.71);
  -moz-box-shadow: 2px 3px 4px 0px rgba(107, 105, 107, 0.71);
  box-shadow: 2px 3px 4px 0px rgba(107, 105, 107, 0.71);
  margin-right: 3px;
}
.module:first-child {
  border-radius: 0px;
}

/*Boton standar*/
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  color: #fff;
  background: none repeat scroll 0% 0% #263a93;
}

.box {
  border: 0 solid #ccc;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.05);
}

.news {
  background-color: #eee;
}

.colorFondo {
  background-color: #f7f7f7 !important;
}

/*destacados showcase*/
.fondodestacados {
  padding-left: 120px;
  padding-right: 10px;
  color: #fff;
  background: #eeeeee;
}

.hero {
  background: none;
}
.main {
  background: none;
}

.page-header {
  background-color: #eeeeee;
  border-radius: 8px;
  border: 1px solid #f4f6f7;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  border: 1px solid #f4f6f7;
  border-bottom-color: transparent;
}
.media-grid {
  background: #eee;
}
.masthead .logo img {
  max-height: 120px;
}
.masthead {
  padding-top: 0;
}
legend {
  border-bottom: 0;
}
.toolbar .breadcrumb a {
  font-weight: bold;
}
.toolbar .breadcrumb a:hover {
  color: #0074ca;
  text-decoration: none;
}

.search-giant.search-input input {
  border-radius: 6px;
  border: 1px solid #ccc;
  height: 46px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.destacados-media-heading {
  font-size: 16px;
}

.btn,
.btn-primary {
  /*letter-spacing: 0.1em;*/
  color: #fdf1f2 !important;
  text-shadow: 0 0 0 transparent;
  /* border-style: solid;
    border-width: 1px 1px 3px;
   border-color: #747474 #747474 #747474 !important;*/
  border-radius: 12px;
  background: #2060c5 !important;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  margin: 0 auto;
  box-shadow: none;
}

.btn:hover,
.btn-primary:hover {
  background: #ffffff !important;
  /*border-color: #747474 #747474 #747474 !important;*/
  color: #2060c5 !important;
  -webkit-transition: all 0.15s ease-in-out !important;
  -moz-transition: all 0.15s ease-in-out !important;
  transition: all 0.15s ease-in-out !important;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #122037 !important;
  border-color: #206b82;
}
.dataset-heading {
  font-size: 18px;
}
.dataset-heading a {
  color: #2060c5;
}

/*cabecera*/
.menus,
.idiomas {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.idiomas .nav > li > a {
  font-size: 11px !important;
}
.cabecera {
  margin: 0px 0px 0px 30px;
}
/* FIN código heredado */



/* ==========================================================================
   Datasets
   ========================================================================== */
/* Página de dataseets */

.dataset-item {
  margin-bottom: 25px;
  border: none;
  border-radius: 8px;
  padding: 18px 23px;
}
@media (max-width: 767px) {
  .dataset-item {
    padding: 11px 17px;
  }
}
.dataset-item.module-content, .module-shallow .dataset-item.module-content:first-child,
.dataset-item.module-shallow .module-content:last-child, .dataset-item:last-of-type {
  padding: 17px;
  margin: 25px 0;
}
.dataset-item-organization,
.dataset-item-instituto {
  margin-top: 10px;
}

/* Listado datasets */
.dataset-list .dataset-item:nth-child(odd) {
  background-color: rgb(248, 249, 255);
}
.dataset-list .dataset-item:nth-child(even) {
  background-color: rgb(251, 252, 255);
}

/* Listado recursos, en página dataset */
section#dataset-resources ul, section#dcat-resources ul {
  background: rgb(248, 249, 255);
  padding: 14.5px 17px;
  border-radius: 8px;
  margin: 0;
}
section#dataset-resources ul, section#dcat-resources ul,
section#groups-resources ul {
  background: rgb(248, 249, 255);
  padding: 14.5px 17px;
  border-radius: 8px;
  margin: 0;
  border: 0;
}
section#groups-resources a.tag {
  margin: 0;
}
section#groups-resources a.tag:hover {
  color: black;
}

/* Oculta enlace al flujo de actividad */
.nav-tabs li a[href*="/dataset/activity/"],
.nav-tabs li a[href*="/organization/activity/"],
.nav-tabs li a[href*="/group/activity/"] {
  display: none;
}

/* Texto DCAT-AP */
.resource-item .text-muted {
  font-weight: 400;
  opacity: .92;
}

/* Secciones datasets */
section#dcat-resources {
  padding-top: 50px;
}
section#dataset-resources {
  padding-top: 20px;
}
section#groups-resources, section.additional-info {
  padding-top: 33px;
}

/* Descripción bajo el título */
.description-copied {
  margin-bottom: 30px;
}
.module-content .description-copied p {
  line-break: normal;
  text-wrap: wrap;
  word-break: break-word;
  text-align: justify;
}

/* Estilo tablas datasets y recursos */
.table-dataset, .table.table-striped.table-bordered.table-condensed.table-toggle-more {
  table-layout: auto !important;
  border: 0 !important;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0 12px;
}
.table-dataset thead, .table.table-striped.table-bordered.table-condensed.table-toggle-more thead {
  display: none;
}
.table-dataset > tbody > tr > td, .table-dataset  > tbody > tr > th,
.table.table-striped.table-bordered.table-condensed.table-toggle-more > tbody > tr > td,
.table.table-striped.table-bordered.table-condensed.table-toggle-more > tbody > tr > th {
  width: 135px;
  padding: 14.5px 17px;
}
.table-dataset > tbody > tr > th, .table.table-striped.table-bordered.table-condensed.table-toggle-more > tbody > tr > th,
.table-dataset > tbody > tr > td:first-child, .table.table-striped.table-bordered.table-condensed.table-toggle-more > tbody > tr > td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.table-dataset > tbody > tr > td:last-child, .table.table-striped.table-bordered.table-condensed.table-toggle-more > tbody > tr > td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.table-dataset > tbody > tr:nth-of-type(odd), .table.table-striped.table-bordered.table-condensed.table-toggle-more > tbody > tr:nth-of-type(odd) {
  background: rgb(248, 249, 255);
  border-radius: 8px;
}
.table-dataset > tbody > tr:nth-of-type(odd):hover, .table.table-striped.table-bordered.table-condensed.table-toggle-more > tbody > tr:nth-of-type(odd):hover {
  background-color: #eff4fd;
}
.table-dataset > tbody > tr:nth-of-type(even), .table.table-striped.table-bordered.table-condensed.table-toggle-more > tbody > tr:nth-of-type(even) {
  background-color: #fbfdff;
}
.table-dataset > tbody > tr:nth-of-type(even):hover, .table.table-striped.table-bordered.table-condensed.table-toggle-more > tbody > tr:nth-of-type(even):hover {
  background-color: #f0f6fb;
}
.table-dataset tbody tr:nth-child(even) td, .table-dataset tbody tr:nth-child(even) th,
.table.table-striped.table-bordered.table-condensed.table-toggle-more tbody tr:nth-child(even) td, .table.table-striped.table-bordered.table-condensed.table-toggle-more tbody tr:nth-child(even) th{
  background-color: transparent;
}
.table-dataset > thead > tr > th, .table-dataset > tbody > tr > th, .table-dataset > tfoot > tr > th, .table-dataset > thead > tr > td, .table-dataset > tbody > tr > td, .table-dataset > tfoot > tr > td,
.table.table-striped.table-bordered.table-condensed.table-toggle-more > thead > tr > th, .table.table-striped.table-bordered.table-condensed.table-toggle-more  > tbody > tr > th,
.table.table-striped.table-bordered.table-condensed.table-toggle-more > tfoot > tr > th, .table.table-striped.table-bordered.table-condensed.table-toggle-more > thead > tr > td,
.table.table-striped.table-bordered.table-condensed.table-toggle-more > tbody > tr > td, .table.table-striped.table-bordered.table-condensed.table-toggle-more > tfoot > tr > td {
  border: 0;
}
.table ul {
  padding-left: 14px;
  list-style-type: circle;
}
.table ul.tag-list, .table div.tag-list  {
  padding-left: 0;
}
.table div.tag-list a {
  margin-bottom: 7px;
}
.table-toggle-more .toggle-more, .table-toggle-more .toggle-seperator, .table-toggle-more .toggle-show-more {
  display: none !important;
}
td.dataset-details a {
  text-wrap: wrap;
  line-break: anywhere;
}
td.dataset-details a.tag {
  text-wrap: nowrap;
}
@media (max-width: 768px) {
  td.dataset-details a.tag,
  section#groups-resources a.tag {
    hyphens: auto;
    text-wrap: wrap;
    text-wrap: balance;
    line-break: normal;
    word-break: break-word;
    word-wrap: break-word;
    border-radius: 8px;
  }
  
}
/* Investigadores */
.autor-existe .fa {
  margin-left: 3px;
  color: #6E6E6E;
}


/* ==========================================================================
   Formulario edición datasets
   ========================================================================== */
   
#field-identifier, #field-license_id, .multi-new-value-reference input,
.multi-new-value-conforms_to input,
#field-title_translated-es, #field-title_translated-en {
  width: 100%;
  padding: 3px 2.5px;
}

#dataset-edit .form-group, #dataset-edit .multi-new-value {
  border-top: 1px solid rgba(0, 0, 0, .08);
  margin: 18px 0 0 0;
  padding: 15px 0 0 0;
}

#dataset-edit .info-block .fa {
  margin: 10px 0 8px 0;
}

#dataset-edit .multi-new-value .form-group {
  border: 0;
  margin: 0;
  padding: 0;
}



/* ==========================================================================
   Ajustes generales de la página
   ========================================================================== */


body {
  background: #ecf0f569;
  background: rgba(236, 240, 245, 0.41);
  font-size: 15px; /* Tamaño de fuente por defecto */
  color: #232323;
}

/* Fondo animado SVG (para todos los navegadores de escritorio excepto Safari) */
.main {
  background: white;
  background: url(/base/images/waves-animated.svg);
  background-repeat: no-repeat;
  background-position: center top 100%;
  background-size: contain;
  background-attachment: fixed;
}

/* Safari de escritorio */
@supports (-webkit-hyphens: none) {
  .main {
    background: transparent;
  }
  body {
    background: linear-gradient(180deg, rgba(231,236,246,0.41) 0%, rgba(202, 225, 255, 0.75) 100%);
  }
}

/* Safari y otros navegadores móviles */
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) {
  body {
    background: linear-gradient(180deg, rgba(231,236,246,0.41) 0%, rgba(202, 225, 255, 0.75) 100%);
  }
  .main {
    background: transparent;
  }
}


/* Container principal */
@media (min-width: 1200px) {
  .container {
    width: 1140px;
    width: 1180px;
  }
}
@media (min-width: 1400px) {
  .container {
    width: 1320px;
    width: 1360px;
  }
}
.wrapper {
  margin: 1em auto 3.5em auto;
  padding: 0.45em;
  border: none;
  box-shadow: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, .8);
}
.wrapper aside, .main .secondary {
  padding: 15px;
}
.wrapper aside, .main .secondary:has(.resources) {
  padding: 30px;
}
.wrapper .module-resource {
  border-radius: 8px;
}
.module-resource {
  background-color: transparent;
}
.module.resources {
  margin: 0 -15px 30px -15px;
}
@media (min-width: 768px) {
  .wrapper:before {
      border-right: 1px solid #f4f6f7;
  }
}
@media (max-width: 767px) {
  .module .module-content {
    padding: 0;
  }
}
.wrapper:has(.module.module-resource):before {
  border-right: none;
}
.wrapper-transparent, .wrapper-nav-transparent {
  background: transparent;
}
.wrapper-nav-transparent:before {
  background: rgba(255, 255, 255, .8);
  border-radius: 8px;
}

.text-left {
  text-align: left !important;
}
.text-center {
  text-align: center !important;
}
.text-right {
  text-align: right !important;
}


/* Breadcrumb */
.toolbar .breadcrumb a {
  font-weight: 400;
  color: rgb(93, 93, 93);
}
.toolbar .breadcrumb li.active a, .toolbar .breadcrumb .fa-home {
  color: black;
}
@media (max-width: 767px) {
  .toolbar .breadcrumb a {
      /* Arreglo para enlaces breadcrumb en móviles */
      color: #505050
  }
  .toolbar .breadcrumb {
    background: white;
    border-radius: 8px;
    padding: 8px 21px;
    opacity: .67;
    margin-bottom: -8px;
    width: 100%;
  }
}

/* Barra de navegación superior */
@media (max-width: 767px) {
  .account-masthead {
    background: #edf1f7;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
}

/* Arreglo selector de idioma */
.select2-drop,
.select2-drop-mask,
.select2-results,
.lang-container {
  text-transform: capitalize !important;
}

/* Arreglo select publisher (Firefox) */
div#s2id_\'field-publisher {
  display: none !important;
  visibility: hidden !important;
}

/* Botones principales */
.btn,
.btn-primary {
  border-radius: 12px;
  background: #2060c5;
  box-shadow: 0 0.25rem 0.825rem -0.5rem #2060c5ab;
  border: none;
  border-radius: 5px;
  -webkit-transition: none;
  -moz-transition: none;
  transition: none;
}

/* Ajusta los enlaces de la licencia dc:rights */
span[property="dc:rights"],
a[property="dc:rights"] {
  word-wrap: break-word;
}
.table a[property="dc:rights"] {
  line-break: anywhere;
  word-break: break-word;
}

/* Imágenes licencia */
a#license-link img {
  max-width: 100%;
  width: 105px;
  border: 1px solid #ffffffab;
  border-radius: 4px;
}
a#license-link img:hover {
  opacity: .75;
}
@media (max-width: 767px) {
  a#license-link:has(img) {
    display: block;
    text-align: center;
  }
}

/* Oculta las facetas etiquetas */
section[aria-label="Etiquetas"],
section[aria-label="Tags"] {
  display: none !important;
}
/* Oculta las facetas organizaciones */
section[aria-label="Organizaciones"],
section[aria-label="Organizations"] {
  display: none !important;
}


/* Estilo etiquetas */
a.tag:hover {
  color: rgba(0, 0, 0, 0.8);
}

/* Oculta la opción imagen del perfil */
#user-edit-form .image-upload {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  left: -2000px !important;
}

/* Social */
.brand-icon {
  height: 15.5px;
}
.brand-icon.doi {
  max-width: 200px;
  width: 100%;
  height: max-content;
  display: block;
  margin-bottom: 7px;
}
.brand-icon.handle {
  max-width: 70px;
  height: auto;
  display: inline;
}
ul.ul-doi li:first-child {
  margin-bottom: 8px;
}

/* Botón scroll */
button#scrollToTopBtn {
  position: fixed;
  bottom: 15px;
  right: 15px;
  border: none;
  background: #6E6E6E;
  color: white;
  padding: 10px;
  border-radius: 100%;
  opacity: 0;
  min-width: 45px;
  min-height: 45px;
  display: flex;
  justify-content: center;
  font-size: 1.5em;
  z-index: 9999;

  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}
button#scrollToTopBtn:hover {
  background: #414141;
}

@media (max-width: 768px) {
  button#scrollToTopBtn {
    min-width: 35px;
    min-height: 35px;
    font-size: 1.3em;
  }
}

/* Cabecera vista principal */
.page-header {
  background: #f3f6fc;
}

/* Títulos */
h1 {
  line-height: 1.3em;
  line-height: 1.18em;
}
.primary h2 {
  margin-top: 0;
}
h2.dataset-heading a {
  font-weight: bold;
}

/* Columna izquierda */
@media (max-width: 767px) {
  article .module-content {
    padding: 30px 0;
  }
  article header.module-content, .page-header.module-content {
    padding: 15px;
  }
}
.module-heading, .module:first-child .module-heading {
  background: #f3f6fc;
  border: none;
  border-radius: 8px;
  box-shadow: none;
  margin: 0 0 5px 0;
  box-shadow: 0px 0 4px rgba(0, 0, 0, 0.007), 0 0 15px rgba(30, 52, 92, 0.02),
  0 8px 15px rgba(30, 52, 92, 0.025);
  color: #0073c9; /* Accesibilidad */
}
.module-content p {
  text-align: left;
}

@media (min-width: 768px) and (max-width: 991px) {
  .context-info .nums dl {
    width: 100%;
  }
}
aside.secondary section, .module-shallow .module-content {
  margin-bottom: 1.5em;
}
@media (max-width: 767px) {
  .context-info .image img {
    max-height: 150px;
    width: auto;
    margin: 0 auto 22px auto;
  }
  header.page-header, [role=main] .module h1 {
    display: none;
  }
  .description-copied {
    margin-top: -30px;
    border-top: 1px solid #0000002e;
    padding-top: 35px;
  }
}
.context-info .nums dl dt {
  font-weight: 400;
}

/* Enlaces navegación y botones */
.nav-item.active:hover, .nav-aside li.active:hover,
.nav-item.active a:hover, .nav-aside li.active a:hover {
  color: white;
}
.module-shallow .module-content:first-child {
  padding-top: 0;
}
ul.nav-tabs, ul.nav-tabs:hover, ul.nav-tabs > li:hover,
ul.nav-tabs > li > a:hover {
  border: none;
}
ul.nav-tabs > li:hover {
  margin-top: 1px;
  margin-left: 1px;
  margin-right: 1px;
}
ul.nav-tabs > li.active:hover {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
}
.masthead {
  background: transparent;
}
.nav-item span.item-label {
  line-break: anywhere;
}

/* Tipos de formato */
.dataset-resources .label,
section[aria-label="Formatos"] .item-label,
section[aria-label="Formats"] .item-label {
  text-transform: uppercase;
  word-break: break-word;
}
.dataset-resources .label.label-organization {
  text-transform: initial;
}
.dataset-resources li a {
  padding-top: 4.25px;
}

/* Digital.CSIC */

.digital-csic {
  margin-top: 0px;
  color: #535353;
  font-size: 1em;
  /*margin-left: 17px;*/
  margin-left: 0;
}

.digital-csic a:hover {
  text-decoration: none;
  opacity: .7;
  color: #206b82;
}

.brand-icon.digital-csic {
  height: 23px;
  margin-left: 6px;
}

#dataset-resources:has(.digital-csic) .resource-list {
  margin-bottom: 17px;
}

.module-content div.digital-csic {
  margin-top: 26px;
}

/* Footer */
footer .lang-container {
  max-width: 100% !important;
}

/* Estilos para los menús desplegables */
header .nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
header .nav-item {
  position: relative;
}
header .nav-link, header .nav-item > a {
  text-decoration: none;
  color: #000;
  padding: 10px;
  margin: 0;
  display: inline-block;
}
header.navbar .nav > li > a {
  padding: 8px 10px;
}
header .nav-link:hover {
  background-color: #f1f1f1;
}
header .dropdown-content {
  display: block;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 0;
  list-style: none;

  visibility: hidden;
  z-index: 1;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}
header .dropdown-content li {
  padding: 12px 16px;
}
header .dropdown-content li a {
  color: black;
  text-decoration: none;
  display: block;
  text-wrap: nowrap;
}
header .dropdown-content li a:link, header .dropdown-content li a:visited,
header .dropdown-content li a:hover, header .dropdown-content li a:focus,
header .dropdown-content li a:active {
  background: transparent;
}
header .dropdown-content li:hover {
  background-color: #ebf1fb;
}
header .nav-item:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  max-height: 500px;
}
@media (max-width: 767px) {
  header .nav {
    flex-direction: column;
    text-align: center;
    opacity: .7;
  }
  header .dropdown-content {
    position: static;
    display: block;
    max-height: none;
    opacity: 1;
    display: block;
    visibility: visible;
    box-shadow: none;
    background: inherit;
    margin: -5px 0 10px 0;
  }
  header .nav-item.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    max-height: none;
  }
}

/* Registro de usuarios/as */
.account-masthead .account ul li a.sub {
  font-weight: normal;
}
p.privacy-text {
  text-align: justify;
  opacity: .7;
  margin-top: 25px;
}

/* Ajustes páginas */
.page-list-item .image a {
  display: block;
  height: 136px;
  background-position: center center;
  background-size: cover;
}
.page-list-item h3 a {
  display: block;
}
.wrapper-transparent p, .wrapper-transparent ul {
  margin-bottom: 1.68em;
}
.wrapper-transparent h1, .wrapper-transparent h2 {
  font-size: 3.75rem;
}
.wrapper-transparent .page-heading {
  margin-bottom: 35px;
}
.wrapper-transparent h2 {
  margin-bottom: 25px;
}
@media (max-width: 767px) {
  .wrapper-transparent .module-content {
    padding: 5px 10px;
  }
}

/* Páginas de investigadores */
.investigador {
  padding-top: 1em;
}
.investigador .col-md-3 img {
  width: 100%;
  max-width: 250px;
  border-radius: 100%;
  margin: 0 auto 2em auto;
  margin: 0 auto 18px auto;
}
.investigador img.gesbib {
  max-width: 125px;
  border-radius: 0;
  margin: -10px auto 15px auto;
  margin: 0 auto 15px auto;
}
.investigador .col-md-3 p {
  margin-bottom: 0;
}
.investigador .col-md-3 hr {
  margin: 10px 0;
}
.investigador #contenido_gesbib, .investigador p#contenido_gesbib {
  margin-bottom: 5px;
}
.investigador .titulo {
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgb(194, 194, 194);
}
.investigador .titulo p {
  margin-bottom: 10px;
  color: #232323;
}
@media (max-width: 767px) {
  .investigador .titulo, .investigador .titulo p {
    text-align: center;
  }
}
.investigador h4 {
  font-weight: normal;
}
.investigador h3, .investigador h4 {
  margin: 0 0 10px 0;
}
.investigador .gb-author {
  text-align: center;
}

/* Páginas de investigadores, tabla GESBIB */
/* Estilo general de la tabla */
table.dataTable {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background-color: #fff;
    margin-bottom: 20px;
}

/* Estilo de los encabezados */
table.dataTable thead {
    background-color: #343a40;
    color: #fff;
}

table.dataTable thead th {
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #454d55;
}

/* Estilo de las filas */
table.dataTable tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

table.dataTable tbody tr:hover {
    background-color: #e9ecef;
}

/* Estilo de las celdas */
table.dataTable tbody td {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}

/* Estilo de los bordes */
table.dataTable, table.dataTable th, table.dataTable td {
    border: 1px solid #dee2e6;
}

/* Estilo de la información de registros */
.dataTables_info {
    font-size: 14px;
    color: #333;
    margin: 10px 0;
}

/* Estilo de la paginación */
.dataTables_paginate {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dataTables_paginate a.paginate_button {
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    text-decoration: none;
    color: #007bff;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    cursor: pointer;
}

.dataTables_paginate a.paginate_button:hover {
    background-color: #e9ecef;
}

.dataTables_paginate a.paginate_button.disabled {
    color: #6c757d;
    cursor: not-allowed;
}

.dataTables_paginate a.paginate_button.current {
    font-weight: bold;
    background-color: #007bff;
    color: #fff;
}

/* Estilo para la elipsis */
.dataTables_paginate .ellipsis {
    padding: 8px 12px;
    color: #333;
}

/* Estilo para los botones "Anterior" y "Siguiente" */
.dataTables_paginate a.paginate_button.previous,
.dataTables_paginate a.paginate_button.next {
    font-weight: bold;
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}

.dataTables_paginate a.paginate_button.previous:hover,
.dataTables_paginate a.paginate_button.next:hover {
    background-color: #0056b3;
}

/* Estilo de la barra de búsqueda */
.dataTables_wrapper .dataTables_filter input {
    padding: 5px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

/* Estilo del selector de número de entradas */
.dataTables_wrapper .dataTables_length select {
    padding: 5px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}
.dataTables_length, .dataTables_info, .dataTables_paginate {
  display: none;
}
#gb-items-2 th:nth-child(1),
#gb-items-2 td:nth-child(1) { /* Año */
  width: 6% !important;
  white-space: nowrap;
}
#gb-items-2 th:nth-child(2),
#gb-items-2 td:nth-child(2) { /* Tipología */
  width: 10% !important;
  white-space: nowrap;
}
#gb-items-2 th:nth-child(3),
#gb-items-2 td:nth-child(3) { /* Publicación */
  width: 50% !important;
}
#gb-items-2 th:nth-child(4),
#gb-items-2 td:nth-child(4) { /* Citas */
  width: 8% !important;
  text-align: center;
}
#gb-items-2 th:nth-child(5),
#gb-items-2 td:nth-child(5) { /* Acceso Abierto */
  width: 10% !important;
  text-align: center;
}

/* -- */


/* Imagen cabecera estática con ancho completo */
.page-img {
  min-height: 375px;
  padding: 50px 10%;

  background: linear-gradient(180deg, rgba(255, 255, 255, .0) 0%, rgba(49, 114, 196, 0.3) 55%), url(base/images/header.jpg);
  background-size: cover;
  background-position: center;

  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-img h1, .page-img h2,
.page-img {
  color: white;
  text-align: center;
  font-size: 4.65em;
  font-weight: 400;
}
.home-page-img {
  color: inherit;
  text-align: inherit;
  font-size: inherit;
  font-weight: inherit;
}
@media (max-width: 767px) {
  .page-img {
    min-height: 275px;
    width: 100%;
    padding: 30px 20px;
    margin-top: -7px;
  }
}
/* TO-DO: Se puede actualizar con más colores */
.page-img-blue {
  background: linear-gradient(180deg, rgb(116 200 255 / 66%) 0%, rgba(49, 114, 196, 0.65) 55%), url(base/images/header-gray.jpg);
  background-size: cover;
  background-position: center;
}
.page-img-purple {
  background: linear-gradient(180deg, rgb(205 105 255 / 40%) 0%,rgb(119 81 190 / 65%) 55%), url(base/images/header-gray.jpg);
  background-size: cover;
  background-position: center;
}
.page-img-green {
  background: linear-gradient(180deg, rgb(139 255 184 / 45%) 0%, rgb(0 197 116 / 52%) 55%), url(base/images/header-gray.jpg);
  background-size: cover;
  background-position: center;
}
.page-img-red {
  background: linear-gradient(180deg, rgb(255 137 189 / 49%) 0%, rgb(220 76 114 / 67%) 55%), url(base/images/header-gray.jpg);
  background-size: cover;
  background-position: center;
}
.page-img-cyan {
  background: linear-gradient(180deg, rgb(131 254 238 / 48%) 0%, rgb(49 193 196 / 65%) 55%), url(base/images/header-gray.jpg);
  background-size: cover;
  background-position: center;
}

/* Bloque con texto centrado en las páginas */
.page-center {
  color: black;
  text-align: center;
  font-size: 1.35em;
  border-top: 2px solid rgb(101, 146, 230, .25);
  border-bottom: 2px solid rgb(101, 146, 230, .25);
  padding: 1.75em 2.25em;
}
.page-center br {
  min-height: 10px;
  content: "";
  display: block;
}
@media (max-width: 767px) {
  .page-center {
    padding: 1.75em 0;
  }
}

/* Página Institutos */
.institutos-page-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  background: white;
  box-shadow: 0 0 3px rgb(59 77 105 / 4.5%);
  border-radius: 8px;
  padding: 15px 0;
}

.institutos-page-row .instituto {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  min-height: 200px; 
  margin: 0.5em;
  border-radius: 7px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.007), 0 0 15px rgba(30, 52, 92, 0.02),
  0 -8px 15px rgba(30, 52, 92, 0.025);
  background: white;
}

.institutos-page-row .instituto-img-wrapper {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.institutos-page-row .instituto img {
  max-width: 60px;
  height: auto;
}

.institutos-page-row .instituto label {
  font-family: "Jost", sans-serif !important;
  font-weight: 400;
  color: #0074CA;
  font-size: 1.075em;
  background: #f3f6fc;
  background: rgb(251, 252, 255);
  border-radius: 6px;
  padding: 5px 13px;
  min-height: 137px;
  display: flex;
  align-items: center;
}

.institutos-page-row .instituto label:after {
  content: "";
}

.institutos-page-row a:hover {
  opacity: .7;
  text-decoration: none;
}

.institutos-page-row .instituto:hover {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.012), 0 0 15px rgba(30, 52, 92, 0.03),
  0 -8px 15px rgba(30, 52, 92, 0.045);
}


/* Imagen logotipo principal */
.masthead .logo img {
  max-height: 125px;
  padding-bottom: 18px;
  margin-top: -17px;
}

@media (max-width: 1199px) and (min-width: 768px) {
  .masthead .container {
    margin: 0 auto;
    width: 97%;
  }
  .masthead .logo img {
    max-height: 64px;
    padding-bottom: 0;
    margin-top: -11px;
    padding-left: 10px;
  }
}
@media (max-width: 767px) {
  .masthead .logo img {
    max-height: 80px;
    margin: 0 10px -7px 10px;
    background: rgba(255, 255, 255, .8);
    padding: 7.5px 13px;
    margin: 10px 0 10px 0;
    border-radius: 8px;
    box-shadow: 0 0 30px #9bc0e21a;
  }
  .masthead .logo {
    background: #f3f6fc;
    text-align: center;
    display: block;
    margin-bottom: 6px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  .navbar-right {
    position: absolute;
    right: 0;
  }
}
@media (min-width: 1200px) {
  .masthead .navbar-collapse {
    padding-top: 30px;
  }
}

/* Botones para modificar el tamaño de fuente */
.font-size-buttons:hover {
  cursor: pointer;
}
.font-size-buttons .fa {
  margin-right: 6px;
}
@media (max-width: 1199px) {
  .font-size-buttons a span {
    display: none;
  }
  .font-size-buttons .fa {
    margin-right: 0;
  }
  .fa.fa-font-xl {
    font-size: 1.25em;
  }
  .fa.fa-font-sm {
    font-size: .88em;
  }
}

/* Animaciones CSS */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in;
}
.fade-in.visible {
  opacity: 1;
}


/* Footer */
.footer-links ul li.footer-header {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.25em;
  color: white;
}
.site-footer {
  padding-bottom: 3em;
  background: #232323;
  text-align: left;
  padding: 4.5em 0 70px 0;
}
.site-footer a, .site-footer p, .site-footer .lang-select label {
  font-weight: normal;
  color: #b9b9bf;
  text-align: left;
}
.site-footer a:hover {
  opacity: .7;
}
.site-footer form.form-inline.form-select.lang-select {
  margin-top: 15px;
}
.site-footer .img-cc {
  max-width: 105px;
  width: 100%;
  margin-top: 17px;
  border: 1px solid #ffffffab;
  border-radius: 4px;
}
@media (max-width: 991px) {
  .site-footer {
    text-align: left;
    padding: 3em 0 3em 0;
  }
  .footer-links {
    margin-bottom: 45px;
  }
}
@media (max-width: 768px) {
  .site-footer, .site-footer a, .site-footer p, .site-footer .lang-select label {
    text-align: center;
  }
  .site-footer form.form-inline.form-select.lang-select {
    display: inline-block;
  }
}

/* Imágenes footer */
.site-footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  height: auto;
  margin: 53px auto 0 auto;

  background: rgba(255, 255, 255, .1);
  border-radius: 4px;
  border: 1px solid #000000a8;
  padding: 35px 0;
  box-shadow: 1px 1px 0px rgba(0, 0, 0, .6);
}
.site-footer-logos img {
  max-height: 56px;
  height: auto;
  width: auto;
}
.site-footer-logos a:hover {
  opacity: .6;
}
.site-footer-logos .logo-csic {
  /*box-shadow: 2.5px 2px 0px rgba(0, 0, 0, .15);
  border: 1px solid black;
  border-radius: 2px;*/
}
.site-footer-logos .logo-cchs {
  /*background: white;
  padding: 3px;*/
}
.site-footer-logos .logo-biblioteca {
  /*background: white;
  padding: 17.5px 20px;*/
  padding: 14.5px 0;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .site-footer-logos img {
    max-height: 50px;
  }
}

@media (max-width: 767px) {
  .site-footer-logos {
    flex-direction: column;
    gap: 25px;
    margin: 0 4%;
  }
  .site-footer-logos img {
    max-height: 56px;
    max-width: 220px;
  }
}

.empty-text {
  text-indent: -9999px; /* Oculta el texto visualmente */
  white-space: nowrap;
  position: absolute;
}

/* Divide el grid en 5 o 6 columnas */
.col-5, .col-6 {
  float: left;
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-5 {
  width: 20%;
}
.col-6 {
  width: 16.6%;
}
@media (max-width: 768px) {
  .col-5, .col-6 {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .col-padding {
    padding: 0 32px;
  }
}


/* Ajustes listado de categorías (grupos) y organizaciones */

.media-grid {
  background: white;
  box-shadow: 0 0 3px rgb(59 77 105 / 4.5%);
  border-radius: 8px;
  border: none;
  padding: 15px 0;
}
.media-grid .media-item {
  width: 155px;
  padding-left: 2px;
  padding-right: 2px;
  text-align: center;
  background: transparent;
}
.media-grid .media-item img {
  padding-left: 25px;
  padding-right: 25px;
}
.media-grid .media-item .count {
  padding: 12px;
  display: block;
  opacity: .59;
}
.media-grid .media-item strong.count {
  opacity: 1;
}
.media-grid .media-description {
  display: none;
}
.media-item h2, .home-wrapper .media-item h2 {
  margin-top: 12px;
  margin-bottom: 0;
}
.media-item h2 {
  margin-top: 12px;
  margin-bottom: 0;
  font-family: "Jost", sans-serif !important;
  font-weight: 400;
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media-item a {
  height: 100%;
  border: none;
}
.media-item a:hover,
.media-item:hover {
  border: none;
  box-shadow: none;
  opacity: 0.7;
}


/* ==========================================================================
   Ajustes página de inicio HOME
   ========================================================================== */


.homepage [role=main], .homepage .main {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Bloques página principal (Categorías, Blog...) */
.home-wrapper {
  background: rgba(251, 252, 255, .8);
  padding: 30px 35px 35px 35px;
  box-shadow: 0 0 30px #9bc0e21a;
  border-radius: 8px;
  display: block;
  margin: 0;
}
.home-wrapper h2 {
  text-align: center;
  margin-top: 0;
  font-size: 2.95em;
  margin-top: -4px;
  margin-bottom: 18px;
}
.home-wrapper#recent-blog-posts {
  margin: 35px 0 90px 0;
}
@media (max-width: 767px) {
  .home-wrapper {
    padding-left: 2%;
    padding-right: 2%;
  }
}
#blog-posts-container .page-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}
#blog-posts-container .dataset-item {
  flex: 1 1 390px;
  max-width: 390px;
  box-sizing: border-box;
  background-color: white;
  padding: 23px;
  margin: 13px;
  border-radius: 8px;
  box-shadow: 0 0 3px rgb(59 77 105 / 4.5%);
  color: rgba(0, 0, 0, .6);
  font-size: 1.09em;
}
#blog-posts-container .dataset-item .col-md-2,
#blog-posts-container .dataset-item .col-md-10 {
  padding: 0;
}
#blog-posts-container .dataset-item .image {
  width: 100%;
  background-size: cover; 
  background-position: center;
  margin-bottom: 16px;
}
#blog-posts-container .dataset-item:last-of-type {
  margin: 13px;
}
#blog-posts-container .dataset-heading {
  margin-bottom: 4px;
}

#recent-blog-posts .blog-learn-more {
  margin: 0 20px;
  text-align: right;
}
#recent-blog-posts .blog-learn-more a{
  color: #0074CA;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  #blog-posts-container .dataset-item {
    flex: 1 1 325px;
    max-width: 325px;
  }
}
@media (min-width: 689px) and (max-width: 991px) {
  #blog-posts-container .dataset-item {
    flex: 1 1 290px;
    max-width: 290px;
  }
}
@media (max-width: 767px) {
  #blog-posts-container .dataset-item {
    padding: 16px;
  }
}
@media (max-width: 688px) {
  #blog-posts-container .dataset-item {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  #blog-posts-container .dataset-item:last-of-type  {
    margin-left: 0;
    margin-right: 0;
  }
}


/* Imágenes organizaciones página principal */
.row.home-organizations {
  margin: 12px auto 20px auto;
  /*padding-top: 40px;*/
  padding-top: 0px;
}
.home-organizations-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.home-organizations-wrapper img {
  width: auto;
  margin-top: 0;
  filter: grayscale(1);
  opacity: .42;
}
.home-organizations-wrapper img:hover {
  cursor: pointer;
  filter: grayscale(0);
  opacity: 1;
}
.home-organizations-wrapper img,
.home-organizations-wrapper img.home-organization-m {
  max-height: 1.8em;
}
.home-organizations-wrapper img.home-organization-s {
  max-height: 1.37em;
}
.home-organizations-wrapper img.home-organization-l {
  max-height: 2.68em;
}

@media (max-width: 991px) {
  .row.home-organizations {
    /*padding-top: 30px;*/
    padding-top: 0;
  }
  .home-organizations-wrapper {
    gap: 12px;
  }
  .home-organizations-wrapper img {
    margin: 0 8px;
  }
  .home-organizations-wrapper img,
  .home-organizations-wrapper img.home-organization-m {
    max-height: 1.4em;
  }
  .home-organizations-wrapper img.home-organization-s {
    max-height: 1.2em;
  }
  .home-organizations-wrapper img.home-organization-l {
    max-height: 2.2em;
  }
}

/* Cabecera página principal con imagen */
.page-img.home-page-img {
  min-height: 60vh;
  display: flex;
  flex-wrap: wrap;
  padding: 5.5% 0 6.5% 0;
  /*border-bottom: 3px solid white;
  border-top: 3px solid white;*/
  border-top: 17px solid white;
  border-bottom: 17px solid white;
  border-image: linear-gradient(90deg, rgba(19, 48, 79, .65) 5%, rgba(32, 65, 101, .5) 25%, rgba(72, 147, 224, .9)) 1;
  box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.08), 0 0 150px rgba(6, 75, 163, 0.07), 0 0 150px rgba(0, 0, 0, 0.05);
  opacity: .986;
}

@media (max-width: 968px) {
  .page-img.home-page-img {
    border-top: 14px solid white;
    border-bottom: 14px solid white;
    border-image: linear-gradient(90deg, rgb(26 59 93) 5%, rgb(32 67 105) 25%, rgb(72 147 224)) 1;
    border-image: linear-gradient(90deg, rgb(30 63 96) 5%, rgb(31 77 128) 20%, rgb(57 123 192)) 1;
  }
}
@media (max-width: 767px) {
  .page-img.home-page-img {
    min-height: 52vh;
  }
  .page-img.home-page-img {
    border-top: 12px solid;
    border-bottom: 12px solid;
  }
}
@media (min-width: 768px) {
  .page-img.home-page-img {
    margin-top: 10px;
  }
}
@media (max-height: 768px) and (min-width: 768px) {
  .page-img.home-page-img {
    min-height: 58vh;
    padding-top: 3%;
    padding-bottom: 4%;
  }
}
@media (max-height: 700px) and (min-width: 768px) {
  .page-img.home-page-img {
    min-height: 55vh;
    padding-top: 2.5%;
    padding-bottom: 3.5%;
  }
}
.home-page-img h1 {
  font-size: 4.55em;
  font-size: 4.85em;
  text-shadow: 0 0 6px rgba(0, 0, 0, .25), 2px 3px 0px rgba(0, 0, 0, .25);
  text-shadow: 1px 1px 1px #000000bb, 0 0 6px rgba(0, 0, 0, .2), 2px 3px 0px rgba(0, 0, 0, .2);
  margin-top: 0;
  margin-bottom: 10px;
}
@media (max-width: 767px) {
  .home-page-img h1 {
    font-size: 2.95em;
    margin-bottom: 19px;
  }
}
@media (min-width: 992px) {
  .home-page-img h1 {
    margin-bottom: 5px;
  }
}
.home-page-img h2 {
  font-size: 1.25em;
  text-shadow: 1px 1px 1px #000;
}
@media (max-width: 767px) {
  .home-page-img h2 {
    font-size: 1.1em;
  }
}


/* Elemento que rellena hasta el 100% de la vista (con botones) */
.home-main {
  /* Se usa dvh, en lugar de vh, para mejorar el cálculo en dispositivos móviles */
  min-height: calc(100dvh - var(--header-height, 0px));
  position: relative;
  display: flex;
  align-items: center;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

/* Botones cabecera página principal */
.button-container {
  text-align: center;
}
.button-container .btn {
  text-align: center;
  font-weight: 400;
  font-size: 1em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .15);
  padding: .5em 1.375rem;
  margin-top: 45px;
  margin-bottom: 45px;
  background: cadetblue !important;
  box-shadow: 0 0.5rem 1.125rem -0.5rem cadetblue;
  color: white;
}
.button-container .btn:hover {
  background: cadetblue !important;
  box-shadow: 0 0.5rem 1.125rem -0.5rem cadetblue !important;
  color: white !important;
  opacity: .6;
}
.button-container .btn-alternative {
  background: #c19c75 !important;
  box-shadow: 0 0.5rem 1.125rem -0.5rem #c19c75;
}
.button-container .btn-alternative:hover {
  background: #c19c75 !important;
  box-shadow: 0 0.5rem 1.125rem -0.5rem #c19c75 !important;
  color: white !important;
  opacity: .6;
}

/* Caja de búsqueda de la página principal */
.search-custom .module-search, .search-custom .module-search:first-child {
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  height: auto;
  padding: 0;
  margin-top: 0;
}
.search-custom .heading, .search-custom .tags {
  display: none;
}
.search-custom .search-form .search-input.search-giant input {
  box-shadow: 2px 2px 1px rgba(0, 0, 0, .08), 3px 3px 2px rgba(0, 0, 0, .07);
  border: 0;
  padding: 29px 24px;
  font-size: 1.5em;
  font-size: 1.6em;
  color: rgba(0, 0, 0, .8);
  background: rgba(255, 255, 255, .95);
  border-top-right-radius: 8px;
  border-top-left-radius: 0;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}
.search-custom .search-form .search-input button i {
  color: rgba(0, 0, 0, .27);
  text-shadow: 0px 0px 2px rgba(255, 255, 255, .4);
}
.search-custom .search-form .search-input.search-giant input::placeholder {
  font-weight: 400;
  color: rgba(0, 0, 0, .45);
}
.search-custom form, .search-custom .module-shallow .module-content:first-child {
  margin: 0 !important;
  background: transparent !important;
  padding: 0;
}
.search-custom h3 {
  color: rgba(0, 0, 0, .55);
}
.search-custom .search-giant span {
  opacity: .875;
  font-size: 0.96em;
  font-size: 1.02em;
  margin-bottom: 0;
  display: inline-block;
  background: white;
  color: rgba(0, 0, 0, .7);
  text-shadow: none;
  padding: 5px 12px 4.5px 13px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.search-form .search-input.search-giant button {
  margin-top: 0;
}
@media (max-width: 767px) {
  .search-custom {
    opacity: .92;
  }
  .search-custom .search-form .search-input.search-giant input {
    padding-left: 17px;
    padding-right: 17px;
    font-size: 1.3em;
  }
  .search-custom .search-giant span {
    font-size: 0.88em;
    padding-top: 4.5px;
    padding-bottom: 4px;
    margin-top: 5px;
  }
}

/* Buscador de la barra de navegación */
.masthead .simple-input .field .btn-search {
  margin-top: -12px;
}
.masthead .simple-input input {
  font-size: .91em;
  width: 200px;
  border: 1px solid #e1e6ee;
  border-radius: 6px;
  box-shadow: 2px 2px 1px rgb(189 204 218 / 8%), 1.5px 1.5px 0px rgba(189 204 218 / 14%);
}
.masthead .simple-input input::-webkit-input-placeholder {
  color: rgba(0, 0, 0, .5);
}

/* Listado categorías (JS) */
#groups-container .media-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#groups-container .media-item {
  flex: 1 1 115px;
  max-width: 115px;
  position: relative;
  border: none;
  margin: 0 12px;
  padding: 14px 0;
}
#groups-container .media-item img {
  width: 100%;
  height: auto;
  padding: 0 15px;
}
#groups-container .media-item h2 {
  font-size: 1.11em;
  text-wrap: wrap;
  text-wrap: balance;
  line-break: normal;
  word-break: break-word;
  font-weight: 400;
}
#groups-container .media-item .count, #groups-container .media-item .media-description {
  display: none;
}

@media (max-width: 767px) {
  #groups-container .media-item {
    flex: 1 1 95px;
    max-width: 95px;
  }
  #groups-container .media-item h2 {
    font-size: 1.08em;
  }
}

/* ==========================================================================
   Ajustes tipografía
   ========================================================================== */

/* Tamaño de fuente */
h1, .h1 {
  font-size: 3.25rem;
}
h2, .h2 {
  font-size: 2.5rem;
}
.btn {
  font-size: 0.93em;
}
.context-info h1.heading,
.context-info h4.heading {
  font-size: 1.2em;
}
@media (max-width: 767px) {
  .context-info h1.heading,
  .context-info h4.heading {
    font-size: 1.55em;
  }
  .module-narrow.module-shallow h1.heading,
  .module-narrow.module-shallow h4.heading  {
    font-size: 1.2em;
  }
}
.context-info .nums dl dt {
  font-size: .88em;
}
.context-info section.module-content .description {
  word-break: break-word;
}
.module-heading {
  font-size: 1em;
}
.nav-item > a, .nav-aside li a {
  font-size: 1em;
}
.nav-simple > li, .nav-aside > li {
  font-size: 0.94em;
}
.description-copied {
  font-size: 1em;
}
.resource-item .heading {
  font-size: .98em;
  line-break: anywhere;
  word-break: break-word;
}
.context-info h4.heading {
  margin: 0 0 5px 0;
  font-weight: 600;
  line-height: 1.3;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.table-dataset, .table.table-striped.table-bordered.table-condensed.table-toggle-more {
  font-size: 1em;
}
.toolbar .breadcrumb {
  font-size: 1.1em;
}
@media (max-width: 767px) {
  .toolbar .breadcrumb {
    font-size: .97em;
  }
}
.form-control {
  font-size: 0.93em;
}
.form-control#field-giant-search {
  font-size: 1.18em;
}
.account-masthead .account ul li a {
  font-size: 0.87em;
}
@media (max-width: 767px) {
  .account-masthead .account ul li a {
    font-size: 0.72em;
  }
}
label {
  font-size: 0.94em;
}
.dataset-heading {
  font-size: 1.2em;
}
.input-group.search-input-group .btn-lg {
  font-size: 18px;
}
nav.section.navigation {
  letter-spacing: -0.15px;
}
h5, .h5 {
  font-size: .93em;
}
.masthead a {
  font-size: 1.06em !important;
}
.wrapper-transparent p, .wrapper-transparent li, .wrapper-transparent h5,
.wrapper-nav-transparent {
  font-size: 1.2em;
}
.wrapper-transparent h5, .wrapper-nav-transparent h5 {
  font-size: 1.25em;
}
.toolbar .breadcrumb {
  font-size: 1.05em;
}
.site-footer a {
  font-size: 1.09em;
}
.media-heading {
  font-size: 1.11em;
}
@media (max-width: 1199px) and (min-width: 768px) {
  .masthead a {
    font-size: 1em !important;
    letter-spacing: -0.2px;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  .masthead a {
    font-size: 1.03em !important;
    letter-spacing: -0.1px;
  }
}

/* Color tipografía */
body, p, .empty, .toolbar .breadcrumb a,
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus,
.media-item span.count,
.search-custom .search-giant span, #blog-posts-container .dataset-item {
  color: #232323;
}
h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  color: #0074CA;
}
.btn,
.btn-primary {
  background: #0074CA !important;
  background: #0070c4 !important; /* Accesiblidad */
}
.btn:hover,
.btn-primary:hover {
  color:  #0074CA !important;
  background: white !important;
}
.dataset-heading a {
  color: #0074CA;
}
.module-content .dataset-item p.dataset-item-organization,
.module-content .dataset-item p.dataset-item-instituto {
  color: rgba(0, 0, 0, .55);
}

/* Tipografía */
.wrapper, .wrapper h1, .wrapper .h1, .wrapper h2, .wrapper .h2,
.wrapper h3, .wrapper .h3, .wrapper h4, .wrapper .h4, .wrapper h5, .wrapper .h5,
.wrapper p, .wrapper li {
  font-family: sans-serif;
}
.wrapper-transparent, .wrapper-transparent h1, .wrapper-transparent .h1,
.wrapper-transparent h2, .wrapper-transparent .h2, .wrapper-transparent h3,
.wrapper-transparent .h3, .wrapper-transparent h4, .wrapper-transparent .h4,
.wrapper-transparent h5, .wrapper-transparent .h5, .wrapper-transparent p,
.wrapper-transparent li {
  font-family: inherit;
}
.wrapper-nav-transparent, .wrapper-nav-transparent h1, .wrapper-nav-transparent .h1,
.wrapper-nav-transparent h2, .wrapper-nav-transparent .h2, .wrapper-nav-transparent h3,
.wrapper-nav-transparent .h3, .wrapper-nav-transparent h4, .wrapper-nav-transparent .h4,
.wrapper-nav-transparent h5, .wrapper-nav-transparent .h5, .wrapper-nav-transparent p,
.wrapper-nav-transparent li {
  font-family: inherit;
}
.masthead, .account-masthead {
  font-family: sans-serif;
}
.toolbar .breadcrumb {
  font-family: sans-serif;
}
.btn, .btn-primary {
  font-family: sans-serif;
}