#filtrar{
    &{
        display: flex;
        width: 100vw;
        flex-direction: column;
        align-items: center;
        flex-shrink: 0;
        align-self: stretch;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%), url('/static/img/empreendimentos.png') lightgray 50% / cover no-repeat;
        justify-content: center;
    }

    .desktop &::before{
        content: "";
        width: 100vw;
        height: 37vw;
        position: absolute;
        z-index: -9999999;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%), url('/static/img/empreendimentos.png') lightgray 50% / contain no-repeat;
        box-shadow: 0rem 4rem 51.1rem 35rem rgba(0, 0, 0, 0.20) inset;
    }
    .desktop &{
        height: 37vw;
    }
}


#filtrar h1{
    &{
        height: 55rem;
        color: #FFF;
        text-align: center;
        text-shadow: 1rem 1rem 0rem rgba(0, 0, 0, 0.35), 0.3rem 0.3rem 0.1rem #B70800;
        font-size: 24rem;
        font-weight: 700;
    }

    & i{
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: auto;
        text-decoration-color: #D00900;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
    }
    & i::before {
    content: " ";
}
}


#filtrar #track{
    &{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20rem;
        align-self: stretch;
    }
    .desktop &{
        flex-direction: row;
    }
}

#filtrar #track .entidade{
    display: flex;
    width: 366rem;
    height: 437rem;
    flex-direction: column;
    align-items: center;
    border-radius: 10rem;
    background: #FAFAFA;
    box-shadow: 0rem 1rem 4rem 2rem rgba(0, 0, 0, 0.30);
    overflow: hidden;
}

#filtrar #track .entidade .caption{

    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;

    height: 46rem;
    color: #000;
    text-align: center;
    
    font-size: 20rem;
    font-weight: 700;
    border-bottom: 1rem solid #34495E;
}
#filtrar #track .entidade .roll{
    display: flex;
    height: 380rem;
    padding: 8rem 10rem;
    flex-direction: column;
    align-items: center;
    gap: 10rem;
    flex-shrink: 0;
    align-self: stretch;
    overflow-y: scroll;
    font-size: 16rem;
}

#filtrar #track .entidade .roll label{
    color: var(--Claro, #4A5565);
    font-size: 16rem;
    font-weight: 400;
    display: flex
;
    height: 38rem;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
    align-self: stretch;
    flex: 1 0 0;
    flex-direction: row;
}
#filtrar #track .entidade .roll input{
    &{
        text-align: center;
        color: #34495E;
        font-size: 16rem;
        font-weight: 700;
        border-radius: 5rem;
        border: 1px solid rgba(52, 73, 94, 0.30);

    }
    &::placeholder {
        text-align: center;
        color: #34495E;
    }
}






#filtrar #track .entidade .roll .valuefield{

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 5rem;
    border: 1rem solid rgba(0, 0, 0, 0.20);
}


#filtrar #track .entidade .roll .valuefield .captionvalue{
    display: flex;
    height: 38rem;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    align-self: stretch;
    border-bottom: 1rem solid rgba(0, 0, 0, 0.20);
}


#filtrar #track .entidade .roll .valuefield .captionvalue span{
    display: flex;
    height: 31rem;
    flex-direction: column;
    justify-content: center;
    flex: 1 0 0;
    color: var(--Claro, #4A5565);
    text-align: center;
    font-weight: 400;
}

#filtrar #track .entidade .roll .valuefield .captionvalue span{

}


#filtrar #track .entidade .roll .valuefield .tablevalues{
    padding: 5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#filtrar #track .entidade .roll .valuefield .tablevalues div{
    display: flex;
    width: 100%;
    height: 38rem;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

#filtrar #track .entidade .roll .valuefield .tablevalues div input{
    display: flex;
    height: 31rem;
    flex-direction: column;
    justify-content: center;
    flex: 1 0 0;
    color: #34495E;
    width: 100%;
    margin-right: 10rem;
}

#filtrar #track .entidade .roll .booleanfield span{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    flex: 1 0 0;
    align-self: stretch;
}

#filtrar #track .entidade .roll>div{
    display: flex;
    min-height: 38rem;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    align-self: stretch;
}

#filtrar #track .entidade .roll .stringfield{
    height: 55rem;
    flex-direction: column;
    border-radius: 5rem;
    border: 1rem solid rgba(0, 0, 0, 0.20);
    gap: 5rem;
    padding: 10rem;
    position: relative;
    background-color: #FAFAFA;
}

#filtrar #track .entidade .roll .stringfield label{
    display: flex;
    height: 38rem;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    align-self: stretch;
    flex-direction: row;
}



#filtrar #track .entidade .roll .stringfield .result{
    &{
        display: none;
        position: absolute;
        z-index: 999;
        width: 80%;
        height: 250rem;

        top: 70rem;
        right: 10%;
        background-color: #FAFAFA;
        color: #000;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .stringfield:has(:hover) &:has(div), .stringfield:hover &:has(div){
        display: flex;
        flex-direction: column;
    }

}

#filtrar #track .entidade .roll .stringfield .result .autocomplete-item{
        width: 100%;
        height: auto;
        cursor: pointer;
        padding: 5rem;
        border-bottom: 1rem solid #000;
}


#filtros-actions{
    display: flex;
    width: 184rem;
    height: 195rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 13rem;
    border-radius: 10rem;
    background: #FFF;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.35);
}

#filtros-actions>*{
    &{

        display: flex;
        padding: 5rem;
        justify-content: center;
        align-items: center;
        border-radius: 8rem;
        border-bottom: 1px solid var(--Fundo, #FAFAFA);
        background: var(--Base, #B70800);

        color: var(--Fundo, #FAFAFA);
        text-align: center;
        text-shadow: 0.3px 0.3px 0.1px #000;
        font-size: 20rem;
        font-weight: 700;
        transition: transform 0.3s;

    }
    &:hover{
        transform: scale(1.2);
    }
    &:active{
        transform: scale(0.9);
    }
}

#filtros-actions a{
    &{
        text-decoration: none;
        gap: 10rem;        
    }
}

#filtros-actions a span{
    background-image: url('/static/icons/wpp-green.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 29rem;
    width: 29rem;
}


/* ---------------------- ---------------------- ---------------------- */
    /* ---------------------- RESULTADOS ---------------------- */
/* ---------------------- ---------------------- ---------------------- */




#resultados{
    display: flex;
    padding: 30rem;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 3vw;
    align-self: stretch;
    flex-wrap: wrap;
}

