/* Start of CMSMS style sheet 'Global' */
/* CSS Document 
Website: www.dmbioscience.com
Designed by: Daniel Gough
Date: August 2007
© Copyright Daniel Gough 2007
*/

/* Page Control
==================================================================================== */

* { margin: 0; padding: 0; }

html { font-size: 100%; }

body {
	background: #6497CA url(../images/bgBody.gif) repeat-x top left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	color: #000;
	}
	
p, pre, blockquote, fieldset, table {
	margin: 1em 0;
	}
	
.clear {
	clear: both;
	height: 1px;
	line-height: 1px;
	font-size: 1px;
	padding: 0px;
	overflow: hidden;
	margin-bottom: -1px;
}

.floatLeft { float: left; }
.floatRight { float: right; }

/* Page Layout
==================================================================================== */

#wrap {
	width: 780px;
	margin: 0 auto;
	min-height: 100%;
	text-align: left;
        background: url(../images/bgContent.gif) repeat-y top center;
	}

* html #wrap {
	height: 100%;
	}	
	
#header {
	height: 100px;
        background: #6497CA url(../images/bgBody.gif) repeat-x top left;
	}
	
#header h1 {
	float: left;
	width: 400px;
	height: 66px;
	position: relative;
	top: 17px; left: 0;
	background: url(../images/global/logo.gif) no-repeat;
	}	
	
#header h1 span {
	display: none;
	}
	
#search {
	float: right;
	position: relative;
	width: 200px; height: 30px;
	top: 40px; left: 0px;
	}		

#nav {
	margin: 0;
	padding: 0;
	font-size: 1.2em;
	
	}
	
#content {
	clear: both;
	background: url(../images/bgContent.gif) repeat-y top center;
	border-top: 1px solid #fff;
	
        padding-bottom: 25px;
	text-align: left;
	}
	
#mainContent {
	float: left;
	padding: 25px;
	width: 500px;
	}
	
#subContent {
	float: right;
	width: 230px;
	padding-top: 25px;
	}

#subNav { margin-left: 2px; margin-bottom: 25px; padding: 0 0 25px 0; border-bottom: 1px solid #fff; }
	
#latestNews { margin-left: 2px; padding: 25px 0; border-bottom: 1px solid #fff; }

#quickLinks { margin-left: 2px; padding-bottom: 25px; border-bottom: 1px solid #fff; }
	
#footer {
	width: 780px;
	clear: both;
	/* stick at bottom */
	height: 35px;
	position: relative;
	margin-top: -35px;
	background-color: #000;
	}

#footerLeft { float: left; }
	
#footerRight { float: right; }
	
/* Main Navigation	
==================================================================================== */	

#nav ul {
	float: left;
	width: 100%;
	list-style: none;
	background: url(../images/bgNav.gif) repeat-x top left;
	}
	
#nav li {
	float: left;
	margin: 0;
	padding: 0;
	}
	
#nav a {
	float: left;
	display: block;
	margin: 0;
	padding: 8px 15px;
	text-decoration: none;
	background: url(../images/bgNav_off.gif) repeat-x top left;
	border-right: 1px solid #8E8E8E;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	}
	
#nav a:hover { color: #05386B; }		

#nav li.current {
	padding: 8px 15px;
	background: #fff;
	border-right: 1px solid #8E8E8E;
	color: #05386B;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	}
	
#nav li a.current {
	padding: 8px 15px;
	background: #fff;
	border-right: 1px solid #8E8E8E;
	color: #05386B;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	}

/* Sub Navigation	
==================================================================================== */	

.subNavHead { margin-left: 23px; margin-right: 1px; margin-bottom: 12px; border-bottom: 1px solid #8E8E8E; padding-bottom: 2px; }

#subNav ul { margin-left: 23px; margin-right: 1px; list-style: none; }

#subNav li {
	margin: 2px 0;
	padding: 4px 0 4px 18px;
	font-size: 1.2em;
	background: #C5C5C5 url(../images/global/submenu_icon.gif) no-repeat 0 3px;
	}
	
#subNav a { padding-bottom: 2px; color: #fff; font-weight: bold; text-decoration: none;}

#subNav a:hover { color: #05386B; }

#subNav li.active { color: #05386B; font-weight: bold; text-decoration: none; }	

	
/* Page Styles
==================================================================================== */	

#mainContent p { font-size: 1.3em; line-height: 1.5em; color: #6E6E6E; }
#mainContent h2 { 
	font-size: 1.45em; 
	line-height: 1.5em; 
	margin-top: 20px; 
	color: #05386B; 
	border-bottom: 1px dotted #C5C5C5; 
	padding-bottom: 2px;
        text-transform: uppercase;
	}
	
#mainContent h3 {		
	font-size: 1.25em; 
	line-height: 1em; 
	margin-top: 20px; 
	color: #05386B; 
	padding-bottom: 1px; 
	}

#mainContent h4 {		
	font-size: 1.05em; 
	line-height: 1.5em; 
	margin-top: 20px; 
	color: #05386B; 
	border-bottom: 1px dotted #C5C5C5; 
	padding-bottom: 2px; 
	}

#mainContent ul { 
	margin: 1.4em; 
	font-size: 1.3em; 
	line-height: 1.5em; 
	color: #6E6E6E; 
	list-style-type: square; 
	}

