/*
TREE VIEW
*/

.treeview {
	font-family:"Courier New", Courier, Monospace;
	text-shadow: rgba(0, 0, 0, 0.1) 1px 1px 0px;
	white-space:pre;
	overflow:auto;
	color:black;
	padding:10px;
	margin:20px 0;

	background: rgba(255,255,255,0.5);
	border:solid 1px rgb(100,87,28);
	box-shadow: inset 0px 0px 64px 0px rgba(72,68,66,1);
}

.treeview li {
	cursor:default;
	position:relative;
	list-style-type: none;
	padding-left:17px;
	min-height:18px;
	line-height:18px;
}

.treeview .nestcollapse > li {
	display: none;
}

.treeview .treetoggle {
	cursor:pointer;
	position:absolute;
	top:0px;
	left:-1px;
	height:17px;
	width:17px;
	content:" ";
	background: url(treeview-button-minus.png) no-repeat;
}

.treeview .nestcollapse > .treetoggle {
	background-image: url(treeview-button-plus.png);
}


.treeview li:not(:last-child):before {
    pointer-events:none;
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
	content:" ";
	background: url(treeview-default.png) repeat-y;   		/*Line*/

}

.treeview li:not(:last-child) {
	background: url(treeview-node.png) no-repeat;       	/*Node*/
}

.treeview li:not(:first-child):last-child {
	background: url(treeview-lastnode.png) no-repeat; 		/*Last Node*/
}

/*
COLORS
*/

.treeview .nestcomment {
	color: rgb(0,96,0);
}

.treeview .nesttype {
	color: rgb(176,0,0);
}

.treeview .nestaddress {
	color: rgb(255,208,108);
}

.treeview .nestargument {
	color: blue;
}

.treeview .nestinput {
	height: 17px;
}

.treeview .nestinstruction {
	color: red;
}


/*
Testing: CSS Based Treeview buttons & dots.

.treeview .treetoggle {
	cursor:pointer;
	position:absolute;
	top:4px;
	left:3px;
	height:7px;
	width:7px;
	border:1px solid rgb(145,145,145);
	
	background: #f9fafa; /* Old browsers 
	/* IE9 SVG, needs conditional override of 'filter' to 'none' 
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y5ZmFmYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNGU0ZTQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #f9fafa 0%, #e4e4e4 100%); /* FF3.6+ 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9fafa), color-stop(100%,#e4e4e4)); /* Chrome,Safari4+ 
	background: -webkit-linear-gradient(top,  #f9fafa 0%,#e4e4e4 100%); /* Chrome10+,Safari5.1+ 
	background: -o-linear-gradient(top,  #f9fafa 0%,#e4e4e4 100%); /* Opera 11.10+ 
	background: -ms-linear-gradient(top,  #f9fafa 0%,#e4e4e4 100%); /* IE10+ 
	background: linear-gradient(to bottom,  #f9fafa 0%,#e4e4e4 100%); /* W3C 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9fafa', endColorstr='#e4e4e4',GradientType=0 ); /* IE6-8 
}

.treeview .treetoggle:before {
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
	content:" ";
	background: url(treeview-plus.png) no-repeat;
	background-position:center;
}

*/