.bar {
    height: 24px;
}

.inflow .bar {
    background-color: #0A6A17;
}

.outflow .bar {
    background-color: #AE0000;
}

.inflow .bar_area,
.outflow .bar_area {
    padding: 0;
}

.inflow .bar_area span,
.outflow .bar_area span {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 70px;
}

.outflow .bar_area span {
    left: -75px;
    text-align: right;
}

.inflow .bar_area span {
    right: -75px;
    text-align: left;
}

.moneyflow-table table tbody td {
    padding: 12px 0;

}

@media (max-width: 1023px) {
    /*.moneyflow-table table tbody td {
        padding-left: 4px;
        padding-right: 4px;
    }*/
    #us_index .inflow .bar_area,
    #us_index .outflow .bar_area,
    #home .inflow .bar_area,
    #home .outflow .bar_area,
    #money_flow .inflow .bar_area, 
    #money_flow .outflow .bar_area,
    #cnhk .turnover .inflow .bar_area, 
    #cnhk .turnover .outflow .bar_area {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 5px;
        padding: 6px 0;
    }
    #us_index .moneyflow-table table tbody td,
    #home .moneyflow-table table tbody td,
    #money_flow .moneyflow-table table tbody td,
    #cnhk .turnover .moneyflow-table table tbody td {
        padding: 6px 0;
    }
    #us_index .outflow .bar_area,
    #home .outflow .bar_area,
    #money_flow .outflow .bar_area,
    #cnhk .turnover .outflow .bar_area {
        flex-direction: row-reverse;
    }
    #us_index .inflow .bar_area span,
    #us_index .outflow .bar_area span, 
    #home .inflow .bar_area span,
    #home .outflow .bar_area span, 
    #money_flow .inflow .bar_area span,
    #money_flow .outflow .bar_area span,
    #cnhk .turnover .inflow .bar_area span,
    #cnhk .turnover .outflow .bar_area span {
        position: unset;
        transform: unset;
        width: 100%;
    }
    
}

.outflow .bar_area>div {
    float: right;
}

#cnhk #top5_ratio_table .outflow .bar_area>div {
    float: none;
}

#cnhk #top5_ratio_table .outflow .bar_area span {
    left: unset;
    right: -75px;
    text-align: left;
}

/*
.outflow .bar_area>div {
    flex-direction: row-reverse;
}

.outflow .bar_area.flex-row>div {
    flex-direction: row;
}

.outflow .bar_area.flex-row {
    padding-left: 0;
    padding-right: 8px;
}
*/

/*chart % line*/
.moneyflow-table .moneyflow-chart-number {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.moneyflow-table .moneyflow-chart-number ul {
    height: 100%;
    width: calc(35% + 20px);
    justify-content: space-between;
    margin: 0 0 0 -10px;
}

.moneyflow-table .moneyflow-chart-number ul li .line {
    background: #efeff0;
    width: 1px;
    margin: 0 auto;
    height: 100%;
}

.moneyflow-table .moneyflow-chart-number ul li {
    width: 20px;
    text-align: center;
}

.moneyflow-table .moneyflow-chart-number ul.positive {
    margin-left: calc(15% - 20px);
}

/*
#home .moneyflow-table .moneyflow-chart-number ul.negative {
    margin-left: 13px;
}

.moneyflow-table .moneyflow-chart-number ul.negative {
    margin-left: 19px;
}

.moneyflow-table .moneyflow-chart-number ul.negative li {
    transform: translate(-50%, 0px);
}


.moneyflow-table .moneyflow-chart-number ul.positive {
    margin-left: -39px;
}

.moneyflow-table .moneyflow-chart-number ul.positive li {
    transform: translate(50%, 0px);
}
*/

.money_flow_table .tom-select-container .ts-control {
    background-color: #F5F7F8 !important;
}