/* --------------------- undo some default styling of common (X)HTML browsers ---------------------------*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td,html,label,table,tr,td {margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img,a img,:link img,:visited img {border:0;}
address,caption,cite,code,dfn,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;}
q:before,q:after {content:'';}
/* ------------------------ GLOBAL ELEMENTS ------------------------ */

/* ------------------------ type selectors ------------------------ */
body { 
	background:#c6cadb url("../images/wrap-bg.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#494b54;
	}

blockquote { margin-left:10px; margin-right:10px; }

h1	{ font-size:1.2em; color:#6b7895; }
h2	{ font-size:1.0em; color:#6b7895; }
h3	{ font-size:1.0em; color:#6b7895; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#165193; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#165193; text-decoration:none; outline:none; }

/* ------------------------ classes ------------------------ */
.clear	{ 
	clear:both;
	}

div.clear	{ 
	height:.01em; 
	overflow:hidden; 
	}

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	}

img.img-left { 
	float:left; 
	margin:0px 10px 60px 15px;
	}

img.img-right {
	float:right;
	margin-top: 0px;
	margin-right: 20px;
	margin-bottom: 10px;
	margin-left: 10px;
	}

img.img-map { 
	float:right; 
	margin:0px 40px 10px 10px; 
	}

/* ------------------------ form elements ------------------------ */
form {
	width:150px;
	margin:10px 0 15px 0; /* set margin left and right below */
	}

form label	{ font-size:.95em; } 

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#FFFFFF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #9ca2b8;
	color:#7c89a4;
	width:145px; /* 5 pixles smaller than form width !important */
	height:18px;
	line-height:18px;
	vertical-align: middle;
	margin-bottom:4px; /* sets vertical spacing between fields */
	padding-top:1px; /* vertically position text in input/textarea field */
	padding-left:4px; /* horizontally position text in input/textarea field */
	font-family: Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}

select { width:150px; padding:0; } /* same width as form - !important */

textarea { height:90px; overflow:auto; }

#contact_business { display: none; } /* do not remove */ 


/* ------------------------ SPECIFIC ELEMENTS ------------------------ */

/* ------------------------ main contact form ------------------------ */
#contact-main { margin:20px 0 10px 0; }

#contact-main label { 
	width:220px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:1.0em;
	}

#contact-main label input, #contact-main label textarea, #contact-main label select { 
	width:170px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}

#contact-main label select { width:175px; } /* fixes display issue - 5px larger than input field */

#contact-main label textarea { height:100px; overflow:auto; }

/* ------------------------ submit button form elements ------------------------ */

input.submit, input.submit-contact-main { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:95px 0 0 243px; } /* defines placement of contact-main submit button */

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/img-submit.jpg");
	width:108px;
	height:72px;
	border:none;
	cursor:pointer;
	}

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/wrap.jpg") repeat-y;
	width:768px;
	margin:0 auto;
	text-align:left;
	}

/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/mastheader.jpg");
	height:127px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:10px;
		width:230px;
		top:10px;
		height:110px; 
		}
	#masthead a span {
		display:none;
		}

/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:242px;
	float:left;
	}

	#column-left p, #column-left h1, #column-left h2, #column-left h3 {
		margin:0px 0px 5px 20px;
		color:#FFFFFF;
		}

#column-left a:link, #column-left a:visited	{ color:#FFFFFF; text-decoration:underline; outline:none; }
 #column-left a:hover, #column-left a:active	{ color:#FFFFFF; text-decoration:none; outline:none; }


/* ------------------------ column-left-products nav ------------------------ */
#column-left-products {
	background:url("../images/btn-products.jpg") top left no-repeat;					
	height:457px;
	margin:0;
	padding-left:15px;
	}

#column-left-products li span { display: none; }

#column-left-products li { float:left; list-style:none; position:relative; }

#column-left-products li, #column-left-products a { 
	height:82px;	/* Each button must have the same height, define it here */
	display:block;
	}

/* margin-top to set where the nav should begin */
#column-left-products-01 { margin-top:81px; width:216px; }

/* margin-top if there is a spacing between each nav button */
#column-left-products-02, #column-left-products-03, #column-left-products-04 { margin-top:9px; width:216px; }

#column-left-products-01 a:hover { background:url("../images/btn-products.jpg") -257px  -81px no-repeat; }
#column-left-products-02 a:hover { background:url("../images/btn-products.jpg") -257px  -172px no-repeat; }
#column-left-products-03 a:hover { background:url("../images/btn-products.jpg") -257px  -263px no-repeat; }
#column-left-products-04 a:hover { background:url("../images/btn-products.jpg") -257px  -354px no-repeat; }

#column-left .divider {
	background:url("../images/left-divider.jpg") no-repeat;
	height:9px;
	}
	
/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:526px;
	float:left;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0px 20px 10px 25px;
		}
		
#column-right h1.proven {
	padding-top:118px;
	}
#column-right h2.hbmsupply {
	padding-top:124px;
	}
#column-right h2.converting {
	padding-top:124px;
	}
	
	#column-right form { margin-left:0px; }

	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.gif") 0px 5px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:12px;  /* pushes text to the right to display bg img */
			}

