/*Area geral do dashboard*/
.area_familias_dashboard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem !important;
}

/*Area geral cards e charts*/
.main_dashboard_box {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/*Area geral charts*/
.dashboard_box_3_charts {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.dashboard_box_4 {
    display: flex;
    flex-direction: column;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

.dashboard_box_5 {
    display: flex;
    flex-direction: column;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

/*cards*/
.dashboard_box_2_card {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.card_total_first {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.card_total_second {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.card_total_second_1 {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content:safe;
    align-items: flex-start;
}

.card_total_second_2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card_total_third {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Card Meta*/
.card_meta_familias {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

#chart_meta_porcentagem {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content:safe;
    align-items: flex-start;
}

.icon_meta {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (min-width: 640px) {     
    .dashboard_box_2_card {
        flex-direction: row;
        flex-wrap: nowrap;
    }
}

@media only screen and (max-width: 1023px) {     
    .dashboard_faixa_etaria_desktop {
        display: none !important;
    }
}


/* @media only screen and (min-width: 1024px) {

    .area_familias_dashboard {
        flex-direction: row-reverse;
        flex-wrap: nowrap;
        gap: 0.1rem;
    }

    .dashboard_box_1_filtros {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1rem;
        box-shadow: none;
    }

    .dashboard_box_4 {
        flex-direction: row;
        flex-wrap: nowrap;
    }

} */

@media only screen and (min-width: 1024px) {

    .area_familias_dashboard {
        flex-direction: row-reverse;
        flex-wrap: nowrap;
    }

    .dashboard_faixa_etaria_desktop  {
        display: block !important;
    }
    
    .dashboard_box_5_faixa_etaria_mobile {
        display: none;
    }

    .dashboard_box_1_filtros {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1rem;
        box-shadow: none;
    }

    .dashboard_box_3_charts {
        flex-direction: row;
    }

    .dashboard_box_4 {
        flex-direction: row;
        flex-wrap: nowrap;
    }
}