/*--------------------- 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:#ffffff url("../images/bg-body.jpg") top center repeat-x;
	text-align:left;
	font:12px/16px "Trebuchet MS", Arial, Helvetica, sans-serif;
	color:#005e91;
}
blockquote {
	margin-left:10px;
	margin-right:10px;
}
h1 {
	font-size:1.3em;
	color:#92278f;
}
h2 {
	font-size:1.2em;
	color:#92278f;
}
h3 {
	font-size:1.1em;
	color:#35507b;
}
h1 span, h2 span, h3 span {
	display:none;
}
a:link, a:visited {
	color:#92278f;
	text-decoration:underline;
	outline:none;
}
a:hover, a:active {
	color:#0081c6;
	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.jpg") right no-repeat;
}
img.img-left {
	float:left;
	margin:2px 10px 10px 10px;
}
img.img-right {
	float:right;
	margin:0px 190px 10px 0px;
}

/* ------------------------ form elements ------------------------ */
form {
	width:400px;
	margin:10px 0 15px 0; /* set margin left and right below */
}


form div {
	float: left;
	display: inline;
	width: 175px;
	}
	
	
form label {
	font-size:.95em;
}
form br {
	line-height:0;
	height:0;
} /* defaults vertical spacing between fields */
input, textarea, select {
	background-color:#ffffff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #4ba6d7;
	color:#000;
	width:160px; /* 5 pixles smaller than form width !important */
	height:20px;
	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:68px;
	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;
} /* 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.jpg");
	width:64px;
	height:20px;
	border:1px solid #4ba6d7;
	cursor:pointer;
	margin-bottom:5px;
}
/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/bg-wrap-new.jpg") repeat-y;
	width:900px;
	margin:0 auto;

}
/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/header-index.jpg");
	height:361px;
}
/* index page link within #masthead */		
	#masthead a {
	position:absolute;
	left:0px;
	width:900px;
	top:0px;
	height:361px;
}
#masthead a span {
	display:none;
}
/* ------------------------ column-left framework ------------------------ */
#column-left, #top-column-left, #bottom-column-left {
	width:450px;
	float:left;
}
#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl,
#top-column-left p, #top-column-left h1, #top-column-left h2, #top-column-left h3, #top-column-left ul, #top-column-left dl, #bottom-column-left p, #bottom-column-left h1, #bottom-column-left h2, #bottom-column-left h3, #bottom-column-left ul, #bottom-column-left dl{
	margin: 0 28px 10px 21px;
}
/* single column list */
	#column-left ul {
	padding-left:15px;
}
#column-left ul li {
	background:transparent url("../images/bullet.jpg") 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 */
	list-style-type:circle;
}
/* ------------------------ column-right framework ------------------------ */
#column-right, #top-column-right, #bottom-column-right{
	width:450px;
	float:left;
}
	#top-column-right {
		background:url("../images/top-column-right-bg.jpg") no-repeat;
		}
#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl,
#top-column-right p, #top-column-right h1, #top-column-right h2, #top-column-right h3, #top-column-right ul, #top-column-right dl, #bottom-column-right p, #bottom-column-right h1, #bottom-column-right h2, #bottom-column-right h3, #bottom-column-right ul, #bottom-column-right dl{
	margin:0px 40px 10px 20px;
}

#column-right form {
	margin-left:21px;
}
#top-column-right form {
	margin-left:21px;
}
#column-right p em{
	font-style:italic;
}
/* single column list */
	#column-right ul {
	padding-left:15px;
}
#column-right ul li {
	background:transparent url("../images/bullet.jpg") 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 */
	list-style-type:circle;
}
#center{
	height:254px;
	position:relative;
	background:url("../images/special-features.jpg") top no-repeat;
}
#center a.crowns{
	position:absolute;
	left: 21px;
	top: 19px;
	width: 286px;
	height: 203px;
}
#center a.bright-smile{
	position:absolute;
	left: 309px;
	top: 23px;
	width: 287px;
	height: 201px;
}
#center a.restore{
	position:absolute;
	top: 22px;
	left: 599px;
	width: 285px;
	height: 196px;
}

