/* ---------------------- Graficos de porcentagem com base no leilão ---------------------- */

section#grid-charts-percent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

div#chart-percent {
    position: relative;
    display: grid;
    place-content: center;
    gap: 15px;
    width: 100%;
    padding: 50px;
    border-radius: 10px;
    background-color: transparent;
}

div#chart-percent img {
    height: 180px;
}

div#chart-percent>h3 {
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 1.9rem;
    margin: 0;
    color: #97161a;
}

div#chart-percent div#chart-label {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

div#chart-percent div#chart-label span {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: center;
}

div#chart-percent div#chart-label span b {
    font-size: 6rem;
    line-height: 6rem;
    font-weight: 600;
    color: #304D5A !important;
}

div#chart-percent div#chart-label span label {
    font-size: 1.7rem;
    font-weight: 400;
    margin: 0;
    color: #304D5A !important;
}

@media only screen and (max-width: 1200px) {

    div#conteudo-consulta div.content_dados-consulta.content-leilao span.red-text {
        text-align: center;
    }

    div#chart-percent {
        padding: 20px;
    }

    div#chart-percent img {
        width: 100%;
    }

    div#chart-percent div#chart-label {
        width: 100%;
    }
}

@media only screen and (max-width: 993px) {

    div#conteudo-consulta div.content_dados-consulta.content-leilao span.red-text {
        text-align: center;
    }

    section#grid-charts-percent {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }

    div#chart-percent {
        padding: 20px;
    }

    div#chart-percent img {
        width: 100%;
    }

    div#chart-percent div#chart-label {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {

    div#chart-percent div#chart-label span b{
        font-size: 5rem;
        line-height: 5rem;
    }
}