.page-résultats {
    padding: 5.5rem 3.31rem;
    padding-right: 0;

    flex-direction: row;
    align-items: flex-start;
}

.résultats {

    width: 29rem;
    max-height: 100%;

    border-radius: 4px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    font-size: 1.20rem;

    background-color: white;
}

.résultats .tête {

    padding: 1rem 1.125rem;

    border: 3px solid white;
    box-sizing: border-box;

    display: flex;
    flex-direction: row;
    align-items: center;

    background-color: var(--couleur-thème);

    color: white;
    font-weight: bold;
}

.résultats .tête button:not(:last-child) {
    margin-right: 1rem;
}

.résultats .tête button:first-of-type {
    margin-left: auto;
}

.résultats .tête button.tri-date[data-tri-actuel=""] img {
    content: url('../../img/ico-trier-date-désactivé.svg'); }

.résultats .tête button.tri-date[data-tri-actuel="c"] img {
    content: url('../../img/ico-trier-date-croissant.svg'); }

.résultats .tête button.tri-date[data-tri-actuel="d"] img {
    content: url('../../img/ico-trier-date-décroissant.svg'); }


.résultats .tête button.tri-nom[data-tri-actuel=""] img {
    content: url('../../img/ico-trier-nom-désactivé.svg'); }

.résultats .tête button.tri-nom[data-tri-actuel="c"] img {
    content: url('../../img/ico-trier-nom-croissant.svg'); }

.résultats .tête button.tri-nom[data-tri-actuel="d"] img {
    content: url('../../img/ico-trier-nom-décroissant.svg'); }


.résultats .corps {
    position: relative;

    padding-bottom: 0.5625rem;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    overflow-y: auto;
}

.résultats p.cat-cimetière {
    position: sticky;
    top: 0;
    z-index: 10;

    margin-bottom: 0.5625rem;

    padding: 0.6875rem 1.125rem;

    color: black;

    background-color: #EFEFEF;
}

.résultats p.cat-cimetière:not(:first-child) {
    margin-top: 0.5625rem;
}

.résultats p.vide {
    margin: 2rem 0;
    text-align: center;
    /*font-weight: bold;*/
}

.résultats .défunt {
    padding: 0 0.5625rem;

    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;

    cursor: pointer;
}

.résultats .défunt:hover .bloc-défunt {
    background-color: #E3E3E3;
}

.bloc-défunt {
    padding: 0.5625rem;

    position: relative;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    font-size: 1.20rem;
}

.bloc-défunt .bloc-infos {
    max-width: 80%;

    margin-right: 0.5625rem;

    flex-shrink: 1;

    display: flex;
    flex-direction: column;
}

.bloc-défunt .bloc-infos p {
    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;

    color: black;
}

.bloc-défunt button {
    align-self: center;

    background-color: var(--couleur-thème);

    box-shadow: none;
}

.bloc-défunt .nom-prénom {
    text-decoration: underline;
    text-decoration-color: black;
}

.bloc-défunt .dates {
    margin-top: 0.25rem;
    font-size: 1rem;
}

.bloc-défunt .délai {
    height: 2.125rem;
    width: 0.2rem;

    margin-right: 0.5625rem;

    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;

    transition: opacity 100ms;
    opacity: 1;
}

.résultats .défunt.actif .délai {
    opacity: 0;
}

.résultats .défunt .délai > div {
    height: 0;

    transition: height 500ms ease-in-out 100ms;

    background-color: var(--couleur-thème);

}

.résultats .défunt:hover .délai > div {
    height: 100%;
}

.résultats button.charger-plus {
    margin-top: 0.5625rem;

    width: fit-content;

    align-self: center;
}

.page-résultats.liste-cachée .résultats button.cacher img {
    filter: invert(1);
}

.page-résultats.liste-cachée .résultats button.cacher {
    background-color: #de1717;
}

.page-résultats.liste-cachée .résultats .corps {
    display: none;
}

@media screen and (max-height: 48.128rem), (max-width: 37.5rem) {
    .résultats {
        height: 100%;
        width: 100%;
    }

    .page-résultats.liste-cachée .résultats {
        height: auto;
    }

    #corps .résultats .délai {
        display: none;
    }
}

@media screen and (max-height: 48.128rem) {

}