/*--------------------- Last Modified --> 2006.03.25 ---------------------*/
/*-----------------------------------------------------------------------*/


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

/* 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:#000025;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#fff;
	}

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1	{ font-size:1.1em; color:#D9CB93; margin-left:25px; margin-bottom:10px; margin-right:20px; }
h2	{ font-size:1.1em; color:#D9CB93; margin-left:25px; margin-bottom:10px; margin-right:20px;}
h3	{ font-size:1.0em; color:#D9CB93; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#fff; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#D9CB93; text-decoration:none; outline:none; }

/* ----- classes ----- */

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

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	background:url("../images/bullet_backtop.jpg") right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}

img.gallery {
	margin:0px 0px 10px 40px;
	}

img.gallery-sub {
	margin:0px 0px 10px 25px;
	}

img.gallery-sub-sub {
	margin:0px 0px 10px 45px;
	}
/* ----- global form elements ----- */ 

form {
	width:199px;
	margin:10px 0 15px 0;
	}

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

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#D9CB93!important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #D9CB93;
	color:#000;
	width:199px; /* 5 pixles smaller than form width !important */
	height:15px;
	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:1.0em;
	}
	
select { width:150px; padding:0; } /* same width as form - !important */

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

#contact-business { display: none; } /* do not remove */ 


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

#contact-business-main { display: none; } /* do not remove */ 


/* ----- submit button form elements ----- */ 
input.submit, input.submit-contact-main {	
	width:47px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:85px 0 0 243px; }

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/submit-btn.jpg");
	width:47px;
	height:20px;
	border:none;
	cursor:pointer;
	}


/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:777px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background: url("../images/masthead.jpg");
	height:93px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:12px;
		width:525px;
		top:11px;
		height:75px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- column-left ----- */

#column-left {
	width:534px;
	float:left;
	}
	
	#column-left p {
		color:#fff;
		margin:0 30px 20px 25px;
		}

	#column-left .gold-test {
	color:#D9CB93;
	}


/* single column list */
	#column-left ul { padding:0px 0px 20px 20px; list-style:circle; margin-left:20px;}
		
		#column-left ul li { 
			background:0px 6px no-repeat;
			padding-left:10px; /* pushes text to the right to display bg img */
			}
		

	#cosmetic-dentistry { 
	background:url("../images/cosmetic-denistry.jpg");
	width:483px;
	height:265px;
	margin:70px 0px 40px 20px;
	}
	#cosmetic-dentistry a {	
		position:absolute;
		margin:208px 0px 0px 28px;
		width:149px;
		height:24px; 
		}
	#cosmetic-dentistry a span {
		display:none;
		}
	
	
	#technology { 
	background:url("../images/index-technology.jpg");
	width:350px;
	height:54px;
	margin-bottom:10px;
	}
		
	#sedation { 
	background:url("../images/index-sedation.jpg");
	width:482px;
	height:183px;
	margin-left:20px;
	margin-top:90px;
	margin-bottom:40px;
	}
	#sedation a {	
		position:absolute;
		margin:146px 0px 0px 275px;
		width:151px;
		height:26px; 
		}
	#sedation a span {
		display:none;
		}

			
/* ----- column-right ----- */

#column-right {
	width:243px;
	float:left;
	}

	#column-right p {
		color:#D9CB93;
		margin:0 30px 10px 25px;
		}
	#column-right form { margin-left:21px; }
	
	/* single column list */
	#column-right ul { padding:0px 0px 20px 20px; list-style:circle; margin-left:20px;}
		
		#column-right ul li { 
			background: 0px 6px no-repeat;
			padding-left:10px; /* pushes text to the right to display bg img */
			color:#D9CB93;
			}
	
	
	
	#award { 
	background:url("../images/award.jpg");
	height:267px;
	}
	#award a {	
		position:absolute;
		margin:88px 0px 0px 40px;
		width:109px;
		height:79px; 
		}
	#award a span {
		display:none;
		}
	
	
	
	#contact-us { 
	background:url("../images/contact-us.jpg");
	height:86px;
	} 
	
	
	#ptt { 
	width:224px;
	height:121px;
	margin-bottom:30px;
	} 
	#ptt a span {
		display:none;
		}
		
		
	#smile-gallery { 
	background:url("../images/smile-gallery.jpg");
	width:183px;
	height:59px;
	margin-top:40px;
	margin-bottom:10px;
	}
	.bna {
	margin-top:30px;
	margin-bottom:40px;
	}
	
	
