/*--------------------- Last Modified --> 2006.11.10 ---------------------*/
/*-------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------
  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
/*------------------------------------------------------------------------------------*/

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:#C5B59C url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#7C5410;
	}

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

h1	{ font-size:12px; color:#5B3C00; }
h2	{ font-size:12px; color:#790000; }
h3	{ font-size:12px; color:#7C5410; }

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

a:link,a:visited	{ color:#8A0000; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#8A0000; text-decoration:none; outline:none; }

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

.clear {
	clear:both;
	}

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

p.back-to-top {
	text-align:right;
	display:block;
	}
	
p.office-address {
	font-size:11px;
	position:relative;
	z-index:99;
	}
	
	p.office-address strong {
		font-size:12px;
		}
	
img.img-left { 
	float:left; 
	margin:0; 
	}
	
img.img-right { 
	float:right; 
	margin:0; 
	}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}
	
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
	
/* ----- global form elements ----- */ 

form {
	width:242px;
	margin:0 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:#FFF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #404040;
	color:#404040;
	width:237px; /* 5 pixels 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:11px;
	}
	
select { width:242px; 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:0 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:177px; }
	
#contact-main label textarea { height:100px; overflow:auto; }

#contact-business-main { display: none; } /* do not remove */ 


/* ----- submit button form elements ----- */ 

input.submit, input.submit-contact-main { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:85px 0 5px 243px; }


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

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:858px;
	margin:0 auto;
	text-align:left;
	}
	
	#wrap-bottom {
		background:url("../images/bg-wrap-bottom.jpg") bottom no-repeat;
		width:858px;
		}
	
#masthead {
	position:relative;
	background:url("../images/masthead-02.jpg");
	height:80px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:133px;
		width:609px;
		top:15px;
		height:54px; 
		}
	#masthead a span {
		display:none;
		}

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

#column-left {
	width:325px;
	float:left;
	color:#683812;
	}
	
	body#thankyou #column-left { height:280px; }
	
	#column-left a { color:#683812; }
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 20px 18px 59px;
		}
	#column-left form { margin-left:60px; }
	
	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet-left.jpg") 0px 4px no-repeat;
			padding-left:18px; /* pushes text to the right to display bg img */
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }

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

#column-right {
	width:533px;
	float:left;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 55px 18px 20px;
		}
	#column-right form { margin-left:0px; }
	 
	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 4px no-repeat;
			padding-left:18px;  /* pushes text to the right to display bg img */
			}

	#column-right ul li ul { margin:0 0 0 5px; }
		
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:107px;
	clear:both;
	width:100%; 
	}

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

#header-graphic { height:315px; background:url("../images/header-graphic.jpg"); }

	body#index #header-graphic { background:url("../images/header-graphic.jpg"); }
	body#about-the-firm #header-graphic { background:url("../images/header-graphic-02.jpg"); }
	body#about-the-attorneys #header-graphic { background:url("../images/header-graphic-03.jpg"); }
	body#practice-areas #header-graphic { background:url("../images/header-graphic-02.jpg"); }
		body#auto-accidents #header-graphic { background:url("../images/header-graphic-02.jpg"); }
		body#personal-injury #header-graphic { background:url("../images/header-graphic.jpg"); }
		body#medical-malpractice #header-graphic { background:url("../images/header-graphic-02.jpg"); }
		body#wrong-death #header-graphic { background:url("../images/header-graphic-03.jpg"); }
		body#employment-law #header-graphic { background:url("../images/header-graphic.jpg"); }
		body#civil-litigation #header-graphic { background:url("../images/header-graphic-02.jpg"); }
		body#workers-compensation #header-graphic { background:url("../images/header-graphic-03.jpg"); }
		body#nursing-home-negligence #header-graphic { background:url("../images/header-graphic.jpg"); }
		body#consumer-fraud #header-graphic { background:url("../images/header-graphic-02.jpg"); }
		body#estate-planning #header-graphic { background:url("../images/header-graphic-03.jpg"); }
		body#domestic-law #header-graphic { background:url("../images/header-graphic.jpg"); }
		body#crim-law #header-graphic { background:url("../images/header-graphic-02.jpg"); }
		body#product-liability #header-graphic { background:url("../images/header-graphic-03.jpg"); }
		body#class-action #header-graphic { background:url("../images/header-graphic.jpg"); }
		body#pro-negligence #header-graphic { background:url("../images/header-graphic-02.jpg"); }
	body#faqs #header-graphic { background:url("../images/header-graphic.jpg"); }
	body#case-results #header-graphic { background:url("../images/header-graphic-02.jpg"); }
	body#contact #header-graphic { background:url("../images/header-graphic-03.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-graphic-03.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-graphic.jpg"); }

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

