/*--------------------- 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:#2b587d url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/18px Arial, Helvetica, sans-serif; 
	color:#000;
	}

blockquote { 
	margin-left:25px; 
	margin-right:25px; 
	}

h1, h2, h3	{ font-size:16px; color:#35507b; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#35507b; text-decoration:underline; outline:none; font-weight:bold; }
a:hover,a:active	{ color:#35507b; text-decoration:none; outline:none; font-weight:bold; }

/* ----- classes ----- */

.clear {
	clear:both;
	}

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}

#column-left p.back-to-top {
	text-align:right;
	display:block;
	padding-right:18px;
	background:none;
	}
	
	p.back-to-top a { font-weight:normal; }
	
img.img-left { 
	float:left; 
	margin:0; 
	}
	
img.img-right { 
	float:right; 
	margin:0; 
	}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}
	
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
	
/* ----- global form elements ----- */ 

form {
	width:178px;
	margin:0 0 18px 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 #404040;
	color:#404040;
	width:173px; /* 5 pixels 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: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:0 0 18px 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 */

#contact-main #previous-dentistry { margin-top:80px; }

#contact-main #submit-button { margin-top:20px; }


/* ----- submit button form elements ----- */ 

input.submit, #contact-main input.submit-contact-main { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}



/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:780px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:91px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:31px;
		width:269px;
		top:46px;
		height:35px; 
		}
	#masthead a span {
		display:none;
		}
	
/* ----- column-left ----- */

#column-left {
	background:url("../images/bg-left.jpg") no-repeat;
	width:540px;
	float:left;
	padding-top:39px;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 51px 18px 51px;
		}
		
		#column-left p {
			background:url("../images/bg-p.jpg") repeat-y;
			padding-left:30px;
			}
		
	#column-left form { margin-left:80px; }
	
	/* single column list */
	#column-left ul { padding-left:45px; }
		#column-left ul li {
			list-style-type:disc; 
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }

	/* definition list */
	#column-left dl { padding-left:15px; }
		#column-left dl dt {
			font-weight:bold;
			}
			
		#column-left dl dd {
			list-style-type:disc;
			margin-left:10px;
			}
			
/* ----- column-right ----- */

#column-right {
	width:240px;
	float:left;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 39px 18px 21px;
		}
	#column-right form { margin-left:21px; }
	
	#column-right h2 { color:#415edf; }
	
	#column-right a { color:#000; }
	 
	/* single column list */
	#column-right ul { padding-left:15px; }
		#column-right ul li {
			list-style-type:disc; 
			}

	#column-right ul li ul { margin:0 0 0 5px; }
	
	/* definition list */
	#column-right dl { padding-left:15px; }
		#column-right dl dt {
			font-weight:bold;
			}
		#column-right dl dd {
			list-style-type:disc;
			margin-left:10px;
			}
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg") bottom no-repeat;
	width:780px;
	padding-bottom:78px; 
	}

	
/* header framework
 * ------------------------------------------------------------------------- */

#index #header-graphic { height:213px; background:url("../images/header-graphic.jpg"); }
#contact #header-graphic { height:213px; background:url("../images/header-contact.jpg"); }
#cosmetic #header-graphic { height:213px; background:url("../images/header-cosmetic.jpg"); }
#veneers #header-graphic { height:213px; background:url("../images/header-veneers.jpg"); }
#practice #header-graphic { height:213px; background:url("../images/header-practice.jpg"); }
#restorative #header-graphic { height:213px; background:url("../images/header-restorative.jpg"); }
#sitemap #header-graphic { height:213px; background:url("../images/header-graphic.jpg"); }
#thankyou #header-graphic { height:213px; background:url("../images/header-contact.jpg"); } 

/* ------------------------ title framework with varying heights ------------------------- */
#title-qcontact {
	height:67px;
	background:url("../images/title-qcontact.jpg") ;
	}

body#contact #title-qcontact, body#thankyou #title-qcontact {
	height:67px;
	background:url("../images/title-location.jpg") ;
	}

/* ------------------------------------- Buttons ---------------------------------------- */

#btn-ctc { 
		height:220px;
		display:block;
		background:url("../images/btn-ctc.jpg") no-repeat;	
	}

#btn-ctc a span { display: none; }

#btn-ctc li, #btn-ctc a { height:220px; display:block; } /* change height here also */

#btn-ctc li { float:left; list-style:none; _display:inline; position:relative; }

#btn-ctc { width: 240px; margin-left: 0;}

/*-------------- (-79px) X position of button / (-43px) height of image from above ------------- */
#btn-ctc a:hover { background:url("../images/btn-ctc.jpg")  -0px -220px no-repeat; }


/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:780px;
	margin:0 auto;
	text-align:center;
	color:#fff;
	}

#footer p {
	margin:0 20px 18px 20px;
	}

#footer a { color:#fff; font-weight:normal; }

#footer ul {margin-bottom:18px;}

#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; }

/* Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:780px; 
	height:43px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:43px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 95px; margin-left: 35px;}
#nav-02 { width: 143px;}
#nav-03 { width: 111px;}
#nav-04 { width: 121px;}
#nav-05 { width: 130px;}
#nav-06 { width: 109px;}


/*-------------- (-79px) X position of button / (-43px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -35px -43px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -130px -43px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -273px -43px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -384px -43px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -505px -43px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -635px -43px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -35px -43px no-repeat; }
body#practice #nav-02 { background:url("../images/nav.jpg") -130px -43px no-repeat; }
body#veneers #nav-03 { background:url("../images/nav.jpg") -273px -43px no-repeat; }
body#cosmetic #nav-04 { background:url("../images/nav.jpg") -384px -43px no-repeat; }
body#restorative #nav-05 { background:url("../images/nav.jpg") -505px -43px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -635px -43px no-repeat; }

/* ------------------------ Homepage Featured BNA ---------------------------------------- */

#ftrd-bna {
	background:url("../images/bna-ftrd-procedure.jpg");
	height:247px;
	position:relative;
	}
	
	#ftrd-bna .bna-01 {
		position:absolute;
		width:200px;
		height:84px;
		left:65px;
		top:92px;
		}
	
	#ftrd-bna .bna-02 {
		position:absolute;
		width:200px;
		height:84px;
		left:289px;
		top:92px;
		}
		
		#ftrd-bna span { display:none; }
		
/* ------------------------ Masthead Procedures ---------------------------------------- */

#masthead-procedures {
	background:url("../images/masthead-procedures.jpg");
	height:49px;
	position:relative;
	padding-top:47px;
	}
	
	#masthead-procedures ul {
		margin:0 0 0 44px;
		}
		
		#masthead-procedures ul li {
			float:left;
			height:24px;
			width:135px;
			}
			
			#masthead-procedures ul li a {
				display:block;
				width:135px;
				height:24px;
				}
				
			#masthead-procedures span { display:none; }
		
/* ---------------------- Main Contact Form ---------------------------------------- */
		
#column-left table {
	width:400px;
	table-layout:fixed;
	padding-left:40px;
	text-align:right;
	}
	
#column-left form table tr td.form-text {
	width:200px;
	padding-right:5px;
	}
	
table tr td.form-field {
	width:200px;
	}

/* ---------------------- Thank You Page ---------------------------------------- */

body#thankyou #column-left {
	height:300px;
	}
