/* 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, 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:14px;color:#222;background:#fff;font-family:Tahoma}
h1, h2, h3, h4, h5, h6 {color:#0060aa;}
h1 {font-size:18px; font-weight:bold}
h2 {font-size:14px;font-weight:bold;}
h3, dt {font-size:1.2em;line-height:1;margin-bottom:1em;}
h4 {font-size:14px;font-weight:bold; color:#FFFFFF}
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:#738620;}
a {color:#8ea527;text-decoration:underline; font-family:Tahoma; font-size:14px}
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;}
.black { color:#000000; background:#ffdd00; text-align: center;}
.black a{color:#000000; text-decoration:underline}
.black a:hover  { color:#000000; text-decoration:none}
.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 */
#outside { width:822px; background:#0060aa url(../images/layout/bg-bottom.jpg) bottom no-repeat; margin-left:auto; margin-right:auto}
#container, .container {width:815px;margin:0 auto; }
body {margin:0;}
div.column {float:right;margin-right:0; }
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: #9bc4de url(../images/layout/bg.gif) repeat-x;}
#container {position:relative; top:-10px;}
#hd {background: url(../images/layout/header.jpg) top left; height:165px; position:relative; top:10px}	
#bd {background: url(../images/layout/bg-bd.jpg) top left repeat-y; }

#logo {height:130px; width:331px; position: absolute; top:14px; left:50%; margin-left:-385px}

#logo a {
	background: url(../images/layout/blank.gif) top left no-repeat;
	display:block; 
	height:130px;
	overflow: hidden;
	text-indent: -999em;
	width:331px;}

#tagline {background-image: url(../images/layout/tagline.png); position:absolute; width:274px; height:45px; left:360px; top:0px; margin-left:125px;display:block;text-indent: -999em;}

