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

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

h1	{ font-size:1.3em; color:#FFEBFE; line-height:1.2em;}
h2	{ font-size:1.2em; color:#FFEBFE; border-bottom:1px solid #FFEBFE; }
h3	{ font-size:1.1em; color:#FFEBFE; }

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

a:link, a:visited	{ color:#F9F9F9; text-decoration:underline; outline:none; font-weight: bold; }
a:hover, a:active	{ color:#F9F9F9; text-decoration:none; outline:none; font-weight: bold; }

/* ------------------------ classes ------------------------ */
.h3-mimic{ font-size:1.1em; color:#FFEBFE; font-weight:bold; }
	

.clear	{ 
	clear:both;
	}

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

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:44px;
	background:url("../images/backtotop.jpg") right no-repeat;
	}

img.img-left { 
	float:left; 
	margin:2px 10px 0px 44px;
	border:2px solid #927D98;
	}
	
img.img-left-index { 
	float:left; 
	margin:2px 10px 0px 0px;
	}
	
img.img-right-docs { 
	float:right; 
	margin:0px 30px 10px 10px;
	}
img.img-right { 
	float:right; 
	margin:0px 30px 0px 10px; 
	}

/* ------------------------ form elements ------------------------ */
form {
	width:160px;
	margin:10px 0 15px 0; /* set margin left and right below */
	}
form.index {
	width:330px;
	margin:10px 0 15px 0; /* set margin left and right below */
	}
form label	{ font-size:.95em; } 

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

input, textarea, select { 
	background-color:#414D52 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #000000;
	color:#CCCCCC;
	width:155px; /* 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:72px; 
	overflow:auto;
	}
	
textarea.right {
	float:right;
	}
	
#contact_business { display: none; } /* do not remove */ 


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

/* ------------------------ main contact form ------------------------ */
#contact-main { margin:20px 0 10px 38px; }

#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:160px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}

#contact-main label select { width:165px; } /* 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:160px;
	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.jpg") ;
	width:160px;
	height:20px;
	border:none;
	cursor:pointer;
	}

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

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/wrap.jpg") repeat-y;
	width:762px;
	margin:0 auto;
	text-align:left;
	}
#wrap-index {
	width:762px;
	margin:0 auto;
	text-align:left;
	}
	
#wrap-column {
	background:url("../images/wrap.jpg") repeat-y;
	width:762px;
	}

#wrap-welcome {
	background:#15272F url("../images/wrap-welcome-index.jpg") repeat-y;
	width:762px;
	}
	
#wrap-inside {
	background:url("../images/wrap-inside.jpg") repeat-y;
	width:762px;
	margin:0 auto;
	text-align:left;
	}
/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/mashead.jpg");
	height:362px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:0px;
		width:0px;
		top:0px;
		height:0px; 
		}
	#masthead a span {
		display:none;
		}
/* ------------------------ ***** INDEX FRAME WORK ***** ------------------------ */

/* ------------------------ column-right-welcome framework ------------------------ */
#column-right-welcome {
	background-color:#15272F;
	width:573px;
	float:left;
	}

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

/* ------------------------ column-left-contact framework ------------------------ */

#column-left-nav {
	width:189px;
	height:520px; /*<------ mod here to match the height of nav with the height of the right col on the index page */
	float:left;
	background-color:#15272F;
	}


/* ------------------------ column-left-contact framework ------------------------ */

#column-left-contact {
	width:381px;
	float:left;
	}

	#column-left-contact p, #column-left-contact h1, #column-left-contact h2, #column-left-contact h3, #column-left-contact ul, #column-left-contact dl{
		margin:0px 38px 10px 23px;
		}
		#column-left-contact img {
		margin:10px 38px 10px 23px;
		}
	#column-left-contact form { margin-left:20px; } /* set form margin here */


/* ------------------------ column-right-treatments framework ------------------------ */


#column-right-treatments {
	width:381px;
	float:left;
	}

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


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

