/* Stylesheet for email/news document */
/* Copyright 2000-2002 Opera Software */

/* Headers */

mime
{
	display:		block;
	background:		Window;
}

headers
{
	display:		table;
	width:		100%;
	border-spacing:	0;
	background:		ThreeDFace; 
	border-left:	1px solid ThreeDHighlight;
	border-top:		1px solid ThreeDHighlight;
	border-right:	1px solid ThreeDShadow;
	border-bottom:	1px solid ThreeDShadow;
	padding:		4px 4px 4px 4px;
	font:			status-bar;
	color:		ButtonText;
}

hdr {display:none;} /* Don't display any headers but the named ones:  */
hdr[name="Date"]{display:table-row;}
hdr[name="From"]{display:table-row;}
hdr[name="To"]{display:table-row;}
hdr[name="Cc"]{display:table-row;}
hdr[name="Bcc"]{display:table-row;}
hdr[name="Subject"]{display:table-row;}
hdr[name="Organization"]{display:table-row;}

showheaders
{
	padding:		5px 7px 5px 7px;
	float:		right;
	use-link-source:	current; set-link-source: attr(href); text-decoration:underline; color: blue;
	font:			status-bar; 
}

hdricon {replace: attr(src); width:8px; height:8px; margin:0px 4px}

/* Header name */
n
{
	display:		table-cell;
	width:		8em;
	padding-left: 	4px;
	font-weight:	bold;
	vertical-align:	top;
}

n:after {content: ": ";}

/* Header value */
v
{
	vertical-align:	top;
	display: table-cell;  padding-left: 4px; background: ThreeDFace;
}


/* The "real"  (body) part */

body, div
{
	display:			block;
	background-color:		Window;
}    

div.plaintext
{
	padding:		0 8px;
}

l
{
	display:		block;
	padding:		0;
	margin:		0;
}

p
{
	display:		block;
	white-space:	-pre-wrap;
	padding:		0;
	margin:		1em 0;
	font-family:	Courier New, monospace;
	font-size:	9pt;
}


/* Attachments */

attach
{
	display:		block;
	margin:		4px;
}

caption
{
	display: none; background: Window; padding: 3px; margin: 0 8px;
}

@media screen, projection
{
	item
	{
		display:		block;
		float:		left;
		use-link-source:	current;
		set-link-source:	attr(href);
		width:		13em;
		height:		2em;
	}

	icon
	{
		display: inline;
		replace: attr(src);
		vertical-align:middle;
	}

	filename
	{
		display:		inline;
		color:		blue;
		text-decoration:	underline;
		vertical-align:	middle;
		font:			status-bar; 
	}
}

/* Rules for how email messages should be printed out  */

@media print
{
	showheaders, hdricon {display:none}
	headers{border: 1pt solid black; }
	
	caption
	{
		display: block; border-top: 0.5pt solid; margin: 1em 0 0; padding: 0.3em 0;
	}

	item, filename
	{
		display:inline; margin:0; padding:0;
	}

	filename:before
	{
		content: "  " counter(attachment) ". "; counter-increment: attachment;
	}

	icon
	{
		display: none;
	}
}