.weeklylevel-container {
    position: relative;
    margin: 2px 0 6px 0;
}

.weeklylevel-bar-out {
    height: 16px;
    background: gray;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.weeklylevel-bar-bg {
    height: 100%;
    position: relative;
}

.weeklylevel-bar-bg > * {
    height: 100%;
    width: calc(100%/3);
    position: absolute;
}

.weeklylevel-bar-bg > *:nth-child(1) {
    left: 0;
}

.weeklylevel-bar-bg > *:nth-child(2) {
    left: calc(100%/3);
}

.weeklylevel-bar-bg > *:nth-child(3) {
    left: calc(200%/3);
}

.weeklylevel-bar-bg-item {
    background: var(--c);
}

.weeklylevel-bar-bg-red {
    background: #FF4136;
}

.weeklylevel-bar-bg-yellow {
    background: #FF851B;
}

.weeklylevel-bar-bg-green {
    background: #2ECC40;
}

.weeklylevel-bar-progress {
    height: 100%;
    position: absolute;
    top: 0;
    /*
    background: rgba(0, 0, 0, 0.25);
    left: var(--p);
    width: calc(100% - var(--p));
    */
    background-size: 30px 30px;
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.5) 25%, transparent 25.1%, transparent 50%, rgba(255, 255, 255, 0.5) 50.1%, rgba(255, 255, 255, 0.5) 75%, transparent 75.1%, transparent);
    left: 0;
    width: var(--p);
}

.sidebar_content .weeklylevel-bar-progress,
.weeklylevel-container:hover .weeklylevel-bar-progress {
    animation: barberpole 5s linear infinite;
}

@keyframes barberpole {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 60px 0px;
    }
}

.weeklylevel-labels {
    position: absolute;
    width: 100%;
    top: -1px;
}

.weeklylevel-labels * {
    width: 2em;
    text-align: center;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, 1px 1px 0 white, -1px 1px 0 white;
    color: black;
    position: absolute;
    top: 0;
    font-size: 14px;
    cursor: default;
}

.weeklylevel-label-current {
    pointer-events: none;
}

.weeklylevel-label-min {
    left: calc(33% - 1em);
}

.weeklylevel-label-max {
    left: calc(66% - 1em);
}

.weeklylevel-label-current {
    left: calc(var(--p) - 1em);
}
