/*******************************************************************************
 * Tree container */
ul.dynatree-container{
white-space:nowrap;
padding:3px;
margin:0;
}

ul.dynatree-container ul{
padding:0 0 0 32px;
margin:0;
}

ul.dynatree-container li{
list-style-image:none;
list-style-position:outside;
list-style-type:none;
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding-box;
background-attachment:scroll;
background-color:transparent;
background-repeat:repeat-y;
background-image:url("vline.png");
background-size:24px;
background-position:0 0;
margin:0;
padding:1px 0 0 0;
}
/* Suppress lines for last child node */
ul.dynatree-container li.dynatree-lastsib{
background-image:none;
}
/* 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;
background-color:silver;
}

/*******************************************************************************
 * Common icon definitions  */
span.dynatree-empty,
span.dynatree-vline,
span.dynatree-connector,
span.dynatree-expander,
span.dynatree-icon,
span.dynatree-checkbox,
span.dynatree-radio,
span.dynatree-drag-helper-img,
#dynatree-drop-marker{
width:24px;
height:24px;
display:inline-block; /* Required to make a span sizeable */
vertical-align:top;
background-repeat:no-repeat;
background-position:left;
background-image:url("icons.png");
background-size:144px;
background-position:0 0;
}

/** Used by 'icon' node option:*/
ul.dynatree-container img{
width:24px;
height:24px;
margin-left:3px;
vertical-align:top;
border-style:none;
}


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

span.dynatree-connector{
background-position:-24px -96px;
}

/*******************************************************************************
 * 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
 */

span.dynatree-expander{
background-position:0px -120px;
cursor:pointer;
}
.dynatree-exp-cl span.dynatree-expander /* Collapsed, not delayed, last sibling */{
background-position:0px -144px;
}
.dynatree-exp-cd span.dynatree-expander /* Collapsed, delayed, not last sibling */{
background-position:-96px -120px;
}
.dynatree-exp-cdl span.dynatree-expander /* Collapsed, delayed, last sibling */{
background-position:-96px -144px;
}
.dynatree-exp-e span.dynatree-expander,  /* Expanded, not delayed, not last sibling */
.dynatree-exp-ed span.dynatree-expander  /* Expanded, delayed, not last sibling */{
background-position:-48px -120px;
}
.dynatree-exp-el span.dynatree-expander,  /* Expanded, not delayed, last sibling */
.dynatree-exp-edl span.dynatree-expander  /* Expanded, delayed, last sibling */{
background-position:-48px -144px;
}
.dynatree-loading span.dynatree-expander  /* 'Loading' status overrides all others */{
background-position:0 0;
background-image:url("loading.gif");
}


/*******************************************************************************
 * Checkbox icon  */
span.dynatree-checkbox{
margin-left:3px;
background-position:0px -48px;
}
span.dynatree-checkbox:hover{
background-position:-24px -48px;
}

.dynatree-partsel span.dynatree-checkbox{
background-position:-96px -48px;
}
.dynatree-partsel span.dynatree-checkbox:hover{
background-position:-120px -48px;
}

.dynatree-selected span.dynatree-checkbox{
background-position:-48px -48px;
}
.dynatree-selected span.dynatree-checkbox:hover{
background-position:-72px -48px;
}

/*******************************************************************************
 * 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{
margin-left:3px;
background-position:0px -72px;
}
span.dynatree-radio:hover{
background-position:-24px -72px;
}

.dynatree-partsel span.dynatree-radio{
background-position:-96px -72px;
}
.dynatree-partsel span.dynatree-radio:hover{
background-position:-120px -72px;
}

.dynatree-selected span.dynatree-radio{
background-position:-48px -72px;
}
.dynatree-selected span.dynatree-radio:hover{
background-position:-72px -72px;
}

/*******************************************************************************
 * 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 */{
margin-left:3px;
background-position:0px 0px;
}

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

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

/* Status node icons */

.dynatree-statusnode-wait span.dynatree-icon{
background-image:url("loading.gif");
}

.dynatree-statusnode-error span.dynatree-icon{
background-position:0px -168px;
}

/*******************************************************************************
 * 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{
/*display:-moz-inline-box; /* issue 133, 165, 172, 192. removed for issue 221*/
/*-moz-box-align:start; /* issue 221 */
display:inline-block; /* issue 373 Required to make a span sizeable */
vertical-align:top;
overflow-wrap:break-word;
word-wrap:break-word;
}


/* Remove blue color and underline from title links */
ul.dynatree-container a
color:black; /* inherit doesn't work on IE */
text-decoration:none;
vertical-align:top;
margin:0px;
margin-left:3px;
}

ul.dynatree-container a:hover{
color:rgba(0,141,141,1);
border:none;
}

span.dynatree-node a{
display:inline-block; /* Better alignment, when title contains <br> */
padding-left:3px;
padding-right:3px; /* Otherwise italic font will be outside bounds */
}
span.dynatree-folder a{
font-weight:normal;
}

ul.dynatree-container a:focus,
span.dynatree-focused a:link{
color:#008D8D;
font-weight:bold;
outline:none;
}

span.dynatree-has-children a{
}

span.dynatree-expanded a{
}

span.dynatree-selected a{
color:#008D8D;
font-style:italic;
}

span.dynatree-active a{
color:#008D8D;
}
