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

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

h1, h2, h3	{ font-weight:bold; color:#506C72; }
h1, h2 { border-bottom:#506C72 solid 1px; }



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

a:link,a:visited	{ color:#BA4127; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#911E09; text-decoration:none; outline:none; }

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

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

p.back-to-top {
	text-align:right;
	display:block;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}
	
h1.hidden { display:none; }

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

form {
	width:130px;
	margin:10px 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:#FFFFFF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #8F1C07;
	color:#000;
	width:125px; /* 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:1.0em;
	}
	
select { width:130px; padding:0; } /* same width as form - !important */

textarea { height:90px; overflow:auto; }

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


/* ----- main contact form ----- */ 
 
#contact-main, #commentform { margin:20px 0 10px 0; }

#contact-main label, #commentform 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, #commentform label input, #commentform label textarea, #conmentform label select { 
	width:170px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select { width:175px; }
	
#contact-main label textarea { height:100px; overflow:auto; }


/* ----- submit button form elements ----- */ 

input.submit, input.submit-contact-main, input.commentform-submit { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main, input.commentform-submit{ margin:95px 0 0 243px; }
/*------------------- blog ---------------------------------*/
#column-left #menu ul{ margin: 0 20px 0 49px;}
#column-left #menu ul ul{ margin-left: 0;}
#column-left #menu form{ margin-left:0px;}
body#blog #column-right form{ margin-left: 20px;}
#blog-search-top {
	background: url("../images/subhead-blog-search.jpg") top no-repeat;
	height: 20px;
	}
h3.storytitle { font-size: 1.1em; font-weight: bold; margin-bottom: 5px;}
.feedback { text-align: right; font-size: .95em;}
.meta { font-size: .95em; color: #2C4F55; background-color: #B7C3C3; padding-left: 3px;}
#column-right .storycontent p { margin-left: 0px;}
#postcomment, #comments { margin-bottom: 100px; padding-bottom: 0px;}
form#searchform input.submit {
	background-color:#2D4E55 !important;
	color: #FFFFFF;
	}
#search label { font-weight:bold; font-size: 1em;}

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

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:760px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background: url("../images/masthead-index.jpg");
	height:178px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:250px;
		width:268px;
		top:20px;
		height:32px; 
		}
	#masthead a span {
		display:none;
		}
	body#index #masthead 	{ background-image:url("../images/masthead-index.jpg"); }
	body#about #masthead 	{ background-image:url("../images/masthead-about.jpg"); }
	body#contact #masthead 	{ background-image:url("../images/masthead-contact.jpg"); }
	body#cosmetic #masthead 	{ background-image:url("../images/masthead-cosmetic.jpg"); }
	body#porcelain-veneers #masthead 	{ background-image:url("../images/masthead-cosmetic.jpg"); }
	body#gallery #masthead 	{ background-image:url("../images/masthead-gallery.jpg"); }
	body#general #masthead 	{ background-image:url("../images/masthead-general.jpg"); }
	body#implants #masthead 	{ background-image:url("../images/masthead-implants.jpg"); }
	body#invisalign #masthead 	{ background-image:url("../images/masthead-invisalign.jpg"); }
	body#sedation #masthead 	{ background-image:url("../images/masthead-general.jpg"); }
	body#invisalign #masthead 	{ background-image:url("../images/masthead-invisalign.jpg"); }
	body#implants #masthead 	{ background-image:url("../images/masthead-implants.jpg"); }
	body#sedation #masthead 	{ background-image:url("../images/masthead-general.jpg"); }

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

#column-left {
	width:232px;
	float:left;
	font-size:0.9em;
	}
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 50px 18px 49px;
		}
	#column-left form { margin-left:49px; }

	#btn-care-credit {
		position:relative;
		background: url("../images/btn-care-credit.jpg");
		height:32px; width:179px;
		margin-top:30px;
	}
	#btn-care-credit a {	
		position:absolute;
		left:48px;
		top:0px;
		width:131px;
		height:32px; 
		}

	#btn-care-credit a span {
		display:none;
		}

#smile-dash {
	position:relative;
	background: url("../images/smile-dash.jpg");
	height:32px; width:199px;
	margin-top:31px;
}
#smile-dash a {	
	position:absolute;
	left:32px;
	top:0px;
	width:166px;
	height:32px; 
	}
