/* 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, caption {margin:0;padding: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, Verdana, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#08548e;}
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.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 10px;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; }
th {font-weight:bold;background:#C3D9FF;}
th, td {padding: 10px;}
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 {width:780px;margin:0 auto;}
div.column {float:left;margin-right:10px;}
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;}

/* 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:250px;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;}

/* custom */
body {background: #0c2e53 url(../images/layout/bg.gif) left top repeat-x;}
body.home {background-image: url(../images/layout/bg-home.gif);}

* #hd {
	background: url(../images/layout/hd.jpg) top center no-repeat;
	height: 178px;
	position: relative; }

* .home #hd {
	background-image: url(../images/layout/hd-home.jpg);
	height: 51px;}

#hd #logo a {
	background: url(../images/layout/logo.png) top left no-repeat;
	display:block;
	height:155px;
	left: -20px;
	overflow: hidden;
	position: relative;
	text-indent: -999em;
	top: 8px;
	width:137px;}
	
* #hd #flash-headerSlides { position: absolute; top:0; right:0; }

* #bd {
	background: #fff;
	margin-top: 44px;
	position: relative;
	text-align: left;}

* #content { float: right; width: 580px; }

	#content p,
	#content h1,
	#content h2,
	#content h3,
	#content h4,
	#content h5,
	#content h6 {margin-right:25px;}
	
	* .flash-replaced {text-align:center;}
	* .flash-replaced .alt {display:none;}
	div.inset {background: #bbd6e9; border: 1px solid #95b8d9; width: 160px; /* margin:0 5px 0 15px; */ padding: 15px; float:right;}
	#content .inset p {margin-right:0;}
	
	dl.logos img {margin: 5px 0 20px 0;}
	dt a {font-weight: normal;}
	
	#content h1 {margin-top:20px;}
	
	* #desc {background: #bcd7e9; padding: 10px;}
	#desc p {padding: 6px 0; margin:0; text-align:center;}
	
	* img.auto {float: right; margin:30px 5px 10px 10px;}
	* img.border {border: 1px solid #002a5c;}
	* img.idol {margin-top:20px;}
	* img.perfect-contest {margin-top:20px;}
	* img.staff {float:left; margin-right: 15px; border:1px solid #0C2E53}
	* .photo-shoot-and-judging img.left, img.left {float:left; margin-right:15px;}
	
	* .top-40-2008 #content div {float:left; text-align:center; margin-right: 20px;}
	* .top-40-2008 #content div p {margin-right:0;}
	
	* .2008-winners-bg { background: #BBD6E9; border:1px solid #95B8D9; height:200px; width: 350px; padding: 10px; position:relative; margin-bottom: 15px;}
	* .2008-winners-h2, * .2008-winners-h3 { }
	* .2008-winners-img {position:absolute; top:10px; right:10px;}
	
	* .bowling-2008 p.images img {padding-right:15px;}

* #sidebar {float: left; width:200px;}
#sidebar p {color:#002a5c; margin-left:20px;}
p.address {margin-top:15px;}
* #sidebar div.eaddress {margin-top: 20px;}
	
	* #subnav {background: url(../images/layout/subnav.gif) left top repeat-y; padding-top: 20px; width:200px}
	#subnav ul {
		background: url(../images/layout/subnav-bottom.gif) left bottom no-repeat; 
		list-style: none;
		margin: 0;
		padding-bottom:37px;}
	#subnav li {margin: 7px 30px 7px 20px; }
	#subnav a {color:#113860; text-decoration:none;}
	#subnav a:hover {color:#86220d;}
	#subnav li.active a {
		background: url(../images/layout/subnav-arrow.gif) right center no-repeat; 
		font-weight:bold; 
		padding-right: 15px;}
	#subnav li.active a:hover {color:#113860;}
	#subnav h3 {color:#113860; font-weight: bold; margin-left:20px;}


* .home #content { float: left; width:560px; }
* #flash_home { margin: 5px 5px 25px 5px; width: 770px; }
* .home #sidebar { float:right; width:220px; margin-top:400px; }
.home #content p,
.home #content h1,
.home #content h2,
.home #content h3,
.home #sidebar p {margin-left:25px;}
.home #content h1 {margin-top:0;}


/* navigation */
* #nav {
	left:0;
	top:-44px;
	position:absolute;}

* #login {left:130px; top:-222px; position:absolute;}
* .home #login {left:0; top:-95px;}

#nav ul, ul#login {
	list-style: none;
	margin: 0;}

#nav li, #login li {float:left;}

#nav a, #login a {
	background: url(../images/nav/home.gif) top left no-repeat;
	display: block;
	height: 40px; /* h */
	overflow: hidden;
	text-indent: -999em;
	width: 56px; /* w */
}

#login a {
	background-image: url(../images/nav/patient-login.png);
	height: 31px;
	width: 108px;
}

