/* 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, fieldset, form, label, 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;}
body {line-height:1.5;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

/* typography */
body {font-size:75%;color:#222;background:#fff;font-family:Arial, Helvetica, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#b10f1d;}
h1 {font-size:2em;line-height:1;margin-bottom:0.5em;}
h2 {font-size:1.5em;margin-bottom:0.75em;}
h3, dt {font-size:1.2em;line-height:1;margin-bottom:1em;}
h4 {font-size:1em;line-height:1.25;margin-bottom:1.25em;height:1.25em;}
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
h6 {font-size:1em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p {margin:0 0 1.5em;}
p img {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
a:focus, a:hover {color:#000;}
a {color:#009;text-decoration:underline;}
blockquote {margin:1.5em;color:#666;font-style:italic;}
strong {font-weight:bold;}
em, dfn {font-style:italic;}
dfn {font-weight:bold;}
sup, sub {line-height:0;}
abbr, acronym {border-bottom:1px dotted #666;}
address {margin:0 0 1.5em;font-style:italic;}
del {color:#666;}
pre, code {margin:1.5em 0;white-space:pre;}
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
li ul, li ol {margin:0 1.5em;}
ul, ol {margin:0 1.5em 1.5em 1.5em;}
ul {list-style-type:disc;}
ol {list-style-type:decimal; margin-left:2em;}
dl {margin:0 0 1.5em 0;}
dl dt {font-weight:bold;}
dd {margin-left:1.5em;}
table {margin-bottom:1.4em;width:100%;}
th {font-weight:bold;background:#C3D9FF;}
th, td {padding:4px 10px 4px 5px;}
tr.even td {background:#E5ECF9;}
tfoot {font-style:italic;}
caption {background:#eee;}
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
.hide {display:none;}
.quiet {color:#666;}
.loud {color:#000;}
.highlight {background:#ff0;}
.added {background:#060;color:#fff;}
.removed {background:#900;color:#fff;}
.first {margin-left:0;padding-left:0;}
.last {margin-right:0;padding-right:0;}
.top {margin-top:0;padding-top:0;}
.bottom {margin-bottom:0;padding-bottom:0;}

/* grid */
#container, .container {width:770px;margin:0 auto;}
body {margin:1.5em 0;}
div.column {float:left;margin:0;}
div.last {margin-right:0;}
div.border {padding-right:4px;margin-right:5px;border-right:1px solid #eee;}
.box {padding:1.5em;margin-bottom:1.5em;background:#E5ECF9;}
hr {background:#5697AA;color:#5697AA;clear:both;float:none;width:100%;height:.1em;margin:0 0 1.45em;border:none;}
hr.space {background:#fff;color:#fff;}
.clearfix:after, .container:after {content:".";display:block;height:0;clear:both;visibility:hidden;}
.clearfix, .container {display:inline-block;}
* html .clearfix, * html .container {height:1%;}
.clearfix, .container {display:block;}
.clear {clear:both;}

/* sub-grid */
.grid, .grid-b, .grid-c, .grid-d, .grid-e, .grid-f {width:500px;} /* g-width */
.grid div, .grid-b div, .grid-c div, .grid-d div, .grid-e div, .grid-f div {float:left; margin-right:15px;} /* g-margin */
.grid div {} /* .5 g-width - g-margin */
.grid-b div, .grid-c div.last, .grid-d div {}	/* .33 g-width - 3*g-margin */
.grid-c div, .grid-d div.last {} /* .66 g-width - g-margin */
.grid-e div, .grid-f div.last {} /* .75 g-width - g-margin */
.grid-e div.last, .grid-f div {} /* .25 g-width - g-margin */

/* forms */
label {font-weight:bold;}
fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
legend {font-weight:bold;font-size:1.2em;}
input.text, input.title, textarea, select {margin:0.5em 0;border:1px solid #bbb;}
input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
input.text, input.title {width:300px;padding:5px;}
input.title {font-size:1.5em;}
textarea {width:390px;height:120px;padding:5px;}
.error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;width:275px;}
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
.error a {color:#8a1f11;}
.notice a {color:#514721;}
.success a {color:#264409;}

/* custom */
body {background: #8FADB5 url(../images/layout/bg.png) left top repeat-x; border-bottom:1px solid #60385d;}

#container {position:relative;}

#hd {background: url(../images/layout/hd.png) center top no-repeat; height:183px;}

#bd {background:#f6fbab url(../images/layout/bd.png) left bottom repeat-x;}	

#logo {width:349px; height:114px; margin-left:6px;}

#logo a {
	background: url(../images/layout/logo.png) top left no-repeat;
	display:block; 
	height:114px;
	overflow: hidden;
	text-indent: -999em;
	width:349px;}

#content 
{
	width:530px; 
	margin-top:33px;
	min-height: 775px;
}

	.flash-replaced {margin-bottom:20px; text-align:center;}
	.flash-replaced .alt {display:none;}
	dl.logos img {margin: 5px 0 20px 0;}
	dt a {display:block; font-weight:normal; margin-bottom:5px;}
	.map {margin-bottom:1em;}
	
	/* page-specific */
	.home #content {margin-top:13px;}
	
	/* images */
	img.border {border:1px solid #ccc;}
	img.auto {float: right; margin: 0 0 0 15px; border:1px solid #ccc;}

#sidebar {background: url(../images/layout/sidebar.gif) left top repeat-x; width:220px;}	
	#sidebar .contact {background: url(../images/layout/call-out.png) top left no-repeat; color:#452843; padding:75px 10px 0 20px; margin:20px 0 0 20px; font-size:.9em; min-height:237px;}
	
	#subnav {background: url(../images/layout/subnav-top.png) top left no-repeat; margin:13px 0 0 20px; padding-top:24px;}
	#subnav ul {background: url(../images/layout/subnav-bottom.png) bottom left no-repeat; padding-bottom:37px; list-style-type:none; margin:0;}
	#subnav li, #subnav h3 {background: url(../images/layout/subnav-middle.png) top left repeat-y;}
	#subnav h3 {color:#f3fb76; padding-left:20px; margin:0; font-weight:bold;}
	#subnav a {color:#fff; display:block; padding-left:20px; text-decoration:none; padding-right:20px;}
	#subnav a:hover {text-decoration:underline;}
	#subnav li.active a {background: url(../images/layout/subnav-active-arrow.png) top left no-repeat; font-weight:bold;}
	.home #subnav {position:relative; top:-10px;}
	.home #subnav li {font-weight:bold; font-size:1.2em;}

/* navigation */
#nav {position:absolute; top:147px; left:18px;}
 
#nav ul {
	height:36px;
	list-style: none;
	width: 100%;
	margin:0;
	padding:0;
}

#nav li {
	float: left;
}

#nav a {
	background: url(../images/nav/home.png) top left no-repeat;
	display: block;
	float: left;
	height: 36px; /* h */
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-indent: -999em;
	width:90px;
}

/* horizontal nav */
#nav a:hover, #nav li:hover a, #nav li.sfhover a {background-position: 0 -72px;} /* -h */
#nav li.active a {background-position: 0 -36px;} /* -2h */

/* set bg image for each link */
a#our-office {background-image:url(../images/nav/our-office.png); width:108px;}
a#new-patients {background-image:url(../images/nav/new-patients.png); width:122px}
a#teeth-101 {background-image:url(../images/nav/teeth-101.png); width:99px;}
a#pediatric-dentistry {background-image:url(../images/nav/pediatric-dentistry.png); width:163px;}
a#treatments {background-image:url(../images/nav/treatments.png); width:108px;}
a#fun-and-games {background-image:url(../images/nav/fun-and-games.png); width:132px;}


#util {position:absolute; top:0; right:40px;}
 
#util ul {
	list-style: none;
	margin:0;
	padding:0;
	width:153px;
	height:122px;
}

#util a {
	display:block;
	overflow: hidden;
	text-indent: -999em;
	width:153px;
}

a#patient-login {background-image:url(../images/nav/patient-login.png); height:49px;}
a#patient-login:hover {background-position: 0 -49px;} 
a#contact-us {background-image:url(../images/nav/contact-us.png); height:35px;}
a#contact-us:hover {background-position: 0 -35px;}
li.active a#contact-us {background-position: 0 -70px;}
a#home {background-image:url(../images/nav/home.png); height:38px;}
a#home:hover {background-position: 0 -38px;}
li.active a#home {background-position: 0 -76px;}


/* subnav-flyout */
#nav li ul {
	color:#dfe76c;
	border:1px solid #c3ca5f;
	left: -9999px;
	position: absolute;
	width: 160px;
	z-index: 10; }
#nav li li {float:none;}
#nav li ul a {
	height: 30px;
	float:none;
	text-decoration: none;
	text-indent:0;
	width: 160px;}
#nav li ul a:hover {background:#ffeeb5; color:#51526a;}
#nav li:hover ul,
#nav li.sfhover ul {left: auto; margin: 36px 0 0 0;} /* margin: -h 0 0 w */

#ft {text-align: center; background: #60385d url(../images/layout/ft.png) top left repeat-x; border-bottom:1px solid #60385d; margin-bottom:1px; padding-top:10px;}
#ft, #ft a {color: #fff; text-decoration:none;}
#ft a:hover {color: #ccc;}

/*games*/
div#sesame-game {
background: #000;
line-height: 0;
margin: 10px auto 30px auto;
text-align: center;
width: 400px}

ul#sesame-games {
list-style: none;
margin: 0 18px 0 0;
padding: 0}

ul#sesame-games li {
clear: both;
display: block}

ul#sesame-games img {
border: 0;
float: right;
margin: 0 0 10px 10px}

ul#sesame-games a.button {
float:right;
height:85px;
width:200px}

ul#sesame-games p {
padding-bottom: 1em}

/*anatomy of a tooth*/
#anatomy-of-a-tooth-diagram {background: url(../images/anatomy-of-a-tooth/anatomy-of-a-tooth-bg.gif); height: 525px; position: relative; width: 300px; margin-bottom:20px;}
#anatomy-of-a-tooth-diagram a {cursor: help; display: block; position: absolute}
#anatomy-of-a-tooth-diagram 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}
#bd #anatomy-of-a-tooth-diagram a img {border: none; display: block; height: 0; position: absolute; width: 0; margin:0; padding:0;}
#bd #anatomy-of-a-tooth-diagram 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}