/* screen.css */
@media screen {
	/* set a vertical scroll bar to stop "horizontal jump" in Firefox */
	html {
		overflow-y: scroll; 
	}
	/* set document height equal to the full height of the viewport */
	html, body {
		height: 99%;
	}
	/* 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 banner will contain the branding as a background image */
	#banner {
		width: 100%;
		height: 78px;
		background: url('images/logo.gif') no-repeat top left;
	}
	/* the main navigation bar will be placed below the banner */
	#navbar {
		border-bottom: 10px solid #569;
		float: left; 
		width: 100%; 
	} 
	/* the main-heading will be placed below the banner and navbar with text justified on both sides */ 
	#main-heading {
		width: 100%;
		clear: both;
		text-align: justify; 
		padding-left: 20px;
		padding-right: 20px;
		margin-top: 10px;
	}
	/* 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: 25px;
		padding-bottom: 5.5em;
	}
	/* the sidebar will be floated to the right of the content */ 
	#sidebar {
		float: right;
		width: 23%;
		text-align: justify; 
		padding-left: 10px;
		padding-right: 20px;
		margin-bottom: 25px;
		padding-bottom: 5.5em;
	}
	/* 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: 4.5em;
		border-top: 10px solid #569;
		margin-top: 15px;
		padding: 2px 20px 0 20px;
	} 

	/* definitions for the main navigation bar */
	#navbar ul {
		margin: 0;
		padding: 0 20px;
	}
	#navbar li {
		float: 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;
		background: url('images/1-1-remove-corner.gif') no-repeat left top #347;
		color: #ddf; /* a very light bluish grey, slightly dimmer than pure white, de-emphasizes non-selected tabs */
		text-decoration: none;
		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,
	body.home #navbar li.home a,
	body.purpose #navbar li.purpose a,
	body.trustees #navbar li.trustees a,
	body.history #navbar li.history a,
	body.grants #navbar li.grants a,
	body.accounts #navbar li.accounts a,
	body.gallery #navbar li.gallery a,
	body.contact #navbar li.contact a { 
		background-color: #569;  
		color: #fff;
	}

	/* 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 styles */
	h1, h2, h3, a, th, dt {
		color: #569; 
		background-color: transparent; 
	}
	h1, h2, h3, p {
		line-height: 1.3;
		font-weight: normal;
	}
	h1 {
		font-size: 1.85em;
	}
	h2 {
		font-size: 1.45em;
	}
	h3 {
		font-size: 1.17em;
	}
	a {
		cursor: pointer;
	}
	a:link, a:visited {
		text-decoration: none;
	}
	a:hover, a:focus {
		text-decoration: underline;
	}
	th, td {
		padding-left: 0;
		padding-right: 3em; 
		vertical-align: top;
		font-size: 1.1em;
		font-weight: normal;
		line-height: 1.2;
	}
	th {
		font-weight: bold;
	}
	dt {
		font-weight: bold;
	}
	dd
	{
		font-size: 1.1em;
		width: 25em;
		margin: 0;
		padding: 0.5em 0 0.5em 0;
	}

	/* define styles for the main heading */
	#main-heading h1 {
		padding-top: 0.5em;
		padding-bottom: 0.4em;
		font-weight: bold;
	}
	
	/* define styles for the content */	
	#content h2 {
		padding-bottom: 0.4em;
		font-weight: bold;
	}
	#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 ul {
		padding: 0;
		margin: 0.5em 0 1em 1em;
	}
	#content 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: #569;
		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: #000;
	}
	#content ol li span {
		font-weight: normal;
	}
	#content ul ul {
		margin-left: 2em;
	}
	#content cite {
		font-size: 1.1em;
		margin-bottom: 1em;
		padding-left: 3em; 
		padding-right: 3em;
		text-align: justify;
		display: block;
	}
	#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 */
	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: #569;
		background-color: #fff;
		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: #569;
		background-color: #fff;
		list-style-type: none;
	}

	/* Define styles for the footer */
	#footer p  {
		font-size: 90%;
		padding-left: 5px;
	} 
	#footer h2 {
		font-size: 110%;
		line-height: 1.3;
		font-weight: bold;
		padding: 0 0 0 5px;
	}
	#footer h2 a {
		font-size: 90%;
		font-weight: normal;
	}
	#footer ul {
		margin: 0;
		padding: 5px 0 0 5px;
	}
	#footer li {
		list-style: none;
		font-size: 90%;
		line-height: 1.3; 
		font-weight: normal;
	}

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

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