/*--------------------- 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:#778068 url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#F6F4E7;
	}

blockquote { 
	margin-left:40px; 
	margin-right:50px;
	margin-bottom:20px;
	font-style:italic; 
	}

h1	{ font-size:1.2em; color:#FFFFFF; }
h2	{ font-size:1.1em; color:#FFFFFF; }
h3	{ font-size:1.0em; color:#FFFFFF; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#EDF1C4; text-decoration:none; outline:none; }
a:hover,a:active	{ color:#EDF1C4; text-decoration:underline; 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:0px 20px 0px 10px; 
	}
p.first, h1.first {
	padding-top:80px;
	}

p.address {
	width:130px;
	}
/* ------------------------ form elements ------------------------ */
form {
	width:150px;
	margin:0px 0 15px 0; /* set margin left and right below */
	}
form.quick-contact {
	width:150px;
	padding-top:110px; /* 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:#FFFFFF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #404040;
	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 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: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:95px 0 0 243px; } /* defines placement of contact-main submit button */

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:64px;
	height:20px;
	border:none;
	cursor:pointer;
	}

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/wrap-bg.jpg") repeat-y;
	width:787px;
	margin:0 auto;
	text-align:left;
	}

/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:90px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:0px;
		width:0px;
		top:0px;
		height:0px; 
		}
	#masthead a span {
		display:none;
		}

/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:211px;
	float:left;
	}

	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0px 26px 10px 36px;
		}
	#column-left form { margin-left:36px; } /* set form margin here */

	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			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 */
			}
#logo {
background:url("../images/logos.gif") no-repeat;
height:108px;
margin:10px 0 0 15px;
}

/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:576px;
	float:left;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0px 41px 10px 27px;
		}
		#column-right p.dr-hannon{
			width:400px;
			}
	#column-right form { margin-left:0px; }

	/* single column list */
	#column-right ul { padding-left:5px; width:380px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 0px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:18px;  /* pushes text to the right to display bg img */
			padding-bottom:5px;
			}

/* ------- column-right index framework extras --------*/
body#index #girl {
	background:transparent url("../images/img-girl-index.jpg") no-repeat right bottom;
	}
	
#bna-galery {
	position:relative;
	background:url("../images/img-smile-gallery.jpg") no-repeat;
	height:156px;
	}
	#bna-galery  a {	
		position:absolute;
		left:20px;
		width:160px;
		top:20px;
		height:100px; 
		}
	#bna-galery a.gallery-1 {left:200px;}
	#bna-galery a.gallery-2 {left:380px;}
	
	#bna-galery  a span {
		display:none;
		}


#dr-hannon-img {
	background-color: transparent;
	background-image: url(../images/img-dr-hannon.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	}		

/* ------------------------ header framework ------------------------ */
#header-graphic { height:365px; } /* sets height for all non-flash headers */

	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	body#about #header-graphic { background:url("../images/header-index.jpg"); }
	body#general-health #header-graphic { background:url("../images/header-index.jpg"); }
	body#cosmetic #header-graphic { background:url("../images/header-index.jpg"); }
	body#gallery #header-graphic { background:url("../images/header-index.jpg"); }
	body#contact #header-graphic { background:url("../images/header-index.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-index.jpg"); }

/* index page link within #header-graphic */		
	#header-graphic a {	
		position:absolute;
		left:275px;
		width:200px;
		top:0px;
		height:60px; 
		}
	#header-graphic a span {
		display:none;
		}
/* ------------------------ subhead framework ------------------------ */
	body#index #subhead { background:url("../images/subhead-index.jpg") no-repeat; }
	body#about #subhead { background:url("../images/subhead-about.jpg") no-repeat; }
	body#general-health #subhead { background:url("../images/subhead-general.jpg") no-repeat; }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg") no-repeat; }
	body#gallery #subhead { background:url("../images/subhead-smile.jpg") no-repeat; }
	body#contact #subhead { background:url("../images/subhead-contact.jpg") no-repeat; }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg") no-repeat; height:200px;}

