.lg-object img{
width: 100%;
}
/* Contenedor general de widgets */
.guest-widget {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5em;
  margin: 1.5em auto;
  max-width: 600px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* Título de cada sección */
.guest-widget-title {
  font-size: 1.4em;
  color: #37474f;
  border-bottom: 2px solid #cfd8dc;
  padding-bottom: 0.3em;
  margin-bottom: 1em;
}

/* Estilo para listas de enlaces */
.guest-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guest-widget ul li {
  margin-bottom: 0.8em;
}

.guest-widget ul li a {
  display: block;
  background-color: #ffe0b2;
  color: #e65100;
  text-decoration: none;
  padding: 0.75em 1em;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s;
}

.guest-widget ul li a:hover {
  background-color: #ffcc80;
  transform: translateX(5px);
}
.messages li {
    background-color: rgba(255,255,255,.5);
    border-radius: 3px;
    padding: 6px 10px;
    margin-top: 6px;
    display: block;
    width: 100%;
  }
.messages .success {
    background-color: #cdffcd;
  }
.guest-widget-label{
  text-decoration:underline;
}
.access-status h4{
font-weight: bold;
}
.access-status{
line-height:1;
}
.shrinkToFit{
 width:90%;
 margin:auto;
}
.visible{
  visibility: hidden;
}
.asset.card{
 margin: 1rem;
transition: all 0.3s ease; /* Transición suave de 0.3 segundos */
transform-origin: center; /* La transformación se originará desde el centro */
overflow: hidden; /* Para que la imagen no se salga durante la ampliación */
position: relative;
}
.asset.card:hover {
    transform: scale(1.05); /* Aumenta el tamaño al 105% */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Opcional: añade sombra para mejor efecto */
}
.facet-items  .facet-item{
 margin-left:-20px;
}
.img-responsiva {
  max-width: 100%;
  height: auto;
  display: block; /* opcional para quitar espacio abajo */
}
value-content{
  padding-right:10px;
  }
a{
  color: #f3a825;
}
.asset .link-title{
  color:#fff;
}
footer {
    max-width: none;
}

.button {
  color: #000;
  padding: 10px;
}
.button:hover, .button:focus{
 background-color: #f3a825;
 color#fff;
}

.resource-list .items h4 a{
  font-size: 1rem;
}
.facets-list {
  margin-left: 0;
}
.resource-heading a{
 color:#802a11;
}
.resource-heading a:hover{
 color:#f3a825;
}
.form-block{
 width: 70%
}
.botoncatalogo{
 color: #802a11;
}
.botoncatalogo :hover{
 color: #fff;
}

.coleccion {
    background-color: rgba(128, 42, 17, 0.75);
    border: 10px solid #ededed;
}
.search-form button{
background-color: #f3a825;
}
.title-bar button{ 
 color: #000;
}
.top-bar{
position: fixed;
top: 0;
width: 100%;
background-color: white;
transition: box-shadow 0.3s ease, padding 0.3s ease;
/*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
 z-index: 1000;
display:  flex;
justify-content: space-between;
padding: 1rem 2rem;
/*padding:16px 20px;*/
/*left: 0;*/
}

.top-bar ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: space-around;
           font-size: 1.2rem;
            /*background-color: rgba(225, 207, 166, 0.5); */
        }
.top-bar ul li {
            display: inline;
            position: relative;
        }

.top-bar ul li a {
            color: #f3a825;
            /*font-weight:bold;*/
            text-decoration: none;
            padding: 10px 15px;
            display: block;
            transition: color 0.3s ease;
        }

.top-bar ul li a:hover {
            color: #000; /* Cambia el color del texto al pasar el ratón */
        }

/* Línea inferior al hacer clic */
.top-bar ul li a.active::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -10px; /* Ajusta la posición de la línea */
            width: 100%;
            height: 2px;
            background-color: #ed404d; /* Color de la línea */
            animation: underline 0.3s ease; /* Animación de la línea */
        }
/* Estilo al hacer scroll */
.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scrolled .site-title img {
  max-height: 3rem;
}
@keyframes underline {
            from {
                transform: scaleX(0);
            }
            to {
                transform: scaleX(1);
            }
        }
body:not(.browse) {
padding: 100px 0px 0px;
}
.cajatitulo{
 background-color: rgba(243, 169, 38, 0.95);color:white;padding:20px;
}
.titulobanner{
  color: #fff;
  font-size: 1.2rem;
 }
/* Contenedor del grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 16px;
}
.value-content a {
   color: #f3a825;
}
/* Estilos para cada recurso en el grid */
.resource-grid .resource {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    transition: transform 0.2s ease-in-out;
}

.resource-grid .resource:hover {
    transform: translateY(-5px);
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
}

/* Estilos para las imágenes (si las hay) */
.resource-grid .resource img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Estilos para el título y metadatos */
.resource-grid .resource h3 {
    font-size: 1.1em;
    margin: 10px 0;
}

.resource-grid .resource p {
    font-size: 0.9em;
    color: #666;
}
.inline .property{
   justify-content: flex-start;
   margin-left: 2rem;
}
.tituloproperty{
  /*text-transform: uppercase;*/
  color: #7a3201;
 font-weight: 550;
}
.property dd .tituloproperty{
 font-weight: bold;
}
.h1, h1, h2 {
    /*font-size: 3.1rem;*/
    /*margin-bottom: 1.9rem;*/
    font-weight: 400;
    color: #f3a825;
     line-height: normal;
}
.h1,h1{
   margin-botton: 1.9rem;
}


