.creo-donut {
	margin: 0 auto;
	font-family: inherit;
	color: inherit;
}

.creo-donut__title {
	text-align: center;
	margin: 0 0 1.4rem;
}

.creo-donut__canvas-wrap {
	position: relative;
	height: var(--creo-donut-h, 440px);
	margin: 0 auto 2rem;
}

.creo-donut__canvas-wrap canvas {
	width: 100% !important;
	height: 100% !important;
}

.creo-donut__center {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	pointer-events: none;
	padding: 0 22%;
}

.creo-donut__center-label {
	font-family: "Unbounded", sans-serif;
	opacity: 0.85;
	line-height: 1.25;
}

.creo-donut__center-total {
	font-family: "Unbounded", sans-serif;
	font-weight: 700;
	line-height: 1.15;
}

.creo-donut__legend {
	list-style: none;
	max-width: 800px;
	margin: 0 auto;
	padding: 0;
	padding-left: 0 !important;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.creo-donut__legend li {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 20px;
	align-items: center;
	cursor: default;
	transition: opacity 0.15s ease;
}

.creo-donut__legend li.is-active {
	opacity: 1;
}

.creo-donut__legend:hover li:not(.is-active) {
	opacity: 0.55;
}

.creo-donut__swatch {
	grid-row: 1 / span 2;
	width: 56px;
	height: 22px;
	border-radius: 3px;
	display: block;
}

.creo-donut__legend-label {
	font-family: "Unbounded", sans-serif;
	align-self: end;
}

.creo-donut__legend-value {
	font-family: "Unbounded", sans-serif;
	grid-column: 2;
	font-weight: 700;
	align-self: start;
}

@media (max-width: 520px) {
	.creo-donut__legend {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 479px) {
	.creo-donut__canvas-wrap {
		height: 360px;
	}
}

@media (max-width: 399px) {
	.creo-donut__canvas-wrap {
		height: 300px;
	}
}
