/*

Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0

CSS for menu-styled tree, as see on: http://developer.yahoo.com/yui/examples/treeview/menu_style_clean.html

To use this as "skin" for a YUI tree add the "menu-style-tree" CSS class on the container of the YUI tree.

*/

/* first or middle sibling, no children */
.menu-style-tree .ygtvtn {
	width: 1em;
	height: 20px;
	background: none
}

/* first or middle sibling, collapsable */
.menu-style-tree .ygtvtm {
	width: 1em;
	height: 20px;
	cursor: pointer;
	background: url(sprite-menu-style-tree.gif) -8px 2px no-repeat;
}

/* first or middle sibling, collapsable, hover */
.menu-style-tree .ygtvtmh {
	width: 1em;
	height: 20px;
	cursor: pointer;
	background: url(sprite-menu-style-tree.gif) -8px -77px no-repeat;
}

/* first or middle sibling, expandable */
.menu-style-tree .ygtvtp {
	width: 1em;
	height: 20px;
	cursor: pointer;
	background: url(sprite-menu-style-tree.gif) -8px -315px no-repeat;
}

/* first or middle sibling, expandable, hover */
.menu-style-tree .ygtvtph {
	width: 1em;
	height: 20px;
	cursor: pointer;
	background: url(sprite-menu-style-tree.gif) -8px -395px no-repeat;
}

/* last sibling, no children */
.menu-style-tree .ygtvln {
	width: 1em;
	height: 20px;
	background: none
}

/* Last sibling, collapsable */
.menu-style-tree .ygtvlm {
	width: 1em;
	height: 20px;
	cursor: pointer;
	background: url(sprite-menu-style-tree.gif) -8px 2px no-repeat;
}

/* Last sibling, collapsable, hover */
.menu-style-tree .ygtvlmh {
	width: 1em;
	height: 20px;
	cursor: pointer;
	background: url(sprite-menu-style-tree.gif) -8px -77px no-repeat;
}

/* Last sibling, expandable */
.menu-style-tree .ygtvlp {
	width: 1em;
	height: 20px;
	cursor: pointer;
	background: url(sprite-menu-style-tree.gif) -8px -315px no-repeat;
}

/* Last sibling, expandable, hover */
.menu-style-tree .ygtvlph {
	width: 1em;
	height: 20px;
	cursor: pointer;
	background: url(sprite-menu-style-tree.gif) -8px -395px no-repeat;
}

/* Loading icon */
.menu-style-tree .ygtvloading {
	width: 1em;
	height: 20px;
	background: url(treeview-loading.gif) 0 0 no-repeat;
}

/* the style for the empty cells that are used for rendering the depth

 * of the node */
.menu-style-tree .ygtvdepthcell {
	width: 1em;
	height: 20px;
	background: none
}

.menu-style-tree .ygtvblankdepthcell {
	width: 1em;
	height: 20px;
}

/* the style of the div around each node */
.menu-style-tree .ygtvitem {
	border: 0px solid grey;
}

/* the style of the div around each node's collection of children */
.menu-style-tree .ygtvchildren {

}

* html .menu-style-tree .ygtvchildren {
	height: 2%;
}

.menu-style-tree .ygtvitem  table {
	margin-bottom: 0;
}

.menu-style-tree .ygtvitem  td {
	border: none;
	padding: 0;
}

/* the style of the text label in ygTextNode */
.menu-style-tree .ygtvlabel, .menu-style-tree .ygtvlabel:link, .menu-style-tree .ygtvlabel:visited,.menu-style-tree .ygtvlabel:hover {
	margin-left: 2px;
	text-decoration: none;
	background-color: white; /* workaround for IE font smoothing bug */
}

.menu-style-tree .ygtvspacer {
	height: 20px;
	width: 12px;
	width: 1em;
}