/* 
 ----------------------------------------------------------------------------
  Copyright Einstein Industries 2005. 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 */

/* 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 {
	margin:0;
	padding:0;
}
/* prevent blue linked image borders */
a img, :link img, :visited img, fieldset {
	border:none;
}
span {
	display:none;
}
/* global elements
 * ------------------------------------------------------------------------- */

body {
	background: #fff url(../images/index/bg_body.jpg) top left repeat-x;
	text-align:center;
	font:12px/18px Arial, Verdana, Helvetica, sans-serif;
	color:#2C5E9D;
}
p, ul, ol, dl, pre, blockquote {
	margin-bottom:10px;
}
blockquote {
	margin-left: 10px;
	margin-right: 10px;
}
h1, h2, h3 {
	margin-bottom:8px;
}
h1 {
	font-size:16px;
	color:#0A165E;
}
h2 {
	font-size:14px;
	color:#0A165E;
}
h3 {
	font-size:12px;
	color:#0A165E;
}
h1 span, h2 span, h3 span {
	display:none;
}
p a:link, p a:visited {
	color:#0A165E;
}
p a:hover, p a:active {
	color:#2C5E9D;
	background-color: #F4F2E4;
}
/* global classes
 * ------------------------------------------------------------------------- */

div.clear {
	clear:both;
	height:.01em;
	overflow:hidden;
}
img.img-left {
	float:left;
	margin:2px 12px 12px 0;
}
img.img-right {
	float: right;
	margin: 2px 0 12px 12px;
}
p.top {
	text-align:right;
	display:block;
	font-size:10px;
}
.req {
	font-size:10px;
}
.hr-style {
	padding-left: 30px;
}
/* main framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url(../images/index/bg_wrap.jpg) repeat-y;
	width:778px;
	margin:0 auto;
	text-align:left;
	position:relative;
}
#masthead {
	position:relative;
	background:url(../images/index/masthead.jpg) left top no-repeat;
	width:778px;
	height:125px;
}
#masthead-btn a {
	position:absolute;
	width:778px;
	height:125px;
	top:0px;
	left:0px;
}/* home link within header */
#container-flash {
	width: 778px;
	z-index:1;
}
#spacer-left-flash {
	background:url(../images/index/flash_spacer_left.jpg);
	width:8px;
	height:293px;
	float:left;
}
#header-flash {
	background:url(../images/index/flash_header.jpg);
	width:762px;
	height:293px;
	float:left;
	margin:0px;
} /* flash or no flash */
#spacer-right-flash {
	background:url(../images/index/flash_spacer_right.jpg);
	width:8px;
	height:293px;
	float:left;
}
#column-left {
	background:url(../images/column-left-top.jpg) top left no-repeat;
	width:548px;
	float:left;
	padding-top:30px;
}
#column-left p.intro {
	padding-top: 95px;
	padding-left:222px;
}
#column-left p.intro-2 {
	padding-left:219px;
}
#column-left p, #column-left h1, #column-left h2, #column-left h3 {
	margin: 0px 31px 15px 58px;
}
#column-left ul {
	margin: 0px 31px 15px 75px;
	}
#container-advanced-technology {
	background:url(../images/index/bg_containers.jpg) left top repeat-y;
	width:548px;
	float:left;
}/* container bg */
#title-advanced-technology {
	background:url(../images/index/title_advanced_technology.jpg) left top no-repeat;
	width:548px;
}
#title-enhance-vision {
	background:url(../images/index/title_enhance_vision.jpg) left top no-repeat;
	width:548px;
}
#container-vision-correction {
	background:url(../images/index/bg_containers.jpg) left top repeat-y;
	width:548px;
	float:left;
}/* container bg */
#title-vision-correction {
	background:url(../images/index/title_vision_correction.jpg) left top no-repeat;
	width:548px;
}
#title-lens-options {
	background:url(../images/index/title_lens_options.jpg) left top no-repeat;
	width:548px;
}
#middle-banner {
	position:relative;
	background:url(../images/index/middle_banner.jpg) left top no-repeat;
	height:141px;
	width:548px;
}/* middle banner */
#banner-link a {
	position:absolute;
	width:259px;
	height:73px;
	top:25px;
	left:67px;
}/* testimonials link within banner */
#tdeonline {
	margin-left:58px;
}
#column-right {
	width:230px;
	float:left;
	padding-bottom:53px;
}
#column-right p {
	margin:8px 41px 8px 22px;
}
#title-consultation {
	background:url(../images/index/title_consultation.jpg);
	height:53px;
}
div#title-adcontent a, div#title-adcontent a:visited {
	height:102px;
	width:184;
	margin-left:10px;
	display: block;
	background-image: url(../images/index/img_ilasik_butt.jpg);
	background-repeat: no-repeat;
}
#page-footer {
	background:url(../images/index/page_footer.jpg) no-repeat;
	width:778px;
	height:76px;
	clear:both;
	overflow:hidden;
}
/* inside sub pages framework
 * ------------------------------------------------------------------------- */
 
