* {
	margin: 0;
	padding: 0;
	text-align: left;
}

body {
	background: #eee;
}

/* structure
-------------------------------------------------- */

#container {
	width: 508px;
	margin: 0 auto;
	background: #fff;
}

/* header */

#header {
	height: 80px;
	padding: 20px;
	background: #8cc540;
}
	
	#header p a {
		color: #fff;
		font: bold 18px/80px Arial, Helvetica, sans-serif;
	}

/* content */

#content {
	padding: 20px;
}

/* footer */

#footer {
	padding: 20px;
	background: #f8f8f8;
}

	#footer p {
		padding: 0;
		font: normal 12px/18px Arial, Helvetica, sans-serif;
	}
	
	#footer p a {
		color: #333;
	}
	
/* links
-------------------------------------------------- */

a {
	color: #3080cb;
}

a:hover {
	color: #8cc540;
}

/* type
-------------------------------------------------- */

h1 {
	padding: 0 0 10px 0;
	font: bold 18px/27px Arial, Helvetica, sans-serif;
}

h2 {
	clear: both;
	margin: 0 0 10px 0;
	padding: 10px 0 5px 0;
	color: #000;
	font: bold 12px/18px Arial, Helvetica, sans-serif;
	border-bottom: 2px solid #f8f8f8;
}

p {
	padding: 0 0 10px 0;
	font: normal 12px/18px Arial, Helvetica, sans-serif;
}

/* modules
-------------------------------------------------- */

/* bmi test */

form#bmitest {
	float: left;
	width: 234px;
}

	form#bmitest p {
		padding: 5px 0 !important;
	}
	
	form#bmitest label {
		width: 100px;
		float: left;
		font: normal 12px/18px Arial, Helvetica, sans-serif;
	}
	
	form#bmitest input {
		font: normal 12px/12px Arial, Helvetica, sans-serif;
	}

	form#bmitest button {
		margin: 0 0 0 100px;
		padding: 5px;
		padding:0 .25em 0 .25em;
		width:auto;
		overflow:visible;
		font: normal 12px/18px Arial, Helvetica, sans-serif;
	}
	
p#bmiresult {
	width: 234px;
	float: left;
	text-align: center;
	padding: 15px 0 0 0;
	font: bold 28px/28px Arial, Helvetica, sans-serif;
}
	
/* bmi table */

table#bmitable {
	width: 468px;
	margin: 0 0 20px 0;
	border-collapse: collapse;
	border-bottom: 2px solid #b3dc7c;
	font: normal 12px/18px Arial, Helvetica, sans-serif;
}
	
	table#bmitable tbody tr:hover {
	
	}
	
	table#bmitable thead tr th {
		padding: 8px 12px;
		border-right: 1px solid #b3dc7c;
		border-bottom: 1px solid #b3dc7c;
		background: #dbf9b4;
		font-weight: bold;
		width: 232px;
	}
	
	table#bmitable tbody tr {
	
	}
	
	table#bmitable tbody tr.alt {
		background: #eeffd8;
	}
	
	table#bmitable tbody tr td {
		padding: 10px 12px;
		border-right: 1px solid #eee;
		border-bottom: 1px solid #eee;
	}
	
	table#bmitable tbody tr.alt td {
		border-right: 1px solid #dbf9b4;
		border-bottom: 1px solid #dbf9b4;
	}
	
	table#bmitable tbody tr td a {
		text-decoration: none;
	}
	
	table#bmitable tbody tr td.rate {
		font-family: "Lucida Console";
	}
	
	table#bmitable tbody tr td.name {
		padding: 0;
	}
	
	table#bmitable tbody tr td.name a {
		display: block;
		padding: 10px 12px;
		color: #476977;
		font-weight: bold;
	}
	
	table#bmitable tbody tr td.name a:hover {
		text-decoration: underline;
	}
	
	table#bmitable tr td img {
		display: block;
	}
	
/* extlinks */

ul.extlinks {
	padding: 0 0 0 20px;
}

	ul.extlinks li {
		font: normal 12px/18px Arial, Helvetica, sans-serif;
	}