/**** COLOURS ****

logo-light: #afd9e2
logo-dark: #63b4c6
gradient-dark: #5c7b99
gradient-light: #86a0b8 <-- unused
gradient-midpoint: #b8c9d9
background: #f7faff

orange: #ff5500
green link: #bfffdd
unvisited link: #12b7dc
visited link: #4e8d9b <-- also green link hover
side background: #f2f6fa;
*/

body
{
	margin: 0;
	padding: 0;
	background: #f7faff;
	height: 100%;
	font-family: "Verdana", "Helvetica", sans-serif;
}

a
{
	text-decoration: none;
}

#content a:hover
{
	border-bottom: 1px dotted;
}

a:link
{
	color: #12b7dc;
}

a:visited
{
	color: #4e8d9b;
}

img
{
	border: none;
	display: block;
	position: relative;
}

ul
{
	list-style-type: none;
	padding-left: 0;
	margin-left: 0;
}

ul li
{
	margin: 1.2em 1em 1.2em 1.5em;
	padding-left: 20px;
	background: url(/media/list-bullet.png) no-repeat left 0.25em;
	
}

a:active, a:focus
{
	outline: none;
}

#content p a:focus, #content p a:active,
#content a:focus img, #content a:active img,
#content li a:focus, #content li a:active
{
	border: 1px dotted #ff5500;
}

/* DELETE AFTER UPGRADE */
a:focus span.nav, a:focus span.subnav, a:active span.nav, a:active span.subnav
{
	color: #ff5500;
	border: none;
}
/* END DELETE */

a:focus div.nav, a:focus div.subnav, a:active div.nav, a:active div.subnav
{
	color: #ff5500;
	border: none;
}

/**** STRUCTURE ****/

div#container
{
	position: absolute;
	margin: 0;
	padding:0;
	min-width: 150px;
	width: 15%;
	min-height: 31em;
	height: 100%;
	background: #f2f6fa url(/media/sidebg.png) repeat-y right;
}

img#logo
{
	float:right;
	margin: 0 -115px 0 0px;
}

div#header
{
	position: absolute;
	width: 100%;
	height: 150px;
	background: url(/media/headbg.png) repeat-x;
}

div#content
{
	text-align: left;
	position: absolute;
	min-width: 600px;
	width: 250%;
	margin: 150px 0 0 100%;
	padding: 20px 0 2em 20px;
}

/**** NAVIGATION ****/

div#sidenav
{
	position: fixed;
	padding: 0 40px 0 0;
	width: 15%;
	min-width: 150px;
	text-align: right;
	bottom: 1em;
	z-index: 1;
}

div#sidebar
{
	position: absolute;
	height: 100%;
	width: 300px;
	margin: 0 0 0 -320px;
	background: #f2f6fa url(/media/sidebg.png) repeat-y right;
}

/* DELETE AFTER UPGRADE */
span.nav
{
	display: block;
	font: bold 1em "Arial", "Helvetica", sans-serif;
	color: #5c7b99;
	vertical-align: middle;
	line-height: 30px;
	padding: 0 35px 5px 0;
	background: url(/media/nav-transparent.png) no-repeat top right;
}

span.subnav
{
	display: block;
	font: bold 0.8em "Arial", "Helvetica", sans-serif;
	color: #f7faff;
	vertical-align: middle;
	line-height: 1.5em;
}

:link span.nav, :visited span.nav
{
	color: #f7faff;
}

a span.subnav
{
	cursor: pointer;
	color: #afd9e2;
}

a:hover span.subnav
{
	cursor: pointer;
	color: #5c7b99;
}

a:hover span.nav
{
	cursor: pointer;
	background: url(/media/nav-bright.png) no-repeat top right;
}

span.subnav img.bullet
{
	vertical-align: middle;
	margin: 0 0 0 10px;
	border: 0;
	display: inline;
}

div#separate
{
	margin: 10px 0;
}

