html {
  margin: 0px;
  padding: 0px;
}

body {
  background: #000000;
	color: #666666;
  font-family: Arial, sans-serif;
  font-size: 11px;
  margin: 0px;
}

ul, li, form, fieldset, dt, dl, dd, ol, div, p, blockquote, h1, h2, h3, h4, h5, h6, a, pre, code {
  margin: 0;
  padding: 0;
}

a { color: #666666; }

a strong {
	font-size: 12px;
	text-transform: uppercase;
}

hr { display: none; }

#wrapper {
	background: #ffffff;
	margin: 12px auto;
	width: 980px;
}

#header {
	background: url(/images/header_bg.gif) no-repeat top right #000000;
	padding-right: 125px;
	position: relative;
	height: 134px;
}

#header h1 {
	position: relative;
	overflow: hidden;
	width: 855px;
	height: 112px;
}

#header h1 a {
	background: url(/images/cpmi_logo.gif) no-repeat;
	display: block;
	text-indent: -9999px;
	width: 855px;
	height: 112px;
}

#navigation a {
	color: #ffffff;
	display: block;
	font-weight: bold;
	padding: 2px 20px;
	text-decoration: none;
}

#navigation a.selected, #navigation a:hover {
	background: #ffffff;
	color: #ec2024;
}

#navigation {
	position: absolute;
	bottom: 2px;
	left: 5px;
}

#navigation li {
	float: left;
	list-style: none;
	margin: 0px 3px;
}

#body {
	background: #4a4949;
	padding-right: 125px;
	position: relative;
}

#sidebar {
	height: 545px;
	position: absolute;
	top: 0px;
	right: 0px;
	overflow:hidden;
}

/* Slideshow Images */ 
#slideimages{
	display:block;
	position:relative;
	width:125px;
	height:545px;
	overflow:hidden;
}

#slideimages li{
	background: #4A4949;
	display:block;
	list-style: none;
	position: absolute;
}

#slideimages li img{
	background: #4A4949;
	display: block;
}

#main {
	background: url(/images/main_bg.gif) no-repeat top right #ffffff;
	min-height: 509px; /* 545px - 2(18)px */
	padding: 18px 40px 18px 75px;
}

#main div.home {
	padding-right: 60px;
}

#main h2 {
	color: #ec2024;
	font-size: 12px;
	margin-left: -23px;
	text-transform: uppercase;
}

#main h3,
#main h3 a {
	color: #ec2024;
	font-size: 12px;
	text-transform: uppercase;
	text-decoration: none;
}

#main h4 a {
	color: #ec2024;
	font-size: 11px;
	text-decoration: none;
}

#main p { margin: 9px 0px; }

#main ul.list { padding-left: 15px; }

/* forms */
form fieldset {
  border: none;
  margin-bottom: 5px;
}

form fieldset p {
  border-bottom: 1px solid #eeeeee;
  overflow: hidden;
  margin: 0;
  padding: 8px 12px;
}

form fieldset p label {
  display: block;
  color: #666666;
  float: left;
  font-size: 12px;
  margin-top: 4px;
  padding: 0 1.5em 3px 0;
  width: 11em;
}

form fieldset small {
  display: block;
  color: #999999;
  margin-left: 17em;
}

label.required { background: url(/images/required.gif) no-repeat right 0px; }

p.required {
	background: url(/images/required.gif) no-repeat left 0px;
	float: right;
	padding-left: 20px;
}

fieldset input, fieldset textarea, fieldset select {
  border: 1px solid #cccccc;
  font-size: 11px;
  margin: 2px 0px 3px 8px;
  padding: 2px 3px 1px;
  vertical-align: middle;
  width: 225px;
}

fieldset input.long { width: 405px;}

fieldset textarea { width: 330px;}

