/*
 * 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 img{
 	border : none;
}
 

ul.tree, ul.tree ul {
	padding-left: 0;
}

ul.tree li.closed ul 
{
	display: none;
}


ul.tree li {
	list-style: none;
/*	background: url(/img/viewer/bookmarks/i-repeater.gif) 0 0 repeat-y;
*/	display: block;
	width: 100%;
	/* background-color:#FFFFFF; */
}

ul.tree li.last {
	list-style: none;
	background-image: none;
	/* background: url(/img/viewer/bookmarks/l.gif) 0 50% no-repeat; */
}

/* Span-A: I/L/I glpyhs */
ul.tree span.a {
/*	background: url(/img/viewer/bookmarks/t.gif);
*/	background-repeat: no-repeat;
	background-position: left top;
	display: block;
}
ul.tree span.a.last {
	background-repeat: no-repeat;
	background-position: left -10px;
/*	background-image: url(/img/viewer/bookmarks/l.gif);
*/}

/* Span-B: Plus/Minus icon */
ul.tree span.a.children span.b {
/*	background: url(/img/viewer/bookmarks/minus.gif) 0 90% no-repeat;
*/	cursor: pointer;
}
ul.tree li.closed span.a.children span.b {
/*	background: url(/img/viewer/bookmarks/plus.gif) 0 90% no-repeat;
*/	cursor: pointer;
}

/* Span-C: Spacing and extending tree line below the icon 
ul.tree span.c {
	margin-left: 17px;
}*/
ul.tree span.a.children span.c {
/*	background: url(/img/viewer/bookmarks/i-bottom.gif) 0 50% no-repeat;
*/}
ul.tree span.a.spanClosed span.c {
	background-image: none;
}

ul.tree li.bookmark_cert span.c a {
	background: url(/img/viewer/bookmarks/page-cert.png);
	background-repeat: no-repeat;
	background-position: left 2px;
}

ul.tree li.bookmark_cert span.c.selected a {
	background: url(/img/viewer/bookmarks/page-cert-active.png);
	background-repeat: no-repeat;
	background-position: left 2px;
}

ul.tree li.bookmark_test span.c a {
	background: url(/img/viewer/bookmarks/page-test.png);
	background-repeat: no-repeat;
	background-position: left 2px;
}

ul.tree li.bookmark_test span.c.selected a {
	background: url(/img/viewer/bookmarks/page-test-active.png);
	background-repeat: no-repeat;
	background-position: left 2px;
}

ul.tree li.bookmark_document span.a.children a {
	background-image: url(/img/viewer/bookmarks/page-openfoldericon.png);
	font-weight:bold;
	background-repeat: no-repeat;
	background-position: left 1px;
}
ul.tree li.bookmark_document span.a.children span.c.selected a {
	background-image: url(/img/viewer/bookmarks/page-openfoldericon-active.png);
	background-repeat: no-repeat;
	background-position: left 1px;
}
ul.tree li.bookmark_document span.a.spanClosed.children a {
	background-image: url(/img/viewer/bookmarks/page-foldericon.png);
	background-repeat: no-repeat;
	background-position: left 1px;
}
ul.tree li.bookmark_document span.a.spanClosed.children span.c.selected a {
	background-image: url(/img/viewer/bookmarks/page-foldericon-active.png);
	background-repeat: no-repeat;
	background-position: left 1px;
}

ul.tree li.bookmark_document_leaf span.c a {
	background-repeat: no-repeat;
	background-position: 4px 2px;
	background-image: url(/img/viewer/bookmarks/page-file.png);
}

ul.tree li.bookmark_document_leaf span.c.selected a {
	background: url(/img/viewer/bookmarks/page-file-active.png);
	background-repeat: no-repeat;
	background-position: 4px 2px;	
}


ul.tree li.bookmark_document_empty span.c a {
	background-repeat: no-repeat;
	background-position: 4px 2px;
	background-image: url(/img/viewer/bookmarks/page-file.png);
	display: inline;
	padding-top: 3px;
	padding-bottom: 5px;
}
ul.tree li.bookmark_document_empty span.c.selected a {
	background: url(/img/viewer/bookmarks/page-file-active.png);
	background-repeat: no-repeat;
	background-position: 4px 2px;
	padding-top: 3px;
	padding-bottom: 5px;
}



span.page
{
	float: right;
	overflow: hidden;
	line-height: 16px;
	white-space: nowrap;
}

/* Unformatted tree */
ul.tree.unformatted li {
	background-image: none;
	padding-left: 17px;
}
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;
	min-height: auto;
	height: auto;
}

ul.tree li A:link, ul.tree li A:visited {
	color : #111111;
	text-decoration:none;
}
ul.tree li A:hover {
	color : #111111;
	text-decoration: underline;
}


/*
 * bookmark main div
 */

#bookmark_main_div
{
	width:100%;
	overflow-x: hidden;
	overflow-y: hidden;
}

