
.list a {
    text-decoration: none;
}
.list .tools {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.list header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.list .avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}
.list .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.list h1 {
    font-size: 2rem;
    margin: 0;
}
.list .empty_list {
    border: 1px solid #999;
    border-radius: 0.5rem;
    padding: 1rem;
}
.list a.button {
    padding: 0.5rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    min-width: 2.5rem;
    display: flex;
}












.list header {
    display: flex;
    flex-flow: row wrap;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
}
.list header > h1,
.list header > h2 {
    flex: 1 0 100%;
}
.list li.agrupador:first-child {
    margin-top: 0.5em;
}
.list li h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 4rem;
    font-size: 2em;
}
.favorito {
    flex: 0 0 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
}
.list .favorito {
    margin: 0;
}
.favorito svg{
    width: 2.5em;
    height: 2.5em;
}
.favorito.ativo svg path {
    fill: var(--colibri-rosa);
}
.list li .nota {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 4rem;
    margin: 0;
    font-size: 1.25em;
}







li .thumbnail {
    height: 4em;
    flex: 0 0 6em;
    background-color: var(--color-base-surface);
    border-radius: 0.35em;
    cursor: pointer;
}

.thin li .thumbnail {
    height: 3.25em;
    flex: 0 0 5em;
}

.thin li a {
    border-radius: 0.25em;
}

li .thumbnail:hover {
    opacity: 0.7;
    transition: all 0.5s;
}

li .thumbnail img {
    border-radius: 0.35em;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* se a imagem contiver "/placeholders/" no src */
li figure img[src*="/placeholders/"],
li .thumbnail img[src*="/placeholders/"] {
    object-fit: contain;
    filter: grayscale(1) contrast(6) opacity(0.25);
}





.list li.selected a {
    background-color: var(--color-selected);
    color: var(--color-base-bg);
}

.list ul.ranking {
    display: flex;
    flex-flow: column nowrap;
    gap: 1em;
}
.list ul>li>a div.checkbox {
    flex: 0 0 3em;
}








.list .indefinida {
    color: var(--color-base-text-weak);
}










.list {
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
    width: 100%;
}

.list .tools {
    background-color: var(--surface-color);
    border-radius: 0.5rem;
    padding: 0.5rem;
    display: flex;
    flex-flow: row nowrap;
    gap: 2rem;
}

.list .tools .order {
    flex: 1 1 30%;
}

.list .filters {
    display: flex;
    flex-flow: row nowrap;
    gap: 0.5rem;
    flex: 1 1 70%;
}

.list .order,
.list .filter {
    display: flex;
    flex-flow: column nowrap;
    gap: 0.25rem;
    flex: 1;
}

.list .filter select {
    width: 100%;
}

.list>div {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.list>div p,
.list li p,
.list>div h2,
.list li h2,
.list>div h3,
.list li h3,
.list>div h4,
.list li h4,
.list>div h5,
.list li h5,
.list>div h6,
.list li h6 {
    margin: 0;
    color: inherit;
}

.list>div p,
.list li p {
    text-decoration: none;
    font-weight: normal;
}

.list li.agrupador {
    margin: 2rem 0 0.5rem 0;
}

.list li a,
.list>div a {
    text-decoration: none;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding: 0.5em;
    background-color: var(--surface-color);
    border-radius: 0.45em;
    color: var(--text-color);
    gap: 0.75em;
    transition: all 0.25s;
}

.list li a:hover,
.list>div a:hover {
    filter: brightness(1.25) contrast(1.2) saturate(0.25);
    transition: all cubic-bezier(0, 1, 0, 3) 0.25s;
    box-shadow: 0 0.25em 1.75em -1em var(--text-color-weak);
    transform: translateY(-0.125em);
}

.list>ul {
    list-style: none;
    margin: 0;
    border: 1px solid var(--border-color);
    border-radius: 0.75em;
    display: flex;
    flex-flow: column nowrap;
    padding: 0.5rem;
    gap: 0.5em;
}

.list li {
    margin: 0;
}

.list>ul a>label {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    flex: 0 0 3.5rem;
    font-weight: 400;
    padding: 0;
    cursor: pointer;
    align-items: center;
    border-radius: 0.5rem;
}

.list>ul .comprovante a>label {
    background-color: var(--color-status-critico);
}

.list>ul .comprovante.pago a>label {
    background-color: var(--color-status-positivo);
}

.list>ul a>label:hover {
    font-weight: 700;
}

.list>ul a>label input {
    width: 1.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
    opacity: 0.9;
}

.list>ul a>label:hover input {
    opacity: 1;
    filter: drop-shadow(0px 0px 0.5rem #fff);
}

.list>ul a>div {
    margin: 0 auto 0 0;
    display: flex;
    flex: 1;
    flex-flow: column;
    justify-content: center;
}

.list .favorito {
    flex: none;
}

.list>ul a>div:first-child {
    flex: 1;
}

.list>ul a>div>div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.list li h4 {
    font-weight: 600;
    font-size: 1.125em;
}

.list ul li a .image {
    margin: 0;
    height: 3.5em;
    width: 3.5em;
    overflow: hidden;
    border-radius: 3.5rem;
    flex: 0 0 3.5em;
    background-color: var(--color-base-surface);
}

@media (max-width: 640px) {
    .list li .image {
        order: 1;
    }
}

.list li .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}






@media (max-width: 580px) {
    .grafico .legenda li>span {
        display: flex;
        flex-flow: column nowrap;
    }

    .list .tools {
        flex-flow: column nowrap;
    }

    .list .tools .order,
    .list .tools .filters,
    .list .tools .filter {
        width: 100%;
        flex-flow: column nowrap;
    }

    .list .filters {
        flex-flow: column nowrap;
    }

    .list .filters::before {
        content: "Filtros";
    }

    .list .filters label {
        display: none;
    }

    .list ul {
        width: calc(100vw - 3.25rem);
    }

    .list li a,
    .list>div a {
        flex-flow: row wrap;
        gap: 0.5em 1em;
    }

    .list>ul a>div {
        order: 10;
        flex: 1 0 100%;
    }

    .list-title .status,
    .list ul a .status {
        order: 1;
    }

    .list>ul a>label {
        flex-direction: row;
        gap: 0.25rem;
        padding: 0 0.5rem;
    }

    .list>ul a>label input {
        margin: 0;
    }

}

.revisao .list ul {
    background-color: var(--bg-color-over);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    list-style: none;
}

.revisao .list li:not(:last-child) {
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
}


.msg_es {
    border: 2px dashed var(--color-warning-border);
    border-radius: 0.5rem;
    padding: 0.75rem;
    background-color: var(--color-warning);
    margin: 1em 0;
}
.msg_es h4 {
    margin: 0 0 0.25em 0;
    color: var(--color-warning-border);
    border-bottom: 1px dashed var(--color-warning-border);
}
.msg_es p {
    margin: 0.25em 0;
}