/*--------------------- Last Modified  2006.02.17 ---------------------*/
/*-----------------------------------------------------------------------*/


/* 
 ----------------------------------------------------------------------------
  Copyright Einstein Industries 2005. 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
 * ------------------------------------------------------------------------- */

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

#nav {
	background: url(../images/nav.jpg) left top no-repeat;					
	width: 159px;
	height: 161px;
	padding: 0px;
	margin-top: 0;
	position: relative;
}
#nav li span {display: none;}
#nav li {margin: 0; padding: 0; list-style: none; position: absolute;}

#nav li, #nav a {height: 23px; display: block;}
#nav-01 {top: 0px;}
#nav-02 {top: 23px;}
#nav-03 {top: 46px;}
#nav-04 {top: 69px;}
#nav-05 {top: 92px;}
#nav-06 {top: 115px;}
#nav-07 {top: 138px;}


#nav-01, #nav-02, #nav-03, #nav-04, #nav-05, #nav-06, #nav-07 { width: 159px; }

#nav-01 a:hover {background: transparent url(../images/nav.jpg) -159px -0px no-repeat;}
#nav-02 a:hover {background: transparent url(../images/nav.jpg) -159px -23px no-repeat;}
#nav-03 a:hover {background: transparent url(../images/nav.jpg) -159px -46px no-repeat;}
#nav-04 a:hover {background: transparent url(../images/nav.jpg) -159px -69px no-repeat;}
#nav-05 a:hover {background: transparent url(../images/nav.jpg) -159px -92px no-repeat;}
#nav-06 a:hover {background: transparent url(../images/nav.jpg) -159px -115px no-repeat;}
#nav-07 a:hover {background: transparent url(../images/nav.jpg) -159px -138px no-repeat;}

/* begin son of suckerfish

	#nav li ul {
		position: absolute;
		left: -9999px;
		background-color: #720000;
	}
	
	#nav li ul li {
		height: 20px;
	}
	#nav li ul li a {
		width: 100%;
		height: 20px;
		line-height: 20px;
	}
	#nav li ul li a span {
		display: block;
		padding-left: 5px;
	}
	
	#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
		font-size: 11px;
		color: #FFFFFF;
		text-decoration: none;
	}

	#nav li:hover ul, #nav li.sfhover ul	{ left: auto; }

	#nav-04 ul a:hover, #nav-05 ul a:hover, #nav-06 ul a:hover, #nav-07 ul a:hover, #nav-08 ul a:hover { 
		background-image: none;
		background-color: #AA0000; 
	}
	
	#nav-04 ul, #nav-04 li { width: 168px; }
	#nav-05 ul, #nav-05 li { width: 170px; }
	#nav-06 ul, #nav-06 li { width: 160px; }
	#nav-07 ul, #nav-07 li { width: 160px; }
	#nav-08 ul, #nav-08 li { width: 160px; }

 * ------------------------------------------------------------------------------------- */

/* 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: #fff url("../images/bg-body.jpg") top repeat-x ;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #666666;
	line-height: 15px;
	text-decoration: none;
	}
	
	
p, ul, ol, dl, pre, blockquote	{ margin-bottom:10px; }

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

h1,h2,h3 { margin-bottom:8px; }

h1	{ font-size:1.0em; color:#666666; }
h2	{ font-size:1.0em; color:#666666; }
h3	{ font-size:1.0em; color:#666666; }

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

a:link,a:visited	{ color:#000; text-decoration:underline; }
a:hover,a:active	{ color:#676E86; text-decoration:none; }

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

div.clear	{
	clear:both;
	height:0.01em;
	width: 100%;
	}

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


img.img-center {
	border: 1px solid #666666;
	width: 150px;
	height:99px;
    }


#video-website { margin-top:3px;}

/*img.thumb { 
	float:right; 
	margin:5px 0 10px 10px;
    border: 1px solid #666666;
	}*/
	
img.thumb {
float:left;
margin:5px 10px 10px 0;
border:1px solid #666666;
}

a img.thumb,:link img.thumb,:visited img.thumb {
    border: 1px solid #666666;
}

