/*******************************************************************************

* Tree container
*/

ul.dynatree-container {
  font-family: Arial, Sans-serif;
  font-size: 10px;
  /* font size should not be too big */
  padding: 0px;
  margin: 0;
  /* issue 201 */
  background-color: transparent;
  overflow: hidden;
  position: relative;
  letter-spacing: 0px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05) inset;
}
ul.dynatree-container ul {
  padding: 0 0 0 0px;
  margin: 0;
  color: aqua;
}
ul.dynatree-container li {
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
  background-attachment: scroll;
  background-color: rgba(168, 160, 255, 0.05);
  border-top: 1px solid rgba(84, 89, 117, 0.15);
  line-height: 50px;
}

/* Suppress lines if level is fixed expanded (option minExpandLevel) */

ul.dynatree-no-connector > li {
  background-image: none;
}

/* Style, when control is disabled */

.ui-dynatree-disabled ul.dynatree-container {
  opacity: 0.5;
  /*  filter: alpha(opacity=50); /* Yields a css warning */
  background-color: silver;
}

/*******************************************************************************
 * Lines and connectors
*/

span.dynatree-connector {
  background-position: -16px -64px;
}

/*******************************************************************************
 * Expander icon
 * Note: IE6 doesn't correctly evaluate multiples class names,
 *       so we create combined class names that can be used in the CSS.
 *
 * Prefix: dynatree-exp-
 * 1st character: 'e': expanded, 'c': collapsed
 * 2nd character (optional): 'd': lazy (Delayed)
 * 3rd character (optional): 'l': Last sibling
*/

ul.dynatree-container li ul li a {
  text-decoration: underline;
}

span.dynatree-expander {
  width: 25px;
  height: 30px;
  position: absolute;
  right: 12px;
  padding-top: 19px;
  background-image: url("tree-button.png");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
}
span.dynatree-expander:hover {
  position: absolute;
  background-image: url("tree-button.png");
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.5s;
}
.dynatree-exp-cl span.dynatree-expander
/* Collapsed, not delayed, last sibling */

{
  /*background-position: -189px -68px;*/
}
.dynatree-exp-cd span.dynatree-expander
/* Collapsed, delayed, not last sibling */

{
  background-position: -189px -68px;
}
.dynatree-exp-cdl span.dynatree-expander
/* Collapsed, delayed, last sibling */

{
  background-position: -189px -68px;
}
.dynatree-exp-e span.dynatree-expander,
/* Expanded, not delayed, not last sibling */

.dynatree-exp-ed span.dynatree-expander
/* Expanded, delayed, not last sibling */

{
  background-image: url("tree-button_close.png");
}
.dynatree-exp-el span.dynatree-expander,
/* Expanded, not delayed, last sibling */

.dynatree-exp-edl span.dynatree-expander
/* Expanded, delayed, last sibling */

{
  background-image: url("tree-button_close.png");
}
.dynatree-loading span.dynatree-expander
/* 'Loading' status overrides all others */

{
  background-position: -189px -68px;
}

/*******************************************************************************
 * Checkbox icon
*/

span.dynatree-checkbox {
  width: 25px;
  height: 30px;
  position: absolute;
  right: 40px;
  padding-top: 16px;
  background-image: url("tree-button_layer_inactive.png");
  background-size: 100%;
  background-position: center;
  opacity: 0.9;
  cursor: pointer;
}
span.dynatree-checkbox:hover {
  width: 25px;
  height: 30px;
  position: absolute;
  right: 40px;
  padding-top: 16px;
  background-image: url("tree-button_layer_inactive.png");
  background-size: 100%;
  background-position: center;
  opacity: 1;
  cursor: pointer;
}
.dynatree-partsel span.dynatree-checkbox {
  width: 25px;
  height: 30px;
  position: absolute;
  right: 40px;
  padding-top: 19px;
  background-image: url("tree-button_layer_active.png");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
  cursor: pointer;
}
.dynatree-partsel span.dynatree-checkbox:hover {
  width: 25px;
  height: 30px;
  position: absolute;
  right: 40px;
  padding-top: 19px;
  background-image: url("tree-button_layer_active.png");
  background-size: 100%;
  background-position: center;
  opacity: 1;
  cursor: pointer;
}
.dynatree-selected span.dynatree-checkbox {
  width: 25px;
  height: 30px;
  position: absolute;
  right: 40px;
  padding-top: 16px;
  background-image: url("tree-button_layer_active.png");
  background-size: 100%;
  background-position: center;
  opacity: 0.9;
  cursor: pointer;
}
.dynatree-selected span.dynatree-checkbox:hover {
  width: 25px;
  height: 30px;
  position: absolute;
  right: 40px;
  padding-top: 16px;
  background-image: url("tree-button_layer_active.png");
  background-size: 100%;
  background-position: center;
  opacity: 1;
  cursor: pointer;
}

/*******************************************************************************
 * Radiobutton icon
 * This is a customization, that may be activated by overriding the 'checkbox'
 * class name as 'dynatree-radio' in the tree options.
*/

span.dynatree-radio {
  background-position: 0px -48px;
}
span.dynatree-radio:hover {
  background-position: -16px -48px;
  cursor: pointer;
}
.dynatree-partsel span.dynatree-radio {
  background-position: -64px -48px;
}
.dynatree-partsel span.dynatree-radio:hover {
  background-position: -80px -48px;
  cursor: pointer;
}
.dynatree-selected span.dynatree-radio {
  background-position: -32px -48px;
}
.dynatree-selected span.dynatree-radio:hover {
  background-position: -48px -48px;
  cursor: pointer;
}

