body
{
	font-family: Arial, Georgia, "Hoefler Text", Times, "Times New Roman", Serif;
	line-height: 1.4;
	font-size: 11pt;
	color: #222;
	padding: 1em;
	margin: 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: #222;
}

a:visited
{
	color:#222;
}

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

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

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

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

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

blockquote
{
	margin: 2em;
	padding: 0px 20px;
	border: 1px solid #222;
}

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: collapse;
	border-spacing: 2px;
	border: solid 4px;

	page-break-inside: avoid;
}

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

table th
{
	text-align: center;
	padding: 5px;
	border: solid 4px;
}

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;
}

.pagebreakafter
{
	page-break-after: always;
}

.pagebreakbefore
{
	page-break-before: always;
}

/*
 * Images
  */

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

/*
 * Mathematics ....
 */

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

