

/* 
 ----------------------------------------------------------------------------
	Title:      Allied Recycling Inc
	Author:     drew@wildfireproductions.net
	Last Updated:    Aug 29, 2006
 ---------------------------------------------------------------------------- 
*/


/* undo some default styling of common (X)HTML browsers
 * ------------------------------------------------------------------------- */

/* No list-markers by default - must redefine bullets w/ bg graphics */
ul,ol { list-style:none; }

/* Avoid browser default inconsistent heading font-sizes and pre/code */
h1,h2,h3,h4,h5,h6,pre,code,td { font-size:1em; }

/* Remove inconsistent (among browsers) default padding or margin */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,label,div,dd,dt,dl,table,tr,td { margin:0; padding:0; }

/* prevent blue linked image borders */
a img,:link img,:visited img,fieldset { border:none; }


/* global elements
 * ------------------------------------------------------------------------- */


/* ----- type selectors ----- */ 
body { 
	background:#7F7F7F;
	text-align:center; 
	font:11px/17px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#000;
	}

p, ul, ol, dl, pre, blockquote	{ margin-bottom:0; }

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1,h2,h3 { margin-bottom:8px; }

h1	{ font-size:1.3em; color:#233B50; }
h2	{ font-size:1.2em; color:#316694; }
h3	{ font-size:1.0em; color:#175E9A; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#175E9A; text-decoration:underline; }
a:hover,a:active	{ color:#7C7C7C; text-decoration:none; }

/* ----- classes ----- */

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	background:url("../images/bullet-back-to-top.jpg") right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
	img.img-left-logos { 
		float:left; 
		margin:13px 10px 0 0; 
		}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}
.left-hr {
	background: url(../images/left-hr.jpg) no-repeat top left;
	height: 9px;
	margin: 10px 0 10px 0;	
}
.hr-main {
	background: url(../images/hr-main.gif) no-repeat left top;
	height: 7px;
	margin: 10px 0 10px 72px;	
}

	
/* ----- global form elements ----- */ 

form {
	width:150px;
	padding:10px 0 15px 0;
	}

form label	{ font-size:.95em; }

form br { 
	line-height:0; /* defaults vertical spacing between fields */
	}  

input, textarea, select { 
	background-color:#F4F4F4 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #BCBCBC;
	color:#000;
	width:150px; /* 5 pixles smaller than form width !important */
	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:"Trebuchet MS", Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}
	
select { 
	width:155px; /* same width as form !important */
	padding:0;
	}

textarea { 
	height:90px; 
	overflow:auto; 
	}
	
input.submit, input.submit-contact-main { 
	width:60px; 
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:90px 0 0 198px; }

input.submit-image { 
	background:url("../images/btn-submit.jpg");
	width:63px;
	height:15px;
	border:none;
	cursor:pointer;
	}

#contact_business { display: none; } /* do not remove */ 


/* ----- main contact form ----- */ 
 
#contact-main { padding:20px 0 10px 50px; }
	
#contact-main label { 
	width:180px; 
	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:150px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select {
	width:155px;
	}
	
#contact-main label textarea { height:100px; }


/* ----- dispatch contact form ----- */ 

#wrap-dispatch {
	background:url(../images/form/dispatch-spacer.jpg) repeat-y;
	width:400px;
	margin:0 auto;
	text-align:left;
	}
	#wrap-dispatch p{
		margin-left:30px;
		}
	
	#dispatch-hd {
		background:url(../images/form/dispatch-hd.jpg) no-repeat left top;
		height: 115px;
	}
	#dispatch-bt {
		background:url(../images/form/dispatch-bt.jpg) no-repeat left top;
		height: 18px;
	}
 
#contact-dispatch { padding:20px 0 10px 0; }
	
#contact-dispatch label { 
	width:180px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:1.0em;
	}
	
#contact-dispatch label input, #contact-dispatch label textarea, #contact-dispatch label select { 
	width:150px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-dispatch label select {
	width:155px;
	}
	
#contact-dispatch label textarea { height:100px; }


/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url(../images/allied_v2.jpg) repeat-y;
	width:820px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url(../images/logo.jpg);
	height:199px;
	}
	/* home link within #masthead */		
	#masthead a {	
		position:absolute;
		left:52px;
		width:144px;
		top:53px;
		height:132px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- column-left ----- */

#column-left {
	width:233px;
	float:left;
	}
	#column-left p{
		margin: 0 12px 0 30px;
		}
	#column-left h3{
		margin: 0 12px 0 30px;
		}
	

		
#contact-hd {
	background:url(../images/gettouch.jpg) no-repeat top left;
	height: 33px;
	padding-bottom: 10px;
}
#staff {
	background:url(../images/staff.jpg) no-repeat left top;
	height: 110px;
}
#locations {
	background:url(../images/locations.jpg) no-repeat left top;
	height: 26px;
	margin: 15px 0 10px 28px;
	
}
#dispatch {
	height: 34px;
	margin: 10px 0 10px 36px;
}


/* ----- column-right ----- */

#column-right {
	width:587px;
	float:left;
	}
	
	#column-right p, h1, h2, h3, h4{
		margin: 0 37px 10px 20px;
		}

	/* background image list items */
	#column-right ul { 
		margin:0 37px 10px 25px; 
		} 

	#column-right ul li { 
		background:transparent url("../images/bullet.gif") 0px 2px no-repeat;
		padding-left:15px;
		font-weight:bold; 
		}
		
	#column-right #dyk ul { 
		margin:0 37px 10px 20px;
		padding-top: 15px; 

		} 

	#column-right #dyk ul li { 
		background:transparent url("../images/bullet.gif") 0px 3px no-repeat;
		padding:0 0 5px 15px;
		font-weight:bold; 
		}

	#column-right dt {
			padding-left:16px;
			font-weight:bold;
			margin-top:5px;
			}

			#column-right dd {
				padding:0 0 27px 20px;
				}
			#column-right dd .logo{
				margin:50px 0 0 0;
				}

		

	


