.diagnostic {
    height: 250px;
    width: 300px;
    position: relative;
    background: white;
    border: solid 1px grey;
    padding: 5px;
}
.diagnostic .left_section {
    width: 100%;
}
.diagnostic .text_legend {
    font-size: 10px;
    margin: 0;
}
.diagnostic .text_legend.bottom {
    position: absolute;
    bottom: 0;
    left: 7px;
}
.diagnostic .text_legend.top {
    position: absolute;
    top: 0;
    left: 7px;
}
.diagnostic .one_bar p {
    margin: 0;
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.diagnostic .one_bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 3px 0;
}

.diagnostic .bar {
    position: relative;
    height: 20px;
    margin: 0;
}
.diagnostic .bar::after {
    content: "";
    height: 20px;
    width: 20px;
    background: white;
    position: absolute;
    right: -10px;
    transform: rotate(45deg);
    top: -10px;
}
.diagnostic .bar::before {
    content: "";
    height: 20px;
    width: 20px;
    background: white;
    position: absolute;
    right: -10px;
    transform: rotate(-45deg);
    top: 10px;
}

.diagnostic .active_line {
    height: 2px;
    position: absolute;
    background: rgb(39, 39, 39);
    width: 220px;
    left: 50px;
}

/* DPE */
.diagnostic.dpe .bar.a {
    background: #21a777;
    width: 20%;
}
.diagnostic.dpe .bar.b {
    background: #24bc5c;
    width: 25%;
}
.diagnostic.dpe .bar.c {
    background: #24bc5c;
    width: 30%;
}
.diagnostic.dpe .bar.d {
    background: #fbeb3d;
    width: 35%;
}
.diagnostic.dpe .bar.e {
    background: #fcbc31;
    width: 40%;
}
.diagnostic.dpe .bar.f {
    background: #fb883c;
    width: 45%;
}
.diagnostic.dpe .bar.g {
    background: #e70020;
    width: 50%;
}

/* GES */
.diagnostic.ges .bar.a {
    background: #a7dbfa;
    width: 20%;
}
.diagnostic.ges .bar.b {
    background: #8db5d0;
    width: 25%;
}
.diagnostic.ges .bar.c {
    background: #7892af;
    width: 30%;
}
.diagnostic.ges .bar.d {
    background: #5f708c;
    width: 35%;
}
.diagnostic.ges .bar.e {
    background: #4e5271;
    width: 40%;
}
.diagnostic.ges .bar.f {
    background: #39354f;
    width: 45%;
}
.diagnostic.ges .bar.g {
    background: #291b34;
    width: 50%;
}