#smile-dash a span {
	display:none;
	}		

	#btn-sub-map {
		position:relative;
		background: url("../images/btn-sub-map.jpg");
		height:76px; width:179px;
		margin-bottom:15px;
	}
	#btn-sub-map a {	
		position:absolute;
		left:48px;
		top:0px;
		width:131px;
		height:76px; 
		}
	#btn-sub-map a span {
		display:none;
		}

#smk h2 {
background:url(../images/subhead-lt-follow.jpg) no-repeat;
height:59px;
margin:0;
padding:0;
border:0;
}
#smk h2 span {
display:none;
}
#smk p {
margin-bottom:5px;
}
body#blog #smk p {
margin-bottom:15px;
}
	
/* ----- column-right ----- */

#column-right {
	width:528px;
	float:left;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl, #post, .storytitle, .meta, .feedback, .storycontent, body#blog #column-right h2 {
		margin:0 66px 18px 28px;
		}
	#column-right p.h1, #column-right p.h2 { margin-bottom:10px; }	
 	#column-right p.h3 { margin-bottom: 5px; }
	body#gallery #column-right p.h2 { margin-top: 25px; }
	#column-right img.thumb { margin-left:15px; }
	
	#column-right img.img-left { margin-left:28px; }
	#column-right img.img-right { margin-right:66px; }
 
	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 4px no-repeat;
			padding-left:13px;  /* pushes text to the right to display bg img */
			}
		#column-right ul li ul { margin:0 0 0 15px; padding:0;}
		#column-right ul li ul li {padding:0 0 0 13px; margin:0;}
			
	/* definition list */
	#column-right dl { width:340px; }
		#column-right dl dt {
			font-weight:bold;
			width:100px;
			float:left;
			}
		#column-right dl dd {
			width:200px;
			float:left;
			}
		#column-right dl dd.closed { color:#B23219; }

	/* definition list */
	#column-right dl.bna { width:434px;}
		#column-right dl.bna dt {
			width: 400px;
			border-bottom: 1px solid #000;
			font-weight:bold;
			margin-bottom: 10px;
			}
		#column-right dl.bna dd {
			width:210px;
			float:left;
			text-align: center;
			font-size: .9em;
			margin-bottom: 5px;
			}

.aboutusprofiles{
	border:2px solid #91230C;
	margin-left:15px;
	margin-bottom:15px;
	margin-top:5px;}

#nav-products {
	position:relative;
	background: url("../images/nav-products.jpg") no-repeat;
	height:115px;
	}
	/* index page link within #masthead */		
	#nav-products a.cerec {	
		position:absolute;
		left:7px;
		top:7px;
		width:159px;
		height:101px; 
		}
		#nav-products a:hover.cerec {	
			background: url("../images/nav-products.jpg") -7px -122px no-repeat;
			}

	#nav-products a.brite {	
		position:absolute;
		left:166px;
		top:7px;
		width:161px;
		height:101px; 
		}
		#nav-products a:hover.brite {	
			background: url("../images/nav-products.jpg") -166px -122px no-repeat;
			}
			
	#nav-products a.invisalign {	
		position:absolute;
		left:327px;
		top:7px;
		width:160px;
		height:101px; 
		}
		#nav-products a:hover.invisalign {	
			background: url("../images/nav-products.jpg") -327px -122px no-repeat;
			}
		
	#nav-products a span {
		display:none;
		}

/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:86px;
	clear:both;
	width:100%; /* fix for Safar */
	}

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

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

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

#subhead span { display: none; }

/* ----- subhead framework with varying heights ----- */

#subhead-meet-doc {
	height:61px;
	background:url("../images/subhead-meet-doc.jpg") ;
	}
#subhead-lt {
	height:59px;
	background:url("../images/subhead-lt.jpg") no-repeat top;
	}	
#subhead-lt-index {
	height:59px;
	background:url("../images/subhead-lt-index.jpg") no-repeat top;
	}		
#subhead-address {
height:53px;
background:url("../images/subhead-lt-address.jpg");
}
body#blog #subhead-address {
height:59px;
background:url("../images/subhead-lt-address-blog.jpg");
}

.address { font-size:11px;}
body#contact #subhead-lt, body#thankyou #subhead-lt { background:url("../images/subhead-lt-locate.jpg"); }
/* footer
 * ------------------------------------------------------------------------- */
