/*
Company:	Cambridge Polymer Group
File:		main.css - This contains all the main styles for the website.

All the styles are separted into the following groups:
Global Browser Reset - this is handled by the reset-fonts.css file from YUI
HTML, Body - for the html and body tags
Layout - any style that defines how the site is laid out (position and size of objects)
Nav - navigation bar
Headings - headings like h1, h2, etc
Text Styles - Styles for text
Lists - unordered and ordered lists
Forms - html forms
Links - links
Misc - anything that doesn't fit elsewhere
*/

/* @group HTML, Body */
body {
	margin:30px 0 0;
	padding:0;
	text-align:center;
	
}
/* @end */

/* @group Layout */
div#wrapper {
	width: 713px;
	margin:0px auto;
	text-align:left;
}
body#home div#wrapper {
	background: url('http://www.mindfiredev.com/campoly/images/home-bkg.gif') repeat-y top left;
}
div#header {
	width: 715px;
	text-align: right;
	margin: 5px auto;
}
div#header input {
	vertical-align: middle;
}
div#side-col {
	width: 200px;
	float: left;
	display: inline;
}
div.sidebar-btns {
	text-align: center;
}
div.sidebar-btns img {
	margin-bottom: 10px;
}

div#content-col {
	width: 510px;
	float: right;
	display: inline;
}
div#content {
	margin: 0;
}
div.content-box {
	padding: 5px;
}
div.content-box p {
	margin-bottom: 10px;
}
ul.content-list {
	width: 48%;
	float: left;
	margin: 0;
	margin-bottom: 1em;
	padding: 0;
	list-style-type: disc;
	display: inline;
}
ul.content-list li { 
	margin-top: .5em;
	margin-left: 30px;
	margin-bottom: .5em;
	padding: 0;
	line-height: 1.2em;
}
ul.inline-list {
	margin: 10px 0;
	list-style-type: disc;
	list-style-position: inside;
}

ul.inline-list li {
	font-weight: bold;
	margin-bottom: 4px;
}
ul.inline-list li span {
	font-weight: normal;
}

div.content-box ul.inline-list {
	color: #7d0d00;
}
div.content-box ul.inline-list li {
	margin-bottom: 1em;
}
div.content-box ul.inline-list li span {
	color: #000;
}

ul.heading-list {
	margin: 10px 15px;
	list-style-type: disc;
	list-style-position: outside;
}
ul.heading-list li {
	font-weight: bold;
	margin-bottom: 4px;
}
ul.heading-list li ul {
	margin-left: 0px;
}
ul.heading-list li ul li {
	font-weight: normal !important;
	color: #000; margin-bottom: .75em;
}


div#front-l {
	width: 324px;
	float: left;
	display: inline;
}
div#front-l p {
	margin: 10px;
}
div#front-l ul {
	color: #5050bc;
	list-style-type: disc;
	list-style-position: outside;
	margin: 30px 10px;
	font-weight: bold;
}
div#front-l ul li {
	margin: 10px 0 10px 15px;
}
div#front-r {
	width: 182px;
	float: right;
	color: #6d6d71;
	color: #333;
	padding-bottom: 10px;
	display: inline;
}
div#front-r p {
	margin-left: 5px;
	margin-right: 5px;
}
div#front-r div.hr {
	margin: 10px 5px;
	height: 1px;
	overflow: hidden;
	border-top: 1px dashed #5050bc;
}
div#front-r p.more-news {
	text-align: right;
	font-weight: bold;
	margin-top: 10px;
	font-size: 92%;
}
div#footer {
	width: 715px;
	margin:10px auto;
	text-align:left;
}
div#front-sidebar-icons {
	text-align: center;
	margin-top: 10px;
}
div#front-sidebar-icons img {
	margin-bottom: 1em;
}
img#logo {
	border-bottom: 4px solid #fff;
	border-right: 1px solid #fff;
}
img#main-pic {
	border-bottom: 3px solid #fff;
}


/* Services Page */
body#services div#wrapper {
	background: url('http://www.mindfiredev.com/campoly/images/sidebar-line-bkg.gif') repeat-y top left;
}
body#services div.content-box {
	background-color: #e8e8e8;
	color: #000;
}

body#services ul.heading-list {
	color: #7d0d00;
}
body#services ul.heading-list li ul {
	color: #6b6b6b;
}

