/* 
 ----------------------------------------------------------------------------
  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 */
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-color: #898B97;
	text-align:center; 
	font:12px/18px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#FFF; 
	}

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:1.2em; color:#fff; }
h2	{ font-size:1.1em; color:#fff; }
h3	{ font-size:1.0em; color:#fff; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#fff; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#fff; text-decoration:none; outline:none; }


/* ----- classes ----- */

div.clear	{ 
	clear:both;
	width:100%;
	height:.01em; 
	overflow:hidden; 
	}

p.top {
	text-align:right;
	display:block;
	} 
	
img.img-left { 
	float:left; 
	margin:5px 5px 5px 0; 
	}
	
img.img-right { 
	float: right; 
	margin: 5px 0 10px 10px; 
	}

	
/* ----- global form elements ----- */ 

form {
	width:150px;
	padding:0 0 15px 31px;
	}

form label	{ font-size:.95em; }

form br { 
	line-height:0; /* defaults vertical spacing between fields */
	}  

input, textarea, select { 
	background-color:#fff; /* to prevent highlighting by Google Toolbar */
	border:1px solid #3A7897;
	color:#464763;
	width:145px; /* 5 pixles smaller than form width !important */
	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:11px;
	}
	
select { 
	width:150px; /* same width as form !important */
	padding:0;
	}

textarea { 
	height:90px; 
	overflow:auto; 
	}
	
input.submit, input.submit-contact-main { 
	width:60px; 
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { 
	margin:85px 0 0 242px; 
	background:url("../images/btn-submit.jpg");
	width:59px;
	height:16px;
	border:none;
	cursor:pointer;
	}

input.submit-image { 
	background:url("../images/btn-submit.jpg");
	width:59px;
	height:16px;
	border:none;
	cursor:pointer;
	}

#contact_business { display: none; } /* do not remove */ 
  


/* ----- main contact form ----- */ 
 
#contact-main { 
	padding:0 0 10px 32px; 
	}
	
#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:200px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select {
	width:205px;
	}
	
#contact-main label textarea { height:100px; }



/* framework
 * ------------------------------------------------------------------------- */

#wrap { 
	background:url("../images/bg-wrap.jpg") repeat-y; 
	width:750px; 
	margin:0 auto; 
	text-align:left; 
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:109px;
	}

	#masthead span { display:none; }
		
#header-index {
	background:url("../images/header-index.jpg");
	height:253px;
	}
	#header-index span { display:none; }

#header-hearing-loss {
	background: url("../images/header-hearing-loss.jpg");
	height:253px;
	}
	#header-hearing-loss span { display:none; }

#header-test {
	background:url("../images/header-test.jpg");
	height:253px;
	}
	#header-test span { display:none; }

#header-service-technology {
	background:url("../images/header-service-technology.jpg");
	height:253px;
	}
	#header-service-technology span { display:none; }

#header-about{
	background: url("../images/header-about.jpg");
	height:253px;
	}
	#header-about span { display:none; }
	
#header-contact {
	background: url("../images/header-contact.jpg");
	height:253px;
	}
	#header-contact span { display:none; }

#header-sitemap {
	background: url("../images/header-sitemap.jpg");
	height:253px;
	}
	#header-sitemap span { display:none; }

#wrap-gradient {
	background: url("../images/bg-wrap-gradient.jpg") top left no-repeat;
	float: left;
	} 

#column-left { 
	width:256px; 
	float:left; 
	}
	#column-left .title { 
		background: url("../images/title-welcome.jpg");
		height: 85px;
		}
		.title span {display: none; }
	
	#column-left p, #column-left h2, #column-left h3 {
		margin: 0 25px 20px 32px;
		}
		#title-about-doctor-index{
		background: url("../images/title-about-doctor-index.gif") no-repeat;
		height: 50px;
		}
		#title-about-doctor-index span{display:none;}

#column-middle { 
	width:249px; 
	float:left; 
	}
	
	#column-middle .title { 
		background: url("../images/title-hearing.jpg");
		height: 85px;
		}
	#column-middle p, #column-middle h2, #column-middle h3 {
		margin: 0 27px 20px 29px;
		}
  
#column-right { 
	width:245px; 
	float:left;
	font:11px/16px "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #3A7897; 
	}
	
	#column-right p {
		margin: 0 41px 20px 31px;
		}

	.img-appointments { 
		background:  url("../images/img-appointments.jpg");
		height: 26px;
		}
	.title-location {
		background: url("../images/title-our-location.gif");
		height: 64px;
		}
	.title-contact {
		background: url("../images/title-contact.gif");
		height: 36px;
		}
	.title-testimonials {
		background: url("../images/title-testimonials.gif");
		height: 36px;
		}		
		.img-appointments span, .title-location span, .title-contact span, .title-testimonials span {display: none; }
	p.content-testimonials {
		font-style: italic;
		width: 170px;
		}
