/* Ocultar el nombre del recurso */
.resource-list .item.resource .resource-name,
.resource-list.grid .item.resource .resource-name,
.resource-list.list .item.resource .resource-name {
  display: none;
}

.faceted-browse-page .resource-list .resource {
    flex-wrap: wrap;
    padding:  0 !important;
}

/* Contenedor de la grilla */
ul.resource-list {
  justify-content: center; 
  display: grid!important;
  grid-template-columns: repeat(auto-fill, minmax(130px, 140px));
  gap: 0 5px!important;
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Cada ítem de la grilla sin márgenes ni bordes */
li.item.resource {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none !important;
  box-shadow: none !important;
}

/* Estilos para las imágenes */
li.item.resource img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
}

/* Si la imagen está dentro de un enlace, evitar estilos heredados */
li.item.resource a {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
}

/*A PARTIR DE ACA CSS PROPIO DEL TEMA FREEDOM ISEP*/
*{
  font-family: "Quicksand", system-ui!important;
  font-style: normal;
  font-optical-sizing: auto;
}
/*estilos aplicados a todos los titulos de las paginas de navegacion*/
.title{
 font-size:45px;
 font-weight: 700;
 color:#265058;
margin-top:25px;
}
.fa, [class*=o-icon-]:before, .fas {
    font-family: "Font Awesome 5 Free"!important;
    font-weight: 700;
}
#main-content {
     padding-top: 0;
}
.main-navigation {
  font-weight: 700;
}
.alignfull {
    margin-bottom: 0 ;
}
.banner__heading{
  font-weight: 700;
  font-size: 52px;
  margin-bottom:0px;
}
.banner__description{
 font-weight: 400;
 font-size: 30px;
}

.jumbotron-search h2{
 font-size:45px;
 font-weight: 700;
 color:#265058;
 margin-bottom:0;
}
.jumbotron-search button[type="submit"]:hover{
background-color:white;
}

.break.transparent{
margin: 25px;
}
/*a partir de aca css materiales destacados*/
/*banner materiales destacados*/
.image-banner .overlay-container {
    position: relative;
    min-height: 0;
    padding-block: 42px;
    padding-left:25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.banner img {
    z-index: 1;
    opacity: 65%;
}
.item-showcase{
display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    line-height: 1.5;
}
#item-showcase2{
background: #ededed;
}
.item-showcase__content{
justify-content: flex-start;
padding: 35px 20px;
}
.item-showcase .resource.item {
     max-width: none;
background: #cedfde;
    border: 0px solid #cccccc;
    padding: 35px 20px;
}
.item-showcase .resource.item img {
     display:none;
}
.item-showcase__text h3 {
min-height: 100px;
}
.item-showcase__text h3 a {
font-weight:700;
font-size:30px;
line-height:1em;
color: #808080;
}
  
/*texto dentro del banner materiales destacados*/
.image-banner .overlay-container > h1 {
    font-weight: 700;
    margin: 0;
    color: #265058;
    font-size: 52px;
}
.titulo_entrada_destacada{
font-weight:700;
font-size:36px;
line-height:1em;
}
.texto_entrada_destacada{
font-weight:400;
font-size:15px;
color:#3c3c3b
}

/*Pagina browse fichas*/
#tabla__copia-facet{
border-spacing: 0 15px;
}
#tabla__copia-facet  thead{
background-color: #ececec;
color: #333;
}
#tabla__copia-facet thead th {
    padding: .75rem;
    font-weight: 600;
    text-align: left;
}
#tabla__copia-facet  tr td{
padding:12px;
}
#tabla__copia-facet  tr td a{
display: flex;
align-items: center;
flex-wrap: wrap;
max-width: 20rem;
}

/*A partir de aca css del footer*/
.main-footer__top-container {
    flex-wrap:wrap;
    flex-direction: row;
    font-weight: 600;
    line-height: 1.5rem;
}
.main-footer__top-container>div {
    flex-grow: 1;
    margin-bottom: 1rem;
    position: unset; 
}

.main-footer__top{
background-color:#265058
}
.no-menu .main-footer__col1, .no-menu .main-footer__col3 {
    max-width: 30%;
    margin-left: 0;
}
.Footer_Bottom {
    display: flex;
    justify-content: center;
    flex-wrap:wrap;
}
.links_footer{
color: rgba(153, 153, 153, 1.0)!important;
}
/*Logo Mampa footer*/
.main-footer__col1 img {
    max-width: 300px;
    min-width: 200px;
}
.col_footer_logo_espacio{
width:40%;
}
.Footer_Bottom>div {
    flex-grow: 1;
    margin-bottom: 1rem;
    position: relative;
}
.mail-footer{
color: rgba(153, 153, 153, 1.0);
}
.mail-footer:hover{
color: rgba(153, 153, 153, 1.0);
}

