/* HTML, BODY ---------- */
html {height: 100%;}
body {background: #98BED5 url(../images/bkgd.gif) repeat-x 0 0;}
* {margin:0; padding:0;}

/* TEXT ---------- */
body {color: #000; font: normal 13px/17px Arial, Helvetica, sans-serif; text-align:left;}
p {padding: 0 0 15px 0; }

/* HEADERS ---------- */
h1{
	padding:0;
	display: block;
	background-repeat: no-repeat;
	height: 40px;
	width: 430px;
 	overflow: hidden; 
	text-indent: -999em;
	}
h2{
	color: #2c5f87; 
	padding-bottom:10px; 
	font: 15px;
	line-height: 130%;
	}
h3{
	color: #2c5f87; 
	padding-bottom: 5px; 
	font: 13px;
	}
	
/* LISTS ---------- */
ol, ul {padding: 0 0 15px 40px; list-style-type:square}
.list-index li{padding-bottom:10px;}
/* LINKS ---------- */
a {
	color: #2c5f87;
	text-decoration: none;
	}
a:visited{
	color: #2c5f87;
	text-decoration: none;
	}
a:hover {color: #598FEF; text-decoration: underline; font-weight:normal;}

#logo a {position:absolute;
	top:0;
	left:30px;
	width: 482px; 
	height: 120px; 
	display: block; 
	background: url(../images/logo.jpg) no-repeat 0 0; 
	}
#logo-invisalign a {position:absolute;
	top:952px;
	left:35px;
	width: 150px; 
	height: 44px; 
	display: block; 
	background: url(../images/logo-invisalign.gif) no-repeat 0 0; 
	}
#logo-aao a {position:absolute;
	top:928px;
	left:185px;
	width: 128px; 
	height: 68px; 
	display: block; 
	background: url(../images/logo-aao.gif) no-repeat 0 0; 
	}
#schedule-consultation {position:absolute;
	top:724px;
	left:35px;
	width: 278px; 
	height: 57px; 
	display: block; 
	background: url(../images/schedule-consultation.gif) no-repeat 0 0; 
	}
#footer p a {
	color: #000;
	font-size: 11px;
	font-weight: bold;
	}

/* NAVIGATION ---------- */
#nav {margin: 0; padding: 0; height: 32px;
	width: 810px;
	z-index: 100;}
#nav ul {list-style: none; padding:0}
#nav li {float: left; display:inline;}
#nav a {height: 32px; display: block; overflow: hidden; text-indent: -999em;}
#our-office {background: url(../images/nav/our-office.gif) 0 0; width:107px;}
#about-orthodontics {background: url(../images/nav/about-orthodontics.gif) 0 0; width:198px;}
#about-braces {background: url(../images/nav/about-braces.gif) 0 0; width:126px;}
#emergency-care {background: url(../images/nav/emergency-care.gif) 0 0; width:150px;}
#contact-us {background: url(../images/nav/contact.gif) 0 0; width:86px;}
#home {background: url(../images/nav/home.gif) 0 0; width:84px;}
#chinese-welcome-page {background: url(../images/nav/chinese-welcome.gif) 0 0; width:59px;}

#nav ul li:hover a, #nav li.sfhover a,#nav a:hover, #nav .active {background-position: 0 -33px;}
#nav li.active a, #nav-with-sub li.active a {background-position: 0 -33px;}

/* Set cursor to default arrow so link does not appear clickable */
#nav .active {cursor: default}

/* DROP DOWNS -----------*/
#nav li ul {
	margin: -1px 0 0 0px; padding: 0; 
	width: 155px; 
	position: absolute; left: -999em; 
	font-size: 12px; 
	text-align: left; 
	height: auto; 
	background: #649dc9; 
	z-index: 100;}
#nav li ul a {
	padding: 0px 0px 0px 10px; 
	width: 145px; 
	color: #fff; 
	text-indent: 0; 
	text-decoration: none; 
	line-height: 24px; 
	height: auto;}
