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

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

h1	{ font-size:1.2em; color:#0054C7; }
h2	{ font-size:1.1em; color:#002E6C; }
h3	{ font-size:1.0em; color:#3E597D; }

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

a:link,a:visited	{ color:#002E6C; text-decoration:underline; }
a:hover,a:active	{ color:#0054C7; text-decoration:underline; }

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

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

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:11px;
	background:url("../images/bullet-back-to-top.gif") right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}
	
p.thankyou-padding {
	padding-bottom:200px;
	}

p.text-center {
	text-align:center;
	}


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

form {
	width:140px;
	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 #3F4041;
	color:#414141;
	width:135px; /* 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:"Trebuchet MS", Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}
	
select { width:140px; padding:0; } /* same width as form - !important */

textarea { height:70px; overflow:auto; }

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


/* ----- main contact form ----- */ 
 
#contact-main { margin:20px 0 10px 0; }

#contact-main label { 
	width:200px; 
	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:180px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select { width:185px; }
	
#contact-main label textarea { height:100px; overflow:auto; }


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

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

input.submit-contact-main { margin:95px 0 0 220px; }

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:52px;
	height:18px;
	border:none;
	cursor:pointer;
	}


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

#wrap-index {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:741px;
	margin:0 auto;
	text-align:left;
	}

#wrap {
	background:url("../images/bg-wrap-inside.jpg") repeat-y;
	width:741px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:77px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:30px;
		width:370px;
		top:20px;
		height:45px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- content-left ----- */

#content-left {
	width:204px;
	float:left;
	color:#fff;
	padding-top:95px;
	background:url("../images/subhead-consultation.jpg") no-repeat;
	}
	
	#content-left p, #content-left h1, #content-left h2, #content-left h3, #content-left form, #content-left ul, #content-left dl {
		margin:0 30px 10px 31px;
		}
	
	#img-map {
		position:relative;
		background:url("../images/img-map.jpg");
		height:130px;
		}
		/* index page link within #masthead */		
		#img-map a {	
			position:absolute;
			left:28px;
			width:141px;
			top:7px;
			height:114px; 
			}
		#img-map a span {
			display:none;
			}

/* ----- content-middle ----- */

#content-middle {
	width:332px;
	float:left;
	padding-top:51px;
	}
	
	#content-middle p, #content-middle h2, #content-middle h3, #content-middle ul, #content-middle dl {
		margin:0 15px 10px 14px;
		}
	#content-middle h1 { margin:0 18px 10px 14px; }
	
	/* multi column list */
	#content-middle ul { padding-left:5px; } 
		#content-middle ul li { 
			float:left;
			width:145px;
			line-height:20px; 
			}
	
/* ----- content-right-index ----- */

#content-right-index {
	width:205px;
	float:left;
	color:#D4E6FF;
	padding-top:48px;
	z-index:0;
	background:url("../images/subhead-areas-of-practice.jpg") no-repeat;
	}

	#content-right-index p, #content-right-index h1, #content-right-index h2, #content-right-index h3, #content-right-index dl {
		margin:0 25px 10px 20px;
		}

	#content-right-index a:link,#content-right-index a:visited	{ color:#D4E6FF; text-decoration:underline; }
	#content-right-index a:hover,#content-right-index a:active	{ color:#fff; text-decoration:underline; }

	/* definition list */
	#content-right-index dl { padding-left:0px; }
		#content-right-index dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#content-right-index dl dt span {
			display:none;
			}
		#content-right-index dl dd {
			padding-bottom:25px;
			}
	#content-right-index img{
		margin-left:13px;
	}				
	
#content-right-index img.award { margin-left:30px; }


/* ----- content-right ----- */

#content-right {
	width:537px;
	float:left;
	padding-top:51px;
	}

	#content-right p, #content-right h1, #content-right h2, #content-right h3, #content-right form, #content-right ul, #content-right dl {
		margin:0 28px 10px 16px;
		}

	/* single column list */
	#content-right ul { padding-left:5px; }
		#content-right ul li { 
			background:transparent url("../images/bullet.gif") 0px 5px no-repeat;
			padding-left:11px;  /* pushes text to the right to display bg img */
			}

	/* definition list */
	#content-right dl { padding-left:5px; }
		#content-right dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#content-right dl dd {
			background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			padding-bottom:10px;
			}
	
	#content-subnav {
		width:225px;
		float:right;
		margin:0;
		padding:0;
		}
		#content-subnav ul {
			margin-left:33px;
			}
		#content-subnav li ul {
			margin:0 0 0 5px;
			}

#content-right #demattia { margin-top:30px; }

