/* 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;}
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;}

/* edit.com visible styles */
BODY, TD, .NormalText { text-decoration: none; font-weight: normal; font-style: normal; font-size: 12px; color: #000; font-family: Arial, Helvetica, sans-serif; }

.Title		{ color: #FFFFFF; font-size: 24px; font-weight: normal; font-family: Arial, Helvetica, sans-serif; }
* .TitlePosition { position:relative; margin:-80px 0 50px 115px; }
.Header		{ color: #78355B; font-size: 17px; font-weight: bold; font-family: Arial, Helvetica, sans-serif; }
.Subheader	{ color: #78355B; font-size: 14px; font-weight: normal; font-family: Arial, Helvetica, sans-serif; }

.Purple		{ color: #78355B; }
.Black		{ color: #000000; }
.White		{ color: #FFFFFF; }

.SmallText	{ font-size: 10px; line-height: 10px; }
.MediumText	{ font-size: 16px; line-height: 16px; }
.LargeText	{ font-size: 24px; line-height: 24px; }

IMG.FloatLeft 	{ float: left; margin: 0 5px 5px 0; }
IMG.FloatRight 	{ float: right; margin: 0 0 5px 5px; }

/* typography */
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#78355b;}
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:visited {color:#925d7b;}
a:focus, a:hover {color:#2b507b;}
a {color:#78355b;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:800px;margin:0 auto;}
body {margin: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:#ddd;color:#ddd;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;}

/* custom */
body {background: #6c95c9 url(../images/layout/bg.png) top left repeat-x;}
* #container {position:relative;}
* #hd {background: url(../images/layout/hd.jpg) top left no-repeat; height:287px;}
* #bd
{
	background: #fff url(../images/layout/bd.png) top left repeat-x;
	margin-left:10px;
	-moz-border-radius-bottomleft: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-right-radius: 10px;
}

* #logo {height:100px; width:440px; position: absolute; top:0; left:15px;}

* #logo a {
	background: url(../images/layout/clear.gif) top left no-repeat;
	display:block; 
	height:100px;
	overflow: hidden;
	text-indent: -999em;
	width:440px;}

* #content {background: url(../images/layout/content.png) top left repeat-y; width:565px; padding-top:20px;}
	* #content h1, * #flash-home-headlines {position:relative; margin:-80px 0 50px 115px;}
	* #content h1 {font-size:2.5em; color:#fff;}
	h4.subnav {margin-bottom:0; font-weight:bold; clear: both;}
	* .flash-replaced {margin-bottom:20px; text-align:center;}
	* .flash-replaced .alt {display:none;}
	* .notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
	* .notice a {color:#514721;}
	div.map {margin-bottom:1em;}
	ul.logos {margin:0; list-style:none;}
	ul.logos li {float:left; margin:0 20px 15px 0;}

	/* page-specific */
	* #flash-home-photos {margin: -25px 0 15px -10px;}
	* .home h2.welcome {overflow: hidden; text-indent: -9999em; background: url(../images/welcome.png) top left no-repeat; width:173px; height:61px;}
	* .meet-the-team #content img {float:left; margin:0 15px 15px 0;}
	* .meet-the-team #content h2 {margin-bottom:0;}
	
	/* images */
	img.border {border:1px solid #ccc;}
	img.auto {float: right; margin: 0 0 0 15px}
	* #content img.right {float:right; margin: 0 0 0 15px;}

* #sidebar {background: url(../images/layout/sidebar.png) top left no-repeat; width:215px}
* #sidebar .address {background: url(../images/layout/address.png) top left repeat-y; margin-top:365px; padding:10px 0 10px 10px;}
* #sidebar img {margin-left:20px;}

/* navigation */
* #nav {position:absolute; top:277px; left:0;}

* #nav ul {
	list-style: none;
	margin: 0;}

* #nav a {
	background: url(../images/nav/home.png) top left no-repeat;
	display: block;
	height: 42px; /* h */
	overflow: hidden;
	text-align: left;
	text-indent: -999em;
	width: 175px; /* w */
}


/* vertical nav */
* #nav ul {width: 175px;}
* #nav a:hover, #nav li:hover a, #nav li.sfhover a, #util a:hover {background-position: -175px 0;} /* -w */
* #nav li.active a {background-position: -350px 0;} /* -2w */
* #nav li.active a:hover, #nav li.active:hover a {background-position: -525px 0;} /* -3w */


/* set bg image for each link */
a#home {background-image:url(../images/nav/home.png);}
a#for-new-patients {background-image:url(../images/nav/for-new-patients.png); height:51px;}
a#about-orthodontics {background-image:url(../images/nav/about-orthodontics.png);}
a#about-braces {background-image:url(../images/nav/about-braces.png);}
a#treatment-options {background-image:url(../images/nav/treatment-options.png);}
a#smile-gallery {background-image:url(../images/nav/smile-gallery.png);}
a#faq {background-image:url(../images/nav/faq.png);}
a#emergency-care {background-image:url(../images/nav/emergency-care.png);}
a#contact-us {background-image:url(../images/nav/contact-us.png); height:55px;}

/* subnav-flyout */
#nav li ul {
	left: -9999px;
	position: absolute;
	width: 150px;
	z-index: 10; }
#nav li ul a {
	background-image: none;
	background-color: #925d7b;
	color: #fff;
	height: 25px;
	padding-top: 5px;
	text-decoration: none;
	text-indent:10px;
	width: 150px;}
#nav li ul a:hover {background: #78355b; color: #fff;}
#nav li:hover ul,
#nav li.sfhover ul {
left: 0; margin: -42px 0 0 165px; /* margin: -h 0 0 w */
}

* #util {position:absolute; top:15px; right:0;}
* #util ul {list-style:none;}
* #util li {float:left;}
* #util li.first {margin-right:10px;}
* #util li.first a {border-right:1px solid #fff; padding-right:10px;}
* #util a {color:#fff;}
* #util a:hover {color:#ccc;}

* #ft
{
	background: #77355B; text-align: center;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin-top:10px;
	margin-left:10px;
}
* #ft {padding-top:10px;}
* #ft, #ft a {color: #fff;}
#ft .text_nav, #ft .text_nav a {color:#B6CAE5;}
#ft a:hover {color: #ccc;}
#ft p {margin-left:10px; margin-right:10px; font-size:.9em}

/* 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}
