.chart-bar {
    margin-top: 20px;
    margin-bottom: 50px;
    min-height: 180px;
    position: relative;
    display: flex;
}

.chart-box {
    width: 20%;
    position: relative;
}

.chart-box::after {
    position: absolute;
    content: attr(data-value);
    bottom: 10px;
    right: 50%;
    transform: translate(50%);
    font-size: 18px;
    color: #666;
    font-weight: bold;
    font-family: iranyekan;
    direction: ltr;
}

.chart-box::before {
    position: absolute;
    content: attr(data-title);
    top: calc(100% + 10px);
    right: 50%;
    transform: translate(50%);
    font-size: 10px;
    font-family: iranyekan;
    width: 100%;
    text-align: center;
}

.chart {
    height: 100%;
    width: 70%;
    margin-right: 15%;
    position: relative;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    overflow: hidden;
    border-bottom: 0 !important;
}

.chart i {
    position: absolute;
    left: 50%;
    font-size: 50px;
    color: #888;
    bottom: 50%;
    transform: translate(-50%, 50%);
    z-index: 3;
}

.progress {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    margin: 0;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none;
}


/* Color Custom */

.chart-box.red {

    border-bottom: 3px solid #FF4661;
}

.chart-box.red::before {
    color: #FF4661;
}

.chart-box.red .chart {
    border: 1px solid #FF4661;
}

.chart-box.red .progress {
    background: #FFD6DD;

}

.chart-box.cyan {
    border-bottom: 3px solid #32BEA6;
}

.chart-box.cyan::before {
    color: #32BEA6;
}

.chart-box.cyan .chart {
    border: 1px solid #32BEA6;
}

.chart-box.cyan .progress {
    background: #D8FFF8;

}

.chart-box.purple {
    border-bottom: 3px solid #B932C8;
}

.chart-box.purple::before {
    color: #B932C8;
}

.chart-box.purple .chart {
    border: 1px solid #B932C8;
}

.chart-box.purple .progress {
    background: #FBDBFF;

}

.chart-box.green {
    border-bottom: 3px solid #47CC61;
}

.chart-box.green::before {
    color: #47CC61;
}

.chart-box.green .chart {
    border: 1px solid #47CC61;
}

.chart-box.green .progress {
    background: #C9F2D1;

}

.chart-box.orange {
    border-bottom: 3px solid #FF7650;
}

.chart-box.orange::before {
    color: #FF7650;
}

.chart-box.orange .chart {
    border: 1px solid #FF7650;
}

.chart-box.orange .progress {
    background: #FFD0C4;

}

.chart-box.blue {
    border-bottom: 3px solid #18DEEF;
}

.chart-box.blue::before {
    color: #18DEEF;
}

.chart-box.blue .chart {
    border: 1px solid #18DEEF;
}

.chart-box.blue .progress {
    background: #D5FCFF;

}


@media only screen and (max-width: 600px) {
    .chart-bar {
        flex-wrap: wrap;
        height: 400px;
    }
    .chart-box {
        width: 33.33%;
        margin-bottom: 50px;
    }
}