/*

	CSS Template

	CONTENTS ----------

		1.Over all styles
		2.Layout
		3.Search
		4.Menu(s)
		5.ARD Tables

    -------------------

	COLOURS ----------

		Text #000000
		
		A #205aac 

		A:hover #3978d2

		H1 #205aac
		
		H2 #3978d2

    -------------------

 */
 
/* Zero down margin and paddin on all elements */
* {
  margin: 0;
  padding: 0;
}
/* Make scroll bar always visibale IMPORTANT in FF */
HTMl { overflow: scroll; }


 /* 1.Over all styles
---------------------------------------------------------------*/
body {
	font: 12px Arial, Helvetica, sans-serif; /* to add line height of eg 18px use 13px/18px  */
	color: #000000;
	background-color:#e1e1e1;
	}
img { border:none; }
P, td, th, div { line-height: 17px; }
H1 { font: 24px/26px  "Century Gothic", Arial, Helvetica, sans-serif; color:#205aac;}
H2 { font-size: 18px; font-weight: bold; color: #3978d2;  }
H3 { font-size: 16px; font-weight: bold; color: #505050; }
H4 { font-size: 14px; color: #505050; line-height: 17px; }
H5 { font-size: 14px; color: #505050; line-height: 17px; }
H5 A { text-decoration: none; }
A { color: #205aac; text-decoration: underline; }
A:hover { color: #3978d2; text-decoration: none; cursor:pointer; }
A.noline { color: #000; text-decoration: none; }
A.noline:hover { color: #000; text-decoration: none; }
.strapline { color:#205aac; font-size:18px; border-bottom: 1px solid #205aac; }
.contact, .contact a { color:#3978d2; font-size:14px; margin-top:10px; }


/* 2.Layout
---------------------------------------------------------------*/

#wrapper {
  width: 820px; 
  margin: 0 auto;
  padding:0px 20px 20px 20px; 
  text-align: left;
  background-color:#FFFFFF; 
}


#branding {
	height: 150px;
	background-color:#FFFFFF;
	position:relative;
}

#brandingLinks {
	position:absolute;
	right: 9px;
	top: 10px;
	width:500px;
	text-align:right;
}
.topLinks { margin-bottom:40px; }
#contentContainer {
	width: 860px;
	display: block;
	clear: both;
	overflow: hidden;
	height:100%;
}
#flashBanner { width:100%; border-top: 1px solid #000000; border-bottom: 5px solid #000066; }
#content { 
  width: 520px;
  float: left;
  padding:20px; 
}
#content p, #content h1, #content h2, #content h3, #content h4, #content h5 { margin-bottom:15px; }
#content ul, #content ol { margin:0 0 15px 20px; }
#content table { margin-bottom:15px; }

#column { 
  width: 260px; 
  float: left;
} 
.columnBox { background-color:#d4d4d4; padding:10px; width:240px; display:block; overflow:auto; margin-top:15px; }
.columnBox img { float:left; }
.columnBox p, .columnBox h4 { margin-left:60px; }
.columnBox h4 { color:#205aac; font-weight:bold; }
#footer { 
  clear: both;
  margin-top:20px;
  padding: 0px 20px 0 20px;
  background-color:#7092c6;
  background-image:url(../images/footerbg.gif);
  height:29px; 
} 
#footer a, #footer p { color:#FFFFFF; line-height:29px; }
#footerPrimary { 
  width: 260px;
  float: left;
  height:30px;
  line-height:30px;
}

#footerSecondary { 
  width: 490px; 
  float: left; 
  height:30px;
  line-height:30px;
  text-align:left;
} 

.clearfloat { clear:both; height:0; font-size:1px; line-height:0px; }



/* 3.Search
---------------------------------------------------------------*/
input.searchfield { width: 120px; padding: 6px; border: 2px solid #ccc; font-size: 11px; }
input.searchbutton { background: #205aac; border: 0; padding: 6px; color: #fff; font-weight: bold; font-size: 11px; }
.searchform { padding:0; margin:0; }
.searchbut { 
	height:21px;
	width:25px;
	font-weight:bold;
	color:#000;
	background-color:#505050;
	border:solid 1px #000;
	margin:0; padding:0;
	float:left; }
.searchbox {
	height:21px;
	width:100px;
	color: #000000;
	background-color: #FFFFFF;
	border:solid 1px #505050;
	padding:0; margin:0;
	float:left; }

/* 4.Menu
---------------------------------------------------------------*/
#menuWrap {	
	clear: both;
	position:relative;
	display:block;
	height:36px;
	background-image:url(../images/menubg.gif); background-repeat:repeat-x;
	position:relative;
	z-index:100;/* this makes sure that the menu appears on top of all elements of the page mainly things like JS banners and flash files */
	}

#menu, #menu ul{
	margin:0;
	padding:0;
	list-style-type:none;
	list-style-position:outside;
	position:relative;
	line-height:1.5em; /* add line height  DONT USE HEIGHT */
	font-family:Arial,Helvetica,sans-serif;
	font-weight:normal;
	}
	
#menu { margin-left:10px; /* add any padding - separate so you don’t add margin to the all the ul elements */ }

#menu li { 
	list-style:none;
	float:left; /* float needed */  
	}
	
#menu li.noborderr a { border-right:none;  } #menu li.noborderl a { border-left:none;  }/* Borders as appropriate */

#menu a{
	display:block;
	padding:0px 7px; /* set padding will affect padding on all a tags in menu */
	line-height:36px; /* set line height DONT use just height */
	color:#fff;
	text-decoration:none;
	border-left:1px solid #FFFFFF; border-right:1px solid #3978d2; /* Borders as appropriate */
	}

#menu a:hover{
	background-color: #3978d2;
	color:#fff;
	}

#menu li{
	float:left; /* IMPORTANT */
	position:relative;
	border:0;
	}