/* ----- bottom-wrap ----- */

 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:27px;
	margin-bottom:10px;
	clear:both;
	width:100%; /* fix for Safar */
	}

	
/* header framework
 * ------------------------------------------------------------------------- */

#header-flash { color:#000025; height:246px;  } /* sets height for the flash header - REMOVE IF NOT USED */
	
/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:94px; } /* sets height for all subheads */

	body#index #subhead { background:url("../images/subhead-welcome.jpg"); }
	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#cosmetic-head #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#sedation-head #subhead { background:url("../images/subhead-sedation.jpg"); }
	body#technology-head #subhead { background:url("../images/subhead-technology.jpg"); }
	body#gallery #subhead { background:url("../images/subhead-gallery.jpg"); }
	body#awards #subhead { background:url("../images/subhead-awards.jpg"); }
	
	body#dentists #subhead { background:url("../images/subhead-dentists.jpg"); }
	body#testimonials #subhead { background:url("../images/subhead-testimonials.jpg"); }
	body#porcelain-veneers #subhead { background:url("../images/subhead-porcelain-veneers.jpg"); }
	body#teeth-whitening #subhead { background:url("../images/subhead-teeth-whitening.jpg"); }
	body#dental-implants #subhead { background:url("../images/subhead-dental-implants.jpg"); }
	body#other-procedures #subhead { background:url("../images/subhead-other-procedures.jpg"); }


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

#footer p {
	color:#D9CB93;
	margin:0px 40px 10px 40px;
	}

#footer a:link, #footer a:visited { color:#fff; }

#footer a:hover, #footer a:active { color:#D9CB93; }

#footer ul {margin-top:10px; margin-bottom:5px;}

#footer li { /* if your li's float, you can adjust border height w/ line-height */
	color:#fff;
	padding:0px 5px 0 7px;
	display: inline;
	border-left: 1px solid #fff;
	}

	#footer li.first { border: none; }
	


/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:779px; 
	height:27px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:27px; display:block; } /* change height here also */

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

#nav-01 { width: 69px; margin-left:0px; }
#nav-02 { width: 70px; margin-left:2px; }
#nav-03 { width: 84px; margin-left:2px; }
#nav-04 { width: 61px; margin-left:2px; }
#nav-05 { width: 69px; margin-left:2px; }
#nav-06 { width: 66px; margin-left:2px; }
#nav-07 { width: 84px; margin-left:2px; }
#nav-08 { width: 64px; margin-left:3px; }
#nav-09 { width: 88px; margin-left:3px; }
#nav-10 { width: 103px; margin-left:3px; }


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -0px -27px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -71px -27px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -143px -27px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -229px -27px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -292px -27px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -363px -27px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -431px -27px no-repeat; }
#nav-08 a:hover { background:url("../images/nav.jpg") -518px -27px no-repeat; }
#nav-09 a:hover { background:url("../images/nav.jpg") -585px -27px no-repeat; }
#nav-10 a:hover { background:url("../images/nav.jpg") -676px -27px no-repeat; }


#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px;			/* Fixes one px spacing for border-right in FF */
	background-color:#513500;	/* 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 #ccc;
	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:1.0em;
	color:#FFFFFF;
	text-decoration:none;
	}

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

/* Hover styles for drop down items */
#nav-05 ul a:hover { 
	background-image:none;
	background-color:#6A4601;
	color:#FFFFFF;
	text-decoration:none;
	}

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



