/*
Biomatters Stylesheet v1.0
Target: All
Author: Matthew Buchanan
*/

body {
	margin: 0; padding: 20px;
	background-color: #fff;
	font: normal 90%/1.8em "Lucida Grande", "Lucida Sans", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
	color: #666;
}

h1, h2, h3, p, form, ol, ul {
	margin-top: 0;
	margin-bottom: 0.75em;
}

h1 {
	font-size: 150%;
}

h2 {
	color: #333;
	font-size: 115%;
}

h3 {
	font-size: 100%;
	line-height: 1.4em;
	margin: 1.25em 0 0.25em;
}

h4, h5, h6 {
	font-size: 90%;
	margin-top: 0.5em;
	margin-bottom: 0;
}

strong {
	font-size: 100%;
}

small {
	font-size: 90%;
}

p small {
	font-size: 85%;
	line-height: 1.6em;
}

small code {
	color: #333;
	font-size: 150%;
}

abbr, acronym {
	cursor: help;
	border-bottom: 1px dotted #666;
}

.inline {
	float: left;
	margin: 5px 5px 5px 0;
}

.nobr {
	white-space: nowrap;
}

label.inline {
	float: none;
	display: inline;
}

input.radio {
	vertical-align: middle;
}

input.textbox, textarea, select {
	color: #333;
}

select {
	font-size: 100%;
}

input.textbox, textarea {
 	width: 250px;
}

fieldset {
	border: 1px solid #ccc;
	margin-bottom: 1em;
	padding: 5px;
}

fieldset small {
	color: #999;
}

fieldset p {
  padding: 0 0 0 5px;
}

legend {
	background-color: #eee;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	padding: 0.5em;
	font: bold 80% "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
}

table, tr, th, td {
	padding: 0; margin: 0;
	border-collapse: collapse;
	border: none;
}

th, td {
	text-align: left;
	vertical-align: top;
}

a:link, a:visited {
	color: #06f;
}

a:hover, a:active {
	color: #03c;
}

/* Site Specific */

table.border {
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

table.border td, table.border th {
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 0.3em;
}

.centred {
	text-align: center;
}

/* Search styles */

#sitesearch {
  height: 38px;
  margin-top: -62px;
  right: 75px;
  width: 163px;
  position: absolute;
}

#sitesearch .search-wrapper {
  margin-left: 11px;
  margin-top: 9px;
  width: 250px;
  position: relative;
}

#sitesearch .searchtext{
  position: absolute;
  right: 60px;
  width: 170px;
  padding: 3px 0 0;
  top: 0; 
  margin: 0;
  border: 0 none;
  font-size: 11px;
  height: 20px;
  background: transparent url(/assets/img/searchfield_repeat.png) repeat-x scroll center top;
}


#sitesearch .search-wrapper .searchleft{
  background: transparent url(/assets/img/searchfield_leftcap.png) no-repeat scroll 0 0;
  height: 19px;
  position: absolute;
  width: 20px;
}

#sitesearch .searchright{
  background: transparent url(/assets/img/searchfield_rightcap.png) no-repeat scroll 0 0;
  height: 19px;
  position: absolute;
  right: 60px;
  width: 10px;
}

.clear { /* generic container (i.e. div) for floating buttons */
    overflow: hidden;
    width: 100%;
}

#sitesearch a.button {
    background: transparent url('/assets/img/search.png') no-repeat scroll top right;
    color: #444;
    display: block;
    height: 24px;
    margin-right: 6px;
    padding: 0px 30px 0px 13px; /* sliding doors padding */
    text-decoration: none;
    position: absolute;
    right: 18px;
    border: 0;
    font-size: 90%;
}


#sitesearch a.button:active{
    background-position: bottom right;
    color: #000;
    outline: none; /* hide dotted outline in Firefox */
}

#sitesearch a.button:hover{
    background-position: bottom right;
    color: #000;
    outline: none; /* hide dotted outline in Firefox */
}

#sitesearch label.overlabel {
  position:absolute;
  top:-3px;
  left:25px;
  z-index:1;
  color:#999;
  font-size: 75%;
}

#sitesearch label.overlabel {
    color:#999;
  }

#sitesearch label.overlabel-apply {
    position:absolute;
    top:-3px;
    left:25px;
    z-index:1;
    color:#999;
    font-size: 75%;
  }



.g{margin-top: 1em; margin-bottom:0;}

