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

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

p.h1	{ font-size:14px; color:#716A3E; font-weight:bold; }
p.h2	{ font-size:12px; color:#716A3E; font-weight:bold; }
p.h3	{ font-size:11px; color:#716A3E; font-weight:bold; }

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

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

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

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

p.back-to-top {
	text-align:right;
	display:block;
	}
	
p.read-more {
	background:#EDEBDF url("../images/bg-read-more.jpg") left no-repeat;
	height:15px;
	padding-left:15px;
	}
	
img.img-left { 
	float:left; 
	margin:-2px 10px 0 25px; 
	}
	
img.img-right { 
	float:right; 
	margin:-10px 12px 10px 0; 
	}
	
img.img-inset-right {
	float:right; 
	margin:-5px 25px 0 10px; 
	}
	
img.img-inset-left {
	float:left; 
	margin:0 10px 20px 30px; 
	}

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

form {
	width:150px;
	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 #675725;
	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-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 */ 


/* ----- main contact form ----- */ 
 
#contact-main { margin:0 32px 15px 42px; }

#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:170px; }
	
#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; }


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

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

	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:102px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:14px;
		width:170px;
		top:0px;
		height:81px; 
		}
	#masthead a span {
		display:none;
		}
		
#masthead4 {
	position:relative;
	background:url("../images/masthead4.jpg");
	height:102px;
	}
	/* index page link within #masthead */		
	#masthead4 a {
	position:absolute;
	left:14px;
	width:726px;
	top:0px;
	height:81px;
		}
	#masthead4 a span {
		display:none;
		}
		
#masthead2 {
	position:relative;
	background:url("../images/masthead2.jpg");
	height:105px;
	}
	/* index page link within #masthead */		
	#masthead2 a {	
		position:absolute;
		left:14px;
		width:170px;
		top:0px;
		height:81px; 
		}
	#masthead2 a span {
		display:none;
		}
#masthead3 {
	position:relative;
	background:url("../images/masthead3.jpg");
	height:102px;
	}
	/* index page link within #masthead */		
	#masthead3 a {	
		position:absolute;
		left:14px;
		width:170px;
		top:0px;
		height:81px; 
		}
	#masthead3 a span {
		display:none;
		}

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

#header-flash { height:244px; margin-left:11px; } 

#header-graphic { height:244px; } 

	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	body#about #header-graphic { background:url("../images/header-one.jpg"); }
	body#lasik #header-graphic { background:url("../images/header-two.jpg"); }
	body#procedures #header-graphic { background:url("../images/header-three.jpg"); }
	body#cataracts #header-graphic { background:url("../images/header-four.jpg"); }
	body#cosmetic #header-graphic { background:url("../images/header-one.jpg"); }
	body#espanol #header-graphic { background:url("../images/header-sp.jpg"); }
	body#contact #header-graphic { background:url("../images/cama.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-four.jpg"); } 

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

#subhead { height:62px; }
	
	#subhead span { display:none; }

	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#lasik #subhead { background:url("../images/subhead-lasik.jpg"); }
	body#procedures #subhead { background:url("../images/subhead-procedures.jpg"); }
	body#cataracts #subhead { background:url("../images/subhead-cataracts.jpg"); }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#espanol #subhead { background:url("../images/subhead-espanol.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }


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

#subhead-index {
	background:url("../images/subhead-index.jpg");
	height:77px;
	}
	
	#subhead-index span {
		display:none;
		}
		
	body#espanol #subhead-index {
		background:url("../images/subhead-index-sp.jpg");
		height:77px;
		}

#subhead-cosmetic-index {
	background: url("../images/subhead-cosmetic.jpg");
	height:62px;
	}
	
body#espanol #subhead-cosmetic-index {
	background: url("../images/subhead-cosmetic-sp.jpg");
	height:62px;
	}
	
	#subhead-cosmetic-index span {
		display:none;
		}
	
#subhead-index-sp {
	background:url("../images/subhead-index-sp.jpg");
	height:77px;
	}
	
	#subhead-index-sp span {
		display:none;
		}

#subhead-cosmetic-index-sp {
	background: url("../images/subhead-cosmetic-sp.jpg");
	height:62px;
	}
	
	#subhead-cosmetic-index-sp span {
		display:none;
		}

