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

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

h1	{ font-size:14px; color:#FFEABF; }
h2	{ font-size:12px; color:#FFEABF; }
h3	{ font-size:12px; color:#DCDCDC; }

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

a:link,a:visited	{ color:#FFEABF; font-weight:bold; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#FFEABF; font-weight:bold; text-decoration:underline; outline:none; }

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

.clear {
	clear:both;
	}

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

p.back-to-top {
	text-align:right;
	display:block;
	background:url("../images/bullet-back-to-top.jpg") right no-repeat;
	padding-right:20px;
	}

p.learn-more {
	text-align:right;
	display:block;
	text-transform:uppercase;
	}
	
	p.learn-more a {
		background:url("../images/bullet-learn.jpg") 0 4px no-repeat;
		padding-left:15px;
		}
		
p.thumbs { text-align:center; margin:0 auto; }
p.signature { text-align:right; color:#FFEABF; font-weight:bold; }

img.img-left { 
	float:left; 
	margin:0; 
	}
	
img.img-right { 
	float:right; 
	margin:0; 
	}

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

form {
	width:194px;
	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:#D3C19A !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #404040;
	color:#000;
	width:189px; /* 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:194px; 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:190px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:.90em;
	}
	
#contact-main label input, #contact-main label textarea, #contact-main label select { 
	width:170px;
	position:absolute; 
	left:105%; 
	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 200px; }

/* framework
 * ------------------------------------------------------------------------- */
#bg-wrap {
	background:url("../images/bg-wrap-center.jpg") center top no-repeat;
	width:100%;
	}

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:784px;
	margin:0 auto;
	text-align:left;
	}
	
	#bg-wrap-bottom { width:784px; }
		body#index #bg-wrap-bottom, 
		body#pain-relief #bg-wrap-bottom, 
		body#testimonials #bg-wrap-bottom { background:url("../images/bg-right-bottom-01.jpg") right bottom no-repeat; }
		
		body#about #bg-wrap-bottom, 
		body#veneers #bg-wrap-bottom, 
		body#patient-info #bg-wrap-bottom { background:url("../images/bg-right-bottom-02.jpg") right bottom no-repeat; }
		
		body#restorative #bg-wrap-bottom, 
		body#invisalign #bg-wrap-bottom, 
		body#contact #bg-wrap-bottom,
		body#thankyou #bg-wrap-bottom { background:url("../images/bg-right-bottom-03.jpg") right bottom no-repeat; }
		
		body#cosmetic #bg-wrap-bottom, 
		body#gallery #bg-wrap-bottom, 
		body#sitemap #bg-wrap-bottom { background:url("../images/bg-right-bottom-04.jpg") right bottom no-repeat; }
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:118px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:37px;
		width:233px;
		top:27px;
		height:51px; 
		}
	#masthead a span {
		display:none;
		}

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

#column-left {
	width:270px;
	float:left;
	padding-bottom:400px;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 25px 20px 51px;
		}
	#column-left form { margin-left:52px; }
	
	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px; /* pushes text to the right to display bg img */
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }
	
	#column-left a { color:#DCDCDC; }
	
	#column-left .practice-info { color:#FFEABF; }
	
.bg-bottom-left {
	background:url("../images/bg-bottom-col-left.jpg");
	width:270px;
	height:88px;
	margin-top:-39px;
	}
	
#logos {
	background:url("../images/logos.jpg");
	height:460px;
	}
#featured { width:270px; }
	#featured img { margin:20px 0 0 40px;}
		body#veneers #featured img { margin:20px 0 20px 40px; }
	#featured-case { height:98px; background:url("../images/featured-case.jpg") no-repeat; }
	#featured-logos { height:500px; background:url("../images/featured-logos.jpg") no-repeat; }
			
/* ----- column-right ----- */

#column-right {
	width:514px;
	float:left;
	padding-bottom:200px;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 68px 20px 64px;
		}
	#column-right form { margin-left:60px; }
	 
	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			}

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

	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:72px;
	clear:both;
	width:784px;
	margin:0 auto; 
	}

	
/* header framework
 * ------------------------------------------------------------------------- */
 
#noflash { padding:14px 0 0 0px; }

#header-graphic { height:304px; position:relative; }
		body#index #header-graphic { background:url("../images/header-graphic.jpg"); }
		body#about #header-graphic { background:url("../images/header-graphic02.jpg"); }
		body#restorative #header-graphic { background:url("../images/header-graphic03.jpg"); }
		body#cosmetic #header-graphic { background:url("../images/header-graphic04.jpg"); }
		body#pain-relief #header-graphic { background:url("../images/header-graphic05.jpg"); }
		body#veneers #header-graphic { background:url("../images/header-graphic06.jpg"); }
		body#invisalign #header-graphic { background:url("../images/header-graphic07.jpg"); }
		body#gallery #header-graphic { background:url("../images/header-graphic08.jpg"); }
		body#testimonials #header-graphic { background:url("../images/header-graphic09.jpg"); }
		body#patient-info #header-graphic { background:url("../images/header-graphic10.jpg"); }
		body#contact #header-graphic { background:url("../images/header-graphic11.jpg"); }
		body#sitemap #header-graphic { background:url("../images/header-graphic11.jpg"); }
		body#thankyou #header-graphic { background:url("../images/header-graphic02.jpg"); }
		
	#header-graphic .home-link {
		position:absolute;
		width:39px;
		height:51px;
		left:0;
		top:27px;
		} 

	#header-graphic .ctc {
		position:absolute;
		width:118px;
		height:42px;
		left:329px;
		top:23px;
		}
		
		#header-graphic span { display:none; } 

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

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

	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#restorative #subhead { background:url("../images/subhead-restorative.jpg"); }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#pain-relief #subhead { background:url("../images/subhead-pain.jpg"); }
	body#veneers #subhead { background:url("../images/subhead-porcelain.jpg"); }
	body#invisalign #subhead { background:url("../images/subhead-invisalign.jpg"); }
	body#gallery #subhead { background:url("../images/subhead-gallery.jpg"); }
	body#testimonials #subhead { background:url("../images/subhead-testimonials.jpg"); }
	body#patient-info #subhead { background:url("../images/subhead-patient.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"); }


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

