/* screen.css - minimum set of styles to satisfy the homepage */
@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; /* page will be displayed as a central column */
	}	
	h1, h2, h3, hr, a, th, dt {
		color: #562; 
		background-color: transparent; 
	}
	/* 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: 68px;
		background: url(images/logo.gif) no-repeat top left;
	}
	/* the main navigation bar will be placed below the banner */
	#navbar {
		border-bottom: 10px solid #693;
		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: left;
		text-align: justify; 
		padding-left: 20px;
		padding-right: 20px;
		margin-top: 10px;
	}
	/* the ticker tape, if present, will appear below the main-heading and above the content */
	#ticker-tape-container {
		position: relative;
		width: 63%;
		margin-left: 24px;
		margin-right: 20px;
		margin-top: -10px;
		margin-bottom: 5px;
		height: 25px;
		overflow: hidden;
		color: #693;
		white-space: nowrap;
		font-size: 80%;
	}
	/* 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: 4em;
	}
	/* 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: 4em;
	}
	/* 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: 4em;
		border-top: 10px solid #693; 
		margin-top: 15px;
		padding: 10px 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 #562;
		color: #e7f2cc; /* a very light greenish 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.history #navbar li.history a, 
	body.committee #navbar li.committee a, 
	body.gallery #navbar li.gallery a, 
	body.events #navbar li.events a, 
	body.contact #navbar li.contact a { 
		background-color: #693;  
		color: #fff;
	}
	/* definitions for the ticker tape */
	#ticker-tape {
		position: relative;
		height: 25px;
		line-height: 25px;
		color: #693;
		background-color: #fff;
	}
	#ticker-tape-start-stop {
		position: absolute;
		width: 15px;
		height: 15px;
		margin-left: 67.6%;
		margin-top: -25px;
		background-image: url('images/ticker_tape_controls.png');
		background-position: -15px 0;
		text-indent: -9999px;
		text-decoration: none;
		outline: 0;
	}
	#ticker-tape-start-stop:hover,
	#ticker-tape-start-stop:active {
		background-position: -15px -15px;
	}
	/* 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 and paragraph styles */
	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;
	}
	
	/* define global anchor styles */
	a {
		cursor: pointer;
	}
	a:link, a:visited {
		text-decoration: none;
	}
	a:hover, a:focus {
		text-decoration: underline;
	}
	
	/* define global table styles */
	table {
		margin-bottom: 10px;
	}
	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;
	}

	/* define global definition list styles */
	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: #562;
		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: #562;
		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: #562;
		background-color: #fff;
		list-style-type: none;
	}

	/* 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;
		color: #693;
	}
	#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;
	}
	input.google-search-box {
		width: 140px;
	}

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