#column-right a:link, #column-right a:visited	{ color:#3A7897; text-decoration:underline; }
#column-right a:hover, #column-right a:active	{ color:#3A7897; text-decoration:none; }
	
/* background image list items */
#column-middle ul { 
	margin-left:29px; 
	} 

#column-middle ul li { 
	background:transparent url("../images/bullet.gif") 0px 4px no-repeat;
	padding-left:15px;
	line-height: 18px; 
	}
 
#bottom-wrap { 
	background:url("../images/bottom-wrap.gif"); 
	height:67px; 
	clear:both; 
	overflow:hidden; 
	width: 100%;
	}

#sub-column-left ul { 
	margin-left:32px; 
	} 

#sub-column-left ul li { 
	background:transparent url("../images/bullet.gif") 0px 4px no-repeat;
	padding-left:15px;
	line-height: 18px; 
	}


/* inside framework
 * ------------------------------------------------------------------------- */

#sub-wrap { 
	background:url("../images/bg-sub-wrap.jpg") repeat-y; 
	width:750px; 
	margin:0 auto; 
	text-align:left; 
	}

#sub-wrap-gradient {
	background: url("../images/bg-sub-wrap-gradient.jpg") top left no-repeat;
	float: left;
	} 

#sub-column-left { 
	width:505px; 
	float:left; 
	}
	
body#thankyou #sub-column-left { 
	height:400px; 
	}
	
	#sub-column-left .title { 
		background: url("../images/title-welcome.jpg");
		height: 85px;
		}
		.title span {display: none; }
	
	#sub-column-left p, #sub-column-left h1, #sub-column-left h2, #sub-column-left h3 {
		margin: 0 25px 20px 32px;
		}

#sub-column-left .title {
	height: 85px;
	}
	#sub-column-left .title span { display: none; }
	
body#hearing-loss .title {
	background: url("../images/title-hearing-loss.jpg");
	}
	
body#hearing-tests .title {
	background: url("../images/title-hearing-tests.jpg");
	}

body#hearing-aid .title {
	background: url("../images/title-hearing-aid.jpg");
	}

body#about .title {
	background: url("../images/title-about.jpg");
	}

body#contact .title {
	background: url("../images/title-contact-us.jpg");
	}

body#sitemap .title {
	background: url("../images/title-sitemap.jpg");
	}

body#thankyou .title {
	background: url("../images/title-thankyou.jpg");
	}



/* footer
 * ------------------------------------------------------------------------- */
 
#footer { 
	width:750px; 
	margin:10px auto; 
	text-align:center; 
	line-height: 18px;
	}

#footer p {
	color:#fff;
	}

#footer a:link, #footer a:visited {
	color:#fff;
	text-decoration: none;
	}

#footer a:hover, #footer a:active {
	color:#fff;
	text-decoration: underline;
	}

#footer li { /* if your li's float, you can adjust border height w/ line-height */
	padding: 0 8px 0 8px;
	display: inline;
	border-left: 1px solid #fff;
	}

	#footer li.first { border: none; }
	
/* Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background: url("../images/nav.gif") no-repeat; 
	width:750px; 
	height:37px; 
	margin-bottom:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height: 37px; display: block; }

#nav li { float: left; list-style: none; display: inline; position:relative; }

#nav-01 { width: 46px; margin-left: 33px;}
#nav-02 { width: 82px; margin-left: 2px;}
#nav-03 { width: 157px; margin-left: 2px;}
#nav-04 { width: 194px; margin-left: 2px;}
#nav-05 { width: 64px; margin-left: 2px;}
#nav-06 { width: 129px; margin-left: 2px;}

#nav-01 a:hover {background:url("../images/nav.gif") -33px -37px no-repeat;}
#nav-02 a:hover {background:url("../images/nav.gif") -81px -37px no-repeat;}
#nav-03 a:hover {background:url("../images/nav.gif") -165px -37px no-repeat;}
#nav-04 a:hover {background:url("../images/nav.gif") -324px -37px no-repeat;}
#nav-05 a:hover {background:url("../images/nav.gif") -520px -37px no-repeat;}
#nav-06 a:hover {background:url("../images/nav.gif") -586px -37px no-repeat;}


/* Son of Suckerfish: Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav li ul {
	position: absolute;
	left: -9999px;
	background-color: #fff;	/* 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:1px solid #A6A6BB;
	border-top:none;
	}	

#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: 11px;
	color: #494A66;
	text-decoration: none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav-02 ul a:hover, #nav-04 ul a:hover{ 
	background-image: none;
	background-color: #83849C; 
	color: #fff;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-02 ul, #nav-02 li { width: 117px; }
#nav-04 ul, #nav-04 li { width: 194px; }		