a img.img-center,:link img.img-center,:visited img.img-center {
    border: 1px solid #666666;
}


p.einstein { margin:0;}	

.thumbnail {
	float: left;
	width:110px;
	margin:0 0 15px 27px;
	padding: 5px;
	text-align:center;
	font-family: Arial, Helvetica, sans-serif;
	color:#5D936F;
	font-weight:bold;
    }

.thumbnail a img,.thumbnail a:link img, .thumbnail a:visited img {
	border: 1px solid #999;
}
 
.clearboth { clear: both; }

/* ----- global form elements ----- */ 

#contact-home {
	width:150px;
	padding:10px 0 15px 20px;
}

#contact-home input,#contact-home textarea, #contact-home select {	
    background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #666666;
	color:#666666;
	width:145px; /* 5 pixles smaller than form width !important */
	height:14px;
	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: 10px;
}

#contact-home textarea { height:75px;}


form {
	width:120px;
	padding: 0 0 0 17px;
	}

form label	{ font-size:.95em; }

form br { 
	line-height:0; /* defaults vertical spacing between fields */
	}  

input, textarea, select { 
	background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #666666;
	color:#666666;
	width:115px; /* 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: Arial, Helvetica, sans-serif;
	font-size: 10px;
	}
	
select { 
	width:120px; /* same width as form !important */
	padding:0;
	}

textarea { 
	height:90px; 
	overflow:auto; 
	}
	
input.submit, input.submit-contact-main { 
	width:60px; 
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:90px 0 0 242px; border-style:none; width:56px; height:16px; }

input.submit-image { 
	background:url("../images/submit_green.gif");
	width:56px;
	height:16px;
	border-style:none;
	cursor:pointer;
	}

#contact_business { display: none; } /* do not remove */ 


/* ----- main contact form ----- */ 
 
#contact-main { padding:20px 0 10px 0; }
	
#contact-main label { 
	width:180px; 
	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:150px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select {
	width:155px;
	}
	
#contact-main label textarea { height:100px; }



/* framework
 * ------------------------------------------------------------------------- */
#wrap {	
	width:760px;
	margin:0 auto;
	text-align:left;
	
 }
	
#masthead {
	position: relative;
	background:url("../images/masthead.jpg") no-repeat;
	height:59px;
	}
	/* home link within #masthead */		
	#masthead a {	
		position:absolute;
		left:0px;
		width:0px;
		top:0px;
		height:0px; 
		}
	#masthead a span {
		display:none;
		}

#body-wrap {
        background:url("../images/body-wrap.gif");
        width:760px;
		margin:0;
		}


#container{ width:722px; background: url(../images/sub/bg-container.jpg); background-repeat:repeat-y;}


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

#column-left {
	width:159px;
	float:left;
	background-color:#95B895;
	}
	
	#column-left p { margin-left:7px;}
		
	/* background image list items */
	#column-left ul { 
		margin-left:0; 
		}
	#column-left ul li { 
		background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
		padding-left:0; 
		}
		
body.sub #column-left  p {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #FFFFFF;
	line-height: 15px;
	text-decoration: none;
	margin:0 3px 5px 15px;
} 		

#lipner-photo {
    background:url("../images/lipner.jpg");
	width:159px;
	height:355px;
	border:0;
	margin-top:-9px;
}

#procedure-list {padding-left:10px; }		

/* ----- column-middle ----- */

#column-middle {
    background:url("../images/welcome.gif") no-repeat;
    margin:0 0 0 4px;
	width:180px;
	float:left;
	}
    #column-middle p { 
	margin:15px 0 0 7px;
	font-family: Arial, Helvetica, sans-serif;
	}
	#column-middle h1 { margin:45px 0 0 7px;}

	/* background image list items */
	#column-middle ul { 
		margin-left:5px; 
		} 

	#column-middle ul li { 
		background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
		padding-left:8px; 
		}

/* ----- column-middle-2 ----- */