p.fieldWithErrors input, p.fieldWithErrors select, p.fieldWithErrors textarea { border: 1px solid #ce6b6b; }

form div.buttons {
  padding: 5px 7px;
  padding-left: 16em; 
  text-align: left;
}

/* rounded courners */
#main div.rounded-box { margin-top: 15px; }
#main div.tl { background: url(/images/rounded_corner.gif) no-repeat top left; }
#main div.br { background: url(/images/rounded_corner.gif) no-repeat bottom right; }
#main div.trc { background: url(/images/rounded_corner_tr.gif) no-repeat top right; }
#main div.blc { background: url(/images/rounded_corner_bl.gif) no-repeat bottom left; }
#main div.pad { padding: 20px; padding-bottom: 25px; } /* padding for roudned corners */

/* news in rounded courners */
ul.news_box { margin-top: 8px; }

ul.news_box li {
	list-style: none;
	float: left;
	margin-right: 13px;
	width: 200px;
}

ul.news_box li em { color: #404040; }

/* project list, news list, career list */
div.project_list,
div.news_list,
div.career_list {
	margin: 10px 0px;
	position: relative;
}

div.project_list div.details,
div.news_list div.details,
div.career_list div.details {
	border-bottom: 1px solid #dad9d9;
	padding-left: 2px;
	padding-bottom: 10px;
	position: relative;
	min-height: 100px;
}

div.project_list div.details { margin-left: 140px; }

div.news_list div.details {
	margin-left: 230px;
	min-height: 175px;
}

div.career_list div.details { 
	margin-top: 10px;
	margin-left: 25px;
	padding-bottom: 20px;
}

div.project_list div.details ul li,
div.news_list div.details ul li,
div.career_list div.details ul li {
	list-style: none;
	margin: 1px 0px;
}

div.details ul li strong {
	color: #333333;
	display: block;
	float: left;
	width: 120px;
}

div.career_list div.details p strong {
	display: block;
	color: #333333;
	margin-bottom: 3px;}

div.project_list img,
div.news_list img {
	border: 1px solid #999596;
	float: left;
	padding: 9px;
}

div.project_list div.details a.view,
div.news_list div.details a.view,
div.career_list div.details a.view {
	color: #ec2024;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
	position: absolute;
	bottom: 8px;
	right: 0px;
}

/* project and news*/

div.project,
div.news {
	margin-top: 25px;
	width: 360px;
}

div.career {
	margin-top: 25px;
}

div.project strong,
div.news strong {
	color: #333333;
	display: block;
	float: left;
	width: 110px;
}

div.career strong {
	color: #333333;
	display: block;
	float: left;
	width: 120px;
}

div.career p strong {
	float: none;
	margin-bottom: 3px;
}

div.project ul li,
div.news ul li,
div.career ul li {
	list-style: none;
	margin: 1px 0px;
}

div.news div.news_body ul,
div.news div.news_body ol {
	padding: 0px 0px 0px 10px;
	margin: 0px 0px 0px 10px;
}
div.news div.news_body li {
	list-style: circle;
	padding: 0px 0px 0px 5px;
	margin: 0px 0px 0px 5px;
}

div.project p.description strong{
	float: none;
	margin-bottom: 10px;
}

/* images */
#main_img {
	border: 1px solid #999596;
	float: right;
	margin-top: 25px;
	padding: 8px 9px;
}

#img_wrapper {
	float: right;
	width: 350px;
}

#th_imgs {
	float: right;
	list-style: none;
	margin-top: 8px;
	margin-right: 20px;
}

#th_imgs li {
	float: left;
	margin: 0px 3px;
}

/* message */
#message { margin-bottom: 10px; }

#message.notice {
	border: 3px double #368f35;
	border-left: none;
	border-right: none;
	color: #368f35;
	padding: 0px 15px;
}

#message.error {
	border: 3px double #ec2024;
	border-left: none;
	border-right: none;
	color: #ec2024;
	padding: 0px 15px;
 }

#copyright {
	background: url(/images/copyright_bg_r.gif) no-repeat bottom right #4a4949;
	color: #ffffff;
	position: relative;
	padding-right: 140px;
}

#copyright p {
	background: url(/images/copyright_bg_l.gif) no-repeat bottom left;
	padding: 17px 11px 19px;
}

#copyright a { color: #ffffff; }

#copyright a.grip {
	text-decoration: none;
	display: block;
	position: absolute;
	top: 9px;
	right: 8px;
	width: 135px;
	height: 30px;
	overflow: hidden;
}

#copyright a.grip span {
	background: url(/images/grip.gif) no-repeat;
	cursor: pointer;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 135px;
	height: 30px;
}

#footer {
	background: #000000;
	color: #ffffff;
	text-align: center;
	padding-top: 11px;
}

#footer p {
	background: #000000;
	float: left;
	width: 50%;
}

.clear { clear: both; }

.right {
	float: right;
	text-decoration: none;
}