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

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

h1	{ font-size:1.2em; color:#2D4F81; }
h2	{ font-size:1.1em; color:#195214; }
h3	{ font-size:1.0em; color:#D99B0E; }

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

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

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

.clear {
	clear:both;
	}

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

p.back-to-top {
	text-align:right;
	display:block;
	}
	
p.learn-more {
	display:block;
	padding-right:10px;
	background:url("../images/bullet-learn.jpg") 67px 4px no-repeat;
	width:70px;
	}
	
img.img-left { 
	float:left; 
	margin-right:10px; 
	}
	
img.img-right { 
	float:right; 
	margin:0; 
	}
	
img.logo-martindale {
	margin:10px 0 17px 20px;
	}
	
/* ----- global form elements ----- */ 

form {
	width:223px;
	margin:0 0 17px 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 #40403F;
	color:#40403F;
	width:218px; /* 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:11px;
	}
	
select { width:223px; 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:787px;
	margin:0 auto;
	text-align:left;
	}
	
#bg-bottom {
	background:url("../images/bg-wrap-bottom.gif") bottom right no-repeat;
	width:787px;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:71px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		display:block;
		height:71px; 
		}
	#masthead a span {
		display:none;
		}

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

#column-left {
	width:516px;
	float:left;
	}

body#thankyou #column-left {
	width:516px;
	float:left;
	height:650px;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 21px 17px 31px;
		}
	#column-left form { margin-left:31px; }
	
	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 4px no-repeat;
			padding-left:15px; /* pushes text to the right to display bg img */
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }
	
	#column-left #two-col {
		margin:0 21px 0 31px;
		}
		
		#two-col ul { padding-left:0px; margin: 0 0 17px 0; float:left; width:220px; }
		
	#column-left #four-col {
		margin:0 10px 0 15px;
		}
		
		#four-col dl { padding-left:0px; margin: 0 0 8px 15px; float:left; width:225px; }
		#four-col dt { font-weight:bold; color:#D99B0E; }
		#four-col dd { margin-bottom:10px; }
		
	#column-left #motorcycle-law {
		margin:0 10px 0 15px;
		}
		
		#motorcycle-law dl { padding-left:0px; }
		#motorcycle-law dt { font-weight:bold; color:#d99b0e; }
		#motorcycle-law dd { margin-bottom:10px; }
		#motorcycle-law td { vertical-align:top; }
		#motorcycle-law td.td-mid { height:200px; padding:0 20px; }
	
		
/* ----- column-right ----- */

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

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 30px 17px 23px;
		}
	#column-right form { margin-left:23px; }
	 
	/* 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:15px;  /* pushes text to the right to display bg img */
			}

	#column-right ul li ul { margin:0 0 0 5px; }

	
/* ----- mid-section ----- */
#mid-section {
	background:url("../images/bg-mid-section.jpg");
	width:787px;
	color:#2F3137
	}
	
	#col-dealing {
		width:264px;
		float:left;
		}
		
		#col-dealing p, #col-dealing h2, #col-dealing h3 { margin:0 17px 17px 31px; }

	#col-legal {
		width:252px;
		float:left;
		}

		#col-legal p, #col-legal h2, #col-legal h3 { margin:0 19px 17px 21px; }

	#col-accident {
		width:271px;
		float:left;
		}
		
		#col-accident p, #col-accident h2, #col-accident h3 { margin:0 22px 17px 30px; }

/* ----- meet our attorney ----- */

#wrap-attorney {
	background:url("../images/bg-wrap-attorney.jpg");
	width:787px;
	}
	
	#col-left-attorney {
		width:516px;
		float:left;
		}
		
		#col-left-attorney p { margin: 0 22px 17px 30px; }
		
	#col-right-attorney {
		width:271px;
		float:left;
		}
		
	

/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:29px;
	clear:both;
	width:100%; 
	}

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

#header-graphic { height:286px; } /* sets height for all non-flash headers */

	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	
	body#about #header-graphic,
	body#our-lawyers #header-graphic { background:url("../images/header-about.jpg"); }
	
	body#types #header-graphic,
	body#truck #header-graphic,
	body#wheeler #header-graphic,
	body#auto #header-graphic,
	body#semi #header-graphic,
	body#rollover #header-graphic,
	body#jackknifing #header-graphic,
	body#impaired #header-graphic,
	body#drunk-driving #header-graphic,
	body#motorcycle #header-graphic { background:url("../images/header-types.jpg"); }
	
	body#truck-wrongful #header-graphic,
	body#auto-wrongful #header-graphic { background:url("../images/header-wrongful.jpg"); }
	
	body#product #header-graphic { background:url("../images/header-product.jpg"); }
	
	body#resources #header-graphic,
	body#what-todo #header-graphic,
	body#insurance #header-graphic,
	body#know-your-rights #header-graphic,
	body#regulations #header-graphic { background:url("../images/header-resources.jpg"); }
	
	body#contact #header-graphic,
	body#thankyou #header-graphic,
	body#sitemap #header-graphic { background:url("../images/header-contact.jpg"); }

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

