﻿.tree {
    min-height:20px;
}
.tree li {
    list-style-type:none;
    margin:0;
    padding:10px 5px 0 5px;
    position:relative
}
.tree li::before, .tree li::after {
    content:'';
    left:-20px;
    position:absolute;
    right:auto
}
.tree li::before {
    border-left:0px solid #999;
    bottom:50px;
    height:100%;
    top:0;
    width:1px
}
.tree li::after {
    border-top:0px solid #999;
    height:20px;
    top:25px;
    width:25px
}
.tree li span {
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border:0px solid #999;
    border-radius:5px;
    display:inline-block;
    padding:3px 8px;
    text-decoration:none
}
.tree li.parent_li>span {
    cursor:pointer
}
.tree>ul>li::before, .tree>ul>li::after {
    border:0
}
.tree li:last-child::before {
    height:30px
}
.tree li.parent_li>span:hover, .tree li.parent_li>span:hover+ul li span {
    background:#eee;
    border:0px solid #94a0b4;
    color:#000
}
.tree li input[type="checkbox"] {
    display:none;
}
.tree li input[type="checkbox"] + label {
    color:#f2f2f2;
}
.tree li input[type="checkbox"] + label {
    display:inline-block;
    width:19px;
    height:19px;
    margin:-2px 10px 0 0;
    vertical-align:middle;
    background:url(../../images/check_radio_sheet.png) left top no-repeat;
    cursor:pointer;
}
.tree li input[type="checkbox"]:checked + label {
    background:url(../../images/check_radio_sheet.png) -19px top no-repeat;
}

.change-span-text {
    border: 0px;
    border-bottom: 1px solid #000;
    background-color: #fff;
    position:absolute;
}
.tree-change-span-text-img { position:absolute; width: 24px; height: auto; opacity:0.4; opacity:0.8; filter:alpha(opacity=90); cursor: pointer; margin: 5px; }
.tree-change-span-text-img:hover { opacity:1; filter:alpha(opacity=100); }
.btn-circlestyle { width: 24px; height: 24px; margin-top: -5px; margin-right: 2px; text-align: center; padding: 1px 0; font-size: 12px; line-height: 1.42; border-radius: 15px; }
.ghost-element { display: none; width: 100%; border: 2px dotted #444!important; }
.ghost-element-last { display: none; width: 100%; border: 2px dotted #FAB3B3!important; }
.tree-node { white-space:nowrap!important; word-break: keep-all!important; word-wrap: normal!important; }
.tree-node i { margin-right: 5px; }
.li { white-space:nowrap!important; word-break: keep-all!important; word-wrap: normal!important; }
.tree-background-popup { position:absolute; z-index:9998; top:0px; left:0px; background:rgb(50,50,50);background:rgba(0,0,0,0.5); display:none; }
.form-control-number-input {
    width:70px;
    display:inline;
    margin-left: 10px;
}
.html-control-img { width: 32px; height: 32px; }