/* CSS style - Core Design Attachments plugin for Joomla! 1.5 */

/* Container bellow the article */
.attachments {
	float: right;
	clear: both;
	margin: .5em;
}

/* Button inside container - styled by jQuery UI, there is just style complementation */
.attachments button {
	cursor: pointer;
	line-height: 1.4em;
	margin: 0.5em 0.4em 0.5em 0;
	overflow: visible;
	padding: 0.2em 0.6em 0.3em;
	width: auto;
}

/* Attachments container */
#attachments {
	margin: 5px;
	padding: 10px 5px;
}

/* Loading text */
.ui-dialog .ui-dialog-buttonpane .attachments_loading {
	float: left;
	margin: 0;
	padding: 0;
	background: transparent url(../images/loading.gif) top left no-repeat;
	display: block;
	width: 31px;
	height: 31px;
}

/* Document cleaner */
#attachments .cleaner {
	clear: both;
   visibility: hidden;
}

/* File spacer */
#attachments .spacer {
	height: 10px;
	margin: 0;
	padding: 0;
	clear: both;
}

/* Document container */
#attachments .document {
	padding: 5px;
	margin: 0;
	border: 1px solid gray;
}

/* File title */
#attachments .document .title {
	font-weight: bold;
}

/* File icons */
#attachments .document .title .icons {
	width: 16px;
	height: 16px;
	float: left;
	margin: 0 8px 0 0;	
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 0 0;
}
#attachments .document .title .blank {	background-image: url(../images/fileicons/blank.png); }
#attachments .document .title .ai { background-image: url(../images/fileicons/ai.png); }
#attachments .document .title .aiff { background-image: url(../images/fileicons/aiff.png); }
#attachments .document .title .blank { background-image: url(../images/fileicons/blank.png); }
#attachments .document .title .bz2 { background-image: url(../images/fileicons/bz2.png); }
#attachments .document .title .c { background-image: url(../images/fileicons/c.png); }
#attachments .document .title .chm { background-image: url(../images/fileicons/chm.png); }
#attachments .document .title .conf { background-image: url(../images/fileicons/conf.png); }
#attachments .document .title .cpp { background-image: url(../images/fileicons/cpp.png); }
#attachments .document .title .css { background-image: url(../images/fileicons/css.png); }
#attachments .document .title .csv { background-image: url(../images/fileicons/csv.png); }
#attachments .document .title .deb { background-image: url(../images/fileicons/deb.png); }
#attachments .document .title .divx { background-image: url(../images/fileicons/divx.png); }
#attachments .document .title .doc { background-image: url(../images/fileicons/doc.png); }
#attachments .document .title .dot { background-image: url(../images/fileicons/dot.png); }
#attachments .document .title .eml { background-image: url(../images/fileicons/eml.png); }
#attachments .document .title .file { background-image: url(../images/fileicons/file.png); }
#attachments .document .title .gif { background-image: url(../images/fileicons/gif.png); }
#attachments .document .title .gz { background-image: url(../images/fileicons/gz.png); }
#attachments .document .title .hlp { background-image: url(../images/fileicons/hlp.png); }
#attachments .document .title .htm { background-image: url(../images/fileicons/htm.png); }
#attachments .document .title .html { background-image: url(../images/fileicons/html.png); }
#attachments .document .title .iso { background-image: url(../images/fileicons/iso.png); }
#attachments .document .title .jpeg { background-image: url(../images/fileicons/jpeg.png); }
#attachments .document .title .jpg { background-image: url(../images/fileicons/jpg.png); }
#attachments .document .title .js { background-image: url(../images/fileicons/js.png); }
#attachments .document .title .mm { background-image: url(../images/fileicons/mm.png); }
#attachments .document .title .mov { background-image: url(../images/fileicons/mov.png); }
#attachments .document .title .mp3 { background-image: url(../images/fileicons/mp3.png); }
#attachments .document .title .mpg { background-image: url(../images/fileicons/mpg.png); }
#attachments .document .title .odc { background-image: url(../images/fileicons/odc.png); }
#attachments .document .title .odf { background-image: url(../images/fileicons/odf.png); }
#attachments .document .title .odg { background-image: url(../images/fileicons/odg.png); }
#attachments .document .title .odi { background-image: url(../images/fileicons/odi.png); }
#attachments .document .title .odp { background-image: url(../images/fileicons/odp.png); }
#attachments .document .title .ods { background-image: url(../images/fileicons/ods.png); }
#attachments .document .title .odt { background-image: url(../images/fileicons/odt.png); }
#attachments .document .title .ogg { background-image: url(../images/fileicons/ogg.png); }
#attachments .document .title .pdf { background-image: url(../images/fileicons/pdf.png); }
#attachments .document .title .pgp { background-image: url(../images/fileicons/pgp.png); }
#attachments .document .title .php { background-image: url(../images/fileicons/php.png); }
#attachments .document .title .pl { background-image: url(../images/fileicons/pl.png); }
#attachments .document .title .png { background-image: url(../images/fileicons/png.png); }
#attachments .document .title .ppt { background-image: url(../images/fileicons/ppt.png); }
#attachments .document .title .ps { background-image: url(../images/fileicons/ps.png); }
#attachments .document .title .py { background-image: url(../images/fileicons/py.png); }
#attachments .document .title .ram { background-image: url(../images/fileicons/ram.png); }
#attachments .document .title .rar { background-image: url(../images/fileicons/rar.png); }
#attachments .document .title .rb { background-image: url(../images/fileicons/rb.png); }
#attachments .document .title .rm { background-image: url(../images/fileicons/rm.png); }
#attachments .document .title .rpm { background-image: url(../images/fileicons/rpm.png); }
#attachments .document .title .rtf { background-image: url(../images/fileicons/rtf.png); }
#attachments .document .title .sql { background-image: url(../images/fileicons/sql.png); }
#attachments .document .title .swf { background-image: url(../images/fileicons/swf.png); }
#attachments .document .title .sxc { background-image: url(../images/fileicons/sxc.png); }
#attachments .document .title .sxd { background-image: url(../images/fileicons/sxd.png); }
#attachments .document .title .sxi { background-image: url(../images/fileicons/sxi.png); }
#attachments .document .title .sxw { background-image: url(../images/fileicons/sxw.png); }
#attachments .document .title .tar { background-image: url(../images/fileicons/tar.png); }
#attachments .document .title .tex { background-image: url(../images/fileicons/tex.png); }
#attachments .document .title .tgz { background-image: url(../images/fileicons/tgz.png); }
#attachments .document .title .txt { background-image: url(../images/fileicons/txt.png); }
#attachments .document .title .vcf { background-image: url(../images/fileicons/vcf.png); }
#attachments .document .title .wav { background-image: url(../images/fileicons/wav.png); }
#attachments .document .title .wma { background-image: url(../images/fileicons/wma.png); }
#attachments .document .title .wmv { background-image: url(../images/fileicons/wmv.png); }
#attachments .document .title .xls { background-image: url(../images/fileicons/xls.png); }
#attachments .document .title .xml { background-image: url(../images/fileicons/xml.png); }
#attachments .document .title .xpi { background-image: url(../images/fileicons/xpi.png); }
#attachments .document .title .xvid { background-image: url(../images/fileicons/xvid.png); }
#attachments .document .title .zip { background-image: url(../images/fileicons/zip.png); }