.inline .property .value, .inline .property dd {
  width: 100%;
  padding-right:10px;
}
.thumbnail-mosaic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.thumbnail-mosaic img {
    width: 150px; 
    height: 150px; 
    object-fit: cover;
    border-radius: 5px;
}
.miniatura{
 width: 650px;
}
.card-image:hover{
 /*filter: sepia(100%) saturate(50%) hue-rotate(30deg);*/
  filter: sepia(50%) saturate(200%) hue-rotate(10deg);
 /*filter:grayscale(50%);*/
}
.encabezado {
  display: flex;
  align-items: center; /* Alinea verticalmente el contenido */
  justify-content: center; /* Centra horizontalmente el contenido */
}
.encabezado h1{
    text-align: center;
    font-size: 3rem;
    /*color: #4e0b00;*/
   color: #fff;
   margin: 0;
}
.resource-meta .resource-link .resource-name{
 font-size: 1rem;
}
.preview-block h2{
  line-height: inherit;
  color: #ffa504;
  font-size: 1.9375rem;
}
.faceted-results .resource-link .resource-name{
 color: #502f11;
 font-weight: normal;
}
.carrusel-recursos {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carrusel-recursos .assets {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
   /* scroll-behavior: smooth;*/
   scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.carrusel-recursos .assets::-webkit-scrollbar{
   display:none; 
}

.carrusel-recursos .asset {
   position: relative; 
   flex: 0 0 auto;
    width: 400px; /* Ajusta según el tamaño deseado */
    height: 250px;
    margin-right: 10px;
   overflow: hidden;
}

.carrusel-recursos img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
   transition: all 0.3s ease; /* Transición suave de 0.3 segundos */
   transform-origin: center; /* La transformación se originará desde el centro */
   overflow: hidden; /* Para que la imagen no se salga durante la ampliación */
}

/* Botones de navegación */
.carrusel-recursos .prev-btn, 
.carrusel-recursos .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 30px;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.carrusel-recursos .prev-btn { left: 10px; }
.carrusel-recursos .next-btn { right: 10px; }

.carrusel-recursos .assets::-webkit-scrollbar {
    display: none; /* Ocultar scrollbar en navegadores WebKit */
}

.carrusel-recursos .caption{
    background-color: rgba(128, 42, 17, 0.8);
   /*background-color: rgba(249, 213, 164, 0.85); #f9d5a4 con 80% de opacidad */
    color: #fff; 
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    text-align: center;
    font-size: 14px;
    opacity: 0;
    transition:  opacity 0.3s ease-in-out;
}
.carrusel-recursos .link-title {
    /*background-color: rgba(249, 213, 164, 0.8); #f9d5a4 con 80% de opacidad */
    background-color: rgba(128, 42, 17, 0.75);
    color: #f3a825; 
    padding: 8px;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 16px;
 }
/* Mostrar la descripción cuando se pasa el cursor */
.carrusel-recursos .asset:hover .caption {
    opacity: 1;   
}
.carrusel-recursos .asset:hover img {
   transform: scale(1.05); /* Aumenta el tamaño al 105% */
   /*filter: sepia(100%) saturate(50%) hue-rotate(30deg);*/
   filter: sepia(50%) saturate(200%) hue-rotate(10deg);
   border-radius: 8px;
}
@media screen and (min-width: 1325px) {
    .contenant {
        width: 250px;
       /*margin: 15px;*/
        overflow: hidden;
        border: 5px solid white;
    }
}
.contenant {
    position: relative;
    text-align: center;
    color: #fff;
    /*border: 5px solid white;*/
    /*margin: 1%;*/
}
.zoom {
    width: 250px;
    height: 150px;
}
doc_img {
    width: 300px;
    height: 200px;
    min-width: 300px;
}
.text {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*background-color: rgba(247,165, 10, 0.5);*/
    background-color: rgba(0,0,0,0.4);
    width: 250px;
    text-align: center;
    height: auto;
}
.lien {
    display: block;
    width: 100%;
    /*height: 88px;*/
    /*padding-top: 30px;*/
    color: #fff;
}
@media screen and (min-width: 1325px) {
    .doctype {
        display: flex
;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 1fr);
        min-height: 200px;
    }
}
@media screen and (min-width: 800px) {
    .doctype {
        display: flex
;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
        min-height: 200px;
    }
}
.doctype {
    width: 100%;
    grid-template-columns: 33% 33% 33%;
    align-items: start;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
    text-align: center;
}
.zoom img {
    /* La transition s'applique à la fois sur la largeur et la hauteur, avec une durée d'une seconde. */
    -webkit-transition: all 1s ease; /* Safari et Chrome */
    -moz-transition: all 1s ease; /* Firefox */
    -ms-transition: all 1s ease; /* Internet Explorer 9 */
    -o-transition: all 1s ease; /* Opera */
    transition: all 1s ease;
}

.zoom:hover img {
    /* L'image est grossie de 25% */
    -webkit-transform:scale(1.5); /* Safari et Chrome */
    -moz-transform:scale(1.05); /* Firefox */
    -ms-transform:scale(1.05); /* Internet Explorer 9 */
    -o-transform:scale(1.05); /* Opera */
    transform:scale(1.05);
    /*filter: sepia(100%) saturate(50%) hue-rotate(30deg);*/
    filter: sepia(50%) saturate(200%) hue-rotate(10deg);
    }
.advanced-search{
    color: #85470d;
}
.value-titulo {
  font-weight: 600;
  font-size: larger;
}
.resource-meta .resource-link, .search-facet-item a{
  color: #f3a825; 
}