#welcome {
	background:url(../images/welcome.jpg) no-repeat left top;
	height: 52px;
}
	#welcome span{
		display: none;
		}
	
#hurricane {
	background:url(../images/hurricane.jpg) no-repeat left top;
	height: 52px;
	margin-bottom: 10px;
}

#ferrous-img {
	background:url(../images/ferrous.jpg) no-repeat left top;
	height: 81px;
	margin: 0 0 10px 27px;
}
#non-ferrous-img {
	background:url(../images/non-ferrous.jpg) no-repeat left top;
	height: 81px;
	margin: 0 0 10px 27px;
}
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url(../images/footer.jpg);
	height:38px;
	clear:both;
	width:100%;
	}
	
/* header framework
 * ------------------------------------------------------------------------- */

#header-flash {
	height:452px;
	background:url(../images/banner.jpg) no-repeat;
	}
	
	#header-flash span{
		display:none; 
		}

#header-graphic {
	height:452px; /* sets height for all non-flash headers */
	}
	
	#header-graphic span{
		display:none; 
		}

	body#about #header-graphic {
		background:url(../images/banner-about.jpg); 
		}
	body#recycling #header-graphic {
		background:url(../images/banner-recycling.jpg); 
		}
	body#ferrous #header-graphic {
		background:url(../images/banner-ferrous.jpg); 
		}
	body#nonferrous #header-graphic {
		background:url(../images/banner-nonferrous.jpg); 
		}
	body#contact #header-graphic {
		background:url(../images/banner-contact.jpg); 
		}
	body#services #header-graphic {
		background:url(../images/banner-additional.jpg); 
		}


/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead {
	height:49px; /* sets height for all subheads */
	}
	
	#subhead span{
		display: none;
		}

	body#about #subhead {
		background:url("../images/title-about.jpg"); 
		}
	
	body#contact #subhead {
		background:url("../images/title-contact.jpg"); 
		}
		
	body#recycling #subhead {
		background:url("../images/title-recycling.jpg"); 
		}
	
	body#ferrous #subhead {
		background:url("../images/title-ferrous.jpg"); 
		}
	
	body#nonferrous #subhead {
		background:url("../images/title-nonferrous.jpg"); 
		}
	
	body#services #subhead {
		background:url("../images/title-additional-services.jpg"); 
		}
	
	body#sitemap #subhead {
		background:url("../images/title-sitemap.jpg"); 
		}
		
	body#thankyou #subhead {
		background:url("../images/title-thankyou.jpg"); 
		}
		
		
		
		
		
/* Vertical Sprite Nav
 * ------------------------------------------------------------------------- */

#nav {
	position: relative;
	background:url(../images/nav.jpg) no-repeat left top;					
	width:233px;		/* Width of buttons, not entite image (or half of entire image) */
	height:155px;		/* Height of entire image */
	margin-bottom:0;
	}

#nav li span { display: none; }

#nav li {
	float:left;
	list-style:none;
	}

#nav li, #nav a { 
	height:30px;			/* Each button must have the same height, define it here */
	display:block;
	}

/* margin-top to set where the nav should begin */
#nav-01 { margin-top:0; width:233px; }

/* margin-top if there is a spacing between each nav button */
#nav-02, #nav-03, #nav-04, #nav-05 { margin-top:0; width:233px; }

#nav-01 a:hover { background:url("../images/nav.jpg") -233px  -0px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -233px  -30px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -233px  -60px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -233px  -90px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -233px -120px no-repeat; }



/* Son of Suckerfish: Vertical Sprite Nav
 * ------------------------------------------------------------------------- */
 
#nav li ul {
	position:absolute;
	left:-9999px;
	background: #737272 url(../images/nav-over.jpg);	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	margin-left:233px;			/* Set to same width as in #nav */
	margin-top:-30px;			/* Set to each button height, same as used above */
	}

#nav li ul li {
	height:31px;				/* Height of each drop down nav item */
	border:1px solid #737272;
	border-top:none;
	}

#nav li ul li a {
	width:100%;
	height:31px;				/* Height of each drop down nav item, should match above */
	line-height:30px;			/* Height of each drop down nav item again, should match above */
	}

#nav li ul li a span {
	display:block;
	padding-left:15px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:.95em;
	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 {
	color:#FFFFFF;
	text-decoration:none;
	background: #737272 url(../images/nav-over.jpg);
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-03 ul, #nav-03 li { width:222px; }		





/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:820px;
	background:url(../images/footer-tip.jpg) no-repeat left top;
	margin:0 auto;
	text-align:left;
	font-size:.95em;

	
	}

#footer p {
	color:#FDFDFD;
	padding-left: 127px;
	margin-right:60px;
	}

#footer a:link, #footer a:visited {
	color:#FDFDFD;
	}

#footer a:hover, #footer a:active {
	color:#f7f7f7;
	text-decoration:none;
	}

#footer ul {margin-top:5px; padding-left: 120px;}

#footer li { /* if your li's float, you can adjust border height w/ line-height */
	padding:0 5px 0 7px;
	display: inline;
	border-left: 1px solid #FDFDFD;
	}

	#footer li.first { border: none; }


