treecontrol {
    /* prevent user selection */
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* default */
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size:13px;
    color: #555;
    text-decoration: none;
}

treecontrol ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
    overflow: hidden;
}

treecontrol li {
    position: relative;
    padding: 3px 0 3px 20px;
    line-height: 24px;
    white-space: nowrap;
}


treecontrol li.tree-expanded i.tree-leaf-head, treecontrol li.tree-collapsed i.tree-leaf-head {display:none;}
treecontrol li.tree-expanded i.tree-branch-head, treecontrol li.tree-collapsed i.tree-branch-head {display:inline;}
treecontrol li.tree-leaf i.tree-branch-head {color:transparent;}
treecontrol li.tree-leaf i.tree-leaf-head {display:inline;}

treecontrol li i.tree-branch-head {
    font-size: 14px;
    cursor: pointer;
}

treecontrol li .tree-label {
    padding-left:5px;
    font-size: 14px;
    cursor: pointer;
    display: inline;
}


treecontrol.tree-classic li.tree-expanded i.tree-branch-head {
    font-size: 16px;
    /*padding: 1px 10px;
    background: url("../images/folder.png") no-repeat;*/
}

treecontrol.tree-classic li.tree-collapsed i.tree-branch-head {
    font-size: 16px;
    padding-right: 6px;
    /*padding: 1px 10px;
    background: url("../images/folder-closed.png") no-repeat;*/
}

treecontrol.tree-classic li.tree-leaf i.tree-leaf-head {
    padding-right: 6px;
    /*padding: 1px 10px;
    background: url("../images/file.png") no-repeat;*/
}

treecontrol.tree-classic li .tree-selected {  
    /*background-color: #aaddff;*/
    font-size: 14.5px;
    font-weight: bold;
    /*border:3px solid;
    border-top-right-radius:4px;
    border-top-left-radius:4px;
    border-bottom-right-radius:4px;
    border-bottom-left-radius:4px;
    padding: 6px;
    padding-top:4px !important;*/
}

treecontrol.tree-classic li.ui-sortable-placeholder {  
    /*background-color: #aaddff;*/
    background-color: rgb(244, 245, 247);
    font-size: 14.5px;
    font-weight: bold;
    position: relative;
    border: 2px dashed grey;
    border-radius: 5px;
    color: darkgrey;
    margin-left:20px;
    visibility:visible !important;
    max-width:300px;
}

treecontrol.tree-classic li div.drag-and-drop-handler a{  
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

treecontrol.tree-classic li div.drag-and-drop-handler a:active { 
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}


treecontrol.tree-light li.tree-expanded i.tree-branch-head {
    padding: 1px 10px;
    background: url("../images/node-opened-2.png") no-repeat;
}

treecontrol.tree-light li.tree-collapsed i.tree-branch-head {
    padding: 1px 10px;
    background: url("../images/node-closed-2.png") no-repeat;
}

treecontrol.tree-light li.tree-leaf i.tree-leaf-head {
    padding: 1px 10px;
    width: 16px; height: 16px;
    background: none no-repeat;
}

treecontrol.tree-light li .tree-selected {
    font-weight: bold;
}


treecontrol.tree-dark li.tree-expanded i.tree-branch-head {
    padding: 1px 10px;
    background: url("../images/node-opened-light.png") no-repeat;
}

treecontrol.tree-dark li.tree-collapsed i.tree-branch-head {
    padding: 1px 10px;
    background: url("../images/node-closed-light.png") no-repeat;
}

treecontrol.tree-dark li.tree-leaf i.tree-leaf-head {
    padding: 1px 10px;
    width: 16px; height: 16px;
    background: none no-repeat;
}

treecontrol.tree-dark li .tree-selected {
    font-weight: bold;
}

treecontrol.tree-dark {
    color: #ddd;
}