/* File description */
#attachments .document .desc {
	margin: 3px 0 0 0;
	padding: 0;
}

/* File size */
#attachments .document .smallinfo, #attachments .document .uploadedinfo {
	color: gray;
	font-size: 80%;
	font-style: italic;
	font-weight: normal;
}

/* Uploaded information bellow */
#attachments .document .uploadedinfo {
	float: left;
}

/* File icons container */
#attachments .document .fileicons {
	margin: 5px 0 0 0;
	padding: 2px 0 0 0;
}

/* File icons default values */
#attachments .document .fileicons .fileiconlocked, #attachments .document .fileicons .fileiconinfo, #attachments .document .fileicons .fileicondelete, #attachments .document .fileicons .fileiconedit {
	width: 16px;
	height: 16px;
	float: right;
	margin: 0 0 0 3px;
	cursor: pointer;
}

/* Locked image */
#attachments .document .fileicons .fileiconlocked {
	background: transparent url(../images/icon_locked.png) top left no-repeat;
	cursor: auto;
}

/* File information image */
#attachments .document .fileicons .fileiconinfo {
	background: transparent url(../images/icon_info.png) top left no-repeat;
}

/* Delete image */
#attachments .document .fileicons .fileicondelete {
	background: transparent url(../images/icon_delete.png) top left no-repeat;
}

#attachments .document .fileicons .fileiconedit {
	background: transparent url(../images/icon_edit.png) top left no-repeat;
}

/* Download button */
#attachments .document .downloadbutton {
	float: right;
}

/* Download button */
#attachments button {
	cursor: pointer;
	line-height: 1.4em;
	margin: 0 0 5px 5px;
	overflow: visible;
	padding: 0.2em 0.6em 0.3em;
}

/* File information box */
#attachments .document .fileinformation {
	display: none;
}

/* Upload form */
#attachments .fileform form {
	width: 400px;
}

/* Form labels */
#attachments .fileform form label {
	display: block;
}

/* Form container */
#attachments .fileform form .cont {
	margin-bottom: 10px;
}

/* Form inputs */
#attachments form input, #attachments form select {
	width: 250px;
	border: 1px solid #dcdcdc;
	margin: 0;
	padding: 0;
}

/* File manager */
#attachments .filemanager {
	/* No style */
}

/* File manager - remove file container */
#attachments .filemanager .removefile {
	float: left;
	padding: 2px 5px 0 5px;
}

/* File manager - upload file container */
#attachments .filemanager .uploadfile {
	float: left;
	padding: 2px 5px 0 5px;
}