/*
SDIY STYLESHEET
++++++++++++++++++++++++
For tomwiltshire.co.uk
October 2006
*/
  
/* +++++ Overall stuff ++++++ */
body {
	/* Background styles */
	background: url("graphics/bgnd.gif") center repeat-y;
	/* Text styles */
	color: #666666;
	font-family: Helvetica, Arial, Verdana, sans-serif;
	/* Margins and padding */
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;	/* No heavy headings, please */
	font-family: "Gill Sans", "Century gothic", Futura, Helvetica, Arial, Verdana, sans-serif;
	padding: 2px 5px;
}

.page {	/* This is the central column */
	background-color: #FFFFFF;
	width: 762px;
	margin: 0 auto;
	padding: 0;
}

.topbar {
	/* Layout styles */
	position: relative;
	height: 64px;
	/* Background styles */
	background-color: #0066FF;
	background-image: url("graphics/titlesdiy.gif");
	background-repeat: no-repeat;
	/* Margins and padding */
	margin: 0px;
	padding: 0px;
	/* Text styles*/
	color: #FFFFFF;
}

.topbar h1 {
	position: absolute;
	left: 122px;
	bottom: 0px;
	margin: 0px;
	padding: 0px;
}


/* +++++  Menu box styles   ++++++ */

.menu {
	width: 200px;
	position: fixed;
	top: 64px;
}

.menu a {
	display: block;
	margin: 6px;
	padding: 0px;
	color: #666666;
	text-decoration: none;
	font-size: small;
}

.menu a:hover {
	display: block;
	margin: 6px;
	padding: 0px;
	color: #666666;
	text-decoration: underline;
}

.menu ul {
	list-style: none;
	border: none;
	margin: 10px 0 0 10px;
	padding: 0;
}

.menu ul li {
	border: 1px solid #999999;
	background-color: #FFFFFF;
	margin: 0;
	margin-top: 5px;
	padding: 0;
}

.menu ul li a, .menu ul li a:hover {
	border: none;
	margin: 0;
	padding: 2px 5px;
	background-color: #0066FF;
	color: #FFFFFF;
	font-size: 120%;
	font-weight: normal;	/* No heavy headings, please */
	font-family: "Gill Sans", "Century gothic", Futura, Helvetica, Arial, Verdana, sans-serif;
	font-family: Helvetica, Arial, Verdana, sans-serif;
}

.menu ul li ul {
	margin: 0;
	padding: 0;
}

.menu ul li ul li {
	border: none;
	margin: 0;
	padding: 0;
}

.menu ul li ul li a, .menu ul li ul li a:hover {
	border: none;
	margin: 2px;
	margin-left: 5px;
	padding: 0;
	background-color: #FFFFFF;
	color: #666666;
	font-size: 90%;
	font-family: Helvetica, Arial, Verdana, sans-serif;
}

.menu ul li ul li a:hover {
	color: #0066FF;
}

/* +++++  Content box styles   ++++++ */

.content {
	/* Background styles */
	background-color: #FFFFFF;
	/* Margins and padding */
	margin: 10px;
	margin-left: 210px;
	padding: 10px;
	border: 1px solid #999999;
	/* Text styles */
	color: #666666;
}

.content h1 {		font-size: 150%;		}
.content h2 {		font-size: 130%;		}
.content h3 {		font-size: 120%;		}
.content h4 {		font-size: 115%;		}
.content h5 {		font-size: 110%;		}
.content h6 {		font-size: 105%;		}

.content h1 {
	background-color: #0066FF;
	color: #FFFFFF;
	margin: -10px;
	margin-bottom: 10px;
	text-align: center;
}

.content h2 {
	background-color: #0066FF;
	color: #FFFFFF;
	margin: 10px -10px;
	text-align: center;
	font-size: 130%;
}

.content h3, .content h4, .content h5, .content h6 {
	margin: 10px 0px 5px 0px;
	padding: 0;
}

.content p  {
	margin: 5px;
	padding: 0;
}

.content a {
	color: #0066FF;
	text-decoration: none;
}

.content a:hover {
	color: #0066FF;
	text-decoration: underline;
}

/* +++++  Footer box styles   ++++++ */

.footer {
	/* Background styles */
	background-color: #FFFFFF;
	/* Margins and padding */
	margin: 10px;
	padding: 10px;
	border: 1px solid #999999;
	/* Text styles */
	color: #666666;
	font-size: 75%;
	text-align: center;
}

.footer h3 {
	background-color: #0066FF;
	color: #FFFFFF;
	margin: -10px;
	margin-bottom: 10px;
	text-align: center;
}

/* +++++ Text formatting styles ++++++ */
.subtle {
	color: #999999;
	font-size: x-small;
	text-align: right;
}

p.formula {
	font-weight: bold;
	font-style: italic;
	margin-left: 30px;
}

sup {
/* I want superscripts small so they don't screw up the line spacing */
	font-size: 60%;
}

/* +++++ Table formatting styles ++++++ */

table {
	border: 1px solid #666666;
	width: 100%;
	font-size: small;
}

td, th {
	border: 1px solid #666666;
}

th {
	color: #333333;
}

/* ++++ Image formatting styles +++++ */

img, a img {
	border: 0;	 /* No borders on linked images */
	margin: 0;
}

div.figure {
	/* This provides a box for a diagram or picture
	within the content area. It can have a caption.*/
	margin: 8px auto;
	padding: 4px;
	border: 1px solid #999999;
	text-align: center;
}

div.figureleft {
	/* This provides a box for a diagram or picture
	within the content area. It can have a caption.*/
	margin: 4px 8px;
	float: left;
	padding: 4px;
	border: 1px solid #999999;
	text-align: center;
}

div.figureright {
	/* This provides a box for a diagram or picture
	within the content area. It can have a caption.*/
	margin: 4px 8px;
	float: right;
	padding: 4px;
	border: 1px solid #999999;
	text-align: center;
}

p.caption {
	/* This style wraps a caption with an image for div.figure
	within the content area */
	margin: 0px;
	margin-top: 2px;
	padding: 0px;
	font-size: 75%;
	font-style: italic;
	text-indent: 0;
}

br.spacer {
	/* This prevents the image from overlapping the content box. */
	clear: both;
}

