/**** this stylesheet defines the layout of elements on the template ****/

body {
	margin:		0px;
	padding:	0px;
	width:		770px;
	background-image:url(/Templates/layout/images/page_background.gif);
	background-repeat:repeat-y;
}

/* the header block fills the page and pushes down the content */
#header {
	width: auto;
	height: auto;
	padding: 7px 0px 0px 7px;
	background-color:#FFFFFF;
}

/* the img element containing the logo is not floated, and margins are overridden */
#header img {
	margin: 0px;
	border: 0px;
	float:none;
}

/* the div containing the logo */
#header-logo { float:left;
}

/* header-text contains to the right of the logo to make sure that it is kept */
/* in a column and doesn't wrap to the left margin if the link is long */
#header-text {
	margin-left:167px;
	text-align: right;
}

#header-pattern {
	height: 40px;
	background-image: url(/images/header-pattern.gif);
	background-repeat: repeat-x;
}

#location {
	float:left;
}

#options {
	display:inline;
	visibility:hidden;
}

#alt-lang {
	display: inline;
}

#options img {
	vertical-align:bottom;
}

/* this clears the floating logo to make sure the content does not overlap */
#header hr {display: block; clear: left; visibility:hidden; padding-top:5px;}

#content {
	width: auto;
	height: auto;
	padding: 0px 0px 0px 10px;
	margin: 0px 0px 0px 137px;
}

#nav {
	position:absolute;
	height : auto;
	left:7px;
	width: 120px;
}

#nav img {
	float:none;
	margin: 0px;
	border: 0px;
}

#nav ul {
	margin: 0px;
	padding: 0px;
}

#nav ul li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	overflow: hidden; 
	height: 42px;
	position: relative; /* for IE only */
	vertical-align:bottom;
}

/* this is hidden from IE */
#nav[id] ul li {
	display: table;
	position: static;
}

#nav .nav-text, #nav .nav-img {
	display:block;
	text-align:right;
	position: absolute;
	top: 50%;
}

#nav .nav-text {
	width: 75px;
}

#nav .nav-img {
	width: 45px;
	left:75px; /* IE only */
}

/* this is hidden from IE */
#nav[id] .nav-text, #nav[id] .nav-img {
	display: table-cell;
	vertical-align: middle;
	position: static;
}
	
#nav a {position: relative; top: -50%; display:block;}  /* for explorer only */
#nav[id] a {position: static;}

#subnav ul {padding:0;border-bottom:1px solid grey;}
#subnav li {display:inline;
margin-right:0px;
padding:1px 0px 2px 0px;}
#subnav a {text-decoration:none;}

#modified {
	text-align:right;
	padding-top:10px;
	clear:both;
}