#wrap-footer {
	background:url("../images/bg-wrap-footer.jpg") repeat-x;
	}
	body#thankyou #wrap-footer { height:132px; }
 
#footer {
	background:url("../images/bg-footer.jpg") no-repeat;
	width:760px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#fff;
	margin-left:50px;
	text-align:center;
	font-size:11px;
	padding-bottom:5px;
	}

#footer a:link, #footer a:visited { color:#fff; }

#footer a:hover, #footer a:active { color:#fff; }
#footer ul { padding-bottom:50px; }
#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;
	font-size:11px;
	}

	#footer li.first { border: none; padding-left:0; }

/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:760px; 
	height:54px; 
	margin:0;
	padding:0;
	z-index:99;
	position:relative;
	}

#nav span { display: none; }

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

#nav li { float:left; list-style:none; _display:inline;  z-index:99;}

#nav-news 	{ width: 112px; margin-left:20px;}
#nav-blog 	{ width: 75px; margin-left: 0px;}
#nav-01 	{ width: 48px; margin-left: 26px;}
#nav-02 	{ width: 57px;}
#nav-03 	{ width: 168px;}
#nav-04 	{ width: 95px;}
#nav-05 	{ width: 47px;}
#nav-06 	{ width: 76px;}

/* Nav2 */
#nav2 { 
	background:url("../images/nav2.jpg") no-repeat; 
	width:760px; 
	height:54px; 
	margin:0;
	padding:0;
	z-index:99;
	position:relative;
	}

#nav2 span { display: none; }

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

#nav2 li { float:left; list-style:none; _display:inline; z-index:99; }


/* Son of Suckerfish: Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav li ul {
	background-image:none;
	position:absolute;
	left:-9999px;
	padding-right:1px;			/* Fixes one px spacing for border-right in FF */
	background-color:#374B54;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	z-index:99;
	}

#nav li ul li { 
	background-image:none;
	height:20px; 				/* Height of each drop down nav item */
	border:1px solid #0E262A;
	border-top:none;
	z-index:99;
	}	

#nav li ul li a {
	width:100%;
	height:20px;				/* Height of each drop down nav item, should match above */
	line-height:20px;			/* Height of each drop down nav item again, should match above */
	}

#nav li ul li a span {
	display:block;
	padding-left:5px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	background:none;
	font-size:1.0em;
	color:#FFF;
	text-decoration:none;
	}

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

/* Hover styles for drop down items */
body#index #nav #nav-03 ul a:hover { 
 	background-image:none;
	background-color:#51767F;
	color:#FFF;
	text-decoration:none;
	}
body#thankyou #nav #nav-03 ul a:hover { 
 	background-image:none;
	background-color:#51767F;
	color:#FFF;
	text-decoration:none;
	}

body#sitemap #nav #nav-03 ul a:hover { 
 	background-image:none;
	background-color:#51767F;
	color:#FFF;
	text-decoration:none;
	}
body#blog #nav #nav-03 ul a:hover { 
 	background-image:none;
	background-color:#51767F;
	color:#FFF;
	text-decoration:none;
	}
	
/* width of drop down nav - choose width that allows items to display on one line */
#nav-03 ul, #nav-03 li { width:165px; z-index:99; }


/* Son of Suckerfish: Horizontal Sprite Nav - Inside Pages
 * ------------------------------------------------------------------------- */

#nav2 li ul {
	background-image:none;
	position:absolute;
	left:-9999px;
	padding-right:1px;			/* Fixes one px spacing for border-right in FF */
	background-color:#374B54;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	z-index:99;
	}

#nav2 li ul li { 
	background-image:none;
	height:20px; 				/* Height of each drop down nav item */
	border:1px solid #0E262A;
	border-top:none;
	z-index:99;
	}	

#nav2 li ul li a {
	width:100%;
	height:20px;				/* Height of each drop down nav item, should match above */
	line-height:20px;			/* Height of each drop down nav item again, should match above */
	}

#nav2 li ul li a span {
	display:block;
	padding-left:5px;
	}

/* Drop down link styles */
#nav2 a:link, #nav2 a:visited, #nav2 a:hover, #nav2 a:active {
	background:none;
	font-size:1.0em;
	color:#FFF;
	text-decoration:none;
	}

