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

/* TEXT ---------- */
body {color: #252525; font: 13px/18px Verdana, Helvetica, Tahoma, sans-serif; text-align:left;}
p {padding: 0px 0 15px 0;}

/* HEADERS ---------- */
h1{padding:0px 0 27px 0px; background-repeat: no-repeat; 
	height: 25px; overflow: hidden; text-indent: -999em;}
h2{color: #464646; padding: 0 0 18px 0; font-size:13px;}
h3{color: #f8981d; font-size:13px; margin: 0; padding: 0;}

/* LISTS ---------- */
ol, ul {padding:0 0 10px 20px;}

/* LINKS ---------- */
a {color: #cd6812; text-decoration: underline}
a:hover {color: #cd6812; text-decoration: none; font-weight:normal;}
#logo a {position:absolute; top:39px; left:150px; width: 360px; height: 63px; display: block; background: url(../images/logo.gif) no-repeat; }
#address a{color:#464646; text-decoration:none}
#address a:visted{color:#464646; text-decoration:none}
#address a:hover{color:#464646; text-decoration: underline;}
#footer a {color: #464646; text-decoration: none;}
#footer a:visted {color: #464646; text-decoration: none;}
#footer a:hover {color: #464646; text-decoration: underline;}

/* nav ---------- */
#nav{position:absolute; top:185px; left:134px; padding:0; width:215px; display:block; z-index: 100;}
#nav a {display: block; height: 26px; overflow: hidden; text-indent: -999px; width: 215px; padding-bottom: 10px;}
#nav ul{padding:0;}
#about-our-office {background: url(../images/nav/office.gif) no-repeat 0 0;}
#for-new-patients {background: url(../images/nav/new.gif) no-repeat 0 0;}
#about-orthodontics {background: url(../images/nav/ortho.gif) no-repeat 0 0;}
#wearing-braces {background: url(../images/nav/braces.gif) no-repeat 0 0;}
#emergency-care {background: url(../images/nav/emergency.gif) no-repeat 0 0;}
#contact-us {background: url(../images/nav/contact.gif) no-repeat 0 0;}
#home {background: url(../images/nav/home.gif) no-repeat 0 0;}
#nav ul li:hover a, #nav a:hover, #nav .active {background-position: -215px 0}
#nav li.active a, #nav-with-sub li.active a {background-position: -215px 0;}

/* DROP-DOWN-NAVIGATION ----------------*/
#nav li {display: inline; z-index:100; margin:0; padding:0;}
#nav li ul { /* second-level lists */margin: -36px 0 0 204px; padding: 26px 0 3px 1px ; width: 157px; position: absolute; background: #e1e1e1 url(../images/nav/nav-hover-bg.gif) no-repeat 0 0; left: -999em; font-size: 12px;	height: auto; 	border-right: 1px solid #fff; border-bottom: 1px solid #a1a1a1;}
#nav li ul a {font: normal 12px/26px Tahoma, Arial, sans-serif; list-style-image:none; padding: 0 0 0 3px; width: 154px; color: #363636; text-indent: 10px; text-decoration: none; height: auto;}
#nav li:hover ul, #nav li.sfhover ul {left: auto;display:block;z-index:100;}
#nav li:hover ul a:hover, #nav li.sfhover ul a:hover {text-decoration: underline;}

/* SUBNAV ----------------*/
.sub_nav {line-height: 14px; color: #f8981d;}
.sub_nav a{font: normal 12px/14px Tahoma, Arial, sans-serif; color: #f8981d; 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 {background: #fff url(../images/bg.jpg) no-repeat; width: 1024px; margin: 0 auto;	position:relative;}
#header {height: 469px; width: 1024px; display:block; background: url(../images/header-bg.gif) no-repeat 0 0;}
#tagline{background: url(../images/we-ll-make-you-smile.gif) no-repeat 0 0;	position:absolute;top: 84px; left:50%;margin-left: 21px; width: 405px; padding: 58px;}
#address{position: absolute; top:; left:;width: 180px;font-size: 12px; margin: 32px 0 0 49px; line-height:16px; color:#464646;}
#address img {padding-top: 22px;}
#content{background: #fff url(../images/body-tile.gif) repeat-y 0 0; width: 824px; margin: 0 auto;	 }
#text{background: url(../images/body-top-bg.gif) no-repeat 0 0;	width:504px; padding: 31px 37px 20px 278px; min-height: 194px; _height: 194px;}
#spotlight{position: absolute; top:187px; left:50%; margin: 0 0 0 -129px; border:none;	z-index:1;}
#footer {background: url(../images/footer-bg.gif) no-repeat top left; color: #464646; margin: 0 auto 0 auto; font: normal 12px/15px Tahoma, Arial, Helvetica, sans-serif; padding: 75px 39px 39px 39px; text-align: center; width:746px; height:100px;}

#footer p{padding:0 0 10px 0;}

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

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

/*right and left floating image with border*/
.right {float:right; border: 1px solid #f8981d; margin-left:10px; margin-bottom:10px; }
.left {float:left; border: 1px solid #f8981d; margin-right:10px; margin-bottom:10px;}

/* THE GAME ROOM ---------- */
div#sesame-game {line-height: 0; margin: 10px 0px 0 0px; text-align: center; width: 400px;}
ul#sesame-games {list-style: none; padding:0;}
ul#sesame-games li {clear: both; text-indent:0;}
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;}
ul#sesame-games p {padding:0 10px 10px 0;}
	
/* LOCATION ---------- */
iframe {border: 5px solid #3c362e; margin-bottom:20px;}
	
/* MEDIA CENTER ---------- */
h2.media-center {background:#000033; color:#FFF; margin:0; padding:5px;}
div.media-center {background:#336699; color:#FFF; display:inline-block; margin-bottom:10px; overflow:auto; padding:10px;}
div.media-center a {color:#FFF;}
div.media-center img {border:1px solid #FFF;}

/* Global form styles */
fieldset {border: none; padding: 9px 0;}
fieldset div {clear: both;}
.form-header {border-bottom: 1px solid #ccc;/*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 #ccc;/*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:#f8981d;/* customize me! */
	border: 1px solid #ccc;/* customize me! */
	text-align:center;
	line-height:31px;
	color:#ffffff;/* customize me! */
	font-size:12px;
	font-weight:bold;}

/* appointment form */
.appointment-form {
	margin: 0 0 18px;
	width: 480px; 
	padding: 10px;
	border:solid 2px #ccc;/*optional, change color to match site*/
	background:#fdfdfd;/*optional, change color of background*/}
.appointment-form fieldset {border: none; padding: 9px 0;}
.appointment-form label {/*floats labels left*/
	color: #464646;
	font-size: 12px;
	display:block;
	font-weight:bold;
	text-align:right;
	width:200px;
	float:left;
	line-height: 18px;
	padding-top: 4px;}
.appointment-form label span {/*sits below labels; holds instructions*/
	color:#464646;
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:right;
	width:200px;}
.appointment-form input, .appointment-form select, .appointment-form textarea {
	float:left;
	font-size:12px;
	padding:4px 2px;
	border:solid 1px #ccc;/* customize me! */
	width:200px;
	margin:9px 0 9px 10px;
	background: #ffffff;}
.appointment-form p.radio, .appointment-form p.verification {
	clear: both;
	margin: 9px 0 9px 210px;
	font-size: 12px;}
.appointment-form p.radio-float {
	clear: none;
	float:left;
	width: 200px;
	padding:0;
	margin:9px 0 9px 0;}
.appointment-form p.verification {margin-top: 0;}
.appointment-form p.verification img {border: 1px solid #ccc;}/* customize me! */
.appointment-form p.radio input, .appointment-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 10px;
	padding: 4px 2px;}
/* comment form */	
.comments {
	margin: 0 0 18px;
	width: 500px; 
	padding: 10px;
	border: solid 2px #ccc;/*optional, change color to match site*/
	}
.comments li {font-weight: bold;}
.comments label {/*floats labels left*/
	color:#464646;
	font-size: 12px;
	display:block;
	font-weight:bold;
	text-align:right;
	width:200px;
	float:left;
	padding-top: 4px;}
.comments label span {/*sits below labels; holds instructions*/
	color:#464646;
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:right;
	width:200px;}
.comments .label-block label {float: none; clear: both; width: 100%; text-align: left;}
.comments input, .comments textarea {
	float:left;
	font-size:12px;
	padding:4px 2px;
	border:solid 1px #ccc;/* customize me! */
	width:200px;
	margin:9px 0 9px 10px;
	background: #ffffff;}
.comments p.verification {
	clear: both;
	margin: 9px 0 9px 210px;
	font-size: 12px;}
.comments p.radio-float {
	clear: none;
	float:left;
	width: 200px;
	padding:0;
	margin:9px 0 9px 0;}
.comments p.verification {margin-top: 0;}
.comments p.verification img {border: 1px solid #ccc;}/* customize me! */
.comments p.radio input, .comments p.radio-float input {
	float: none;
	margin: 0 0 0 10px;
	padding: 4px 2px;
	width: auto;}
.comments .radio {text-align: left; font-weight: normal;}
.comments .comments-box label {float: none; font-weight: normal; display: block; text-align: left;}
.comments .comments-box textarea {float: none; margin-left: 0; width:95%;}
/* referral form */
.referral-form {
	margin: 0 0 18px;
	width: 500px; 
	padding: 10px;
	border:solid 2px #ccc;/*optional, change color to match site*/
	background:#fdfdfd;}/*optional, change color of background*/
.referral-form fieldset {border: none; padding: 9px 0;}
.referral-form label {/*floats labels left*/
	color:#464646;
	font-size: 12px;
	display:block;
	font-weight:bold;
	text-align:right;
	width:200px;
	float:left;
	line-height: 18px;
	padding-top: 4px;}
.referral-form label span {/*sits below labels; holds instructions*/
	color:#464646;
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:right;
	width:200px;}
.referral-form input, .referral-form textarea {
	float:left;
	font-size:12px;
	padding:4px 2px;
	border:solid 1px #ccc;/* customize me! */
	width:200px;
	margin:9px 0 9px 10px;
	background: #ffffff;}
.referral-form p.radio, .referral-form p.verification {
	clear: both;
	margin: 9px 0 9px 210px;
	font-size: 12px;}
.referral-form p.radio-float {
	clear: none;
	float:left;
	width: 200px;
	padding:0;
	margin:9px 0 9px 0;}
.referral-form p.verification {margin-top: 0;}
.referral-form p.verification img {border: 1px solid #ccc;}/* customize me! */
.referral-form p.radio input, .referral-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 10px;
	padding: 4px 2px;}	
