.fake-a {
    cursor: pointer;
}

.pointer-events-none {
    pointer-events: none;
}

.filtros_seleccionados_wrap {
    border-bottom: solid 1px #DEDEDE;
}

.filtros_seleccionados_wrap.show-it {
    padding: 15px 0;
}

.no_result {
    //border-bottom: solid 1px #DEDEDE;
}

.hide-it {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease;
}

.show-it {
    opacity: 1;
    height: auto;
    overflow: auto;
    transition: opacity 0.4s ease;
    position: relative;
    z-index: 1;
}

.filtro_barra {
    position: relative;
    padding: 0;

      &:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: -60vw;
        right: -60vw;
        height: 1px;
        background-color: #DEDEDE;
      }
}

.filtro_wrap {
    border-top: solid 1px #DEDEDE;
    overflow: hidden;
    margin-top: 40px;

    .no_result,
    .filtros_opciones_wrap {
        .opciones_cols.show-it {
            //padding: 40px 0;
        }
    }

    .filtro_barra {
        display: flex;
        justify-content: space-between;
    }

    .filtros {
        min-height: 68px;
        align-items: stretch;
        display: flex;
        justify-content: flex-start;

        .submit_fila {
            display: flex;
            align-items: center;
            font-size: 14px;
            justify-content: center;
        }

        .filtro_item {
            border-right: solid 1px #DEDEDE;
            min-width: 172px;
            padding: 15px;
            display: flex;
            align-items: center;
            font-weight: 400;
            font-size: 14px;
            justify-content: center;
            cursor: pointer;

            &:first-of-type {
                /*padding-left: 0;*/
                justify-content: flex-start;
                min-width: initial;
                padding-right: 30px;
            }

            &.active {
                span:after {
                    transform: rotate(180deg);
                }
            }

            span {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            span:after {
                content: "";
                width: 8px;
                height: 5px;
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
                display: inline-block;
                margin-left: 4px;
                transition: all ease .6s;
            }
        }
    }

    .filtro_der {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .buscador_text input {
        color: #999;
        border: none;
        background: none;
        min-width: 240px;
        font-style: italic;
        font-size: 13px;
        outline: none;
        box-shadow: none;

        &:focus, &:visited {
            outline: none;
            box-shadow: none;
            border: none;
        }
    }
}

button.enviar_filtro {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: none;
}

.filtros_seleccionados_wrap {
    z-index: 20;
}

.filtros_seleccionados {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 13px;
    padding: 20px 0;
    flex-wrap: wrap;

    .filter-ajax,
    .filtro_selec {
        margin-right: 10px;
        padding: 5px 20px;
        background-color: #000;
        color: #fff;
        border-radius: 30px;
        margin-bottom: 5px;

        i {
            padding-left: 8px;
            font-size: .8em;
            cursor: pointer;
        }
    }

    .btn-delete-filters,
    .filtro_eliminar {
        padding: 5px 20px;
        border: solid 1px #000;
        border-radius: 30px;
        color: #000;
        background-color: #fff;
        cursor: pointer;
        margin-bottom: 5px;
    }
}

.filtros_opciones {

    .opciones_cols {
        display: flex;
        flex-wrap: wrap;
        border: none;
        position: relative;
        overflow: visible;

        &:before {
            content: "";
            border-top: 1px solid rgba(0, 0, 0, 0.125);
            position: absolute;
            left: -50vw;
            width: 200vw;
            right: 0;
            bottom: 0;
        }
    }

    label {
        cursor: pointer;
        position: relative;
        padding: 15px 20px 20px 15px;
        width: 25%;
        min-width: 25%;
        max-width: 25%;
        flex: 1;

        span {
            display: block;
            font-weight: 400;
            margin-left: 10px;
            //white-space: nowrap;
        }

        i {
            font-style: italic;
            color: #999999;
            font-size: 13px;
            margin-left: 6px;
        }
    }

    input[type='checkbox'] {
        width: 16px;
        height: 16px;
        background-color: white;
        border-radius: 0%;
        vertical-align: middle;
        border: 2px solid #fff;
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        outline: solid 1px #6F6F6F;
        position: absolute;
        left: 1px;
        top: 18px;
        box-shadow: none;
    }

    input[type='checkbox']:checked {
        background-color: #000;
    }

    .btn {
        font-size: 16px;
    }

}

.resultados {
    color: #999999;
}

.no_result {

    .result_titulo {
        font-size: 1.9rem;
        font-weight: 600;
    }

    p {
        font-weight: 400;
    }
}

.pagination {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    .page-numbers {
        display: none;
    }

    a:hover {
        opacity: 1;
    }

    .disabled,
    .pag_prev,
    .pag_next {
        padding: 10px 15px;
        border: solid 1px #000;
        color: #000;
        margin: 5px;
        font-size: 1rem;
        font-weight: 400;
        display: inline-flex;
        align-items: center;
        line-height: 1em;
        text-decoration: none;
        transition: all ease .3s;
        cursor: pointer;

        img {
            height: 17px;
            width: auto;
            display: inline-block;
        }

        &:hover {
            text-decoration: none;
            color: #fff;
            background-color: #000;
            border-color: #000;
            opacity: 1;

            img {
                filter: invert(1);
            }
        }
    }

    .disabled {
        pointer-events: none;
        opacity: .6;
    }

    .pag_next {
    
        img {
            margin-left: 7px;
        }
    }

}

.resultados {
    font-family: var(--titleFont);
}

.pagination_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .page-x-of-y {
        display: flex;
        align-items: center;
        justify-content: flex-end;

        #paged-input {
            text-align: center;
            pointer-events: none;
        }

        strong {
            color: #000;
        }
    }

}

