/*--------------------- Last Modified --> 2006.03.25 ---------------------*/
/*-----------------------------------------------------------------------*/


/* 
 ----------------------------------------------------------------------------
  Copyright Einstein Industries 2006. Used with Permission.                             
  May not be duplicated or reproduced.

  Please check for cross-browser compatibility prior to making changes
  MINIMUM BROWSER CHECK :: IE5.x/IE6/Firefox/Safari

  CSS Document - layout.css
 ---------------------------------------------------------------------------- 
*/


/* 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:#C8C5B9 url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#372F0A;
	}

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1	{ font-size:1.2em; color:#564C1D; font-weight:bold; }
h2	{ font-size:1.1em; color:#564C1D; font-weight:bold; }
h3	{ font-size:1.0em; color:#564C1D; font-weight:bold; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#372F0A; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#000000; text-decoration:underline; outline: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 30px; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 30px 10px 10px; 
	}

	
/* ----- global form elements ----- */ 

form {
	width:150px;
	margin:10px 0 15px 0;
	}

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 #372F0A;
	color:#372F0A;
	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 */ 


/* ----- 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:170px; }
	
#contact-main label textarea { height:100px; overflow:auto; }

#contact-business-main { display: none; } /* do not remove */ 


/* ----- submit button form elements ----- */ 

input.submit-contact-main { margin:95px 0 0 243px; }

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:50px;
	height:14px;
	border:none;
	cursor:pointer;
	}


/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width: 784px;
	margin:0 auto;
	text-align:left;
	}
	
#wrap-sub {
	background:url("../images/bg-wrap-sub.jpg") repeat-y;
	width: 784px;
	margin:0 auto;
	text-align:left;
	}
	
	#wrap-intro-index {
	background:url("../images/bg-wrap-intro-index.jpg") repeat-y;
	float:left;
	width: 323px;
	}
	
	#wrap-center {
	background:url("../images/bg-wrap-center.jpg") repeat-y;
	float:left;
	width: 323px;
	}
	
	#wrap-content {
	background:url("../images/bg-wrap-content.jpg") bottom no-repeat;
	width: 784px;
	float:left;
	}
	
	#wrap-attorneys {
	background:url("../images/bg-wrap-attorneys.jpg") repeat-y;
	float:right;
	width: 564px;
	}
		
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:71px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:7px;
		top:0px;
		width:272px;
		height:71px; 
		}
	#masthead a span {
		display:none;
		}
		
#header-graphic { height:217px; background:url("../images/header.jpg"); }

/* ----- column-left ----- */

body#index #column-left {
	width:220px;
	float:left;
	}

	#column-left {
	background:url("../images/bg-column-left.jpg") top no-repeat;
	width:543px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul.sub {
		margin:0 30px 10px 30px;
		}
	#column-left ul.sub li ul {
		margin:0 30px 0 0;
		}
	
	/* single column list */
	#column-left ul.sub { padding-left:5px; }
		#column-left ul.sub li { 
			background:transparent url("../images/bullet.jpg") 0px 3px no-repeat;
			padding-left:15px; /* pushes text to the right to display bg img */
			}
			
/* ----- column-center ----- */

#column-center {
	background:url("../images/bg-column-center.jpg") top no-repeat;
	width:323px;
	float:left;
	padding-top:80px;
	}
	
	#column-center p, #column-center h1, #column-center h2, #column-center h3, #column-center ul, #column-center dl {
		margin:0 30px 10px 30px;
		}
	
	/* single column list */
	#column-center ul { padding-left:5px; }
		#column-center ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px; /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-center ul { padding-left:5px; } 
		#column-center ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			float:left;
			width:150px;
			line-height:20px; 
			}
	
	/* definition list */
	#column-center dl { padding-left:5px; }
		#column-center dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-center dl dd {
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
			
/* ----- column-right ----- */

body#index #column-right {
	background:url("../images/bg-column-right.jpg") repeat-y;
	width:241px;
	float:left;
	}

