/*	Metamage styles
	===============  */


/*	Google cache banner hack
	------------------------  */

/*
	Google's cache banner contains code such as <table [...] width=100%> (which
	I will not dignify with the term 'markup') that combined with our
	stylesheets causes horizontal scrolling.  Here we defeat that.
	
	Since we never use presentational markup like <table>'s width attribute,
	we use that to signal the override.
*/

table[width]
{
	/* Override the width of Google's tables to avoid horizontal scrolling */
	width: auto ! important;
}

/*	Basic defaults
	--------------  */

body.unscripted .scripting-only
{
	/*
		We can't just write .scripting-only { display: default; } in
		scripting-only.css because there is no such thing.
	*/
	
	display: none;
}

body.scripted .no-script
{
	display: none;
}

div
{
	/* Harmless restatement of sensible defaults, for senseless browsers */
	margin: 0px;
	padding: 0px;
}

/*
	Hyperlinked images, aka 'buttons'
	
	Some browsers default to providing images contained within a hyperlink a
	blue border, which is meant to match (loosely speaking) the corresponding
	treatment of text (to wit, blue with underline).
	
	A 1px blue border isn't so bad, but some browsers make it thicker, which is
	just ugly.  We can do better.
	
	Our 'button' images get a gray border padded out 1px (which turns black on
	mouse-over) and a very light gray background.  Great for distinguishing a
	real 'button' from just plain decoration; guaranteed to break the ice at
	parties.
*/

a img
{
	border: solid 1px gray;
	padding: 1px;
	background-color: #ddd;
	color: inherit;
}

a:hover img
{
	border-color: black;
}


h1, h2, h3, h4, h5, h6, label
{
	font-family: Arial, Verdana, Helvetica, sans-serif;
}

h5,
h6
{
	display: inline;
}

/*	Sea of silver
	-------------  */

body
{
	width: 864px;
	max-width: 100%;
	margin: 0 auto;
	color: inherit;
	background-color: #ddd;
}

body > *
{
	color: inherit;
	background-color:#fff;
	
	border:1px solid #000;
	
	margin: 10px;
	padding: 0px 10px;
}

body > * > *
{
	margin: 10px 0px;
}

body > hr
{
	display: none;
}

#header > *,
#footer > *
{
	margin: 5px 0px;
}

#header h1,
.site-title
{
	font-size: 20px;
}

#header h2,
.site-slogan
{
	font-size: 14px;
	font-weight: normal;
	font-style: italic;
}

.site-logo
{
	float: left;
}

.badges
{
	float: right;
}

.nav-links
{
	clear: left;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: smaller;
}

.page-title
{
	font-size: 24px;
}

span.path-links
{
	border: 1px solid gray;
	padding: 2px;
	color: inherit;
	background-color: #eee;
	
	font-size: smaller;
	font-family: sans-serif;
	/*font-family: monospace;*/
}

.path-links span,
.path-links span a,
.path-links span:hover > .cold-spot:hover
{
	color: gray;
	background-color: #eee;
}

.path-links span:hover,
.path-links span:hover > a,
.path-links span:hover > .cold-spot
{
	color: black;
	background-color: #eee;
}

.path-links span:active,
.path-links span:active > a,
.path-links span:active > .cold-spot
{
	color: red;
	background-color: #eee;
}

.decorative-icon
{
	float: left;
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 0px;
	margin-right: 10px;
}

#footer
{
	text-align: center;
}

/*	Code blocks
	-----------  */

pre
{
	margin: 1em 0em;
	
	padding: 0.75em;
	
	border: 1px solid #ccc;
	
	color: inherit;
	background-color: #f8f8f8;
	
	line-height: 150%;
}

/*	Parenthetical comments
	----------------------  */

.comment
{
	color: gray;
	background-color: inherit;
}

