/*--------------------- 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:#2b2824 url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/15px Arial, Helvetica, sans-serif; 
	color:#392d2d;
	}

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

h1	{ font-size:1.1em; color:#392d2d; }
h2, h3	{ font-size:1.0em; color:#392d2d; }

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

a:link,a:visited	{ color:#392d2d; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#392d2d; 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;
	}

p.read-more {
	background:url("../images/bullet-click.jpg") 415px no-repeat;
	text-align:right;
	display:block;
	}
	
	p.read-more a { text-decoration:none; }
	
p.text-copyright {
	color:#c2b3b1;
	}
	
	p.text-copyright a {
		color:#e4d8d7;
		}
			
img.img-left { 
	float:left; 
	margin:-5px 0 0 0; 
	}
	
img.img-right { 
	float:right; 
	margin:0; 
	}

img.img-right-periolase { 
	float:right; 
	margin:-30px 0 0 0; 
	}

img.bna {
margin-left:15px;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}
	
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
	
/* ----- global form elements ----- */ 

form {
	width:244px;
	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:#FFF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #fff;
	color:#414141;
	width:239px; /* 5 pixels 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:244px; 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:0 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, input.submit-contact-main { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

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

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

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:859px;
	margin:0 auto;
	text-align:left;
	}
	
#bg-bottom {
	background:url("../images/bottom-wrap.jpg") bottom no-repeat;
	width:859px;
	padding-bottom:72px;
	}
	
#masthead {
	position:relative; 
	background:url("../images/masthead.jpg");
	height:350px;
	}
	/* index page link within #masthead */		
	#masthead a.link-logo {	
		position:absolute;
		left:46px;
		width:169px;
		top:21px;
		height:73px; 
		}

	#masthead a.link-home {	
		position:absolute;
		left:556px;
		width:81px;
		top:0px;
		height:31px; 
		}

	#masthead a.link-about {	
		position:absolute;
		left:637px;
		width:98px;
		top:0px;
		height:31px; 
		}

	#masthead a.link-contact {	
		position:absolute;
		left:735px;
		width:113px;
		top:0px;
		height:31px; 
		}

	#masthead a span {
		display:none;
		}

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

#column-left {
	background:url("../images/bg-left.jpg") no-repeat;
	width:581px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 15px 18px 35px;
		}
		
	#column-left form { margin-left:20px; }
	
	/* single column list */
	#column-left ul { padding-left:15px; }
		#column-left ul li {
			list-style-type:disc; 
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }

	/* definition list */
	#column-left dl { padding-left:15px; }
		#column-left dl dt {
			font-weight:bold;
			}
		#column-left dl dd {
			list-style-type:disc;
			margin-left:5px;
			}
			
	.btn-smile-gallery {
	margin-left:35px;
	}
			
/* ----- column-right ----- */

#column-right-top {
	background:url("../images/right-gradient.jpg") top no-repeat;
	height: 332px;
}

#column-right {
	background:url("../images/bg-right.jpg") top no-repeat;
	width:278px;
	float:left;
	color:#fff;
	}
	
#column-right a:link,#column-right a:visited	{ color:#fff; text-decoration:underline; outline:none; }
#column-right a:hover,#column-right a:active	{ color:#fff; text-decoration:none; outline:none; }

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 17px 18px 19px;
		}
	#column-right form { margin-left:17px; }
	 
	/* single column list */
	#column-right ul { padding-left:15px; }
		#column-right ul li {
			list-style-type:disc; 
			}

	#column-right ul li ul { margin:0 0 0 5px; }

	/* definition list */
	#column-right dl { padding-left:15px; }
		#column-right dl dt {
			font-weight:bold;
			}
		#column-right dl dd {
			list-style-type:disc;
			margin-left:5px;
			}
	
