/*------------------------------------------------------------------------------------
  Copyright Einstein Industries 2006. Used with Permission.                             
  May not be duplicated or reproduced.
/*------------------------------------------------------------------------------------*/

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:'';}

/* ------------------------ type selectors ------------------------ */
body { 
	background:#a5aeb5 url("../images/bg-body.jpg") center top repeat-x;
	text-align:center; 
	font:12px/16px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#000;
	}

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:#0075ae; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#0075ae; text-decoration:none; outline:none; }

/* ------------------------ classes ------------------------ */
.clear	{ 
	clear:both;
	}
	
p.clear { padding-top:15px; }

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

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:12px;
	background:url("../images/read-more.jpg") right no-repeat;
	}

img.img-left { 
	float:left; 
	margin:2px 10px 0 16px;
	}

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

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

form label	{ font-size:.95em; } 

input, textarea, select { 
	background-color:#fff !important;
	border:1px solid #0075ae;
	color:#000;
	width:199px;
	height:16px;
	line-height:16px;
	vertical-align: middle;
	margin-bottom:4px;
	padding:1px 0 0 4px;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}

select { width:150px; padding:0; }

textarea { height:90px; overflow:auto; }

#contact_business { display: none; }

/* ------------------------ 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; }

#contact-main label textarea { height:100px; overflow:auto; }

/* ------------------------ submit button form elements ------------------------ */

input.submit, input.submit-contact-main { 
	width:73px;
	height:21px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:80px 0 0 240px; }

input.submit-image, input.submit-contact-main {
	background:url("../images/submit.jpg");
	width:73px;
	height:21px;
	border:none;
	cursor:pointer;
	}

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */
#wrap {
	background:url("../images/bg-wrap-inside.jpg") repeat-y;
	width:836px;
	margin:0 auto;
	text-align:left;
	}
	
	body#index #wrap {
		background:url("../images/bg-wrap.jpg") repeat-y;
		}
	
#top-wrap {
	width:100%;
	background:url("../images/bg-top-wrap.jpg") center top no-repeat;
	margin:0 auto;
	}
	
#outer-wrap {
	width:100%;
	background:url("../images/bg-outer-wrap.jpg") center top repeat-y;
	margin:0 auto;
	}
	
#lower-wrap {
	width:100%;
	background:url("../images/bg-lower-wrap.jpg") center bottom no-repeat;
	margin:0 auto;
	}

/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:154px;
	}
	
	#masthead a {
	display:block;
	height:122px;
	width:250px;
	}
	
/* ------------------------ header framework ------------------------ */
#header-graphic { height:250px; }
body#index #header-graphic,
body#thankyou #header-graphic { background:url("../images/header-index.jpg"); }
body#about #header-graphic { background:url("../images/header-about.jpg"); }
body#lasik #header-graphic,
body#intralase #header-graphic { background:url("../images/header-lasik.jpg"); }
body#oculoplastics #header-graphic { background:url("../images/header-oculoplastics.jpg"); }
body#cataract #header-graphic { background:url("../images/header-cataractsurgery.jpg"); }
body#contact #header-graphic { background:url("../images/header-contact.jpg"); }
body#custom #header-graphic { background:url("../images/header-customlasik.jpg"); }
body#general #header-graphic { background:url("../images/header-generalophthalmology.jpg"); }
body#iols #header-graphic { background:url("../images/header-iols.jpg"); }
	
/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:832px; 
	height:38px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:38px; display:block; }

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

#nav-01 { width: 67px; margin-left: 8px;}
#nav-02 { width: 59px;}
#nav-03 { width: 60px;}
#nav-04 { width: 109px;}
#nav-05 { width: 127px;}
#nav-06 { width: 51px;}
#nav-07 { width: 104px;}
#nav-08 { width: 168px;}
#nav-09 { width: 76px;}

#nav-01 a:hover { background:url("../images/nav.jpg") -8px -38px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -75px -38px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -134px -38px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -194px -38px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -303px -38px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -430px -38px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -481px -38px no-repeat; }
#nav-08 a:hover { background:url("../images/nav.jpg") -585px -38px no-repeat; }
#nav-09 a:hover { background:url("../images/nav.jpg") -753px -38px no-repeat; }

body#index #nav-01 { background:url("../images/nav.jpg") -8px -38px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -75px -38px no-repeat; }
body#lasik #nav-03 { background:url("../images/nav.jpg") -134px -38px no-repeat; }
body#custom #nav-04 { background:url("../images/nav.jpg") -194px -38px no-repeat; }
body#cataract #nav-05 { background:url("../images/nav.jpg") -303px -38px no-repeat; }
body#iols #nav-06 { background:url("../images/nav.jpg") -430px -38px no-repeat; }
body#oculoplastics #nav-07 { background:url("../images/nav.jpg") -481px -38px no-repeat; }
body#general #nav-08 { background:url("../images/nav.jpg") -585px -38px no-repeat; }
body#contact #nav-09 { background:url("../images/nav.jpg") -753px -38px no-repeat; }

