/*--------------------- 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
 * ------------------------------------------------------------------------- */

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

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.2em; color:#2D0066; }
h2	{ font-size:1.1em; color:#2D0066; }
h3	{ font-size:1.0em; color:#2D0066; }

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

a:link,a:visited	{ color:#2D0066; text-decoration:underline; }
a:hover,a:active	{ color:#2D0066; text-decoration:none; }

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

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

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 2px 0 10px; 
	}
	
div.gallery-cases {
	margin: 0 15px 5px 33px;
	}

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

form {
	width:135px;
	padding:0 44px 16px 18px;
	}

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

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

input, textarea, select { 
	background-color:#FFFBF3 ! important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #8773A0;
	color:#414141;
	width:130px; /* 5 pixles smaller than form width !important */
	height:18px;
	vertical-align: middle;
	margin-bottom:3px; /* 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: 11px;
	}
	
select { 
	width:155px; /* 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; }

input.submit-image { 
	background:url("../images/btn-submit.jpg");
	width:54px;
	height:22px;
	border:none;
	cursor:pointer;
	margin-left: -2px;
	}

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


/* ----- main contact form ----- */ 

#contact-main {
	width: 390px;
	margin-left: 13px;
}

#contact-main dl {
	margin: 0 0 0 5px;
}
body #contact-main p{
	margin: 0 0 0 5px;
}
#contact-main dl br {
	clear: both;
}

#contact-main dt {
	float: left;
	width: 180px;
	line-height: 18px;
	text-align: right;
	clear:left;
}
#contact-main dd {
	margin: 0 0 5px 190px;
	font-size: 11px;
	line-height: 18px;
	text-align: left;
}
#contact-main dd input, #contact-main dd textarea {
	width:180px;
}
#contact-main dd select {
	width:187px;
}
#contact-main dd input.radio {
	width:13px;
	margin-left: 15px;
	border: none;
}
#contact-main dl dd input.submit-contact-main { 
	background:url("../images/btn-submit-main.gif");
	width:54px;
	height:22px;
	border:none;
	cursor:pointer;
	margin: 0;
	}


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

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:729px;
	margin:0 auto;
	text-align:left;
	}

#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:65px;
	}
	/* home link within #masthead */		
	#masthead a {	
		position:absolute;
		left:188px;
		width:357px;
		top:34px;
		height:31px; 
		}
	#masthead a span {
		display:none;
		}

#wrap-gradient {
	background:url("../images/bg-wrap-gradient.jpg") no-repeat;
	height: 100%;
	}

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

#column-left {
	width:201px;
	float:left;
	font-size: 11px;
	line-height: 14px;
	}	
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3 {
		margin: 0 15px 5px 33px;
		}
		
	#column-left img {
		margin: 0 15px 0 30px;
		}
		
	#subhead-featured {
		background: url("../images/subhead-featured.jpg");
		height: 89px;
		}
		
		#subhead-featured span {
			display:none;
			}

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

#sub-wrap {
	background:url("../images/bg-sub-wrap.jpg") repeat-y;
	width:729px;
	margin:0 auto;
	text-align:left;
	}
	
#sub-wrap-gradient {
	background:url("../images/bg-sub-wrap-gradient.jpg") no-repeat;
	height: 100%;
	}

#sub-column-left {
	width:529px;
	float:left;
	}	
	
	#sub-column-left p, #sub-column-left h1, #sub-column-left h2, #sub-column-left h3 {
		margin: 0 15px 20px 33px;
		}
		
		/* background image list items */
	#sub-column-left ul { 
		margin-left: 35px; 
		margin-bottom: 20px;
		}
	#sub-column-left ul li {
		list-style-type: disc;
		margin-left: 15px;
		}


#bottom-sub-wrap {
	background:url("../images/bottom-sub-wrap.jpg");
	height:37px;
	clear:both;
	width:100%;
	}
		
			
/* ----- column-middle ----- */

#column-middle {
	width:328px;
	float:left;
	 /* background: url("../images/bg-middle-column.jpg") left bottom no-repeat; --this moves image to the bottom when content is added*/ 
	}

	#column-middle p, #column-middle img, #column-middle h1, #column-middle h2, #column-middle h3 {
		margin: 0 7px 20px 13px;
		}
		
	#subhead-index {
		background: url("../images/subhead-index.jpg") no-repeat;
		height: 65px;
		width: 326px;
		}
		
		#subhead-index span {
			display: none;
			}
			
	#subhead-procedures {
		background: url("../images/subhead-procedures.gif") no-repeat;
		height: 35px;
		}
		
		#column-middle h2#subhead-procedures  {
		 margin: 0;
		 }
		
		#subhead-procedures span {
			display: none;
			}
			
		.spacer {
			float: right;
			height: 200px;
			}
	
	/* background image list items */
	#column-middle ul { 
		margin-left: 25px; 
		}
	#column-middle ul li {
		list-style-type: disc;
		margin-left: 15px;
		}