div.bna {
	margin:0 0 10px 20px;
}

 div.bna img { border:1px solid #92278F; padding:2px; margin-right:1px;}

/*
#bna-btn{
	height:200px;
	margin-left:20px;
	position:relative;
	background: url("../images/btn-photos.jpg") no-repeat;
}
*/

body#porcelain #bna-btn{
	background:url("../images/btn-photos-porcelain.jpg") no-repeat;
}
body#cosmetic #bna-btn{
	background:url("../images/btn-photos-bond.jpg") no-repeat;
}
body#technology #bna-btn{
	background:url("../images/btn-photos-cerec.jpg") no-repeat;
}
#bna-btn a{
	position:absolute;
	width: 397px;
	height: 163px;
	left: 2px;
	top: 14px;
}

/* ------------------------ header framework ------------------------ */
#header-graphic {
	height:361px;
	background:url("../images/header-index.jpg");
} 
#header-graphic a {
	float:left;
	width:292px;
	margin-top:87px;
	height:158px;
	margin-left:65px;
}

body#about #header-graphic {background:url("../images/header-1.jpg"); }
body#cosmetic #header-graphic {background:url("../images/header-2.jpg"); }
body#restorative #header-graphic {background:url("../images/header-5.jpg"); }
body#sedation #header-graphic {background:url("../images/header-6.jpg"); }
body#education #header-graphic {background:url("../images/header-4.jpg"); }
body#gallery #header-graphic {background:url("../images/header-3.jpg"); }
body#contact #header-graphic {background:url("../images/header-2.jpg"); }

body#technology #header-graphic {background:url("../images/header-1.jpg"); }
body#tmj #header-graphic {background:url("../images/header-2.jpg"); }
body#dental-health #header-graphic {background:url("../images/header-index.jpg"); }
body#porcelain #header-graphic {background:url("../images/header-4.jpg"); }

#header-graphic a span{
	display:none;
}
/* ------------------------ subhead framework ------------------------ */
#subhead {
	height:50px;
} /* sets height for all subheads */
body#index #subhead {
	background:url("../images/subhead-index-new.jpg"); margin-bottom:20px;
}
body#about #subhead {
	background:url("../images/subhead-about-new.jpg");
}
body#cosmetic #subhead{
	background:url("../images/subhead-cosmetic-new.jpg");
}
body#restorative #subhead{
	background:url("../images/subhead-restorative-new.jpg");
}
body#porcelain #subhead{
	background:url("../images/subhead-porcelain-new.jpg");
}
body#sedation #subhead{
	background:url("../images/subhead-sedation-new.jpg");
}
body#gallery #subhead{
	background:url("../images/subhead-gallery-new.jpg");
}
body#technology #subhead{
	background:url("../images/subhead-technology-new.jpg");
}
body#dental-health #subhead{
	background:url("../images/subhead-dental-new.jpg");
}
body#education #subhead{
	background:url("../images/subhead-education-new.jpg");
}
body#tmj #subhead{
	background:url("../images/subhead-tmj-new.jpg");
}
body#mission #subhead{
	background:url("../images/subhead-mission-new.jpg");
}
body#contact #subhead {
	background:url("../images/subhead-contact-new.jpg");
}
body#thankyou #subhead {
	background:url("../images/subhead-thankyou-new.jpg");
}
body#sitemap #subhead {
	background:url("../images/subhead-sitemap-new.jpg");
}
body#blog #subhead {
	background:url("../images/subhead-blog.jpg");
}

/* ------------------------ subhead framework with varying heights ------------------------ */
#title-meet-the-dr {
	height:45px;
	background:url("../images/meet-the-dr-new.jpg");
}
#click-to-call {
position:relative;
	height:81px;
	margin:0 0 20px 15px;
	background:url("../images/btn-ctc.jpg") no-repeat;
}

#click-to-call a{
	position:absolute;
	height:81px;
	width:241px;

}
/* ------------------------ title framework with varying heights ------------------------- */
#title-contact {
	height:50px;
	background:url("../images/title-contact-new.jpg");
}

#title-newsletter {
	height:50px;
	background:url("../images/title-newsletter.jpg");
}

	body#index #title-contact {
	height:50px;
	background:url("../images/title-contact-home.jpg");
	}
	
	body#gallery #title-contact {
	height:50px;
	background:url("../images/title-contact.jpg");
	}
	
#title-locate{
	height:50px;
	background:url("../images/title-locate-new.jpg");
}
#title-our-procedures {
	height:35px;
	background:url("../images/title-our-procedures.jpg");
}
#title-cosmetic {
	height:35px;
	background:url("../images/title-cosmetic-new.jpg");
}
#title-restorative {
	height:35px;
	background:url("../images/title-restorative-new.jpg");
}
#title-technology {
	height:46px;
	background:url("../images/title-technology-new.jpg");
}
#title-testimonials{
	height:35px;
	margin:10px 0px 10px 1px;
	background:url("../images/title-testimonials-new.jpg");
}
#title-gallery{
	height:50px;
	background:url("../images/title-gallery-new.jpg") no-repeat;
}