#sub-wrap {
	background:url(../images/sub/bg_sub_wrap.jpg) repeat-y;
	width:778px;
	margin:0 auto;
	text-align:left;
	position:relative;
}
#subhead {
	height:71px;
}/* sets height for all subheads */
body#about #subhead {
	background:url(../images/sub/subhead_about.jpg);
}

body#single #subhead, body#multiple #subhead {
	background:url(../images/sub/subhead_blog.jpg);
}


body#technology #subhead {
	background:url(../images/sub/subhead_technology.jpg);
}
body#procedures #subhead {
	background:url(../images/sub/subhead_procedures.jpg);
}
body#faqs #subhead {
	background:url(../images/sub/subhead_faqs.jpg);
}
body#contact #subhead {
	background:url(../images/sub/subhead_contact.jpg);
}
body#thankyou #subhead {
	background:url(../images/sub/subhead_thankyou.jpg);
}
#subgraphic {
	height:293px;
}/* sets height for all subheads */
body#about #subgraphic, body#multiple #subgraphic, body#single #subgraphic {
	background:url(../images/sub/subgraphic_about.jpg);
}
body#technology #subgraphic, body#vision-correction-options #subgraphic {
	background:url(../images/sub/subgraphic_02.jpg);
}
body#procedures #subgraphic, body#ilasik-overview #subgraphic, body#ilasik-procedure #subgraphic, body#lasik-overview #subgraphic, body#lasik-types #subgraphic {
	background:url(../images/sub/subgraphic_01.jpg);
}
body#faqs #subgraphic {
	background:url(../images/sub/subgraphic_03.jpg);
}
body#contact #subgraphic {
	background:url(../images/sub/subgraphic_about.jpg);
}
#testimonials-wrap {
	background:url(../images/sub/bg_wrap_testimonials.jpg) repeat-y;
	width:512px;
	margin:0 auto;
	text-align:left;
}
#testimonials-wrap p {
	margin-top: 10px;
	margin-right: 25px;
	margin-bottom: 8px;
	margin-left: 100px;
}
#title-testimonials {
	background:url(../images/sub/subhead_testimonials02.jpg) left top no-repeat;
	width:512px;
	height:71px;
}
#title-financing {
	background:url(../images/index/subhead_financing.jpg) left top no-repeat;
	width:512px;
	height:71px;
}
#testimonials-footer {
	background:url(../images/sub/testimonials_footer.jpg) left top no-repeat;
	width:512px;
	height:62px;
	clear:both;
	overflow:hidden;
}
#quick-list {
	width:150px;
	float:right;
	margin:10px 10px 10px 10px;
	overflow:hidden;
}
#quick-list a:link, #quick-list a:visited {
	color:#0A165E;
}
#quick-list a:hover, #quick-list a:active {
	color:#2C5E9D;
}
/* background image list items */
#quick-list ul {
	margin:0 0 0 3px;
	list-style:none;
}
#quick-list ul li {
	background:transparent url(../images/sub/list_style.jpg) 0px 6px no-repeat;
	padding-left:8px;
	margin:0 0 0 10px;
}
#quick-list li.first {
	background:none;
}
#sub-page-footer {
	background:url(../images/sub/sub_page_footer.jpg) no-repeat;
	width:778px;
	height:76px;
	clear:both;
	overflow:hidden;
}
ul.list, li.list {
	background:transparent url(../images/sub/list_style.jpg) 0px 6px no-repeat;
	padding-left:8px;
	margin:0 25px 0 65px;
	list-style:none;
}
li.first {
	background:none;
}
li.numbered {
	margin:0 25px 0 65px;
	list-style:none;
}
li.first {
	margin-left:65px;
}
/* Horozontal MAIN NAVIGATION Sprite Nav
 * ------------------------------------------------------------------------- */

#nav {
	background: url(../images/index/nav.jpg) no-repeat;
	width:778px;
	height:38px;
	margin-bottom:0;
	
}
#nav span {
	display: none;
}
#nav li, #nav a {
	height: 38px;
	display: block;
}
#nav li {
	position:relative;
	float: left;
	list-style: none;
	_display: inline;
	
}
#nav-01 {
	width: 62px;
	margin-left:14px;
}
#nav-02 {
	width: 125px;
}
#nav-03 {
	width: 91px;
}
#nav-04 {
	width: 90px;
}
#nav-05 {
	width: 57px;
}
#nav-06 {
	width: 53px;
}
#nav-07 {
	width: 85px;
}
#nav-08 {
	width: 187px;
}	

#nav li a:hover {
	position:static;
	}



