/* ---------------------------------------
   Atrium Biodiversity Information System
   Tree Menu Styles
--------------------------------------- */

/*
 CSS for Standard Tree Layout
 Copyright (C) 2005 SilverStripe Limited
 Feel free to use this on your websites, but please leave this message in the fies
 http://www.silverstripe.com/blog
*/

ul.tree {
	width: auto;
	padding: 0;
	margin: 0;
}

ul.tree img {
 	border: none;
}

ul.tree, ul.tree ul {
	margin: 0 !important;
	padding: 0 !important;
}

ul.tree li.closed ul {
	display: none;
}

ul.tree li {
	list-style: none;
	background-image: none !important;
	display: block;
	width: auto;
}

ul.tree li li {
	background: url(images/i-repeater.gif) 0 0 repeat-y !important;
	margin: 0 !important;
	padding: 3px 0 3px 16px !important;
}

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 span.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.children 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 {
	background: url(images/i-bottom.gif) 0 50% no-repeat;
}

ul.tree span.a.spanClosed span.c {
	background-image: none;
}

/* Anchor tag: Page icon */
ul.tree a.icon  {
	white-space: nowrap;
	overflow: hidden;
	position:relative;
	padding: 0 0 0 3px;
}

ul.tree a._noicon  {
	white-space: nowrap;
	overflow: hidden;
	position:relative;	
	padding: 0;
}

ul.tree a.noicon  {
	white-space: nowrap;
	overflow: hidden;
	position:relative;
	padding: 0;
}

ul.tree span.a.children a.icon {
	/*background-image: url(images/page-openfoldericon.png);*/
}
ul.tree span.a.children.spanClosed a.icon {
	/*background-image: url(images/page-foldericon.png); */
}

/* Unformatted tree */
ul.tree.unformatted li {
	background-image: none;
	padding-left: 16px;
}

ul.tree.unformatted li li {
	background-image: none;
	padding-left: 0;
}

/*
 * Divs, by default store vertically aligned data
 */

ul.tree li div {
	float: right;
	clear: right;
	height: 1em;
	margin-top: -26px;
}

/* As inside DIVs should be treated normally */
ul.tree div a  {
	padding: 0;
	background-image: none;
	min-height: auto;
	height: auto;
}
