/* screen.css */
@media screen {

	/* set document height equal to the full height of the viewport */
	html, body {
		height: 100%;
	}
	/* zero margins, padding and border */
	body, div, span, h1, h2, h3, h4, h5, h6, p, cite, img, table, caption, tbody, tfoot, thead, tr, th, td {
		margin: 0;
		padding: 0;
		border: 0;
	}
	/* global font and colour definitions */
	body {
		font-size: 84%;
		font-family: arial, helvetica, verdana, sans-serif; 
		color: #000;
		background-color: #fff;
		text-align: center; /* display the document as a centered column */
	}
	/* define a container to apply a width to the document and ensure that it uses at least the full height of the viewport */
	#container {
		position: relative;
		min-height: 100%; 
		width: 750px;
		margin-left: auto;
		margin-right: auto;
		text-align: left; /* although the document is displayed as a centered column all text is aligned left by default */
	}
	/* the main-heading will be placed below the banner and navbar with text justified on both sides */ 
	#main-heading {
		width: 100%;
		clear: left;
		text-align: justify; 
		padding-left: 20px;
		padding-right: 20px;
		margin-top: 10px;
	}
	/* the breadcrumbs trail will be placed below the main-heading */ 
	#breadcrumbs {
		width: 100%;
		clear: left;
		padding-left: 20px;
		margin-top: -5px;
		margin-bottom: 10px;
	}
	/* the banner will contain the branding as a background image */
	#banner {
		width: 100%;
		height: 95px;
		background: url(../images/logo.gif) no-repeat top left;
	}
	/* the main navigation bar will be placed below the banner */
	#navbar {
		border-bottom: 10px solid #9f1d35;
		float: left; 
		width: 100%;
	} 
	/* the secondary navigation bar will be placed below the main navigation */
	#subnav {
		border-bottom: 2px solid #9f1d35;
		float: left; 
		width: 100%;
		background-color: #f2dde7; 
	} 
	/* the content will be placed below the main-heading with text justified on both sides */ 
	#content {
		float: left;
		width: 67%;
		text-align: justify; 
		padding-left: 20px;
		padding-right: 10px;
		margin-bottom: 8em;
		padding-bottom: 1em;
	}
	/* the sidebar will be floated to the right of the content */
	#sidebar {
		float: right;
		width: 23%;
		padding-left: 6px;
		padding-right: 20px; 
		text-align: justify; 
		margin-bottom: 8em;
		padding-bottom: 1em;
		background-color: #f2dde7; 
		border: 1px #bb88aa solid; 
		border-radius : 4px; 	
		-moz-border-radius : 4px;  
		-webkit-border-radius : 4px; 
	}
	/* the footer will be placed at the bottom of the viewport or after the content and sidebar, whichever is lower  */
	#footer {
		position: absolute; 
		bottom: 0;
		width: 710px; 
   		height: 5.75em;
		border-top: 10px solid #9f1d35;
		margin-top: 10px;
		padding: 5px 20px 0 20px;
	} 

	/* definitions for the main navigation bar */
	#navbar ul {
		/* remove margins and padding, but pad left and right by the standard 20 pixels  */
		margin: 0;
		padding: 0 20px;
	}
	#navbar li {
		float: left; /* position the navigation tabs by floating them left */
		margin-right: 0.3em; /* space out the tabs by applying a right margin */
		list-style: none; 
		font-size: 90%;
		font-weight: normal;
	}
	#navbar li a {
		display: block;
		padding: 0.4em 0.9em 0.4em 0.9em;
		/* use a 1x1 pixel white gif to take the top left corner out of the backround to give the tab a 'rounded' corner */
		background: url(../images/1-1-remove-corner.gif) no-repeat left top  #f2dde7; 
		color: #bf0a20; /* de-emphasize non-selected tabs */
		text-decoration: none;
		font-weight: bold;
		cursor: pointer;
		border-top-left-radius: 3px;
		border-top-right-radius: 3px;
		-moz-border-radius-topleft: 3px;
		-moz-border-radius-topright: 3px;
		-webkit-border-top-left-radius: 3px;
		-webkit-border-top-right-radius: 3px;
		border-bottom-left-radius: 2px;
		border-bottom-right-radius: 2px;
		-moz-border-radius-bottomleft: 2px;
		-moz-border-radius-bottomright: 2px;
		-webkit-border-bottom-left-radius: 2px;
		-webkit-border-bottom-right-radius: 2px;
	}
	#navbar li a:hover,
	#navbar li a:focus,
	#navbar li#current-section a { 
		background-color: #9f1d35; 
		color: #fff;
		text-shadow: 2px 2px #111; 
	}
	#navbar li a:active {
		color: #ca7d96;
		text-shadow: none;
	}
	
	/* definitions for the secondary navigation bar */
	#subnav ul {
		/* remove margins and padding, but pad left and right by the standard 20 pixels  */
		margin: 0;
		padding: 0 20px;
	}
	#subnav li {
		float: left; /* position the navigation tabs by floating them left */
		margin-right: 0.3em; /* space out the tabs by applying a right margin */
		list-style: none; 
		font-size: 85%;
		font-weight: normal;
	}
	#subnav li a {
		display: block;
		min-width: 5em;
		padding: 0.3em 1.3em 0.3em 0;
		color: #bf0a20; /* de-emphasize non-selected tabs */
		text-decoration: none;
		cursor: pointer;
		text-align: center;
	}
	#subnav li#current-page a {  
		font-weight: bold; 
	}
	#subnav li a:hover,
	#subnav li a:focus {
		font-weight: bold;
		padding-right: 0.9em;