/* Research Page */
body#research div#wrapper {
	background: url('http://www.mindfiredev.com/campoly/images/sidebar-line-bkg.gif') repeat-y top left;
}
body#research div.content-box {
	background-color: #e8e8e8;
	color: #000;
}


/* Products Page */
body#products div#wrapper {
	background: url('http://www.mindfiredev.com/campoly/images/sidebar-line-bkg.gif') repeat-y top left;
}
body#products div.content-box {
	background-color: #e8e8e8;
	color: #000;
}
body#products div.content-box img {
	float: left;
	margin: 0 15px 15px 0;
	display: inline;
}

/* Instruments Page */
body#instruments div#wrapper {
	background: url('http://www.mindfiredev.com/campoly/images/sidebar-line-bkg.gif') repeat-y top left;
}
body#instruments div.content-box {
	background-color: #e8e8e8;
	color: #000;
}
body#instruments div.content-box img {
	float: left;
	margin: 0 15px 15px 0;
	display: inline;
}

/* Contact Us Page */
body#contact div#wrapper {
	background: url('http://www.mindfiredev.com/campoly/images/sidebar-line-bkg.gif') repeat-y top left;
}
body#contact div.content-box {
	background-color: #e8e8e8;
	color: #000;
}
body#contact div.content-box img {
	float: left;
	margin: 0 15px 15px 0;
	display: inline;
}

/* Presentations Page */
body#presentations div#wrapper {
	background: url('http://www.mindfiredev.com/campoly/images/sidebar-line-bkg.gif') repeat-y top left;
}
body#presentations div.content-box {
	background-color: #e8e8e8;
	color: #000;
}

/* News Page */
body#news div#wrapper {
	background: url('http://www.mindfiredev.com/campoly/images/blue-sidebar.gif') repeat-y top left;
}
body#news div.content-box {
	background-color: #e8e8e8;
	color: #000;
}
body#news div.news {
	margin: 5px 10px;
}
body#news div.news ul {
	color: #fff;
	list-style-type: disc;
	list-style-position: inside;
	font-size: 92%;
}
body#news div.news ul li {
	padding-bottom: 10px;
	margin-bottom: 10px;
	margin-left: 0;
	border-bottom: 1px solid #fff;
}
body#news div.news ul li.last {
	border-bottom: none;
}
body#news div.news a:link, body#news div.news a:visited {
	color: #fff;
	text-decoration: none;
}
body#news div.news a:hover {
	color: #7d7de2;
}

/* About Page */
body#about div#wrapper {
	background: url('http://www.mindfiredev.com/campoly/images/sidebar-line-bkg.gif') repeat-y top left;
}
body#about div.content-box {
	background-color: #e8e8e8;
	color: #000;
}
body#about div.content-box-blue {
	background-color: #dfdff2;
	color: #5050bc;
}

body#about div.content-box img {
	float: left;
	margin: 0 15px 15px 0;
	display: inline;
}
div.leadership {
	background: url('http://www.mindfiredev.com/campoly/images/leadership-bottom.gif') no-repeat bottom center;
	padding-bottom: 20px;
	width: 169px;
	background-color: #ededf9;
	margin-left: 16px;
	text-align: center;
}
div.leadership p.name {
	margin-top: 20px;
}
div.leadership p.title {
	font-size: 85%;
	color: #636363;
	margin-bottom: 5px;
}
div.leadership p.more-links {
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 10px;
	font-size: 92%;
}
div.leadership img.person-pic {
	border: 1px solid #b1d1e1;
	padding: 3px;
}
div.leadership a:link, div.leadership a:visited {
	color: #1d8ba5;
	text-decoration: none;
}

/* Headers */
h3 {
	font-weight:bold;
	font-size:110%;
}
div.header {
	position: relative;
	padding: 5px;
	margin: .5em 0 0;
	background-color: #006;
	color: #fff;
}
div.header h2 {
	font-size: 136%;
	display: inline;
}
div.header h2 img {
	vertical-align: middle;
	margin-right: 5px;
}
#wrapper div.header p {
	position: absolute;
	right: 5px;
	top: 5px;
	font-size: 85%;
	padding: 4px 0 0 0;
	margin: 0;
	display: inline;
}
#wrapper div.header a:link, #wrapper div.header a:visited {
	color: #fff;
	text-decoration: none;
}


/* @end */

