:root{
    --e-chart-bar-one-red:#FF2A51;
    --e-chart-bar-one-orange:#FF8917;
    --e-chart-bar-one-green:#2EBB9D;
}
.e-chart-bar-one {
    max-height: 550px;
    min-height: 550px;
    min-width: 1000px;
    width: 1000px;
    background: #fff;
    position: relative;
    display: flex;
    box-sizing: border-box;
    padding: 20px 35px 80px 150px;
    direction: ltr; !important;
    margin: 0 auto;
}

.e-chart-bar-one .bar {
    width: 100%;
    min-height: 100%;
    margin: 5px;
    position: relative;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.e-chart-bar-one .bar::after {
    content: attr(data-title);
    position: absolute;
    color: white;
    background: #334155;
    top: calc(100% + 9px);
    width: 100%;
    text-align: center;
    height: 60px;
    font-size: 12px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.e-chart-bar-one .bar .progress-bar {
    position: absolute;
    height: 0%;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #F0F0F0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
.e-chart-bar-one .bar .progress-bar::after{
    content: attr(data-value)'%';
    position: absolute;
    top: 5px;
    width: 100%;
    text-align: center;
    font-size: 14px;
}
.e-chart-bar-one .bar .progress-bar.red::after{
color: var(--e-chart-bar-one-red);
}
.e-chart-bar-one .bar .progress-bar.orange::after{
color: var(--e-chart-bar-one-orange);
}
.e-chart-bar-one .bar .progress-bar.green::after{
color: var(--e-chart-bar-one-green);
}
.e-chart-bar-one .bar .progress-bar::after{
    color:#334155 !important;
}
.e-chart-bar-one .grids {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    display: flex;
    flex-direction: column;
}

.e-chart-bar-one .grids .grid {
    top: 80%;
    height: 100%;
    border-top: 2px dotted #D7D7D7;

}
.e-chart-bar-one .grids .grid:first-child {
    border-top: none !important;
}
.e-chart-bar-one .grids .grid::after {

    content: attr(data-title);
    position: inherit;
    left: 0;
    width: 130px;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    font-weight: 600;
}

.e-chart-bar-one .grids .grid.red::after{
    color: var(--e-chart-bar-one-red);
}
.e-chart-bar-one .grids .grid.orange::after{
    color: var(--e-chart-bar-one-orange);
}
.e-chart-bar-one .grids .grid.green::after{
    color: var(--e-chart-bar-one-green);
}
.e-chart-bar-one .grids .grid::after{
    color:#334155 !important;
}


/* Responsive Style */
@media only screen and (max-width: 768px) {
    .e-chart-bar-one {
        min-height: unset;
        max-height: unset;
        min-width: 100% !important;
        width: 100% !important;
        background: #fff0;
        display: flex;
        flex-direction: column;
        padding: 70px 5px 15px 70px;
    }

    .e-chart-bar-one .bar {
        width: unset;
        height: 60%;
        min-height: 60px;
        margin: 5px;
        position: relative;
        border-top-left-radius: unset;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    .e-chart-bar-one .bar::after {
        top: 0;
        left: -75px;
        width: 70px;
        text-align: center;
        height: 60px;
        font-size: 11px;
        border-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 17px;
    }

    .e-chart-bar-one .bar .progress-bar {
        position: absolute;
        height: 100%;
        bottom: 0;
        width: 75%;
        background: #F0F0F0;
        border-top-left-radius: 0px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 0px;
    }

    .e-chart-bar-one .bar .progress-bar::after {
        content: attr(data-value) '%';
        position: absolute;
        top: 0;
        width: 100%;
        text-align: center;
        font-size: 14px;
        right: 10px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .e-chart-bar-one .grids {
        position: absolute;
        top: 0px;
        left: unset;
        width: calc(100% - 75px);
        height: 100%;
        display: flex;
        flex-direction: row-reverse;
        right: 0;
    }

    .e-chart-bar-one .grids .grid {
        top: 80%;
        height: 100%;
        border-top: unset;
        border-right: 2px dotted #D7D7D7;
        width: 100%;
    }
    .e-chart-bar-one .grids .grid:first-child {
        border: none;

    }
    .e-chart-bar-one .grids .grid::after {
        left: unset;
        width: 100%;
        height: 70px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 13px;
    }


}
