/**
* Archivo que afecta a todas páginas de búsqueda
*/

/**
Imágenes de los monarcas
*/
.content-gallery .carousel-gallery .section-card .section-card-image img {
    object-position: top;
}



/**
* Ocultar el pie
*/

/**body.coleccion main footer.footer,
body.landing.coleccion main footer.footer,
body.autores main footer.footer,
body.lineadeltiempo main footer.footer,
body.realesSitios main footer.footer,
body.reyes main footer.footer
{
    display: none;
} */
body.landing.coleccion main footer.footer
{
    display: none;
}
/* #navegacion-buscador{
    top: 160px
} */
/** otros estilos */
.listado .col-buscador {
    margin-bottom: 0px !important;
}
@media (max-width: 991px)
{
    .listado .col-buscador {
        width: auto !important;
    }
}

.menuLateral.metabuscador .resultados-wrap .wrap-objetos{ 
    gap: 0px 30px !important;
}

/* #panFacetas .facetedSearch {
    min-width: 225px;
}

.facetas-wrap div
{
    display: initial;
} */


/** 
Corrigiendo el estilo de las facetas 
*/

/* Cambiamos la estructura del texto de las facetas*/
.facetas-wrap .listadoFacetas li a span.textoFaceta {
    white-space: pre-wrap;
    max-width: 100%;
    display: initial;
    text-overflow: initial;
    overflow: visible;
    font-size: 15px;
}

/* Para el scroll dentro de las facetas */
.facetas-wrap .box .listadoFacetas {
    height: calc(100% - 67px);
}

.facetas-wrap .listadoFacetas li a {
    color: var(--c-texto);
}

.facetas-wrap .listadoFacetas li a:hover span.textoFaceta {
    color: var(--c-secundario);
    text-decoration: none;
    transition: all linear .3s;
    text-shadow: 0 0 black;
}

.facetas-wrap .listadoFacetas li a:hover span.num-resultados {
    color: var(--c-secundario);
    text-decoration: none;
    transition: all linear .3s;
    text-shadow: 0 0 black;
}

.facetas-wrap .faceta-title .facet-arrow:before, .facetas-wrap .faceta-title .search-icon:before {
    color: var(--c-texto);
}

.modal-resultados-paginado .resultados-wrap .listadoFacetas {
    flex: 0 0 calc(50%);
    max-width: 50%;
    margin: 0;
    margin-block-start: 0;
    list-style: none;
    padding: 0 7px;
}

@media (max-width: 767px)
{

    .modal-resultados-paginado .resultados-wrap .listadoFacetas {
        flex: 0 0 100%;
        max-width: 100%;
    }
}



/** Estilos de la cabecera (Botones para cambiar el formato) */
header .row .col.col02 .visualizacion .nav .nav-item .nav-link {
    transition: all linear .3s;
    opacity: .6;
}
header .row .col.col02 .visualizacion .nav .nav-item .nav-link:hover {
    opacity: 1;
}


/** Imágenes de genealogías */

div#geneologia {
    height: 100%;
    width: 100%;
}
div#geneologia .tab-content {
    max-height: 100%;
    height: 100%;
}
#geneologia .tab-content .tab-pane {
    width: 100%;
    /* height: 100%; */
    height: calc(100% - 60px);
}
#geneologia .tab-content .tab-pane.active {
    vertical-align: middle;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
}

#geneologia .tab-content img {
    /* height: calc(100% - 165px); */
    max-height: calc(100% - 62px);
    position: relative;
    width: auto;
    height: auto;
    align-self: center;
    margin: 0 auto;
}
/** Galería de la colección en modo mosaico */
.owl-carousel.custom-mosaico .owl-stage-outer {
    height: 100%;
}

.owl-carousel.custom-mosaico.owl-drag .owl-item {
    margin-right: 0px;
}

.owl-carousel.custom-mosaico .owl-stage,
.owl-carousel.custom-mosaico .owl-stage .owl-item,
.owl-carousel.custom-mosaico .owl-stage .owl-item .bloque
{
    height: 100%;
}


@media (min-width: 1279px)
{
    .custom-mosaico .bloque .items .item {
        min-width: 6vw;
    }
    .custom-mosaico {
        padding-bottom: 66px;
    }
}

.col-facetas>div{
    display: contents;
}

.col-facetas form {
    overflow: auto;
    display: inline-flex;
    margin-block-end: 1em;
}
.pag-basica .acciones-buscador .buscador .busqueda{
    margin-right: 0px;
}

/*
MOVER A GENERAL
*/

@media (max-width: 767px){
.lineadeltiempo .modal:before{
    content: inherit !important;
}
.lineadeltiempo .modal-linea-tiempo {
    margin: 0 !important;
    width: 100%;
}
.lineadeltiempo .modal .modal-content {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}
}
@media (max-width: 467px){
    .lineadeltiempo .modal.show .modal-dialog {
    padding: 20px;
}
}