/*--------------------------------------------------------------------------*\
    Chart series
    /!\ IMPORTANT : we define colors for chart__serie children cause easier to manage
\*--------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------*\
    Bar
\*--------------------------------------------------------------------------*/

.chart__serie--c-error-secondary .chart__serie-bar,
.chart__serie--c-error-secondary .chart__serie-slice,
.chart__serie--c-error-secondary .chart__serie-bubble{
    /*background*/
    fill:var(--c-error-secondary-3);
}

/*--------------------------------------------------------------------------*\
    Label
\*--------------------------------------------------------------------------*/

.chart__serie--c-error-secondary .chart__serie-label{
    /*background*/
    fill:var(--c-error-secondary-1);
}

.chart__serie--histogram-stacked.chart__serie--c-error-secondary .chart__serie-label{
    /*background*/
    fill:var(--c-error-secondary-1);
}

/*--------------------------------------------------------------------------*\
    Line
\*--------------------------------------------------------------------------*/

.chart__serie--c-error-secondary .chart__serie-line{
    /*border*/
    stroke:var(--c-error-secondary-3);
}

/*--------------------------------------------------------------------------*\
    Tick
\*--------------------------------------------------------------------------*/

.chart__serie--c-error-secondary .chart__serie-tick{
    /*background*/
    fill:var(--c-error-secondary-2);
}

/*--------------------------------------------------------------------------*\
    Filter
\*--------------------------------------------------------------------------*/

.chart__serie--c-error-secondary .control__checkbox-label{
    /*border*/
    border-color:var(--c-error-secondary-3) !important;
}

.chart__serie--c-error-secondary .control__checkbox:checked+.control__checkbox-label,
.chart__serie--c-error-secondary .control__checkbox:not(:checked)+.control__checkbox-label::before,
.chart__serie--c-error-secondary .control__checkbox:not(:checked)+.control__checkbox-label::after{
    /*background*/
    background-color:var(--c-error-secondary-3) !important;
}

.chart__serie--c-error-secondary .control__label{
    /*text*/
    color:var(--c-error-secondary-2) !important;
}

/*--------------------------------------------------------------------------*\
    Legend
\*--------------------------------------------------------------------------*/

.chart__legend__serie--c-error-secondary .chart__legend__icon,
.chart__serie--c-error-secondary .chart__serie-legend{
    /*text*/
    fill:var(--c-error-secondary-2);
}

.chart__legend__serie--c-error-secondary .chart__legend__name{
    /*text*/
    color:var(--c-error-secondary-1);
}