/*
 *  Copyright 2010 Anyware Services
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
 
.filetree, .filetree ul { 
	padding: 0;
	margin: 0;
	list-style: none;
}

.treeview .hitarea {
	background: url(/plugins/web/resources/img/service/tree/treeview-default.gif) -64px -25px no-repeat;
	height: 16px;
	width: 16px;
	margin-left: -16px;
	float: left;
	cursor: pointer;
}

/* fix for IE6 */
* html .hitarea {
	display: inline;
	float:none;
}

.treeview li { 
	margin: 0;
	padding: 3px 0pt 3px 16px;
}

.treeview a.selected {
	background-color: #eee;
}

#treecontrol { margin: 1em 0; display: none; }

.treeview .hover {cursor: pointer; }

.treeview button { border-style: none; }
.treeview button span { position: absolute; top: -1000px; left: -1000px; }

.treeview li { background: url('/plugins/web/resources/img/service/tree/treeview-default-line.gif') 0 0 no-repeat; }
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }

.treeview .expandable-hitarea { background-position: -80px -3px; }

.treeview li.last { background-position: 0 -1766px; }
.treeview li.lastCollapsable,
.treeview li.lastExpandable {
	background-image: url('/plugins/web/resources/img/service/tree/treeview-default.gif');
}  
.treeview li.lastCollapsable { background-position: 0 -111px; }
.treeview li.lastExpandable { background-position: -32px -67px; }

.treeview div.lastCollapsable-hitarea,
.treeview div.lastExpandable-hitarea {
	background-position: 0;
}

.filetree li {
	padding: 3px 0 2px 16px;
	list-style-type: none;
}
.filetree .folder {
	padding: 1px 0 1px 19px;
	display: block;
}
.filetree .folder {
	background: url('/plugins/web/resources/img/service/tree/folder_yellow_open.png') 0 2px no-repeat;
}
.filetree li.expandable .folder {
	background: url('/plugins/web/resources/img/service/tree/folder_yellow.png') 0 2px no-repeat;
}

.filetree .file a {
}

.filetree .file img.icon{
	float: left;
	margin-right: 10px;
}

.filetree .file .size {
	font-style: italic;
}