div#separate span.nav
{
	background: url(/media/nav-selected.png) no-repeat top right;
	padding-right: 20px;
}
/* END DELETE */

div.nav
{
	font: bold 1em "Arial", "Helvetica", sans-serif;
	color: #5c7b99;
	vertical-align: middle;
	line-height: 30px;
	padding: 0 35px 5px 0;
	background: url(/media/nav-transparent.png) no-repeat top right;
}

div.subnav
{
	font: bold 0.8em "Arial", "Helvetica", sans-serif;
	color: #f7faff;
	vertical-align: middle;
	line-height: 1.5em;
}

:link div.nav, :visited div.nav
{
	color: #f7faff;
}

a div.subnav
{
	cursor: pointer;
	color: #afd9e2;
}

a:hover div.subnav
{
	cursor: pointer;
	color: #5c7b99;
}

a:hover div.nav
{
	cursor: pointer;
	background: url(/media/nav-bright.png) no-repeat top right;
}

div.subnav img.bullet
{
	vertical-align: middle;
	margin: 0 0 0 10px;
	border: 0;
	display: inline;
}

div#separate
{
	margin: 10px 0;
}

div#separate div.nav
{
	background: url(/media/nav-selected.png) no-repeat top right;
	padding-right: 20px;
}

/**** CONTENT ***/

#content
{
	font-size: 0.7em;
}

#content p
{
	padding: 0;
	margin: 0 0 1em 0;
	line-height: 1.5em;
}

#content p.clearer
{
	clear:both;
	line-height:0.2em;
	margin:0;
	padding:0;
}

/**** HOME ****/

#content div.blurb p
{
	text-align: justify;
	width: 57%;
	margin-top: -0.5em;
	padding-bottom: 0.7em;
}

/* DELETE AFTER UPGRADE */
#content div.announcements
{
	position: relative;
	padding: 3.5em 0 0;
	margin: 0 0 0 0em;
	border-top: 1px dashed #5c7b99;
	border-bottom: 1px dashed #5c7b99;
	width: 40%;
	float: right;
}
/* END DELETE */

#content div.right-column
{
	margin: 0;
	width: 40%;
	float: right;
}

#content div.right-column-item
{
	position: relative;
	padding: 2.5em 0 0;
	margin: 0 0 20px;
	border-top: 1px dashed #5c7b99;
	border-bottom: 1px dashed #5c7b99;
}

#content div.right-column-item.announce
{
	padding: 3.5em 0 0;
}

#content div.right-column-item .item p
{
	text-align: center;
	margin: -1.2em 0 0.2em;
	font-weight: bold;
}

#content div.right-column-item img
{
	background: white;
	padding: 3px;
	border: 1px solid #b8c9d9;
	display: block;
	margin: 0 auto;
}

#content div.right-column-item .gallery-list-container
{
	width: 220px;
	height: 55px;
	margin: 0.3em auto 0.1em;
}

#content div.right-column-item .gallery-image
{
	width: 55px;
	height: 55px;
}

#content div.right-column-item .gallery-image img
{
	padding: 1px;
	display: inline;
}

#content div.right-column-item .gallery-image span
{
	line-height: 52px;
}

#content div.right-column-item div.item
{
	position: relative;
	padding: 1.5em 0 0.5em;
	border: 2px solid #b8c9d9;
	margin: 1.5em 3px 0;
	text-align: center;
}

#content div.right-column-item h2
{
	font-weight: bold;
	font-size: 0.95em;
	color: #5c7b99;
	margin: 0;
	padding: 0.7em;
	display: inline;
	position: relative;
	line-height: 1.1em;
	z-index: 1;
	top: -2.3em;
	background: #f7faff;
}

#content div.announcement
{
	margin: 0;
	padding: 0 1em 1em;
	font-size: 0.9em;
}

#content div.announcement p
{
	display: inline;
	margin: 0;
	padding: 0;
}

#content div.whatson
{
	position: relative;
	padding: 0 0 1em;
	border-top: 1px dashed #5c7b99;
	border-bottom: 1px dashed #5c7b99;
	width: 57%;
}

