/*
 * 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-left : 0;
	margin-left : 0;
}

ul.tree .selected{
    border:1px solid green;
    border-radius:5px;
    background-color: rgba(0,255,0,0.2);
    padding:1px 2px;
}
/*ul.tree .selected:after{
    color:green;
    padding-left:0.5em;
    content:"\221a";
}*/

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(i-repeater.gif) 0 0 repeat-y; 
	display: block;
	width: auto;
	margin:.5em 0 ;
	line-height:1.5em;
	/* background-color:#FFFFFF; */
}

ul.tree li.last {
	list-style: none;
	background-image: none;
}

/* Span-A: I/L/I glpyhs */
ul.tree span.a {
    margin-top: -6px;
	background: url(t.gif) 0 50% no-repeat;
	display: block;	
}

/*ul.tree span.a:visited, ul.tree span.a:active, ul.tree span.a:focus {
	background-color:yellow;
}*/

ul.tree span.a.last {
	background: url(l.gif) 0 50% no-repeat;
}

/* Span-B: Plus/Minus icon */
/*ul.tree span.b {
}*/
ul.tree span.a.children span.b {
	background: url(minus.gif) 0 50% no-repeat;
	cursor: pointer;
}
ul.tree li.closed span.a.children span.b {
	background: url(plus.gif) 0 50% no-repeat;
	cursor: pointer;
}

/* Span-C: Spacing and extending tree line below the icon */
ul.tree span.c {
	display:inline-block;
	margin-left: 16px;
    /*cursor: pointer;*/
}
/*ul.tree li:not(.children) span.c {
	border-left:1px solid #DFDFDF;
	border-bottom:1px solid #DFDFDF;
	margin-bottom:2px;
	padding-left:2px;
	/*color:gray;*/
	/*padding:2px .5em;
	border-radius:4px;
}*/
ul.tree span.a.children span.c {
	background: url(i-bottom.gif) 0 50% no-repeat; 
    /*cursor: pointer;*/
}
ul.tree span.a.spanClosed span.c {
	background-image: none;
}

/* Anchor tag: Page icon */
ul.tree .tree_icon {
	/*white-space: nowrap;*/
	overflow: hidden;
	padding: 0 0 0 18px;
	/*line-height: 16px;*/
	background: url(page-file.png) 0 50% no-repeat;
}


ul.tree span.a.children .tree_icon,
ul.tree span.a.children.spanClosed .tree_icon:hover {
	background-image: url(page-openfoldericon.png);
}

ul.tree span.a.children.spanClosed .tree_icon,
ul.tree span.a.children .tree_icon:hover {
	background-image: url(page-foldericon.png);
}
ul.tree span.a.children .tree_icon:hover {
	text-decoration: underline;
}

/* Unformatted tree */
ul.tree.unformatted li {
	background-image: none;
	padding-left: 16px;
}
ul.tree.unformatted li li {
	background-image: none;
	padding-left: 0px;
}

/*
 * 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;
	height: auto;
}*/

/*ul.tree li a:link, ul.tree li a:hover, ul.tree li a:visited {
	color : #111;
}*/

ul.tree li .over{
	background-color : pink;
}