/* ----- column-right ----- */

#column-right {
	width:200px;
	float:left;
	font-size: 11px;
	line-height: 14px;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3 {
		margin: 0 44px 17px 25px;
		}
		
	#subhead-schedule {
		background: url("../images/subhead-schedule.jpg");
		height: 113px;
		}
		
		#subhead-schedule span {
			display: none;
			}

#map {
	position:relative;
	background:url("../images/img-map.gif");
	height:112px;
	}
	/* home link within #masthead */		
	#map a {	
		position:absolute;
		left:41px;
		width:99px;
		top:0;
		height:112px; 
		}
	#map a span {
		display:none;
		}

				
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:37px;
	clear:both;
	width:100%;
	}
	
/* header framework
 * ------------------------------------------------------------------------- */

#header-graphic {
	height:225px; /* sets height for all non-flash headers */
	}
	
	#header-graphic span {
		display: none;
		}

	body#index #header-graphic {
		background:url("../images/btm_bkgrnd.jpg"); 
		}

	body#about #header-graphic {
		background:url("../images/header-about.jpg"); 
		}

	body#cosmetic #header-graphic {
		background:url("../images/header-cosmetic.jpg"); 
		}
		
	body#restorative #header-graphic {
		background:url("../images/header-index.jpg"); 
		}
		
	body#cerec #header-graphic {
		background:url("../images/header-cerec.jpg"); 
		}

	body#gallery #header-graphic {
		background:url("../images/header-gallery.jpg"); 
		}

	body#contact #header-graphic {
		background:url("../images/header-contact2.jpg"); 
		}

	body#thankyou #header-graphic {
		background:url("../images/header-index.jpg"); 
		}

	body#sitemap #header-graphic {
		background:url("../images/header-cosmetic.jpg"); 
		}
		
/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead {
	height:65px; /* sets height for all subheads */
	width: 527px;
	}
	
	#subhead span {
		display: none;
		}

	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#cerec #subhead {
		background:url("../images/subhead-cerec.jpg"); 
		}

	body#gallery #subhead {
		background:url("../images/subhead-gallery.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:729px;
	margin:0 auto;
	text-align:center;
	font-size: 11px;
	}

#footer p {
	color:#414141;
	}

#footer a:link, #footer a:visited {
	color:#414141;
	text-decoration: none;
	}

#footer a:hover, #footer a:active {
	color:#414141;
	text-decoration: underline;
	}

#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 #2D0066;
	}

	#footer li.first { border: none; }

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

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:729px; 
	height:39px; 
	margin-bottom:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:39px; display:block; }

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

#nav-01 { width: 52px; margin-left: 19px;}
#nav-02 { width: 135px;}
#nav-03 { width: 138px;}
#nav-04 { width: 216px;}
#nav-05 { width: 59px;}
#nav-06 { width: 92px;}


/*-------------- (-79px) X position of button / (-39px) height of image from above ------------- */
#nav-01 a:hover {background:url("../images/nav.jpg")  -19px -39px no-repeat;}
#nav-02 a:hover {background:url("../images/nav.jpg") -71px -39px no-repeat;}
#nav-03 a:hover {background:url("../images/nav.jpg") -206px -39px no-repeat;}
#nav-04 a:hover {background:url("../images/nav.jpg") -344px -39px no-repeat;}
#nav-05 a:hover {background:url("../images/nav.jpg") -560px -39px no-repeat;}
#nav-06 a:hover {background:url("../images/nav.jpg") -619px -39px no-repeat;}


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

#nav li ul {
	position:absolute;
	left:-9999px;
	background-color:#720000;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	}

#nav li ul li { 
	height:20px; 				/* Height of each drop down nav item */
	border:1px solid #FF00FF;
	border-top:none;
	}	

#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 {
	font-size:1.0em;
	color:#FFFFFF;
	text-decoration:none;
	}

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

/* Hover styles for drop down items */
#nav-03 ul a:hover, #nav-04 ul a:hover { 
	background-image:none;
	background-color:#AA0000;
	color:#FFFFFF;
	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:260px; }		
#nav-04 ul, #nav-04 li { width:90px; }


