/**
 * Filemanager Cascading Style Sheets definitions.
 *
 * Only alignments, overrides various classes for the filemanmain div
 *
 * b2evolution - {@link http://b2evolution.net/}
 * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
 * @copyright (c)2003-2005 by Francois PLANQUE - {@link http://fplanque.net/}
 *
 * @package admin
 */

#filemanmain {
	margin-bottom:1em;
}

#FilesForm div.panelinfo {
	margin:1ex 0;
}

.toolbaritem {
	margin:.5ex 0 .5ex 1ex;
	padding:.5ex;
	float:right;
	white-space:nowrap;
	background-color:#efede0; /* Temp color, needs overriding */
}


#fm_browser {
	clear: both;
	width: 100%;
	margin: 1ex auto;
}

#fm_bar {
	padding: .5ex;
	border-top: 1px solid #bbb;
	border-left: 1px solid #bbb;
	border-right: 1px solid #bbb;
	background-color: #ddd; /* Temp color, needs overriding */
}

#fmbar_cwd {
	display: inline;
}

#fmbar_filter,
#fmbar_reloadhint {
	display: inline;
	white-space: nowrap;
}
#fmbar_filecounts {
	display: inline;
	white-space: nowrap;
	margin-left:1ex;
	font-size: 84%;
}

#fm_dirtree {
	vertical-align: top;
	width: 15%;
	padding: .5ex;
	border: 1px solid #bbb;
}
#fm_files {
	vertical-align: top;
	padding: 0;
	border: 1px solid #bbb;
	background-color: #ddd;
}


/* Directory tree: */
.folder_in_tree {
	white-space:nowrap;
}

/**
 * Files table {{{
 */
table.filelist {
	border-collapse: collapse;
	width: 100%;
	border-bottom: 1px solid #bbb;
}
table.filelist tr {
	background-color: #eee;
}
table.filelist tr.odd {
	background-color: #ddd;
}
table.filelist tr:hover,
table.filelist tr.odd:hover {
	background-color:#ccc;
}
table.filelist td {
	border-left: 1px solid #bbb;
	padding: .3ex 1ex;
}
table.filelist input.checkbox {
	border:none;
	background-color: #eee;
}
table.filelist tr.odd input.checkbox {
	border:none;
	background-color: #ddd;
}


/* Table headers/footers: */
table.filelist th {
	padding: .3ex 1ex;
	border-bottom: 1px solid #bbb;
	border-left: 1px solid #bbb;
	background-color: #ddd;
}
table.filelist th img {
	vertical-align: bottom;
}

/* Table BASIC sort buttons/headers: */
table.filelist th a.basic_current,
table.filelist th a.basic_sort_link {
	padding: 0 1ex;
	display: block;
	height: 100%;
}
table.filelist th a.basic_current {
	background-color:#ccc;
}
table.filelist th a.basic_sort_link:hover {
	background-color:#ccc;
}

table.filelist td.error {
	padding:2ex;
	color:red;
}
table.filelist td.type {
	white-space:nowrap;
}
table.filelist td#fileman_error, /* used when an error (e.g. "no files") gets displayed */
table.filelist td.fm_filename {
	text-align: left;
	width:100%; /* the glory hack: makes the table as wide as it can be */
}
table.filelist td.fm_filename div.path {
	clear:right;
	float:right;
}
.filemeta /* meta data after filename */
{
	color: #999;
	font-size: 84%;
}
table.filelist td.size,
table.filelist td.actions {
	white-space: nowrap;
}
table.filelist td.size {
	text-align: right;
}
table.filelist td.perms {
	text-align: center;
}
table.filelist td.actions img {
	margin:0;
}
table.filelist tr.listfooter td {
	/* Temporary colors, needs overriding */
	border-top: 1px solid #bbb;
	background-color: #ddd;
}

/* }}} / Files table */



div.fm_query {
	padding-top: 2ex;
	border:1px solid;
}

div.img_frame {
	text-align:center;
	border:1px solid red;
}
div.subline {
	color:#777;
	font-size:75%;
}
img.framed {
	border:1px dashed #d91;
	padding:10px;
	margin:10px;
}
.linenr {
	background-color:#ff0;
	font-weight:bold;
}
div.fileheader,
div.eof
{	/* Use in RAW file preview */
	background:#ccc;
	padding:1ex;
	margin: 0;
}
pre.rawcontent {
	margin:0;
	padding:0 1ex;
	font-family: Courier New, sans-serif;
}

.filenameIcon {
	float:right;
	border:none;
	padding:0;
	margin:0;
	background:transparent;
}

em.filter {
	color:#f00;
}

.tooltitle {
	font-weight:bold;
	padding-left:1ex;
}
ul.iconlegend {
	list-style:none;
	margin:1ex;
	padding:0;
	display: inline;
}
ul.iconlegend li {
	display:inline;
	margin: 1ex;
	white-space:nowrap;
	/* margin-bottom:.5ex; */
}

ul#uploadfileinputs {
	list-style:none;
	margin:0;
	padding:0;
}
ul#uploadfileinputs li, /* Info block about a file to upload */
p.uploadfileinputs {    /* Link to add a new info block */
	background-color:#efede0; /* Temp color, needs overriding */
	margin:1ex 0;
	padding:1ex;
}
ul#uploadfileinputs li.invalid
{	/* Upload block displayed when upload has failed: */
	border:1px solid #f00;
}
ul#uploadfileinputs label {
	font-weight:bold;
}

div#FM_anchor {
	padding:2ex 0;
	text-align:center;
}

div.box_files_to_upload {
	float:left;
	width:60%;
}
div.box_upload_into {
	float: right;
	width: 38%;
}

div.panelblock fieldset.files_to_upload {
	padding: 1ex;
}
div.panelblock fieldset.upload_into {
}
div.panelblock fieldset.upload_submit,
div.panelblock fieldset.cmr_submit
{
	text-align:center;
	border:none;
}