/* ----- Index Top Module ----- */
#top-module {
	background:url("../images/bg-green.jpg");
	width:752px;
	color:#F2F4F1;
	}
	
	#top-module a:link, #top-module a:visited	{ color:#F2F4F1; text-decoration:underline; outline:none; }
	#top-module a:hover, #top-module a:active	{ color:#F2F4F1; text-decoration:none; outline:none; }

	
	#box-procedure {
		width:254px;
		float:left;
		}
		
			#subhead-box-procedure {
				background:url("../images/subhead-featured-procedure.jpg");
				height:140px;
				margin-bottom:-82px;
				}
				
				#subhead-box-procedure span {
					display:none;
					}
					
			body#espanol #subhead-box-procedure {
				background:url("../images/subhead-featured-procedure-sp.jpg");
				height:140px;
				margin-bottom:-82px;
				}
								
			#box-procedure p {
				margin:0 20px 15px 30px;
				}
				
				#box-procedure-spacer {
					width:50px;
					height:85px;
					float:right;
					display:block;
					margin:0;
					}
		
	#box-lasik {
		width:243px;
		float:left;
		position:relative;
		}
		
		#subhead-box-lasik {
			background:url("../images/subhead-lasik-index.jpg");
			height:140px;
			margin-bottom:-82px;
			}
			
			#subhead-box-lasik span {
					display:none;
					}
					
		body#espanol #subhead-box-lasik {
			background:url("../images/subhead-lasik-index-sp.jpg");
			height:140px;
			margin-bottom:-82px;
			}
							
		#box-lasik p {
			margin:0 20px 15px 23px;
			}
			
		#box-lasik-spacer {
			width:99px;
			height:90px;
			float:right;
			display:block;
			margin:0;
			}
		
	#box-contact {
		width:255px;
		float:left;
		}
		
		#subhead-box-contact {
			background:url("../images/subhead-contact-index.jpg");
			height:140px;
			margin-bottom:-82px;
			}
			
			#subhead-box-contact span {
					display:none;
					}
					
		body#espanol #subhead-box-contact {
			background:url("../images/subhead-contact-index-sp.jpg");
			height:140px;
			margin-bottom:-82px;
			}
			
				
		#box-contact p {
			margin:0 30px 15px 23px;
			}
			
/* ----- Body Content----- */

#content p, #content h1, #content h2, #content h3, #content ul, #content dl {
		margin:0 32px 15px 32px;
		}
		
		#content ul { padding-left:15px; }
		#content ul li {
			list-style-type:disc;
			padding-left:5px; /* pushes text to the right to display bg img */
			}
		
#img-lifestyle {
	background:url("../images/img-lifestyle.jpg");
	height:109px;
	}
	
	#img-lifestyle span {
		display:none;
		}
		
body#espanol #img-lifestyle {
	background:url("../images/img-lifestyle-sp.jpg");
	height:109px;
	}
	
	div.columns {
		float:left;
		width: 350px;
		}
			
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:56px;
	clear:both;
	width:100%; /* fix for Safar */
	}
#bottom-wrapwh {
	background:url("../images/bottom-wrap-wh.jpg");
	height:56px;
	clear:both;
	width:100%; /* fix for Safar */
	}

	
/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:752px;
	margin:0 auto;
	text-align:center;
	background:url("../images/bg-bottom-footer.jpg") left bottom no-repeat;
	padding-bottom:30px;
	}

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

#footer a:link, #footer a:visited { color:#000; text-decoration:none; }

#footer a:hover, #footer a:active { color:#000; text-decoration:underline; }

#footer ul {margin-top:0;}

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

	#footer li.first { border: none; }


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

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:752px; 
	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; }

#nav-01 { width: 63px; margin-left: 28px;}
#nav-02 { width: 84px; margin-left: 2px;}
#nav-03 { width: 66px; margin-left: 2px;}
#nav-04 { width: 97px; margin-left: 2px;}
#nav-05 { width: 88px; margin-left: 2px;}
#nav-06 { width: 135px; margin-left: 2px;}
#nav-07 { width: 76px; margin-left: 2px;}
#nav-08 { width: 76px; margin-left: 2px;}


/*-------------- (-79px) X position of button / (-37px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -28px -37px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -93px -37px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -179px -37px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -247px -37px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -346px -37px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -436px -37px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -573px -37px no-repeat; }
#nav-08 a:hover { background:url("../images/nav.jpg") -651px -37px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -28px -37px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -93px -37px no-repeat; }
body#lasik #nav-03 { background:url("../images/nav.jpg") -179px -37px no-repeat; }
body#procedures #nav-04 { background:url("../images/nav.jpg") -247px -37px no-repeat; }
body#cataracts #nav-05 { background:url("../images/nav.jpg") -346px -37px no-repeat; }
body#cosmetic #nav-06 { background:url("../images/nav.jpg") -436px -37px no-repeat; }
body#espanol #nav-07 { background:url("../images/nav.jpg") -573px -37px no-repeat; }
body#contact #nav-08 { background:url("../images/nav.jpg") -651px -37px no-repeat; }
