/* TREE LAYOUT */
.dm .dm_tree ul {
  margin:0 0 0 5px;
  padding:0 0 0 0;
  list-style-type:none;
}
.dm .dm_tree li {
  display:block;
  min-height:18px;
  line-height:18px;
  padding:0 0 0 15px;
  margin:0 0 0 0;

  /* Background fix */
  clear:both;
}
.dm .dm_tree li ul {
  display:none;
}
.dm .dm_tree li a,
.dm .dm_tree li span {
  /*
  vertical-align:bottom;
  display:-moz-inline-stack;
  */
  display:inline-block;
  line-height:16px;
  height:16px;
  color:black;
  white-space:nowrap;
  text-decoration:none;
  padding:0 4px 0 1px;
  margin:0;
}
.dm .dm_tree li a:hover, 
.dm .dm_tree li a.hover {

}
.dm .dm_tree li a.clicked,
.dm .dm_tree li a.clicked:hover,
.dm .dm_tree li span.clicked {

}
.dm .dm_tree li a:focus {
  outline: none;
}

.dm .dm_tree li a input,
.dm .dm_tree li span input {
  margin:0;
  padding:0 0;
  display:inline-block;
  height:12px !important;
  border:1px solid white;
  background:white;
  font-size:10px;
  font-family:Verdana;
}

.locked li a {
  color:gray;
}

/* FOR DOTS */
.dm .dm_tree li.last {
  float:left;
}

/* OPEN OR CLOSE */
.dm .dm_tree li.open ul {
  display:block;
}
.dm .dm_tree li.closed ul {
  display:none !important;
}

/* FOR DRAGGING */
.dm .dm_tree #dragged {
  padding:0 3px;
  margin:0;
  background:white;
  opacity: .85;

  position:absolute;
  top:-10px;
  left:-10px;
}
.dm .dm_tree #dragged.last,
.dm .dm_tree #dragged:last-child {
  background:white;
}
.dm .dm_tree #dragged ul ul {
  display:none;
}

/* RTL modification */
.rtl, .rtl * {
  direction:rtl;
}
.rtl ul {
  margin:0 5px 0 0;
}
.rtl li {
  padding:0 15px 0 0;
}
.rtl li.last {
  float:right !important;
}
.rtl li a,
.rtl li span {
  padding:1px 1px 1px 4px;
}

/* CONTEXT MENU */
.tree-default-context {
  display:none;
  position:absolute;
  list-style-type:none;
  margin:0;
  padding:0;
}
.tree-default-context .separator {
  display:none;
}
.tree-default-context a {
  display:block;
  margin:0;
  padding:0;
}

/** FIREFOX2 fix **/
.dm .dm_tree li a, x:-moz-any-link { display:inline; float:left; }
.rtl li a, x:-moz-any-link { display:inline; float:right; }
.dm .dm_tree li, .dm .dm_tree li ul, .dm .dm_tree li.open ul, x:-moz-any-link { clear:both; }
/** FIREFOX3 restore **/
.dm .dm_tree li a, .rtl li a, x:-moz-any-link, x:default { display:inline-block; float:none; }
.dm .dm_tree li ul, .dm .dm_tree li.open ul, x:-moz-any-link, x:default { clear:none; }
/** IE7 Restore **/

.dm .dm_tree > ul { float:left; margin-bottom:9px; }
.dm .dm_tree > ul > li.last { margin-bottom:-9px !important; height:9px; }
.dm .dm_tree li li { overflow:hidden; }
/* @-moz-document url-prefix() {} */