/*--------------------- Last Modified  2006.03.25 ---------------------*/
/*-----------------------------------------------------------------------*/


/* 
 ----------------------------------------------------------------------------
  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
 * ------------------------------------------------------------------------- */

/* No list-markers by default - must redefine bullets w/ bg graphics */
ul,ol { list-style:none; }

/* Avoid browser default inconsistent heading font-sizes and pre/code */
h1,h2,h3,h4,h5,h6,pre,code,td { font-size:1em; }

/* Remove inconsistent (among browsers) default padding or margin */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,label,div,dd,dt,dl,table,tr,td { margin:0; padding:0; }

/* prevent blue linked image borders */
a img,:link img,:visited img,fieldset { border:none; }


/* global elements
 * ------------------------------------------------------------------------- */


/* ----- type selectors ----- */ 
body { 
	background:#778EAF url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:11px/16px Arial, Helvetica, sans-serif; 
	color:#000;
	}

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1	{ font-size:1.2em; color:#000; margin:0px 50px 10px 12px;}
h2	{ font-size:1.1em; color:#000; margin:0px 50px 10px 12px;}
h3	{ font-size:1.0em; color:#000; margin:0px 50px 10px 12px;}

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#000; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#384F78; text-decoration:underline; outline:none; }

/* ----- classes ----- */

div.clear	{ 
	clear:both;
	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;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}

	
/* ----- global form elements ----- */ 

form {
	width:145px;
	margin:10px 0 15px 0px;
	}

form label	{ font-size:.95em; }

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#384F78 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #384F78;
	color:#fff;
	width:140px; /* 5 pixles smaller than form width !important */
	height:19px;
	line-height:18px;
	vertical-align: middle;
	margin-bottom:2px; /* sets vertical spacing between fields */
	padding-top:2px; /* 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:1.0em;
	}
	
select { width:150px; padding:0; } /* same width as form - !important */

textarea { height:65px; 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:170px; }
	
#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:43px;
	height:19px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:85px 0 0 243px; }



/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:780px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:199px;
	}
	/* index page link within #masthead */		
	#masthead #index-link {	
		position:absolute;
		left:13px;
		width:228px;
		top:66px;
		height:31px; 
		}
	#masthead #index-link span {
		display:none;
		}
		
	#masthead #click-call {	
		position:absolute;
		background: url("../images/btn-v2.jpg") 0 0 no-repeat;
		left:49px;
		width:166px;
		top:100px;
		height:61px; 
		}
	#masthead #click-call span {
		display:none;
		}
	#masthead #click-call:hover, #masthead #click-call:active {	
	background-position: 0 -61px;
	}
		
		
		

/* ----- column-left ----- */

#column-left {
	width:254px;
	float:left;
	}
	#column-left p {
		color:#fff;
		margin:0 0px 0px 65px;
		}
		
#poloroids { 
	background:url("../images/poloroids.jpg");
	height:338px; 
	}		
	#poloroids2 { 
	background:url("../images/poloroids2.jpg");
	height:338px; 
	}		
			
/* ----- column-right ----- */

#column-right {
	width:526px;
	float:left;
	}
	#column-right form { margin-left:0px; }
	
/* multi column list */
	#column-right ul { padding-left:10px; padding-bottom:10px;} 
		#column-right ul li { 
			background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
			padding-left:15px;  /* pushes text to the right to display bg img */	
			}
			
			#button { 
			background: url("../images/polaroid_bg.jpg" );
			padding-left:70px;
			height:250px;
			}

#welcome {
	width:312px;
	float:left;
	}
	#welcome p {
		margin:0px 50px 10px 12px;
		}
		#title-welcome {
			background:url("../images/title-welcome.jpg");
			height:330px;
			margin-bottom:-235px;
			}

#title-about {
	background:url("../images/title-about.jpg");
	height:330px;
	margin-bottom:-235px;
	}

#title-general {
	background:url("../images/title-general.jpg");
	height:330px;
	margin-bottom:-235px;
	}
	
#title-cosmetic {
	background:url("../images/title-cosmetic.jpg");
	height:330px;
	margin-bottom:-235px;
	}
	
#title-other {
	background:url("../images/title-other.jpg");
	height:330px;
	margin-bottom:-235px;
	}

#title-contact-home {
	background:url("../images/title-contact-home.jpg");
	height:330px;
	margin-bottom:-200px;
	}

	
#title-contact-main {
	background:url("../images/bg-contact.jpg");
	height:385px;
	margin-bottom:-285px;
	}
	#spacer { height:450px; width:50px; }
	
	#title-thankyou-main {
	background:url("../images/bg-thankyou.jpg");
	height:385px;
	margin-bottom:-285px;
	}


#title-thankyou {
	background:url("../images/title-thankyou.jpg");
	height:330px;
	margin-bottom:-235px;
	}


#title-sitemap {
	background:url("../images/title-sitemap.jpg");
	height:330px;
	margin-bottom:-235px;
	}


#contact {
	width:214px;
	float:left;
	}
	#contact p {
		margin:0px 34px 0px 39px;
		}
	
	#contact form {margin-left:30px;}
		#title-contact {
			background:url("../images/title-contact.jpg");
			height:330px;
			margin-bottom:-200px;
			}
		
	#welcome-contact {
	width:526px;
	float:left;
	}
	#welcome-contact p {
		margin:0px 50px 10px 50px;
		}	
	.welcome-contact{
		margin:0px 50px 10px 50px;
		}
	
