/* ==========================================================
   MODAL DO TUTORIAL
   ========================================================== */

.tutorial-container {

    width: 980px;
    max-width: 90vw;

    height: 85vh;

    background: white;

    border-radius: 8px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    box-shadow: 0 0 25px rgba(0, 0, 0, .35);

}

.tutorial-cabecalho {
    background: #0d3b66;
    color: white;
    text-align: center;
    padding: 10px 20px;
}

.tutorial-cabecalho h2 {
    margin: 0;
    font-size: 24px;
    color: #FFFFFF;
    font-weight: bold;
    letter-spacing: 1px;
}

.tutorial-cabecalho h3 {
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 14px;
    color: #F5F5F5;
    font-weight: normal;
}

.tutorial-conteudo {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    font-size: 14px;
    line-height: 1.45;
}

.tutorial-bloco {
    margin-bottom: 30px;
}

.tutorial-bloco h4 {
    color: #0d3b66;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.tutorial-rodape {

    padding: 15px;

    border-top: 1px solid #ddd;

    text-align: right;

    background: #f5f5f5;

}

/* ==========================================================
   GRÁFICO DOS ÍNDICES
   ========================================================== */
/*
.grafico-indices {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 20px 0;
}

.barra-indices {
    width: 90px;
    height: 300px;
    border: 1px solid #444;
    overflow: hidden;
}

.faixa {
    width: 100%;
}

.azul {
    height: 10%;
    background: #4040c8;
}

.verde {
    height: 10%;
    background: #2bb34a;
}

.amarela {
    height: 10%;
    background: #ffe600;
}

.laranja {
    height: 20%;
    background: #ff7f27;
}

.vermelha {
    height: 10%;
    background: #ed1c24;
}

.marrom {
    height: 40%;
    background: #b97b56;
}

.legenda-indices {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    font-size: 14px;
}

.legenda-indices div {
    white-space: nowrap;
}
    */

/* ==========================================================
   NOVO GRÁFICO DOS ÍNDICES
   ========================================================== */

.grafico-indices {

    float: right;

    margin: 0 0 20px 30px;

}

.grafico-tabela {
    border-collapse: collapse;
}

.grafico-tabela td {
    padding: 0;
    vertical-align: top;
}

.escala {
    width: 60px;
    text-align: right;
    padding-right: 12px !important;
    font-weight: bold;
    font-size: 14px;
}

.descricao {
    padding-left: 15px !important;
    font-weight: bold;
    vertical-align: middle;
}

.barra-grafico {

    width: 90px;

    border: 1px solid #444;

    padding: 0;

}

.barra-grafico .faixa {
    width: 100%;
}

.barra-grafico .azul {
    height: 30px;
    background: #4040c8;
}

.barra-grafico .verde {
    height: 30px;
    background: #2bb34a;
}

.barra-grafico .amarela {
    height: 30px;
    background: #ffe600;
}

.barra-grafico .laranja {
    height: 60px;
    background: #ff7f27;
}

.barra-grafico .vermelha {
    height: 30px;
    background: #ed1c24;
}

.barra-grafico .marrom {
    height: 120px;
    background: #8b5a2b;
}

/* Alinhamento das linhas da escala */

.grafico-tabela tr:nth-child(1) {
    height: 0;
}

.grafico-tabela tr:nth-child(2) {
    height: 30px;
}

.grafico-tabela tr:nth-child(3) {
    height: 30px;
}

.grafico-tabela tr:nth-child(4) {
    height: 30px;
}

.grafico-tabela tr:nth-child(5) {
    height: 60px;
}

.grafico-tabela tr:nth-child(6) {
    height: 30px;
}

/* ==========================================================
   IMAGEM DO GRÁFICO
   ========================================================== */

.grafico-indices {

    text-align: center;

    margin: 25px 0;

}

.grafico-tutorial {
    width: 240px;
    height: auto;
    /*
    width: 250px;
    max-width: 100%;
    height: auto;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    */
}