body{ 
	background-color: #AAAAAA;
	font-family:sans-serif;
	margin: 0px;
	height: 100%;
} 


#pagecontainer{
	position:relative;
	width: 780px;
	background-color:white;
	border: 3px solid #e1e1ff;
	margin-left: -400px;
	left:50%;
	top:0;
	display: block;
	min-height: 100%;
	z-index: 0;
}

#header{
	position:relative;
	width: 100%;
	height:120px;
	overflow:hidden;
	background-color:#e1e1ff;
	margin-left: 0px;
	margin-right: 0px;
	margin-top:0px;
	margin-bottom:0px;
	padding-bottom:0px;
}

#headerblock{
	position: absolute;
	font-weight: bold;
	text-align:right;
	width: 200px;
	overflow:hidden;
	margin:0;
	right:10px;
	top:10px;

}

#content{
	position:relative;
	padding: 10px;
	padding-bottom:50px;
}

#footer{
	position:absolute;
	width: 780px;
	height: 20px;
	background-color:white;
	margin-left: -390px;
	margin-top:-20px;
	margin-bottom:0px;
	padding: 0 0 0 0;
	left:50%;
	bottom:0;
}

img{
	border: 0px;
}
.borderedtable{
	width:100%;
	border: 3px solid #e1e1ff;
}

.borderedimg{
	border: 3px solid #e1e1ff;
}

h1{
	font-size:40;
	line-height: 100%;
}

h2{
	font-size:20;
	line-height: 0%;
}

.copyright{
	font-size: 12px;
	padding-right: 20px;
	float: right;
	color: #888888;
}

.navcontainer{
	position:absolute;
	left:50%;
	margin-left:-300px;
	margin-bottom:0px;
	width:590px;
	height:20px;
	bottom:4px;
}

.leftnav{
	position:absolute;
	width:5px;
	height:20px;
	left:0px;
	top:0px;
	margin: 0;
	padding: 0;
	background-image: url('../images/left.gif');
}
.mainnav{
    position:absolute;
	left:5px;
	top:0px;
	right:5px;
	margin: 0;
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 0px;
	padding-bottom: 0px;
	background-color:#0000ff;
	background-image: url('../images/bar.gif');
	background-repeat: repeat-x;
}
.rightnav{
	position:absolute;
	width:5px;
	height:20px;
	right:0px;
	top:0px;
	margin: 0;
	padding: 0;
	background-image: url('../images/right.gif');
}

ul.nav, .nav ul{
/*Remove all spacings from the list items*/
	margin: 0;
	padding: 0;
	height:20px;
	cursor: pointer;
	list-style-type: none;
	display: inline;
	background-image: url('../images/bar.gif');
	background-repeat: repeat-x;

}

ul.nav{
	display: table;
}
ul.nav>li{
	display: table-cell;
	position: relative;
	padding: 0px 10px;
}

.menu ul li a{
/*Make the hyperlinks as a block element, sort of a hover effect*/
	display: block;
	padding: 0px 10px;
	height:20px;

}

/*** Menu colors (customizable) ***/


ul.menu,
.menu ul,
.menu a{
	background-color:transparent;
	color: #ffffff;
}


ul.menu li:hover,
.menu  a:hover{
	color: #000000;
}

ul.menu li:hover{
	background-image: url('../images/barhover.gif');
	background-repeat: repeat-x;
}

ul.menu li:active, .nav a:active{
	background-color: transparent;
	color: #ffffff;
}


.menu a{
	text-decoration: none;
}


.menu {
  display:table;
  padding:0;
  margin:0;
  font-family: arial, helvetica, sans-serif;
  white-space:nowrap;
  list-style-type:none;
  border:0px solid #f00;
  }

.menu li {
  display:table-cell;      /* ignored by IE */
  padding:0 10px;
  }
* html .menu {
  display:inline-block;    /* for IE only */
  width:1px;               /* IE will expand 1px width to fit menu width */
  padding:0 2px;           /* fix bug in IE to get border spacing correct */
  }  


* html .menu li {
  display:inline;          /* for IE only */
  }