/*******************************************************************************
 * Node type icon
 * Note: IE6 doesn't correctly evaluate multiples class names,
 *       so we create combined class names that can be used in the CSS.
 *
 * Prefix: dynatree-ico-
 * 1st character: 'e': expanded, 'c': collapsed
 * 2nd character (optional): 'f': folder
*/

span.dynatree-icon
/* Default icon */

{
  background-position: 0px 0px;
}
.dynatree-ico-cf span.dynatree-icon
/* Collapsed Folder */

{
  background-position: 0px -16px;
}
.dynatree-ico-ef span.dynatree-icon
/* Expanded Folder */

{
  background-position: -64px -16px;
}

/* Status node icons */

.dynatree-statusnode-wait span.dynatree-icon {
  background-image: url("loading.gif");
}
.dynatree-statusnode-error span.dynatree-icon {
  background-position: 0px -112px;
  /*  background-image: url("ltError.gif");*/
}

/*******************************************************************************
 * Node titles
*/


/* @Chrome: otherwise hit area of node titles is broken (issue 133)
   Removed again for issue 165; (133 couldn't be reproduced) */

span.dynatree-node {
  /*zakomentirano jer FF nije respektirao width za potrebu text-oveflow: ellipsis */
  /*display: -moz-inline-box; /* issue 133, 165, 172, 192,  */
  /*  display: inline-block; /* Required to make a span sizeable */
}

/* Remove blue color and underline from title links */

ul.dynatree-container a
/*, ul.dynatree-container a:visited*/

{
  color: #CFCFCF;
  /* inherit doesn't work on IE */
  text-decoration: none;
  vertical-align: top;
  background-position: 0 0;
  /*  outline: 0; /* @ Firefox, prevent dotted border after click */
}

/* Remove blue color and underline from title links */

ul.dynatree-container:first-child {
  border-bottom: 1px solid rgba(84, 89, 117, 0.15);
}

/*
ul.dynatree-container ul a
{
    text-decoration: none;
    vertical-align: top;
    font-weight:bold;
    width: 150px;
    background-image: none;
}
*/

ul.dynatree-container a:hover {
  /*  text-decoration: underline; */
}
span.dynatree-node a {
  text-decoration: none;
  color: #424656;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  /* vertical-align: top; */
  padding-right: 18px;
  line-height: 34px;
  cursor: pointer;
  line-height: 50px;
}
span.dynatree-folder a {}
span.dynatree-has-children a {}
span.dynatree-expanded a {}
span.dynatree-selected a {}
span.dynatree-selected a:hover {}
span.dynatree-active a {
  color: black !important;
  /* @ IE6 */
}

/*******************************************************************************
 * Drag'n'drop support
*/


/*** Helper object ************************************************************/

div.dynatree-drag-helper {}
div.dynatree-drag-helper a {
  border: 1px solid gray;
  background-color: white;
  padding-left: 5px;
  padding-right: 5px;
  opacity: 0.8;
}
span.dynatree-drag-helper-img {
  /*
        position: relative;
        left: -16px;
    */
}
div.dynatree-drag-helper
/*.dynatree-drop-accept*/

{
  /*    border-color: green;
        background-color: red;*/
}
div.dynatree-drop-accept span.dynatree-drag-helper-img {
  background-position: -32px -112px;
}
div.dynatree-drag-helper.dynatree-drop-reject {
  border-color: red;
}
div.dynatree-drop-reject span.dynatree-drag-helper-img {
  background-position: -16px -112px;
}

/*** Drop marker icon *********************************************************/

#dynatree-drop-marker {
  width: 24px;
  position: absolute;
  background-position: 0 -128px;
}
#dynatree-drop-marker.dynatree-drop-after, #dynatree-drop-marker.dynatree-drop-before {
  width: 64px;
  background-position: 0 -144px;
}
#dynatree-drop-marker.dynatree-drop-copy {
  background-position: -64px -128px;
}
#dynatree-drop-marker.dynatree-drop-move {
  background-position: -64px -128px;
}

/*** Source node while dragging ***********************************************/

span.dynatree-drag-source {
  /* border: 1px dotted gray; */
  background-color: #e0e0e0;
}
span.dynatree-drag-source a {
  color: gray;
}

/*** Target node while dragging cursor is over it *****************************/

span.dynatree-drop-target {
  /*border: 1px solid gray;*/
}
span.dynatree-drop-target a {
  /*background-repeat: no-repeat;
        background-position: right;
        background-image: url("drop_child.gif");*/
}
span.dynatree-drop-target.dynatree-drop-accept a {
  /*border: 1px solid green;*/
  background-color: #3169C6 !important;
  color: white !important;
  /* @ IE6 */
  text-decoration: none;
}
span.dynatree-drop-target.dynatree-drop-reject {
  /*border: 1px solid red;*/
}
span.dynatree-drop-target.dynatree-drop-after a {
  /*background-repeat: repeat-x;
        background-position: bottom;
        background-image: url("drop_append.gif");*/
}

/*  skrati duge nazive i prikazi 3 tocke
    TODO: omoguciti da to radi na word boundary
*/

a.dynatree-title {
  white-space: nowrap;
  width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-indent: 14px;
}
a.dynatree-title:hover {
  cursor: pointer;
}
li ul span a.dynatree-title {
  text-indent: 20px;
}

/*******************************************************************************
 * Custom node classes (sample)
*/

span.custom1 a {
  background-color: maroon;
  color: yellow;
}
