/*--------------------- 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:#054579 url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#FFFFFF;
	}

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1	{ font-size:1.2em; color:#054579; font-weight:bold; }
h2	{ font-size:1.1em; color:#5C3495; font-weight:bold; }
h3	{ font-size:1.0em; color:#FFFFFF; font-weight:bold; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#FFFFFF; text-decoration:underline; outline:none; font-weight:bold; }
a:hover,a:active	{ color:#FFFFFF; text-decoration:none; 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.gif") right no-repeat;
	}
	
p.learn-more a {
	display:block;
	background:url("../images/btn-view-more.jpg") right no-repeat;
	height:20px;
	line-height:20px;
	width:71px;
	float:right;
	}
	
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:150px;
	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 #1F4489;
	color:#003366;
	width:145px; /* 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: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 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; }
	
#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:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:95px 0 0 243px; }


/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:780px;
	margin:0 auto;
	text-align:left;
	}
body#index #wrap {
	background:url("../images/bg-wrap-index.jpg") repeat-y;
	width:780px;
	margin:0 auto;
	text-align:left;
	}
	
body#index #wrap-content {
	background:url("../images/bg-wrap-content.jpg") bottom no-repeat;
	width:780px;
	float:left;
	padding-bottom:0;
	}
#wrap-content {
	background:url("../images/bg-wrap-content.jpg") bottom no-repeat;
	width:780px;
	float:left;
	padding-bottom:20px;
	}
	
#wrap-index-top {
	background:url("../images/bg-wrap-index-top.jpg") repeat-y;
	width:580px;
	float:left;
	}
#footer-index-top {
	background:url("../images/bg-cerec-bottom.jpg") right bottom no-repeat;
	float:left;
	padding-bottom:30px;
	}

/* ----- column-left ----- */

#column-left {
	background:url("../images/bg-column-left.jpg") top left no-repeat;
	width:200px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul {
		margin:0 17px 10px 38px;
		}
	#column-left form { margin-left:38px; }
	#column-left img.map { margin-left:38px; }
	
	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 3px no-repeat;
			padding-left:15px; /* pushes text to the right to display bg img */
			}

#featured-patients {
	 background:url("../images/featured-patients-btn.jpg") top left no-repeat;
	 position:relative;
	 width:200px;
	 height:211px;
	 }
	 #featured-patients a {
		position:absolute;
		top:82px;
		left:38px;
		width:151px;
		height:119px;
		}
	#featured-patients a span {
		display:none;
		}
			
/* ----- column-right ----- */

body#index #column-right { background:none; }

#column-right {
	background:url("../images/bg-column-right.jpg") top left no-repeat;
	width:580px;
	float:left;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 45px 10px 39px;
		}
	#column-right form { margin-left:39px; }
	#column-right img.img-right { 
	float:right; 
	margin:5px 45px 10px 10px; 
	}
	 
	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 3px no-repeat;
			padding-left:15px;  /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-right ul.multi { padding-left:5px; } 
		#column-right ul.multi li { 
			background:transparent url("../images/bullet.jpg") 0px 3px no-repeat;
			padding-left:15px;  /* 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 3px no-repeat;
			padding-left:15px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
			
/* ----- content ----- */

#content {
	background:url("../images/footer-div-content.jpg") bottom no-repeat;
	width:580px;
	float:left;
	padding-bottom:30px;
	margin:0;
	}
			
/* ----- index-top-left ----- */

#index-top-left {
	background:url("../images/bg-welcome.jpg") top left no-repeat;
	width:377px;
	float:left;
	margin:0;
	padding:0;
	}
	
/* ----- index-top-right ----- */

#index-top-right {
	width:203px;
	float:left;
	}
	
	#index-top-right p {
		margin:0 45px 10px 22px;
		}
	
/* ----- index-cerec ----- */

#index-cerec {
	background:url("../images/bg-cerec.jpg") top left no-repeat;
	width:203px;
	}
	
		#index-cerec ul { padding:0; margin:0; }
		#index-cerec ul li { list-style:none; background:none; padding:0; }
	
#cerec {
	background:url("../images/btn-cerec-nav.jpg") top left no-repeat;					
	width:203px;	/* Width of buttons, not entite image (or half of entire image) */
	height:362px;	 /* Height of entire image */
	margin:0;
	padding:0;
	}

#cerec li span { display: none; }

#cerec li { float:left; list-style:none; position:relative; }

#cerec-01 li, #cerec-01 a {
	display:block;
	height:109px;
	}
	
#cerec-02 li, #cerec-02 a {
	display:block;
	height:102px;
	}
	
#cerec-03 li, #cerec-03 a {
	display:block;
	height:126px;
	}

/* margin-top to set where the nav should begin */
#cerec-01 { margin-top:25px; width:203px; }
#cerec-02 { margin-top:0; width:203px; }
#cerec-03 { margin-top:0; width:203px; }

#cerec-01 a:hover { background:url("../images/btn-cerec-nav.jpg") -203px  -25px no-repeat; }
#cerec-02 a:hover { background:url("../images/btn-cerec-nav.jpg") -203px -134px no-repeat; }
#cerec-03 a:hover { background:url("../images/btn-cerec-nav.jpg") -203px -236px no-repeat; }

/* ----- dentistry-index ----- */

#dentistry-index {
	background:url("../images/bg-dentistry-index.jpg") bottom no-repeat;
	width:580px;
	float:left;
	padding-bottom:20px;
	}
	#dentistry-index p, #dentistry-index h1, #dentistry-index h2, #dentistry-index h3 {
		margin:0 45px 10px 250px;
		}
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:32px;
	clear:both;
	width:100%; /* fix for Safari */
	}

	
/* header framework
 * ------------------------------------------------------------------------- */

#header-graphic { height:313px; position:relative; } /* sets height for all non-flash headers */

	#header-graphic a {	
		position:absolute;
		left:382px;
		top:24px;
		width:359px;
		height:121px; 
		}
	#header-graphic a span {
		display:none;
		}
		
	body#index #header-graphic { background:url("../images/header1.jpg") no-repeat; }
	body#about #header-graphic { background:url("../images/header2.jpg"); }
	body#cosmetic #header-graphic { background:url("../images/header3.jpg"); }
	body#restorative #header-graphic { background:url("../images/header4.jpg"); }
	body#technology #header-graphic { background:url("../images/header5.jpg"); }
	body#contact #header-graphic { background:url("../images/header6.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header6.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header1.jpg"); }

/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:80px; } /* sets height for all subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg") no-repeat; }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#restorative #subhead { background:url("../images/subhead-restorative.jpg"); }
	body#technology #subhead { background:url("../images/subhead-technology.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg"); }


/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:780px;
	margin:0 auto;
	text-align:center;
	padding-bottom:10px;
	}

#footer p, #footer ul {
	color:#FFFFFF;
	margin:0 45px 10px 38px;
	}

#footer a:link, #footer a:visited { color:#FFFFFF; text-decoration:underline; }
#footer a:hover, #footer a:active { color:#FFFFFF; text-decoration:none;  }

#footer ul {margin-top:10px;}
	#footer ul 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 #FFFFFF;
	}
	#footer ul li.first { border: none; }

/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:780px; 
	height:40px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:40px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 78px; margin-left: 26px;}
#nav-02 { width: 94px;}
#nav-03 { width: 148px;}
#nav-04 { width: 212px;}
#nav-05 { width: 108px;}
#nav-06 { width: 88px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")   -26px -40px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -104px -40px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -198px -40px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -346px -40px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -558px -40px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -666px -40px no-repeat; }