table
{
	/* Single border for table/cells */
	border-collapse: collapse;
}

/* Set the page margins for screen & print */
@media screen
{
	body
	{
		margin:5px;
	}
}

@media print
{
	body
	{
		/* no point in having an additional margin for printing */
		margin:0px;
	}
}

/* Table Headings */
th
{
	/* Align left (otherwise defaults to centre) */
	text-align: left;
}

/* Size columns are best right aligned and with no wrapping */
th.Size, td.Size
{
	text-align: right;
	white-space:nowrap;
}

/* Table cell - align to top */
td
{
	vertical-align: top;
}

/* Table cell & heading padding */
td, th
{
	padding: 1pt 6pt 1pt 6pt;
}

/* A bit extra padding to the bottom of the heading cells */
th
{
	padding-bottom: 3pt;
}

/* Prevent page breaking on the DTotal rows
 * (few, if any, browsers support this)
 */
tr.Dtotal td.DName
{
	orphans: 3;
	widows: 3;
	page-break-inside: avoid;
}

/* If displaying an image for the shared indicator,
 * it will likely look best with no padding
 */
/*
td.Shared
{
	padding: 0;
}
*/

/* Display the table heading on each page */
thead
{
	display: table-header-group;
}

/* Prevent any white space in the time formats from causing
 * those elements to wrap
 */
.ATime,
.MTime,
.CTime
{
	white-space:nowrap;
}

/* Set the default font/size for the page & table */
body,table
{
	font-family:  verdana,geneva,arial,helvetica,sans-serif;
	font-size: 8pt;
}

/* The hexadecimal hash values may look better in a fixed pitch font */
td.Crc,td.MD5,td.SHA1
{
	font-family: monospace;
}

/* Set default text colouring & emphasis */

/* Directory total row, Size cell */
tr.Dtotal td.Size
{
	font-weight:bold;
}

/* Directory item row, DName cell */
tr.Ditem td.DName
{
	font-weight:bold;
}

/* High sized row, Size column */
tr.Hi td.Size
{
	/* Emphasise over limit size by colouring & bold */
	color:red;
	font-weight:bold;
}

/* Un-expanded row, Display Name column */
tr.NotExp td.DName
{
	/* Show text as strike-through to indicate contents aren't displayed */
	text-decoration: line-through;
}
