/* reloaded reset - thanks, Eric :) */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* content styling */
body {
	font-family: Trebuchet, Trebuchet MS, Helvetica, sans-serif;
	font-size: 0.8em;
}

h1 {
	font-size: 3em;
	color: #9A1217;
	padding: 2em 4em 1em 5.3em;
	background: url(../images/jquery.jpg) top left no-repeat;
	border-bottom: 2px solid #9A1217;
}
a, h1 a {
	text-decoration: none;
	color: #9A1217;
}

/* nav */
ul#nav {
	width: 12em;
	margin: 1em 2em;
	float: left;
}
ul#nav li {
	margin: 0.6em 0;
	list-style: upper-roman;
}
ul#nav li a {
	color: #9A1217;
	font-weight: bold;
	text-decoration: none;
}

/* nav2 for samples etc */
h4 {
	clear: left;
	margin: 1em 0 0 0.3em;
	font-size: 1.4em;
	color: #9A1217;
	font-variant: small-caps;
	float: left;
}
ul#nav2 {	
	clear: left;
	width: 12em;
	margin: 1em 2em;
	float: left;
}
ul#nav2 li {
	margin: 0.6em 0;
	list-style: upper-roman;
}
ul#nav2 li a {
	color: #9A1217;
	font-weight: bold;
	text-decoration: none;
	padding: 0 0 1em 0;
}

/* content */
#content {
	display: block;
	margin: 1em 0 12em 16em;
	max-width: 36em;
	line-height: 1.4em;
}
#content h2 {
	font-size: 2em;
	color: #9A1217;
	font-variant: small-caps;
	margin:  0 0 0.3em 0;
}
#content h3 {
	font-size: 1.2em;
	color: #9A1217;
}
#content h5 {
	font-size: 1.2em;
	font-weight: bold;
	color: #000;
	margin: 0.6em 0;
}
#content p{
	display: block;
	margin: 1em 0;
}
#content pre {

	font-family: Courier, monospace;
	font-size: 1.2em;
	color: #9A1217;	
	margin: 1em 0;
}

#content ol {
	margin: 1em 2em;

}
#content ol li {
	list-style: decimal;
	margin: 2em 0;
}
#content ol li span {
	clear: both;
	color: #9A1217;	
	font-size: 1.1em;
	font-weight: bold;
	display: block;
	width: 3.3em;
	float: left;
}

#content ul {
	list-style: disc;
	margin: 0 0 0 1.4em;
}

#content ul li {
	margin: 0.5em 0;
}
#content ul li a {
	display: block;
}
#content ul li span.result {
	color: #999;
	font-style: italic;
}
/* footer */
#footer {
	clear: both;
	margin: 5em 0 0 0;
	display: block;
	border-top: 1px solid #9A1217;
	padding: 1em;
}