$font-family-S: "PingFangSC-Regular","Microsoft YaHei";
$font-family-S12 : "PingFangSC-Regular ","SimSun";
.vacation-balance-component{
    height: 100%;
    width: 100%;
    .chart-header-wrap{
        height: 34px;   
        margin-bottom: 0;     
        .chart-header{
            .title{
                height: 24px;
                line-height: 24px;
            }
        }
    }
    .for-no-data{
        height:calc(100% - 35px);
        height:  -webkit-calc(100% - 35px);
        height: -moz-calc(100% - 35px);
    }
    .scrollbar__content {
        display: inline-block;
        width: 100%;
        min-width: 340px;
    }
    .vacation-list{
        height:calc(100% - 35px);
        height: -webkit-calc(100% - 35px);
        height: -moz-calc(100% - 35px);
        // -o-height:calc(100% - 35px);
        padding: 0 5px;
        width: 100%;
        .vacation-list-header{
            background:#f5f8fa;
            border-radius:3px;
            height:30px;
            width: 100%;
            min-width: 340px;
            padding: 0 5px;
            .last-year-balance-title,
            .this-year-balance-title,
            .used-vacation-title,
            .balance-title{
                text-align: center;
            }
            label{
                display: inline-block;
                width: 20%;
                text-align: right;    
                font-family: $font-family-S12;
                font-size: 12px;
                color: #66757f;
                line-height: 30px;
                padding-right: 5px;
            }
            .type-title{
                text-align: left;
            }
        }
        
        .vacation-list-body{
            min-width: 340px; 
            margin-top: 16px;
            overflow: hidden;
            li{
                height: 24px;
                padding: 0 5px;
                padding-right: 0;
                margin-bottom: 15px;
                label{
                    font-family:$font-family-S;
                    font-size:14px;
                    color:#35434c;
                    line-height:24px;
                    text-align:right;
                    width: 20%;
                    display: inline-block;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    padding-right: 5px;
                }
                .type-text{
                    text-align: left;
                }
                .td-text{
                    text-align: center;
                }
                .last-year-balance-text,.used-vacation-text{
                    color:  #66757f;
                }
                .this-year-balance-text{
                    color: #fd8c49;
                }
                .balance-text{
                    color: #00b971;
                }
                &:last-child{
                    margin-bottom: 0px;
                }
            }
        }
    }
}