/*--------------------- 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:#101d28 url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#0a172c;
	}

blockquote { margin-left:10px; margin-right:10px; }

h1	{ font-size:1.2em; color:#0a172c; }
h2	{ font-size:1.1em; color:#293b5c; }
h3	{ font-size:1.0em; color:#666262; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#4583b9; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#293b5c; text-decoration:underline; outline:none; }

/* ------------------------ classes ------------------------ */
.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;
	background:url("../images/btn-back-to-top.jpg") right no-repeat;
	position: relative;
	height:25px;
	}
p.back-to-top a {
	position: absolute;
	top: 0px;
	height:25px;
	left: 350px;
	width: 77px;
	}
p.more-info {
	text-align:right;
	display:block;
	}

img.img-left {
	float:left;
	margin:0px 5px 0px 0px;
	}

img.img-right { 
	float:right; 
	margin:0px 0px 0px 0px; 
	}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}
	
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
	


/* ------------------------ 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:#e4eaee !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #92acbc;
	color:#01070a;
	width:202px; /* 5 pixles smaller than form width !important */
	height:23px;
	line-height:25px;
	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:"Trebuchet MS", Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}

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;
	line-height: 23px;
	}

#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:95px 0 0 243px; } /* defines placement of contact-main submit button */

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:68px;
	height:25px;
	border:none;
	cursor:pointer;
	}

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:729px;
	margin:0 auto;
	text-align:left;
	margin-top: 12px;
	}

#wrap-img {
	background:url("../images/bottom-img.jpg") bottom no-repeat;
	width:729px;
	margin:0 auto;
	text-align:left;
	padding-bottom: 100px;
	}
/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:105px;
	}
	/* index page link within #masthead */		
	#masthead a {
	position:absolute;
	left:10px;
	width:422px;
	top:20px;
	height:75px;
		}
	#masthead a span {
		display:none;
		}

/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:245px;
	float:left;
	margin-left: 14px;
	display: inline;
	}

	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
	margin:0px 23px 10px 16px;
		}

	#column-left form { padding-left:16px; } /* set form margin here */

	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul 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 */
			}


/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:456px;
	float:left;
	margin-right: 14px;
	display: inline;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0px 16px 10px 14px;
		}
	body#contact #column-right h1 {margin:0px;}
	
	#column-right form { margin-left:15px; }

	/* single column list */
	#column-right ul { padding-left:10px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 5px 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-bottom:3px;
			}

/* indent column list */
#column-right ul.indent { padding-left:5px; }
#column-right ul li.indent { 
			background:transparent url("../images/bullet-indent.jpg") 15px 5px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */ /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:25px; /* pushes text to the right to display bg img */
			
			
			}
			
	/* multi column list */
	#column-right ul.multi { padding-left:5px; } 
		#column-right 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:5px;  /* pushes text to the right to display bg img */
			float:left;
			width:150px;
			line-height:20px; 
			}

	/* definition list */
	#column-right dl { padding-left:5px; }
		#column-right dl dt {
			font-weight:bold;
			color:#92acbc;
			}
		#column-right 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;
			}

/* ------------------------ header framework ------------------------ */
#header-graphic { height:288px; 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#aids #header-graphic { background:url("../images/header-sitemap.jpg"); }
	body#loss #header-graphic { background:url("../images/header-sitemap.jpg"); }
	body#devices #header-graphic { background:url("../images/header-sitemap.jpg"); }
	body#contact #header-graphic { background:url("../images/header-contact.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-thankyou.jpg"); }
*/

/* ------------------------ subhead framework ------------------------ */
#subhead { height:68px; } /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#aids #subhead { background:url("../images/subhead-aids.jpg"); }
	body#loss #subhead { background:url("../images/subhead-loss.jpg"); }
	body#devices #subhead { background:url("../images/subhead-devices.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }

/* ------------------------ subhead framework with varying heights ------------------------ */
#do-i-qualify {
	height:138px;
	background:url("../images/do-i-qualify.jpg");
	position: relative;
	}
	#do-i-qualify a {
	position: absolute;
	top: 82px;
	left: 473px;
	height:30px;
	width: 104px;
		}
	#do-i-qualify a span {display: none;}
/* ------------------------ title framework with varying heights ------------------------- */
#address-left {
	background:url("../images/address-left-bg.jpg") top no-repeat;
	height: 184px;
	}
	#column-right #address-left p {
		margin-right: 40px;
		}

#we-offer {
	height:215px;
	background:url("../images/we-offer.jpg") ;
	}
	
#talk-to-you {
	height: 72px;
	background: url("../images/talk-to-you.jpg");
	}
	
#title-debra {
	height: 85px;
	background: url("../images/title-debra.jpg");
	}
h2#practice-name {
	height: 82px;
	background: url("../images/practice-name.jpg");
	margin: 0px;
	}
	


/* ------------------------------------- Buttons ---------------------------------------- */
#click-to-call {
		height:149px;
		display:block;
		background:url("../images/click-to-call.jpg") no-repeat;	
		position: relative;
		}
		#click-to-call a {
			position: absolute;
			top: 0px;
			left: 0px;
			width: 245px;
			height: 149px;
			}
		#click-to-call a:hover {
				background:url("../images/click-to-call.jpg") -245px 0 no-repeat; /* -100px = horizontal img shift, 0px = vertical shift from top */
				}
		#click-to-call span { display:none; }

#btn-trip {
		height:149px;
		display:block;
		background:url("../images/btn-trip.jpg") no-repeat;	
		position: relative;
		}
		#btn-trip a {
			position: absolute;
			top: 0px;
			left: 0px;
			width: 245px;
			height: 149px;
			}
		#btn-trip a:hover {
				background:url("../images/btn-trip.jpg") -245px 0 no-repeat; /* -100px = horizontal img shift, 0px = vertical shift from top */
				}
		#btn-trip span { display:none; }


/* ------------------------footer framework ------------------------ */
#footer {
	width:729px;
	margin:0 auto;
	text-align:center;
	padding-top: 15px;
	}

#footer p {
	color:#6291cc;
	margin-bottom:10px;
	}
#footer span.doc-name, #footer p.copy {
	color:#fff;
	}
 #footer p.copy a:link,  #footer p.copy a:visited { color:#6291cc; }
 #footer p.copy a:hover, #footer p.copy a:active { color:#6291cc; text-decoration: none; }

#footer a:link, #footer a:visited { color:#fff; }
#footer a:hover, #footer a:active { color:#fff; 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 8px 0 15px; /* adjusts the spacing between each li display and border-left */
		display: inline;
		border-left: 1px solid #fff;
		}
	#footer li.first { border: none; }

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */
/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:729px; 
	height:41px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:41px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 84px; margin-left: 14px;}
#nav-02 { width: 97px;}
#nav-03 { width: 118px;}
#nav-04 { width: 118px;}
#nav-05 { width: 173px;}
#nav-06 { width: 111px;}


/*-------------- (-79px) X position of button / (-41px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -14px -41px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -98px -41px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -195px -41px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -313px -41px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -431px -41px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -604px -41px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -14px -41px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -98px -41px no-repeat; }
body#aids #nav-03 { background:url("../images/nav.jpg") -195px -41px no-repeat; }
body#loss #nav-04 { background:url("../images/nav.jpg") -313px -41px no-repeat; }
body#devices #nav-05 { background:url("../images/nav.jpg") -431px -41px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -604px -41px no-repeat; }
