#grafico-3 {
    flex-direction: column;
    padding: 0 30px 0 0;
}

#grafico_andamento {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: row;
    margin: auto;
}

#grafico_andamento_legenda {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#grafico_andamento_legenda {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

#grafico_andamento_legenda .grafico_andamento_legenda_item {
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    padding-left: 20px;
    padding-right: 10px;
    position: relative;
}

#grafico_andamento_legenda .grafico_andamento_legenda_item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #666666;
    border-radius: 50%;
}

#grafico_andamento_legenda>.grafico_andamento_legenda_item:nth-child(1)::before {
    background-color: #e9820c;
}

#grafico_andamento_legenda>.grafico_andamento_legenda_item:nth-child(2)::before {
    background-color: #38a7ff;
}

#grafico_storico_andamento {
    width: calc(100% - 55px);
}

#grafico_storico_andamento_legenda {
    position: relative;
    width: 55px;
    padding-left: 5px;
}

/* Axis lines */
#grafico_storico_andamento_svg .xaxis_g path,
#grafico_storico_andamento_svg .yaxis_g path {
    stroke: transparent;
}

/* Tick lines */
#grafico_storico_andamento_svg .xaxis_g .tick line {
    stroke: transparent;
}

#grafico_storico_andamento_svg .yaxis_g .tick line {
    stroke: #404040;
    transform: translate(10px, 0);
}

/* Tick labels */
#grafico_storico_andamento_svg .xaxis_g .tick text {
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    fill: #CCC;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-anchor: middle;
    transform: translate(14px, 30px) rotate(90deg);
}

#grafico_storico_andamento_svg .etichetta-testo {
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    fill: #161616;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-anchor: middle;
    transform-origin: 0 0 0;
    transform: rotate(90deg);
}

#grafico_storico_andamento_svg .yaxis_g .tick text {
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    fill: #CCC;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#grafico_storico_andamento_svg .hover_bars {
    cursor: pointer;
}

#grafico_storico_andamento_legenda .max_circle_legend {
    background-color: white;
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
}

#grafico_storico_andamento_legenda .min_circle_legend {
    background-color: #161616;
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
}

#grafico_storico_andamento_legenda .q2_legend {
    background-color: white;
    position: absolute;
}

#grafico_storico_andamento_legenda .text_legend {
    color: #ccc;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    position: absolute;
}

#nome-regione {
    width: 100%;
    text-align: center;
    font-size: 60px;
    font-weight: 800;
}

@media only screen and (max-width: 480px) {
    #grafico_andamento_legenda {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #grafico_andamento_legenda_img {
        width: 100%;
        margin: auto;
        padding-left: 20px;
        padding-right: 20px;
    }
}