#content-right #browner { margin-top:30px; }

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

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

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

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

	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	body#areas #header-graphic { background:url("../images/header-areas-of-practice.jpg"); }
	body#firm #header-graphic { background:url("../images/header-firm.jpg"); }
	body#contact #header-graphic { background:url("../images/header-contact.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-thankyou.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-sitemap.jpg"); }
	body#divorce #header-graphic { background:url("../images/header-divorce.jpg"); }
	body#results #header-graphic { background:url("../images/header-results.jpg"); }
	body#support #header-graphic { background:url("../images/header-support.jpg"); }
	body#custody #header-graphic { background:url("../images/header-custody.jpg"); }
	body#alimony #header-graphic { background:url("../images/header-alimony.jpg"); }
	body#violence #header-graphic { background:url("../images/header-violence.jpg"); }
	body#palimony #header-graphic { background:url("../images/header-palimony.jpg"); }
	body#prenuptials #header-graphic { background:url("../images/header-prenuptials.jpg"); }
	body#tournour #header-graphic { background:url("../images/header-index.jpg"); }
	body#rubenstein #header-graphic { background:url("../images/header-index.jpg"); }
	body#mediation #header-graphic { background:url("../images/header-index.jpg"); }
	body#child-visitation #header-graphic { background:url("../images/header-index.jpg"); }
	body#grandparents #header-graphic { background:url("../images/header-index.jpg"); }
	body#divorce-faq #header-graphic { background:url("../images/header-index.jpg"); }
	body#childsupport-faq #header-graphic { background:url("../images/header-index.jpg"); }
	body#annulment #header-graphic { background:url("../images/header-index.jpg"); }
	body#paternity #header-graphic { background:url("../images/header-index.jpg"); }
	body#battered-women #header-graphic { background:url("../images/header-index.jpg"); }

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

	body#index #content-middle.subhead { background:url("../images/suhead-welcome.jpg") no-repeat; }
	body#areas #content-right.subhead { background:url("../images/subhead-areas.jpg") no-repeat; }
	body#firm #content-right.subhead { background:url("../images/subhead-firm-profile.jpg") no-repeat; }
	body#contact #content-right.subhead { background:url("../images/subhead-contact-us.jpg") no-repeat; }
	body#thankyou #content-right.subhead { background:url("../images/subhead-thank-you.jpg") no-repeat; }
	body#sitemap #content-right.subhead { background:url("../images/subhead-site-map.jpg") no-repeat; }
	body#divorce #content-right.subhead { background:url("../images/subhead-divorce.jpg") no-repeat; }
	body#results #content-right.subhead { background:url("../images/subhead-case-results.jpg") no-repeat; }
	body#support #content-right.subhead { background:url("../images/subhead-child-support.jpg") no-repeat; }
	body#custody #content-right.subhead { background:url("../images/subhead-child-custody.jpg") no-repeat; }
	body#alimony #content-right.subhead { background:url("../images/subhead-alimony.jpg") no-repeat; }
	body#violence #content-right.subhead { background:url("../images/subhead-domestic-violence.jpg") no-repeat; }
	body#palimony #content-right.subhead { background:url("../images/subhead-palimony.jpg") no-repeat; }
	body#prenuptials #content-right.subhead { background:url("../images/subhead-prenuptials.jpg") no-repeat; }
	body#tournour #content-right.subhead { background:url("../images/subhead-tournour.jpg") no-repeat; }
	body#rubenstein #content-right.subhead { background:url("../images/subhead-rubenstein.jpg") no-repeat; }
	body#mediation #content-right.subhead { background:url("../images/subhead-mediation.jpg") no-repeat; }
	body#child-visitation #content-right.subhead { background:url("../images/subhead-child-visitation.jpg") no-repeat; }
	body#grandparents #content-right.subhead { background:url("../images/subhead-grandparents.jpg") no-repeat; }
	body#divorce-faq #content-right.subhead { background:url("../images/subhead-divorce-faq.jpg") no-repeat; }
	body#childsupport-faq #content-right.subhead { background:url("../images/subhead-childsupport-faq.jpg") no-repeat; }
	body#annulment #content-right.subhead { background:url("../images/subhead-annulments.jpg") no-repeat; }
	body#paternity #content-right.subhead { background:url("../images/subhead-paternity.jpg") no-repeat; }
	body#battered-women #content-right.subhead { background:url("../images/subhead-battered-women.jpg") no-repeat; }

/* ----- subhead framework with varying heights ----- */

#subhead-about-the-firm {
	height:55px;
	background:url("../images/subhead-about-the-firm.jpg") ;
	}

#subhead-client-results {
	height:55px;
	background:url("../images/subhead-client-results.jpg") ;
	}

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:741px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#173B6C;
	margin:0 10px 5px 10px;
	}

#footer a:link, #footer a:visited { color:#173B6C; }

#footer a:hover, #footer a:active { color:#0054C8; }

#footer ul {margin-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 #173B6C;
	}

	#footer li.first { border: none; }



/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

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

#nav span { display: none; }

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

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

#nav-01 { width: 80px; margin-left: 38px;}
#nav-02 { width: 135px;}
#nav-03 { width: 179px;}
#nav-04 { width: 136px;}
#nav-05 { width: 116px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -38px -54px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -118px -54px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -253px -54px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -432px -54px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -568px -54px no-repeat; }


/*-------------- Optional - Keeps the hover state on each page based on body #id ------------- */
body#firm 			#nav-02 { background:url("../images/nav.jpg") -118px -54px no-repeat; }
body#areas 		#nav-03 { background:url("../images/nav.jpg") -253px -54px no-repeat; }
body#divorce 		#nav-03 { background:url("../images/nav.jpg") -253px -54px no-repeat; }
body#custody 		#nav-03 { background:url("../images/nav.jpg") -253px -54px no-repeat; }
body#support 		#nav-03 { background:url("../images/nav.jpg") -253px -54px no-repeat; }
body#alimony 		#nav-03 { background:url("../images/nav.jpg") -253px -54px no-repeat; }
body#violence 		#nav-03 { background:url("../images/nav.jpg") -253px -54px no-repeat; }
body#palimony 		#nav-03 { background:url("../images/nav.jpg") -253px -54px no-repeat; }
body#prenuptials 	#nav-03 { background:url("../images/nav.jpg") -253px -54px no-repeat; }
body#results 		#nav-04 { background:url("../images/nav.jpg") -432px -54px no-repeat; }
body#contact 		#nav-05 { background:url("../images/nav.jpg") -568px -54px no-repeat; }

/* Son of Suckerfish: Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px;
	background-color:#0055C9;	/* 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 #314F77;
	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:17px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:1.0em;
	color:#FFFFFF;
	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 { 
	background:url("../images/bullet-suckerfish.jpg") 5px 6px no-repeat;
	color:#FFFFFF;
	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:150px; }
#nav-03 ul, #nav-03 li { width:175px; }		