/* TBD - replace bold with something that doesn't change the position of the links - perhaps text-shadow only only for browsers that support it - or give the #subnav li a's a minimum and maximum width in all their states ? */
		text-shadow: 2px 2px 3px #ca7d96;
	}
	#subnav li a:focus {
		color: #ca7d96;
		text-shadow: none;
	}

	/* define classes for left and right floated content */
	.left { float: left; }
	.right { float: right; }
	.clearboth { clear: both; } 
	.clearleft { clear: left; }
	.clearright { clear: right; }
	.left_image { float: left; padding-right: 8px; padding-top: 3px; }
	.right_image { float: right; padding-left: 8px; padding-top: 3px; }

	/* define global heading styles */
	h1 {
		font-size: 1.85em;
		line-height: 1.3;
		font-weight: normal;
		color: #9f1d35; 
		background-color: transparent; 
	}
	h2 {
		font-size: 1.45em;
		line-height: 1.3;
		font-weight: normal;
		color: #9f1d35;
		background-color: transparent; 
	}
	h3 {
		font-size: 1.17em;
		line-height: 1.3;
		font-weight: normal;
		color: #9f1d35; 
		background-color: transparent; 
	}
	hr {
		color: #9f1d35;
		background-color: transparent;
		text-shadow: 1px 1px 2px #ca7d96;
	}
	
	/* define global paragraph styles */
	p {
		line-height: 1.3; 
		font-weight: normal;
		background-color: transparent; 
	}
	
	/* define global anchor styles */
	a {
		cursor: pointer;
		color: #9f1d35;
		background-color: transparent;
	}
	a:link, a:visited {
		text-decoration: none;
	}
	a:hover, a:focus {
		text-decoration: underline;
	}
	a:active {
		color: #ca7d96;
	}
	#content a.new-window,
	#sidebar a.new-window {
		padding-right: 17px;
		background: url(/images/new-window-icon.png) no-repeat 100% 25%;
	}
	
	/* define global table styles */
	table {
		border-collapse: collapse;
	}
	th, td {
		vertical-align: top;
		text-align: left;
	}
	th {
		border-left: 1px solid #fff;
		padding: 0.5em;
		background-color: #9f1d35;
		background-image: url(/images/table_header.png);  /* provides a gradient from #9f1d35 to #f2dde7 */
		background-repeat: repeat-x;
		color: #fff;
		border: 1px solid #9f1d35;
	}
	td {
		border: 1px solid #9f1d35;
		padding: 0.5em;
	}

	/* define global definition list styles */
	dt {
		font-weight: bold;
		color: #9f1d35;
		background-color: transparent;
	}
	dd {
		font-size: 1.1em;
		width: 25em;
		margin: 0;
		padding: 0.5em 0 0.5em 0;
		background-color: transparent; 
	}

	/* define styles for the main heading */
	#main-heading h1 {
		padding-top: 0.5em;
		padding-bottom: 0.4em;
		font-weight: bold;
		text-shadow: 1px 1px #ca7d96;
	}

	/* define styles for the content */	
	#content h2 {
		padding-bottom: 0.4em;
		font-weight: bold;
		text-shadow: 1px 1px #ca7d96;
	}
	#content h3 {
		margin-top: -0.1em;
		padding-top: 0em;
		padding-bottom: 0.3em;
		font-weight: bold;
	}
	#content p {
		font-size: 1.1em;
		padding-bottom: 1em;
	}
	#content cite {
		font-size: 1.1em;
		margin-bottom: 1em;
		padding-left: 3em; 
		padding-right: 3em;
		text-align: justify;
		display: block;
	}
	#content ul {
		padding: 0;
		margin: 0.5em 0 1em 1.25em;
	}
	#content p + ul {
		padding: 0;
		margin: 0 0 1em 1.25em;
	}
	#content ol {
		padding: 0 0 0 0.5em;
		margin: 0.5em 0 1em 1.25em;
	}
	#content p + ul {
		padding: 0;
		margin: -0.5em 0 1em 1.25em;
	}
	#content p + ol {
		padding: 0 0 0 0.5em;
		margin: -0.5em 0 1em 1.25em;
	}
	#content li {
		padding: 0 0 0 0.75em;
		margin: 0 0 0 0.25em;
		font-size: 110%; 
		line-height: 1.2; 
		font-weight: normal;
		color: #9f1d35;
		list-style-position: outside;
	}
	#content ul li {
		list-style-type: square;
	}
	#content ol li {
		font-weight: bold;
		list-style-type: decimal; 
	}
	#content li span {
		color: #000000;
	}
	#content ol li span {
		font-weight: normal;
	}
	#content dd p,
	#content dd blockquote {
		font-size: 0.95em;
		margin: 0;
	}
	#content dd p {
		padding: 0 0 0.35em 0;
		width: 30em;
	}
	#content dd blockquote {
		padding: 0 1.5em 0.35em 1.5em;
		width: 25em;
	}
	
	/* Define styles for the sidebar */