/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:116px; } /* sets height for all non-flash subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg") no-repeat; }
	body#about #subhead { background:url("../images/subhead-about.jpg") no-repeat; }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg") no-repeat; }
	body#gallery #subhead { background:url("../images/subhead-gallery.jpg") no-repeat; }
	body#general #subhead { background:url("../images/subhead-general.jpg"); no-repeat }
	body#implants #subhead { background:url("../images/subhead-implants.jpg") no-repeat; }
	body#lasers #subhead { background:url("../images/subhead-lasers.jpg") no-repeat; }
	body#porcelain-veneers #subhead { background:url("../images/subhead-porcelain.jpg") no-repeat; }
	body#sedation #subhead { background:url("../images/subhead-sedation.jpg") no-repeat; }
	body#technology #subhead { background:url("../images/subhead-technology.jpg") no-repeat; }
	body#contact #subhead { background:url("../images/subhead-contact.jpg") no-repeat; }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg") no-repeat; }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg") no-repeat; }


/* ------------------------ subhead framework with varying heights ------------------------ */
#title-technology {
	height:93px;
	background:url("../images/title-technology.jpg") no-repeat ;
	}
	#title-technology h2 { display:none; }

#title-meet {
	height:112px;
	background:url("../images/title-meet.jpg") no-repeat ;
	}
	#title-meet h2 { display:none; }

#title-ftrd-procedures {
	height:57px;
	background:url("../images/title-procedures.jpg") no-repeat;
	}

h2#view-gallery { display:none; }

#title-gallery {
height:97px;
background:url("../images/title-gallery.jpg") no-repeat;
}

#btn-vms {
	width:278px;
	height:235px;
	background:url(../images/btn-vms.jpg) no-repeat;
	position:relative;
	}
	#btn-vms a {
		display:block;
		width:187px;
		height:143px;
		position:absolute;
		top:75px;
		left:45px;
	}

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

/* ------------------------------------- Buttons ---------------------------------------- */
#btn-cosmetic {
		height:133px;
		display:block;
		background:url("../images/btn-cosmetic.jpg") no-repeat;	
		}
		#btn-cosmetic span { display:none; }

#btn-sedation {
		height:136px;
		display:block;
		background:url("../images/btn-sedation.jpg") no-repeat;	
		}
		#btn-sedation span { display:none; }

#btn-sedation2 {
		height:136px;
		display:block;
		background:url("../images/btn-sedation-2.jpg") no-repeat;	
		}
		#btn-sedation2 span { display:none; }

#btn-ctc {
		height:92px;
		display:block;
		background:url("../images/btn-ctc.gif") no-repeat;	
		}
		#btn-ctc span { display:none; }

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:859px;
	margin:0 auto;
	text-align:center;
	color:#c2b3b1;
	}
	
#footer ul li a { color:#fff; }
#footer a { color:#e4d8d7; }

#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 #fff;
	}

	#footer li.first { border: none; }
	
#footer a:link, #footer a:visited	{ text-decoration:none; }
#footer a:hover, #footer a:active	{ text-decoration:underline; }


/* Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

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

#nav span { display: none; }

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

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

#nav-01 { width: 108px;}
#nav-02 { width: 103px;}
#nav-03 { width: 101px;}
#nav-04 { width: 122px;}
#nav-05 { width: 98px;}
#nav-06 { width: 78px;}
#nav-07 { width: 107px;}
#nav-08 { width: 142px;}


/*-------------- (-79px) X position of button / (-48px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg") 0px -48px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -108px -48px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -211px -48px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -312px -48px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -434px -48px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -532px -48px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -610px -48px no-repeat; }
#nav-08 a:hover { background:url("../images/nav.jpg") -717px -48px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#cosmetic-dentistry #nav-01 a:hover { background:url("../images/nav.jpg") 0px -48px no-repeat; }
body#porcelain-veneers #nav-02 a:hover { background:url("../images/nav.jpg") -108px -48px no-repeat; }
body#sedation-dentistry #nav-03 a:hover { background:url("../images/nav.jpg") -211px -48px no-repeat; }
body#technology #nav-04 a:hover { background:url("../images/nav.jpg") -312px -48px no-repeat; }
body#general-dentistry #nav-05 a:hover { background:url("../images/nav.jpg") -434px -48px no-repeat; }
body#dental-lasers #nav-06 a:hover { background:url("../images/nav.jpg") -532px -48px no-repeat; }
body#crowns-implants #nav-07 a:hover { background:url("../images/nav.jpg") -610px -48px no-repeat; }
body#gallery-testimonials #nav-08 a:hover { background:url("../images/nav.jpg") -717px -48px no-repeat; }