/* @group Nav */
div#nav-spacer {
	height: 20px;
	width: 1px;
	clear: both;
}
ul#nav {
	/*float: left;*/
	clear:both;
}
ul#nav li {
	overflow: hidden;
	margin: 0;
	padding: 0;
	float: left;
	/*border: 1px solid red;*/
}
ul#nav li a {
	display: block;
	width: 200px;
	overflow: hidden;
	height: 23px;
}
ul#nav li#n-about a {
	background: url('http://www.mindfiredev.com/campoly/images/n-about.gif') no-repeat 0 0;
}
ul#nav li#n-services a {
	background: url('http://www.mindfiredev.com/campoly/images/n-services.gif') no-repeat;
}
ul#nav li#n-products a {
	background: url('http://www.mindfiredev.com/campoly/images/n-products.gif') no-repeat;
}
ul#nav li#n-research a {
	background: url('http://www.mindfiredev.com/campoly/images/n-research.gif') no-repeat;
}
ul#nav li#n-presentations a {
	background: url('http://www.mindfiredev.com/campoly/images/n-presentations.gif') no-repeat;
}
ul#nav li#n-news a {
	background: url('http://www.mindfiredev.com/campoly/images/n-news.gif') no-repeat;
}
ul#nav li#n-contact a {
	background: url('http://www.mindfiredev.com/campoly/images/n-contact.gif') no-repeat;
}

/* Hovers */
ul#nav li#n-about a:hover {
	background-position: 0 -23px;
}
ul#nav li#n-services a:hover {
	background-position: 0 -23px;
}
ul#nav li#n-products a:hover {
	background-position: 0 -23px;
}
ul#nav li#n-research a:hover {
	background-position: 0 -23px;
}
ul#nav li#n-presentations a:hover {
	background-position: 0 -23px;
}
ul#nav li#n-news a:hover {
	background-position: 0 -23px;
}
ul#nav li#n-contact a:hover {
	background-position: 0 -23px;
}
ul#nav li a span {
	display: none;
}

/* Footer */
div#footer ul {
	text-align: center;
	font-size: 85%;
	font-weight: bold;
}
div#footer ul li {
	display: inline;
	margin: 0 4px 0 0;
	padding: 0 8px 0 0;
	border-right: 1px solid #bbb;
}
div#footer ul li.last {
	border-right: none;
	margin-right: 0;
	padding-right: 0;
}
div#footer a:link, div#footer a:visited {
	color: #777;
	text-decoration: none;
}
div#footer a:hover {
	color: #5050bc;
}
/* @end */

/* @group Headings */
div#front-l h1 {
	font-size: 159%;
	font-weight: bold;
	color: #969696;
	padding-bottom: 3px;
	border-bottom: 1px dashed #969696;
	margin-bottom: 10px;
	margin-left: 3px;
	margin-right: 3px;
	margin-top: 2px;
}
h2.recent-news {
	background-color: #5050bc;
	color: #dfdff2;
	padding: 4px 0;
	text-align: center;
	font-size: 136%;
}
div#front-r h3 {
	margin: 8px 5px;
	font-weight: bold;
}
h4 { }
h5 { }
h6 { }
/* @end */

/* @group Text Styles */
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.left {
	text-align: left;
}
div#content p {
	line-height: 150%;
}
strong {
	font-weight: bold;
}
/* @end */

/* @group Lists */
	
/* @end */

/* @group Forms */
form input#search {
	padding: 2px;
	border: 1px solid #d8d8d8;
}
/* @end */

/* @group Links - link visited hover active */
div#content a:link, div#content a:visited {
	text-decoration: underline;
	color: #009;
}
body#home div#content a:link, body#home div#content a:visited {
	color: #5050bc;
}


/* @end */


/* @group Form */
.fcol0 {
	width:500px;
	clear:both;
	padding-top:10px;
	text-align:left;
}
.fcol1 {
	width:245px;
	float:left;
	text-align:left;
}
.fcol2 {
	width:245px;
	margin-left:10px;
	float:right;
	text-align:left;
}

.textinpt {
	width: 200px;
	margin-bottom: 5px;
	margin-left: 0;
	padding: 2px;
	color:#6B6B6B;
}
.textarea {
	width: 455px;
	height:100px;
	padding: 2px;
	color:#6B6B6B;
}
label {
	font-weight:bold;
	margin-left: 0;
}
label span {		/*for required */
	color:#000098;
	font-weight:bold;
	margin: 0 2px;
}
/* @end */


/* @group Misc */
.clear {
	clear: both;
}
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
/* @end */


ul.inline-list a {
	color:#7D0D00 !important;
	text-decoration:none;
}


.nu{
font-family: serif;
}