#column-right {
	width:241px;
	float:left;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 49px 10px 30px;
		}
	#column-right form { margin-left:30px; }
	 
	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-right ul { padding-left:5px; } 
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			float:left;
			width:150px;
			line-height:20px; 
			}
	
	/* definition list */
	#column-right dl { padding-left:5px; }
		#column-right dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-right dl dd {
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
	
/* ----- intro-index ----- */

#intro-index {
	background: url("../images/bg-intro-index.jpg") top no-repeat;
	width: 323px;
	padding-top:30px;
	}

	#intro-index p {margin: 0 30px 10px 30px;}

/* ----- attorneys ----- */

#attorneys {
	background: url("../images/bg-attorneys.jpg") top no-repeat;
	width: 564px;
	padding-top:50px;
	float:right;
	}

	#attorneys p {color:#FCFAF0; margin: 0 49px 10px 30px;}
	#attorneys p.img-spacer {margin: 0 170px 0 30px;}
	#attorneys h2 {margin: 0 170px 10px 30px;}

/* ----- bottom-wrap ----- */
 
body#index #bottom-wrap {
	background: url("../images/bottom-wrap-index.jpg") no-repeat;
	height:9px;
	clear:both;
	width:100%; /* fix for Safar */
	}
	
#bottom-wrap {
	background: url("../images/bottom-wrap.jpg") no-repeat;
	height:30px;
	clear:both;
	width:100%; /* fix for Safar */
	}

/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:119px; } /* sets height for all subheads */

	body#attorney #subhead { background:url("../images/subheaders/subhead-attorneys.jpg"); }
	body#personal #subhead { background:url("../images/subheaders/subhead-personal.jpg"); }
	body#product #subhead { background:url("../images/subheaders/subhead-product.jpg"); }
	body#commercial #subhead { background:url("../images/subheaders/subhead-commercial.jpg"); }
	body#contact #subhead { background:url("../images/subheaders/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subheaders/subhead-thankyou.jpg"); }
	body#sitemap #subhead { background:url("../images/subheaders/subhead-sitemap.jpg"); }


/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	background:url("../images/bg-footer.jpg") top repeat-y;
	width:784px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	margin:0 49px 10px 30px;
	}

#footer ul {padding-top:10px;}

#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 #372F0A;
	}

	#footer li.first { border: none; }

/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:784px; 
	height:33px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:33px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 80px; margin-left: 6px;}
#nav-02 { width: 95px;}
#nav-03 { width: 136px;}
#nav-04 { width: 145px;}
#nav-05 { width: 187px;}
#nav-06 { width: 125px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")    -6px -33px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg")   -86px -33px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -181px -33px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -317px -33px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -462px -33px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -649px -33px no-repeat; }

/* Vertical Sprite Nav
 * ------------------------------------------------------------------------- */

#subnav {
	background:url("../images/subnav.jpg") top left no-repeat;					
	width:220px;
	height:681px;		/* Height of entire image */
	margin:0;
	padding:0;
	}

#subnav li span { display: none; }

#subnav li { float:left; list-style:none; position:relative; }

#subnav li, #subnav a { 
	height:96px;			/* Each button must have the same height, define it here */
	display:block;
	}

/* margin-top to set where the nav should begin */
#subnav-01 { margin-top:9px; width:220px; }

/* margin-top if there is a spacing between each nav button */
#subnav-02, #subnav-03, #subnav-04, #subnav-05, #subnav-06, #subnav-07 { margin-top:0; width:220px; }

#subnav-01 a:hover { background:url("../images/subnav.jpg") -220px -9px no-repeat; }
#subnav-02 a:hover { background:url("../images/subnav.jpg") -220px -105px no-repeat; }
#subnav-03 a:hover { background:url("../images/subnav.jpg") -220px -201px no-repeat; }
#subnav-04 a:hover { background:url("../images/subnav.jpg") -220px -297px no-repeat; }
#subnav-05 a:hover { background:url("../images/subnav.jpg") -220px -393px no-repeat; }
#subnav-06 a:hover { background:url("../images/subnav.jpg") -220px -489px no-repeat; }
#subnav-07 a:hover { background:url("../images/subnav.jpg") -220px -585px no-repeat; }
