﻿.tree
{
  border-radius: 0;
  min-height: 122px;
  resize: vertical;
  overflow: auto;
}

.nodeContainer
{
  margin: 0;
  -webkit-user-select: none; /* webkit (safari, chrome) browsers */
  -moz-user-select: none; /* mozilla browsers */
  -ms-user-select: none; /* IE10+ */
  user-select: none;
}

.noNodesLabel
{
  display: none;
  font-style: italic;
  font-weight: normal;
  font-size: 14px;
}

.rootNode
{
  padding-left: 0;
}

.childNode
{
  padding-left: 15px;
}

.linkContainer
{
  position: relative;
  border: solid 1px transparent;
  cursor: pointer;
}

.dropTarget > .linkContainer
{
  background: linear-gradient(to bottom, rgba(0, 101, 179, 0.75), rgba(0, 101, 179, 0.0) 2px),
              linear-gradient(to top, rgba(0, 101, 179, 0.75), rgba(0, 101, 179, 0.0) 2px),
              linear-gradient(to left, rgba(0, 101, 179, 0.75), rgba(0, 101, 179, 0.0) 2px),
              linear-gradient(to right, rgba(0, 101, 179, 0.75), rgba(0, 101, 179, 0.0) 2px);
  border-radius: 4px;
}

.linkContainer.nowrap
{
  white-space: nowrap;
}

.miniDT
{
  background-color: transparent;
  position: absolute;
  width: 100%;
  height: 8px;
  left: 0;
  z-index: 5;
  padding-left: 20px;
  padding-right: 5px;
}

.miniDT.top
{
  top: 0;
}

.miniDT.bottom
{
  bottom: 0;
}

.miniDT > .inner
{
  width: 100%;
  height: 100%;
  background-color: transparent;
}

.miniDT.top.on > .inner
{
  background: linear-gradient(to bottom, rgba(0, 101, 179, 0.75), rgba(0, 101, 179, 0.0) 3px);
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
}

.miniDT.bottom.on > .inner
{
  background: linear-gradient(to top, rgba(0, 101, 179, 0.75), rgba(0, 101, 179, 0.0) 3px);
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.node
{
  clear: left;
  color: black;
  font-size: 13px;
  line-height: 18px;
  margin: 0;
}

.node.disabled,
.node.disabled > .linkContainer .nodeIcon i,
.node.disabled > .linkContainer
{
  color: #808080 !important;
  cursor: default !important;
}
.node.disabled > .hhr,
.node.disabled > .hfr
{
  background-color:transparent !important;
}

.node .link
{
  position: relative;
  margin-top: 1px;
  margin-bottom: 1px;
  border: solid 1px transparent;
  z-index: 10;
}

.node .nodeIcon
{
  display: block;
  float: left;
  padding-left: 3px;
}

.selected > .hsr,
.selected > .hsr.hfr,
.selected > .hsr:hover,
.selected > .hsr.hfr:hover
{
  background-color: #66bdff;
}

.focused > .hfr,
.focused > .hfr:hover
{
  background-color: #cce9ff;
}

.hhr:hover
{
  background-color: #dce3e8;
}

.node .nodePadding
{
  background-color: transparent;
  display: block;
  float: left;
  padding-left: 0;
  padding-top: 0;
  width: 20px;
}

.node .nodeCheck
{
  background-color: transparent;
  display: block;
  float: left;
  padding-left: 0;
  padding-top: 0;
}

.node input[type="checkbox"]
{
  margin: 0 0 2px 0;
}

.node input[type="radio"]
{
  margin: 3px 0 2px 0;
}

.node .nodeToggleIcon
{
  color: black;
  display: block;
  float: left;
  padding-left: 5px;
  width: 20px;
}

.node i
{
  font-size: 14px;
}

.node .nodeLabel
{
  display: inline-block;
  padding-left: 3px;
  text-align: left;
}

.node .nodeLabel.i
{
  font-style: italic;
}

.node .lblChk
{
  width: calc(100% - 65px);
}

.node .lbl
{
  width: calc(100% - 42px);
}

.node span
{
  font-weight: normal;
  text-decoration: none;
}

.node .selLink
{
  color: #780d2c;
}

.circleContainer
{
  display: none;
  position: relative;
}

.circle
{
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  display: block;
  color: #FFFFFF;
  background-color: #0074cc;
  border: 1px solid #000000;
  border-radius: 8px;
  font-size: 11px;
  font-weight: bold;
  line-height: 14px;
  text-align: center;
  /*padding-left:1px;*/
  position: absolute;
  left: 0;
  top: -16px;
  height: 16px;
  width: 17px;
}

.circle:hover
{
  background-color: #0074cc;
}

/* Grouped Entity Selector */

.grpEntSelector
{
  /*float: left;*/
  width: 100%;
}

.grpEntSelector select
{
  border-radius: 0;
}

.grpEntSelector .comboContainer
{
  margin-bottom: 5px;
}

.grpEntSelector .labelContainer
{
  margin-bottom: 5px;
}

.grpEntSelector .treeContainer
{
  margin-bottom: 5px;
}

.grpEntSelector .tree
{
  border-radius: 0;
}

.grpEntSelFauxCombo
{
  overflow: hidden;
  cursor: pointer;
  padding-top: 3px;
  padding-left: 8px;
  white-space: nowrap;
  -webkit-user-select: none; /* webkit (safari, chrome) browsers */
  -moz-user-select: none; /* mozilla browsers */
  -ms-user-select: none; /* IE10+ */
  user-select: none;
}

.modalSelector
{
  width: 400px;
  height: auto;
  min-height: 0;
  border-radius: 4px;
}

.modalSelector .modal-body
{
  height: auto;
  overflow: hidden;
  padding: 15px;
}

.modalSelector .buttonsContainer
{
  margin: 0 -5px;
}

.modalSelector .buttonContainer
{
  float: left;
  width: 50%;
  padding: 0 5px;
}

.tree > .searchBtn
{
  position: absolute;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  color: #555555;
  cursor: default;
  display: block;
  font-size: 12px;
  height: 22px;
  padding: 1px 0 1px 4px;
  width: 22px;
  top: 0;
  z-index: -10;
}

.tree > .search
{
  position: absolute;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  color: #555555;
  cursor: default;
  display: block;
  font-size: 12px;
  height: 22px;
  padding: 1px 0 1px 4px;
  width: 100px;
  top: 0;
  z-index: -10;
}

.tree > .search > input,
.tree > .search > input:focus
{
  background-color: transparent;
  border: none;
  font-size: 12px;
  line-height: 18px;
  margin: 0;
  outline: none;
  padding: 0;
  width: calc(100% - 50px);
}

.tree > .search > .count
{
  position: absolute;
  display: inline-block;
  background-color: transparent;
  color: #C3C3C3;
  font-size: 12px;
  font-weight: normal;
  line-height: 16px;
  overflow-x: visible;
  margin: 0;
  padding: 0;
  text-align: right;
  left: 0;
  top: 3px;
  width: calc(100% - 50px);
  -webkit-user-select: none; /* webkit (safari, chrome) browsers */
  -moz-user-select: none; /* mozilla browsers */
  -ms-user-select: none; /* IE10+ */
  user-select: none;
  z-index: -1;
}

.tree > .search > .icon
{
  background-color: transparent;
  display: inline-block;
  font-size: 12px;
  margin: 0;
  padding: 0;
  text-align: center;
  height: 18px;
  width: 16px;
}

.tree > .search > .icon:hover
{
  background-color: #bcd996;
}