ul.tree li.bookmark_folder span.a.children a {
	background-image: url(/img/viewer/bookmarks/page-openfoldericon2.png);
	font-weight:bold;
	background-repeat: no-repeat;
	background-position: left 1px;
	display:inline;
}
ul.tree li.bookmark_folder span.a.children span.c.selected a {
	background-image: url(/img/viewer/bookmarks/page-openfoldericon2.png);
	background-repeat: no-repeat;
	background-position: left 1px;
	display:inline;
}
ul.tree li.bookmark_folder span.a.spanClosed.children a {
	background-image: url(/img/viewer/bookmarks/page-foldericon2.png);
	background-repeat: no-repeat;
	background-position: left 1px;
	display:inline;
}
ul.tree li.bookmark_folder span.a.spanClosed.children span.c.selected a {
	background-image: url(/img/viewer/bookmarks/page-foldericon2.png);
	background-repeat: no-repeat;
	background-position: left 1px;
	display:inline;
}









ul.tree li.bookmark_document_empty span.a.children a {
	background-image: url(/img/viewer/bookmarks/page-openfoldericon2.png);
	font-weight:bold;
	background-repeat: no-repeat;
	background-position: left 1px;
	position:relative;
	padding-top: 3px;
	padding-bottom: 7px;
}
ul.tree li.bookmark_document_empty span.a.children span.c.selected a {
	background-image: url(/img/viewer/bookmarks/page-openfoldericon2.png);
	background-repeat: no-repeat;
	background-position: left 1px;
	position:relative;
	padding-top: 3px;
	padding-bottom: 7px;
}
ul.tree li.bookmark_document_empty span.a.spanClosed.children a {
	background-image: url(/img/viewer/bookmarks/page-foldericon2.png);
	background-repeat: no-repeat;
	background-position: left 1px;
	position:relative;
	padding-top: 3px;
	padding-bottom: 7px;
}
ul.tree li.bookmark_document_empty span.a.spanClosed.children span.c.selected a {
	background-image: url(/img/viewer/bookmarks/page-foldericon2.png);
	background-repeat: no-repeat;
	background-position: left 1px;
	position:relative;
	padding-top: 3px;
	padding-bottom: 7px;
}



ul.tree li.bookmark_document_empty span.a.children a {
	background-image: url(/img/viewer/bookmarks/page-openfoldericon.png);
	font-weight:bold;
	background-repeat: no-repeat;
	background-position: left 1px;
	position:relative;
	padding-top: 3px;
	padding-bottom: 7px;
}
ul.tree li.bookmark_document_empty span.a.children span.c.selected a {
	background-image: url(/img/viewer/bookmarks/page-openfoldericon-active.png);
	background-repeat: no-repeat;
	background-position: left 1px;
	position:relative;
	padding-top: 3px;
	padding-bottom: 7px;
}
ul.tree li.bookmark_document_empty span.a.spanClosed.children a {
	background-image: url(/img/viewer/bookmarks/page-foldericon.png);
	background-repeat: no-repeat;
	background-position: left 1px;
	position:relative;
	padding-top: 3px;
	padding-bottom: 7px;
}
ul.tree li.bookmark_document_empty span.a.spanClosed.children span.c.selected a {
	background-image: url(/img/viewer/bookmarks/page-foldericon-active.png);
	background-repeat: no-repeat;
	background-position: left 1px;
	position:relative;
	padding-top: 3px;
	padding-bottom: 7px;
}

ul.tree li.bookmark_document_empty span.a.children a.bookmark_document_move, ul.tree li.bookmark_document_empty span.a.children span.c.selected a.bookmark_document_move, ul.tree li.bookmark_document_empty span.a.spanClosed.children a.bookmark_document_move, ul.tree li.bookmark_document_empty span.a.spanClosed.children span.c.selected a.bookmark_document_move,ul.tree li.bookmark_document_empty span.a.children a.bookmark_document_move, ul.tree li.bookmark_document_empty span.a.children span.c.selected a.bookmark_document_move, ul.tree li.bookmark_document_empty span.a.spanClosed.children a.bookmark_document_move, ul.tree li.bookmark_document_empty span.a.spanClosed.children span.c.selected a.bookmark_document_move, ul.tree li.bookmark_document_empty span.c a.bookmark_document_move, ul.tree li.bookmark_folder span.a.spanClosed.children span.c.selected a.bookmark_document_move, ul.tree li.bookmark_folder span.a.children span.c.selected a.bookmark_document_move, ul.tree li.bookmark_folder span.a.children a.bookmark_document_move, ul.tree li.bookmark_folder span.a.spanClosed.children a.bookmark_document_move {
	display: inline;
	margin-top:0px;
	margin-left:5px;
	cursor: pointer;
	background-image: url(/img/spacer.gif);
	background-repeat: repeat;
	background-position: left top;
	padding-left: 1px !important;
	font-weight: bold;
	color: #349400;
	text-decoration: underline;
}