#content div.spacer
{
	height: 2.8em;
}

#content div.item div.spacer
{
	height: 1.5em;
}

#content div.whatson div.item
{
	position: relative;
	padding: 0 0 0.5em;
	border: 2px solid #5c7b99;
	margin: 2.2em 0 0 1em;
}

#content div.whatson h2
{
	font-weight: bold;
	font-size: 0.95em;
	color: #5c7b99;
	margin: 0;
	padding: 0.7em;
	border: 2px solid #5c7b99;
	display: inline;
	position: absolute;
	line-height: 1em;
	z-index: 1;
	top: -1.5em;
	left: -1em;
	background: #f7faff;
}

#content div.whatson p
{
	margin: 0.2em 0.7em 0.2em 1em;
	font: 0.95em "Georgia", serif;
}

#content div.blog
{
	position: relative;
	margin: 1.7em 0 0;
	padding: 0;
	border-top: 1px dashed #5c7b99;
	border-bottom: 1px dashed #5c7b99;
	width: 57%;
}

#content div.blog p.info
{
	text-align: right;
	padding: 0.7em 0.2em 1em 0;
	font-size: 0.9em;
}

#content div.blog h2
{
	padding: 0 0 0 0.4em;
	margin: 0 0 1em;
	font-size: 1.2em;
}

#content div.blog p
{
	padding: 0 0 0 0.5em;
	margin: 0 0 1em;
}

#content div.blog .blog-footer
{
	padding-left: 0.2em;
	margin: 0 0 0.5em;
}

#content div.blog .comments-link
{
	float: right;
}

/**** PROJECTS ****/

#content div.project
{
	position: relative;
	background: #b8c9d9;
	margin: 0 0 1.5em 0;
	border-top: 1px dashed #5c7b99;
	padding: 2.5em 0 0 0;
	border-bottom: 1px dashed #5c7b99;
	width: 100%;
}

h1
{
	font-weight: bold;
	font-size: 1em;
	color: #f7faff;
	margin: 0;
	padding: 0.8em 0;
	position: absolute;
	display: inline;
	background: #5c7b99;
	top: -1px;
	z-index: 1;
}

h1 span
{
	position: relative;
	top: -4px;
	left: -4px;
	background: #86a0b8;
	padding: 0.8em 1em;
	z-index: 2;
}

h1 span a
{
	padding: 0.8em 0;
}

h1 a:link, h1 a:visited, div.project :link, div.comments :link
{
	color: #bfffdd;
}

#content h1 a:hover
{
	color: #4e8d9b;
	border: none;
}

#content div.project p
{
	margin: 1em 1.2em;
	text-align: justify;
	font-size: 1em;
	line-height: 1.3em;
}

#content div.standfirst
{
	float: right;
	position: relative;
	z-index: 0;
	padding: 1em 0.5em 0.5em 1em;
	border-top: 1px dotted #5c7b99;
	border-bottom: 1px dotted #5c7b99;
	border-left: 1px dotted #5c7b99;
	background: #f7faff;
	max-width: 50%;
	font: 0.95em "Georgia", serif;
	margin: -0.5em 0 0.5em 1.2em;
}

#content div.standfirst :link
{
	color: #12b7dc;
}

#content div.standfirst p
{
	margin: 0 0 0.5em 0;
	padding: 0;
	text-align: left;
	line-height: 1.2em;
}

#content div.image
{
	float: right;
	clear: right;
	width: 312px;
	margin: 0.7em 0 0.7em 1.2em;
	background: #f7faff;
	border-top: 1px dotted #5c7b99;
	border-bottom: 1px dotted #5c7b99;
	border-left: 1px dotted #5c7b99;
}

#content div.image img
{
	margin: 16px auto;
}

#content div.image p.footnote
{
	margin: -17px 16px 1.5em;
	padding: 0;
	line-height: normal;
	text-align: right;
	font-size: 0.8em;
}