#nav-01 a:hover {
	background: transparent url(../images/index/nav.jpg) -14px -38px no-repeat;
}
#nav-02 a:hover {
	background: transparent url(../images/index/nav.jpg) -76px -38px no-repeat;
}
#nav-03 a:hover {
	background: transparent url(../images/index/nav.jpg) -201px -38px no-repeat;
}
#nav-04 a:hover {
	background: transparent url(../images/index/nav.jpg) -292px -38px no-repeat;
}
#nav-05 a:hover {
	background: transparent url(../images/index/nav.jpg) -382px -38px no-repeat;
}
#nav-06 a:hover {
	background: transparent url(../images/index/nav.jpg) -439px -38px no-repeat;
}
#nav-07 a:hover {
	background: transparent url(../images/index/nav.jpg) -492px -38px no-repeat;
}
#nav-08 a:hover {
	background: transparent url(../images/index/nav.jpg) -577px -38px no-repeat;
}




#nav li ul { /* second-level lists */
	position: absolute;
	list-style:none;
	background:#3e5f98;
	border-left:1px solid #0b1c51;
	border-right:1px solid #0b1c51;
	border-bottom:1px solid #0b1c51;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	}
#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
	z-index:1;
	}
#nav li ul li {
	margin:0; 
	float:none;
	line-height:38px;
	border-bottom:1px solid white;
	border-top:1px solid #0b1c51;
	}
	#nav li ul li.first {border-top:1px solid white;}
#nav li ul li a { 
	padding-left:15px; 
	padding-right:15px;
	text-decoration:none;
	color:white	;
	border-left:1px solid white;
	border-right:1px solid white;
	}
#nav ul li a:hover { 
	background:#65b0e4;
	color:white; 
	}
	
#nav-03 ul, #nav-03 li { width: 180px; }		
#nav-04 ul, #nav-04 li { width: 140px; }
	

#nav li ul ul {
	margin: -39px 0 0 140px;
}
#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
}
#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul {
	left: auto;
	z-index:1;
}





/* Footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:778px;
	text-align:center;
	margin:0 auto;
}
#footer a:link, #footer a:visited, #footer p {
	text-decoration:none;
	color:#0A165E;
}
#footer a:hover, #footer a:active {
	text-decoration:underline;
	color:#0A165E;
}
#footer ul {
	margin-bottom:20px;
}
#footer li {
	padding: 0 5px 0 7px;
	display:inline;
	border-left: 1px solid #0A165E;
}
#footer li.first {
	border: none;
	margin-left:0;
}
/* Quick Contact Form
 * ------------------------------------------------------------------------- */

form {
	width:150px;
	padding:10px 0 15px 23px;
}
form p {
	font-size:10px;
}
form br {
	line-height:0; /* defaults vertical spacing between fields */
}
input, textarea, select {
	background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #537CAF;
	color:#0A165E;
	width:150px;
	height:18px;
	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, Verdana, Helvetica, sans-serif;
	font-size:12px;
}
textarea {
	height:70px;
	overflow:auto;
}
input.submit, input.submit-contact-main {
	width:60px;
	cursor:pointer;
	padding:0;
}
input.submit-contact-main {
	margin:85px 0 0 242px;
}
input.submit-image {
	background: url(../images/index/btn_submit.jpg);
	width:63px;
	height:15px;
	border:none;
	cursor:pointer;
}
#contact_business {
	display: none;
} /* do not remove */
/* Main Contact Form
 * ------------------------------------------------------------------------- */
 
#contact-main {
	padding:20px 0 10px 58px;
	
}
#contact-main label {
	width:220px;
	position:relative;
	display:block;
	text-align:right;
	margin-bottom:10px;
}
#contact-main label input, #contact-main label textarea, #contact-main label select {
	width:200px;
	position:absolute;
	left:110%;
	top:-2px;
}
#contact-main label textarea {
	height:100px;
}
.credit-logo1 {
	clear: both;
	float: left;
	line-height: 10px;
	margin-left: 80px;
}
#testimonials-wrap #testimonials-footer .credit-logo1 p {
	text-align: left;
}
#testimonials-wrap #testimonials-footer .credit-logo1 .logo-txt {
	margin: 0px;
	padding: 0px;
	text-align: center;
}
#testimonials-wrap .logo-txt a {
	position:absolute;
	left: 651px;
	top: 114px;
	width: 121px;
}
.credit-logo2 {
	clear: both;
	float: left;
	line-height: 10px;
	padding: 0px;
	margin-top: 0px;
	margin-right: 80px;
	margin-left:26px;
	text-align: center;
}
.ilasik {
	text-align: left;
	margin-left: 15px;
}
.visian {
	text-align: center;
	margin-left:27px;
	margin-top:10px;
}
.logo-txt1 {
	margin-right: 50px;
	margin-left: 200px;
}
#testimonials-wrap .logo-txt span {
	margin-left: 210px;
	display: block;
	padding: 0px;
}
#testimonials-wrap .logo-txt2 {
	margin-left: 315px;
	margin-top: -25px;
}



#doctor-login {
background:url(../images/doctor-login.jpg) no-repeat;
height:52px;
width:185px;
position:absolute;
bottom:50px;
right:35px;
display:block;
}