/*--------------------- 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-color:#CECFFD;
	text-align:center; 
	font:12px/16px 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:#27509F; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#27509F; text-decoration:none; outline:none; }

/* ----- classes ----- */

.clear {
	clear:both;
	}

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}

p.back-to-top {
	text-align:right;
	display:block;
	}
	
img.img-left { 
	float:left; 
	margin:0 5px 5px 36px; 
	}
	
img.img-right { 
	float:right; 
	margin:0 33px 5px 5px; 
	}

div.bnas { margin:0 33px 20px 36px; text-align:center; }
img.bna { display:block; margin: 5px auto; }
	
/* ----- global form elements ----- */ 

form {
	width:139px;
	margin:0 0 15px 0;
	}

form label	{ font-size:.95em; }

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#FDF1AC !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #000;
	color:#000;
	width:134px; /* 5 pixles smaller than form width !important */
	height:18px;
	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:11px;
	}
	
select { width:139px; 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:177px; }
	
#contact-main label textarea { height:100px; overflow:auto; }

#contact-business-main { display: none; } /* do not remove */ 


/* ----- submit button form elements ----- */ 

input.submit-contact-main { margin:85px 0 5px 243px; }

input.submit, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:50px;
	height:14px;
	border:none;
	cursor:pointer;
	}


/* framework
 * ------------------------------------------------------------------------- */

body#index #wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:760px;
	margin:0 auto;
	text-align:left;
	}

#wrap {
	background:url("../images/bg-wrap-sub.jpg") repeat-y;
	width:760px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:51px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:27px;
		width:305px;
		top:9px;
		height:40px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- index ----- */

#top-section {
	width:760px;
	background:url("../images/bg-top-section.jpg") repeat-y;
	position:relative;
	}
	
	#bg-top-section {
		width:760px;
		background:url("../images/bg-top-couple.jpg") bottom no-repeat;
		padding-bottom:30px;
		}
		
		#top-section p.learn-more {
			position:absolute;
			left:0;
			width:235px;
			height:20px;
			overflow:hidden;
			bottom:-13px;
			}
			
			#bg-top-section p.learn-more a {
				color:#000;
				text-decoration:none;
				}
		
	#top-section #col-content {
		width:550px;
		float:left;
		}
		
		#top-section #col-content-thin {
		width:280px;
		}
		
		#top-section #col-content p, #top-section #col-content h1, #top-section #col-content h2, #top-section #col-content h3, #top-section #col-content ul {
			margin:0 0px 15px 29px;
			}
		
	#top-section #col-contact {
		width:172px;
		float:right;
		margin:20px 0 0 0;
		font-size:11px;
		line-height:14px;
		}
		
		#top-section #col-contact p {
			margin:0 15px 15px 0;
			}
		
#bottom-section {
	width:760px;
	background:url("../images/bg-wrap-bottom-section.jpg") repeat-y;
	position:relative;
	}
	
	#bg-bottom-section {
		width:760px;
		background:url("../images/bg-bottom-section.jpg") bottom no-repeat;
		padding-bottom:30px;
		}
		
		#bottom-section #col-strong {
			width:257px;
			float:left;
			}
			
			#bottom-section #col-strong p, #bottom-section #col-strong h1, #bottom-section #col-strong h2, #bottom-section #col-strong h3, #bottom-section #col-strong ul {
				margin:0 30px 125px 25px;
				}
				
				#bottom-section p.learn-more-strong {
					position:absolute;
					width:105px;
					height:20px;
					bottom:-2px;
					left:155px;
					}
					
					#bottom-section p.learn-more-strong a {
						color:#000;
						text-decoration:none;
						}
			
		#bottom-section #col-restorative {
			width:249px;
			float:left;
			}

			#bottom-section #col-restorative p, #bottom-section #col-restorative h1, #bottom-section #col-restorative h2, #bottom-section #col-restorative h3, #bottom-section #col-restorative ul {
				margin:0 30px 0 25px;
				}
				#bottom-section #col-restorative p.image-space {margin:0 124px 15px 25px;}


				#bottom-section p.learn-more-restorative {
					position:absolute;
					width:85px;
					height:20px;
					bottom:-2px;
					left:275px;
					}
					
					#bottom-section p.learn-more-restorative a {
						color:#000;
						text-decoration:none;
						}
			
		#bottom-section #col-exceptional {
			width:254px;
			float:left;
			}

			#bottom-section #col-exceptional p, #bottom-section #col-exceptional h1, #bottom-section #col-exceptional h2, #bottom-section #col-exceptional h3, #bottom-section #col-exceptional ul {
				margin:0 30px 15px 25px;
				}
				
				#bottom-section p.learn-more-exceptional {
					position:absolute;
					width:200px;
					height:20px;
					bottom:-2px;
					left:530px;
					}
					
					#bottom-section p.learn-more-exceptional a {
						color:#000;
						text-decoration:none;
						}

