/* This file contains the styles that are used on every page
   (not the styles _for_ every page) */

/* Body and general layout stuff */
body {
 font-family: Arial, sans-serif;
 margin-left: auto;
 margin-right: auto;
 padding-left: 0.5em;
 padding-right: 0.5em;
 color: #3b3b3b;
}

#content {
 display: block
}

.hiddenText {
  height: 0;
  width: 0;
  overflow: hidden;
  position: absolute; /* for the benefit of IE5 Mac */
}

.floatRight {
 float: right;
 padding: 1em;
}

.floatLeft {
 float: left;
 padding: 1em;
}

/* Links */
a:link {
 color: #1a487c;
}

a:visited {
 color: #0C70C0;
}

a:hover {
 color: #0C70C0;
} 

/* Header and navigation stuff */
div#topBar {
 display: block;
 /*padding-top: 125px;
 margin-bottom: 0.5em;
 background: url(../images/layout/global/mainLogo.png) no-repeat;*/
}

#topBar img {
 border: none;
 margin: 0;
 padding: 0;
}

#mainMenu {
 background: #fff url(../images/layout/global/mainMenuRight.png) no-repeat right top;
 height: 22px;
 position: inherit;
 text-transform: lowercase;
 width: 95%;
 margin-left: auto;
 margin-right: auto;
 font-family: Arial, sans-serif;
}

/*IE hack so the topBar image lines up with mainMenu*/
* html div#mainMenu {
 margin-top:-3px;
}

#mainMenu ul {
	padding: 0 0 0 1em;
	margin: 0;
	list-style: none;
	clear: none;
}

#mainMenu a {
	display: block;
	padding-right: 0.6em;
	color: #fff;
	text-decoration: none;
	margin-top: 2px;
	font-weight: 700;	
}

#mainMenu li { /* all list items */
	float: left;
	vertical-align: top;		
}

#mainMenu li ul { /* second-level lists */
	position: absolute;
	background-color: #fff;
	border: 2px solid #FE7013;
	margin-right: 1em;
	padding-left: 0.5em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#mainMenu li ul li {
	float: none; /* ensures short list items don't get put onto the same line */
	white-space: nowrap;
	padding-bottom: 0.5em;
}

#mainMenu li ul li a {
	color: #666;
	font-weight: normal;
}

#mainMenu li ul li a:hover {
	color: #fe7013;
}

#mainMenu li:hover ul, #mainMenu li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
	top: auto;
	position: absolute;
	z-index: 99;
}

#mainMenuLeftCap {
 background: url(../images/layout/global/mainMenuLeft.png);
 float: left;
 width: 13px;
 height: 22px;
/* margin-top: -2px;*/
}

#searchForm {
 display: inline;
 float: right;
 padding-right: 1em;
 padding-top: 2px;
}

#searchForm form {
 display: inline;
}

#searchForm input {
 background: url(../images/layout/global/searchBoxGradient.png) repeat-x;
 font-size: 0.8em;
 font-family: /* "Gill Sans MT", "Gill Sans", "GillSans", */ Arial, sans-serif;
 margin: 0;
 padding: 0 0.5em 0 0.5em;
 border: 1px solid #000;
 vertical-align: top; 
}

#searchForm input.button {
 background: #666;
 color: #fff;
 text-transform: lowercase;
 height: 1.5em; 
}

/* Member links (log in, register etc) */
#memberLinks{
 position: absolute;
 top: 0.5em;
 right: 0.5em;
}

/* Footer stuff */
#footerBar {
 background: #666 url(../images/layout/global/footerRight.png) no-repeat right;
 height: 20px;
 width: 95%;
 margin-left: auto;
 margin-right: auto;
 padding-top: 2px;
 display: block;
 clear: both;
 font-size: 0.75em;
 color: #fff;
}

#footerBar p {
 margin-top: 0;
}

#footerBarLeftCap {
 background: url(../images/layout/global/footerLeft.png);
 float: left;
 width: 13px;
 height: 22px;
 margin-top: -2px;
 position: inherit;
}

#footerBar a:link, #footerBar a:hover, #footerBar a:active, #footerBar a:visited {
 color: #fff;
}

#contactDetails{
float: left;
}

#kineticLink{
 float: right;
 padding-right: 1em;
}

#kineticLink img{
 border: 0;
}

/* Forms stuff */
label {
 float: right;
}

#mainMenu li.otherSite{
    float: right;
    padding-right: 1em;
}

#legallinks li {
 font-size: 0.8em;
 padding: 0 0.2em 0.2em 0.2em;
 margin: 0;
 list-style: none;
 float: left;
}