/*--------------------- 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:#2D3950 url("../images/bg-body.gif") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#000;
	}

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

p.h1	{ font-size:1.3em; color:#4A5D7B; font-weight:bold;}
p.h2	{ font-size:1.1em; color:#B31C25; font-weight:bold; }
p.h3	{ font-size:.95em; color:#1E3C66; font-weight:bold;}

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#792025; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#AA888A; 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/arrow-back.gif") right no-repeat;
	font-size:10px;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 7px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}
	
img.index-cases{
	margin: 10px 0 0 55px;
	font-size:10px;
	color:404040;
	}
	
p.index-cases{
	margin-left:55px;
	font-size:10px;
	color:404040;
	}
	
ul.inside-list{
	margin: 5px 35px 10px 65px !important;
	}
	
/* ----- global form elements ----- */ 

form {
	width:165px;
	margin:10px 0 15px 15px;
	padding-left: 15px;
	}

form label	{ font-size:.95em; }

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #404040;
	color:#666;
	width:160px; /* 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:.95em;
	}
	
select { width:150px; 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:20px 0 10px 0px; 
	padding-left: 25px;
	}

#contact-main label { 
	width:220px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:.95em;
	}
	
#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; }


/* ----- 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; }

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:64px;
	height:20px;
	border:1px solid #404040;
	cursor:pointer;
	}


/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/bg-wrap.gif") repeat-y;
	width:750px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.gif");
	height:104px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:400px;
		width:330px;
		top:25px;
		height:78px; 
		}
	#masthead a span {
		display:none;
		}
		
#apple-wrap {
	background:url("../images/apple.jpg") bottom right no-repeat;
	width:750px;
	}

/* index-ortho
 * ------------------------------------------------------------------------- */
 #index-ortho{
 background:url("../images/special-ortho.jpg");
 height: 196px;
 }
 
 #index-ortho a:link, #index-ortho a:visited	{ color:#FFF9E6; text-decoration:underline; outline:none; }
 #index-ortho a:hover, #index-ortho a:active	{ color:#E9ECF1; text-decoration:underline; outline:none; }
 
 #index-ortho p{
 padding: 55px 25px 0 135px;
 color:#FFF9E6;
 line-height: 18px;
 }
 
 
 /* featured
 * ------------------------------------------------------------------------- */
 #featured-wrap{
	background:url("../images/featured-wrap.gif") repeat-y;
	width:536px;
	margin:0 auto;
	text-align:left;
	float:left;
	}
	
 #featured-cases{
	 width: 279px;
	 float:left;
	 } 
	 
	 #featured-cases-subhead{
	 	background:url("../images/subhead-featured-cases.gif");
		height: 65px;
		}
	 
 #featured-procedures{
	 width: 257px;
	 float:left;
	 } 
	 
	 #featured-procedures-subhead{
	 	background:url("../images/subhead-featured-procedures.gif");
		height: 65px;
		}
		 
/* ----- content-left ----- */

#column-left {
	width:536px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left dl {
		margin:0 35px 10px 55px;
		}
		
	#column-left ul{
	margin-left: 25px;
	}
	#column-left form { margin-left:0px; }
	
	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/icon.gif") 0px 0px no-repeat;
			padding-left:25px; /* pushes text to the right to display bg img */
			margin-top:7px;
			}

	/* definition list */
	#column-left dl { padding-left:5px; }
		#column-left dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-left dl dd {
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:1px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
			
/* ----- content-right ----- */

#column-right {
	width:214px;
	float:left;
	}

	#column-right p,#column-right ul, #column-right dl {
		margin:0 30px 10px 15px;
		}
	#column-right form { margin-left:0px; }
	 
	/* 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 */
			}

	/* multi 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 */
			float:left;
			width:150px;
			line-height:20px; 
			}
	
	/* definition list */
	#column-right dl { padding-left:5px; }
		#column-right dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-right dl dd {
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.gif");
	height:37px;
	clear:both;
	width:100%; /* fix for Safar */
	}

	
/* header framework
 * ------------------------------------------------------------------------- */


#header-graphic { height:249px;} /* sets height for all non-flash headers */

	body#index #header-graphic { background:url("../images/header.jpg"); }
	body#about #header-graphic { background:url("../images/header-about.jpg"); }
	body#general #header-graphic { background:url("../images/header-general.jpg"); }
	body#restorative #header-graphic { background:url("../images/header-restorative.jpg"); }
	body#gallery #header-graphic { background:url("../images/header-gallery.jpg"); }
	body#contact #header-graphic { background:url("../images/header.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header.jpg"); }

	

/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:69px; } /* sets height for all subheads */

	body#index #subhead { background:url("../images/subhead-welcome.gif"); }
	body#about #subhead { background:url("../images/subhead-about.gif"); }
	body#general #subhead { background:url("../images/subhead-general.gif"); }
	body#restorative #subhead { background:url("../images/subhead-restorative.gif"); }
	body#gallery #subhead { background:url("../images/subhead-gallery.gif"); }
	body#contact #subhead { background:url("../images/subhead-contact.gif"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.gif"); }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.gif"); }


/* ----- subhead framework with varying heights ----- */

#subhead-meet-dentist {
	height:61px;
	background:url("../images/subhead-meet-dentist.gif") ;
	}
	
#subhead-preventative {
	height:61px;
	background:url("../images/subhead-preventative.gif") ;
	}
	
#subhead-ortho {
	height:61px;
	background:url("../images/subhead-ortho.gif") ;
	}
	
#subhead-other {
	height:61px;
	background:url("../images/subhead-other.gif") ;
	}
	
#subhead-quick-contact {
	height:52px;
	background:url("../images/subhead-quick-contact.gif") ;
	}
	
#subhead-locate {
	height:52px;
	background:url("../images/subhead-locate.gif") ;
	}

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:760px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#fff;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#fff; }

#footer a:hover, #footer a:active { color:#889DC6; }

#footer ul {margin-top:10px;}

#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; }
#nav { 
	background:url("../images/nav.gif") no-repeat; 
	width:750px; 
	height:39px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:30px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; }

#nav-01 { width: 84px; margin-left: 34px;}
#nav-02 { width: 83px;}
#nav-03 { width: 161px;}
#nav-04 { width: 173px;}
#nav-05 { width: 89px;}
#nav-06 { width: 115px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.gif")  -34px -39px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.gif") -118px -39px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.gif") -201px -39px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.gif") -362px -39px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.gif") -535px -39px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.gif") -624px -39px no-repeat; }