#nav li ul {
	position:absolute;
	left:-9999px;
	background-color:#011979;	/* 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:0;
	}	

#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:#FFFFFF;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav-03 ul a:hover, #nav-08 ul a:hover { 
	background-image:none;
	background-color:#fff;
	color:#011979;
	text-decoration:none;
	border:1px solid #011979;
	border-top:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-03 ul, #nav-03 li { width:70px; }
#nav-08 ul, #nav-08 li { width:168px; }

/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:573px;
	float:left;
	}
	
	body#index #column-left {
		width:263px;
		float:left;
		}

	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl, #column-left img {
		margin:0px 22px 10px 29px;
		}
		
		body#index  #column-left ul {
			margin:0px 0px 10px 8px;
			}
		
#sub-nav {
	width:235px;
	height:728px;
	background:url("../images/sub-nav.jpg") 0 0 no-repeat;
	margin:0;
	padding:0;
	}

#sub-nav li span { display: none; }

#sub-nav li { float:left; list-style:none; position:relative; width:235px; }

#sub-nav li, #sub-nav a { 
	height:81px;
	display:block;
	}

#sub-nav-01 a:hover { background:url("../images/sub-nav.jpg") -235px -0px no-repeat; }
#sub-nav-02 a:hover { background:url("../images/sub-nav.jpg") -235px -81px no-repeat; }
#sub-nav-03 a:hover { background:url("../images/sub-nav.jpg") -235px -162px no-repeat; }
#sub-nav-04 a:hover { background:url("../images/sub-nav.jpg") -235px -243px no-repeat; }
#sub-nav-05 a:hover { background:url("../images/sub-nav.jpg") -235px -324px no-repeat; }
#sub-nav-06 a:hover { background:url("../images/sub-nav.jpg") -235px -405px no-repeat; }
#sub-nav-07 a:hover { background:url("../images/sub-nav.jpg") -235px -486px no-repeat; }
#sub-nav-08 a:hover { background:url("../images/sub-nav.jpg") -235px -567px no-repeat; }
#sub-nav-09 a:hover { background:url("../images/sub-nav.jpg") -235px -648px no-repeat; }

		
/* ------------------------ column-middle framework ------------------------ */
#column-middle {
	width:310px;
	float:left;
	}

	#column-middle p, #column-middle h1, #column-middle h2, #column-middle h3, #column-middle ul, #column-middle dl {
		margin:0px 25px 10px 19px;
		}

/* ------------------------ column-right framework ------------------------ */
#column-right {
		width:263px;
		float:left;
		}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0px 33px 10px 20px;
		}
		
	#column-right strong { color:#0075ae; }

/* ------------------------ subhead framework ------------------------ */
#subhead { height:107px; } /* sets height for all subheads */
	body#about #subhead { background:url("../images/subhead-about.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"); }
	
	body#lasik #subhead { background:url("../images/subhead-lasik.jpg"); }
	body#custom #subhead { background:url("../images/subhead-custom.jpg"); }
	body#cataract #subhead { background:url("../images/subhead-cataract.jpg"); }
	body#iols #subhead { background:url("../images/subhead-iols.jpg"); }
	body#oculoplastics #subhead { background:url("../images/subhead-oculoplastics.jpg"); }
	body#general #subhead { background:url("../images/subhead-general.jpg"); }
	body#intralase #subhead { background:url("../images/subhead-intralase.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:101px;
	background:url("../images/title-contact.jpg") ;
	}
	
	body#contact #title-contact { height:111px; background:url("../images/title-contact-location.jpg") no-repeat ; }

#title-vision {
	height:101px;
	background:url("../images/title-vision.jpg") ;
	}
	
#title-meet {
	height:101px;
	background:url("../images/title-meet.jpg") ;
	}

#title-welcome {
	height:62px;
	background:url("../images/title-welcome.jpg") ;
	}
	
#title-location {
	height:60px;
	background:url("../images/title-location.jpg") ;
	}

/* ------------------------ bottom-wrap framework ------------------------ */

#bottom-wrap {
	background:url("../images/bottom-wrap-inside.jpg") no-repeat;
	width:100%;
	height:201px;
	clear:both; /* important */
	}
	
	body#index #bottom-wrap {
		background:url("../images/bottom-wrap.jpg") no-repeat;
		width:100%;
		height:201px;
		clear:both; /* important */
		}

/* ------------------------footer framework ------------------------ */
#footer {
	width:832px;
	margin:0 auto;
	text-align:center;
	}

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

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

#footer ul {margin:10px;}
	#footer li {
		padding:0 5px 0 7px;
		display: inline;
		border-left: 1px solid #04569d;
		}
	#footer li.first { border: none; }
