/*--------------------- 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:#000;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#363534;
	padding-top:50px;
	}

blockquote { margin:0 80px 15px 80px; }

h1	{ font-size:1.2em; color:#8e492e; }
h2	{ font-size:1.1em; color:#8e492e; }
h3	{ font-size:1.0em; color:#8e492e; }

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

h1 a:link, h1 a:visited, h1 a:hover, h1 a:active,
h2 a:link, h2 a:visited, h2 a:hover, h2 a:active,
h3 a:link, h3 a:visited, h3 a:hover, h3 a:active { color:#8e492e; }

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

/* ------------------------ classes ------------------------ */
.clear	{ 
	clear:both;
	}

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

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	}
img.img-api-inside { 
	margin:0px 0px 2px 0px; border:1px solid; border-color:#000000;}
img.img-api { 
	margin:25px 2px 0 0; border:1px solid; border-color:#000000;}

img.img-left { 
	float:left; 
	margin:2px 10px 10px 0px;
	}

img.img-mag {
	float:left;
	margin:0px 10px 15px 45px; 
	}

img.img-right { 
	float:right; 
	margin:5px 0px 10px 10px; 
	}

.img-right-caption {
	float:right; 
	margin:5px 45px 10px 10px; 
	}
.img-right-caption p {
	text-align:center;
	font-size:.85em;
	padding-top:3px;
	}
	
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}
	
.img-api {
	margin-right:10px;
	}
	
#vms-lightwindow-link { display: none; }

/* ------------------------ form elements ------------------------ */
form {
	width:147px;
	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:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:none;
	color:#000;
	width:147px; /* 5 pixles smaller than form width !important */
	height:20px;
	line-height:18px;
	vertical-align: middle;
	margin-bottom:3px; /* 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:40px; 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;
	}

#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:74px;
	height:16px;
	cursor:pointer; 
	padding:0; 
	background:url("../images/btn-submit.jpg");
	}

input.submit-contact-main { margin:80px 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-main.jpg");
	width:74px;
	height:16px;
	border:none;
	cursor:pointer;
	}

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
body#index #wrap {
	background:url("../images/bg-wrap.jpg") right repeat-y;
	width:900px;
	margin:0 auto;
	text-align:left;
	}
	
#wrap {
	background:url("../images/bg-wrap-inside.jpg") repeat-y;
	width:900px;
	margin:0 auto;
	text-align:left;
	}

/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:150px;
	float:left;
	}
	
	#column-left p { color:#fff; }
	
	#column-left img.read-more { margin:0px 12px 10px 7px; }

	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0px 12px 10px 7px;
		}

	#column-left form { margin-left:0px; } /* set form margin here */

	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			padding-left:10px; /* pushes text to the right to display bg img */
			}

	/* definition list */
	#column-left dl { padding-left:5px; }
		#column-left dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-left dl dd {
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
			
	#column-left #img-guy-lewis {
		background:url("../images/img-guy-lewis.jpg");
		height:173px;
		margin-top:10px;
		}
	
	#column-left-api {
	width:245px;
	float:left;
	color:#fff;
	padding:0 0 0 45px;
	}
	
	#column-left-api img.img-api {
		margin: 0 2px 0 0;
		}
/* ------------------------ column-middle framework ------------------------ */
body#index #column-middle {
	width:552px;
	float:left;
	}
	
#column-middle {
	width:702px;
	float:left;
	}
	
	#spacer { height:200px; }
	
	#column-middle img.read-more { margin:0px 45px 15px 20px; }

	body#index #column-middle p, body#index #column-middle h1, body#index #column-middle h2, body#index #column-middle h3, body#index #column-middle ul, body#index #column-middle dl, body#index #column-middle ol {
		margin:0px 45px 15px 20px;
		}
		
	#column-middle p, #column-middle h1, #column-middle h2, #column-middle h3, #column-middle ul, #column-middle dl, #column-middle ol {
		margin:0px 45px 15px 45px;
		}

	#column-middle form { margin-left:45px; } /* set form margin here */

	/* single column list */
	#column-middle ul { padding-left:40px; }
		#column-middle ul li { 
			list-style:square;
			}
			#column-middle ul li ul { padding-left:0; margin-left:20px; }
	
	#column-middle ul.multi { padding-left:15px; } 
		#column-middle 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:195px; /* sets the width of each column */
			line-height:20px;
			margin-right:25px;
			}
	
	#column-middle ol { padding-left:40px; }
		#column-middle ol li { 
			list-style:decimal;
			}

	/* definition list */
	#column-middle dl { padding-left:30px; }
		#column-middle dl dt {
			font-weight:bold;
			color:#6a3c2a;
			}
		#column-middle dl dd {
			margin-left:15px;
			}
			
		#banner-smile-makeover {
			position:relative;
			background:url("../images/banner-smile-makeovers-2.jpg");
			height:202px;
			}
			#banner-smile-makeover a.view-all {
				position:absolute;
				height:19px;
				width:74px;
				left: 231px;
				top: 147px;
				}
		
			#banner-smile-makeover a.gallery-thumb {
				position:absolute;
				height:126px;
				width:193px;
				left: 22px;
				top: 38px;
				}
			
			#banner-smile-makeover a span { display:none; }
				
			#banner-smile-makeover p {
				position:absolute;
				margin:0;
				padding:0;
				height:80px;
				width:290px;
				left: 233px;
				top: 65px;
				}
			#banner-smile-makeover #index-api{
				margin-left:20px;
				}
			#feature-cases {
				margin-left:20px;
				clear:both;
				float:left;
			}
			.first-set {
				padding-right:30px;
				float:left;
			}
				