#mainContent a { color: #358ECD; }
#mainContent a:hover { color: #BF1017; }

#mainContent table {
	width: 100%;
	font-size: 1.3em; 
	line-height: 1.5em; 
	color: #6E6E6E;
	border: 1px solid #C5C5C5;
	background: #fff;
	}
	
#mainContent table th, table td {
	margin: 0;
	padding: 4px 10px;
	text-align: left;
	border-bottom: 1px solid #b5b5b5;
	}

#breadcrumbs { font-size: 1.2em; color: #fff; background-color: #000; padding: 5px; }
	
#subContent h2 { font-size: 1.3em; line-height: 1.5em; color: #05386B; }

#footer p { margin-top: 1.5em; font-size: 1.1em; color: #fff; margin: 0 8px;}
#footer a { color: #fff; }

#footerLeft p { padding-top: 1em; }	
#footerRight p { padding-top: 0.6em; }	

.imgFooter { border: 0; vertical-align: middle; }
.imgBorder { padding: 4px; border: 1px solid #D8D6D9; }

.rssIcon { position: relative; left: 0; top: 3px; padding-right: 5px; }
.linkIcon { position: relative; left: 0; top: 3px; padding-right: 5px; }

/* News
==================================================================================== */	

.latestNewsTitle { margin-left: 23px; margin-right: 1px; border-bottom: 1px solid #8E8E8E; padding-bottom: 2px;}

.NewsSummary { margin-top: 10px; margin-left: 23px; }

.NewsSummaryPostdate { color: #358ECD; font-size: 1.1em; line-height: 1.25em; letter-spacing: 0.05em; }

.NewsSummaryLink { font-size: 1.2em; text-transform: uppercase; padding-top: 5px; letter-spacing: 0.05em; }
.NewsSummaryLink a { color: #BF1017;  }

.NewsSummarySummary p { font-size: 1.3em; line-height: 1.25em; color: #000; }
.NewsSummaryContent p { font-size: 1.3em; line-height: 1.25em; color: #000; }

.NewsSummaryMorelink { color: #8E8E8E; font-size: 1.1em; margin-right: 1px; padding-bottom: 5px; border-bottom: 1px dotted #C5C5C5; }
.NewsSummaryMorelink a { color: #BF1017; }

/* Quick Links
==================================================================================== */	

.quickLinksHead { margin-left: 23px; margin-right: 1px; border-bottom: 1px solid #8E8E8E; padding-bottom: 2px; }

#quickLinks ul { margin-left: 23px; list-style: none; }
	
#quickLinks li {
	margin: 12px 0;
	padding: 4px 0 0 18px;
	font-size: 1.2em;
	background: url(../images/global/page_icon.gif) no-repeat 0 3px;
	}

#quickLinks a {	color: #358ECD; }

#quickLinks a:hover { color: #BF1017; }	

/* Search
==================================================================================== */	

.formSearch {
	position: absolute;
	width: 200px;
	margin: 0;
	font-size: 1em;
	}
	
input.formSearch {
	padding:3px;
	width:170px;
	border:1px solid #FFFFFF;
	color:#05386B;
	background:#DADADA;
	display: inline;
	}

.buttonSearch {
	position: relative;
	left: 178px;
	}

/* Contact Form
==================================================================================== */	


.position label { float: left; width: 30%; }

.registerForm { 
	width: 460px; 
	border: 1px solid #D4D4D4; 
	padding: 20px; 
	}

.registerForm label {
	font-size: 1.3em; 
	line-height: 1.5em; 
	color: #6E6E6E;
	}
	
	
.registerForm div {
	margin: 0.4em 0 0.6em 0;
	}
	
.registerForm fieldset {
	border: none;
	margin: 0;
	padding: 0;
	}

	
.registerForm legend {
	margin: 0 0 10px 0;
	padding: 0;
	font-size: 1.3em;
	font-weight: bold;
	color: #6E6E6E;
	}

input[type=checkbox] {
	display: inline;
	margin: 2px 2px;
	}

/* Needs Form
==================================================================================== */

.needsForm { 
	width: 460px; 
	border: 1px solid #D4D4D4; 
	padding: 20px; 
	}

.needsForm label {
	display: block;
	width: 100%;
	font-size: 1.3em; 
	line-height: 1.5em; 
	color: #6E6E6E;
	}
	
.needsForm div {
	clear: left;
	margin: 0.4em 0 0.6em 0;
	}
	
.needsForm fieldset {
	border: none;
	margin: 0;
	padding: 0;
	}
	
.needsForm legend {
	margin: 0 0 10px 0;
	padding: 0;
        font-size: 1.3em;
        font-weight: bold;
        color: #6E6E6E;
	}

.needsFormTxt {
	width: 100%;
	} 
/* End of 'Global' */

/* Start of CMSMS style sheet 'pageHeight' */
/* CSS Document */

html { height: 100%; }
	
body { height: 100%; }

#nonFooter { position: relative; min-height: 100%; }

* html #nonFooter { height: 100%; }

#footer {
	position: relative;
	margin: -3.5em auto 0 auto;
	}

/* A CSS hack that only applies to IE -- specifies a different offset for the footer */

* html #footer {
	margin-top: -3.4em;
	}
/* End of 'pageHeight' */

/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */

/* End of 'Accessibility and cross-browser tools' */

