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

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

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

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

a:link,a:visited	{ color:#fff; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#fff; 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.read-more {
	float:right;
	text-align:right;
	display:block;
	color:#392017;
	background:url("../images/arrow.jpg") 0 5px no-repeat;
	width:105px;
	}
	
	p.read-more a:link, p.read-more a:visited {
		color:#392017;
		text-decoration:none;
		}
	
	p.read-more a:hover, p.read-more a:active {
		color:#392017;
		text-decoration:underline;
		}
	
p.map {
	line-height:34px;
	}
	
img.img-left { 
	float:left; 
	margin:0; 
	}
	
img.img-right { 
	float:right; 
	margin:0; 
	}
	
img.img-calculator {
	float:right; 
	margin:-13px 0 0 0;
	}

img.img-msr-tape {
	float:right; 
	margin:-40px 0 0 0;
	}

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

form {
	width:160px;
	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:#988A7E;
	width:155px; /* 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:160px; 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: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: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; }

/* BMI Calculator */

#column-right p.bmi {
	width:40px;
	padding:0;
	margin:0 0 10px 24px;
	float:left;
	display:inline;
	line-height:13px;
	}

#column-right #bmi {
	width:95px;
	float:left;
	color:#fff;
	margin:0 0 20px 0;
	padding:0 0 0 10px;
	}
	

input#feet, input#h, input#w {
	width:23px;
	}

input#body {
	width:50px;
	margin-bottom:5px;
	}

input.calculate {
	width:73px;
	height:20px;
	border:none;
	cursor:pointer;
	}

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

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

#column-left {
	width:608px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 23px 20px 60px;
		}
	#column-left form { margin-left:50px; }
	
	/* single column list */
	#column-left ul { padding-left:5px;}
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:12px; /* pushes text to the right to display bg img */
			padding-top:2px;
			}
			
	#featured-bna {
		background:url("../images/bna.jpg");
		width:608px;
		height:154px;
		position:relative;
	
		}
		
		#featured-bna .bna-01 {
			position:absolute;
			width:259px;
			height:127px;
			left:57px;
			top:0;
			}

		#featured-bna .bna-02 {
			position:absolute;
			width:259px;
			height:127px;
			left:327px;
			top:0;
			}

			#featured-bna span { display:none; }
						
/* ----- column-right ----- */

#column-right {
	width:241px;
	float:left;
	color:#fff;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 55px 20px 24px;
		}
	#column-right form { margin-left:24px; }
	 
	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			}

	#column-right ul li ul { margin:0 0 0 5px; }
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:94px;
	clear:both;
	width:100%; 
	}

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

#header-graphic { height:339px; position:relative; background:url("../images/header-index.jpg"); } 
	
	#header-graphic a {
		position:absolute;
		width:408px;
		height:63px;
		top:0;
		left:394px;
		}
		
		#header-graphic span { display:none; }
		

#header-graphic-spanish { height:339px; position:relative; background:url("../images/header-spanish.jpg"); } 
	
	#header-graphic a {
		position:absolute;
		width:408px;
		height:63px;
		top:0;
		left:394px;
		}
		
		#header-graphic span { display:none; }
		

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

#subhead { height:95px; } /* 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#procedure #subhead { background:url("../images/subhead-about.jpg"); }
	body#surgery #subhead { background:url("../images/subhead-surgery.jpg"); }
	body#after #subhead { background:url("../images/subhead-life.jpg"); }
	body#spanish #subhead { background:url("../images/subhead-spanish.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"); }


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

#title-qcontact-sp {
	height:95px;
	background:url("../images/title-qcontact-sp.jpg") ;
	}

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

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

#title-gallery {
	height:87px;
	background:url("../images/title-gallery.jpg") ;
	margin-top:-20px;
	}

#title-gallery-sp {
	height:87px;
	background:url("../images/title-gallery-sp.jpg") ;
	margin-top:-20px;
	}

#title-meet {
	height:84px;
	width:608px;
	background:url("../images/title-meet.jpg") ;
	}

#title-bmi {
	height:52px;
	background:url("../images/title-bmi.jpg") top right no-repeat;
	}


/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	background:url("../images/bg-footer.jpg") top no-repeat;
	width:849px;
	margin:0 auto;
	text-align:center;
	font-size:11px;
	}

#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;
	}

	#footer li.first { border: none; }
	
	#footer a:link, #footer a:visited { color:#10233B; text-decoration:none; }
	#footer a:hover, #footer a:active { color:#10233B; text-decoration:underline; }

	#footer ul li a:link, #footer ul li a:visited { color:#fff; text-decoration:none; }
	#footer ul li a:hover, #footer ul li a:active { color:#fff; text-decoration:underline; }
	

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

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

#nav span { display: none; }

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

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

#nav-01 { width: 63px; margin-left: 58px;}
#nav-02 { width: 87px;}
#nav-03 { width: 160px;}
#nav-04 { width: 159px;}
#nav-05 { width: 152px;}
#nav-06 { width: 105px;}


/*-------------- (-79px) X position of button / (-31px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -58px -31px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -121px -31px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -208px -31px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -368px -31px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -527px -31px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -679px -31px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -58px -31px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -121px -31px no-repeat; }
body#surgery #nav-03 { background:url("../images/nav.jpg") -208px -31px no-repeat; }
body#after #nav-04 { background:url("../images/nav.jpg") -368px -31px no-repeat; }
body#spanish #nav-05 { background:url("../images/nav.jpg") -527px -31px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -679px -31px no-repeat; }
