/*--------------------- Last Modified --> 2006.11.10 ---------------------*/
/*-------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------
  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
/*------------------------------------------------------------------------------------*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td,html,label,table,tr,td {margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img,a img,:link img,:visited img {border:0;}
address,caption,cite,code,dfn,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;}
q:before,q:after {content:'';}


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


/* ----- type selectors ----- */ 
body { 
	background:#D1BBA1 url("../images/bg-body-repeat.jpg");
	text-align:center; 
	font:12px/22px Verdana, Arial, Helvetica, sans-serif; 
	color:#013940;
	}

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

h1	{ font-size:1.2em; color:#013940; }
h2	{ font-size:1.1em; color:#013940; }
h3	{ font-size:1.0em; color:#5F7F1E; }

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

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

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

.clear {
	clear:both;
	}

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

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:12px;
	background:url("../images/bullet-back-to-top.gif") right no-repeat;
	font-size:10px;
	}
	
	p.back-to-top a:link, p.back-to-top a:visited { text-decoration:none; }
	p.back-to-top a:hover, p.back-to-top a:active { text-decoration:underline; }
	
p.align-right {
	text-align:right;
	}
		
img.img-left { 
	float:left; 
	margin:0; 
	}
	
img.img-right { 
	float:right; 
	margin:0; 
	}
		
/* ----- global form elements ----- */ 

form {
	width:170px;
	margin:0 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:#FFF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #C8B289;
	color:#013940;
	width:165px; /* 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:11px;
	}
	
select { width:170px; 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:177px; }
	
#contact-main label textarea { height:100px; overflow:auto; }

#contact-business-main { display: none; } /* do not remove */ 


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

input.submit-contact-main { margin:85px 0 5px 243px; }

input.submit { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:60px;
	height:24px;
	border:none;
	cursor:pointer;
	}

input.submit-contact-main {
	background:none;
	border:1px solid #C8B289; 
	width:64px;
	height:22px;
	cursor:pointer;
	}

/* framework
 * ------------------------------------------------------------------------- */
#bg-body {
	background:url("../images/bg-body.jpg") repeat-x;
	width:100%;
	}

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:900px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:100px;
	width:269px;
	float:left;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:0px;
		width:204px;
		top:0px;
		height:76px; 
		}
	#masthead a span {
		display:none;
		}

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

#column-left {
	width:632px;
	float:left;
	position:relative;
	z-index:99;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 42px 20px 82px;
		}
	#column-left form { margin-left:70px; }
	
	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 8px no-repeat;
			padding-left:15px; /* pushes text to the right to display bg img */
			width:488px; /* fixes peek-a-boo bug in IE */
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }

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

#column-right {
	width:268px;
	float:left;
	line-height:17px;
	position:relative;
	z-index:99;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 73px 20px 27px;
		}
	#column-right form { margin-left:26px; }
	 
	/* 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 */
			}

	#column-right ul li ul { margin:0 0 0 5px; }

body#thankyou #column-right { height:550px; }
		
/* header framework
 * ------------------------------------------------------------------------- */
#header-wrap {
	width:900px;
	}
	
#header-graphic { width:631px; height:355px; background:url("../images/header-graphic.jpg"); float:left; position:relative; }
	#header-graphic a { position:absolute; width:121px; height:78px; left:509px; top:0; }
		#header-graphic span { display:none; }
   body#about #header-graphic { width:631px; height:355px; background:url("../images/header-about.jpg"); float:left; position:relative; }
   body#blog #header-graphic { width:631px; height:355px; background:url("../images/header-about.jpg"); float:left; position:relative; }
   body#orthodontics #header-graphic { width:631px; height:355px; background:url("../images/header-orthodontics.jpg"); float:left; position:relative; }
   body#articles #header-graphic { width:631px; height:355px; background:url("../images/header-articles.jpg"); float:left; position:relative; }
   body#technology #header-graphic { width:631px; height:355px; background:url("../images/header-technology.jpg"); float:left; position:relative; }
   body#contact #header-graphic { width:631px; height:355px; background:url("../images/header-contact.jpg"); float:left; position:relative; }
   body#sitemap #header-graphic { width:631px; height:355px; background:url("../images/header-sitemap.jpg"); float:left; position:relative; }
   body#thankyou #header-graphic { width:631px; height:355px; background:url("../images/header-graphic.jpg"); float:left; position:relative; }
   
/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:135px; } /* sets height for all non-flash subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#blog #subhead { background:url("../images/subhead-blog.jpg"); }
	body#technology #subhead { background:url("../images/subhead-technology.jpg"); }
	body#orthodontics #subhead { background:url("../images/subhead-orthodontics.jpg"); }
	body#articles #subhead { background:url("../images/subhead-articles.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"); }


/* ------------------------ title framework with varying heights ------------------------- */
#title-qcontact {
	height:208px;
	background:url("../images/title-qcontact.jpg") ;
	margin-bottom:-125px;
	}

body#contact #title-qcontact, body#thankyou #title-qcontact {
	height:208px;
	background:url("../images/title-locate.jpg") ;
	margin-bottom:-125px;
	}
	
#title-location {
	background:url("../images/title-location.gif");
	height:22px;
	margin-top:96px;
	}

/* ------------------------------------- Banner Mission Statement---------------------------------------- */
#banner-mission {
	height:181px;
	background:url("../images/banner-mission.jpg") top right no-repeat ;
	}