/* ------------------------ subhead framework with varying heights ------------------------ */
#subhead-meet-doc {
	height:55px;
	background:url("../images/subhead-meet-doc.jpg") ;
	}

/* ------------------------ title framework with varying heights ------------------------- */
#title-contact {
	background:url("../images/title-quick-contact.jpg") no-repeat ;
	}
#title-location {
	background:url("../images/title-location.jpg") no-repeat ;
	}


#title-locations {
	position:relative;
	height:187px;
	margin-left:24px;
	background:url("../images/img-locations-map.jpg") no-repeat ;
	}
	
body#contact #title-locations,body#thankyou #title-locations  { 
	background:url("../images/img-locations-map2.jpg") no-repeat ;
	}
	
	#title-locations a {	
		position:absolute;
		left:5px;
		width:154px;
		top:61px;
		height:124px; 
		}
	#title-locations a span {
		display:none;
		}
#title-smile {
	position:relative;
	height:109px;
	background:url("../images/title-smile-gallery.jpg") no-repeat ;
	}
	/* index page link within #masthead */		
	#title-smile a {	
		position:absolute;
		left:20px;
		width:150px;
		top:75px;
		height:22px; 
		}
	#title-smile a span {
		display:none;
		}

#title-dr-hannon{
	position:relative;
	height:110px;
	background-image: url(../images/title-dr-hannon.jpg);
	background-repeat: no-repeat;
	}
	#title-dr-hannon a {	
		position:absolute;
		left:20px;
		width:150px;
		top:75px;
		height:22px; 
		}
	#title-dr-hannon a span {
		display:none;
		}

	#patientforms {	
	background:url("../images/patientforms.jpg") no-repeat;
	margin:30px 0 0 15px;
	height:39px;
		}


/* ------------------------ bottom-wrap framework ------------------------ */
/* ------------ must have below column-left and column-right to clear the float ------------ */
#bottom-wrap-index {
	background:url("../images/wrap-bottom.jpg");
	width:100%; /* fix for Safar */
	height:64px;
	clear:both; /* important - do not remove */
	}
#bottom-wrap {
	background:url("../images/wrap-bottom-inside.jpg");
	width:100%; /* fix for Safar */
	height:64px;
	clear:both; /* important - do not remove */
	}
/* ------------------------footer framework ------------------------ */
#footer {
	width:760px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#FFFFFF;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#FFFFFF; text-decoration:none; }
#footer a:hover, #footer a:active { color:#EDF1C4; }


#footer p a:link, #footer p a:visited { color:#EDF1C4; text-decoration:none; }
#footer p a:hover, #footer p a:active { color:#EDF1C4; text-decoration:underline;}

#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 #FFFFFF;
		}
	#footer li.first { border: none; }

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */

/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:787px; 
	height:38px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:38px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; display:inline; position:relative; }

#nav-01 { width: 98px; margin-left: 14px;}
#nav-02 { width: 97px;}
#nav-03 { width: 155px;}
#nav-04 { width: 154px;}
#nav-05 { width: 120px;}
#nav-06 { width: 135px;}


/*-------------- (-14px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -14px -38px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -112px -38px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -209px -38px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -364px -38px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -518px -38px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -638px -38px no-repeat; }

/*-------------- OPTIONAL - Keeps the hover state on each page based on body id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -14px -38px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -112px -38px no-repeat; }
body#general-health #nav-03 { background:url("../images/nav.jpg") -209px -38px no-repeat; }
body#cosmetic #nav-04 { background:url("../images/nav.jpg") -364px -38px no-repeat; }
body#gallery #nav-05 { background:url("../images/nav.jpg") -518px -38px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -638px -38px 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:#95928A;	/* 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 #404040;
	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:#000000;
	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-04 ul a:hover { 
	background-image:none;
	background-color:#FFFFFF;
	color:#000000;
	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:96px; }		
#nav-04 ul, #nav-04 li { width:90px; }