/* ------------------------ products column-top framework ------------------------ */
 #column-top {
	width:526px;
	float:left;
	padding-bottom:30px;
	}

	#column-top p, #column-top h1, #column-top h2, #column-top h3, #column-top ul {
		margin:0px 0px 10px 25px;
		}
			
				/* multi column list */
	 #column-top ul { padding-left:5px; } 
		 #column-top ul li { 
			background:transparent url("../images/bullet.gif") 0px 7px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:12px;  /* pushes text to the right to display bg img */
			float:left;
			width:220px;
			line-height:20px; 
			}


/* ------------------------ products column-middle framework ------------------------ */
#column-middle {
	width:263px;
	float:left;
	}

	#column-middle p, #column-middle h1, #column-middle h2, #column-middle h3, #column-middle ul, #column-middle dl {
		margin:0px 0px 10px 25px;
		text-align:right
		}
		
	/* single column list */
	#column-middle ul { margin-right:0px; text-align:right; }
		 #column-middle ul li {
			background:transparent url("../images/bullet-middle.gif") 228px 5px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-right:12px;  /* pushes text to the right to display bg img */
			}
			
/* ------------------------ header framework ------------------------ */
#header-flash { height:286px; } /* sets height for the flash header - REMOVE IF NOT USED */
#header-graphic { height:286px; } /* sets height for all non-flash headers */

	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	body#products #header-graphic { background:url("../images/header-products.jpg"); }
	body#locations #header-graphic { background:url("../images/header-index.jpg"); }
	body#history #header-graphic { background:url("../images/header-index.jpg"); }
	body#glossary #header-graphic { background:url("../images/header-index.jpg"); }
	body#documents #header-graphic { background:url("../images/header-index.jpg"); }
	body#contact #header-graphic { background:url("../images/header-contacts.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-index.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-index.jpg"); }


/* ------------------------ subhead framework ------------------------ */
#subhead { height:125px; } /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.jpg"); height:81px; }
	body#locations #subhead { background:url("../images/subhead-locations.jpg"); }
	body#history #subhead { background:url("../images/subhead-history.jpg"); }
	body#glossary #subhead { background:url("../images/subhead-glossary.jpg"); }
	body#documents #subhead { background:url("../images/subhead-documents.jpg");}
	body#contact #subhead { background:url("../images/subhead-contacts.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg"); }
	body#products #subhead { background:url("../images/subhead-products.jpg"); }


/* ------------------------ title framework with varying heights ------------------------- */
#title-proven {
	background:url("../images/title-proven.jpg") no-repeat;
	}

#title-hbmsupply {
	background:url("../images/title-hbmsupply.jpg") no-repeat;
	}
#title-converting {
	background:url("../images/title-converting.jpg") no-repeat;
	}



/* ------------------------ bottom-wrap framework ------------------------ */
/* ------------ must have below column-left and column-right to clear the float ------------ */
#bottom-wrap {
	background:url("../images/wrap-bottom.jpg");
	width:100%; /* fix for Safar */
	height:75px;
	clear:both; /* important - do not remove */
	}

/* ------------------------footer framework ------------------------ */
#footer {
	background:url("../images/footer-bg.jpg") no-repeat;
	width:760px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#565e82;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#565e82; }
#footer a:hover, #footer a:active { color:#565e82; text-decoration:none; }

#footer ul {margin:10px;}
	#footer li { /* if your li's float, you can adjust border height w/ line-height */
		padding:0 5px 0 7px; /* adjusts the spacing between each li display and border-left */
		display: inline;
		border-left: 1px solid #565e82;
		}
	#footer li.first { border: none; }

	/* multi column list */
	#footer ul.multi { padding-left:5px; } 
		#footer ul.multi li { 
			padding-left:12px;  /* pushes text to the right to display bg img */
			float:left;
			width:170px;
			line-height:20px; 
			}

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */

/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:768px; 
	height:48px; 
	margin-top:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:48px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 127px; margin-left: 58px;}
#nav-02 { width: 133px;}
#nav-03 { width: 135px;}
#nav-04 { width: 135px;}
#nav-05 { width: 119px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -58px -48px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -185px -48px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -318px -48px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -453px -48px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -588px -48px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -58px -48px no-repeat; }
body#products #nav-02 { background:url("../images/nav.jpg") -185px -48px no-repeat; }
body#contact #nav-03 { background:url("../images/nav.jpg") -318px -48px no-repeat; }
body#locations #nav-04 { background:url("../images/nav.jpg") -453px -48px no-repeat; }
body#history #nav-05 { background:url("../images/nav.jpg") -588px -48px no-repeat; }

/* ------------------------ son of suckerfish: horizontal sprite nav ------------------------ */
#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px; /* Fixes one px spacing for border-right in FF */
	background-color:#720000;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	}

#nav li ul li { 
	height:20px; /* Height of each drop down nav item */
	border:1px solid #FF00FF;
	border-top:none;
	}	

#nav li ul li a {
	width:100%;
	height:20px;	/* Height of each drop down nav item, should match above */
	line-height:20px;	 /* Height of each drop down nav item again, should match above */
	}

#nav li ul li a span {
	display:block;
	padding-left:5px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:1.0em;
	color:#FFFFFF;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav-03 ul a:hover, #nav-04 ul a:hover { 
	background-image:none;
	background-color:#AA0000;
	color:#FFFFFF;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-03 ul, #nav-03 li { width:260px; }		
#nav-04 ul, #nav-04 li { width:90px; }