/* ------------------------ column-left-contact framework ------------------------ */
#column-left-professional {
	width:381px;
	float:left;
	}

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

/* ------------------------ column-right-treatments framework ------------------------ */
#column-right-smile {
	width:381px;
	float:left;
	}

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


/* ------------------------ ****** INSIDE PAGE FRAME WORK ****** ------------------------ */

/* ------------------------ column-left-inside framework ------------------------ */
#column-left-inside {
	width:189px;
	float:left;
	background-color:#15272F;
	}

	#column-left-inside p{
		margin:0px 10px 10px 23px;
		}
	#column-left-inside h3{
		margin:25px 10px 10px 23px;
		}		
		#column-left-inside img {
		margin:10px 38px 10px 23px;
		}
		#column-left-inside img.btn-forms {
		margin:10px 0 10px 23px;
		}

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

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

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

/* ------------------------ column-right-inside framework ------------------------ */

#column-right-inside {
	width:573px;
	float:left;
	}

	#column-right-inside p, #column-right-inside h1, #column-right-inside h2, #column-right-inside h3, #column-right-inside ul, #column-right-inside dl {
		margin:0px 30px 10px 44px;
		}
	/* single column list */
	#column-right-inside ul { padding:10px 0 10px 5px; }
		#column-right-inside ul li { 
			background:transparent url("../images/img-bullet.jpg") 0px 4px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:12px; /* pushes text to the right to display bg img */
			}
	/* definition list */
	#column-right-inside dl { padding-left:5px; padding-bottom:15px; }
		#column-right-inside dl dt {
			font-weight:bold;
			}
		#column-right-inside dl dd {
			background:transparent url("../images/img-bullet.jpg") 0px 4px 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;
			}

/* ------------------------ header framework ------------------------ */
#header-flash { height:362px; } /* sets height for the flash header - REMOVE IF NOT USED */
.no-flash-warning {
	text-align:center;
	padding-top:150px;
	}
	

#header-graphic { 
	height:362px; 
	position:relative;
	} /* sets height for all non-flash headers */
	#header-graphic a {	
		position:absolute;
		left:10px;
		width:400px;
		top:0px;
		height:120px; 
		}
	#header-graphic a span {
		display:none;
		}
		
	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	body#about #header-graphic { background:url("../images/header-index.jpg"); }
	body#cosmetic #header-graphic { background:url("../images/header-cosmetic.jpg"); }
	body#whitening #header-graphic { background:url("../images/header-family.jpg"); }
	body#invisalign #header-graphic { background:url("../images/header-family.jpg"); }
	body#gum #header-graphic { background:url("../images/header-family.jpg"); }
	body#veneers #header-graphic { background:url("../images/header-sedation.jpg"); }
	body#family #header-graphic { background:url("../images/header-family.jpg"); }
	body#sedation #header-graphic { background:url("../images/header-dental.jpg"); }
	body#children #header-graphic { background:url("../images/header-children.jpg"); }
	body#dental #header-graphic { background:url("../images/header-sedation.jpg"); }
	body#invisalign #header-graphic { background:url("../images/header-technology.jpg"); }
	body#technology #header-graphic { background:url("../images/header-technology.jpg"); }
	body#faq #header-graphic { background:url("../images/header-index.jpg"); }
	body#financing #header-graphic { background:url("../images/header-cosmetic.jpg"); }
	body#gallery #header-graphic { background:url("../images/header-index.jpg"); }
	body#contact #header-graphic { background:url("../images/header-family.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-index.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-family.jpg"); }