#nav2 li:hover ul, #nav2 li.sfHover ul	{ left: auto; z-index:99; }

/* Hover styles for drop down items */
#nav2 #nav-03 ul a:hover { 
 	background-image:none;
	background-color:#51767F;
	color:#FFF;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav2 #nav-03 ul, #nav2 #nav-03 li { width:165px; z-index:99; }

/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */

body#index #nav-news a:hover,  body#blog #nav-news a:hover { background:url("../images/nav.jpg") -20px -54px no-repeat; }
body#index #nav-blog a:hover, body#blog #nav-blog a:hover { background:url("../images/nav.jpg") -132px -54px no-repeat; }
body#index #nav-01 a:hover, body#blog #nav-01 a:hover { background:url("../images/nav.jpg") -233px -54px no-repeat; }
body#index #nav-02 a:hover, body#blog #nav-02 a:hover { background:url("../images/nav.jpg") -281px -54px no-repeat; }
body#index #nav-03 a:hover, body#blog #nav-03 a:hover { background:url("../images/nav.jpg") -338px -54px no-repeat; }
body#index #nav-04 a:hover, body#blog #nav-04 a:hover { background:url("../images/nav.jpg") -506px -54px no-repeat; }
body#index #nav-05 a:hover, body#blog #nav-05 a:hover { background:url("../images/nav.jpg") -601px -54px no-repeat; }
body#index #nav-06 a:hover, body#blog #nav-06 a:hover { background:url("../images/nav.jpg") -648px -54px no-repeat; }


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-news a:hover 	{ background:url("../images/nav2.jpg") -20px -54px no-repeat; }
#nav-blog a:hover 	{ background:url("../images/nav2.jpg") -132px -54px no-repeat; }
#nav-01 a:hover 	{ background:url("../images/nav2.jpg") -233px -54px no-repeat; }
#nav-02 a:hover 	{ background:url("../images/nav2.jpg") -281px -54px no-repeat; }
#nav-03 a:hover 	{ background:url("../images/nav2.jpg") -338px -54px no-repeat; }
#nav-04 a:hover 	{ background:url("../images/nav2.jpg") -506px -54px no-repeat; }
#nav-05 a:hover 	{ background:url("../images/nav2.jpg") -601px -54px no-repeat; }
#nav-06 a:hover 	{ background:url("../images/nav2.jpg") -648px -54px no-repeat; }


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

#column-right #subnav-wrap { width:141px; float:right; padding:0 50px 0 10px;}

#column-right #subnav-wrap ul { margin:0; padding:0; }

#column-right #subnav {
	background:url("../images/img-procedures.jpg") top left no-repeat;					
	width:141px;		/* Width of buttons, not entite image (or half of entire image) */
	height:379px;		/* Height of entire image */
	margin:0;
	padding:0;
	}

#column-right #subnav li span { display: none; }

#column-right #subnav li {
	float:left;
	list-style:none;
	background:none;
	padding:0;
	}

#column-right #subnav li, #column-right #subnav a { 
	height:52px;			/* Each button must have the same height, define it here */
	display:block;
	}

/* margin-top to set where the nav should begin */
#column-right #subnav-01 { margin-top:5px; width:141px; }

/* margin-top if there is a spacing between each nav button */
#column-right #subnav-02, #column-right #subnav-03, #column-right #subnav-04, #column-right #subnav-05, #column-right #subnav-06, #column-right #subnav-07 { margin-top:0; width:141px; }

#column-right #subnav-01 a:hover { background:url("../images/img-procedures.jpg") -141px  -5px no-repeat; }
#column-right #subnav-02 a:hover { background:url("../images/img-procedures.jpg") -141px  -57px no-repeat; }
#column-right #subnav-03 a:hover { background:url("../images/img-procedures.jpg") -141px  -109px no-repeat; }
#column-right #subnav-04 a:hover { background:url("../images/img-procedures.jpg") -141px  -161px no-repeat; }
#column-right #subnav-05 a:hover { background:url("../images/img-procedures.jpg") -141px -213px no-repeat; }
#column-right #subnav-06 a:hover { background:url("../images/img-procedures.jpg") -141px -265px no-repeat; }
#column-right #subnav-07 a:hover { background:url("../images/img-procedures.jpg") -141px -317px no-repeat; }
 
