.treeview, .treeview ul { 
	padding: 0;
	margin: 0;
	list-style: none;
	width: 100%;
	border: 0;
}

.treeview ul {
	background-color: white;
	margin-top: 4px;
}

.treeview .hitarea {
	background: url(/img/filemanager/treeview-default.gif) -64px -25px no-repeat;
	height: 32px;
	width: 16px;
	margin-left: -16px;
	float: left;
	cursor: pointer;
}
/* fix for IE6 */
* html .hitarea {
	display: inline;
	float:none;
}

.treeview li { 
	margin: 0;
	padding: 3px 0 3px 16px;
	line-height: auto;
}

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

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

.treeview .hover { color: red; cursor: pointer; }

.treeview li { background: url(/img/filemanager/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(/img/filemanager/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; }

.treeview-red li { background-image: url(/img/filemanager/treeview-red-line.gif); }
.treeview-red .hitarea, .treeview-red li.lastCollapsable, .treeview-red li.lastExpandable { background-image: url(/img/filemanager/treeview-red.gif); } 

.treeview-black li { background-image: url(/img/filemanager/treeview-black-line.gif); }
.treeview-black .hitarea, .treeview-black li.lastCollapsable, .treeview-black li.lastExpandable { background-image: url(/img/filemanager/treeview-black.gif); }  

.treeview-gray li { background-image: url(/img/filemanager/treeview-gray-line.gif); }
.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url(/img/filemanager/treeview-gray.gif); } 

.treeview-famfamfam li { background-image: url(/img/filemanager/treeview-famfamfam-line.gif); }
.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url(/img/filemanager/treeview-famfamfam.gif); } 


.treeview li { padding: 1px 0 1px 16px; border: 0px solid red;}

.treeview .folder, 
.filetree .file  { 
	padding: 0 0 0 20px;
}

.treeview span.folder {
	border: 0px solid red;
	margin:0;
	background: url(/img/filemanager/folder_open.png) no-repeat 0 0;
}

.treeview li.expandable span.folder { background: url(/img/filemanager/folder.png) no-repeat top left; }
.treeview .file { background: url(/img/filemanager/file.gif) 0 0 no-repeat; padding-left: 20px; border: 0;}


/*
.filetree li { padding: 3px 0 2px 16px; }
.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block;  }
.filetree span.folder { background: url(/img/filemanager/folder.gif) 0 0 no-repeat; }
.filetree li.expandable span.folder { background: url(/img/filemanager/folder-closed.gif) 0 0 no-repeat; }
.filetree span.file { background: url(/img/filemanager/page.png) 0 0 no-repeat; }
*/

.node_actions { border:0;}
.toggle_folder_add { width: 16px; height: 16px;}
.toggle_file_add { width: 16px; height: 16px;}

/* dimensioni fancybox */

.inline_file_add {
	width:500px;
	height:68px;
	overflow:auto;
}

.inline_folder_add {
	width:500px;
	height:125px;
	overflow:auto;
}

/* fix links href e hover*/
#content #main .treeview a,           
#content #main .treeview a:link,
#content #main .treeview a:visited   {color:#333; text-decoration: none;}

#content #main .treeview a:focus,
#content #main .treeview a:hover     { color: red; background: none;  text-decoration: none;}
#content #main .treeview a:active    { color: red; text-decoration: none; }

#content #main .treeview a img {border:0; text-decoration:none; background: none;}

#content #main .treeview a:hover img, 
#content #main .treeview a:focus img {border:0; text-decoration:none; background: none;}

#content #main .treeview a img:hover, 
#content #main .treeview a img:focus {border:0; text-decoration:none; background: none;}

#content #main .treeview img:focus, 
#content #main .treeview img:hover {background: none; text-decoration: none;}

#content #main .treeview a img:focus, 
#content #main .treeview a img:hover {background: none; text-decoration: none;} 