#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */ left: auto; display:block; z-index: 100;}
#nav li:hover ul a:hover, #nav li.sfhover ul a:hover { /* lists nested under hovered list items */ 
	color: #fff; 
	background: #2c5f87;}

/* TOP LINKS ----------------*/
#top-links{
	width: 369px;
position:absolute; top:134px; left:0; }
	
#top-links ul {
	list-style:none;
	padding:0;
	}
	
#top-links ul li {
	display:inline;
	float:left;
	}
	
#top-links a {
	display: block; 
	height: 41px; 
	overflow: hidden; 
	text-indent: -999px; 
	}
	
#patient-login {
	background: url(../images/nav/patient-login.jpg) 0 0; 
	width:191px;
	}
	
#doctor-login {
	background: url(../images/nav/doctor-login.jpg) 0 0; 
	width:178px;
	}
	
#top-links ul li:hover a, #top-links li.sfhover a,#top-links a:hover, #top-links .active {
	background-position: 0 -41px;
	}
	
#top-links li.active a {
	background-position: 0 -41px;
	}

/* SUB-NAVIGATION -----------*/
.sub_nav a{text-decoration: underline;}
.sub_nav a:visited {text-decoration: underline;}
.sub_nav a:hover, .sub_nav a.active {font-weight:normal; text-decoration:none;}
	
	
/* LAYOUT ---------- */
.clear{clear:both;}
.hide {display:none;}
.flash-replaced .alt {display: none;}
div.hr { background: #3c362e; clear: both; height: 1px; margin: 20px 0; width: 100%; }
div.hr hr { display: none; }
#main {position: relative;
	background: url(../images/main-tile.gif) repeat-y;
	width: 810px; 
	margin: 0 auto;
	}
#header {
	height: 184px; 
	width: 810px;
	display:block;
	background: url(../images/header-bg.jpg) no-repeat 0 0;
	}
#patient-login a{
	position:absolute;
	top:113px;
	left:490px;
	width: 110px;
	height: 40px;
	display: block;
	background: url(../images/patient-login.gif) no-repeat;
	}
#doctor-login a{
	position:absolute;
	top:113px;
	left:607px;
	width: 110px;
	height: 43px;
	display: block;
	background: url(../images/doctor-login.gif) no-repeat;
	}
#office-address{
	font-size: 11px;
	padding-top:0;
	line-height:16px;
	color:COLORGOESHERE; 
	font-weight: bold;
	position:absolute;
	top:795px;
	left:39px;
	}
#office-address p {padding-top:0; }
#text{
	background: url(../images/text-bg.gif) no-repeat 0 0;
	width:487px; 
	padding:28px 48px 0 275px;
	min-height: 300px;
	_height: 300px;
	margin-top: 0px;
	}	
*+html #text{margin-top: 0;}

*html #text{margin-top: 0;}
	 
#flash-home{
	background: url(../images/spotlight-home.jpg) no-repeat 0 0;
	width: 805px;
	height: 200px;
	display: block;
	padding-left:5px;
	border:none;
	z-index:1;
	}
#spotlight-interior{
	background: url(../images/spotlight-interior.jpg) no-repeat 0 0;
	width: 810px;
	height: 104px;
	display: block;
	border:none;
	z-index:1;
	}
#footer {
	background: url(../images/footer-bg.gif) no-repeat top center; 
	padding-top: 55px; 
	text-align: center; 
	width:810px; 
	height:60px;
	margin: 0 auto;
	}
#footer p{
	padding-top:10px;
	padding-bottom:0px;
	}

/* IMAGES ---------- */
img {border:none;}

/*right and left floating image with border*/
.right {
	float:right; 
	border: 1px solid #FFF; 
	margin-left:10px;
	margin-bottom:10px;
	}
.left {
	float:left; 
	border: 1px solid #FFF; 
	margin-right:10px;
	margin-bottom:10px;
	}
