/********************
Safari Hacks
**********************/

html[xmlns*=""] body:last-child #sideBar form {
	margin-bottom: 0px;
}

html[xmlns*=""] body:last-child #text {
	width: 164px;
}

html[xmlns*=""] body:last-child #homeAnchor {
	margin-top: -3px;
}

html[xmlns*=""] body:last-child #commercialAnchor {
	margin-top: -3px;
}

html[xmlns*=""] body:last-child #businessAnchor {
	margin-top: -3px;
}

html[xmlns*=""] body:last-child #financeAnchor {
	margin-top: -3px;
}

html[xmlns*=""] body:last-child #insuranceAnchor {
	margin-top: -3px;
}

html[xmlns*=""] body:last-child #vehicleAnchor {
	margin-top: -3px;
}

/************************
GLOBAL STYLES
************************/


body {
	background-color: #C9C8C2;
	background-image: url("images/BG/bgPicture.gif");
	background-repeat: repeat-x; 
	background-position: 0px 52px;
	background-attachment: fixed;
	font-family: arial, sans-serif;
	color: white;
}

a:link, a:visited {
	text-decoration: none;
	color: #292F54;
}

a:hover, a:active {
	text-decoration: underline;
}

.invisible {
	visibility: hidden;
}

/************************
POSITIONING & BACKGROUND STYLES
************************/

#container {
	position: relative;
	background-color: transparent;
	width: 790px;
	margin: 5px auto;
	background-image: url("images/BG/bgContainer.gif");
	background-repeat: repeat-y;
	background-position: 0px 0px;
}

	/*************Header*********************/
	
	#melbIT {
		width: 790px;
		height: 20px;
		margin: 0px;
		padding: 0px;
		font-size: 1em;
		background-image: url("images/BG/bgH1.gif");
		margin-left: 0px;
		margin-right: 0px;
	}
	
	h2 { 
		color: #73B633;
		font-size: 12px;
	}
	
	/************Left Content************/
	#leftContent {
		float: left;
		width: 492px;
		padding-left: 30px;
		padding-top: 15px;
	}
	
	#leftContent h1 {
		font-size: 18px;
		background-color: #73B633;
		color: white;
		margin: 10px 0px 0px 0px;
		padding: 4px 4px 4px 20px;
	}


		/*************Credits Bar*****************/
	
		#creditsBar {
			width: 220px;
			margin-top: 10px;
			font-size: 11px;
			background-color: #E6F5C9;
			padding-top: 5px;
			padding-bottom: 5px;
		}

		#creditsBar p {
			background-color: white;
			color: #73B633;
			font-size: 1em;
			margin: 0px 5px 0px 5px;
			padding:5px;
		}

		#creditsBar span {
			display: block;
			position: relative;
			left: 110px;
			width: 95px;
			background-color: white;
			text-align: center;
			color: #9AC647;
			padding: 5px;
			margin-top: -36px;
		}
		
		#creditsBar img {
			padding: 5px 10px 0px 5px;
		}
		
		#creditsBar img.topImage {
			padding-top: 55px;
		} 
		
		/****************Main Copy************/
	
		#copy {
			color: #434D8A;
			font-size: 12px;
			width: 492px;
			float: left;
			font-family: Arial;
		}
		
		#copy h3, #copy h4 {
			color: #73B633;
			font-size: 12px;
		}
		#copy ul li {
			padding: 5px;
		}

		#copy table {
			padding: 2px;
			border: #434D8A 1px solid;
			border-collapse: collapse;
		}
		#copy td {
			border: #434D8A 1px solid;
			padding: 2px;
		}

		#copy thead {
			font-weight: bold;
		}

		#copy .heading {
			font-weight: bold;
		}

		#copy blockquote {
			font-size: 0.9em;
		}

		#copy #small {
			font-size: 0.9em;
		}

		#copy .listTitle {
			color: #73B633;
		}

		#search iframe {
			width: 492px;
			font-size: 80%;
		}

	
	
	/************Right Content**********/
	#rightContent {
		float: right;
		position: relative;
		padding: 15px;	
		padding-right: 20px;
		top: 0px;
		bottom: 50px;
		right: 0px;
	}
	
	#rightContent img {
		border: none;
	}
	
	/***********SideBar****************/
	#sideBar {
		position: relative;
		background-color: #73B633;
		margin-right: 8px;
		width: 220px;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	
	#sideBar p {
		padding:10px;
		font-size: 10px;
	}
	
	#sideBar ul {
		background-color: #E6F5C9;
		margin: 5px 5px 5px 5px;
		list-style-type: none;
		border: #AEDF4F 3px solid;
		color: #73B633;
	}
	
	#sideBar ul li {
		margin-left: -37px;
		margin-right: -5px;
		list-style-position: inside;
		padding-left: 20px;
		padding-right: 40px;
	}
	
	#sideBar ul li.first {
		padding-top: 10px;
	}
	
	#sideBar ul li h4 {
		margin: 0px;
		padding: 0px;
	}
	
	#sideBar ul li.last {
		padding-bottom: 10px;
	}
	
	#sideBar ul li a {
		display: block;
		padding: 5px 5px 0px 5px;
	}
	
	#sideBar ul li a:link, #sideBar ul li a:visited {
		color: #73B633;
		font-size: 0.8em;
		font-family: "Trebuchet MS", arial, sans-serif;
	}
	
	#sideBar ul li a:hover, #sideBar ul li a:active { 
		color: #699D2E;
		text-decoration: none;
	}

	#sideBar form {
			margin-left: 5px;
			margin-right: 5px;
			border: #AEDF4F 3px solid;
			background-color: #E6F5C9; 
	}
	#sideBar form input {
		margin: 0px;
		padding: 0px;
	}
	
	
	/**********Footer*********/
	#footer a:link, #footer a:active, #footer a:visited {
		color: white;
	}
	
	#footer a:hover {
		text-decoration: underline;
	}
	#footer {
		clear: both;
		padding-bottom: 5px;
		padding-left: 30px;
		padding-right: 30px;
		background-image: url("images/BG/bgFooter.gif");
		background-position: 0% 100%;
		background-repeat: no-repeat;
		font-family: arial;
	}
	
	#footer p {
		background-color: #73B633;
		color: white;
		font-size: 9px;
		padding: 5px;
	}
	
	#footer p span {
		display: block;
		margin: 0px auto 0px 10px;
	}