.link_accesoISEP{
color:white!important;
}
/*fin footer*/
.btn_advanced-search{
background-color: rgb(37, 122, 139);
    border: 2px solid;
    min-width: 222px !important;
    max-width: 20%;
    height: 36px;
    display: flex;
    align-content: flex-start;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}
.advanced-search{
color: white!important;
}
a:has(span) {
  text-decoration: none;
}
/*busqueda facetada*/
.facets-container > legend{
font-size:36px!important;
 font-weight: 700!important;
 color:#265058!important;
}
.faceted-browse-page #section-content .faceted-results img, .faceted-browse-page #section-content .resource-list img {
     max-height: 8rem!important; 
     max-width: 8rem; 
}
.faceted-browse-page #section-content table img + .resource-name {
    max-width: 90%;
}
#helper-text-expand-collapse{
background-color:#ececec;
cursor:default;
color:rgb(51, 51, 51);
font-weight:600;
}
#helper-text-expand-collapse:hover{
color:rgb(51, 51, 51);
background-color:#ececec;
}
#helper-text-expand-collapse:focus{
color:rgb(51, 51, 51);
}

/*Formulario de contacto pagina Contacto*/
.contact-form{
display: flex;
flex-direction: column;
align-items: center;
}
.field{
width: 50%;
box-shadow:none;
padding: 15px 25px;
 margin-bottom: 0;
}
.inputs > input{
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.inputs > textarea{
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.inputs > input[type="checkbox"]{
border-radius: 2px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
#submit{
width: 50%;
font-weight: 700;
background-color: rgb(37, 122, 139);
}
#submit:hover{
background-color: #265058;
}
/*botones de paginacion de navegacion*/
.site-page-pagination{
display:none
}

/*fichas*/
.media-list{
display:none;
}

/*Restricted site login*/
.site-login  input[type="submit"]{
font-weight: 700;
background-color: rgb(37, 122, 139);
margin-left:25px;
}
.leyenda-login{
margin-left:25px;
}
.title-login{
font-size: 45px;
font-weight: 700;
color: #265058;
margin-top: 25px;
margin-left:25px;
}
.site-login  input[type="submit"]:hover{
background-color: #265058;
}
.forgot-password{
margin-left:25px;
}


/*MOBILE */

/*footer mobile*/
@media screen and (max-width: 675px) {
.main-footer__col2{
text-align:center; 
}
.col_footer_logo{
display:flex;
justify-content:center;
}

/*pagina libros mobile*/
.imagen-libros{
max-width:100%;
float:none!important;
}

/*contacto mobile*/
.field{
width: 100%;
}


}

/*FIN MOBILE*/

.media-render.file {
  position: relative;
  display: inline-block;
}

/* Asegúrate de que la imagen se adapte al contenedor */
.media-render img {
  max-width: 280px;
  height: auto;
}

/* Mantén el ribbon como lo tienes */
/*
.media-render.file::after {
  content: "Descargar PDF \f019";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: -40px;
  transform: rotate(45deg);
  background-color: #d9534f;
  color: #fff;
  padding: 5px 15px;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}
*/

/*.media-render.file:hover::after {
  background-color: #c9302c;
}*/



.media-render.file {
  position: relative;
  display: inline-block;
}

.media-render img {
  max-width: 680px;
  height: auto;
}

/* Pseudo-elemento que mostrará la imagen de descarga */
.media-render.file::after {
  content: "";
  position: absolute;
  top: 10px;       /* Ajustar según dónde se quiera posicionar la imagen */
  right: 10px;     /* Ajustar según dónde se quiera posicionar la imagen */
  width: 70px;     /* Define el ancho de la imagen (ajustar según imagen) */
  height: 70px;    /* Define la altura de la imagen (ajustar según imagen) */
  background: url('/files/asset/1db4b1d2456eb9e6121f07364b38d3c1d02dcefe.png') no-repeat center center;
/*background: url('/files/asset/descargar02.png') no-repeat center center;*/
  background-size: contain; /* Esto hace que la imagen se adapte sin distorsionarse */
  pointer-events: none;
  /* Opcional: agrega una transición para un efecto suave al interactuar */
  transition: opacity 0.3s;

  /* Aplica la sombra a la forma de la imagen */
  /*filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.4));*/
filter: drop-shadow(
    5px 5px 10px rgba(0, 0, 0, 0.6)
  ); /* Mayor desplazamiento, más desenfoque, más opacidad */
}

/*
.media-render.file:hover::after {
  opacity: 0.8;    /* Efecto opcional al pasar el cursor */
}*/


