.contenedor-resultados{
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.link-volver-buscador{
    color: var(--naranja);
    position: absolute;
    left: 0;
    font-size: 2vh;

    &:hover{
        color: var(--naranjaSecundario);
    }
}

.cuerpo-principal-buscador{
    display: flex;
    flex-direction: column;
    position: relative;
    /* justify-content: center; */
    align-items: center;

}

.formulario-buscador{
    border-radius: 1cap;
    font-weight: 300;
    display: flex;
    gap: 2.5vw;
    padding: 1.5vh;
    font-size: 2.5vh;
    align-items: center;
    justify-content: center;
    background-color: var(--verdePrincipal);
    box-shadow: 1px 1px 10px #aaaaaa;
    color: white;

    input,select, button{
        color: rgb(0, 0, 0);
        padding: .5vh 1vh;
        border-radius: 1cap;
        background-color: transparent;
        border: solid 2px rgb(255, 255, 255);
        font-size: 2vh;
        background-color: white;
    }

    button{
        font-weight: 500;
        background-color: white;
        color: var(--verdePrincipal);
        &:hover{
            box-shadow: 1px 1px 10px white;
            cursor: pointer;
        }
    }

    option{
        color: black;
    }
}

.titulo-buscador{
    text-align: center;
    font-size: 3vh;
    font-weight: 400;
    color: var(--verdePrincipal);
    margin-bottom: 5vh;
}

.div-resultado{
    padding: .5vh;
    border-radius: 1cap;
    border: solid 2px rgb(221, 220, 220);
    background-color: #dbe9e9;
    box-shadow: 1px 1px 5px #aaaaaa;
}

.texto-secundario-resultados{
    color: var(--colorTitulos);
    font-weight: 300;
    font-size: 2vh;
    margin: .5vh 0;
}


.div-resultado-ley{
    border-radius: .8cap ;
    padding: 1vh;
    display: flex;
    flex-direction: column;
    color: white;
    background-color: #237f81;
    width: 100%;
    text-overflow: ellipsis;
    flex-wrap: wrap;
    font-weight: 300;
    font-size: 2vh;
    gap: 1.5vh;
    a{
        color: white;
    }

    span{
        font-weight: 500;
        font-size: 2.2vh;
    }

    i{
        margin-right: .5vh;
    }

    &:hover{
        background-color: #1b6364;
    }
}

.div-relacionadas{
    padding: 1vh;
    /* border: solid 1px yellow; */
    display: flex;
    flex-direction: column;
}

.titulo-relacionadas{
    /* text-align: center; */
    font-weight: 400;
    font-size: 2.2vh;
    color: var(--colorTitulos);
    margin-bottom: .5vh;
}

.div-contenido-relacionadas{
    display: flex;
    flex-direction: column;
    padding: 1.5vh;
    border: solid 1px #b6cac8;
    border-radius: 1cap;
    gap: 1vh;
    /* flex-wrap: wrap; */

    .custom-hr{
        border-color:  #b6cac8;
    }
}

.link-ley-relacionada{
    padding: .5vh 1vh;
    background-color: #b6cac8;
    color: var(--colorTitulos);
    border-radius: 1cap;
    width: fit-content;

    &:hover{
        background-color:#9eafad ;
    }
}