body
{
	font-family: Arial, Georgia, "Hoefler Text", Times, "Times New Roman", Serif;
	line-height: 1.4;
	font-size: 1.0em;
	color: #222;
	padding: 1em;
	margin: 0 10%;
}

h1
{
	text-align: center;
	margin-bottom: 1em;
}

h1.subtitle
{
	font-size: 1.3em;
}

h1, h2, h3, h4, h5, h6
{
	page-break-after: avoid;
	page-break-inside: avoid;
}

h2
{
	page-break-before: always;
}

a
{
	font-size: 1em;
	text-decoration: none;
}
	  
a:link
{
	color: #d72b27;
}

a:visited
{
	color:#981e1c;
}

a:hover
{
	color: #d72b27;
	text-decoration: underline;
}

/*
## Lists
*/
ul,ol
{
}

/*
## Misc Other
*/
code, pre
{
	font-family: "Bitstream Vera Sans Mono", monaco, "Courier New", courier, monospace;
	font-size: 1em;
	background: inherit;
	color: #333;
}

q
{
	quotes: '"' '"' "'" "'";
}

q code, q samp, q kbd
{
	font-style: normal;
}

blockquote
{
	background: #eee;
	margin: 1.5em 2em;
	padding: 0px 20px;
	border: 1px dotted #d72b27;
}

sup
{
	font-size: 0.65em;
}

table
{
	font-size: 1em;
	/* centre the table in the page */
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 5px;
	
	border-collapse: separate;
	border-spacing: 2px;
	border: outset 2px;

	page-break-inside: avoid;
}

table td
{
	vertical-align: top;
	text-align: left;
	border: inset 2px;
	padding: 5px;
}

table th
{
	text-align: center;
	background-color: #d2d2d2;
	padding: 5px;
}

table.data td
{
	vertical-align: middle;
	text-align: center;
}

table caption
{
	text-align: center;
	caption-side: bottom;
	width: 100%;
	margin-bottom: 10px;
	border: none;
	font-weight: bold;
}

/*
 * Images
 */

img
{
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1em;
  padding-bottom: 1em;
}

/*
 * Mathematics ....
 */

p.eqn
{
	margin-left: 2em;
}  
