@charset "UTF-8";
/* CSS Document */

* {
	margin: 0;
	font-weight:normal;
}

html, body {
	margin: 0;
	padding: 0;
	color: #CCC;
	background-color:#000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
}

#container {
	padding:0;
	margin:0 auto;
	width:765px;
	background: #000 url(../img/bg.jpg) no-repeat center top;
}

#header {
	float:left;
	width:685px;
}

h1 {
	margin: 40px 0 0 540px;
	height:116px;
	width:153px;
	text-indent:-1500px;
	background:#000 url(../img/h1.jpg) no-repeat
}

h2 {
	padding:0;
	margin:42px 0 0 514px;
	background-repeat:no-repeat;
	height:30px;
	width:300px;
	text-indent:-1500px;
}

/*page image titles - only a few of the pages have these, just remove the class from the h2 to take it off in the index.php*/
h2.portfolio { background-image:url(../img/pagetitles/portfolio.gif); }
h2.web { background-image:url(../img/pagetitles/web.gif); }
h2.home { background-image:url(../img/pagetitles/home.gif); }
h2.contact { background-image:url(../img/pagetitles/contact.gif); }
h2.research { background-image:url(../img/pagetitles/research.gif); }
h2.footy { background-image:url(../img/pagetitles/footy.gif); }

p {
	padding:0 0 10px 0;
	line-height:18px;
}

/*link style for show/hiding jQueried elements*/
a.toggle { /*link which javascript show/hides code boxes*/
	font-size:13px;
	float:right;
	padding:0 2px 0 0;
}

#page {
	float:left;
	width:665px;
	margin:13px 0 0 40px;
	border-left:10px solid #C6C6C6;
	border-right:10px solid #C6C6C6;
	background: #121B23 url(../img/pagebg.jpg) no-repeat center top;
	
	/*IE 6 fix*/
	_margin:13px 0 0 32px;
	_border-left:11px solid #C6C6C6;
}

/*main menu*/
ul#menu {
	height:33px;
	width:665px;
	padding:0;
	margin:0;
	list-style: none;
	font-family: Arial, Helvetica, sans-serif;
}

#menu li {
	padding:0;
	margin:0;
	height:33px;
	display:block;
	float:left;
	width:133px;
	
	/*IE 6 fix*/
	_width:132px;
}

#menu a { 
	display:block;
	padding:8px 0 0 0;
	text-align:center;
	width:100%;
	height:24px;
	text-decoration:none;
	border-left: 1px solid #C6C6C6;
	color:#FFF;
	font-size:14px;
}

#menu a.left, #menu a.left:hover { border-left:none; }
#menu a.right, #menu a.right:hover { width:132px; }

#menu a:hover, #menu a.current {
	background-color:#000;
}
/*end main menu*/


/*content containers*/
#page-content {
	float:left;
	width:665px;
	min-height:300px;
	_height:300px; /*IE 6 fix*/
	background: url(../img/contentbg.gif) repeat-y 463px;
}

#content-left {
	float:left;
	padding:10px 15px;
	width:430px;
}

#content-left a{ /*link styles for the main content on the page*/
	color:#7EBCFF;
	text-decoration:none;
}

#content-left li {
	margin:0 0 8px 0;
}

#content-left a:hover { color:#FFF; }

h3 {
	color:#FFF;
	font-size:20px;
	padding:0 0 6px 0;
}

#content-left p.postdate {
	color:#FFF;
	font-size:12px;
}

#content-left img {
	margin:0 0 10px 0;
	border:1px solid #CCC;
}

#content-right {
	float:right;
	width:201px;
}

/*search styles*/
#content-right #searchbox {
	padding:20px;
	margin:0 0 16px 0;
}

#content-right #searchbox #searchfld {
	width:155px;
	background-color:#7EA9D7;
	border:1px solid #000;
	padding:2px;
	font-weight:bold;
	margin:0 0 5px 0;
}

#content-right #searchbox #searchbutton {
	float:right;
	background-color:#7EA9D7;
	border:1px solid #000;
	font-weight:bold;
	cursor:pointer;
	padding:2px 7px;
	*padding:1px 4px;
}
/*end search styles*/

#content-right h4 {
	background-color:#000;
	width:177px;
	padding:8px 12px;
	color:#FFF;
	border-top:1px solid #444;
	border-bottom:1px solid #444;
	text-transform:capitalize;
}
#content-right h4.top { border-top:none; }

#content-right a { color:#7EBCFF; text-decoration:none; }
#content-right a:hover, #content-right a.current { color:#FFF; }

ul.submenu {
	list-style:url(../img/arrow.gif);
	padding:6px 0 6px 12px;
	margin:0 0 0 14px;
}

ul.submenu li {
	padding:0 0 4px 0;
}

#footer {
	width:665px;
	height:20px;
	background:url(../img/pagebottom.gif) no-repeat;
	margin:0 auto;
	clear:both;
	text-align:right;
	padding:12px 10px;
	
	/*IE 6 fix*/
	_float:left;
	_margin:0 0 0 32px;
}

/*feedback messages*/
p.message {
	border:1px solid #444;
	background-color:#EEE;
	padding:5px 10px;
	color:#900;
	margin:4px 0;
}

/*contact form*/
#contact {
	padding:20px 0;
}

#contact label {
	width:90px;
	display:block;
	margin:0 0 5px 0;
	float:left;
}

#contact .textinput {
	margin:0 0 5px 0;
	width:170px;
}

#contact textarea {
	width:300px;
	height:100px;
	margin:0 0 5px 0;
}

#contact .button {
	margin:0 0 0 90px;
	_margin:0 0 0 94px; /*IE6 fix*/
}