
/*

	CSS Template

	CONTENTS ----------

		1.Over all styles
		2.Layout
		3.Search
		4.Menu(s)
		5.ARD Tables

    -------------------

	COLOURS ----------

		Text #000000
		
		A #e31e36 

		A:hover #ad2a22

		H1 #ad2a22
		
		H2 #e31e36

    -------------------

 */
 
/* 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:#fff;
	}
P, td, th, div { line-height: 17px; }
H1 { font: 24px/26px bold Arial, Helvetica, sans-serif; color:#ad2a22;}
H2 { font-size: 18px; font-weight: bold; color: #e31e36;  }
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: #e31e36; text-decoration: underline; }
A:hover { color: #ad2a22; text-decoration: none; cursor:pointer; }
A.noline { color: #000; text-decoration: none; }
A.noline:hover { color: #000; text-decoration: none; }
.small { font-size:11px; color:#666666; }
/* 2.Layout
---------------------------------------------------------------*/

#logo { border:0; width:310px; float:left; }

#content { float:right; }
#content p, #content h1, #content h2, #content h3, #content h4, #content h5 { margin-bottom:15px; }
#content ul, #content ol { margin:0 0 15px 30px; }
#content table { margin-bottom:15px; }

#wrapper {
  width: 940px; 
  margin: 0 auto; 
  text-align: left;
  position:relative; 
}

#branding {
	height: 100px;
	background-color:#FFFFFF; position:relative;
}
#branding img { position:absolute; left:0; top:0; }
#contact { background-image:url(../images/telephone.gif); background-repeat:no-repeat; background-position:left; margin:10px 0; float:right; padding-left:50px; }
#contact p { line-height:18px; color:#ad2a21; font-size:11px; margin:0; padding:0; text-align:right; }
#brandingLinks { 
	position:absolute;
	right: 10px;
	top: 40px;
	color:#014a96;
	text-align:right;
	font-size:13px; }
#brandingLinks a { color:#999999; }

#contentContainer {
	width: 940px;
	display: block;
	clear: both;
	overflow: hidden;
	height:100%;
	background-image:url(../images/mainbgtile.gif);
	background-repeat:repeat-y;
	background-position:left;
}
#content { 
  width: 600px;
  background-image:url(../images/mainbg.gif); background-repeat:no-repeat; background-position: right top;
  float: right;
  padding:0px 0 20px 0;
  margin-top:10px; 
}

#content p, #content h1, #content h2, #content h3, #content h4, #content h5, #mainBanner { margin-bottom:15px; }
#mainBanner { background-image:url(../images/mainbanner.jpg); width:100%; height:206px; }
#column { 
  width: 250px; 
  float: left;
  margin-top:10px;
  padding: 0 20px 20px 20px;
} 
.boxContainer {  padding:10px; margin-bottom:5px; display:block; text-decoration:none; width:215px;}
.boxContainer:hover { background-color:#e1cdcf; padding:10px; margin-bottom:5px; display:block; text-decoration:none; }
.boxContainer h3 { color:#e31e36; font-size:16px; margin-left: 60px; font-weight:normal; margin-bottom:3px; }
.boxContainer p { color:#000000; font-size:11px; margin-left: 60px; }
.boxContainer img { float:left; border: none; }
.contentBox { padding:10px; margin-bottom:15px; display:block; min-height:150px; border-bottom:1px solid #CCCCCC; }
.contentBox p, .contentBox h2, .contentBox h3 { margin-left:220px; }
.contentBox img { float:left; border: 1px solid #333333; }

#footer { 
margin-top: 20px;
  clear: both;
  padding: 10px 20px;
  border-top: 1px solid #e31e36;
  height:20px;
} 
#footer p { color:#ad2a22; margin-bottom:10px; font-size:12px; }
#footer a { color:#ad2a22; text-decoration:none; }
#footer a:hover { color:#e31e36; text-decoration:underline; }
#footerPrimary { 
  width: 330px;
  float: left;
}
#footerPrimary p, #footerSecondary p { font-size:11px; }
#footerSecondary { 
  width: 400px; 
  float: left; 
  text-align:left;
} 

/* 3.Search
---------------------------------------------------------------*/
.searchform { margin: 10px 0; padding:0px; }
input.searchfield { width: 178px; padding: 6px; border: 2px solid #e31e36; font-size: 11px; color:#666666; }
input.searchbutton { background: #e31e36; border: 0; padding: 6px; color: #fff; font-weight: bold; font-size: 11px; }
.searchbut { 
	height:21px;
	width:25px;
	font-weight:bold;
	color:#000;
	background-color:#e31e36;
	border:solid 1px #e31e36;
	margin:0; padding:0;
	float:left; }
.searchbox {
	height:21px;
	width:100px;
	color: #000000;
	background-color: #FFFFFF;
	border:solid 1px #e31e36;
	padding:0; margin:0;
	float:left; }

/* 4.Menu
---------------------------------------------------------------*/
#menuWrap {	
	clear: both;
	position:relative;
	display:block;
	height:32px;
	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 */
	float:right;
	}

#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,Verdana,Helvetica,sans-serif;
	font-weight:normal;
	font-size:13px;
	}
	
#menu { margin-left:0px; /* 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 22px; /* set padding will affect padding on all a tags in menu */
	line-height:32px; /* set line height DONT use just height */
	color:#e41e37;
	text-decoration:none;
	border-left:1px solid #FFFFFF; border-right:1px solid #e41e37; /* Borders as appropriate */
	}

#menu a:hover{
	background-color: #e41e37;
	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:194px; /* Width will need to be updated inline with all the padding on the menus */
	top:32px;
	background-color:#FFFFFF;
	}