/* ----- column-left ----- */

#column-left {
	width:546px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 33px 20px 36px;
		}
		
	#column-left .bnas p {margin-bottom:40px;}
	#column-left form { margin-left:30px; }
	
	/* single column list */
	#column-left ul { padding-left:25px; }
		#column-left ul li {
			list-style-type:disc;
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }
			
/* ----- column-right ----- */

#column-right {
	width:214px;
	float:left;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 35px 20px 30px;
		}
	#column-right form { margin-left:30px; }
	 
	/* single column list */
	#column-right ul { padding-left:25px; }
		#column-right ul li { 
			list-style-type:disc;
			}

	#column-right ul li ul { margin:0 0 0 5px; }
	
	#column-right .testimonial {font-style:italic; font-size:1.2em; margin-right:50px;}
/* ----- bottom-wrap ----- */
 
body#index #bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:87px;
	clear:both;
	width:100%; 
	position:relative;
	text-align:center;
	color:#fff;
	}

#bottom-wrap {
	background:url("../images/bottom-wrap-sub.jpg");
	height:87px;
	clear:both;
	width:100%; 
	position:relative;
	text-align:center;
	color:#fff;
	}
	
	#bottom-wrap p {
		position:absolute;
		top:44px;
		left:38px;
		width:668px;
		height:26px;
		line-height:26px;
		overflow:hidden;
		}

	
/* header framework
 * ------------------------------------------------------------------------- */

#header-flash { height:212px; margin-left:9px; } 
#header-graphic { height:212px; } /* sets height for all non-flash headers */

	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	body#drcash #header-graphic { background:url("../images/header-drcash.jpg"); }
	body#cosmetics #header-graphic { background:url("../images/header-cosmetics.jpg"); }
	body#dental #header-graphic { background:url("../images/header-dental.jpg"); }
	body#results #header-graphic { background:url("../images/header-results.jpg"); }
	body#contact #header-graphic { background:url("../images/header-cosmetics.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-cosmetics.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-dental.jpg"); }

/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:77px; } /* sets height for all non-flash subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg") 0 0 no-repeat; }
	body#drcash #subhead { background:url("../images/subhead-drcash.jpg") 0 0 no-repeat; }
	body#cosmetics #subhead { background:url("../images/subhead-cosmetics.jpg") 0 0 no-repeat; }
	body#dental #subhead { background:url("../images/subhead-dental.jpg") 0 0 no-repeat; }
	body#results #subhead { background:url("../images/subhead-results.jpg") 0 0 no-repeat; }
	body#contact #subhead { background:url("../images/subhead-contact.jpg") 0 0 no-repeat; }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg") 0 0 no-repeat; }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg") 0 0 no-repeat; }

/* ------------------------ title framework with varying heights ------------------------- */
#title-qcontact {
	height:65px;
	background:url("../images/title-qcontact.jpg") ;
	}

body#contact #title-qcontact, body#thankyou #title-qcontact {
	height:65px;
	background:url("../images/title-locate.jpg") ;
	}

#title-strong {
	height:43px;
	background:url("../images/title-strong.gif") ;
	}

#title-restorative {
	height:43px;
	background:url("../images/title-restorative.gif") ;
	}

#title-exceptional {
	height:43px;
	background:url("../images/title-exceptional.gif") ;
	}

#title-testimonial {
	height:65px;
	background:url("../images/title-testimonial.jpg") ;
	}


/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:760px;
	margin:0 auto;
	text-align:center;
	}
	
#footer a { color:#000; }

#footer p {
	margin:0 20px 10px 20px;
	}

#footer ul {margin-bottom:10px;}

#footer li { /* if your li's float, you can adjust border height w/ line-height */
	padding:0 5px 0 7px;
	display: inline;
	border-left: 1px solid #000;
	}

	#footer li.first { border: none; }

/* Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:760px; 
	height:47px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:47px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 61px; margin-left: 38px;}
#nav-02 { width: 75px;}
#nav-03 { width: 84px;}
#nav-04 { width: 96px;}
#nav-05 { width: 64px;}
#nav-06 { width: 69px;}


/*-------------- (-79px) X position of button / (-47px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -38px -47px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg")  -99px -47px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -174px -47px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -258px -47px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -354px -47px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -418px -47px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -38px -47px no-repeat; }
body#drcash #nav-02 { background:url("../images/nav.jpg") -99px -47px no-repeat; }
body#cosmetics #nav-03 { background:url("../images/nav.jpg") -174px -47px no-repeat; }
body#dental #nav-04 { background:url("../images/nav.jpg") -258px -47px no-repeat; }
body#results #nav-05 { background:url("../images/nav.jpg") -354px -47px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -418px -47px no-repeat; }