#menu ul {
	position:absolute; /* Menu uses position ab to set drop downs so top: needs to be the same height as the menu */
	display:none; /*display none so menu is not visable until user hovers over the li*/
	width:165px; /* Width will need to be updated inline with all the padding on the menus */
	top:36px;
	background-color:#205aac;
	}

#menu li ul a{
	width:150px; /* Width will need to be updated inline with all the padding on the menus */
	height:auto;
	float:left;
	border:0;
	border-bottom:1px solid #FFFFFF;
	line-height:24px;
	}

#menu ul ul{
	top:auto;
	}	

#menu li ul ul { /* styles for sub drop downs */
	left:184px; /* left needs to be the overall width of the main drop down  */
	margin:0px 0 0 10px;
	width:204px;
	}
#menu li ul ul a { 
	width:160px; /*update width inline with all the overs*/
	}
#menu li:hover ul ul, #menu li:hover ul ul ul, #menu li:hover ul ul ul ul{
	display:none;
	}
#menu li:hover ul, #menu li li:hover ul, #menu li li li:hover ul, #menu li li li li:hover ul{
	display:block;
	}
	


/* 5.ARD Tables
---------------------------------------------------------------*/

/*table formatting*/
.tablines { background-color: #505050; }
 
/*a light colour on the borders of branded tables*/
.tabtitle{  font-weight: bold; color: #FFFFFF; background-color: #205aac; padding:5px; }

.tabletitle{ font-weight: bold; color: #FFFFFF; background-color: #205aac; padding:5px; }

/*Used if table has an extra heading.*/
.tabhead { font-weight: bold; color: #205aac; background-color: #FFFFFF; padding:5px; }

/*dark colour, matching nav bar or other strong colour in the site.*/
.tabbody { font-weight: normal; color: #000000; background-color: #FFFFFF; padding:5px; }

/*standard text, white background, black text is most common.*/
.tabtotal{ font-weight: bold; color: #000000; background-color: #FFFFFF; padding:5px; }



/* 5.Forms (ask us a question)
---------------------------------------------------------------*/

#FirstName, #LastName { width:49%; }
#Business, #Telephone, #emailAddress { width:98%; }
#ValidationCode { width: 100px; }
#Comments { width: 99%; height: 100px; }

.FormButton  { 
	height: 19px;
	color: #FFFFFF;
	background-color: #205AAC;
	border: solid 0px #205AAC; }
.FormText {
	background-color: #FFFFFF;
	border: solid 1px #000000;
	margin-bottom:5px;
	padding:2px; }
.FormTextRequired {
	background-color: #FFFFFF;
	border: solid 1px #FF0000;
	margin-bottom:5px;
	padding:2px; }
