.chart-custom-small-result {
    min-height: 520px !important;
    position: relative;
    background: #FAFAFA;
    padding: 40px 100px 0;
}
.chart-custom-small-result > .box-chart {
    height: 320px;
    display: flex;
    flex-direction: row-reverse;

}
.chart-custom-small-result > .box-chart  .label-left {
    width: 20%;
    height: 100%;
    background: #fafafa;
    margin-right: 6%;
    position: relative;
}
.chart-custom-small-result > .box-chart .main-chart {
    min-width: 60% !important;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    max-width: 80% !important;
}
.chart-custom-small-result canvas {
    position: absolute;
}
.chart-custom-small-result > .box-chart .main-chart > .s .point {
    width: 10px;
    height: 10px;
    background: #2EBB9D;
    position: absolute;
    border-radius: 50px;
    z-index: 1;
}
.chart-custom-small-result > .box-chart .main-chart > .s {
    min-width: 100px;
    height: 100%;
    background: #E4E4E4;
    padding: 3px 55px;
    max-width: 100px;
}
.chart-custom-small-result > .box-chart .main-chart > .s::after {
    content: attr(data-title);
    position: absolute;
    top: -20px;
    font-size: 20px;
    font-weight: 700;
    color: #2ABB9C;
}

.chart-custom-small-result > .box-chart .main-chart > .s .label-box div:first-child{
    background: #2ABB9C;
    color: white;
}
.chart-custom-small-result > .box-chart  .grids {
    height: 100%;
    width: 30px;
    right: -13px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}
.chart-custom-small-result > .box-chart  .grids .line {
    height: 1px;
    width: 14px;
    background: #999;
    position: relative;
    right: 7px;
}
.chart-custom-small-result > .box-chart  .grids .line-t {
    height: 2px;
    width: 28px;
    background: #777;
    position: relative;
}
.chart-custom-small-result > .box-chart .label-fa {
    width: 100px;
    position: absolute;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 2px 0;
    height: 105%;
    border-radius: 5px;
    right: 25px;
    top: -2px;
    display: flex;
    flex-direction: column;
}
.chart-custom-small-result > .box-chart .label-fa span {
    color: white !important;
}
.chart-custom-small-result > .box-chart .grids .line-t::before {
    content: attr(data-title);
    position: absolute;
    right: 0px;
    width: 10px;
    font-size: 15px;
    top: -6px;
}
.chart-custom-small-result > .box-chart .label-fa > span {
    min-width: 100% !important;
    text-align: center;
    display: inline-block;
    font-size: 16px !important;
    background: #334155;
    border-radius: 5px;
    margin-bottom: 5px;
}
.chart-custom-small-result > .box-chart .label-fa > span:nth-child(1){
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
}
.chart-custom-small-result > .box-chart .label-fa > span:nth-child(2){
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
}
.chart-custom-small-result > .box-chart .label-fa > span:nth-child(3) {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
}
.chart-custom-small-result > .box-chart .label-fa > span:last-child{
    border-left: 0;
}
.chart-custom-small-result > .box-chart .label-left .grids .line {
    width: 10px;
    right: 5px;
}
.chart-custom-small-result > .box-chart .label-left .grids .line-t {
    height: 1px;
    width: 20px;
    background: #aaa;
    position: relative;
}
.chart-custom-small-result > .box-chart .label-box > div {
    background: #757575;
    text-align: center;
    color: white;
    border-radius: 5px;
    width: 120%;
    padding: 6px 0 0;
    font-size: 12px;
    margin-top: 5px;
}
.chart-custom-small-result > .box-chart .label-left .label-box > div{
    width: 137px !important;
    font-size: 16px !important;
    padding: 5px;
    background: #334155;
}
.chart-custom-small-result > .box-chart .label-box {
    position: absolute;
    right: 8px;
    bottom: -130px;
}
.chart-custom-small-result > .box-chart .s .label-box > div {
    background: #E4E4E4;
    color: #222;
    width: 110px;
    right: -10px;
    position: relative;
}
.chart-custom-small-result > .box-chart .label-left .label-box > div {
    width: 120px;
    right: -20px;
    position: relative;
}
.chart-custom-small-result > .box-chart .s:first-child .label-box {
    position: relative;
    right: -45px;
    top: 10px;
}
.chart-custom-small-result > .box-chart .s:nth-child(2) .label-box {
    position: relative;
    right: -45px;
    top: 10px;
}
.chart-custom-small-result > .box-chart .line-cutoff-1 {
    height: 1px;
    border-bottom: 2px dashed #25ACD7;
    position: absolute;
    width: 100%;
    bottom: 35%;
    left: 0px;
}
.chart-custom-small-result > .box-chart .line-cutoff-2 {
    height: 1px;
    border-bottom: 2px dashed #25ACD7;
    position: absolute;
    width: 100%;
    bottom: 75%;
    left: 0px;
}