.filtro_barra {
    @extend .container;
}

@media(min-width: 2500px) {

    #theme-main .single_proyecto_wrap {
        padding-left: calc(50% - 1000px);
        padding-right: calc(50% - 1000px);
    }

}

@media(max-width: 1400px) {

    .filtro_wrap .filtros .filtro_item {
        min-width: 120px;
    }

}

@media(max-width: 1199px) {

    .filtro_barra {
        padding: 15px;

        .filtro_der {
            padding: 0;
        }
    }

}

@media(min-width: 1200px) {
    
    .filtros_seleccionados_wrap {
        .container {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            justify-content: flex-start;

            .filtros_seleccionados {
                padding-left: 15px;
            }
        }
    }

    #list-categories,
    .filtros_opciones {

        .accordion-header {
            display: none;
        }
    }

    .wrapper-relacionados {
        .row {
            .post-type-item-wrap:nth-child(2n) {
                padding-right: 0 !important;
                padding-left: 15px !important;
            }
        }
    }

}

@media(max-width: 1199px) {

    .filtros_opciones .btn:not(.btn-link).btncerrarfiltros {
        display: none;
    }

    .down-side.hide-it,
    .filtros_opciones .opciones_cols.hide-it {
        opacity: 1;
        height: auto;
        visibility: visible;
        border-bottom: solid 1px rgba(0, 0, 0, 0.1)
    }

    .filtros_opciones .opciones_cols:before {
        display: none;
    }

    .mobile_buttom_wrap {
        //background-color:#e1e1e1;
        padding: 20px 0;
    }

    .filtro_wrap {
        position: fixed;
        top: 0px;
        bottom: 0;
        background-color: #fff;
        z-index: 10000;
        left: 0;
        width: 100%;
        max-width: 600px;
        padding-top: 40px;
        transform: translateX(-100vw);
        transition: all ease .3s;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
        overflow-y: auto;

        &.filtro_abierto {
            transform: translateX(0vw);
        }

        > .container {
            padding: 0;
        }

        .accordion-header {
            display: block;
            width: 100%;
        }

        .accordion-item .accordion-button:not(.collapsed):after {
            content: "";
        }

        .accordion-item .accordion-button:after {
            content: "";
            height: 15px;
            width: 15px;
            background-size: contain;
            background-position: center;
        }

        .accordion-button {
            padding: 15px 15px;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .filtros_opciones label {
            width: 50%;
            min-width: 50%;
            max-width: 50%;
        }

        .buscador_text {
            border-bottom: solid 1px rgba(0, 0, 0, 0.2);
            padding-bottom: 10px;
        }

        .filtro_der {
            justify-content: space-between;
            padding: 15px;

            .buscador_text {
                flex: 1;

                input {
                    width: 100%;
                }
            }
        }

        .filtros .filtro_item {
            text-align: left;
            justify-content: flex-start;
            padding-left: 0;
            border: none;
        }

        .filtro_barra {
            flex-direction: column-reverse;
        }

        .btn_cerrar {
            cursor: pointer;
            font-size: 25px;
            font-weight: 600;
        }

        .accordion-collapse {
            padding: 0 15px;
        }

        .movil_header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: solid 1px rgba(0, 0, 0, 0.2);
            padding: 0 15px 15px 15px;

            .titulo_movil {
                font-size: 20px;
            }
        }

        .filtros {
            flex-direction: column;
            display: none;
        }
    }

}