#content { width:584px; padding:20px 20px 0 20px; min-height:605px; position:relative; top:30px}
#content a {font-weight:bold;}
	dl.logos img {margin: 5px 0 20px 0;}
	dt a {display:block; font-weight:normal; margin-bottom:5px;}
	.flash-replaced {margin-bottom:20px; text-align:left;}
	.flash-replaced .alt {display:none;}
	.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
	.notice a {color:#514721;}
	.inset {background-color: #B5D8DF; border:1px solid #999; float:right; margin: 0 0 0 10px; padding-top:10px; width:180px;}
	.inset p, .inset ul {font-size: .9em; }
	.inset p,
	.inset h3 {margin-left:10px; margin-right:10px;}
	div.map {margin-bottom:1em;}

/* page-specific */
#flash-homepage {position:absolute; top:0; left:20px;}
.home #content {padding-top:276px; min-height:390px;}
.first-visit { width:185px; float:right; padding:10px 2px 0 10px; margin-left:5px; border:#009900 1px solid}
#video-invisalign {
width: 320px;
height: 239px;}
h2.media-center {
background:#000033;
color:#FFF;
margin:0;
padding:5px;}
div.media-center {
background:#336699;
color:#FFF;
width:564px;
display:inline-block;
margin-bottom:10px;
overflow:auto;
padding:10px;}
div.media-center a {
color:#FFF;}
div.media-center img {
border:1px solid #FFF;}
.flash {
border: solid 1px #ccc;}
#flash-ibraces-1 {
width: 320px;
height: 266px;}
#flash-ibraces-2, #flash-ibraces-3 {
width: 352px;
height: 266px;}	
/* images */
.border, img.auto {border:3px solid #ffdd00;padding:10px}
.right,img.auto { float:right; background:#0060aa url(../images/layout/bg-img.jpg) repeat-x; padding:10px; margin-left:10px;}
.left {float: left; background:#0060aa url(../images/layout/bg-img.jpg) repeat-x; padding:10px}
.center {  background:#0060aa url(../images/layout/bg-img.jpg) repeat-x; padding:10px}
	
#office-info { width:400px; color:#FFFFFF; height:100px; position:relative; top:45px; right:-10px; float:right; text-align:center; line-height:18px;}
/* navigation */
#nav-container {background:url(../images/layout/bg-nav.jpg) top left repeat-x #0c6eaf; color:#1a5b6d; position:absolute; top:165px; left:0; padding-top:4px; width:182px; height:595px; padding-top:30px;}
#nav-container p, #nav-container img {margin-left:20px;}

#social-icons {margin:18px 20px;}
#social-icons img, #social-icons a {
	height:40px;
	width:40px;
	margin:0;
	padding:0;
}

#nav ul {list-style: none; margin: 0;}
#nav a {
	display: block;
	height: 36px; /* h */
	overflow: hidden;
	text-align: left; 
	/*text-indent: -999em;*/
	width: 182px; /* w */
}

/* vertical nav */
#nav ul {width: 182px;}
#nav li a {font-family:Tahoma; font-size:17px; color:#000000; text-decoration:none;}
/*#nav a:hover, #nav li:hover a, #nav li.jshover ar {background-position: -182px 0;}  -w */
#nav li.active a {background-position: -400px 0;} /* -2w */
#nav li.active a:hover {cursor:default} /* -3w */
#nav a { text-indent:20px;}/* background-image:url(../images/); */
#nav li ul li a {font-family:Tahoma; font-size:14px; color:#ffffff; text-decoration:none;}

/* set bg image for each link */
a#patient-login {background:url(../images/nav/yellow-button.jpg) no-repeat; background-position: -133px 0 }
a#doctor-login {background:url(../images/nav/yellow-button.jpg) no-repeat; background-position: -133px 0}
a#home-button {background:url(../images/nav/yellow-button.jpg) no-repeat; background-position: -133px 0}
a#contact-button {background:url(../images/nav/yellow-button.jpg) no-repeat; background-position: -133px 0}

/* subnav-flyout */
#nav li ul {
	background-color: #0060aa;
	border: 1px solid #c2c2c2;
	left: -9999px;
	position: absolute;
	width: 180px;
	z-index: 10; }
#nav li ul a {
	background-image:none;
	color:#fff;
	height: 23px;
	padding-top:3px;
	text-decoration: none;
	text-indent:10px;
	width: 180px;}
#nav li ul a:hover {background:#32b2d6;}
#nav li:hover ul,
#nav li.sfhover ul {left: auto; margin: -36px 0 0 180px;} /* margin: -h 0 0 w */

/* subnav for active section */
/*#nav li.active ul {
	background-color: #;
	border: none;
	left: auto;
	margin:0 0 10px 5px;
	position:relative;
	width:195px;
}

#nav li.active ul a {height:; text-align:right; padding-right:17px; text-indent:0; width:;}
#nav li.active ul a:hover {text-decoration:underline; cursor:pointer;}
#nav li.active li.active a,
#nav li.active li.active a:hover {background:url(../images/) center right no-repeat; font-weight:bold; cursor:default; text-decoration:none;}
#nav li.active ul a:hover {background:#;}*/

#login {position:absolute; top:135px; left:382px; width:533px; height:38px; list-style-type:none; }
#login li { display:inline-block;}
#login a { display:block; overflow:hidden; height:38px;font-size:16px; color:#000000; font-weight:bold; text-indent:13px; text-decoration:none}/*text-indent:-999em;*/
#login a:hover {background-position: 0px 0;font-size:16px; color:#000000; font-weight:bold}

#ft {background:#ffdd00; text-align: center; padding-top:10px; position:relative; top:1px }

.text_nav a {color: #0060aa; text-decoration:underline;}
.text_nav a:hover {color: #0060aa;text-decoration:none;}

#sesame {background-color:#24809a; border-top:7px solid #000; border-bottom:1px solid #24809a; text-align:center; padding:7px 0;}
#sesame p {margin-bottom:0;}
#sesame a {color:#fff; text-decoration:none;}
#sesame 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}

