/*--------------------- 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 ----- */ 
html { 
	background:#959391 url("../images/bg-body.jpg") top repeat-x;
	width:100%;
	}

body { 
	background:url("../images/bg-html.jpg") bottom repeat-x;
	text-align:center; 
	font:12px/15px Arial, Helvetica, sans-serif; 
	color:#5B5249;
	padding-bottom:81px;
	}

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

h1	{ font-size:1.2em; color:#5B5249; }
h2	{ font-size:1.1em; color:#5B5249; }
h3	{ font-size:1.0em; color:#5B5249; }

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

a:link,a:visited	{ color:#5B5249; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#5B5249; 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.h1	{ font-size:1.2em; color:#5B5249; font-weight:bold; }
p.h2	{ font-size:1.1em; color:#5B5249; font-weight:bold; }
p.h3	{ font-size:1.0em; color:#5B5249; font-weight:bold; }
	
img.img-left { 
	float:left; 
	margin:2px 10px 0 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:267px;
	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 #FFF;
	color:#978F87;
	width:262px; /* 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:267px; 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 15px 0; }

#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:170px;
	position:absolute; 
	left:110%; 
	top:-2px;
	border:1px solid #978F87;
	}
	
#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 198px; border:1px solid #978F87; }

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

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:930px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:80px;
	}
	/* index page link within #masthead */		
	#masthead a.link-logo {	
		position:absolute;
		left:92px;
		width:369px;
		top:0px;
		height:63px; 
		}

	#masthead a.link-home {	
		position:absolute;
		left:602px;
		width:66px;
		top:14px;
		height:20px; 
		}

	#masthead a.link-about {	
		position:absolute;
		left:668px;
		width:87px;
		top:14px;
		height:20px; 
		}

	#masthead a.link-contact {	
		position:absolute;
		left:755px;
		width:95px;
		top:14px;
		height:20px; 
		}

	#masthead a span {
		display:none;
		}
		
#bg-gradient {
	background:url("../images/bg-gradient.jpg") no-repeat;
	width:930px;
	}
	
#bg-wrap-bottom {
	background:url("../images/bottom-wrap.jpg") bottom no-repeat;
	width:930px;
	padding-bottom:71px;
	}


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

#column-left {
	width:380px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 22px 18px 90px;
		}
	#column-left form { margin-left:90px; }
	
	/* single column list */
	#column-left ul { padding-left:90px; }
		#column-left ul li {
			list-style-type:disc;
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }
	
	/* definition list */
	#column-left dl { padding-left:5px; }
		#column-left dl dt {
			font-weight:bold;
			}
		#column-left dl dd {
			list-style-type:disc;
			margin-left:5px;
			}
			
/* ----- column-right ----- */

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

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 90px 18px 23px;
		}
	#column-right form { margin-left:0px; }
	 
	/* single column list */
	#column-right ul { padding-left:23px; }
		#column-right ul li {
			list-style-type:disc; 
			}

	#column-right ul li ul { margin:0 0 0 5px; }
	
	/* definition list */
	#column-right dl { padding-left:5px; }
		#column-right dl dt {
			font-weight:bold;
			}
		#column-right dl dd {
			list-style-type:disc;
			margin-left:5px;
			}
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:184px;
	clear:both;
	width:100%; 
	}
	
/* header framework
 * ------------------------------------------------------------------------- */

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

#header-graphic2 { height:243px; background:url("../images/header-graphicTD.jpg"); }


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

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

	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#medical-negligence #subhead { background:url("../images/subhead-medical.jpg"); }
	body#product-liability #subhead { background:url("../images/subhead-product.jpg"); }
	body#criminal-defense #subhead { background:url("../images/subhead-criminal.jpg"); }
	body#motor-vehicle #subhead { background:url("../images/subhead-motor.jpg"); }
	body#nursing-home #subhead { background:url("../images/subhead-nursing.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-about-index {
	height:53px;
	background:url("../images/subhead-about-index.jpg") no-repeat;
	}

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

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

/* ------------------------------------- Buttons ---------------------------------------- */
#btn-read-more {
		height:186px;
		display:block;
		background:url("../images/btn-read-more.jpg") no-repeat;	
		}
		#btn-read-more:hover {
				background:url("../images/btn-read-more.jpg") -100px 0 no-repeat; /* -100px = horizontal img shift, 0px = vertical shift from top */
				}
		#btn-read-more span { display:none; }


/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:930px;
	margin:0 auto;
	text-align:center;
	color:#fff;
	font-size:11px;
	}
	
#footer a { color:#fff; }

#footer p {
	margin:0 20px 15px 20px;
	}

#footer ul {margin-bottom: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 #FFF;
	}

	#footer li.first { border: none; }

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

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

#nav span { display: none; }

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

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

#nav-01 { width: 164px; margin-left: 65px;}
#nav-02 { width: 141px;}
#nav-03 { width: 139px;}
#nav-04 { width: 194px;}
#nav-05 { width: 162px;}


/*-------------- (-79px) X position of button / (-35px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -65px -35px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -229px -35px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -370px -35px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -509px -35px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -703px -35px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#medical-negligence #nav-01 { background:url("../images/nav.jpg")  -65px -35px no-repeat; }
body#product-liability #nav-02 { background:url("../images/nav.jpg") -229px -35px no-repeat; }
body#criminal-defense #nav-03 { background:url("../images/nav.jpg") -370px -35px no-repeat; }
body#motor-vehicle #nav-04 { background:url("../images/nav.jpg") -509px -35px no-repeat; }
body#nursing-home #nav-05 { background:url("../images/nav.jpg") -703px -35px no-repeat; }