#subhead { height:65px; } /* 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#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"); }
	body#our-lawyers #subhead { background:url("../images/subhead-our-lawyers.jpg"); }
	body#insurance #subhead { background:url("../images/subhead-insurance.jpg"); }
	body#what-todo #subhead { background:url("../images/subhead-what-to-do.jpg"); }
	body#know-your-rights #subhead { background:url("../images/subhead-know-rights.jpg"); }
		body#know-your-rights #subhead h1 { margin:0px; }
	body#truck #subhead { background:url("../images/subhead-truck.jpg"); }
	body#wheeler #subhead { background:url("../images/subhead-wheeler.jpg"); }
	body#semi #subhead { background:url("../images/subhead-semi.jpg"); }
	body#rollover #subhead { background:url("../images/subhead-rollover.jpg"); }
	body#jackknifing #subhead { background:url("../images/subhead-jackknifing.jpg"); }
	body#regulations #subhead { background:url("../images/subhead-regulations.jpg"); }
	body#truck-wrongful #subhead { background:url("../images/subhead-truck-wrongful.jpg"); }
	body#auto #subhead { background:url("../images/subhead-auto.jpg"); }
	body#impaired #subhead { background:url("../images/subhead-impaired.jpg"); }
	body#drunk-driving #subhead { background:url("../images/subhead-drunk.jpg"); }
	body#auto-wrongful #subhead { background:url("../images/subhead-auto-wrongful.jpg"); }
	body#motorcycle #subhead { background:url("../images/subhead-motorcycle.jpg"); }
	body#product #subhead { background:url("../images/subhead-product.jpg"); }

/* ------------------------ title framework with varying heights ------------------------- */
#title-qcontact {
	height:65px;
	background:url("../images/title-qcontact.jpg") ;
	}
	
#btn-blog {
	background:url("../images/btn-blog.jpg");
	height:40px;
	width:261px;
	}
	#btn-blog a {
		display:block;
		width:261px;
		height:40px;
	}

#title-practice {
	height:66px;
	background:url("../images/title-practice.jpg") ;
	}

#title-dealing {
	height:183px;
	background:url("../images/title-dealing.jpg") -30px 0 no-repeat;
	}

#title-legal {
	height:183px;
	background:url("../images/title-legal.jpg") -20px 0 no-repeat;
	}

#title-accident {
	height:183px;
	background:url("../images/title-accident.jpg") -20px 0 no-repeat;
	}
	
#title-meet {
	height:64px;
	background:url("../images/title-meet.jpg") ;
	}

/* ------------------------------------- Banner ---------------------------------------- */
#banner-fighting {
		height:194px;
		background:url("../images/banner-fighting.jpg") no-repeat;	
		position:relative;
		}
		
		#banner-fighting a {
			position:absolute;
			width:456px;
			height:152px;
			left:35px;
			top:9px;
			}
		
		#banner-fighting span { display:none; }


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

#footer p {
	margin:0 20px 10px 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;
	line-height:20px;
	}

	#footer li.first { border: none; }

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

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

#nav span { display: none; }

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

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

#nav-01 { width: 60px; margin-left:10px;}
#nav-02 { width: 90px; margin-left:2px; }
#nav-03 { width: 151px; margin-left:2px; }
#nav-04 { width: 135px; margin-left:2px; }
#nav-05 { width: 131px; margin-left:2px; }
#nav-06 { width: 91px; margin-left:2px; }
#nav-07 { width: 97px; margin-left:2px; }


/*-------------- (-79px) X position of button / (-37px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -10px -37px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg")  -72px -37px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -164px -37px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -317px -37px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -454px -37px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -587px -37px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -680px -37px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -10px -37px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg")  -72px -37px no-repeat; }
body#types #nav-03 { background:url("../images/nav.jpg") -164px -37px no-repeat; }
body#wrongful #nav-04 { background:url("../images/nav.jpg") -317px -37px no-repeat; }
body#product #nav-05 { background:url("../images/nav.jpg") -454px -37px no-repeat; }
body#resources #nav-06 { background:url("../images/nav.jpg") -587px -37px no-repeat; }
body#contact #nav-07 { background:url("../images/nav.jpg") -680px -37px 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:#fff;	/* 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 #2D4F81;
	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:#2D4F81;
	text-decoration:none;
	}

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

/* Hover styles for drop down items */
#nav-02 ul a:hover, #nav-03 ul a:hover, 
#nav-04 ul a:hover, #nav-06 ul a:hover { 
	background-image:none;
	background-color:#CCE2F0;
	color:#2D4F81;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-02 ul, #nav-02 li { width:90px; }
#nav-03 ul, #nav-03 li { width:151px; }
#nav-04 ul, #nav-04 li { width:134px; }
#nav-06 ul, #nav-06 li { width:110px; }
