/*********************************/
/********** DONUT CHART **********/
/*********************************/

.donut-chart--wrapper {
    position: relative;
}

.donut-chart--wrapper .donut-chart--svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}

.donut-chart--wrapper .donut-chart--svg .hole {
    fill: white;
}

.donut-chart--wrapper .donut-chart--svg .slice {
    fill: transparent;
    transform-origin: center center;
    transition: all .2s ease-in-out;
    cursor: pointer;
}
.donut-chart--wrapper .donut-chart--svg .slice.hovered {
    transform: scale(1.05);
}

.donut-chart--wrapper .donut-chart--tooltip {
    position: absolute;
    top: 0;left: 0;
    padding: 5px 10px;
    background-color: black;
    font-size: .75rem;
    color: white;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
}
.donut-chart--wrapper .donut-chart--tooltip.visible {
    opacity: 1;
}
.donut-chart--wrapper .donut-chart--tooltip::before {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 0;right: 0;
    width: 0;height: 0;
    margin: auto;
    border-top: 7px solid black;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}