@media(max-width: 500px) {

    .pagination_wrap {
        flex-direction: column;
    }

    .filtro_wrap {

        .filtros_opciones label {
            width: 100%;
            min-width: 100%;
            max-width: 100%;
        }
    }

}

.supercontainer-result {
    position: relative;

    .element-loading {
        opacity: 0;
        position: absolute;
        z-index: 2;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #FFFFFFA6;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    &.loading{

        .element-loading {
            opacity: 1;
            pointer-events: all;
            transition: opacity 0.4s ease;
        }
    }
}


/* Dark Version */
/*
.mobile_buttom_wrap {
    background-color: #000;

    .btn-outline-dark {
        color: #fff;
        border-color: #fff !important;

        &:hover {
            color: #000;
            background-color: #fff;
        }
    }
}

.filtro_wrap {
    background-color: #000;

    * {
        color: #FFF;
    }
}

.filtros_seleccionados_wrap,
.filtros_opciones .opciones_cols,
.filtros_opciones_wrap {
    background-color: #424242;

    * {
        color: #FFF;
    }

    .btn-outline-dark {
        color: #fff;
        border-color: #fff !important;

        &:hover {
            color: #000;
            background-color: #fff;
        }
    }
}

.filtros_seleccionados .filter-ajax,
.filtros_seleccionados .filtro_selec {
    background-color: #A1A1A1;
    color: #000;

    * {
        color: #000;
    }
}

.filtros_seleccionados .btn-delete-filters,
.filtros_seleccionados .filtro_eliminar {
    border-radius: 0;
    border: solid 1px #969696;
    background-color: transparent;
    color: #969696;
}

body .filtro_wrap .filtros .filtro_item{
    &.active{
        background-color: #424242;
    }
}

.filtro_barra:before{
    background-color: #818283;
}

.accordion-button,
body .filtros_seleccionados_wrap,
body .filtro_wrap .filtros .filtro_item,
body .filtro_wrap{
    border-color: #818283;
}

.filtro_wrap .filtros .filtro_item span:after{
    filter:invert(1);
}

.filtro_wrap .filtros .filtro_item:first-of-type.active{
    &:before{
        position:absolute;
        content:"";
        left: -30px;
        background-color: #424242;
        top: 0;
        bottom: 2px;
        width: 30px;
    }
}

@media(max-width:1199px){

    .filtros_opciones_wrap >.container{
        padding:0;
    }

    button.enviar_filtro,
    .filtro_wrap .accordion-item .accordion-button:after{
        filter:invert(1);
    }

    .filtro_wrap .accordion-button {
        background-color: #000;

        * {
            color: #FFF;
        }

        &:not(.collapsed){
            outline: none;
            box-shadow:none;
            background-color:#424242;
        }

        &:focus{
            outline: none;
            box-shadow:none;
        }
    }
    
}
*/