/**
 * 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 */
	min-height: 100%;
	max-height: 100%;
	background:#f4f4f4;
	font-family:arial,sans-serif;
	font-size:small;
	color:#666;
	text-align: center;
}


div#container {
	position:relative; /* needed for footer positioning*/
	margin: 0 auto; /* center, not in IE5 */
	width:70%;
	padding-left: 1em;
	padding-right: 1em;
	background: #f0f0f0;
	border: 1px solid #8e8e8e;
	border-top: 0px;
	border-bottom: 0px;
	height:95%; /* IE6: treaded as min-height*/
	height/*\**/: 92%\9;
	min-height:93%; /* real browsers */
	text-align: left;
	overflow-y: auto;
	*overflow-x: hidden;
}

div#header {
	padding:1em;
	padding-bottom: 0;
	margin-bottom: 0;
}


div#content {
	margin: 0;
	margin-left: 1em;
	margin-right: 1em;
	overflow-y: scroll;
	padding:1em 1em 1em; /* bottom padding for footer */
	padding-top: 0;
	border: 1px solid #dddddd;
	border-top: 0px;
	height: auto !important;
	min-height: 60%;
	max-height: 60%;
	height: 60%;
	background: #FFF;
}
	div#content p {
		padding:0 1em;
	}

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

div#contentheader {
	padding:0;
	float: right;
	text-align: right;
	font-size: 24px;
	font-family: Georgia, "Lucida Handwriting", sans-serif;
	height: 24px;
	width: 300px;
}

div#contentbody {
	font-size: 14px;
	font-family: Helvetica, Geneva, sans-serif;
	float: left;
	width: 100%;
	*width: 90%;
	height: 100%;
}

div#contentbody img{
	border-color: #000;
}

div#adminfooter {
	margin: 1em;
	margin-top: 0;
	padding: 0;
	background: #dcdcdc;
}
