/* Kill margin and padding on all elements - because different browsers
 * have different defaults.
 */

* {
	margin:0;
	padding:0;
}

html {
/* Fixes background nastiness when a sidebar is open in Firefox */
	min-width:770px;
}

body {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: medium;
}

#pageheadContainer,
#contentContainer,
#footContainer {
	width:90%;
 }

#pagehead {
	height:85px;
	margin-top:20px;
	border-bottom: 1px solid #ccc;
	margin-left: 5px;
}

#contentContainer {
	/* Float left to prevent floated child divs(#article & #subContent) overflowing . aka the FnE method http://www.orderedlist.com/articles/clearing_floats_fne */
	float:left;
}

#content {
	min-height:300px;
	float:left;
	width: 100%;
	padding: 3px;
}

#content ul, #content li {
	margin-left: 15px;
}

#content img {
	border:0;
	margin: 4px 4px 4px 4px;
}

#article {
	width:auto;
	margin-right: 220px;
	padding:20px 10px 20px 10px;
	border-left: 50px solid #D1ECFB;
	background: url(../images/corner.png) no-repeat top left;
	border-top: 1px solid #D1ECFB;
}

#article_only {
	width:100%;
	padding:20px 10px 20px 50px;
}


#subContent {
/* Fix double margin bug in IE on floats using display:inline */
	width:180px;
	float:right;
	padding:0px 20px 20px 20px;
	font-size:.9em;
}

#subContent h3 {
	text-align:right;
}

/* Main navigation list */

#pagehead ul, #pagehead li {
	display: inline;
	list-style-type: none;
	margin: 0;
	padding: 0;
	position:relative;
}

#pagehead li a:link, #pagehead li a:visited {
	/*background: #E8EBF0;
	border: 1px solid #ccc;*/
	font-size: small;
	font-weight: normal;
	text-decoration: none;
	padding-left:2px;
	padding-top:1px;
	padding-bottom:1px;
}

#pagehead li a:hover { 
	color: #f00; 
	background-image: url(../images/nav-off-bg_top.png);
	background-position: top right;
	background-repeat: no-repeat;
	border-left:3px solid #FF0000;
}

#pagehead ul {
	top: 20px;
} 

#pagehead ul a{
	display: inline;
	padding-right: 40px;
	color: #4B5A6A;
	background-image: url(../images/nav-on-bg_top.png);
	background-position: top right;
	background-repeat: no-repeat;
}

#pagehead img {
	border:0;
	margin: 4px 4px 4px 4px;
}

p {
	margin:0.3em 0 0.6em 0;
	line-height:1.5em;
}


#footContainer {
	clear:both;
	text-align:center;
}

#foot ul, #foot li {
	display: inline;
	list-style-type: none;
}

#foot #foot1 {
	width: 20%;
	position:absolute;
	left:50px;
}

#foot #foot2 {
	width: 30%;
	position:absolute;
	left:550px;
}

#trailer {
	margin-top:20px;
}

/* This is the anchor top button at bottom of page */
#foot #pageTop {
	position:absolute;
	left:388px;
}


#subContent {
	text-align:right;
}

#subContent li {
	list-style-type:none;
}

#subContent ul a {
	display: block;
	border: 1px solid #DADADA;
	padding: 2px 2px 2px 4px;
	margin: 0 0 4px 2.8em;
	width: 12em !important;
	width /**/: 13.4em;
	color: #4B5A6A;
	background-image: url(../images/nav-on-bg.png);
	background-position: top left;
	background-repeat: no-repeat;
}

#subContent ul a:hover {
	background-image: url(../images/nav-off-bg.png);
	background-position: top left;
	background-repeat: no-repeat;
	border-left:3px solid #FF0000;
}

#subContent img {
	border:0;
}

h2 {
	color: #666666;
	padding-bottom:5px;
	margin:0.8em 0 0.6em 0;
}

h3 {
	padding-top:5px;
	padding-bottom:5px;
	margin:0.8em 0 0.6em 0;
	font-size:1.2em;
}

h4 {
	color:#EB0C0C;
	margin:0.8em 0 0.6em 0;
	font-size:1.1em;

}

td,th {
  padding: 5px;
  border: 1px solid #c90;
  background-color: #ffc;
  text-align: center;
  margin: 0px;
}
td.left {text-align: left;
}
table {
  border: 5px groove #c90;
}
caption {
  font: bold 18px Verdana,sans-serif; 
  margin: 10px;
}
