/*
 * Backgrounds
 * ------------------------
 * Body         :   #333
 * Wrapper      :   #222
 * Content      :   #f6f6f6
 *
 * Borders
 * ------------------------
 * Body         :   #000
 * Wrapper      :   #111
 * Content      :   #222
 * Main         :   #444
 * Item         :   #aaa
 * 
 * Text
 * ------------------------
 * Main         :   #111
 * Titles       :   #fed
 * Links        :   #a81600
 * Page Links   :   #f21
 * Date         :   #666
 */

body
{
	background: #333 url("/_images/background.gif") top left repeat;
	border: 2px solid #000;
	border-bottom: 2px solid transparent;
	padding-bottom: 56px;
	height: 100%;
	color: #eee;
}

img#logo
{
	width: 283px;
	margin: 3px auto 0;
	display: block;
}

#wrapper
{
	padding: 0;
	margin: 4px auto 0.75em;
	width: 722px;
	border: 1px solid #111;
	background: #222;
}

#container
{
	padding: 0;
	margin: 0;
}

#content
{
	margin: 0;
	padding: 0;
	background: #f6f6f6 url("/_images/topcorner.gif") top left no-repeat;
	border: 1px solid #222;
	border-top: 1px solid #333;
}

body.home #wrapper
{
	margin-top: 16px;
}

body.home #content
{
	margin: 0;
	padding: 0;
	background: #222 url("/_images/topcorner.gif") top left no-repeat;
}

#main
{
	margin: 0;
	padding: 0 10px 0 16px;
	
	color: #111;
	background: transparent url("/_images/bottomcorner.gif") bottom right no-repeat;
	
	border: 1px solid #444;
	border-top: 1px solid transparent;
	
	font-size: 1.2em;
}


#topnav
{
	padding: 0;
	background: url("/_images/nav/background.gif") 50% 50% no-repeat;
	width: 722px;
	height: 22px;
}

