/**
 * 100% height layout with header and footer
 * ----------------------------------------------
 * Feel free to copy/use/change/improve
 */

html,body {
	margin:0;
	padding:0;
	height:100%; /* needed for container min-height */
	background:gray;
	
	font-family:arial,sans-serif;
	font-size:small;
	color:#666;
}

h1 { 
	font:3em Verdana ,serif; 
	margin:0.2em 0;
}

h2 {
	font:1.25em Verdana ,serif; 
	margin:0 0 0.5em;
}
	h1, h2, a {
		color:#CC0033;
	}

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

div#container {
	position:relative; /* needed for footer positioning*/
	margin:0 auto; /* center, not in IE5 */
	width:800px;
	background:#f0f0f0;
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/
	min-height:100%; /* real browsers */
}

div#header {
	padding:1em 0em 0em 0em;
	/*border-bottom:6px double gray;*/
	background:#f4f4f4 url("./img/header.jpg") no-repeat;
    height:125px;
}
	div#header p {
		font-style:italic;
		font-size:1.1em;
		margin:0;
	}

div#content {
	padding:1em 1em 5em; /* bottom padding for footer */
}
	div#content p {
		text-align:justify;
		padding:0 1em;
	}

div#footer {
	position:absolute;
	width:100%;
	bottom:0; /* stick to bottom */
	background:#ddd;
	/*border-top:6px double gray;*/
}
	div#footer p {
		padding:1em;
		margin:0;
	}
	
/* Menu */

#menu {
	/*width: 750px;*/
	height: 36px;
	margin: 0 auto;
	padding: 0;
	background: #CCCCCC;
	font:1.25em Verdana ,serif; 
}

#menu h2 {
	display: none;
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu li {
	display: inline;
}

#menu a {
	display: block;
	float: left;
	width: 200px;
	height: 26px;
	padding-top: 10px;
	text-align: center;
	text-decoration: none;
	color:#330099; /*#CC0033;*/
}

#menu a:hover, #menu .active a {
	background: #6699CC; /*#9C5903;*/
	color: #FFFFFF;
}

.gridleft{
	float:left;
	width:150px;
	margin-left:15px;
	margin-top:5px;
	text-align:right;
}

.gridright{
	float:left;
	width:450px;
	margin-left:15px;
	margin-top:5px;
	text-align:left;
}