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

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

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

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

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

/* ------------------------ classes ------------------------ */
.clear	{ 
	clear:both;
	}

div.clear	{ 
	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 0px;
	}

img.img-right { 
	float:right; 
	margin:5px 0px 10px 10px; 
	}

/* ------------------------ form elements ------------------------ */
form {
	width:150px;
	margin:10px 0 15px 0; /* set margin left and right below */
	}

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 #000;
	color:#000;
	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:"Trebuchet MS", 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 */ 


/* ------------------------ SPECIFIC ELEMENTS ------------------------ */

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

#contact-main label { 
	width:220px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	margin-left:40px;
	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:175px; } /* fixes display issue - 5px larger than input field */

#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:80px 0 0 282px; } /* defines placement of contact-main submit button */

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

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

/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:95px;
	}
	/* index page link within #masthead */		
	#masthead a {
	position:absolute;
	left:35px;
	width:352px;
	top:21px;
	height:47px;
		}
	#masthead a span {
		display:none;
		}
		

/* ------------------------ column-index framework ------------------------ */
#column-index {
	width:837px;
	background:url("../images/bg-content.jpg")top no-repeat;
	float:left;
	}
	
	body#thank-you #column-index { height:256px; }

	#column-index p, #column-index h1, #column-index h2, #column-index h3, #column-index ul, #column-index dl {
		margin: 0 40px 20px 40px;
		}

	#column-index form { margin-left:0px; } /* set form margin here */

	/* single column list */
	#column-index ul { padding-left:25px; }
		#column-index ul li {
			list-style:disc;
			}

	/* definition list */
	#column-index dl { padding-left:25px; }
		#column-index dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-index dl dd {
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}

/* ------------------------ header framework ------------------------ */
#header-graphic { height:240px; background:url("../images/header-index.jpg"); }
	body#attorneys #header-graphic  { height:240px; background:url("../images/header-1.jpg"); }
	body#practice-areas #header-graphic  { height:240px; background:url("../images/header-2.jpg"); }
	body#news-events #header-graphic  { height:240px; background:url("../images/header-3.jpg"); }
	body#faq #header-graphic  { height:240px; background:url("../images/header-4.jpg"); }
	body#contact #header-graphic  { height:240px; background:url("../images/header-2.jpg"); }   /* sets height for all non-flash headers */

/* ------------------------ subhead framework ------------------------ */
#subhead { height:104px; } /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#attorneys #subhead { background:url("../images/subhead-attorneys.jpg"); }
	body#practice-areas #subhead { background:url("../images/subhead-practice-areas.jpg"); }
	body#news-events #subhead { background:url("../images/subhead-news-events.jpg"); }
	body#faq #subhead { background:url("../images/subhead-faq.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thank-you #subhead { background:url("../images/subhead-thank-you.jpg"); }

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

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

#title-our-procedures {
	height:35px;
	background:url("../images/title-our-procedures.jpg") ;
	}

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


/* ------------------------ bottom-wrap framework ------------------------ */
/* ------------ must have below column-left and column-right to clear the float ------------ */
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	width:100%; /* fix for Safar */
	height:106px;
	clear:both; /* important - do not remove */
	}

/* ------------------------footer framework ------------------------ */
#footer {
	width:837px;
	margin:0 auto;
	text-align:center;
	padding-top:10px;
	}

#footer p {
	color:#fff;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#fff; }
#footer a:hover, #footer a:active { color:#fff; }

#footer ul {margin:10px;}
	#footer li { /* if your li's float, you can adjust border height w/ line-height */
		padding:0 5px 0 7px; /* adjusts the spacing between each li display and border-left */
		display: inline;
		border-left: 1px solid #fff
		}
	#footer li.first { border: none; }

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */
/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:837px; 
	height:32px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

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

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

#nav-01 { width: 83px; margin-left: 45px;}
#nav-02 { width: 110px; margin-left: 10px;}
#nav-03 { width: 143px; margin-left: 10px;}
#nav-04 { width: 151px; margin-left: 10px;}
#nav-05 { width: 86px; margin-left: 10px;}
#nav-06 { width: 120px; margin-left: 10px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -45px -32px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -138px -32px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -258px -32px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -411px -32px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -572px -32px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -668px -32px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -45px -32px no-repeat; }
body#attorneys #nav-02 { background:url("../images/nav.jpg") -138px -32px no-repeat; }
body#practice-areas #nav-03 { background:url("../images/nav.jpg") -258px -32px no-repeat; }
body#news-events #nav-04 { background:url("../images/nav.jpg") -411px -32px no-repeat; }
body#faq #nav-05 { background:url("../images/nav.jpg") -572px -32px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -668px -32px no-repeat; }


#map-align {margin-left:138px;}