/**
 * GLOBAL STYLES
 */
section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
}
.chart-container {
    width: 100%;
    max-width: 800px;
}
/* LEGEND */
.chart-legend {
    display: flex;
}
.chart-legend-labels {
		flex: 0 0 auto;
    margin: 0;
    padding: 0;
    list-style-type: none;list-style-type: none;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 15px;
}
.chart-legend-label {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 15px;
    font-family: Arial, sans-serif;
}
.chart-legend-marker {
    width: 30px;
    height: 20px;
    background-color: #cccccc;
}
/* CONTROLS */
.chart-controls {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 50px;
    opacity: 0;
}
.chart-datasets-select-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
}
.chart-datasets-select-label {
    font-family: Arial, sans-serif;
}
.chart-datasets-select-label:hover {
    cursor: pointer;
}
.chart-datasets-select {
    display: none;
}
.chart-datasets-select:not(:checked) + .chart-datasets-select-label {
    color: #666666;
}
.chart-datasets-select:checked + .chart-datasets-select-label {
    color: #000000;
    border-bottom: 1px solid #000000;
}

/**
 * DONUT CHART
 */
.chart-container.chart-donut-vv figure {
    margin: 0;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-items: start;
}
.chart-container.chart-donut-vv figure .chart-canvas {
    flex: 1 1 auto;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    object-position: top center;
}
.chart-container.chart-donut-vv figure figcaption {
    flex: 0 0 auto;
}

/**
 * BAR CHART VERTICAL
 */
.chart-bar-vert-vv .chart-legend-labels {
   flex-direction: row;
}

/**
 * STACKED BAR CHART HORIZONTAL
 */
.chart-bar-stacked-horz-vv .chart-legend-labels {
   flex-direction: row;
}

pre.render_shortcode_chart_output {
	display: none !important;
}