/***********************
NAVIGATION
***********************/


#mainNav {
	background-color: #292F54;
	background-image: url("images/BG/bgNavBottom.gif");
	background-repeat: no-repeat;
	background-position: 0% 100%;
	padding-bottom: 10px;
}

#mainNav a:hover, #mainNav a:visited {
	text-decoration: none;
}

#mainNav ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

#mainNav ul li {
	float: left;
}

#mainNav ul li a {
	display: block;
	font-size: 0.8em;
	height: 35px;
	margin: 3px 0px 4px 3px;
}

#homeAnchor {
	background-image: url("images/BG/NavBG/home.gif");
	background-repeat: no-repeat;
	width: 76px;
}

#homeAnchor:hover, #homePage #homeAnchor, #homeAnchor.hovering {
	background-image: url("images/BG/NavBG/homeRoll.gif");
	width: 79px;
	margin: -6px 0px 0px 0px;
	height: 48px;
}

#commercialAnchor {
	background-image: url("images/BG/NavBG/commercial.gif");
	background-repeat: no-repeat;
	width: 79px;
}

#commercialAnchor:hover, #commercialAnchor.hovering, #commercialPage #commercialAnchor {
	background-image: url("images/BG/NavBG/commercialRoll.gif");
	margin: -6px 0px 0px 3px;
	height: 48px;
}

#businessAnchor {
	background-image: url("images/BG/NavBG/business.gif");
	background-repeat: no-repeat;
	width: 79px;
}