table#hours {
	margin-left:45px;
	}

body#index #column-middle ul.multi {
	background:url("../images/title-our-procedures.jpg") no-repeat;
	padding-top:52px;
}
	
	
/* ------------------------ column-right framework ------------------------ */

/* launcher button */
#noflash {
	width:198px;
	float:left;
	padding-bottom: 20px;
	}

body#index #column-right {
	width:198px;
	float:left;
	background:url("../images/bg-right-top.jpg") top no-repeat;
	color:#fff;
	padding:96px 0 0 0;
	}
	
#column-right {
	width:198px;
	float:left;
	background:url("../images/bg-right-top-inside.jpg") top no-repeat;
	color:#fff;
	padding:96px 0 0 0;
	}
#column-right-api {
	width:198px;
	float:left;
	background:url("../images/bg-right-top-inside-gallery.jpg") top no-repeat;
	color:#fff;
	padding:96px 0 0 0;
	}

	
body#contact #column-right, body#thankyou #column-right {
	background:url("../images/title-location.jpg") top no-repeat;
	}
	
	#column-right p.hidden { display:none; }
	
	#column-right a { color:#9a9a9a; }

	#column-right p,#column-right-api p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0px 25px 15px 24px;
		}

	#column-right form { margin-left:24px; }

	/* single column list */
	#column-right ul { padding-left:10px; }
		#column-right ul li { 
			list-style:square;
			}

	/* definition list */
	#column-right dl { padding-left:5px; }
		#column-right dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-right dl dd {
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
			
	#column-right span.ph { color:#deb579; }
	
	#gallery-thumb {
		position:relative;
		height:210px;
		}
		#gallery-thumb a {
			position:absolute;
			height:149px;
			width:179px;
			left: 10px;
			top: 33px;
			}

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

	
#header-graphic { 
	position:relative; 
	height:376px; 
	width:750px; 
	background:url("../images/header-graphic-inside.jpg") no-repeat; 
	float:right;
	}
	#header-graphic a {
	position:absolute;
	left:467px;
	width:266px;
	top:24px;
	height:143px;
		}
	#header-graphic a span {
		display:none;
		}
	/*
	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	body#about #header-graphic { background:url("../images/header-about.jpg"); }
	body#contact #header-graphic { background:url("../images/header-contact.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-thankyou.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-sitemap.jpg"); }
	*/

