/* reset */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
a, img {border:none; outline: none;}
.hide {display:none;}

/* Layout */
body {background: #420027 url(../images/body-bg.jpg) no-repeat top center;}
#container {width: 960px; position: absolute; left: 50%; margin-left: -480px;}
#banner {background: url(../images/banner.jpg) no-repeat; height: 128px;}
#content-wrap {background: #fff url(../images/content-bg.jpg) no-repeat; margin-top: 32px; min-height: 500px; clear: both;}
#content {width: 658px; margin: 0 0 0 22px; float: left;}
#callouts {background: url(../images/callout-bg.jpg) no-repeat; width: 120px; margin: 45px 0 0 50px; padding: 20px 30px 0 30px; float: left;}
#footer {background: #420027 url(../images/footer-bg.jpg) no-repeat; padding: 85px 20px 0 20px; min-height: 308px; text-align: center; clear: both;}
#address {background: url(../images/contact-info.gif) no-repeat; width: 409px; height: 29px; margin: 0 102px 0 0; padding: 0; text-indent: -999em; overflow: hidden; float: right;}

.right {float: right;}
.left {float: left;}

div.hr {height: 0px; background-color: #420027; border: solid 1px #420027; border-width: 1px 0 0 0; margin: 20px 0; padding: 0; clear: both;}
hr {display: none; height: 0px; background-color: #420027; border: solid 1px #420027; border-width: 1px 0 0 0; clear: both;}

div.side-box {background-color: #fff; width: 165px; border: solid 1px #420027; margin: 0 0 15px 15px; padding: 15px; float: right; clear: right;}


/* Images */
img {border: none; outline: none;}
.photo {margin: 45px 0 0 50px; float: left;}
.img-border {border: solid 1px #420027;}
.img-left {margin: 5px 15px 15px 0; float: left; clear: left;}
.img-left-border {border: solid 1px #420027; margin: 5px 15px 15px 0; float: left; clear: left;}
.img-right {margin: 5px 0 15px 15px; float: right; clear: right;}
.img-right-border {border: solid 1px #420027; margin: 5px 0 15px 15px; float: right; clear: right;}
.img-center-border {border: solid 1px #420027; margin: 10px auto; display: block;}
.logo {padding: 10px; background-color: #fff;}
.layout {display: block;}

/* Typo */
body {font-size: .75em; line-height: 1.67em; color: #333; font-family: Georgia, "Times New Roman", Times, serif;}
blockquote {margin: 0 30px 18px 30px;}
sup {font-size: .5em;}
p {margin: 0 0 18px 0;}

/* Links */
a {color: #009999;}
a:hover {text-decoration: none; color: #666;}
.text_nav a {margin: 0; color: #66cccc; margin: 0 6px;}
.sub_nav a {color: #009999; margin-right: 10px; font-weight: bold;}
.sub_nav a:hover, .sub_nav a.active {color: #666; text-decoration: none;}
.sub_nav a.active {cursor: default;}
a.sesame {color: #cc6699; font-size: .83em;}

.back-to-top {background: url(../images/back-to-top.gif) no-repeat 0 4px; padding-left: 20px; clear: both;}

/* Headings */
h1, h1.jcir {font-size: 2.17em; font-weight: normal; font-family: Georgia, Times New Roman, serif; margin: 0 0 18px 0; color: #48002E;}
h2 {font-size: 1.5em; font-weight: normal; margin: 0 0 18px; color: #335e00;}
h3 {font-size: 1.33em; font-weight: bold; margin: 0 0 18px; color: #660033;}
h4 {font-size: .92em; font-weight: bold; font-style: italic; margin: 0 0 25px; color: #fff;}

h1#logo {background: url(../images/messenger-logo.gif) no-repeat; width: 238px; height: 52px; margin: 29px 0 0 124px; padding: 0; text-indent: -999em; overflow: hidden; float: left;}
h1#logo a {width: 238px; height: 52px; display: block;}

h1.replaced {/* jcIR plugin wraps text in div named replaced and hides it */
	overflow: hidden; 
	text-indent: -999em; 
	background-repeat: no-repeat;
	margin: 45px 0 18px 0;
	}

/* Flash */
.flash {width: 500px; margin: 10px auto;}
.flash-replaced .alt {display:none;}
#flash-homepage {background: url(../images/flash-bg.jpg) no-repeat; width: 960px; height: 250px; margin: 0;}

/* Flash Videos */
.video {border: solid 1px #a0b606;}

/* Lists */
ul, ol {margin: 0 0 18px 30px;}

/* Utility Nav */
#utility-nav {position: absolute; z-index: 3; top: 70px; right: 84px;}
#utility-nav ul {margin: 0; padding: 0; list-style: none;}
#utility-nav li {margin: 0; height: 34px; padding: 0; list-style: none; display: inline; float: left;}
#utility-nav li a {height: 34px; display: block; text-decoration: none; text-indent: -999em; overflow: hidden;}

#patient-login {background: url(../images/nav/patient-login.gif); width: 117px;}
#contact-us {background: url(../images/nav/contact-us.gif); width: 99px;}
#home {background: url(../images/nav/home.gif); width: 75px;}

#utility-nav a:hover, #utility-nav li.active a,
#utility-nav li:hover #patient-login,
#utility-nav li:hover #contact-us,
#utility-nav li:hover #home {background-position: 0 -34px;}

/* Horizontal Navigation */
#nav {background: url(../images/nav/nav-bg.gif) no-repeat; height: 32px; position: absolute; z-index: 2; top: 128px; left: 0;}
#nav ul {margin: 0; padding: 0 0 0 84px; list-style: none;}
#nav li {margin: 0 20px 0 0; height: 32px; padding: 0; list-style: none; display: inline; float: left;}
#nav li a {height: 32px; display: block; text-decoration: none; text-indent: -999em; overflow: hidden;}

#about-our-office {background: url(../images/nav/about-our-office.gif); width: 149px;}
#for-new-patients {background: url(../images/nav/for-new-patients.gif); width: 140px;}
#general-dentistry {background: url(../images/nav/general-dentistry.gif); width: 149px;}
#cosmetic-dentistry {background: url(../images/nav/cosmetic-dentistry.gif); width: 160px;}
#docs-gizmos {background: url(../images/nav/docs-gizmos.gif); width: 115px;}

#nav a:hover, #nav li.active a,
#nav li:hover #about-our-office, #nav li.sfhover #about-our-office,
#nav li:hover #for-new-patients, #nav li.sfhover #for-new-patients,
#nav li:hover #general-dentistry, #nav li.sfhover #general-dentistry,
#nav li:hover #cosmetic-dentistry, #nav li.sfhover #cosmetic-dentistry,
#nav li:hover #docs-gizmos, #nav li.sfhover #docs-gizmos {background-position: 0 -32px;}

/* Drop Down */
#nav li ul {background: #6a0052; margin: 0; padding: 0; width: 200px; border: solid 2px #280021; border-width: 0 0 2px; position: absolute; z-index: 3; left: -999em;}
#nav li:hover ul, #nav li.sfhover ul {left: auto; margin: 0;}
#nav li ul li {display: block; width: 200px; height: 28px; padding: 0; margin: 0; border: solid 1px #7a0f64; border-width: 0 0 1px;}
#nav li ul li:hover, #nav li ul li.sfhover {background: #400037; width: 200px;}
#nav li ul li a {padding: 5px 0 5px 15px; margin: 0; width: auto; height: 18px; display: block; text-indent: 0; font: 1em; font-weight: normal; color: #fff; font-family: arial;}
#nav li ul li a:hover {height: 18px;}

/* Clear Fix */
.clear {clear: both;}
.cf:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.cf {display: inline-block;} /*this trips hasLayout for ie7*/
.cf {display: block;} /*this returns it back to normal*/
* html .cf {height: 1px;}


/* Game Room */
ul#sesame-games {
	list-style: none;
	margin: 0 0 15px 0;
	padding: 0;}
ul#sesame-games li {
	width: 187px;
	height: 79px;
	border: 1px solid #1e3554; /* add hex color to change border color; defaults to BODY Font Color*/
	float: left;
	margin: 0 9px 9px 0;
	overflow: hidden;
	position: relative;
	background: #603329; /*add hex color to match site*/}
ul#sesame-games li p {
	font-size: 11px;
	color: #fff;
	margin: 9px;
	position: relative;}
ul#sesame-games li a {
	position: relative;
	display: block;
	overflow: hidden;
	width: 187px;
	height: 79px;}
ul#sesame-games a img {
	position: absolute;
	top: 0;
	left: 0;
	border: 0;
	width: 187px;
	display: block;}
	
/* Anatomy of tooth */
#anatomy-of-a-tooth {background: url(../images/anatomy-of-a-tooth/anatomy-of-a-tooth-bg.gif); height: 525px; position: relative; width: 300px}
#anatomy-of-a-tooth a {cursor: help; display: block; position: absolute}
#anatomy-of-a-tooth a:hover {background: transparent}
a#bone {height: 20px; left: 30px; top: 380px; width: 40px}
a#cementum {height: 20px; left: 100px; top: 460px; width: 90px}
a#dentin {height: 20px; left: 80px; top: 165px; width: 60px}
a#enamel {height: 20px; left: 165px; top: 135px; width: 60px}
a#gingiva {height: 30px; left: 20px; top: 275px; width: 60px}
a#periodontal {height: 30px; left: 205px; top: 440px; width: 70px}
a#pulp {height: 30px; left: 125px; top: 220px; width: 50px}
a#print {cursor: pointer; height: 23px; left: 240px; top: 502px; width: 60px}
#anatomy-of-a-tooth a img {border: none; display: block; height: 0; position: absolute; width: 0}
#anatomy-of-a-tooth a:hover img {height: 98px; width: 300px}
a#bone:hover img {left: -30px; top: -380px}
a#cementum:hover img {left: -100px; top: -460px}
a#dentin:hover img {left: -80px; top: -165px}
a#enamel:hover img {left: -165px; top: -135px}
a#gingiva:hover img {left: -20px; top: -275px}
a#periodontal:hover img {left: -205px; top: -440px}
a#pulp:hover img {left: -125px; top: -220px}

/*-----------------------------------------------
	Forms 
	*/
	/* Global form styles */
	div.referral-form, div.appointment-form, div.comments {
		width: 100%;
		margin-top: 18px;	
		letter-spacing: normal;
	}
	
	fieldset {border: 0; padding: 9px 0;margin: 0 18px;}
		fieldset h2 {margin: 0 0 9px;}
		fieldset p {margin: 0 0 18px;}
		fieldset p.disclaimer {font-size: 90%; font-style: italic; margin: 0;}
		fieldset dl {}
			fieldset dl dt {font-size: 16px; clear: both; margin: 9px 0 0;}
				fieldset dd ul {margin: 9px 0;}
					fieldset dd ul li, fieldset dd ol li {list-style: none;}
					fieldset dd li {
						clear: both; 
						margin: 3px 0; 
						padding: 5px 0 4px 10%;  
						overflow: auto; 
						height: auto;
						position: relative;
						}
					fieldset dd li:hover {background: #d5e0eb;/* customize me - this is the hover color change of li */}
					fieldset dd li input:hover, fieldset dd li input:focus,
					 fieldset dd li select:hover, fieldset dd li select:focus, 
					 fieldset dd li textarea:hover, fieldset dd li textarea:focus {
					 	background: #f1f1f1;/* customize me - this is the hover color change of form fields*/
					 	outline-color: #537197;/* customize me */
					 	}
						fieldset li h3 {font-size: 12px; line-height: 18px; margin: 0;}
						fieldset li div {float: left; display: inline-block; width: 40%; position: relative; padding-right: 5%;}
						fieldset li div.input-street {width: 85%;}
						fieldset li div.input-city {width: 60%;}
						fieldset li div.input-full-name {width: 85%;}
						fieldset li div.input-phone-full {width: 85%;}
						fieldset li div.input-email {width: 85%;}
						fieldset li div.input-zip {width: 20%;}
						fieldset li div.content-switch, fieldset li div.radio, fieldset li div.checkbox {width: 85%;}
							fieldset li div.radio input {border: none;}
							fieldset li div.radio label {padding-right: 9px; font-size: 90%;}
						/*fieldset li div.hidden-content, fieldset li.hidden-content {display: none;}*/
						fieldset li div.input-select-full {width: 85%;}
						fieldset li div.input-comments {width: 85%;}
							li div.input-comments textarea {height: 63px; overflow: auto;}
						fieldset li div.input-captcha {width: 50%;}
						fieldset li div.verification {width: 35%;}
							li div.verification img {
								border: 1px solid; 
								margin-top: 9px;
								-moz-border-radius: 4px; /*for Moz, optional*/
								-webkit-border-radius: 4px; /*for Webkit Browsers, optional*/
								}
							fieldset li div label {
								line-height: 18px; 
								font-weight: bold; 
								margin-bottom: 9px;
								font-size: 80%; 
								color: #537197;/*override to match site*/
								}
							fieldset li div input, fieldset li div textarea, fieldset li div select {
								display: block; 
								line-height: 18px; 
								width: 100%;
								border: 1px solid;
								padding: 4px 0 3px;
								text-indent: 4px;
								margin-top: 9px;
								-moz-border-radius: 4px; /*for Moz, optional*/
								-webkit-border-radius: 4px; /*for Webkit Browsers, optional*/
								}
							fieldset li div select {height: 25px;}	
							fieldset li div.radio input {display: inline; width: auto; margin-right: 4px;}
							fieldset li div div {width: 100%;}
						fieldset dl dd.form-footer button {/*these styles control the look of the button, change as necessary*/
							clear:both;/*do not change, forces button to sit below floated elements*/
							display: block;
							width: 125px;
							height: 34px;
							text-align: center;
							margin: 0;
							background:#cfdae4;/* customize me! */
							border: 1px solid #537197;
							line-height: 34px;
							color:#537197;/* customize me! */
							font-size:12px;
							font-weight:bold;
							-moz-border-radius: 4px; /*for Moz, optional*/
							-webkit-border-radius: 4px; /*for Webkit Browsers, optional*/
							}
							
					
	/* appointment form 
	* Styles only for the appointment request form
	*/	

	
	/* comment form 
	* Styles only for the comments form
	*/
	/*numbering added by jQuery*/
	fieldset ol li span.comment-number {
		font-size: 150%;
		color: #537197;/* customize me*/
		position: absolute;
		left: 9px;
		top: 9px;
	}
		
	
	/* referral form 
	* Styles only for the referral form
	*/	
	.referral-form fieldset li div.radio {width: 40%;}
	
	/* JQuery */
	input.error, select.error, textarea.error {border-color: #a52003; background: #fefda1;}
	div.error {
		background: url(../images/validate_error.gif) 0 0 no-repeat; 
		color: #a52003; 
		width: 18px; 
		height: 18px; 
		position: absolute; 
		top: 0; 
		right: 0; 
		overflow: hidden; 
		display: block; 
		margin: 12px -2% 0 0; 
		text-indent: -999em;}
	div.success {
		background: url(../images/validate_ok.gif) 0 0 no-repeat; 
		width: 18px; 
		height: 18px; 
		position: absolute; 
		top: 0; 
		right: 0; 
		overflow: hidden; 
		display: block; 
		margin: 12px -2% 0 0; 
		text-indent: -999em;}

	.contact-form div.error, .contact-form div.success {margin-left: 0;}
	
	.procedureslink{ font-size:12px;;}
	.procedureslink a { margin-right:10px;}


/* Home Page Video Button */
a#welcome
{
	background: url(../images/welcome.png) top left no-repeat;
	display: block;
	width: 282px;
	height: 191px;
	float:right;
	margin: 0 0 20px 20px;
}



a#welcome span

{
	position: absolute;
	left: -9999px;
}
