/*
    ---------------- Tree style ---------------------
*/

tree { white-space: nowrap; }

treenode { }

treenode ul {
    list-style-type: none;
    -webkit-padding-start: 16px;
    padding-left: 16px;
    margin-bottom: 0;
    font-family: Roboto,sans-serif;
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
}

treenode ul li {
    margin-right: 5px;
}

treenode .node-title {
}

treenode .pointer {
    cursor: pointer;
}

treenode .node-name {
}

treenode .selected {
    background: #BDBDBD none repeat scroll 0% 0%;
    font-weight: bold;
    box-shadow: 0px 0px 1px #999 inset;
    padding: 3px;
}

treenode .disabled {
    color: darkgray;
    cursor: not-allowed;
}

/*
   --------------- Icon Style -----------------------
*/

.tree-node-ico {
    color: #263238;
}

.tree-node-ico:empty {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: transparent no-repeat scroll 50% 50%;
    background-size: contain;
}

.tree-node-ico.tree-node-expanded {
    background-image: url('img/arrow-down.png');
}

.tree-node-ico.tree-node-collapsed {
    background-image: url('img/arrow-right.png');
}

/* ----------------- Animation -------------------- */

treenode {
    opacity: 1;
    max-height: 2000px;
    overflow: hidden;
}

treenode.ng-hide-add, treenode.ng-hide-remove {
    -webkit-transition: all linear .5s;
    -moz-transition: all linear .5s;
    -o-transition: all linear .5s;
    transition: all linear .5s;
    display: block !important;
}

treenode.ng-hide {
    opacity: 0;
    max-height: 0;
}