/* ------------------------ subhead framework ------------------------ */
#subhead { height:78px; } /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about-practice #subhead { background:url("../images/subhead-about-practice.jpg"); }
	body#about-team #subhead { background:url("../images/subhead-about-team.jpg"); }
	body#dr-lewis #subhead { background:url("../images/subhead-dr-lewis.jpg"); }
	body#dental-implants #subhead { background:url("../images/subhead-dental-implants.jpg"); }
	body#implant-dentures #subhead { background:url("../images/subhead-implant-dentures.jpg"); }
	body#invisalign #subhead { background:url("../images/subhead-invisalign.jpg"); }
	body#porcelain-veneers #subhead { background:url("../images/subhead-porcelain-veneers.jpg"); }
	body#overview-glewis-veneers #subhead { background:url("../images/subhead-overview-glewis-veneers.jpg"); }
	body#benefits-glewis-veneers #subhead { background:url("../images/subhead-benefits-glewis-veneers.jpg"); }
	body#process-glewis-veneers #subhead { background:url("../images/subhead-process-glewis-veneers.jpg"); }
	body#teeth-whitening #subhead { background:url("../images/subhead-teeth-whitening.jpg"); }
	body#crowns-bridges #subhead { background:url("../images/subhead-crowns-bridges.jpg"); }
	body#bonding-fillings #subhead { background:url("../images/subhead-bonding-fillings.jpg"); }
	body#sedation-dentistry #subhead { background:url("../images/subhead-sedation-dentistry.jpg"); }
	
	body#cosmetic-dentistry #subhead { background:url("../images/subhead-cosmetic-dentistry.jpg"); }
	body#general-dentistry #subhead { background:url("../images/subhead-general-dentistry.jpg"); }
	body#smile-makeover #subhead { background:url("../images/subhead-smile-makeover.jpg"); }
	body#smile-gallery #subhead { background:url("../images/subhead-smile-gallery.jpg"); }
	body#spa #subhead { background:url("../images/subhead-spa-services.jpg"); }
	body#faq #subhead { background:url("../images/subhead-faq.jpg"); }
	body#media #subhead { background:url("../images/subhead-media.jpg"); }
	body#community #subhead { background:url("../images/subhead-community.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"); }


/* ------------------------ title framework with varying heights ------------------------- */
#title-qcontact {
	height:38px;
	background:url("../images/title-qcontact.jpg");
	}


/* ------------------------ bottom-wrap framework ------------------------ */
/* ------------ must have below column-left and column-right to clear the float ------------ */
body#index #bottom-wrap {
	background:url("../images/bottom-wrap.jpg") right bottom no-repeat;
	height:124px;
	margin:0 auto;
	width:900px;
	clear:both;
	position:relative;
	}
	
#bottom-wrap {
	background:url("../images/bottom-wrap-inside.jpg") bottom no-repeat;
	height:149px;
	margin:0 auto;
	width:900px;
	clear:both;
	position:relative;
	}
	
	#bottom-wrap a span { display:none; }
	
	#bottom-wrap a.logo-rockets {
		position:absolute;
		height:82px;
		width:156px;
		left:160px;
		top:24px;
		}
	#bottom-wrap a.logo-astros {
		position:absolute;
		height:100px;
		width:120px;
		left:320px;
		top:10px;
		}
	#bottom-wrap a.logo-2betteryou {
		position:absolute;
		height:86px;
		width:100px;
		left:455px;
		top:19px;
		}
	#bottom-wrap a.logo-aacd {
		position:absolute;
		height:90px;
		width:100px;
		left:580px;
		top:20px;
		}
	#bottom-wrap a.logo-bbb {
		position:absolute;
		height:110px;
		width:75px;
		left:707px;
		top:10px;
		}
	#bottom-wrap a.logo-htd {
		position:absolute;
		height:110px;
		width:70px;
		left:810px;
		top:10px;
	}
	
	#bottom-wrap a.logo-rockets-inside {
		position:absolute;
		height:87px;
		width:175px;
		left:25px;
		top:50px;
		}
	#bottom-wrap a.logo-astros-inside {
		position:absolute;
		height:110px;
		width:125px;
		left: 220px;
		top: 35px;
		}
	#bottom-wrap a.logo-2betteryou-inside {
		position:absolute;
		height:86px;
		width:103px;
		left: 387px;
		top: 45px;
		}
	#bottom-wrap a.logo-aeros-inside {
		position:absolute;
		height:76px;
		width:84px;
		left:466px;
		top:51px;
		}
	#bottom-wrap a.logo-aacd-inside {
		position:absolute;
		height:82px;
		width:89px;
		left:536px;
		top:48px;
		}
	#bottom-wrap a.logo-bbb-inside {
		position:absolute;
		height:110px;
		width:70px;
		left: 673px;
		top: 35px;
		}
	#bottom-wrap a.logo-htd-inside {
		position:absolute;
		height:110px;
		width:70px;
		left:795px;
		top:35px;
		}
/* ------------------------footer framework ------------------------ */
#footer {
	width:900px;
	margin:0 auto;
	text-align:center;
	padding-bottom:40px;
	clear:both;
	}

#footer p {
	color:#fff;
	margin-bottom:10px;
	}

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

#footer ul {margin:10px;}
	#footer li { /* if your li's float, you can adjust border height w/ line-height */
		padding:0 5px 0 7px; /* 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 ------------------------ */
