/* First, lets turn off everything we don't need on a printed page */

div#masthead img {display: none;} /* All pages */ 

div#date {display: none;} /* All pages */

div#leftnav {display: none;} /* All pages */

div#rightcol {display: none;} /* All pages */

div#trnavsubmenu {display: none;} /* Used on Training Courses pages x 4 */
 
div#navsubmenu {display: none;} /* Used on Useful Resources pages x 3 */

div.breadcrumbs {display: none;} /* Used on 4 Main examples pages */

div#pagetop {display: none;} /* Used on some pages */

/* ====================================================== SET GENERAL BODY AND FONT STYLES */

body {
	background: white;
	font-size: 12pt;
	line-height: 1.125em;
	}

p, h1, h2, h3, li {
	font-family: arial, Times, verdana, Georgia, "New Century Schoolbook", serif;
	}

/* ====================================================== ADJUST DIV WIDTHS */

div#maincontainer { /* All pages */
	width: auto; 
	margin: 0 4%; 
	color: #000000;
	background: transparent;
	text-align: left;
	}

div#content, div#examples, div#footer, div#masthead { /* All pages and 4 x Examples pages*/
	width: auto; 
	margin: 0; 
	color: #000000;
	background: transparent;
	min-width: 100%; 
	max-width: 100%;
	}

div#content {
	min-height: 10px; 
	height: auto !important;
  	height: 10px; 
	padding-bottom: 20px;
	}  /* HERE BE AN IE6 HACK !!! */

/* ====================================================== SORT OUT MASTHEAD AND SWITCH ON THE H1 */

div#masthead { /* All pages */
	height: auto;
	border-bottom: 1px solid #330099;
	margin-bottom: 20px;
	}

div#masthead h1 { /* Displays on all pages in Print mode */
	display: inline; 
	margin: 0; padding: 0; 	
	background: #ffffff; 
	font-family: "courier new", arial, verdana, Georgia, "New Century Schoolbook", Times, serif;
	font-size: 2.7em;
	font-weight: bold;
	color: #333399;
	}

/* ====================================================== FOOTER */

div#footer {border-top: 1px solid #333399;}

div#footer p { 
	margin-left: 0px;
	}

/* ====================================================== LINK STYLES */

a:link, 
a:visited, 
body#home_page a.set2:link, 
body#home_page a.set2:visited,  
div#content a:link, 
div#content a:visited,
div#footer a.footer:link, 
div#footer a.footer:visited, 	
div#examples a:link, 
div#examples a:visited {
	color: #0000ff;
	background: transparent;
	font-weight: normal;
	text-decoration: underline; 
	font-style: normal;
	}

/* ====================================================== ALL PAGES H1s AND H2s */

div#content h1, div#examples h1 { /* Different style used in Print mode */
	color: #330099;
	font-weight: bold;
	font-size: 1.4em;
	background: transparent;
	margin-bottom: 0.5em;
	padding-left: 0px;
	line-height: 1.5em;
	}

div#content h2, div#examples h2 { /* Different style used in Print mode */
	color: #330099;
	font-weight: bold;
	font-size: 1.1em;
	background: transparent;
	margin-bottom: 1em;	
	padding-left: 0px;
	}

/* ====================================================== FOUR MAIN EXAMPLES PAGES */

div#examples img {margin-left: 0px;}

p.source {font-size: 0.8em; margin-left: 0px;}

/* Styles for External Links */

div#examples a.external:link:after, div#examples a.external:visited:after {
 	content: " (" attr(href) ") ";
	} 

/* Eric Meyer's article at http://www.alistapart.com/articles/goingtoprint about printing external links */

div#content a.external:link:after, div#content a.external:visited:after {
 	content: " (" attr(href) ") ";
	} /* This only gets used on the Numerical Humour page, as all other links are not styled as external */

/* ====================================================== USEFUL RESOURCES - BOOKS PAGE */

div#pfbookadborder {
	width: auto;
	background: #ffffff;
	margin-bottom: 1.0em;
	}

div#pfbookadborder p {margin-left: 0px;}

div.books img {display: none;}

div.books p.widemargin {margin-left: 0px;}

div#amazonlogo {display: none;}

/* ====================================================== ABOUT US PAGE */

table.aboutus, table.aboutusnobord {width: auto;}

/* This is used on About Us Large Photo pages to add in the caption */

h2.hidden {
	display: block; 
	color: #330099;
	font-weight: bold;
	font-size: 1.0em;
	background: transparent;
	margin-bottom: 1em;	
	padding-left: 0px;
	}

/* ====================================================== THAT IS ALL FOR NOW FOLKS */