/* horizontal nav */
#nav a:hover, #nav li:hover a, #nav li.sfhover a {background-position: 0 -40px;} /* -h */
#nav li.active a {background-position: 0 -80px;} /* -2h */
#login a:hover {background-position: 0 -31px;} /* -h */

/* set bg image for each link */
a#about-our-office {background-image:url(../images/nav/about-our-office.gif); width: 112px;}
a#contact-us {background-image:url(../images/nav/contact-us.gif); width: 81px;}
a#current-patients {background-image:url(../images/nav/current-patients.gif); width: 109px;}
a#idol-smiles {background-image:url(../images/nav/idol-smiles.gif); width: 83px;}

a#smile-contest {background-image:url(../images/nav/idol-smiles.gif); width: 83px;}


a#new-patients {background-image:url(../images/nav/new-patients.gif); width: 97px;}
a#ortho-101 {background-image:url(../images/nav/ortho-101.gif); width: 78px;}
a#teen-zone {background-image:url(../images/nav/ortho-fun.gif); width: 78px;}
a#community {background-image:url(../images/nav/community.gif); width: 86px;}
a#doctor-login {background-image:url(../images/nav/doctor-login.png); width: 102px;}
a#information {background-image:url(../images/nav/contests.png); width: 88px;}

/* subnav-dropdown */
#nav li ul {
	background: #00295d url(../images/layout/dropdown.gif) top left repeat-x;
	border: 2px solid #152258;
	left: -9999px;
	position: absolute;
	width: 190px;
	z-index: 10; }
#nav li ul a {
	background: none;
	color: #fff;
	height: 25px;
	text-align: left;
	text-decoration: none;
	text-indent: 0;
	padding: 4px 0 0 11px;
	width: 179px;}
#nav li ul a:hover {background:#b22324;}
#nav li:hover ul,
#nav li.sfhover ul {left: auto; margin: 0;}

* #ft {
	background: #d7462f url(../images/layout/ft.gif) top left repeat-x;
	border-top: 5px solid #f35b43;
	border-bottom: 5px solid #aa1010;
	padding: 9px 0;}
	
* #ft, #ft a {color: #fff; text-decoration:none;}
#ft a:hover {color: #ccc;}
* #ft, * .sesame {text-align: center;}
#ft p {margin-bottom:0}

* .sesame, .sesame a {color: #9dc7e1; text-decoration:none;}
.sesame a:hover {color: #fff;}
* .sesame {margin: 5px;}

/*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;
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;
}

.SmallBlackText {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000;
	font-weight: normal;
}

.SmallBlueText {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #002A5C;
	font-weight: normal;
}

.NormalText, body, td {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #222;
	font-weight: normal;
	text-decoration: none;
	text-transform: none;
	font-style:normal;
}

.SubHeader {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #08548E;
	font-weight: normal;
}

.SubjectHeader {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #08548E;
	font-weight: normal;
}

.PageTitle {
	font-family: Impact, Arial, sans-serif;
	font-size: 22px;
	line-height: 24px;
	color: #08548E;
	font-weight: normal;
}

td.GrayBorderBottom {border-bottom: solid 1px #DDD;}
td.InfoBox {background: #BBD6E9; border:1px solid #95B8D9; height:200px; width: 350px; padding: 10px;}

* #content td {vertical-align:top; padding: 10px;}
* div.pt {margin-top: 20px; margin-right:25px;}

* .idol-thumb  {list-style:none; list-style-type:none; display:inline; padding:0; margin:0;}
.idol-thumb li { float:left; padding:5px 3px;}
* .idol-border { border:#000000 solid 3px}

img.right {float: right; margin-top: 10px; margin-left: 10px;}

.right-border {
	border: solid 1px #333; /* Customize me!! */
	float: right;
	clear: right;
	margin: 0 5px 15px 15px;
	}
img.right {
	float: right;
	margin: 0 5px 15px 15px;
	}
.left-border {
	border: solid 1px #000;
	margin: 0 15px 15px 0;
	float: left;
	}
img.left {
	margin: 0 15px 15px 0;
	float: left;
	}
span.indent {
	padding-left: 40px;
	}
#invisalign-sidebar {
	background: #fff;
	width: 275px;
	margin: 0 5px 15px 15px;
	padding: 0;
	border: solid 1px #000;
	line-height: 18px;
	font-size: 11px;
	float: right;
	clear: right;
	}
#invisalign-sidebar a {
	color: #036;
	}
#invisalign-sidebar h3 {
	background: #225389;
	margin: 0;
	padding: 15px;
	color: #fff;
	}
#invisalign-sidebar p {
	padding: 0 15px;
	margin: 15px 0;
	}
.thumb {
	border: solid 1px #000;
	margin: 0 10px 10px 0;
	float: left;
	clear: left;
	}
	
/* 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;}