#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 #e41e37;
	line-height:18px;
	padding:8px 22px;
	}

#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;
	}

/*-----------------------Vertical menu----------------------------*/

#verticalmenu {
	clear: both;
	position:relative;
	display:block;
	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 */
	width:280px; /*set width of menu*/
	padding-top:33px;
	}
#submenu, #submenu ul{
	margin:0;
	padding:0;
	list-style-type:none;
	list-style-position:outside;
	position:relative;
	line-height:1.5em; /*set line height DONT use height*/
	font-family: Arial,Verdana,Helvetica,sans-serif;
	font-weight:normal;
	font-size:13px;
	}

#submenu li { 
	list-style: none; 
	position:relative;
	border:0;
	}
#submenu a{
	display: inline-block;
	width:222px; /*Width of menu minus the padding*/
	padding:0px 22px 0 36px;
	line-height:34px; /*set line height DONT use height*/
	color:#5f131d;
	font-weight:800;
	text-decoration:none;
	background-image:url(../images/menubg.gif);
	background-position:left center;
	background-repeat:no-repeat;
	text-transform:uppercase;
	}

#submenu a:hover{
	background-image:url(../images/menubghover.gif);
	background-position:left center;
	background-repeat:no-repeat;
	color:#ad2a21;
	}

#submenu ul {
	position:absolute; /* Menu uses position ab to set drop downs so left: 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:228px; /* Width will need to be updated inline with all the padding on the menus */
	left:280px;
	top:0;
	background-color:#cfbdc1;
	color:#FFFFFF;
	background-image:none;
	}

#submenu li ul a{
	width:170px; /*update width inline with all the overs*/
	display:block;
	line-height:normal;
	padding-bottom:9px;
	padding-top:9px;
	float:left;
	border:0;
	border-bottom:1px solid #FFFFFF;
	color:#ad2a21;
	background-image:none;
	font-size:12px;
	text-transform:none; 
	}
#submenu li ul a:hover { background-image:none; background-color:#e31e36; color:#FFFFFF; }
#submenu ul li { 
	float:left; /*float important*/
	display:inline;
	}

#submenu li ul li ul {
	left:274px; /*position ab in herited from above left needs to be set to width on drop downs*/
	margin:0px 0 0 10px;
	width:234px;
	top:auto; /*should defalut to top of LI as long as float left is used on LI*/
	}
#submenu li ul ul a { 
	width:160px; /*update width inline with all the overs*/
	}
#submenu li:hover ul ul, #submenu li:hover ul ul ul, #submenu li:hover ul ul ul ul{
	display:none;
	}
#submenu li:hover ul, #submenu li li:hover ul, #submenu li li li:hover ul, #submenu li li li li:hover ul{
	display:block; /*IMPORTANT set drowns downs to show on hover*/
	}

/* 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: #ad2a22; padding:5px; }

.tabletitle{ font-weight: bold; color: #FFFFFF; background-color: #ad2a22; padding:5px; }

/*Used if table has an extra heading.*/
.tabhead { font-weight: bold; color: #ad2a22; 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: #ad2a22;
	border: solid 0px #ad2a22; }
.FormText {
	background-color: #FFFFFF;
	border: solid 1px #000000;
	margin-bottom:5px;
	padding:2px; }
.FormTextRequired {
	background-color: #FFFFFF;
	border: solid 1px #ad2a22;
	margin-bottom:5px;
	padding:2px; }

