/*--------------------- 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 no-repeat;
	text-align:center; 
	font:12px/16px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#ffecc2;
	}
	
body#privacy-notice { background:#000; text-align:left; padding:20px; }

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

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

p.h1	{ font-size:1.2em; color:#edcf8c; font-weight:bold; }
p.h2	{ font-size:1.1em; color:#edcf8c; font-weight:bold;  }
p.h3	{ font-size:1.0em; color:#edcf8c; font-weight:bold;  }
p.h4	{ font-size:.9em; color:#edcf8c; font-weight:bold;  }

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

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

/* ------------------------ classes ------------------------ */
.clear	{ 
	clear:both;
	}
	
.center { text-align:center; }

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

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	background:url("../images/bullet-back-to-top.jpg") right no-repeat;
	}
	#column-left p.back-to-top a:link, p.back-to-top a:visited { color:#ffecc2; text-decoration:none; }
	#column-left p.back-to-top a:hover, p.back-to-top a:focus { color:#fff; text-decoration:none; }

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

img.img-right { 
	float:right; 
	margin:5px 0px 10px 10px; 
	}
	
p.caption { font-style:italic; }

/* ------------------------ form elements ------------------------ */
form {
	width:205px;
	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; /* to prevent highlighting by Google Toolbar */
	border:1px solid #ffecc2;
	color:#000;
	width:200px; /* 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:"Trebuchet MS", 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 */ 


/* ------------------------ 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:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:95px 0 0 243px; } /* defines placement of contact-main submit button */

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

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

/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:90px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:0px;
		width:0px;
		top:0px;
		height:0px; 
		}
	#masthead a span {
		display:none;
		}

/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:649px;
	float:left;
	}

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

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

	/* single column list */
	#column-left ul { padding-left:40px; list-style:disc; }
		
	#top-nav {
	position:absolute;
	height:25px;
	width:334px;
	left:550px;
	top:12px;
		}
		#top-nav ul li { float:left; color:#fff; }
			#top-nav ul li a:link, #top-nav ul li a:visited { color:#edcf8c; font-size:12px; font-weight:bold; }
			#top-nav ul li a:hover, #top-nav ul li a:focus { color:#fff; font-size:12px; font-weight:bold; }
			
		#column-left a:link, #column-left a:visited { color:#fff; text-decoration:underline; }
		#column-left a:hover, #column-left a:focus { color:#fff; text-decoration:none; }
		
	#column-left .subnav { list-style:none; }
		#column-left ul.subnav a:link, #column-left ul.subnav a:visited { color:#ffecc2; text-decoration:none; }
		#column-left ul.subnav a:hover, #column-left ul.subnav a:focus { color:#fff; text-decoration:none; }
		
	#column-left #img-dr { border:1px solid #fff; }

/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:233px;
	float:left;
	}

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

	#column-right form { margin-left:25px; }
			
		#title-ctc { background:url("../images/title-ctc.jpg"); height:67px; }
		#title-qcontact { background:url("../images/title-qcontact.jpg"); height:81px; }
		
		#column-right a:link, #column-right a:visited { color:#fff; text-decoration:underline; }
		#column-right a:hover, #column-right a:focus { color:#fff; text-decoration:none; }
		
#column-right #title-ctc a { display:block; height:67px; }
	#column-right #title-ctc span { display:none; }

/* ------------------------ horizontal sprite nav ------------------------ */
#img-nav { position:relative; }

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

#nav span { display:none; }

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

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

#nav-01 { width: 178px;}
#nav-02 { width: 176px;}
#nav-03 { width: 177px;}
#nav-04 { width: 177px;}
#nav-05 { width: 175px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  0 -138px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -178px -138px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -354px -138px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -531px -138px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -708px -138px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body id ------------- */
body#gallery #nav-01 { background:url("../images/nav.jpg")  0 -138px no-repeat; }
body#implants #nav-02 { background:url("../images/nav.jpg") -178px -138px no-repeat; }
body#crowns #nav-03 { background:url("../images/nav.jpg") -354px -138px no-repeat; }
body#menu #nav-04 { background:url("../images/nav.jpg") -531px -138px no-repeat; }
body#tmj #nav-05 { background:url("../images/nav.jpg") -708px -138px no-repeat; }

/* ------------------------ header framework ------------------------ */
#header-flash { height:434px; } /* sets height for the flash header - REMOVE IF NOT USED */
#active-x {height:434px;}
#header-graphic { height:434px; position:relative; background:url("../images/header-index.jpg"); } /* sets height for all non-flash headers */
	#header-graphic a.home-link {
	position:absolute;
	top:67px;
	left:32px;
	height:67px;
	width: 294px;
		}
		#header-graphic a.home-link span { display:none; }


/* ------------------------ subhead framework ------------------------ */
#subhead { height:67px; } /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#meet #subhead { background:url("../images/subhead-meet.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#gallery #subhead { background:url("../images/subhead-gallery.jpg"); }
	body#implants #subhead { background:url("../images/subhead-implants.jpg"); }
	body#crowns #subhead { background:url("../images/subhead-crowns.jpg"); }
	body#menu #subhead { background:url("../images/subhead-menu.jpg"); }
	body#financing #subhead { background:url("../images/subhead-financing.jpg"); }
	body#tmj #subhead { background:url("../images/subhead-tmj.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }

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

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

#title-contact {
	height:55px;
	background:url("../images/title-contact.jpg") ;
	}

#title-our-procedures {
	height:35px;
	background:url("../images/title-our-procedures.jpg") ;
	}

/* ------------------------------------- Buttons ---------------------------------------- */
#btn-special-offer {
		height:186px;
		display:block;
		background:url("../images/dental-btn-special-offer.jpg") no-repeat;	
		}
		#btn-special-offer:hover {
				background:url("../images/dental-btn-special-offer.jpg") -100px 0 no-repeat; /* -100px = horizontal img shift, 0px = vertical shift from top */
				}
		#btn-special-offer span { display:none; }
		
/* --- gallery button --- */
#btn-gallery {
	background:url("../images/btn-gallery.jpg");
	height:85px;
	}
	#btn-gallery a {
		display:block;
		height:85px;
		}
	#btn-gallery span { display:none; }
	#btn-gallery a:hover { background:url("../images/btn-gallery.jpg") 0 -85px; }

/* ------------------------ bottom-wrap framework ------------------------ */
/* ------------ must have below column-left and column-right to clear the float ------------ */
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	width:100%; /* fix for Safar */
	height:20px;
	clear:both; /* important - do not remove */
	}

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

#footer p {
	color:#ffecc2;
	margin-bottom:10px;
	}
	#footer p a:link, #footer p a:visited { color:#FFF; text-decoration:underline; }
	#footer p a:hover, #footer p a:focus { color:#FFF; text-decoration:none; }

#footer a:link, #footer a:visited { color:#ffecc2; text-decoration:none; }
#footer a:hover, #footer a:active { color:#fff; text-decoration:none; }

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

#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;
		line-height:20px;
		}
	#footer li.first { border: none; }