#title-qcontact {
	height:204px;
	background:url("../images/title-qcontact.jpg") ;
	margin-bottom:-71px;
	}

#title-media-center {
position:relative;
	height:183px;
	background:url("../images/btn-media-center.jpg") ;
	}
	
	#title-media-center a {	
		position:absolute;
		left:34px;
		width:220px;
		top:11px;
		height:154px; 
		}
	#title-media-center a span {
		display:none;
		}
		
#title-blog {
position:relative;
	height:85px;
	width:255px;
	background:url("../images/title-readblog.jpg") ;
	}
	
	#title-blog a {	
		position:absolute;
		left:34px;
		width:255px;
		top:11px;
		height:85px; 
		}
	#title-blog a span {
		display:none;
		}

body#contact #title-qcontact, body#thankyou #title-qcontact {
	height:204px;
	background:url("../images/title-location.jpg") ;
	margin-bottom:-71px;
	}

/* ------------------------------------- Buttons ---------------------------------------- */
#btn-procedures {
		height:254px;
		background:url("../images/btn-procedures.jpg") no-repeat;
		position:relative;	
		margin-bottom:20px;
		}
		
		#btn-procedures .btn-cosmetic {
			position:absolute;
			width:144px;
			height:156px;
			left:36px;
			top:98px;
			}

		#btn-procedures .btn-gallery {
			position:absolute;
			width:142px;
			height:156px;
			left:184px;
			top:98px;
			}

		#btn-procedures .btn-veneers {
			position:absolute;
			width:142px;
			height:156px;
			left:331px;
			top:98px;
			}

			#btn-procedures span { display:none; }

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:784px;
	margin:0 auto;
	text-align:center;
	}
	
#footer a { color:#FFF; font-weight:normal; }
	#footer li a { text-decoration:none; }

#footer p {
	margin:0 65px 20px 65px;
	}

#footer ul {
	padding:0 40px 30px 40px;
	background:url("../images/bg-footer-ul.jpg") no-repeat;
	}

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

	#footer li.first { border: none; }

/* Vertical Sprite Nav
 * ------------------------------------------------------------------------- */

#column-left ul#nav { padding:0; margin:0; }
	#column-left ul#nav li { 
		background:none;
		padding-left:0; 
		}

#nav {
	background:url("../images/nav.jpg") top left no-repeat;					
	width:270px;		/* Width of buttons, not entite image (or half of entire image) */
	height:271px;		/* Height of entire image */
	margin:0;
	padding:0;
	}

#nav li span { display: none; }

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

#nav li, #nav a { 
	height:22px;			
	display:block;
	}

li#nav-01, li#nav-01 a { 
	height:40px;			
	display:block;
	}

li#nav-11, li#nav-11 a { 
	height:33px;			
	display:block;
	}
	
#nav a { width:245px; margin-left:25px; }

/* margin-top if there is a spacing between each nav button */
#nav-01, #nav-02, #nav-03, #nav-04, #nav-05, #nav-06, #nav-07, #nav-08, #nav-09, #nav-10, #nav-11 { margin-top:0; width:245px; }

#nav-01 a:hover { background:url("../images/nav.jpg") -295px 0px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -295px -40px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -295px -62px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -295px -84px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -295px -106px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -295px -128px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -295px -150px no-repeat; }
#nav-08 a:hover { background:url("../images/nav.jpg") -295px -172px no-repeat; }
#nav-09 a:hover { background:url("../images/nav.jpg") -295px -194px no-repeat; }
#nav-10 a:hover { background:url("../images/nav.jpg") -295px -216px no-repeat; }
#nav-11 a:hover { background:url("../images/nav.jpg") -295px -238px no-repeat; }

/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg") -270px 0px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -270px -40px no-repeat; }
body#restorative #nav-03 { background:url("../images/nav.jpg") -270px -62px no-repeat; }
body#cosmetic #nav-04 { background:url("../images/nav.jpg") -270px -84px no-repeat; }
body#pain-relief #nav-05 { background:url("../images/nav.jpg") -270px -106px no-repeat; }
body#veneers #nav-06 { background:url("../images/nav.jpg") -270px -128px no-repeat; }
body#invisalign #nav-07 { background:url("../images/nav.jpg") -270px -150px no-repeat; }
body#gallery #nav-08 { background:url("../images/nav.jpg") -270px -172px no-repeat; }
body#testimonials #nav-09 { background:url("../images/nav.jpg") -270px -194px no-repeat; }
body#patient-info #nav-10 { background:url("../images/nav.jpg") -270px -216px no-repeat; }
body#contact #nav-11 { background:url("../images/nav.jpg") -270px -238px no-repeat; }