/* ------------------------ vertical sprite nav ------------------------ */
body#index #nav {
	background:url("../images/nav.jpg");					
	width:150px;	/* Width of buttons, not entite image (or half of entire image) */
	height:376px;	 /* Height of entire image */
	padding:0;
	margin:0;
	}
	
#nav li span { display:none; }

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

#nav li, #nav li a { 
	height:20px;	/* Each button must have the same height, define it here */
	display:block;
	width:150px;
	
	}

#nav li#nav-09, #nav li#nav-09 a {
	height:33px;
	display:block;
	}

/* margin-top to set where the nav should begin */
#nav-01 { margin-top:12px; }

#nav-01 a:hover { background:url("../images/nav-inside.jpg") -150px  -12px no-repeat; }
#nav-02 a:hover { background:url("../images/nav-inside.jpg") -150px  -32px no-repeat; }
#nav-03 a:hover { background:url("../images/nav-inside.jpg") -150px  -52px no-repeat; }
#nav-04 a:hover { background:url("../images/nav-inside.jpg") -150px  -72px no-repeat; }
#nav-05 a:hover { background:url("../images/nav-inside.jpg") -150px  -92px no-repeat; }
#nav-06 a:hover { background:url("../images/nav-inside.jpg") -150px  -112px no-repeat; }
#nav-07 a:hover { background:url("../images/nav-inside.jpg") -150px  -132px no-repeat; }
#nav-08 a:hover { background:url("../images/nav-inside.jpg") -150px  -152px no-repeat; }
#nav-09 a:hover { background:url("../images/nav-inside.jpg") -150px  -172px no-repeat; }
#nav-10 a:hover { background:url("../images/nav-inside.jpg") -150px  -205px no-repeat; }
#nav-11 a:hover { background:url("../images/nav-inside.jpg") -150px  -225px no-repeat; }

/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav-inside.jpg") -150px  -12px no-repeat; }
body#about-practice #nav-02 { background:url("../images/nav-inside.jpg") -150px  -32px no-repeat; }
body#about-team #nav-03 { background:url("../images/nav-inside.jpg") -150px  -52px no-repeat; }
body#cosmetic-dentistry #nav-04 { background:url("../images/nav-inside.jpg") -150px  -72px no-repeat; }
body#dental-implants #nav-05 { background:url("../images/nav-inside.jpg") -150px  -92px no-repeat; }
body#sedation-dentistry #nav-06 { background:url("../images/nav-inside.jpg") -150px  -112px no-repeat; }
body#general-dentistry #nav-07 { background:url("../images/nav-inside.jpg") -150px  -132px no-repeat; }
body#smile-makeover #nav-08 { background:url("../images/nav-inside.jpg") -150px  -152px no-repeat; }
body#smile-gallery #nav-09 { background:url("../images/nav-inside.jpg") -150px  -172px no-repeat; }
body#faq #nav-10 { background:url("../images/nav-inside.jpg") -150px  -205px no-repeat; }
body#contact #nav-11 { background:url("../images/nav-inside.jpg") -150px  -225px no-repeat; }

/* ------------------------ vertical sprite nav inside pages ------------------------ */
#nav {
	background:url("../images/nav-inside.jpg");					
	width:150px;	/* Width of buttons, not entite image (or half of entire image) */
	height:376px;	 /* Height of entire image */
	float:left;
	position:relative;
	padding:0;
	margin:0;
	}
	
/* ------------------------ superfish ------------------------ */
#nav li ul {
	position:absolute;
	left:-9999px;
	background-color:#666666;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	margin-left:150px; /* Set to same width as in #nav */
	margin-top:-20px; /* Set to each button height, same as used above */
	z-index:1;
	}

#nav li ul li {
	height:20px; /* Height of each drop down nav item */
	border:1px solid #FFF;
	}

#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:#FFF;
	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-03 ul a:hover, #nav-04 ul a:hover, #nav-05 ul a:hover { 
	background-image:none;
	background-color:#000;
	color:#FFF;
	text-decoration:none;
	}

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

.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu a {
	display:		block;
	position:		relative;
}


/* Icons */

div#icons { position:relative; z-index:999;}

		#icons a.facebook {
	position:absolute;
	width:16px;
	height:16px;
	top:281px;
	left:102px;
		}
		
		#icons a.twitter {
	position:absolute;
	width:16px;
	height:16px;
	top:301px;
	left:102px;
		}
		
		#icons a.youtube {
	position:absolute;
	width:16px;
	height:16px;
	top:281px;
	left:121px;
		}
		
		#icons a.myspace {
	position:absolute;
	width:16px;
	height:16px;
	top:301px;
	left:122px;
		}
