/* 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:Helvetica, Arial, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-family:"Times New Roman", Times, serif; font-weight:bold;color:#008062;}
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:#6C8F00;}
a {color:#00775B;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;}
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:800px;margin:0 auto;}
body {margin:1.5em 0;}
div.column {float:left;margin-right: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:#008062;color:#008062;clear:both;float:none;width:auto;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;}

/* 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:260px;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;}
* .success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
.error a {color:#8a1f11;}
.notice a {color:#514721;}
.success a {color:#264409;}
form table {margin-left:15px;}

/* custom */
body {background: url(../images/layout/bg.gif) left top repeat; margin:0;}
* #container {background: url(../images/layout/bd.png) left top repeat-y; position:relative;}
* #sidebar { background: url(../images/layout/sidebar.png) right top no-repeat; width:176px; min-height:210px;}
* #bd { position:relative; width:800px }
* #content { background: url(../images/layout/content.png) left top no-repeat; width:624px; margin-bottom:0; text-align:left; }	
	
	#logo a {
		background: url(../images/layout/clear.gif) top left repeat;
		display: block; 
		height: 160px;
		margin: 0 0 50px 100px;
		overflow: hidden;
		text-indent: -999em;
		width:275px;}
	.home #logo a {margin-bottom:280px;}
	
	#content hr,
	#content p,
	#content h1,
	#content h2,
	#content h3,
	#content dl {margin-left:20px; margin-right:30px;}
	
	#content ul,
	#content ol {margin-left:30px}
	
	#content .grid {margin:0 auto 20px auto; width:420px;}
	#content .grid div {float:left; padding:right: 10px; width:200px;}
	#content .grid p,
	#content .grid img {margin-left:0; margin-right:0}
	
	* .inset {background-color: #A7DFA9; border:1px solid #aaa; float:right; margin: 0 30px 0 10px; width:180px; padding: 10px; }
	.inset p, .inset ul {font-size: .9em; }
	#content .inset p,
	#content .inset h3 {margin-left:10px; margin-right:10px;}
	#content .center, #content .center p {margin: 0 auto; text-align:center;}
	#content .center img {margin: 0 200px 0 0;}
	
	h2 a, h3 a {text-decoration:none;}
	
	img.auto {border: 5px solid #a5b876; float:right; margin:0 35px 10px 15px;}
		
* .flash-replaced {text-align:center; margin-bottom:20px;}
* .flash-replaced .alt {display:none;}
	dl.logos img {margin: 5px 0 20px 0;}
	dt a {font-weight: normal;}
	
	/* page-specific */
* .map {margin: 0 auto 20px auto; width:425px;}
* .home #content {background-image: url(../images/layout/content-home.png)}
* #flash_home {position:absolute; top:0; left:195px;}
* #contact { background:#cd4d42 url(../images/layout/bottom-stripes.gif) top left no-repeat; border-top: 20px solid #000; color: #fff; width:609px; overflow:hidden; margin:0; padding-bottom:20px;}
#contact p { float: left; margin: 20px 0 0 20px; width:180px;}
	


/* navigation */
* #nav {position:absolute; top:210px; left:15px;}
#nav ul {
	list-style: none;
	width: 160px;
	margin: 0;}

#nav li {padding-bottom:1px;}

#nav a {
	background-position: top left no-repeat;
	display: block;
	height: 30px; /* h */
	overflow: hidden;
	text-indent: -999em;
	width: 160px; /* w */
}

/* vertical nav */
#nav a:hover, #nav li:hover a, #nav li.sfhover a {background-position: -160px 0;} /* -w */
#nav li.active a {background-position: -320px 0;} /* -2w */
#nav li.active a:hover, #nav li.active:hover a {background-position: -480px 0;} /* -3w */
#nav li a:active {background-position: -640px 0;} /* -4w */

/* set bg image for each link */
a#home { background-image: url(../images/nav/home.png) }
a#about-our-office { background-image: url(../images/nav/about-our-office.png) }
a#about-orthodontics { background-image: url(../images/nav/about-orthodontics.png) }
a#braces-101 { background-image: url(../images/nav/braces-101.png) }
a#emergency-care { background-image: url(../images/nav/emergency-care.png) }
a#the-game-room { background-image: url(../images/nav/the-game-room.png) }
a#contact-us { background-image: url(../images/nav/contact-us.png) }


/* subnav-flyout */
#nav li ul {
	background: #37943c;
	border: 1px solid #007459;
	left: -9999px;
	position: absolute;
	width: 150px;
	z-index: 10; }
#nav li ul a {
	background: #37943c;
	color: #fff;
	text-decoration: none;
	text-indent:10px;
	height: auto;
	padding:5px 0;
	width: 150px;}
#nav li ul a:hover {background:#008062; color:#fff;}
#nav li:hover ul,
#nav li.sfhover ul {left: auto; margin: -30px 0 0 160px;} /* margin: -h 0 0 w */

* #login { position:absolute; left:26px; top:7px; }
#login a { background: url(../images/nav/patient-login.png) left top no-repeat; display:block; height:40px; width:134px; text-indent:-999px; overflow:hidden; }
#login a:hover {background-position: right top; }


* #ft { background-color: #00775b; border-top: 1px solid #000; text-align: center; width:770px; margin:0 0 0 15px; padding: 15px 0 1px 0; }
* #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 {
float: right;
border: 0;
margin: 0 0 10px 10px}

ul#sesame-games a.button {
float:right;
height:85px;
width:200px}

ul#sesame-games p {
padding-bottom: 1em}

/* edit.com */

ul, ol {
	margin-top:0px;
	margin-bottom:0px;
}

.NormalText, body, td {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
	font-weight: normal;
	text-decoration: none;
	text-transform: none;
	font-style:normal;
}

.GreenText {
	font-family: Times New Roman, "Times", serif;
	font-size: 14px;
	color: #008062;
	font-weight: bold;
}

.SubHeader {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #222;
	font-weight: bold;
}

.SubjectHeader {
	font-family: Times New Roman, "Times", serif;
	font-size: 18px;
	color: #008062;
	font-weight: bold;
}

.PageTitle {
	font-family: Times New Roman, "Times", serif;
	font-size: 24px;
	line-height: 28px;
	color: #008062;
	font-weight: bold;
}

#content table { margin-left: 20px; }
#contact td { color: #FFF; font-size: 10px; margin-right: 35px; }
img.auto_e { border: 5px solid #a5b876; float: right; margin-left: 10px; margin-bottom: 10px; }
