
/*

	CSS Template

	CONTENTS ----------
	
		1.Reset CSS
		2.Over all styles
		3.Layout
		4.Content
		5.aside styles (side column)
		6.Navigation
		7.ARD Tables
		8.Forms
		9.Site Search results
		
    -------------------

	COLOURS ----------

		Text, table lines, form border #444
		
		Main colour: a, main headings, mark, nav, button #89357d 

		Secondary colour: a:hover, text selection, nav:hover, button border #295250

    -------------------

 */
 
/* 1.Reset CSS
---------------------------------------------------------------*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td
 {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  

blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }

a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }

/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #444; margin:15px 0; padding:0; }
input, select { vertical-align:middle; }

/* always force a scrollbar in non-IE */ 
html { overflow-y: scroll; }



/* 2.Over all styles
---------------------------------------------------------------*/
body {
	font: 12px/18px Arial, Helvetica, sans-serif; /* to add line height of eg 18px use 13px/18px  */
	*font-size:small;/* hack retained to preserve specificity */
	color: #444;
	background-color:#fff;
	}

H1 { font:bold 24px/26px 'Brawler','Times New Roman', Times, serif; color:#89357d;}
H2 { font-size: 18px; font-family:'Brawler','Times New Roman', Times, serif; font-weight: bold; color: #89357d; }
H3 { font-size: 16px; font-weight: bold; color: #89357d; }
H4 { font-size: 14px; color: #444; }
H5 { font-size: 14px; color: #444; }
H5 A { text-decoration: none; color: #444; }

a, a:active, a:visited { color: #89357d; text-decoration: underline; }
	A:hover { color: #89357d; text-decoration: none; cursor:pointer; }
	a:hover, a:active { outline: none; }
	A.noline { color: #444; text-decoration: none; }
	A.noline:hover { color: #444; text-decoration: none; }

ul, ol { margin-left: 25px; }
ul { list-style:disc; }
ol { list-style-type: decimal; }


.small { font-size: 85%; }
strong, th { font-weight: bold; }

td, td img { vertical-align: top; }

.mark { background-color:#fff; color:#89357d; font-weight:bold; } /* text you would like to mark */
.social-link { float:left; margin:15px 15px 5px 0; }
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; } 

.ie7 img { -ms-interpolation-mode: bicubic; }/* bicubic resizing for non-native sized IMG */

/* Text highlight styles */
::-moz-selection{ background: #295250; color:#fff; text-shadow: none; }
::selection { background:#295250; color:#fff; text-shadow: none; } 
 
/* 
 * Non-semantic helper classes 
 */

/*  image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/*  image align left, right */
.right { float:right; margin:0 0 15px 15px; }
.left { float:left; margin:0 15px 15px 0; }

/* Hide for both screenreaders and browsers */
.hidden { display: none; visibility: hidden; } 

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* clearfix  */
.cf:before, .cf:after { content: "\0020"; display: block; height: 0; overflow:hidden; } 
.cf:after { clear: both; }
/* Fix clearfix IE */
.cf { zoom: 1; }

.width { display:block; float:left; width:100px; }

/* 3.Layout
---------------------------------------------------------------*/
/* Skip menu for screen readers to jump the main menu */
.skipmenu { text-align: left; }
.skipmenu a { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skipmenu a:focus, a:active { position: static; left: 0; width: auto; height: auto; overflow: visible; text-decoration: underline; }

#container { width:960px; margin:0 auto; }

#header { padding:0 20px; }
	#logo { float:right; margin:20px 0; width:210px; height:111px; } 
	#header p { font-family:'Brawler', "Times New Roman", Times, serif; font-size:34px; line-height:38px; color:#89357d; }
	#header .branding { margin-top:40px; }
	#header .address { color:#295250; font-size:18px; }
	
#banner { position:relative; width:960px; height:228px; }	
#banner img { width:960px; height:228px; margin-top:10px; position:absolute; z-index:2; }

#content { float:left; width:600px; padding:20px; }


#footer { border-top:3px solid #295250; margin-top:20px; }
	#footer p { color:#295250; line-height:40px; }
	#footer a { color:#295250; }


/* 4.Content
---------------------------------------------------------------*/

#content p, #content h1, #content h2, #content h3, #content h4, #content h5 { margin-bottom:15px; }
#content ul li:last-child, #content dt li:last-child { margin-bottom:15px; }
.ielt9 #content ul, .ielt9 .submenu ul { margin-bottom:15px; }
#content ul li ul li { margin-bottom:0; }
#content table { margin-bottom:15px; }

#content h2, #content h3, #content h4, #content h5 { margin-top:15px; } /* evenly space headings in the ARD content */


.contentmenu li { margin-bottom:10px; font-weight:bold; list-style:none; position:relative; padding-left:20px }
	.ie6 .contentmenu li, .ie7 .contentmenu li { list-style:disc;}
	.contentmenu li:before { 
		content:"";
		position:absolute;
		left:2px;
	top:70%;
		border:8px solid transparent;
		border-width:5px 7px;
		border-left-color:#89357d;
		margin-top:-8px;
		background:transparent;
    	}

.backlink li { margin-bottom:10px; list-style:none; position:relative; padding-left:20px }
.backlink a { text-decoration:none; }
	.ie6 .backlink li, .ie7 .backlink li { list-style:disc;}
	.backlink li:before { 
		content:"";
		position:absolute;
		left:0px;
	top:70%;
		border:8px solid transparent;
		border-width:5px 7px;
		border-right-color:#89357d;
		margin-top:-8px;
		background:transparent;
    	}



/* 5.aside styles (side column)
---------------------------------------------------------------*/

#column { width:300px; padding:45px 10px 10px; float:left; background:#e7d7e5; position:relative; margin-top:20px; }
	#column:before { 
		content:"";
		position:absolute;
		left:-5px; top:-11px;
		display:block;
		background:white;
		width:330px; height:30px;
		 -moz-transform: rotate(-3.5deg);  
		   -o-transform: rotate(-3.5deg);  
	  -webkit-transform: rotate(-3.5deg);  
		  -ms-transform: rotate(-3.5deg);  
			  transform: rotate(-3.5deg);  
				 filter: progid:DXImageTransform.Microsoft.Matrix( 
						 M11=0.9981347984218669, M12=0.06104853953485687, M21=-0.06104853953485687, M22=0.9981347984218669, sizingMethod='auto expand');
				   zoom: 1;
				   }
	#column h3 { color:#295250;margin-bottom:15px; }
	#column p { margin-bottom:15px; }




/* 6.Navigation
---------------------------------------------------------------*/


#nav {	
	clear: both;
	display:block;
	height:36px;
padding-top:4px;
	background:#295250; /* add background (this can be added directly to the #menu */
	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 */
     -moz-border-radius: 12px; 
  -webkit-border-radius: 12px; 
          border-radius: 12px;   
  -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; 
	}


#menu, #menu ul{
	margin:0;
	padding:0;
	list-style-type:none;
	list-style-position:outside;
	position:relative;
	line-height:32px; /* add line height  DONT USE HEIGHT */
	font-weight:normal;
	}
#menu { padding-left:20px; }
#menu li { 
	list-style:none;
	float:left; /* float needed */
	position:relative;
	border:0;
	}

#menu li:first-child a { border-left:none;  } #menu li:last-child a { border-right:none;  }/* remove borders on each end */

#menu a{
	display:block;
	padding:0px 20px; /* set padding will affect padding on all a tags in menu */
	line-height:32px; /* set line height DONT use just height */
	color:#fff;
	text-decoration:none;
	border-left:1px solid #fff; /* Borders as appropriate */
	}

#menu li:hover { background-color: #89357d; } /* keeps the original button highlighted */
#menu a:hover{
	background-color: #89357d;
	color:#fff;
	}


#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:194px; /* Width will need to be updated inline with all the padding on the menus */
	top:32px;
	background-color:#89357d;
left:1px
	}

#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 #fff;
	line-height:18px;
	padding:8px 22px;
	}
#menu li ul a:hover { background:#295250; }
#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;
	}
	


/* 7.ARD Tables
---------------------------------------------------------------*/

/*table formatting*/
.tablines { background-color: #444; }

#content .tablines table { margin-bottom:0; border-spacing: 1px; border-collapse: separate; } /*resets the padding to 0 on tables inside the tablines*/
 
/*a light colour on the borders of branded tables*/
.tabtitle{  font-weight: bold; color: #fff; background-color: #89357d; padding:5px; }

.tabletitle{ font-weight: bold; color: #fff; background-color: #89357d; padding:5px; }

/*Used if table has an extra heading.*/
.tabhead { font-weight: bold; color: #89357d; background-color: #fff; padding:5px; }

/*dark colour, matching nav bar or other strong colour in the site.*/
.tabbody { font-weight: normal; color: #444; background-color: #fff; padding:5px; }

/*standard text, white background, black text is most common.*/
.tabtotal{ font-weight: bold; color: #444; background-color: #fff; padding:5px; }

/* clientZONE table padding */
#CZDocumentBody td { padding:4px; }


/* 8.Forms (ask us a question, search)
---------------------------------------------------------------*/

/* Form Restet/Fixes */
textarea { overflow: auto; } /* remove scroll bar in IE unless needed */
label, input[type=button], input[type=submit], button { cursor: pointer; }/* hand cursor on clickable input elements */
button, input, select, textarea { margin: 0; }/* webkit browsers add a 2px margin outside the chrome of form elements */  

/* colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { 
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red; 
 -webkit-box-shadow: 0px 0px 5px red; 
         box-shadow: 0px 0px 5px red;
}
.ie6 legend, .ie7 legend { margin-left: -7px; }
button {  width: auto; overflow: visible; } /* make buttons play nice in IE */

/* ARD Form styles */

#FirstName, #LastName { width:49%; }
#Business, #Telephone, #emailAddress { width:98%; }
#ValidationCode { width: 100px; }
#Comments { width: 99%; height: 100px; }

.FormButton  { 
	height: 21px;
	color: #fff;
	background-color: #89357d;
	border: solid 0px #295250; }
.FormText {
	background-color: #fff;
	border: solid 1px #444;
	margin-bottom:5px;
	padding:3px; }
.FormTextRequired {
	background-color: #fff;
	border: solid 1px #FF0000;
	margin-bottom:5px;
	padding:3px; }


.searchform { float:right; padding-top:10px; }
/* Search Form */
.searchbut { 
	height:21px;
	font-weight:bold;
	color:#fff;
	background-color:#89357d;
	border:solid 1px #295250;
	float:left; }
.searchbox {
	height:19px;
	width:130px;
	color: #fff;
	background-color: #fff;
	border:solid 1px #295250;
	padding:0; margin:0 5px 0 0;
	float:left; }
	

/* 9.Site Search results
---------------------------------------------------------------*/
.NewsWireResult{ border: #444 1px solid; margin-bottom:15px; padding: 15px; }
.NewsWireResult H3 { margin: 0; }
.DataResult { border: #444 1px solid; margin-bottom:15px; padding: 15px; }
.DataResult H3 { margin: 0; }


