/* HTML tags */

html, body {
	margin: 0;
	padding: 0;
}

body {
	height: 100%;
}


#page, #content, .post, .entry{
	min-height: 100%;
}
.column {
	height: 100%;
}


p {
	margin: 0;
	padding: 0.75em 0;
}

a img {
	border: none;
}


h1 {
	padding: 1em 0 1em 25px;
	margin: 0;
}

h2 {
	padding: 0.5em 0 0 0;
}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
}

h3 {
	padding: 0;
	margin: 0;
}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
}

acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
}

.center {
	text-align: center;
}

hr {
	display: none;
}


table td {
	vertical-align: top;
}

/* Layout structure */

#page {
	margin: 12px auto;
	padding: 0;
	width: 800px;
}
 
.menu {
	padding: 0;
	margin: 0;
}

.menu li {
	display: block;
	position: relative;
	
	float: left;
	padding: 0;
	margin: 0;
}

#navigation,
#navigation .menu,
#navigation .menu li,
#navigation .menu li ul
{
	position: relative;
	z-index: 100;
}

#navigation {
	position: relative;
	display: block;
	height: 3.3em;
	padding: 0 0 0 0;
}

#navigation .menu
{
	height: 2.2em;
	padding: 1.1em 0 0 60px;

}

#navigation .menu li {
	padding: 0 1em 1em 1.65em;
}

#navigation .menu li.home-page
{
	padding-left: 0;
}

/* Dropdown menu */

#navigation .menu li ul {
	display: none;
	position: absolute;
	
	top: 1.5em;
	left: 1em;
	
	padding: 0;
	margin: 0;
	
	z-index: 100;
}

#navigation .menu li:hover ul,
#navigation .menu li.ie-hover ul{
	display: block;
}

#navigation .menu li ul li {
	float: none;
	display: block;
	width: 13em;	/* to trigger haslayout for IE6 */
}

#navigation .menu ul a,
#navigation .current_page_item ul a
{
	display: block;
	padding: 4px 7px;
}

#sitelinks .menu li,
#footer .menu li
{
	display: inline;
	float: none;
}


#footer .menu li {
	/* Hide the non-page menu links in the footer menu */
	display: none;
}

#footer .menu li.pagetab {
	display: inline;
}

#header-image {
	padding: 5px 0;
}

#header-image a,
#header-image img {
	display: block;
}

#pipeline {
	clear: left;
	overflow: hidden;
}

#pipeline .menu
{
	height: 31px;
	padding: 0;
}

#pipeline .menu li 
{
	text-align: center;
}


#pipeline .menu li a
{
	/* Note: Check ie6.css for some IE6 hacks */
	
	display: block;
	height: 1.9em;
	
	padding: 0.7em 1.5em 0.25em 1.5em;
}

#pipeline .studywiz-sublevel-1 {
	display: none;
}

#pipeline .tell-me-more-page 
{
	/* Hack to make the last pipeline item fit perfectly against the RHS */
	float: right;	
}


.column .menu li {
	float: none;
}

#content {
	position: relative;
	z-index: 1;
}


/* Homepage tweaks */

.home #content {
	padding: 0;
	background: none;
}

.home #content .post {
	margin: 0;
}


.home #content .entry-text p img {
	display: block;
}

.home #content .entry-text a img {
	display: inline;
}

.home #content .entry-text,
 .singlecolumn .entry-text 
{
	width: 100%;
}

/* Main content */

.maincolumn {
	display: block;
	float: left;
	width: 510px;
	margin: 0 30px;
}

.singlecolumn {
	padding-left: 280px;
}

.singlecolumn .entry-text {
	float: none;
}


.column
{
	float: left;
	width: 200px;
	overflow: hidden;
	padding: 10px;
	
	/* this is necessary so that IE6 doesn't place the column behind the content background image */
	position: relative;	
	z-index: 10;
}

.column form {
	margin: 0;
}


.col-bottom {
	position: relative;
	bottom: 0;
	left: 0;
	
	width: 263px;
}

#sitelinks {
	clear: both;
	margin: 10px 0 0 0;
}

#footer {
	padding: 20px 0;
	margin: 20px 0 0 0;
	clear: both;
}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
}