/* ------------------------ subhead framework ------------------------ */
#subhead { height:114px; width:573px; float:left; } /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#whitening #subhead { background:url("../images/subhead-whitening.jpg"); }
	body#invisalign #subhead { background:url("../images/subhead-invisalign.jpg"); }
	body#gum #subhead { background:url("../images/subhead-gum.jpg"); }
	body#veneers #subhead { background:url("../images/subhead-veneers.jpg"); }
	body#family #subhead { background:url("../images/subhead-family.jpg"); }
	body#sedation #subhead { background:url("../images/subhead-sedation.jpg"); }
	body#children #subhead { background:url("../images/subhead-children.jpg"); }
	body#dental #subhead { background:url("../images/subhead-dental.jpg"); }
	body#technology #subhead { background:url("../images/subhead-technology.jpg"); }
	body#faq #subhead { background:url("../images/subhead-faq.jpg"); }
	body#financing #subhead { background:url("../images/subhead-financing.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"); }


/* ------------------------ title framework with varying heights ------------------------- */

#title-contact {
	height:115px;
	background:url("../images/title-contact.jpg") ;
	}
#title-featured{
	height:115px;
	background:url("../images/title-treatments.jpg") ;
	}
#title-professional{
	height:97px;
	background:url("../images/title-professional-smile.jpg") ;
	clear:both;
	}
/* ------------------------------------- Buttons ---------------------------------------- */
#btn-special-offer {
		height:186px;
		display:block;
		background:url("../images/dental-btn-special-offer.jpg") no-repeat;	
		}
		#btn-special-offer:hover {
				background:url("../images/dental-btn-special-offer.jpg") -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/wrap-footer.jpg");
	width:100%; /* fix for Safar */
	height:31px;
	clear:both; /* important - do not remove */
	}

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

#footer p {
	color:#CCCCCC;
	margin-bottom:10px;
	}

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

#footer p a:link, #footer p a:visited { color:#CCCCCC; text-decoration:underline; }
#footer p a:hover, #footer p a:active { color:#CCCCCC; text-decoration:none; }


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

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


/* ------------------------ vertical sprite nav ------------------------ */
#nav {
	background:#15272F url("../images/nav.jpg") top left no-repeat;					
	width:189px;	/* Width of buttons, not entite image (or half of entire image) */
	height:362px;	 /* Height of entire image */
	margin:0;
	clear:both;
	}
#nav li span { display: none; }

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

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

/* margin-top to set where the nav should begin */
#nav-01 { 
	margin-top:36px; 
	width:173px; 
	padding-left:15px; 
	}

/* margin-top if there is a spacing between each nav button */
#nav-02, #nav-03, #nav-04, #nav-05, #nav-06, #nav-07, #nav-08, #nav-09, #nav-10, #nav-11, #nav-12 { 
	margin-top:0; 
	width:173px; 
	padding-left:15px; 
	}

#nav-01 a:hover { background:url("../images/nav.jpg") -204px  -36px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -204px  -61px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -204px  -86px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -204px  -111px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -204px -136px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -204px -161px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -204px -186px no-repeat; }
#nav-08 a:hover { background:url("../images/nav.jpg") -204px -211px no-repeat; }
#nav-09 a:hover { background:url("../images/nav.jpg") -204px -236px no-repeat; }
#nav-10 a:hover { background:url("../images/nav.jpg") -204px -261px no-repeat; }
#nav-11 a:hover { background:url("../images/nav.jpg") -204px -286px no-repeat; }
#nav-12 a:hover { background:url("../images/nav.jpg") -204px -311px no-repeat; }

/* ------------------------ son of suckerfish: vertical sprite nav ------------------------ */
#nav li ul {
	position:absolute;
	left:-9999px;
	background-color:#254250;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	margin-left:173px; /* Set to same width as in #nav */
	margin-top:-26px; /* Set to each button height, same as used above */
	}

#nav li ul li {
	height:26px; /* Height of each drop down nav item */
	border:1px solid #2A4E5E;
	}

#nav li ul li a {
	width:100%;
	height:26px; /* Height of each drop down nav item, should match above */
	line-height:26px;	 /* 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:#CCCCCC;
	text-decoration:none;
	}

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

/* Hover styles for drop down items */
#nav-03 ul a:hover { 
	background-image:none;
	background-color:#16272F;
	color:#CCCCCC;
	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:150px; }		


