﻿* { margin:0; padding:0; }

a {
	color: #555;
	text-decoration: underline;
}

a:hover{
	color: #cdd6d8;
	background-color: #888;
	text-decoration: none;
}

li {
	list-style-type: none;
}

body {
	font-family: Verdana, sans-serif;
	text-align: center;
	line-height:1.6em;
	font-size: .9em;
	color:#000;
	background: #bcc9cb url(./images/background.png) repeat-x;
}

#wrap {
	margin: 0 auto;
	width:900px;
	text-align: left;
}

#header {
	color: #000;
	width: 900px;
	height: 180px;
	background: none;
}

#nav a {
	color: #000;
	text-decoration: none;
}

#leftbar {
	padding-top: 1em;
	float: left;
	width: 160px;
}

#nav {
	line-height: 2em;
	font-size: 1.1em;
	padding: 0 0 0 40px;
}

#nav a {
	color: #000;
	text-decoration: none;
}

#nav a:hover {
	text-decoration: underline;
	background: none;
}

#nav .selected {
	font-weight: bold;
}

#nav .selected a:hover {
	text-decoration: none;
}

#subnav {
	display: none;
	margin: 0 0 0 10px;
	border-left: 1px solid #000;
	padding-left: 5px;
}

#nav .selected #subnav li a:hover {
	text-decoration: underline;
}

#nav .selected #subnav li.selected a:hover {
	text-decoration: none;
}

#subnav li {
	font-size: .9em;
	font-weight: normal;
	line-height: 1em;
	padding: .25em 0;
}

#nav li.selected #subnav {
	display: block;
}

#container {
	background: #fff url(./images/main.png) repeat-y top center;
	width: 100%;
	margin-bottom: 30px;
}

#main {
	padding-top: 1em;
	float: left;
	width: 560px;
}

#main h1 {
	font-size: 1.4em;
	padding-bottom: .5em;
}

#main h2 {
	font-size: 1.1em;
	padding-bottom: .5em;
}

#main p {
	padding-bottom: .8em;
	vertical-align: middle;
}

#main ul {
	list-style-type: none;
	margin: 0 40px 10px 45px;
	padding-left: 10px;
}

#main ul li {
	padding: 0 0 .5em 15px;
	background-image: url(./images/arrow.png);
	background-repeat: no-repeat;
	background-position: 0 7px;
}

.code {
	font-family: "Courier New", Courier, monospace;
	margin: 0 40px 10px 40px;
	border: 1px solid #000;
	padding: 12px 12px 12px 18px;
}

#main img {
	margin: 5px;
	padding: 5px;
	vertical-align: middle;
	border: 1px solid #000;
	background: #fff;
}

#main a:hover img {
	background: #888;
}

#header img {
	border: 0;
	padding: 0;
	width: 900px;
	height: 180px;
}

#header a:hover img {
	background: none;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

#rightbar {
	padding-top: 1em;
	float: left;
	width: 180px;
}

#rightbar h2 {
	font-size: 1.1em;
	padding: 0 20px .5em 15px;
}

#rightbar ul {
	padding: 0 20px 1em 15px;
}

#footer {
	text-align: center;
	background: #fff url(./images/footer.png) no-repeat bottom center;
	height: 110px;
	clear:both;
}

#copy {
	font-size: 60%;
	padding-top: 70px;
}
.error {
	color:maroon;
	font-weight: bold;
	background-color: white;
}