/* ------------------------------------------------
MSRI CSS stylesheet copyright 2005.
Developed by:
Detour Design
http://www.detourdesign.com
801-680-8844
---------------------------------------------------- */

/* -------------------------------------------------
Global styles
---------------------------------------------------- */
body {
	background: #f2f2f2 url(assets/sitebg.jpg) repeat-x;
	font: small/120% Helvetica, Arial, sans-serif;
	color: #444;
	text-align: center;
}

* html body {
	font-size: x-small; /* for IE5/Win */
	f\ont-size: small; /* for other IE versions */
}

* {
	margin: 0;
	padding: 0;
}

/* -------------------------------------------------
Global Typography
---------------------------------------------------- */
h1 { line-height: 100%; }
h3 {
	color: #153DC3;
	font-size: 150%;
	padding-bottom: 5px;
}

h4 {
	color: #333;
	font-size: 90%;
	font-weight: normal;
	padding-bottom: 8px;
}

h1, h2, h3, h4, p, dl, ol, ul, label { 	text-align: left; }
#content p, #content dl, #content ol, #content ul, h3, h4 { width: 485px; }

/* -------------------------------------------------
Custom typography
---------------------------------------------------- */
#footer p {
	font: 85%/135% Helvetica, Arial, sans-serif;
	text-align: center;
}

#content p, #content dl, #content ol, #content ul { line-height: 150%; }

#content ol { margin-left: 45px; }
#content ul { list-style-type: none; }

#content ul li {
	background: url(assets/bullet.gif) no-repeat 0 .3em;
	color: #333;
	padding-left: 18px;
}

sub, sup { line-height: 100%; }

/* -------------------------------------------------
Classes and form elements
---------------------------------------------------- */
.next-p { padding-top: 12px; }
.largespace { padding-top: 24px; }
.spacefiller { padding-top: 96px; }
.hide { display: none; }
.clear { clear: both; }
.floatleft { float: left; margin-right: 12px; }
.floatright { float: right; margin-left: 12px; }
.bold { color: #333; font-weight: bold; }
.portfolio, .italic { color: #000; font-style: italic; }
.byline {
	border-bottom: 1px solid #ccc;
	color: #ccc;
	font-size: 85%;
	font-style: italic;
	padding: 8px 0;
}

.headerlogo {
	background: url(assets/header.jpg) no-repeat;
	height: 109px;
	margin: 0 auto 0;
	text-indent: -5000px;
}

.homeheader {
	background: url(assets/homeheader.jpg) no-repeat;
	height: 96px;
	margin: 0 auto 0;
	text-indent: -5000px;
}

.aboutheader {
	background: url(assets/aboutheader.jpg) no-repeat;
	height: 96px;
	margin: 0 auto;
	text-indent: -5000px;
}

.techheader {
	background: url(assets/techheader.jpg) no-repeat;
	height: 96px;
	margin: 0 auto;
	text-indent: -5000px;
}

.newsheader {
	background: url(assets/newsheader.jpg) no-repeat;
	height: 96px;
	margin: 0 auto;
	text-indent: -5000px;
}

.portfolioheader {
	background: url(assets/portfolioheader.jpg) no-repeat;
	height: 96px;
	margin: 0 auto;
	text-indent: -5000px;
}

.linksheader {
	background: url(assets/linksheader.jpg) no-repeat;
	height: 96px;
	margin: 0 auto;
	text-indent: -5000px;
}

.contactheader {
	background: url(assets/contactheader.jpg) no-repeat;
	height: 96px;
	margin: 0 auto;
	text-indent: -5000px;
}

fieldset { border: 0; }
textarea, select, input { margin: 0 0 5px; }

form { text-align: left; }

/* -------------------------------------------------
links
---------------------------------------------------- */
#footer a { color: #000; }
#footer a:visited { color: #999; }
#footer a:hover { color: #ccc; text-decoration: none; }
#footer a:active { color: #000; }

/* -------------------------------------------------
Layout
---------------------------------------------------- */
#wrapper {
	background: #fff url(assets/navcontainerbg.jpg) repeat-y 15px 0;
	margin: 0 auto;
	width: 695px;
}

#header { margin: 0 auto; width: 665px; }
#content-wrap { margin: 0 auto; width: 665px; }
#navcontainer {
	float: left;
	width: 151px;
}

#content {
	float: right;
	margin-bottom: 25px;
	padding-top: 15px;
	width: 495px;
}

#footer {
	background: #f2f2f2 url(assets/footerbg.jpg) no-repeat bottom;
	clear: both;
	margin: 0 auto;
	padding: 15px 0 25px;
	width: 665px;
}

/* -------------------------------------------------
Main Navigation
---------------------------------------------------- */
#navcontainer ul {
	list-style: none;
	text-align: left;
	width: 151px;
}

#navcontainer li { border-bottom: 1px solid #cfcfcf; }
#navcontainer li a {
	background-color: #e9e9e9;
	color: #000;
	display: block;
	font-weight: bold;
	padding: 5px 0 5px 10px;
	text-decoration: none;
}

#navcontainer li a#active {
	background: #78fb27 url(assets/navrollbg.gif) repeat-x bottom;
	color: #fff;
	display: block;
}


#navcontainer li a:hover {
	display: block;
	background-color: #000;
	color: #fff;
}

#navcontainer ul ul {
	list-style: none;
	text-align: left;
	margin: 0;
	
}

#navcontainer ul ul a {
	color: #6e6e6e;
	display: block;
	padding: 5px 0px 5px 20px;
	text-decoration: none;
	background-color: #fff;
}

#navcontainer ul ul a:visited {
	color: #6e6e6e;
	text-decoration: none;
}

#navcontainer ul ul a:hover {
	display: block;
	background-color: #999;
	color: #fff;
}

#navcontainer a#subactive {
	background: #888 url(assets/navsubactive-bg.gif) repeat-x bottom;
	color: #fff;
}