body#gallery #title-gallery{
	height:50px;
	background:url("../images/title-gallery.jpg") no-repeat;
}

.divider{
	height:25px;
	margin-left:1px;
	background:url("../images/divider-new.jpg");
}
#logos{
	height:100px;
	background:url("../images/affiliated-logos.jpg");
}
/* ------------------------------------- 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/bottom-wrap-new.jpg") repeat-x;
	width:100%; /* fix for Safar */
	height:135px;
	clear:both; /* important - do not remove */
}
#bottom-border{
	height:10px;
	width:1600px;
	background:url("../images/bottom-border.jpg") repeat-x;
}
/* ------------------------footer framework ------------------------ */
#footer {
	width:900px;
	margin:0 auto;
	text-align:left;
	font-size:10px;
	background:url("../images/footer.jpg") top repeat;
}
#footer p {
	color:#005e91;
	margin-bottom:10px;
}
#footer p.practice-name {
	color:#721f71;
	font-weight:bold;
}
#footer a:link, #footer a:visited {
	color:#721f71;
}
#footer a:hover, #footer a:active {
	color:#721f71;
}
#footer ul {
	margin-left:-6px;
	margin-bottom:10px;
	padding-top:20px;
}
#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 #721f71;
}
#footer li.first {
	border: none;
}
/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */

/* ------------------------ horizontal sprite nav ------------------------ */
#nav {
	background:url("../images/nav.jpg") no-repeat;
	width:900px;
	height:39px;
	margin:0;
	padding:0;
}
#nav span {
	display: none;
}
#nav li, #nav a {
	height:39px;
	display:block;
} /* change height here also */
#nav li {
	float:left;
	list-style:none;
	_display:inline;
	position:relative;
}
#nav-01 {
	width: 56px;
	margin-left: 0px;
}
#nav-02 {
	width: 61px;
}
#nav-03 {
	width: 140px;
}
#nav-04 {
	width: 152px;
}
#nav-05 {
	width: 125px;
}
#nav-06 {
	width: 176px;
}
#nav-07 {
	width: 67px;
}
#nav-08 {
	width: 52px;
}
#nav-09 {
	width: 71px;
}
/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover {
	background:url("../images/nav.jpg") 0px -39px no-repeat;
}
#nav-02 a:hover {
	background:url("../images/nav.jpg") -56px -39px no-repeat;
}
#nav-03 a:hover {
	background:url("../images/nav.jpg") -117px -39px no-repeat;
}
#nav-04 a:hover {
	background:url("../images/nav.jpg") -257px -39px no-repeat;
}
#nav-05 a:hover {
	background:url("../images/nav.jpg") -409px -39px no-repeat;
}
#nav-06 a:hover {
	background:url("../images/nav.jpg") -534px -39px no-repeat;
}
#nav-07 a:hover {
	background:url("../images/nav.jpg") -710px -39px no-repeat;
}
#nav-08 a:hover {
	background:url("../images/nav.jpg") -777px -39px no-repeat;
}
#nav-09 a:hover {
	background:url("../images/nav.jpg") -829px -39px 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:#00a9dd;	/* 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:0px;
	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;
	font-weight:bold;
	padding-left:5px;
}
/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:1.0em;
	color:#fff;
	text-decoration:none;
}
#nav li:hover ul, #nav li.sfHover ul {
	left: auto;
}
/* Hover styles for drop down items */
#nav-02 ul a:hover, #nav-03 ul a:hover, #nav-04 ul a:hover, #nav-06 ul a:hover {
	background-image:none;
	background-color:#c0e9f6;
	color:#0081c6;
	text-decoration:none;
}
/* width of drop down nav - choose width that allows items to display on one line */
#nav-02 ul, #nav-02 li {
	width:75px;
}
#nav-03 ul, #nav-03 li {
	width:140px;
}
#nav-04 ul, #nav-04 li {
	width:150px;
}

#nav-06 ul, #nav-06 li {
	width:120px;
}

#nav-02 ul {margin-left:7px;}
#nav-03 ul {margin-left:7px;}
#nav-04 ul {margin-left:4px;}
#nav-06 ul {margin-left:9px;}

/* ----- Social Media Kit ---------*/
#social-media img { margin:0 0px 20px 20px; }