#sub-contact {
	width:214px;
	float:left;
	}
	#sub-contact p {
		margin:0px 34px 0px 39px;
		}
		#sub-title-contact {
			background:url("../images/sub-title-contact.jpg");
			height:330px;
			margin-bottom:-200px;
			}


#title-contact-main-side {
	background:url("../images/title-contact-main-side.jpg");
	height:330px;
	margin-bottom:-200px;
	}


.sub-section {
	width:526px;
	}
	.sub-section p {
		margin:0px 40px 10px 39px;
		}
#sub-bottom-section {
	background:url("../images/sub-bottom-meet.jpg");
	height:108px;	
	}

#title-meet {
	background:url("../images/title-meet.jpg");
	height:194px;
	}

/* located on index */
#title-pankey {
	background:url("../images/title-pankey.jpg");
	height:233px;	
	}
#bottom-edge {
	background:url("../images/bottom-edge.jpg") left repeat-x;
	height:297px;	
	}
	
	

#title-education {
	background:url("../images/title-education.jpg");
	height:194px;
	}
#title-organizations {
	background:url("../images/title-organizations.jpg");
	height:194px;
	}
#title-helping {
	background:url("../images/title-helping.jpg");
	height:194px;
	}
#title-interests {
	background:url("../images/title-interests.jpg");
	height:194px;
	}
#title-location {
	background:url("../images/title-location.jpg");
	height:194px;
	}
#title-teeth-whitening {
	background:url("../images/title-teeth-whitening.jpg");
	height:194px;
	}
#title-veneers {
	background:url("../images/title-veneers.jpg");
	height:194px;
	}
#title-crowns {
	background:url("../images/title-crowns.jpg");
	height:194px;
	}
#title-bridges {
	background:url("../images/title-bridges.jpg");
	height:194px;
	}
#title-implants {
	background:url("../images/title-implants.jpg");
	height:194px;
	}
#title-tmj {
	background:url("../images/title-tmj.jpg");
	height:194px;
	}
#title-colored-fillings {
	background:url("../images/title-colored-fillings.jpg");
	height:194px;
	}
#title-dental-bonding {
	background:url("../images/title-dental-bonding.jpg");
	height:194px;
	}
#title-dental-crowns {
	background:url("../images/title-dental-crowns.jpg");
	height:194px;
	}


#title-dentures {
	background:url("../images/title-dentures.jpg");
	height:194px;
	}
#title-periodontal {
	background:url("../images/title-periodontal.jpg");
	height:194px;
	}
#title-laser-dentistry {
	background:url("../images/title-laser-dentistry.jpg");
	height:194px;
	}
#title-laser-whitening {
	background:url("../images/title-laser-whitening.jpg");
	height:194px;
	}
	
	/*PTT BTN*/
#ptt-btn {
	width:162px;
	height:122px;
	margin-top:35px;
	margin-left:22px;
	}
 	#ptt-btn a {
		display: block;
		height: 61px;
		width: 166px;
		margin: 0;
		padding: 0;
		line-height: 32px;   /* cross-browser v-alignment of text */
		text-align: center;
		background: url("../images/btn.jpg") 0 0 no-repeat;
		color:#fff;
		}
		#ptt-btn a span {
			display:none;
			}

#ptt-btn a:hover, #ptt-btn a:active {	
	background-position: 0 -61px;
	}
	
	
	
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:27px;
	clear:both;
	width:100%; /* fix for Safar */
	}
/* header framework
 * ------------------------------------------------------------------------- */
#header-graphic { height:200px; } /* sets height for all non-flash headers */

	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	body#about #header-graphic { background:url("../images/header-about.jpg"); }
	body#contact-page #header-graphic { background:url("../images/header-about.jpg"); }
	body#cosmetic #header-graphic { background:url("../images/header-contact.jpg"); }
	body#general #header-graphic { background:url("../images/header-general.jpg"); }
	body#other #header-graphic { background:url("../images/header-other.jpg"); }

	body#thankyou #header-graphic { background:url("../images/header-about.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-about.jpg"); }

	#header-graphic span {
		display:none;
		}

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:780px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#fff;
	margin-bottom:10px;
	margin:0px 50px 10px 300px;
	}

#footer a:link, #footer a:visited { color:#fff; }

#footer a:hover, #footer a:active { color:#384F78; }

#footer ul {margin:10px 70px 10px 335px;}

#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; }


/* Vertical Sprite Nav
 * ------------------------------------------------------------------------- */

#nav {
	background:url("../images/nav.jpg") top left no-repeat;					
	width:254px;		/* Width of buttons, not entite image (or half of entire image) */
	height:265px;		/* Height of entire image */
	}

#nav li span { display: none; }

#nav li {
	float:left;
	list-style:none;
	}

#nav li, #nav a { 
	height:34px;			/* Each button must have the same height, define it here */
	display:block;
	}

/* margin-top to set where the nav should begin */
#nav-01 { margin-top:39px; width:254px; }

/* margin-top if there is a spacing between each nav button */
#nav-02, #nav-03, #nav-04, #nav-05, #nav-06 { margin-top:1px; width:254px; }




/* width is the same as image width */
#nav-01 a:hover { background:url("../images/nav.jpg") -254px -39px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -254px  -74px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -254px  -109px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -254px  -144px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -254px  -179px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -254px -214px no-repeat; }
