/* screen.css - minimum set of styles to satisfy the homepage */
@media screen {

	/* zero margins, padding and border */
	body, div, span, h1, h2, h3, h4, h5, h6, p, img, table, caption, tbody, tfoot, thead, tr, th, td {
		margin: 0;
		padding: 0;
		border: 0;
	}

	/* global font and colour definitions */
	body {
		text-align: center; /* page will be displayed as a central column */
		font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gills Sans MT", "Myriad Pro", Myriad, "DejaVu Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 90%;
		color: #000000;
		background-color:#ffffff;
	}
	h1 {
		margin-bottom: 9px;
		line-height: 1.3;
		font-weight: bold;
		color: #357a19; 
		background-color: transparent; 
	}
	h2 {
		margin-bottom: 10px;
		line-height: 1.3;
		font-weight: normal;
		color: #357a19; 
		background-color: transparent; 
	}
	p {
		padding-bottom: 0.7em;
		line-height: 1.3;
		font-weight: normal;
		text-align: justify;
	}
	a {
		cursor: pointer;
		color: #357a19;
		background-color: transparent;
	}
	a:link,
	a:visited {
		text-decoration: none;
	}
	a:hover {
		text-decoration: underline;
	} 
	ul {
		margin-left: 0;
		margin-top: 0;
		padding: 0; 
		font-weight: normal;
	}
	li {
		padding-left: 0;
		margin-left: 0;
		font-weight: normal;
		color: #357a19;
		background-color: transparent;
		list-style-type: square;
		list-style-position: inside;
	}
	li span {
		padding-left: 1em;
		color: #000000;
	}
	dt {
		color: #357a19;
		background-color: transparent;
	}
	dd {
		width: 32em;
		margin: 0;
		padding: 0.5em 0 0.25em 0;
	}

	/*   Display a definition list as a table  */
	/*	 Can't use display: table etc, as not supported yet by IE */
	dl.display-dl-as-table {
		margin: 0;
		padding: 0 0 10px 0;
	} 
	.display-dl-as-table dt {
		width: 7.5em;
		float: left;
		margin: 0;
		padding: 0.25em 0 0.25em 0;
	}
	
	/* a comment with a backslash causes Macintosh IE5.0 and IE 5.1 to ignore the next CSS statement, a hack discovered by sam-i-am */
	/* when the backslash is immediately before the comment closure, then Mac IE 5 ignores all CSS until the next comment closure */
	/* ignore clear both for Mac IE to avoid well-documented float clear problems \*/
	.display-dl-as-table dt { clear: both; }
	/* end of Mac IE5 hack */
	
	.display-dl-as-table dd {
		float: left;
		width: 25em;
		margin: 0;
		padding: 0.25em 0 0.25em 0;
	}
	/* class used here, as CSS3 :last-child selector, sadly, not yet widely implemented */
	.display-dl-as-table dd.last-def, .display-dl-as-table dt.last-def {
		padding-bottom: 1.25em;
	}
		
	/* define a utility class to clear both margins */
	.clearboth {
		clear: both;
	} 
	.right {
		float: right;
	} 
	.left {
		float: left;
	} 
	
	/* define a container to apply a width to the document */
	#container {
		width: 776px;
		margin-left: auto;
		margin-right: auto;
		text-align: left;
		min-height: 570px;
		background: url("/images/chimney_rock_background_image.gif") bottom right no-repeat;
	}
	#jumplinks {
		display: none;
	}
	#banner-line {
		background: #dceabc;
		height: 95px; 
	}
	#logo {
		float: left;
		vertical-align: top;
		border: none;
	}
	#banner-text {
		float: right;
		border: none;
	}
	#banner-text form {
		width: 100%;
	}
	#banner-text form p {
		padding-top: 5px;
		padding-right: 5px;
		padding-bottom: 5px;
		margin-bottom: 0
	}
	#banner-text form p span {
		font-size: small;
		color: #357a19;
	}
	#banner-text form p #searchtermlistbanner {
		width: 130px;
		font-size: x-small;
		color: #357a19;
		border: 1px #479c23 solid;
		background-color: #dceabc;
		border-radius: 4px;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;	
 	}
	#banner-text form p #search-button {
		font-size: x-small;
		color: #357a19;
		background-color: #dceabc;
		border: 1px #479c23 solid;
		border-radius: 4px;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
	}
	#banner-text h1 {
		padding-right: 5px;
		padding-top: 0;
		margin-top: 0;
		font-size: 34px;
		text-align: right;
		font-family: Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
		font-style: italic; 
	}
	/* the main navigation bar will be placed below the banner */
	#navbar {
		float: left;   
		width: 100%; 
		margin-top: 10px;
		border-bottom: 10px solid #479c23;
	} 
	/* the secondary navigation bar will be placed below the main navigation */
	#subnav {
		border-bottom: 2px solid #479c23; 
		float: left;  
		width: 100%;
		background-color: #dceabc; 
		margin-bottom: 10px;
	} 
	/* 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;
	}
	/* the content will be placed below the main-heading with text justified on both sides */ 
	#content {
		float: left;
		padding-left: 20px;
		padding-right: 10px;
		margin-bottom: 25px;
	}
	#footer-container {
		width: 776px;
		clear: both;
		margin-left: auto;
		margin-right: auto;
		margin-top: 15px;
		padding-top: 15px;
		text-align: left; 
		border-top: 2px solid #479c23;
		font-size: 84%; 
	}		
	#footer-utility-box {
		float: left;
		width: 55%;
		padding-left: 10px;
		padding-right: 10px;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	#footer-contact-details {
		float: right;
		width: 38%;
		padding-left: 10px;
		padding-right: 10px;
		padding-top: 5px;
		padding-bottom: 5px;
		background-color: #dceabc;
		border: 1px #479c23 solid;
		border-radius : 4px; 
		-moz-border-radius : 4px; 
		-webkit-border-radius : 4px; 
	}
	/* definitions for the main navigation bar */
	#navbar ul {
		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;
		background: url(../images/1-1-remove-corner.gif) no-repeat left top  #dceabc; 
		color: #357a19; /* a very light greenish grey, slightly dimmer than pure white, de-emphasizes non-selected tabs */ /* need to do the equivalent */
		text-decoration: none;
		font-weight: bold;
		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, 
	body.home #navbar li.home a, 
	body.services #navbar li.services a, 
	body.technology #navbar li.technology a, 
	body.applications #navbar li.applications a, 
	body.projects #navbar li.projects a, 
	body.contact #navbar li.contact a,
	body.about #navbar li.about a { 
		background-color: #357a19;  
		color: #dceabc; 
	}
	#subnav ul {
		margin: 0;
		padding: 0 20px;
	}
	#subnav ul li {
		float: left; 
		margin-right: 0.15em; 
		list-style: none; 
		font-weight: normal;
		color: #357a19; 
		background-color: transparent; 
		font-size: 84%; 
	}
	#subnav ul li a {
		display: block;
		padding: 0.3em 0.5em 0.3em 0.5em;
		color: #bf0a20; /* slightly dimmer than pure white, de-emphasizes non-selected tabs */
		text-decoration: none; 
	}
	#subnav ul li a span {
		font-weight: bold;
	}
	#subnav ul li a:link,
	#subnav ul li a:visited {
		color: #357a19; 
		background-color: transparent; 
	}
	#subnav ul li a:hover {
		font-weight: bold;
	}

	/* Define styles for the footer */
	#footer-contact-details h2,
	#footer-utility-box h2 {
		font-size: 115%; 
	}
	#footer-contact-details .display-dl-as-table dd {
		width: 20em;
	}
	#footer-contact-details .display-dl-as-table dt {
		width: 1.5em;
	}
	form#google-search-footer {
		width: 100%;
		margin-bottom: 0;
		padding-bottom: 0;
	}
	#footer-utility-box p {
		padding-top: 3px;
		padding-right: 2px;
		padding-bottom: 0;
		margin-bottom: 0;
	}
	#footer-utility-box p:first-child {
		padding-top: 0;
	} 
	#footer-utility-box p span {
		font-size: small;
	}
	#footer-utility-box form p #searchtermlistfooter {
		width: 130px;
		font-size: x-small; 
		border: 1px #479c23 solid; 
		border-radius: 4px;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
	}
	#footer-utility-box form p #search-button,
	#footer-utility-box form p #clear-button {
		font-size: x-small;
		color: #357a19;
		background-color: white;
		border: 1px #479c23 solid;
		border-radius: 4px;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
	}
}