#topnav ul
{
	width: 678px;
	list-style: none;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

#topnav ul li
{
	float: left;
	margin: 0 1px 0 0;
	font-size: 0.625em;
	padding: 0;
	white-space: nowrap;
	width: 111px;
	height: 22px;
}

#topnav ul li a
{
	display: block;
	margin: 0;
	padding: 0;
	width: 111px;
	height: 22px;
	white-space: nowrap;
}

html>body #topnav ul li a { width: auto; }

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#topnav ul li a
{
	float: none;
}
/* End IE5-Mac hack */

#topnav a:hover
{
	text-decoration: none;
}


/*
#topnav a#who
{ background: url("/_images/nav/buttons-off.gif") -120px 0 no-repeat; }

#topnav a#what
{ background: url("/_images/nav/buttons-off.gif") -240px 0 no-repeat; }

#topnav a#workbook
{ background: url("/_images/nav/buttons-off.gif") -360px 0 no-repeat; }

#topnav a#people
{ background: url("/_images/nav/buttons-off.gif") -480px 0 no-repeat; }

#topnav a#hotlinks
{ background: url("/_images/nav/buttons-off.gif") -600px 0 no-repeat; }

#topnav a#contact
{ background: url("/_images/nav/buttons-off.gif") -720px 0 no-repeat; }


body.who #topnav a#who, #topnav a#who:hover
{ background: url("/_images/nav/buttons-on.gif") -120px 0 no-repeat; }

body.what #topnav a#what, #topnav a#what:hover
{ background: url("/_images/nav/buttons-on.gif") -240px 0 no-repeat; }

body.workbook #topnav a#workbook, #topnav a#workbook:hover
{ background: url("/_images/nav/buttons-on.gif") -360px 0 no-repeat; }

body.people #topnav a#people, #topnav a#people:hover
{ background: url("/_images/nav/buttons-on.gif") -480px 0 no-repeat; }

body.hotlinks #topnav a#hotlinks, #topnav a#hotlinks:hover
{ background: url("/_images/nav/buttons-on.gif") -600px 0 no-repeat; }

body.contact #topnav a#contact, #topnav a#contact:hover
{ background: url("/_images/nav/buttons-on.gif") -720px 0 no-repeat; }
*/


#topnav a
{
    -webkit-transition: all 0.7s ease-in;
    -moz-transition: all 0.7s ease-in;
    transition: all 0.7s ease-in;
}

#topnav a:hover
{
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}


#topnav li#who
{ background: url("/_images/nav/buttons-off.gif") -120px 0 no-repeat; }

#topnav li#what
{ background: url("/_images/nav/buttons-off.gif") -240px 0 no-repeat; }

#topnav li#workbook
{ background: url("/_images/nav/buttons-off.gif") -360px 0 no-repeat; }

#topnav li#people
{ background: url("/_images/nav/buttons-off.gif") -480px 0 no-repeat; }

#topnav li#hotlinks
{ background: url("/_images/nav/buttons-off.gif") -600px 0 no-repeat; }

#topnav li#contact
{ background: url("/_images/nav/buttons-off.gif") -720px 0 no-repeat; }


#topnav li a
{
	opacity: 0;
	-moz-opacity: 0;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
}


#topnav li#who a
{ background: url("/_images/nav/buttons-on.gif") -120px 0 no-repeat; }

#topnav li#what a
{ background: url("/_images/nav/buttons-on.gif") -240px 0 no-repeat; }

#topnav li#workbook a
{ background: url("/_images/nav/buttons-on.gif") -360px 0 no-repeat; }

#topnav li#people a
{ background: url("/_images/nav/buttons-on.gif") -480px 0 no-repeat; }

#topnav li#hotlinks a
{ background: url("/_images/nav/buttons-on.gif") -600px 0 no-repeat; }

#topnav li#contact a
{ background: url("/_images/nav/buttons-on.gif") -720px 0 no-repeat; }

body.who #topnav li#who a,
#topnav li#who a:hover,
body.what #topnav li#what a,
#topnav li#what a:hover,
body.workbook #topnav li#workbook a,
#topnav li#workbook a:hover,
body.people #topnav li#people a,
#topnav li#people a:hover,
body.hotlinks #topnav li#hotlinks a,
#topnav li#hotlinks a:hover,
body.contact #topnav li#contact a,
#topnav li#contact a:hover
{
	opacity: 1.0;
	-moz-opacity: 1.0;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
}


#footer
{
	position: fixed;
	bottom: 0;
	left: 0;
	padding: 10px 0 0;
	margin: 0;
	width: 100%;
	z-index: 5;
	background: transparent url("/_images/footer.png") repeat-x left top;	
}

#main p, #main li
{
	line-height: 1.5em;
}

#main p img
{
	margin-left: 10px;
}

img.rocket
{
	padding-left: 10px;
}

#footer div.wrapper
{
	margin: 0 auto 3px;
	padding: 6px 8px 6px 34px;
	width: 368px;
	height: 24px;
	color: #fed;
	background: transparent url("/_images/title-background_b.gif") 50% 50% no-repeat;
	border: none;
	text-align: left;
	line-height: 1.25em;
}

body.home div#content
{
	width: 100%;
	text-align: center;
}

div.pagetitle
{
	margin: 16px 0 18px;
	padding: 8px 8px 6px 34px;
	font-size: 1.4em;
	color: #fed;
	background: transparent url("/_images/title-background.gif") 50% 50% no-repeat;
	text-align: left;
	width: 358px;
	height: 22px;
}

div.workbook
{
	width: 100%;
	position: relative;
	margin: 10px 0 0;
	padding: 0;
}

a.item
{
	float: left;
	position: relative;
	width: 160px;
	height: 172px;
	margin: 0 4px 8px 0;
	border: 2px solid #aaa;
	padding: 2px;
}

a.item div.title
{
	margin-top: 2px;
	font-size: 0.9em;
}

a.item div.moreinfo
{
	position: absolute;
	bottom: 2px;
	width: 160px;
	margin: 0;
	text-align: right;
	font-size: 0.8em;
	color: #fff;
}

a.item:hover
{
	background: #222;
	border: 2px solid #a81600;
	color: #fff;
	text-decoration: none;
}

a.item img
{
	display: block;
}

div.articleListItem
{
	clear: left;
	padding: 4px 4px 4px 0;
	margin: 1em 0 0 2em;
}

div.articleListItem div.title
{
	font-weight: bold;
	font-size: 1.1em;
}

div.articleListItem div.date
{
	font-style: italic;
	color: #666;
	font-size: 0.9em;
}

div.articleListItem div.body
{
	line-height: 1.3em;
	font-size: 0.9em;
}

div.articleListItem:after
{
	margin: 0 0 2px;
	content: "."; 
	display: block; 
	height: 1px;
	clear: left;
	visibility: hidden;
}




div.article
{
	margin: 1em 0.5em 1em 0.5em;
}

div.article h2
{
	margin: 1.5em 0 0;
	font-size: 1.1em;
	color: #a81600;
	display: block;
	border: none;
	background: none;
	padding: 0;
}

div.article h3
{
	margin: 1.5em 0 0;
	font-size: 1em;
}

div.article hr
{
	border: none 0; 
	border-top: 2px dashed #a81600;
	border-bottom: 2px dashed #999;
	width: 70%;
	height: 2px;
	margin: 10px auto 0 auto;
	text-align: center;
}

div.article div.date
{
	font-style: italic;
	color: #666;
	font-size: 0.9em;
}




div.detail
{
	margin: 8px 0;
	position: relative;
	font-size: 0.95em;
}

div.detail div.title
{
	margin: 16px 0 16px;
	padding: 8px 8px 6px 34px;
	width: 358px;
	height: 22px;
	font-size: 1.5em;
	color: #fed;
	background: transparent url("/_images/title-background.gif") 50% 50% no-repeat;
	border: none;
}

div.detail div.client
{
	clear: left;
	margin: 2px 0 6px;
}

div.detail div.date,
div.detail div.abstract
{
	margin: 6px 0 6px;
}

div.detail div.bitwrapper
{
	clear: both;
	width: 396px;
	margin: 6px 0 6px;
	padding: 1px;
	border: 1px solid #222;
	background: #444;

	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

div.detail div.bits, div.detail div.body, div.detail div.url
{
	width: 380px;
	border: 1px solid #999;
	background: #f6f6f6;
	padding: 8px 4px 8px 10px;
	margin: 0;
	color: #111;

	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}


div.detail div.bits
{

}

#main div.detail div.body p
{
	margin: 0.25em 0 0.4em;
	line-height: 1.5em;
}

div.detail div.url a
{
	font-size: 0.9em;
}




div.detail div.pics
{
	float: left;
	width: 100%;
}

div.detail div.mainpic
{
	width: 400px;
	float: left;
	margin: 0;
}

div.detail div.mainpic div#caption
{
	padding: 2px 0 2px 6px;
	margin: 0 0 4px;
	font-size: 0.8em;
	color: #fed;

	background: transparent url("/_images/nav/caption.gif") top left no-repeat;
	width: 394px;
	height: 18px;
}

div.detail div.thumbnails
{
	margin: 0;
	padding: 0;
}

div.detail div.thumbnails a
{
	float: left;
	padding: 0;
	background: #fff;
	margin: 0 0 16px 16px;
	border: 2px solid #444;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-background-clip: padding-box;
}

div.detail div.thumbnails img
{
	background: #fff;
	padding: 4px;
	vertical-align: bottom;	
}

div.detail div.thumbnails a:hover
{
	border: 2px solid #a81600;
}

div.detail div.mainpic img
{
	margin: 0;
	display: block;
}

div.detail div.abstract, div.detail div.body p
{
	line-height: 130%;
}

div.detail span.label
{
	display: block;
	float: left;
	margin-right: 0.5em;
	width: 9em;
	text-align: right;
}

div.pagenav
{
	width: 410px;
	height: 32px;

	margin: 0 auto 6px;
	padding: 4px 0 0;
	line-height: 130%;
	text-align: center;
	font-size: 0.833em;
	background: transparent url("/_images/title-background.gif") 50% 50% no-repeat;
	color: #fed;
}

div.pagenav a
{
	color: #f21;
}

table.searchpages
{
	clear: both;
	margin: 0 auto 6px;
	padding: 0;
	width: 410px;
	height: 40px;
	background: transparent url("/_images/title-background.gif") 50% 50% no-repeat;
	border: none;
}

table.searchpages td
{
	color: #fed;
	font-size: 0.833em;
    line-height: 1em;
}

table.searchpages td.previous
{
	padding-left: 32px;
}

table.searchpages td.previous, table.searchpages td.next
{
	padding-bottom: 4px;
}

table.searchpages td a
{
	color: #f21;
}

a.edit
{
	float: right;
	padding: 2px;
	border: 1px solid #444;
	background: #999;
	font-size: 0.6125em;
}

div.labeditform
{
	background: #fff;
	margin: 0.5em;
	border: 1px solid #999;
	padding: 0;
	width: 98%;
	font-size: 0.75em;
}

.labeditform div.label
{
	clear: both;
	width: 40%;
	padding: 0.5em 0 0 0.5em;
	font-weight: bold;
	color: #222;
	font-size: 1.2em;
}

.labeditform div.query
{
	clear: both;
	padding: 0.5em 0 0.25em 0.5em;
	color: #222;
	font-size: 1.2em;
}

.labeditform div.submit
{
	clear: both;
	padding: 2px;
	border: 1px solid #444;
	background: #666;
	text-align: right;
}

div.submitleft
{
	clear: both;
	padding: 2px 0;
	margin: 0.5em;
	border: 1px solid #444;
	background: #666;
	text-align: left;
	width: 98%;
}

.labeditform a.selectfile
{
	float: none;
	margin: 2px 2px 0;
}

div.message
{
	background: #ddd;
	color: #111;
	margin: 8px 0;
	padding: 0.3em 0;
	border: 1px solid #a81600;
	text-align: center;

	width: 100%;
}

#main p.debug, #main p.timer
{

}

div#debuginfo p.debug
{
	padding: 0.25em;
}

fieldset.enquiry
{
	width: 500px;
	margin-left: 80px;
	border: 3px double #999;
	font-size: 0.9em;

	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

fieldset.enquiry legend
{
	font-size: 1.11em;
	font-weight: bold;
}

img.banner
{
	clear: right;
	float: right;
	margin-left: 1em;
	margin-top: 1em;
}

img.center
{
	float: none;
	margin-left: 120px;
	width: 468px;
}

code
{
	display: block;
	width: 75%;
	padding: 2px 4px;
	margin: 6px 0 0 4px;

	border: 1px dashed #aaa;
	line-height: 130%;
	font-size: 1.11em;
}

#main pre
{
	font-size: 1.1em;
}

a.buttonsmall
{
	display: block;
	background: url("/_images/nav/buttons-off.gif") 0 0 no-repeat;
	margin: 2em 0 0 0;
	padding: 1px 0 0 21px;
	width: 90px;
	height: 20px;
	white-space: nowrap;
	color: #fed;
	font-size: 0.8em;
	font-weight: bold;
	margin-left: 0.5em;
}

a.buttonsmall:hover
{
	background: url("/_images/nav/buttons-on.gif") 0 0 no-repeat;
	text-decoration: none;
	color: #222;
}

div.detail a.buttonsmall
{
	margin-left: 5px;
}

div.picportrait,
div.piclandscape
{
	float: left;
	margin: 8px;
	width: 240px;
}

div.piclandscape
{
	width: 320px;
}

div.picportrait img,
div.piclandscape img
{
	display: block;
}

div.description
{
	clear: both;
	overflow: hidden;
	height: 1.3em;
	padding: 0;
	margin: 0;
}

div.description a.showdescription
{
	display: block;
}

a.lightbox-enabled
{
	position: relative;
	display: block;
}

a.lightbox-enabled:hover
{ text-decoration: none; }

div.zoomicon
{
	position: absolute;
	bottom: 0;
	right: 0;
	height: 36px;
	width: 36px;
	background: url("/_images/lightbox/zoom.png") 50% 50% no-repeat;
	cursor: pointer;
}



/*
 * Tweaks for various IE flavours
 */

.ie5 body, .ie6 body
{
	height: 99%;
	padding-bottom: 0;
	border-bottom: 2px solid #000;
	text-align: center;
}

.ie5 #wrapper, .ie6 #wrapper
{ text-align: left; }

.ie5 #main, .ie6 #main
{ padding-top: 16px; }

.ie5 #footer, .ie6 #footer
{ padding: 0; background: #222; }

.ie5 #footer div.wrapper
{ width: 410px; margin: 0 156px 3px; }

.ie5 div.pagetitle
{
	width: 400px;
	height: 36px;
	padding-top: 9px;
	margin-top: 0px;
}

.ie5 div.workbook
{ width: 696px; margin-top: 0px; }

.ie6 div.detail div.title
{
	margin-top: 0;
}

.ie5 div.detail, .ie6 div.detail
{ margin-top: 0px; }

.ie5 div.detail div.title
{
	width: 400px;
	height: 36px;
	padding-top: 9px;
}

.ie5 div.detail div.bits, .ie5 div.detail div.body, .ie5 div.detail div.url
{ width: 394px; }

.ie5 div.detail div.mainpic div#caption
{ width: 400px; height: 22px; }

.ie5 div.detail div.thumbnails a, .ie6 div.detail div.thumbnails a
{ 	margin: 0 0 16px 16px; }

.ie5 div.pagenav
{ height: 36px; margin: 0 144px 6px; }

.ie5 table.searchpages
{ margin: 0 144px 6px; }

.ie5 div.labeditform, .ie5 div.submitleft
{ width: 100%; }

.ie5 a.buttonsmall
{
	width: 112px;
	height: 21px;
	color: #fed;
}

.ie6 a.buttonsmall
{
	color: #fed;
}

.ie6 div.zoomicon
{ display: none; }


/*
 * Tweaks for iphone
 */

.iphone #footer, .ipad #footer
{ position: relative; margin-top: 0; }

.iphone div.pagenav
{ font-size: 1em; padding: 0; }

.iphone #footer div.wrapper
{ font-size: 1em; padding: 0 0 0 30px; }
