/*--------------------- 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 ------------------------ */
html { background:#006699 url("../images/bg-html.jpg") top repeat-x;
 }

body { 
	background:url("../images/bg-body.jpg") top center no-repeat;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#000;
	}

blockquote { margin-left:10px; margin-right:10px; }

p.h1	{ font-size:1.3em; color:#000; font-weight:bold; }
p.h2	{ font-size:1.2em; color:#6f1109; font-weight:bold; }
p.h3	{ font-size:1.0em; color:#8F382C; font-weight:bold; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#6f1109; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#761001; text-decoration:underline; outline:none; }

/* ------------------------ classes ------------------------ */

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}
	
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
	

.clear {clear: both;}

div.clear	{ 
	height:.01em; 
	clear:both;
	overflow:hidden; 
	}
div.clear-h2	{ 
	height:10px; 
	clear:both;
	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;
	}
p.more-info {
	text-align:right;
	display:block;
	}
img.img-left { 
	float:left; 
	margin:0px 7px 0px 0px;
	}

img.img-right { 
	float:right; 
	margin:0px 0px 0px 0px; 
	}
	
p.address {font-size: .95em; color: #4c4c4c;}

#column-right p.client-name {font-weight: bold; margin-bottom: 0px; color: #6f1109; }

/* ------------------------ 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 #6f1109;
	color:#414141;
	width:234px; /* 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:.95em;
	}

select { width:150px; padding:0; } /* same width as form - !important */

textarea { height:66px; 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:85px 0 15px 242px; } /* defines placement of contact-main submit button */

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:820px;
	margin:0 auto;
	text-align:left;
	}

#wrap-img {
	background:url("../images/bottom-img.jpg") bottom no-repeat;
	width:820px;
	padding-bottom: 50px;
	}

/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:100px;
	}
	/* index page link within #masthead */		
	#masthead a {
	position:absolute;
	left:10px;
	width:336px;
	top:20px;
}
#masthead a {
	height:60px; 
	height: 68px;
		}
	#masthead a span {
		display:none;
		}

/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:502px;
	float:left;
	display: inline;
	margin-left: 30px;
	}

	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0px 20px 10px 0px;
		}

	#column-left form { margin-left:10px; } /* set form margin here */

	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 1px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:15px; /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-left ul.multi { padding-left:5px; } 
		#column-left ul.multi 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 */
			float:left;
			width:150px; /* sets the width of each column */
			line-height:20px; 
			}

	/* definition list */
	#column-left dl { padding-left:5px; }
		#column-left dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-left 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;
			}

/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:260px;
	float:left;
	display:inline;
	margin-right: 28px;
	margin-bottom: 250px;
	}
body#contact #column-right, body#thankyou #column-right { margin-bottom: 0px;}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0px 0px 10px 19px;
		}

	#column-right form { margin-left:19px; }

	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 2px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:15px;  /* pushes text to the right to display bg img */
			}


/* ------------------------ header framework ------------------------ */
#header-graphic { height:348px; background:url("../images/header-graphic.jpg"); } /* 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-about.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"); }
*/

/* ------------------------ subhead framework ------------------------ */
#subhead { height:52px; } /* sets height for all subheads */
	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#other #subhead { background:url("../images/subhead-other.jpg"); }
	body#faqs #subhead { background:url("../images/subhead-faqs.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }

/* ------------------------ subhead framework with varying heights ------------------------ */
#testimonials-index {
	height:96px;
	background:url("../images/testimonials-index.jpg") ;
	padding-top: 103px
	}
	#testimonials-index p { margin: 0px 311px 5px 30px; color: #fff;}
	
#content-top {
	height: 108px;
	background: url("../images/content-top.jpg");
	}

/* ------------------------ title framework with varying heights ------------------------- */
body#index #col-right-top {
	height: 141px;
	background: url("../images/col-right-top-index.jpg");
	}
	
body#lasik #col-right-top {
	height: 141px;
	background: url("../images/col-right-top-index.jpg");
}

body#other #col-right-top {
	height: 141px;
	background: url("../images/col-right-top-index.jpg");
}

#col-right-top {
	height: 228px;
	background: url("../images/col-right-top.jpg");
}

#title-testimonial {
	height:42px;
	background:url("../images/title-testimonial.jpg") ;
	}

#title-contact {
	height:42px;
	background:url("../images/title-contact.jpg") ;
	}
body#contact #title-contact, body#thankyou #title-contact {
	background:url("../images/title-locate.jpg") ;
	}
	
#title-meet-dr-yang {
	height:84px;
	background:url("../images/title-meet-dr-yang.jpg") ;
	}

#see-clearly {
	height: 212px;
	background: url("../images/inset-see-clearly.jpg");
	position: relative;
	}
#see-clearly a {
	position: absolute;
	top: 97px;
	left: 258px;
	height: 80px;
	width: 200px;
	}

/* ------------------------ 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:75px;
	clear:both; /* important - do not remove */
	}

/* ------------------------footer framework ------------------------ */
#footer {
	width:820px;
	margin:0 auto;
	text-align:center;
	padding-top: 20px;
	}

#footer p {
	color:#043869;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#043869; text-decoration: none; }
#footer a:hover, #footer a:active { color:#f4f4f4; text-decoration: none; }

#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; /* adjusts the spacing between each li display and border-left */
		display: inline;
		border-left: 1px solid #043869;
		}
	#footer li.first { border: none; }

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */
/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:820px; 
	height:39px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:39px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 89px; margin-left: 9px;}
#nav-02 { width: 110px;}
#nav-03 { width: 82px;}
#nav-04 { width: 149px;}
#nav-05 { width: 253px;}
#nav-06 { width: 121px;}


/*-------------- (-79px) X position of button / (-39px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")   -9px -39px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg")  -98px -39px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -208px -39px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -290px -39px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -439px -39px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -692px -39px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")   -9px -39px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg")   -98px -39px no-repeat; }
body#lasik #nav-03 { background:url("../images/nav.jpg")   -208px -39px no-repeat; }
body#other #nav-04 { background:url("../images/nav.jpg")   -290px -39px no-repeat; }
body#faqs #nav-05 { background:url("../images/nav.jpg")    -439px -39px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -692px -39px no-repeat; }
