/* Ajout personnel */
.chart__wrapper {
	background-color: #FFFFFF;
}

.chart__wrapper .chart__wrapper-download,
.chart__wrapper .chart__wrapper-swap {
	position: absolute;
	inset-block-start: 10px;
	font-size: 20px;
	color: var(--eac-color-primary);
	text-align: center;
	background-color: transparent;
}

.chart__wrapper .chart__wrapper-download {
	display: inline-block;
	inset-inline-end: 10px;
}

.chart__wrapper .chart__wrapper-swap {
	display: none;
	inset-inline-start: 10px;
	cursor: pointer;
}

.chart__wrapper .chart__wrapper-download>a,
.chart__wrapper .chart__wrapper-swap i {
	vertical-align: unset;
}

.chart__wrapper .chart__wrapper-download.eac-icon-svg svg,
.chart__wrapper .chart__wrapper-swap.eac-icon-svg svg {
	line-height: 1;
    inset-block-start: 0;
	vertical-align: unset;
}

@media (max-width: 460px) {
	.chart__wrapper .chart__wrapper-download,
	.chart__wrapper .chart__wrapper-swap {
		inline-size: 17px;
		height: 17px;
		line-height: 10px;
	}

	.chart__wrapper .chart__wrapper-download i,
	.chart__wrapper .chart__wrapper-swap i {
		font-size: 14px;
	}
}

/*--------------------------*/
/*
 * DOM element rendering detection
 * https://davidwalsh.name/detect-node-insertion
 */
@keyframes chartjs-render-animation {
	from {
		opacity: 0.99;
	}

	to {
		opacity: 1;
	}
}

.chartjs-render-monitor {
	animation: chartjs-render-animation 0.001s;
}

/*
 * DOM element resizing detection
 * https://github.com/marcj/css-element-queries
 */
.chartjs-size-monitor,
.chartjs-size-monitor-expand,
.chartjs-size-monitor-shrink {
	position: absolute;
	direction: ltr;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	pointer-events: none;
	visibility: hidden;
	z-index: -1;
}

.chartjs-size-monitor-expand>div {
	position: absolute;
	width: 1000000px;
	height: 1000000px;
	left: 0;
	top: 0;
}

.chartjs-size-monitor-shrink>div {
	position: absolute;
	width: 200%;
	height: 200%;
	left: 0;
	top: 0;
}