#footer .menu ul {
	display: none;
}


/* Post and category page hacks */

.pagetitle {
	display: none;	/* hide the title on most pages */
}

.single .pagetitle {
	display: block; /* show it on posts */
}

.cat-28 .pagetitle {
	display: none;  /* hide it on newsletter pages cos these are special */
}

.category .entry-text .entry .column {
	display: none;	/* hide post columns in the category view */
}


/* Layout classes */

#content {
	position: relative;
	z-index: 1;
	padding-top: 10px;
}

.narrowcolumn {
}

.news-post {
	padding: 0 0 1em 0;
	margin: 0;
}

.news-post h2 {
	margin: 0;
}

.post hr {
	display: block;
}


/* Wide (no column) template tweaks */

.widecolumn {
	background: none;
	padding: 0;
}

.widecolumn .entry-text 
{
	width: 100%;
}

.widecolumn .post {
	margin: 0;
}


.postmetadata {
	clear: left;
	margin: 0;
	padding: 0.5em 0 1em 0;
}

.search .postmetadata {
	padding: 0.25em 0;
}

.search .news-post {

}


/* Image styles */
p img {
	padding: 0;
	max-width: 100%;
}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}


/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 33px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
} 

html>body .entry li {
	margin: 7px 0 8px 10px;
}

html>body .entry .column ul {
	padding-left: 17px;
	padding-right: 20px;
} 

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
}

/* Undo the styles for the specs table... */ 
.specs ul {
	list-style: outside !important;
	padding-left: 2em !important;
}

.specs ul li {
	margin: 0 0 0 10px !important;
	padding-left: 1em !important;
}

.specs ul li:before {
	content: "";
}

#sidebar #links li:before {
	content: "";
}

/* Comments */

#comments {
	border-top: 1px solid #ccc;
	margin-top: 1em;
}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
}

.entry ol li {
	margin: 0;
	padding: 0;
}


.alt {
	margin: 0;
	padding: 10px;
}

.commentlist {
	padding: 0 !important;
}

.commentlist li {
	margin: 0 !important;
	padding: 10px !important;
	list-style-type: none;
}


.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
}


.commentmetadata a {
	text-decoration: none;
}

.commentmetadata small a {
	color: #666;
}

.commentlist p {
	margin: 0.6em 1em 0.6em 0;
	padding: 0;
}

#commentform p {
	margin: 5px 0;
}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}

.commentmetadata {
	margin: 0;
	display: block;
}




#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 3px;
}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
}

ul li {
	list-style: none;
}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 0; 
}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
}

#sidebar #searchsubmit {
	padding: 1px;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}

#commentform textarea {
	width: 95%;
	padding: 2%;
}

#commentform #submit {
	margin: 0;
	float: right;
}
/* End Form Elements */


/* Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
	
.navigation {
	display: block;
	text-align: center;
	padding: 2em 0 0 0;
}

.navigation .alignleft,
.navigation .alignright {
	margin-top: -1em;
}

/* Tech Specs Table */

table.specs {
	border-collapse: collapse;
}

table.specs td {
	margin: 0;
	padding: 5px 5px 0 0 ;
	
	width: 48% /* might regret this later ... */
}

table.specs h2, table.specs h3 {
	padding: 4px 0;
	margin: 0;
}

/* Event details table */

table.event {
	border-collapse: collapse;
}

table.event td, table.event th {
	margin: 0;
	padding: 0.5em 1.5em 0 0;
}


/* Expanding Box widget */

.expanding-box {
	display: none;
	padding: 0 0 8px 0;
	margin: 0;
}

.expanding-link {
	padding: 0;
	margin-bottom: 20px;
}

.expanding-link div {
	display: block;
	padding: 0 14px 2px 0;
	margin: 0;
	border-top: 1px solid white;
}

.column .expanding-box {
	margin: 0 1px;
}

.column .expanding-box p {
	padding-left: 13px;
	padding-right: 13px;
}

/* Utility Classes */

.floatright, .alignright {
	float: right;
}

.floatleft, .alignleft {
	float: left
}

.clearleft	{ clear: left; }
.clearright	{ clear: right; }
.clear		{ clear: both; }