.zent-tree {
    color: #333;
    font-size: 18px;
}

.zent-tree ul, .zent-tree li {
    list-style: none;
}

.zent-tree.zent-tree-large {
    font-size: 20px;
}

.zent-tree.zent-tree-large .zent-tree-bar .switcher {
    line-height: 20px
}

.zent-tree.zent-tree-large .zent-tree-bar .switcher:after {
    border: 6px solid transparent;
    border-left: 9px solid red;
}

.zent-tree.zent-tree-large .checkbox {
    height: 16px;
    width: 16px
}

.zent-tree.zent-tree-large .checkbox.half-checked {}

.zent-tree.zent-tree-large .checkbox.half-checked:after {
    top: 7px;
    width: 12px;
}

.zent-tree.zent-tree-large .checkbox.checked {}

.zent-tree.zent-tree-large .checkbox.checked:after {
    left: 4px;
    width: 6px;
    height: 10px;
}

.zent-tree.zent-tree-small {
    font-size: 14px;
}

.zent-tree.zent-tree-small .zent-tree-bar .switcher {
    line-height: 12px
}

.zent-tree.zent-tree-small .zent-tree-bar .switcher:after {
    border: 4px solid transparent;
    border-left: 6px solid red;
}

.zent-tree.zent-tree-small .checkbox {
    height: 12px;
    width: 12px
}

.zent-tree.zent-tree-small .checkbox.half-checked {}

.zent-tree.zent-tree-small .checkbox.half-checked:after {
    top: 5px;
    width: 8px;
}

.zent-tree.zent-tree-small .checkbox.checked {}

.zent-tree.zent-tree-small .checkbox.checked:after {
    left: 3px;
    width: 4px;
    height: 7px;
}

.zent-tree-bar {
    position: relative;
}

.zent-tree-bar .switcher {
    position: absolute;
    top: 2px;
    left: -24px;
    width: 16px;
    height: 16px;
    line-height: 18px;
    display: inline-block;
    vertical-align: middle;
    border: 0 none;
    cursor: pointer;
    outline: none
}

.zent-tree-bar .switcher:after {
    content: '';
    display: inline-block;
    border: 5px solid transparent;
    border-left: 7.5px solid red;
    color: #666;
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
    -webkit-transform-origin: 23.09% 50%;
            transform-origin: 23.09% 50%;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.zent-tree-bar .zent-tree-node {
    display: inline-block;
    line-height: 1.42857143;
    cursor: pointer;
}

.zent-tree-bar .zent-tree-node .content {
    margin-left: -4px;
    padding: 0 4px;
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: transparent;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out
}

.zent-tree-bar .zent-tree-node .content:hover {
    /*border-color: #3283fa;*/
    background-color: #ecf4ff;
}

.zent-tree-bar .zent-tree-node .operation {
    display: inline-block;
    margin-left: 10px;
    opacity: 0;
    font-size: 0.8em;
    color: black;
    -webkit-transition: opacity 0.3s ease-in;
    transition: opacity 0.3s ease-in
}

.zent-tree-bar .zent-tree-node .operation > span.opt:not(:last-of-type) {
    margin-right: 8px;
    padding-right: 8px;
    border-right: 2px solid #ccc;
}

.zent-tree-bar .checkbox {
    position: relative;
    top: 1px;
    display: inline-block;
    height: 14px;
    width: 14px;
    margin: 0 8px 0 -6px;
    border: 1px solid #3283fa;
    border-radius: 2px;
    background-color: #f6f6f6
}

.zent-tree-bar .checkbox.disabled {
    border-color: #d9d9d9;
    background-color: #f3f3f3;
    cursor: not-allowed;
}

.zent-tree-bar .checkbox.disabled + .content {
    color: #d9d9d9;
}

.zent-tree-bar .checkbox.disabled.half-checked:after, .zent-tree-bar .checkbox.disabled.checked:after {
    color: #d9d9d9;
    border-color: #d9d9d9;
}

.zent-tree-bar .checkbox.half-checked {}

.zent-tree-bar .checkbox.half-checked:after {
    content: '';
    position: absolute;
    left: 1px;
    top: 6px;
    width: 10px;
    border: 1px solid #3283fa;
    border-radius: 1px;
}

.zent-tree-bar .checkbox.checked {}

.zent-tree-bar .checkbox.checked:after {
    content: '';
    display: table;
    width: 5px;
    height: 8px;
    border: 2px solid #3283fa;
    border-top: 0;
    border-left: 0;
    position: absolute;
    left: 4px;
    -webkit-transform: rotate(45deg) scale(1);
            transform: rotate(45deg) scale(1);
}

.zent-tree-bar.off .switcher {}

.zent-tree-bar.off .switcher:after {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
}

.zent-tree-bar:hover .operation {
    opacity: 0.8;
}

.zent-tree-child {
    overflow: hidden;
}
