﻿/* tree control */
.tree {
    position: relative;
}
.tree a{
	text-decoration:none;
	white-space: nowrap;
}
.tree [class*="glyphicon-"]{
	font-size: 10px;
}
.tree .tree-folder {
    width: auto;
    min-height: 20px;
    cursor: pointer;
}
.tree .tree-folder .tree-folder-header {
    position: relative;
    min-height: 20px;
}
.tree .tree-folder .tree-folder-header:hover {
    background-color: #f4f4f4;
}
.tree .tree-folder .tree-folder-header .tree-folder-name,
.tree .tree-item .tree-item-name {
    display: inline;
    z-index: 2;
}
.tree .tree-folder .tree-folder-header > [class*="glyphicon-"]:first-child,
.tree .tree-item > [class*="glyphicon-"]:first-child {
    display: inline-block;
    position: relative;
    z-index: 2;
    top: -1px;
}
.tree .tree-folder .tree-folder-header .tree-folder-name {
    margin-left: 8px;
}
.tree .tree-item .tree-item-name{
	margin-left:17px;
}
.tree .tree-folder:last-child:after {
    display: inline-block;
    content: "";
    position: absolute;
    z-index: 1;
    top: 15px;
    bottom: 0;
    left: -15px;
    border-left: 1px solid #FFF;
}
.tree .tree-folder .tree-folder-content {
    margin-left: 23px;
    position: relative;
}
.tree .tree-item {
    position: relative;
    min-height: 20px;
    cursor: pointer;
}
.tree .tree-item:hover {
    background-color: #f4f4f4;
}
.tree .tree-item .tree-item-name > [class*="glyphicon-"]:first-child {
    margin-right: 6px;
}
.tree .tree-item > [class*="glyphicon-"]:first-child {
    margin-top: -1px;
}
.tree .tree-folder,
.tree .tree-item {
    position: relative;
}
.tree .tree-selected, .tree .active-current {
    background-color: #f4f4f4;
    color: #336699;
}
.tree .tree-selected:hover, .tree .active-current:hover {
    background-color: #f4f4f4;
}
.tree .tree-item,
.tree .tree-folder {
    border: 1px solid #FFF;
}
.tree .tree-item,
.tree .tree-folder .tree-folder-header {
    margin: 0;
    padding: 5px;
    color: #4D6878;
}
.tree .tree-folder .tree-folder-header {
    border-radius: 0;
}
.tree .tree-item > [class*="glyphicon-"]:first-child {
    color: #F9E8CE;
    width: 13px;
    height: 13px;
    line-height: 13px;
    font-size: 11px;
    text-align: center;
    border-radius: 3px;
    background-color: #FAFAFA;
    border: 1px solid #CCC;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
/*
.tree .tree-selected > [class*="glyphicon-"]:first-child {
    background-color: #F9A021;
    border-color: #F9A021;
    color: #FFF;
}
*/
.tree .tree-unselectable .tree-item > [class*="glyphicon-"]:first-child {
    color: #5084A0;
    width: 13px;
    height: 13px;
    line-height: 13px;
    font-size: 10px;
    text-align: center;
    border-radius: 0;
    background-color: transparent;
    border: none;
    box-shadow: none;
}
.tree [class*="fa-"][class*="-down"] {
    transform: rotate(-45deg);
}
.tree .fa-spin {
    height: auto;
}
.tree .tree-loading {
    margin-left: 36px;
}
.tree img {
    display: inline;
    veritcal-align: middle;
}