.chart-wrap {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    width:100%;
}

.chart {
    width: 100%;
    position: relative;
    margin:0 auto;
}

@media (min-width: 768px) {
    .chart-wrap-split {
        align-items: flex-end;
    }
    .chart-wrap-split .bar-chart{
        flex: 0 0 60%;
        max-width: 60%;
        height: 200px;
    }
    .chart-wrap-split .pie-chart{
        flex: 0 0 40%;
        max-width: 40%;
        display: flex;
        align-items: flex-end;
    }
}

.pie-chart {}
.pie-chart svg path{
    stroke-width: 4px!important;
}



.bar-chart .bar {
    background: #2d859b;
    margin: 40px 0;
    position: relative;
}

.bar-chart .value {
    position: absolute;
    top:12px;
    right: 10px;
    color: #fff !important;
    line-height:1;
}

.bar-chart .value.low {
    color: inherit !important;
}

.bar-chart .label {
    position: absolute;
    top:-24px;
    line-height: 1.2;
}


@media (max-width: 767px) {
    .bar-chart .bar {
        height: 40px!important;
    }
    .bar-chart .value.low {
        left: calc(100% + 5px);
        right: auto;
    }
    .bar-chart .label {
        white-space:nowrap;
    }
}
@media (min-width: 768px) {
    .chart-wrap {
        padding-bottom: 100px;
    }
    .bar-chart {
        margin: 0 auto 60px;
        display: flex;
        min-height: 200px;
        align-items: flex-end;
    }

    .bar-chart .bar {
        flex: 1;
        margin: 0 15px;
    }
    .bar-chart .value {
        top: 10px;
        right: 0;
        left: 0;
        text-align: center;
    }
    .bar-chart .value.low {
        top: -24px;
    }
    .bar-chart .value.count-low {
        font-size: 2rem;
    }
    .bar-chart .value.low.count-low {
        top: -34px;
    }
    .bar-chart .label {
        top: calc(100% + 20px);
        left: 0;
        right: 0;
        text-align: center;
    }
    .bar-chart .label .tick {
        content: "";
        display: block;
        height: 15px;
        width: 2px;
        position: absolute;
        top: -20px;
        left: 50%;
        background: #ccc;
    }
}


/* Edit */
#chartdatatable {
    margin: 0 auto;
    border: 2px solid #c0c0c0;
}

#chartdatatable > thead tr td {
    min-width: 200px;
    border: 2px solid #c0c0c0;
    background: #c0c0c0;
    text-align: center;
}

#chartdatatable > tbody td {
    text-align: center;
}

#chartdatatable tr > td:nth-child(1) {
    display: none;
}

.hide{
    display:none;
}

.addChartEntry .color-picker-container{
    margin-bottom: 11px;
}

.addChartEntry .color-picker-container {
    margin-bottom: 11px;
}

.addChartEntry{
    margin-top: 31px;
}

#chartdatatable > tbody i.fa-edit.clickable:before {
    content: "\f044";
    font-weight: 800;
    font-family: "Font Awesome 5 Free";
}

#chartdatatable > tbody i.fa-trash-alt.clickable:before {
    content: "\f2ed";
    font-weight: 800;
    font-family: "Font Awesome 5 Free";
}

#chartdatatable > tbody i.clickable:hover{
    cursor:pointer;
}

input#segmentValue {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