.chart-custom-small-result > .box-chart .label-left {
    width: 30% !important;
    height: 100%;
    background: #fafafa;
    margin-right: 3%;
    position: relative;
}
#canvas_1{
    width: 100% !important;
    height:  100% !important;
}


.chart-custom-small-result .box-chart .label-left .grids .line , .chart-custom-small-result .box-chart .label-left .grids .line-t{
    background: transparent;
}

@media only screen and (max-width: 768px) {
    .chart-custom-small-result {
        min-height: unset !important;
    }
    .chart-custom-small-result > .box-chart .main-chart > .s {
        min-width: 70px !important;
        height: 100%;
        background: #E4E4E4;
        padding: 3px 30px;
        max-width: 50px;
    }
    .chart-custom-small-result > .box-chart .label-left {
        width: 30% !important;
        height: 100%;
        background: #fafafa;
        margin-right: 0%;
        position: relative;
    }
    .chart-custom-small-result > .box-chart .label-fa {
        width: 80px;
        position: absolute;
        z-index: 1;
        color: white;
        text-align: center;
        padding: 2px 0;
        height: 105%;
        border-radius: 5px;
        right: 50px;
        top: -2px;
        display: flex;
        flex-direction: column;
    }
    .chart-custom-small-result > .box-chart .grids {
        height: 100%;
        width: 30px;
        right: -8px;
        display: flex;
        position: relative;
        flex-direction: column;
        justify-content: space-between;
    }
    .chart-custom-small-result > .box-chart .label-left .grids {
        height: 98%;
    }
    .chart-custom-small-result > .box-chart .label-box {
        position: absolute;
        right: 20px;
        bottom: -130px;
    }
    .chart-custom-small-result > .box-chart .label-left .label-box > div {
        width: 130px !important;
    }
    .chart-custom-small-result > .box-chart .s .label-box > div {
        background: #E4E4E4;
        color: #222;
        width: 50px;
        right: -20px;
        position: relative;
    }
    .chart-custom-small-result > .box-chart .s:first-child .label-box {
        position: relative;
        right: 0px;
        top: 10px;
    }
    .chart-custom-small-result > .box-chart .s:nth-child(2) .label-box {
        position: relative;
        right: 0px;
        top: 10px;
    }
    .chart-custom-small-result > .box-chart .s:nth-child(3) .label-box {
        position: relative;
        right: 0px;
        top: 10px;
    }
    .chart-custom-small-result > .box-chart .label-left .label-box > div {
        width: 130px !important;
        font-size: 13px !important;
        top: -14px;
    }
        .chart-custom-small-result {
            min-height: unset !important;
            margin-bottom: 120px;
        }
    .chart-custom-small-result > .box-chart .main-chart {
        min-width: 130% !important;
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row-reverse;
        max-width: 100% !important;
    }
    .chart-custom-small-result > .box-chart .label-left .grids {
        height: 98%;
        right: 15px;
        text-align: center;
    }

    #canvas_1 {
        width: unset !important;
    }
    .chart-custom-small-result {
        min-height: 480px !important;
        position: relative;
        background: #FAFAFA;
        padding: 14px 100px 0;
        margin-bottom: 20px;
    }

}