/* ------------------------------------- Buttons ---------------------------------------- */
.btn-read-more {
		height:25px;
		width:76px;
		display:block;
		background:url("../images/btn-read-more.jpg") no-repeat;	
		}
		
		.btn-read-more span { display:none; }

/* ------------------------------------- Directions ---------------------------------------- */

#img-directions {
	background:url("../images/img-directions.gif");
	width:218px;
	height:168px;
	display:block;
	}
	
	#img-directions span { display:none; }


/* ----- bottom-wrap ----- */
#bg-bottom-wrap {
	background:#C0986D url("../images/bg-bottom-wrap.jpg") repeat-x;
	width:100%;
	color:#fff;
	padding-bottom:10px;
	margin-top:-180px;
	}
 
	#bg-bottom-wrap a { color:#fff; }
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:489px;
	width:900px;
	margin:0 auto; 
	}

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:900px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	margin:0 50px 10px 50px;
	}

#footer ul {margin-bottom: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; }

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

#nav-technology {
	background:url("../images/nav-technology.jpg") top left no-repeat;					
	width:269px;		/* Width of buttons, not entite image (or half of entire image) */
	height:255px;		/* Height of entire image */
	margin:0;
	padding:0;
	float:left;
	}

#nav-technology li span { display: none; }

#nav-technology li { float:left; list-style:none; position:relative; }

#nav-technology li, #nav-technology a { 
	height:53px;			/* Each button must have the same height, define it here */
	display:block;
	}

li#nav-technology-03, #nav-technology-03 a { 
	height:52px;			
	display:block;
	}

li#nav-technology-04, #nav-technology-04 a { 
	height:51px;			
	display:block;
	}

li#nav-technology-05, #nav-technology-05 a { 
	height:46px;			
	display:block;
	}

/* margin-top if there is a spacing between each nav-technology button */
#nav-technology-01, #nav-technology-02, #nav-technology-03, #nav-technology-04, #nav-technology-05 { margin-top:0; width:269px; }

#nav-technology-01 a:hover { background:url("../images/nav-technology.jpg") -269px  0px no-repeat; }
#nav-technology-02 a:hover { background:url("../images/nav-technology.jpg") -269px -53px no-repeat; }
#nav-technology-03 a:hover { background:url("../images/nav-technology.jpg") -269px -106px no-repeat; }
#nav-technology-04 a:hover { background:url("../images/nav-technology.jpg") -269px -158px no-repeat; }
#nav-technology-05 a:hover { background:url("../images/nav-technology.jpg") -269px -209px no-repeat; }

/* Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:900px; 
	height:58px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

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

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

#nav-01 { width: 82px; margin-left:50px;}
#nav-02 { width: 167px; margin-left:5px;}
#nav-03 { width: 116px; margin-left:5px;}
#nav-04 { width: 131px; margin-left:5px;}
#nav-05 { width: 155px; margin-left:5px;}
#nav-06 { width: 124px; margin-left:5px;}


/*-------------- (-79px) X position of button / (-58px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -50px -58px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -137px -58px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -309px -58px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -430px -58px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -566px -58px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -726px -58px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#about #nav-02 { background:url("../images/nav.jpg") -137px -58px no-repeat; }
body#technology #nav-03 { background:url("../images/nav.jpg") -309px -58px no-repeat; }
body#orthodontics #nav-04 { background:url("../images/nav.jpg") -430px -58px no-repeat; }
body#articles #nav-05 { background:url("../images/nav.jpg") -566px -58px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -726px -58px no-repeat; }

/********** blog ***************/

div.meta, div.feedback{
	margin-left:82px;
	font-size:11px;
	font-weight:bold;
}

div.feedback{
	margin-bottom:10px;
}

#column-left h3.storytitle{
	margin-bottom:0px;
}

#column-right div#menu{
	width:218px;
}

#column-right div#menu ul{
	padding:0px;
}

#column-right div#menu ul li{
	background:none;
	margin-top:10px;
	padding:0px;
}

#column-right div#menu ul li ul{
	margin-left:10px;
}

#column-right div#menu ul li ul li{
	margin-top:0px;
}

#column-right form#searchform{
	margin:0px;
	padding:0px;
	width:150px;
}

#column-right form#searchform input{
	width:130px;
}

#column-left form#commentform{
	margin-left:82px;
}

#column-left form#commentform textarea{
	width:250px;
}

#column-left ol{
	list-style-type:decimal;
	list-style-position:inside;
	margin-left:82px;
	margin-bottom:10px;
	padding-left:5px;
}

body#blog #column-left em{
font-style:normal;
}

#column-right #bloglink {
	background:url(../images/blog_btn.jpg) no-repeat; 
	width:268px; 
	height:48px; 
	position:relative; 
	float:left; 
	margin:0px 0px 10px 0px;;
	padding:0px;
	
	}
#column-right #bloglink li { position:absolute; top: 0; background:none; 
	margin:0px;
	padding:0px;
}
#column-right #bloglink li, #column-right #bloglink a { height:54px; display:block; }
#column-right #bloglink span { display:none; }

#column-right #bloglink-01 { width: 268px; }

#column-right #bloglink-01 a:hover { background: transparent url(../images/blog_btn.jpg) -0px -48px no-repeat; }