.place-image { margin: 0 0 10px 10px; padding:0; position:absolute; top:354px; left:50px;}
.home-place-image { margin: 0 0 10px 10px; padding:0; position:absolute; top:443px; left:25px;}


/* Image Replacement -- add class="replace" to root element, i.e. <p> and add a bg image*/
.replace {letter-spacing : -1000em;line-height: 0;overflow: hidden;line-height: 0;text-indent: -999em;}
/* Just for Opera, but hide from MacIE */

/*\*/html>body .replace {	letter-spacing : normal;text-indent : -999em;overflow : hidden;}
/* End of hack */

/* RESOURCES ---------- */
dl.logos, dl.logos dt, dl.logos dd {list-style:none;margin:0;padding:0;}
dl.logos {margin-bottom: 10px;padding:10px;}
dl.logos dd {border-bottom:1px solid #CCC;margin:0;padding:10px 0 5px 0;width:50%;}
dl.logos span {font-size: 16px; font-weight:bold;}

/* SURESMILE ----------*/
p.small {
font-size: 10px;}
img.photo {
border: solid 1px #000;
float: right;
margin: 0 0 15px 15px;}
div.learn-more {
background-color: #fff;
color: #036;
width: 50%;
border: solid 1px #fff;
padding: 0;
margin: 15px 18px 15px 15px;
float: right;}
div.learn-more a {color: #036;}
.learn-more h3 {
background-color: #97AFC2;
color: #fff;
margin: 0 0 10px 0;
padding: 10px;}
.learn-more p {
padding: 0;
margin: 0 0 10px 0;}
.clear {clear: both;}
#flash-suresmile-pt-testimonial {
margin: 15px auto;
width: 320px;
height: 206px;
border: solid 1px #ccc;}

/* THE GAME ROOM ---------- */
div#sesame-game {line-height: 0; margin: 10px 0px 18px 0px; text-align: center;  width: 400px;background: #000;}
ul#sesame-games {list-style: none;}
ul#sesame-games li {clear: both; text-indent:none;}
ul#sesame-games img {border: 0; float:right;}
ul#sesame-games a.button {float:right; height:85px; width:200px; margin-right:10px; padding: 0 0 10px 10px;}/*THIS IS WHERE YOU MAKE PADDING ADJUSTMENTS TO THE GAMES IMG*/
ul#sesame-games p {	padding:0 10px 10px 0;}

/* LOCATION ---------- */
iframe {border: 1px solid #000; margin-bottom:20px;}
	
/* MEDIA CENTER ---------- */
h2.media-center {background:#000033; color:#FFF; margin:0; padding:5px;}
div.media-center {background:#336699; color:#FFF; margin-bottom:10px; padding:10px;}
div.media-center a {color:#FFF;}
div.media-center img {border:1px solid #FFF;}
.flash {border: solid 1px #ccc;}
#flash-in-ovation {width: 320px;height: 266px;}


/* --------- Invisalign Teen ------------*/

.sidebar {background: url(images/empty_frame.jpg) no-repeat; width: 138px; height: 278px; display: block; text-align: center; float: right; margin: 0; padding: 50px 30px;}

#sidebar {
background: #fff;
width: 275px;
margin: 0 0 15px 15px;
padding: 0;
border: solid 1px #000;
float: right;
clear: right;}
#sidebar a {
color: #036;}
#sidebar h3 {
background: #97AFC2;
margin: 0;
padding: 15px;
color: #fff;}
#sidebar h4 {
background: #97AFC2;
margin: 0;
padding: 1px;
color: #fff;}
.thumb {
border: solid 1px #000;
margin: 0 10px 10px 0;
float: left;
clear: left;}
#sidebar p {
padding: 0 15px;
margin: 15px 0;}

/* ------------------- About the Doctor ----------------------------*/

#teethteethteethlogo {
position:absolute;
margin-top: 0pt;
margin-right: 0pt;
margin-bottom: 10px;
margin-left: 10px;
padding-top: 0pt;
padding-right: 0pt;
padding-bottom: 0pt;
padding-left: 0pt;
top: 600px;
left: 50px;


}
/******/
/* Global form styles */
div.referral-form, div.contact-form, div.comments, div.login-form {
	width: 98%;
	margin-top: 18px;	
	border:solid 2px #002544;/*optional, change color to match site*/
	background: #ffffff;
}

fieldset {border: 0; padding: 9px 0;color: #002544; margin: 0 18px;}
fieldset div {clear: both;}
.form-header {color: #002544; border-bottom: 1px solid #002544;/*optional, change color to match site*/}
.form-header h3 {margin: 0 0 9px;}
.form-header p {margin: 0 0; padding-bottom: 18px;}
.form-footer {padding-top: 18px; text-align: center; border-top: 1px solid #c6dbed;/*optional, change color to match site*/}
.form-footer button {/*these styles control the look of the button, change as necessary*/
	clear:both;/*do not change, forces button to sit below floated elements*/
	margin: 9px auto;/*do not change, controls positioning*/
	display: block;
	width:125px;
	height:31px;
	background:#c6dbed;/* customize me! */
	border: 1px solid #002544;
	text-align:center;
	line-height:31px;
	color:#002544;/* customize me! */
	font-size:12px;
	font-weight:bold;}
fieldset input, fieldset textarea, fieldset select {line-height: 18px; height: 18px; padding: 4px 9px 5px 9px; border: 1px solid #002544;}
fieldset input.radio {border: 0;}
fieldset p.verification img {border: 1px solid #002544;}
fieldset label {margin-top: 9px;}
fieldset label, label span {text-align: left; line-height: 18px; height: 18px;}
label.required {background: url(../images/required_note.gif) 100% 0 no-repeat;}
#Additional_Info {height: 120px;}
p.required-note {font-weight: bold;}
p.required-note img {display: inline;}
p.radio-float, p.radio-float input {line-height: 27px; vertical-align: middle;}


/* appointment form */
.contact-form {
	margin: 18px 0;
	padding: 10px;
}
.contact-form fieldset {border: 0; }
.contact-form label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	width:45%;
	float:left;
	margin-top: 9px;
	line-height: 18px;
	}
.contact-form label span {/*sits below labels; holds instructions*/
	color:#666666;
	display:block;
	font-size:11px;
	font-weight:normal;
	width:100%;}
.contact-form input, .contact-form select, .contact-form textarea {
	float:left;
	font-size:12px;
	padding:0 2px;
	width:45%;
	margin:9px 0 9px 2%;
	background: #ffffff;}
.contact-form p.radio, .contact-form p.verification {
	clear: both;
	margin: 9px 0 9px 47%;
	font-size: 12px;}
.contact-form p.radio-float {
	clear: none;
	float:left;
	width: 45%;
	padding:0;
	margin:9px 0 9px 2%;
	vertical-align: middle;
	line-height: 18px;}
.contact-form span#found-other {width: 100%;}
.contact-form span#found-other input {margin-left: 47%; background: #fff0b2}
.contact-form p.verification {margin-top: 0;}
.contact-form p.radio input, .contact-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 2%;
	padding: 4px 2px;}

/* JQuery */
input.error, select.error, textarea.error {border-color: #a52003; background: #fefda1; }
div.error {padding-left: 210px; background: url(../images/validate_error.jpg) 190px 0 no-repeat; color: #a52003; 
		 display: block; margin:0 0 9px 47%; font-size: 11px; font-weight: normal; line-height: 18px;}
div.success {padding-left: 210px; background: url(../images/validate_ok.jpg) 190px 0 no-repeat; color: #000000; 
		   display: block;margin:0 0 9px 47%;font-size: 11px; font-weight: normal; line-height: 18px;}
.contact-form div.error, .contact-form div.success {margin-left: 0;}