#content div.image p.caption
{
	margin: -8px 16px 1em;
	padding: 0;
	line-height: normal;
	font: 0.95em "Georgia", serif;
}

/**** BLOG ****/

#content div.entry
{
	position: relative;
	margin: 0 0 1.5em;
	padding: 0;
	border-top: 1px dashed #5c7b99;
	border-bottom: 1px dashed #5c7b99;
	width: 100%;
}
#content div.entry.padded
{
	padding: 3.7em 0 0.5em;
}

#content div.entry h2
{
	font-size: 1.2em;
	margin: 0;
	padding: 0;
}

#content div.entry ul
{
	margin: 0 0 1em;
}

#content div.entry ul li
{
	margin: 0.5em 1.5em;
}

#content div.entry p.comments-link
{
	text-align: right;
	padding: 0.7em 0.3em 0 0;
	margin: 0 0 1em;
	font-weight: bold;
}

#content div.entry p.info
{
	margin: 0 0 1em;
	padding: 0;
	font-size: 0.9em;
}

#content div.entry p
{
	margin: 0 0 1.2em;
}

#content p.pagelist.latest-blog
{
	padding-right: 0;
}

#content div.entry-container
{
	padding: 0 7%;
}

#content div.entry p.entry-next
{
	margin: -0.8em 0 1.5em;
	float: left;
}

#content div.entry p.entry-prev
{
	float: right;
	margin: -0.8em 0 1.5em;
}

#content div.comments
{
	position: relative;
	margin: -1.5em 0 1.5em;
	padding: 3em 0 0.3em;
	border-bottom: 1px dashed #5c7b99;
	background: #b8c9d9;
	width: 100%;
}

#content .comments p.comment
{
	padding: 1.2em 1.5em;
	margin: 0 14% 1.5em;
	border: 2px solid #86a0b8;
}

#content .comments p.comment-info
{
	position: absolute;
	right: 0;
	padding: 0.2em 0.5em 0.2em;
	margin: -1em 10% 0 0;
	font-size: 0.9em;
	text-align: right;
	background: #B8C9D9;
}

#content .comments p.pagelist
{
	margin: -0.5em 0 1em;
	padding-right: 14%;
}

.accept
{
	display: none;
}
.comments form
{
	display: block;
	padding: 0;
	width: 40em;
	margin: 0 auto 1em;
}

.comments form p
{
	clear: both;
}

.comments label#id_name, .comments label#id_comment
{
	display: inline;
	float: left;
	padding: 0;
	margin: 0;
	text-align: right;
	width: 37%;
}
.comments #recaptcha_widget_div
{
	clear: both;
}

.comments input#id_name, .comments textarea#id_comment
{
	float: right;
	width: 57%;
	margin: 0 7px 0.5em;
	padding: 0 0 0 0;
}

.comments #submit
{
	margin-top: 0.5em;
	width: auto;
	padding: 3px;
	font-size: 0.95em;
	color: #5c7b99;
	font-weight: bold;
}

.comments .recaptchatable .recaptcha_image_cell
{
	background-color: #b8c9d9 !important;
}

.comments div#recaptcha_widget_div
{
	margin-top: -0.75em;
	margin-bottom: 0em;
}

/**** GALLERY ****/

span.arrows
{
	letter-spacing: -0.3em;
}

#content .gallery
{
	position: relative;
	margin: 0 0 1.5em;
	padding: 3.2em 0 0 0;
	border-top: 1px dashed #5c7b99;
	border-bottom: 1px dashed #5c7b99;
}

#content .gallery img
{
	display: inline;
	vertical-align: middle;
	background: white;
	padding: 4px;
	margin: 0;
	border: 1px solid #b8c9d9;
}

#content .gallery p
{
	clear: both;
	margin: 0.6em 2px 0.7em;
}

#content .gallery-container
{
	padding: 3.2em 0 0;
	position: relative;
	border-top: 1px dashed #5c7b99;
}