#businessAnchor:hover, #businessAnchor.hovering, #businessPage #businessAnchor {
	background-image: url("images/BG/NavBG/businessRoll.gif");
	margin: -6px 0px 0px 3px;
	height: 48px;
}
#vehicleAnchor {
	background-image: url("images/BG/NavBG/vehicle.gif");
	background-repeat: no-repeat;
	width: 79px;
}
#vehicleAnchor:hover, #vehicleAnchor.hovering, #vehiclePage #vehicleAnchor {
	background-image: url("images/BG/NavBG/vehicleRoll.gif");
	margin: -6px 0px 0px 3px;
	height: 48px;
}

#insuranceAnchor {
	background-image: url("images/BG/NavBG/insurance.gif");
	background-repeat: no-repeat;
	width: 79px;
}

#insuranceAnchor:hover, #insuranceAnchor.hovering, #insurancePage #insuranceAnchor {
	background-image: url("images/BG/NavBG/insuranceRoll.gif");
	margin: -6px 0px 0px 3px;
	height: 48px;
}

#financeAnchor {
	background-image: url("images/BG/NavBG/finance.gif");
	background-repeat: no-repeat;
	width: 79px;
}

#financeAnchor:hover, #financeAnchor.hovering, #financePage #financeAnchor {
	background-image: url("images/BG/NavBG/financeRoll.gif");
	margin: -6px -3px 0px 3px;
	height: 48px;
	width: 82px;
}

/************Sub Navigation*****************/

#mainNav ul.subNav {
	position: absolute;
	visibility: hidden; 
	background-image: url("images/BG/navBG/bgRollOver.gif");
	background-repeat: repeat;
	background-color: white;
	z-index: 1000;
	color: #7A7A7A;
	width: 79px;
	height: 150px;
	padding: 3px 0px 0px 0px;
	font-family: "Helvetica";
	font-size: 10px;
	margin-left: 3px;
}

#mainNav .subNav a:hover {
	text-decoration: underline;
}
	
#mainNav #homeLink ul.subNav {
	margin-left: 0px;
	width: 120px;
}

#mainNav #financeLink ul {
	margin-left: 3px;
	width: 82px;
}

#mainNav ul.subNav li { /** Got to overide mainNav styles **/
	margin: 0px; 
	padding: 2px 4px 2px 2px; 
	clear: both;
	margin-top: 2px;
	margin-left: 4px;
	font-family: arial;
	font-size: 12px;
	line-height: 70%;
}

#mainNav ul.subNav li a {
	margin: 0px;
	padding: 0px;
	display: inline;
}

.subNav a:link, .subNav a:visited {
	color: #7A7A7A;
}

.subNav a:hover {
	text-decoration: underline;
}


/******************
Additional Styles 19/1/07
*******************/

.promo {
	margin: 10px;
	padding: 10px;
}

.centre {
	display: block;
	padding: 10px;
	background-color: #73B633;
	color: white;
	margin: 10px;   	
}

 a:link.centre,  a:visited.centre {
	color: white;
}

/**********Forms************/

#copy form {
	position: relative;
}

#copy fieldset {
	margin-top: 15px;
}

#copy legend {
	background-color: #73B633;
	color: white;
	display: block;
	margin-left: -10px;
	padding: 10px;
}

#copy input {
	float: left;
	display: block; 
	margin-left: 10px;
	margin-top: 5px;
}



#copy select {
	float: left;
	margin-left: 10px;
	display: block;
	width: 170px;
}

#copy label {
	float: left;
	text-align: right;
	display: block;
	width: 175px;
	margin-top: 5px;
}

#copy label.inline {
	width: 20px;
}

#copy label.long {
	width: 428px;
	text-align: left;
	margin-left: 10px;
}

#copy textarea {
	margin-left: 10px;
	width: 270px;
	height: 70px;
}

#copy submit {
	margin: 20px;
}
br {
	clear: left;
}

/*******Error validation***********/

#copy form span.error {
	color: red;
}











