/* layout\vert\default.css 
	This file defines the main vertical layout of pages WITH NO HORIZONTAL NAV.
	The vertical layout of pages WITH horizontal nav are defined in
	layout\vert\nav_horiz.css
	It contains information for the position of the #nav_main, #header and #footer sections.
	The horizontal position of #wrapper, #nav_local, #content and #sub are defined in layout\horiz\*.css
*/

body {
/*  This method of centring creates inaccessible regions in low window sizes. Kept in as reference should other method below cause other problems.
	position, left position and margin-left are to get the content centred. margin-left is HALF of total page width.
	position: relative;
	left: 50%;
	margin: 0 0 0 -31.8em;
	min-width:63.6em;*/

/* 	position, margin-left, margin-right and width centre content on page.*/
	position: relative;
	top: 0;
	margin-top: 0;
	margin-left:auto;
	margin-right:auto;
/* 	end centering code */
/* width is to fit maximised window at 800*600*/	
	width: 63.6em;
	padding: 0;	
}

#header {
	position:relative;
	/*#header margin-top should equal #nav_main height*/
	margin-top: 2.5em;
	margin-bottom: 0;
	width: 63.6em;
	height: 5.8em;
}

#lang_select {
	position: absolute;
	z-index: 1;
/*	top position is defined in tools\hacks.css as a hack was necessary to make IE display it the same as Moz and Opera.
For Moz/Opera top position is height of header plus header margin-bottom. This puts the top of the div at the height of the content section. 
For IE, top position is equal to the same as the above plus height of nav_main. 
(IE is correct though, which makes me think there might be a missing ending tag or somesuch which is throwing Moz/Opera out. Still, for the sake of getting it done quickly, the hack is in place for now.)
	top: 6.1em; for Moz/Opera
	top: 8.9em; for IE*/	
	right: 0em;
	height: 1.3em;
}


/* pushes vertical position of sub section down to provide space for #lang_select div */
#sub {
	/*margin-top is the same as #lang_select height*/
	margin-top: 1.3em;
}

/*#nav_horiz styling*/
	#nav_horiz {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 1.6em;
		padding-top: 0.1em;
	}
	

/*END #nav_horiz styling*/

/*#nav_horiz pushes all elements in the #wrapper div down. Value should be equivalent to #nav-horiz height plus required margin.*/
#content, #nav_local, #sub {
		margin-top: 2.1em;
	}

#nav_main {
	position: absolute;
	/*top position is sum of #header margin-top and #header height*/
	top: -8.6em;
	left: 0;
	/*#nav_main height should equal #header margin-top*/
	height: 2.5em;
	/* width fits IE 6 and Firefox 1.06 at 800x600 resolution*/
	width: 63.6em;
	clear:both;
}

#footer {
	white-space:nowrap;
	width: 63.6em;
	height:6em;
}