/* JsTree Overides */

.vakata-context {
    z-index: 99999 !important;
}

.vakata-context,
.vakata-context ul {
    background: #ffffff;
    -moz-box-shadow: 5px 5px 4px -4px #666666;
    -webkit-box-shadow: 2px 2px 2px #999999;
}

#jstree-marker {
    z-index: 99999;
}

.disabled .jstree-default .jstree-clicked {
    background-color: lightgray;
}

.jstree-default .jstree-disabled {
    background: transparent;
    color: #8a8a8a; /*Previous colour considered too light: #b0b0b0*/
}

.jstree-default .jstree-node {
  min-height: 24px;
  line-height: 24px;
  margin-left: 20px;
  /*min-width: 24px;*/
  /*RS - 20150630 - #1982 tree overflow issue*/
  min-width: 95%;
}

.jstree-default .jstree-wholerow-clicked {
    background: #beebff;
    background: -moz-linear-gradient(top, #beebff 0%, #a8e4ff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #beebff), color-stop(100%, #a8e4ff));
    background: -webkit-linear-gradient(top, #beebff 0%, #a8e4ff 100%);
    background: -o-linear-gradient(top, #beebff 0%, #a8e4ff 100%);
    background: -ms-linear-gradient(top, #beebff 0%, #a8e4ff 100%);
    background: linear-gradient(to bottom, #beebff 0%, #a8e4ff 100%);    
}

.jstree-default .jstree-anchor {
  line-height: 24px;
  height: 24px;
  width: calc(100% - 25px) !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jstree-default li.jstree-loading .jstree-anchor {
  width: 80% !important;
}

.jstree-default .jstree-icon:empty {
  font-size: 20px;
}

.jstree-disabled .jstree-checkbox {
    background-position: -164px -68px;
}

.jstree-disabled .jstree-checkbox:hover {
    background-position: -164px -68px;
}

/* Inherit overrides */

.jstree-inherit-up .jstree-checkbox {
    background-position: -196px -68px;
}

.jstree-inherit-down .jstree-checkbox {
    background-position: -228px -68px;
}

#inheritInfo {
    color: #767676;
    cursor: default;
}

/* Enhancements */


/* Hide some checkboxes in tree */
.jstree-leaf .no-checkbox .jstree-checkbox {
    display: none;
}

.disabled-node-no-checkbox .jstree-checkbox {
    display: none;
}