	/*--------------------- 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:#999966 url("../images/bg-body.gif") top repeat-x;
	text-align:center; 
	font:12px/16px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#1F1681;
	}

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

h1	{ font-size:1.2em; color:#1F1681; }
h2	{ font-size:1.1em; color:#1F1681; }
h3	{ font-size:1.0em; color:#1F1681; }

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

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

/* ------------------------ classes ------------------------ */
.clear	{ 
	clear:both;
	}

div.clear	{ 
	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;
	}

img.img-left { 
	float:left; 
	margin:2px 10px 10px 0px;
	}

img.img-right { 
	float:right; 
	margin:5px 0px 10px 10px; 
	}

img.img-left-col {
	margin:10px 0px 10px 0px;
	}
	
.homepage-contactus {
	margin-left:103px;
	}
	
.inside-contactus {
	margin-left:25px;
	}

/* ------------------------ form elements ------------------------ */
form {
	width:150px;
	margin:10px 0 15px 0; /* set margin left and right below */
	}
	body#index form#contact-quick-index {
		width:310px;
		margin-left:72px;
		}
		
#form-left-side {float:left;}
#form-right-side {float:left; padding-top:15px;}
form label	{ font-size:.95em; } 

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

form#contact-quick fieldset {padding-left:60px;}

input, textarea, select { 
	background-color:#ffffff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #1F1681;
	color:#1F1681;
	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:"Trebuchet MS", 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 */ 


/* ------------------------ SPECIFIC ELEMENTS ------------------------ */

/* ------------------------ 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; height:20px; } /* fixes display issue - 5px larger than input field */

#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; } /* defines placement of contact-main submit button */

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.gif");
	width:64px;
	height:20px;
	border:1px solid #1F1681;
	cursor:pointer;
	}

label select#how_did_you_hear_about_our_practice, label select#how_did_you_find_our_website {line-height:20px;}

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/bg-wrap.jpg") 0px 0px repeat;
	width:750px;
	margin:0 auto;
	margin-top:10px;
	text-align:left;
	}

/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.gif");
	height:99px;
	}
	/* index page link within #masthead */		
	#masthead a {
	position:absolute;
	left:21px;
	width:323px;
	top:18px;
	height:68px;
		}
	#masthead a span {
		display:none;
		}

/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:295px;
	float:left;
	}

	#column-left p, 
	#column-left h1, 
	#column-left h2, 
	#column-left h3, 
	#column-left ul, 
	#column-left dl {
		margin:0px 10px 10px 20px;
		}

	#column-left form { margin-left:0px; } /* set form margin here */

	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.gif") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px; /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-left ul { padding-left:5px; } 
		#column-left ul li { 
			background:transparent url("../images/bullet.gif") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			float:left;
			width:150px; /* sets the width of each column */
			line-height:20px; 
			}

	/* 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.gif") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}

/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:455px;
	float:left;
	}

	#column-right p, 
	#column-right h1, 
	#column-right h2, 
	#column-right h3, 
	#column-right ul, 
	#column-right dl {
		margin:0px 20px 10px 10px;
		}

	#column-right form { margin-left:0px; }

	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.gif") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			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.gif") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			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.gif") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}


/* ------------------------ subhead framework ------------------------ */
#subhead { height:44px; } /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.gif") 73px 0px no-repeat; }
	body#about #subhead { background:url("../images/subhead-about.gif") no-repeat; }
	body#contact #subhead { background:url("../images/subhead-contact.gif") no-repeat; }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.gif") no-repeat; }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.gif") no-repeat; }

/* ------------------------ subhead framework with varying heights ------------------------ */
#subhead-meet-doc {
	height:55px;
	background:url("../images/subhead-meet-doc.gif") ;
	}
#subhead-quote {
	background: url("../images/pull_quote2.gif") 80px 0px no-repeat;
	height:21px;
	}
/* ------------------------ title framework with varying heights ------------------------- */
#title-contact {
	height:55px;
	background:url("../images/title-contact.gif") ;
	}

#title-our-procedures {
	height:35px;
	background:url("../images/title-our-procedures.gif") ;
	}

/* ------------------------------------- Buttons ---------------------------------------- */
#btn-special-offer {
		height:186px;
		display:block;
		background:url("../images/dental-btn-special-offer.gif") no-repeat;	
		}
		#btn-special-offer:hover {
				background:url("../images/dental-btn-special-offer.gif") -100px 0 no-repeat; /* -100px = horizontal img shift, 0px = vertical shift from top */
				}
		#btn-special-offer span { display:none; }


/* ------------------------ bottom-wrap framework ------------------------ */
/* ------------ must have below column-left and column-right to clear the float ------------ */
#bottom-wrap {
	background:url("../images/bottom-wrap.gif") repeat-x;
	width:100%; /* fix for Safar */
	height:18px;
	clear:both; /* important - do not remove */
	}

/* ------------------------footer framework ------------------------ */
#footer {
	background: url("../images/bg-footer.gif") repeat-y;
	width:750px;
	margin:0 auto;
	text-align:center;
	padding-bottom:10px;
	}

#footer p {
	color:#ffffff;
	margin:0 15px 10px 15px;
	}

#footer a:link, #footer a:visited { color:#ffffff; }
#footer a:hover, #footer a:active { color:#ffffff; }

#footer ul {margin:0px 10px 10px 10px; padding-top:10px;}
	#footer li { /* if your li's float, you can adjust border height w/ line-height */
		padding:0 5px 0 7px; /* adjusts the spacing between each li display and border-left */
		display: inline;
		border-left: 1px solid #ffffff;
		}
	#footer li.first { border: none; }
	
#footer p.footer-last-p {margin-bottom:0px;}	

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */

/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:750px; 
	height:29px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

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

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

#nav-01 { width:55px;}
#nav-02 { width: 132px;}
#nav-03 { width: 135px;}
#nav-04 { width: 148px;}
#nav-05 { width: 92px;}
#nav-06 { width: 102px;}
#nav-07 { width: 86px;}

/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -0px -29px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -55px -29px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -187px -29px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -322px -29px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -470px -29px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -562px -29px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -664px -29px no-repeat; }

/*-------------- OPTIONAL - Keeps the hover state on each page based on body id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -0px -29px no-repeat; }
body#about-practice #nav-02 { background:url("../images/nav.jpg") -55px -29px no-repeat; }
body#cosmetic-dentistry #nav-03 { background:url("../images/nav.jpg") -187px -29px no-repeat; }
body#restorative-dentistry #nav-04 { background:url("../images/nav.jpg") -322px -29px no-repeat; }
body#invisalign #nav-05 { background:url("../images/nav.jpg") -470px -29px no-repeat; }
body#smile-gallery #nav-06 { background:url("../images/nav.jpg") -562px -29px no-repeat; }
body#contact #nav-07 { background:url("../images/nav.jpg") -664px -29px no-repeat; }
/* ------------------------ son of suckerfish: horizontal sprite nav ------------------------ */
#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px; /* Fixes one px spacing for border-right in FF */
	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; }
