body {
	margin: 0;
	font-family: 'trebuchet ms', helvetica, sans-serif;
	color: #585858;
	background: #fff url('/img/header_bg.png') repeat-x;
}

form {
	padding: 0;
	margin: 0;
}

a {
	color: #f16c00;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: 0;
}

#header {
	position: relative;
	height: 122px;
}

h1 {
	margin: 0;
	color: #fff;
	font-size: 1.3em;
	position: absolute;
	left: 0;
	bottom: 7px;
	width: 450px;
}

#header ul {
	padding: 0;
	margin: 0;
	position: absolute;
	right: 0;
	bottom: 0;
}

#header ul li {
	list-style: none;
	float: left;
}

#header ul li a {
	display: block;
	padding: 7px 10px;
	margin-right: 5px;
	background: #fff url('/img/nav_off_bg.png') repeat-x;
	border: solid 1px #fff;
	color: #616161;
	font-weight: bold;
	font-size: 0.75em;
	text-decoration: none;
}

#header ul li a.selected, #header ul li a:hover {
	background: #ff790b url('/img/nav_on_bg.png') repeat-x;
	color: #fff;
	border: 1px solid #db7623;
}

#container {
	width: 955px;
	margin: 0 auto;
}

#maincontent {
	margin: 40px 0 20px 0;
}

#maincontent p {
	font-size: 0.8em;
	margin: 0 0 15px 0;
}

#maincontent ol, #maincontent ul {
	font-size: 0.8em;
}

#footer {
	clear: both;
	padding: 10px 0;
	font-size: 0.7em;
	text-align: center;
	border-top: 1px dotted #e1e1e1;
}

@media screen and (max-device-width: 480px) {
	a:hover {
		text-decoration: none;
	}

	#container {
		width: 480px;
		margin: 0;
	}
	
	#header {
		margin-bottom: 30px;
	}
	
	#header ul {
		position: relative;
	}
	
	#header ul li a {
		padding: 9px 12px;
		margin: 7px;
		font-size: 1.2em;
		-webkit-border-radius: 6px;
	}
	
	#header ul li a:hover {
		background: #fff url('/img/nav_off_bg.png') repeat-x;
		color: #616161;
		border: solid 1px #fff;
	}
	
	h1 {
		display: none;
	}
	
	#footer {
		margin: 0 20px;
		font-size: 0.55em;
	}
}