/*
 * Default CSS for tree-view
 */
ul.tree{
	width: auto;
	padding-left : 0px;
	margin-left : 0px;
}

ul.tree img{
 	border : none;
}
 

ul.tree, ul.tree ul {
	padding-left: 0;
}

ul.tree ul {
	margin-left: 16px;
		
}
ul.tree li.closed ul {
	display: none;
}


ul.tree li {
	list-style: none;
	background: url(images/i-repeater.gif) 0 0 repeat-y;
	display: block;
	width: auto;
	/* background-color:#FFFFFF; */
}



ul.tree li.last {
	list-style: none;
	background-image: none;
}



/* Span-A: I/L/I glpyhs */
ul.tree span.a {
	background: url(images/t.gif) 0 50% no-repeat;
	display: block;
}
ul.tree .a.last {
	background: url(images/l.gif) 0 50% no-repeat;
}

/* Span-B: Plus/Minus icon */
ul.tree span.b {
}
ul.tree span.a.children span.b {
	background: url(images/minus.gif) 0 50% no-repeat;
	cursor: pointer;
}
ul.tree li.closed span.a span.b, ul.tree span.a.unexpanded span.b {
	background: url(images/plus.gif) 0 50% no-repeat;
	cursor: pointer;
}

/* Span-C: Spacing and extending tree line below the icon */
ul.tree span.c {
	margin-left: 16px;
}
ul.tree span.a.children span.c, ul.tree span.a.spanClosed span.c {
	background: url(images/i-bottom.gif) 0 50% no-repeat;
}
ul.tree span.a.spanClosed span.c, ul.tree span.a.unexpanded span.c {
	background-image: none;
}


/* Anchor tag: Page icon */
ul.tree span.c {
	white-space: nowrap;
}
ul.tree a  {
	display: inline-block; /* IE needs this */
	white-space: nowrap;

	overflow: hidden;
	
	padding: 2px 0px 2px 18px;
	line-height: 16px;
	
	background: url(images/page-file.png) 0 50% no-repeat;
	text-decoration: none;	
	outline: none;
}

ul.tree a:hover {
	text-decoration: underline;
}

ul.tree span.a.children a {
	background-image: url(images/page-openfolder.png);
}
ul.tree span.a.spanClosed a, ul.tree span.a.unexpanded a {
	background-image: url(images/page-closedfolder.png);
}

/* Unformatted tree */
ul.tree.unformatted li {
	background-image: none;
	padding-left: 16px;
}
ul.tree.unformatted li li {
	background-image: none;
	padding-left: 0px;
}

/*

	Hover / Link tags

*/

ul.tree a:hover{

	text-decoration : none;

}



/*
 * Divs, by default store vertically aligned data
 */
/*
ul.tree div {
	float: right;
	clear: right;
	height: 1em;
	margin-top: -26px;
}
*/

/*
 * Divs, by default store vertically aligned data
 */

/* As inside DIVs should be treated normally */
ul.tree div a  {
	padding: 0;
	background-image: none;
	min-height: 0;
	height: auto;
}

ul.tree li A:link, ul.tree li A:hover, ul.tree li A:visited {
	color : #111111;
}

/*
 * Drag and drop styling
 */
ul.tree div.droppable {
	float: none;
	margin: -7px 0px -7px 16px;
	height: 10px;
	font-size: 1px;
	z-index: 1000;
}
html>body ul.tree div.droppable {
	margin: -5px 0px -5px 16px;
}

ul.tree div.droppable.dragOver {
	background: url(images/insertBetween.gif) left 50% no-repeat;
}	

ul.tree a.dragOver, ul.tree li.dragOver a, ul.tree li.dragOver li.dragOver a {
	border: 3px #0074C6 solid;
	margin: -3px;

 	-moz-border-radius-topleft: 6px;
  -moz-border-radius-topright: 6px;
  -moz-border-radius-bottomright: 6px;
  -moz-border-radius-bottomleft: 6px;
}
ul.tree li.dragOver li a {
	border-style: none;
	margin: 0;
}