#subhead { height:74px; } /* sets height for all non-flash subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about-the-firm #subhead { background:url("../images/subhead-about-the-firm.jpg"); }
	body#about-the-attorneys #subhead { background:url("../images/subhead-about-the-attorneys.jpg"); }
	body#practice-areas #subhead { background:url("../images/subhead-practice-areas.jpg"); }
		body#auto-accidents #subhead { background:url("../images/subhead-auto-accidents.jpg"); }
		body#personal-injury #subhead { background:url("../images/subhead-personal-injury.jpg"); }
		body#medical-malpractice #subhead { background:url("../images/subhead-medical-malpractice.jpg"); }
		body#wrong-death #subhead { background:url("../images/subhead-wrongful-death.jpg"); }
		body#employment-law #subhead { background:url("../images/subhead-employment-law.jpg"); }
		body#civil-litigation #subhead { background:url("../images/subhead-civil-litigation.jpg"); }
		body#workers-compensation #subhead { background:url("../images/subhead-workers-compensation.jpg"); }
		body#nursing-home-negligence #subhead { background:url("../images/subhead-nursing-home-negligence.jpg"); }
		body#consumer-fraud #subhead { background:url("../images/subhead-consumer-fraud.jpg"); }
		body#estate-planning #subhead { background:url("../images/subhead-estate-planning.jpg"); }
		body#domestic-law #subhead { background:url("../images/subhead-domestic-law.jpg"); }
		body#crim-law #subhead { background:url("../images/subhead-criminal-law.jpg"); }
		body#product-liability #subhead { background:url("../images/subhead-product-liability.jpg"); }
		body#class-action #subhead { background:url("../images/subhead-class-action.jpg"); }
		body#pro-negligence #subhead { background:url("../images/subhead-professional-negligence.jpg"); }
	body#faqs #subhead { background:url("../images/subhead-faqs.jpg"); }
	body#case-results #subhead { background:url("../images/subhead-case-results.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg"); }


/* ------------------------ subhead framework with varying heights ------------------------ */
#subhead-recent-cases {
	height:55px;
	background:url("../images/subhead-recent-cases.jpg") ;
	}

/* ------------------------ title framework with varying heights ------------------------- */
#title-qcontact {
	height:194px;
	background:url("../images/title-qcontact.jpg") ;
	margin-bottom:-85px;
	}

body#contact #title-qcontact, body#thankyou #title-qcontact {
	height:194px;
	background:url("../images/title-locate.jpg") ;
	}

#title-practice-areas {
	height:416px;
	background:url("../images/title-practice-areas.jpg") ;
	margin-top:-124px;
	margin-bottom:-145px;
	}

/* ------------------------ Banner Time is of the Essence ------------------------- */
#banner-time-essence {
	height:220px;
	background:url("../images/banner-time-essence.jpg") ;
	}
	
	#banner-time-essence span { display:none; }

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:858px;
	margin:0 auto;
	text-align:center;
	color:#000;
	}
	
	#footer a { color:#000; }
	
	#footer ul li a:link, #footer ul li a:visited { text-decoration:none; }
	#footer ul li a:hover, #footer ul li a:active { text-decoration:underline; }

#footer p, #footer ul {
	margin:0 33px 18px 33px;
	}

#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 #000;
	}

	#footer li.first { border: none; }

/* Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:858px; 
	height:39px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:39px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 83px; margin-left: 29px;}
#nav-02 { width: 130px;}
#nav-03 { width: 162px;}
#nav-04 { width: 129px;}
#nav-05 { width: 64px;}
#nav-06 { width: 114px;}
#nav-07 { width: 118px;}


/*-------------- (-79px) X position of button / (-39px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -29px -39px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -112px -39px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -242px -39px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -404px -39px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -533px -39px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -597px -39px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -711px -39px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -29px -39px no-repeat; }
body#about-the-firm #nav-02 { background:url("../images/nav.jpg") -112px -39px no-repeat; }
body#about-the-attorneys #nav-03 { background:url("../images/nav.jpg") -242px -39px no-repeat; }
body#practice-areas #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#auto-accidents #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#personal-injury #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#medical-malpractice #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#wrong-death #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#employment-law #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#civil-litigation #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#workers-compensation #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#nursing-home-negligence #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#consumer-fraud #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#estate-planning #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#domestic-law #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#crim-law #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#product-liability #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#class-action #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }
body#pro-negligence #nav-04 { background:url("../images/nav.jpg") -404px -39px no-repeat; }

body#faqs #nav-05 { background:url("../images/nav.jpg") -533px -39px no-repeat; }
body#case-results #nav-06 { background:url("../images/nav.jpg") -597px -39px no-repeat; }
body#contact #nav-07 { background:url("../images/nav.jpg") -711px -39px 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:#9F0000;	/* 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 #C10000;
	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:15px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:1.0em;
	color:#FEC370;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav-04 ul a:hover { 
	background-image:none;
	background-color:#C10000;
	color:#FEC370;
	text-decoration:none;
	}

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