/*	#sidebar-search-box {
		background-color: #f2dde7; 
		border: 1px #bb88aa solid; 
		border-radius : 4px; 	
		-moz-border-radius : 4px;  
		-webkit-border-radius : 4px; 
		margin: 0;
		padding: 5px 3px; 
	}
	#sidebar-login-box {
		background-color: #f2dde7; 
		border: 1px #bb88aa solid; 
		border-radius : 4px; 	
		-moz-border-radius : 4px;  
		-webkit-border-radius : 4px; 
		margin: 0;
		padding: 5px 3px; 
	} */
	div > #sidebar h2 {
		font-size: 1em;
		padding-bottom: 4px; 
		padding-top: 15px;
	} 
	div > #sidebar h2:first-child {
		padding-top: 0;
	}
	#sidebar p  {
		font-size: 90%;
		line-height: 1.3; 
	}
	#sidebar ul {
		padding: 0;
		margin: 0.2em 0 0.2em 0em;
	} 
	#sidebar li {
		padding: 0;
		margin: 0;
		font-size: 90%;
		line-height: 1.2; 
		font-weight: normal;
		color: #9f1d35; 
		background-color: transparent; 
		list-style-type:square;
		list-style-position: inside;
	} 
	#sidebar li span {
		color: #000;
	} 
/*	#sidebar ul.share {
		padding: 0;
		margin: 0.5em 0 0 0;
	} */
/*	#sidebar ul.share li {
		display: inline;
		padding: 0;
		margin: 0.25em 0.25em 0 0;
		font-size: 90%;
		line-height: 1.2; 
		font-weight: normal;
		color: #9f1d35;
		background-color: transparent; 
		list-style-type: none;
	} */
	
	/* define styles for google search boxes */
	form#google-search-sidebar,
	form#google-search-content {
		padding-top: 5px;
		margin-top: 0;
		padding-bottom: 0;
		margin-bottom: 0;
	}
	form#google-search-content {
		padding-top: 5px;
		margin-top: 0;
		padding-bottom: 0;
		margin-bottom: 0;
	}
	input.google-search-box {
		width: 140px;
	}
	/* Define styles for the footer */
	#footer p  {
		font-size: 90%;
		line-height: 1.3; 
		padding-left: 5px;
	} 
	#footer h2 {
		font-size: 110%;
		line-height: 1.3;
		font-weight: bold;
		padding: 0 0 5px 5px;
		text-shadow: 1px 1px #ca7d96;
	}
	#footer ul {
		margin: 0;
		padding-left: 5px;
	}
	#footer li {
		list-style: none;
		font-size: 90%;
		line-height: 1.3; 
		font-weight: normal;
	}
	ul#footnav {
		margin: 0;
		padding-left: 5px;
	}
	#footnav li {
		float: left;
	}
	#footnav li:before {
		content: '|';
		color: #9f1d35;
		background-color: transparent; 
		padding-left: 0.5em;
		padding-right: 0.5em;
	}
	#footnav li:first-child:before {
		content: '';
		padding: 0.5em 0;
	}
	#footnav li a {
		padding: 0.5em 0;
		cursor: pointer;
	}
	ul#foot-design-and-webmaster {
		margin: 0;
		padding-left: 5px;
	}
	#foot-design-and-webmaster li {
		float: left;
		padding: 0.5em 1.5em 0 0;
	}

	#container .deemphasize {
		font-size: small;
	}

	/* definitions for informational messages, warnings and error messages used for operating instructions, forms and noscript instructions */
	.information {
		color: black;
		background-color: transparent;
		font-weight: normal;
	}
	.warning,
	#noscript,
	.noflash {
		color: rgb(120,0,0) !important;
		background-color: transparent;
		font-weight: normal;
	}
	.error {
		color: red !important;
		background-color: transparent;
		font-weight: bold;
	}
}