#column-middle-2 {
    background:url("../images/featured.gif") no-repeat;
    margin:0 0 0 16px;
	width:180px;
	float:left;
	}
	    #column-middle-2 p { margin:15px 0 0 7px;}
	#column-middle-2 h1 { margin:45px 0 0 7px;}

	/* background image list items */
	#column-middle-2 ul { 
		margin-left:5px; 
		} 

	#column-middle-2 ul li { 
		background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
		padding-left:8px; 
		}
		

.case { 
	color:#5D936F;
	font-weight:bold;
	text-align:center;
	margin-top:1px;
	padding-top:1px;
}
/* ----- column-right ----- */

#column-right {
    margin:0 0 0 29px;
	width:180px;
	float:left;
	}
	
	#column-right p { margin:15px 0 0 7px;}
	#column-right h1 { margin:45px 0 0 7px;}


	/* background image list items */
	#column-right ul { 
		margin-left:5px; 
		} 

	#column-right ul li { 
		background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
		padding-left:8px; 
		}
	
body.sub #column-right {
	margin:15px 0 15px 15px;
	width: 543px;
	   }
	    	
body.sub #column-right h1, h2 { margin:20px 0 0 0;}
body.sub #column-right p { margin:7px 0 10px 0;}
body.sub #column-right p.title {clear: both;}

.staff-photo { 
		width:250px;
		text-align:center;
		float:left;
		margin-right:15px;
      }
	  
.staff-photo-img{width:102px; float:left; margin-left:10px;} 	  

/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	height:8px;
	clear:both;
	width:100%;
	}
	
/* header framework
 * ------------------------------------------------------------------------- */

#header-flash {
	height:210px;
	background:url("../images/bg-header-flash.jpg") no-repeat;
	margin-bottom:51px;
	}

#header-graphic {
	height:299px; /* sets height for all non-flash headers */
	}


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

#subhead {
	height:46px;
	
	 /* sets height for all subheads */
	}

body#about-us #subhead { background:url("../images/sub/headers/subhead-about-us.gif") no-repeat;}
body#cosmetic-dentistry #subhead { background:url("../images/sub/headers/subhead-cosmetic-dentistry.gif") no-repeat;}
body#general-dentistry #subhead { background:url("../images/sub/headers/subhead-general-dentistry.gif") no-repeat;}
body#smile-gallery #subhead { background:url("../images/sub/headers/subhead-smile-gallery.gif") no-repeat;}
body#testimonials #subhead { background:url("../images/sub/headers/subhead-testimonials.gif") no-repeat;}
body#contact #subhead { background:url("../images/sub/headers/subhead-contact.gif") no-repeat;}
body#thankyou #subhead { background:url("../images/sub/headers/subhead-thankyou.gif") no-repeat;}
body#sitemap #subhead { background:url("../images/sub/headers/subhead-sitemap.gif") no-repeat;}

body.sub #column-left {
	float:left;
	font-size:11px;
	background-color:#95B895;
	color:#FFFFFF;
	display: inline;
   } 

/* footer
 * ------------------------------------------------------------------------- */
#footer-wrap{
	width:100%;
	background:#C9DBC9 url("../images/bottom-wrap.gif") repeat-x;
	padding-top: 10px;
} 
#footer {
	margin:0 auto;
	background-color:#C9DBC9;
	background-repeat:no-repeat;
	text-align:center;
	width: 760px;
	}

#footer p {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #666666;
	line-height: 15px;
	text-decoration: none;
	}

#footer a:link, #footer a:visited {
	color:#000;
	font-size: 10px;
	}

#footer a:hover, #footer a:active {
    text-decoration:none;
	color:#363A47;
	}

#footer ul {margin-top:1px;}

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

	#footer li.first { border: none;}

/* testimonials 
 * ------------------------------------------------------------------------- */

#testimonials-left {
	width: 260px;
	float: left;
	padding-bottom: 20px;
}
	#testimonials-left img {
		margin-top: 15px;
	}
	#testimonials-left p {
		text-align: center;
	}
	
#testimonials-right {
	width: 260px;
	float: left;
	padding-bottom: 20px;
}
	#testimonials-right img {
		margin-top: 15px;
	}
	#testimonials-right p {
		text-align: center;
	}
	
.testimonials { margin-left:25px;}

#vms-lightwindow-link { display: none; }