/******************
* CUSTOM HEADER FILE
*******************/

/**
* Show admin buttons
*/
body:not(.invitado) header .row .col.col03 > ul > li.nuevo, 
body:not(.invitado) header .row .col.col03 > ul li.usuario 
{
    display: initial;
}


body:not(.listado) header .row .col.col02 > .buscador-upper-wrapper
{
    display: none;
}

header .row .col.col03 > ul > li.nuevo .btn {
    color: #000;
}

/**
* Language dropdown styles
*/
.idiomas .basic-dropdown.dropdown-menu .item-dropdown .material-icons {
    padding-right: 7px;
    font-size: 14px;
}

.basic-dropdown.dropdown-menu .item-dropdown:not(.activo) {
    padding-left: 36px;
}


header .row .col.col03 > ul li.communitym .community-menu > a
{
    display: inherit;
    transition: all .3s ease;
}

/**
* Lupa búsqueda
*/
header .row .col.col03 > ul li.buscar a {
    text-indent: -9999px;
}

/**
* Top ficha recurso obra y autor
*/

body.fichaObra main,
body.fichaRealSitio main,
body.fichaMonarca main,
body.fichaAutor main
{
    padding-top: 0px;
}


/**
* Top ficha búsqueda
*/

body.coleccion main,
body.reyes main,
body.autores main,
body.lineadeltiempo main,
body.realesSitios main
{
    padding-top: 0px;
}

/**
* Scrolling styles
*/

.scrolling header .nuevo, .scrolling header .usuario  {
    opacity: 0;
    pointer-events: none;
}

header .nuevo, header .usuario  {
    transition: opacity 0.5s;
}

img:not(.fullScreen)
{
    max-width: initial;
    height: initial;
}




/**
* Buscador update
*/

.listado header .row .col.col02 {
    height: 61px;
}


.buscador-wrapper {
    max-width: 278px;
    overflow: visible;
}

@media (max-width: 1279px)
{
    .listado header .row.upper-row {
        flex-wrap: nowrap;
    }

    .buscador-upper-wrapper .buscador input[type="text"] {
        height: 36px;
        width: 278px;
        border-radius: 70px;
        -webkit-border-radius: 70px;
        -moz-border-radius: 70px;
        -ms-border-radius: 70px;
        -o-border-radius: 70px;
        padding: 10px;
    }
.listado header .row .col.col02 {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    height: 61px;
    padding-left: 40px;

    order: initial;
    flex: initial;
    padding: 0;
}
    .buscador-wrapper {
        max-width: 153px;
        height: 38px;
        display: inline-block;
    }
    .buscador-wrapper {
        max-width: 278px;
        overflow: visible;
        height: initial;
    }
}

@media (max-width: 991px)
{
    .listado header .row .col.col02 {
        order: 3;
        flex: 0 0 100%;
        padding: 0 10px;
        justify-content: flex-start;
        height: 61px;

    }
    .buscador-wrapper {
        max-width: 153px;
        height: 38px;
        display: inline-block;
    }
    .listado header .row.upper-row {
        flex-wrap: wrap;
    }
    .buscador-upper-wrapper .buscador input[type="text"] {
        height: 30px;
        width: 153px;
    }
}
@media (max-width: 767px)
{
    .buscador-wrapper {
        /*max-width: 120px;*/
    }
}

header .row .col.col02 .visualizacion {
    align-items: flex-start;
    padding-top: 3px;
}

header .row .col.col02 .visualizacion .nav {
    margin-top: -7px;
}


#panFiltros {
    padding-top: 20px;
}

@media (max-width: 1279px)
{
    #panFiltros {
        padding-top: 5px;
        position: absolute;
    }

}

#panFiltros ul {
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
    flex-direction: row;
}

@media (max-width: 767px)
{
    #panFiltros ul {
        margin: 0;
        padding: 0;
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-content: flex-start;
        align-items: start;
        flex-direction: row;
    }
}


#panFiltros ul li {
    white-space: nowrap;
    max-width: 80%;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
}

.buscador-wrapper .textoBusquedaPrincipalInput {
    max-width: 278px;
}



/**
Banner head
*/
.banner-ficha::before, .pag-basica .banner::before, .pag-basica .banner.edificio::before {
    /* position: absolute;
    content: "";
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0.4) 100%);
    opacity: .8;
    width: 100%;
    bottom: 0;
    height: 250px;
    top: initial; */
}

.banner-ficha > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.home-header .col{
    padding: 0;
}

body.homeComunidad #col01{
    margin-top: 0px !important
}