#content .gallery-list-container
{
	margin: 0 auto;
	width: 580px;
}

#content .gallery-list-link
{
	position: absolute;
	text-align: right;
	top: 5px;
	width: 100%;
	letter-spacing: -0.08em;
}

#content .gallery-image
{
	width: 145px;
	height: 145px;
	float: left;
	position: relative;
	text-align: center;
}

#content .gallery-image img
{
	background: white;
	padding: 4px;
	border: 1px solid #b8c9d9;
	display: inline;
	vertical-align: middle;
	margin: 0 auto;
}

#content .gallery-image span
{
	line-height: 138px;
	vertical-align: middle;
	font-size: 1px;
}

#content .image-info
{
	margin-left: 5px;
}

#content .image-nav
{
	float: right;
	margin-right: 10px;
}

#content .image-container
{
	margin: 0.7em 0 2em;
	padding-top: 1em;
	border-top: 1px dashed #5c7b99;
}

#content .image-container img
{
	margin: 0 auto;
	background: white;
	padding: 1px;
	border: 1px solid #b8c9d9;
}

#content .image-container p
{
	margin: 0.7em 0 0;
	text-align: center;
}

#content .pagelist
{
	padding-right: 1em;
	margin: 0;
	text-align: right;
}

#content .pagelist .pagelink
{
	margin: 0 0.4em;
	letter-spacing: -0.25em;
	font-weight: bold;
}

#content p.copyright
{
	margin: 1.2em auto;
	text-align: center;
	font-size: 0.8em;
	line-height: normal;
	color: #5c7b99;
}

/**** CONTACT ****/

.contact label
{
	display: block;
}

.contact input
{
	width: 290px;
}

.contact textarea
{
	clear: both;
	width: 436px;
}

.contact #submit
{
	margin-top: 0.5em;
	width: auto;
	padding: 0.2em 0.7em;
	color: #5c7b99;
	font-weight: bold;
}

ul.errorlist
{
	margin-bottom: 0;
}

ul.errorlist li
{
	color: #ff5500;
	font-weight: bold;
	margin-bottom: 0.4em;
	margin-left: 0;
}

/**** ReCAPTCHA ****/

.recaptchatable .recaptcha_image_cell
{
	background-color: transparent !important;
}

div#recaptcha_widget_div
{
	margin-top: -0.75em;
	margin-bottom: -1em;
}

/**** IE 7 Hacks ****/

*:first-child+html #content div.project
{
	padding-top: 3.5em;
}

*:first-child+html h1 span a
{
	padding: 0;
}

/**** IE 6 Hacks ****/

/* A solid contender for the weirdest bug ever */
* html a:hover
{
	border-width: 1px;
}

* html #content a:hover
{
	border: none;
	text-decoration: underline;
}

* html div#container
{
	width: 150px;
	/* Alternative hack (requires JavaScript) */
	/* width: expression( document.body.clientWidth < 1000 ? "150px" : "15%" );*/
}

* html div#content
{
	width: 600px;
	margin-left: 0;
	padding-left: 170px;
	overflow: hidden;
}

* html img#logo
{
	position: absolute;
	margin: 0;
}

* html body div#sidebar
{
	height: 10000em;
}

* html div#header
{
	margin: 0 -95px 0 0;
}

* html div#sidenav
{
	position: absolute;
	bottom: 1em;
	width: 150px;
}

* html div#sidebar
{
	margin: 0 0 0 -320px;
}

* html h1 span a
{
	padding: 0;
}

* html #content div.project
{
	z-index: -1;
	padding-top: 3.5em;
}

* html #content div.standfirst
{
	width: 50%;
}

* html #recaptcha_table, * html #content .comments .recaptchatable .recaptcha_image_cell
{
	background: white !important;
}

/**** IE 5 for MAC Hacks ****/
/*
* html>body div#container
{
	height: auto;
}

* html>body div#sidebar
{
	height: 30em;
}*/