/* 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; background: url('../images/bgTile.jpg') top repeat-x #eeefe0; text-align: center; font-family: Tahoma, Verdana, Arial, Sans-Serif; font-size: 12px;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
a img {border:none;}
.hide {display:none;}
.flash-replaced .alt {display:none;}
.clear {clear: both;}
p {font-size: 12px; font-weight: normal; margin-bottom: 10px; color: #00476b;}
a,a:visited {color: #1a786e;}
h2 {font-size: 16px; color: #1a786e; margin: 0 0 10px 0;}
h3 {font-size: 14px; color: #00476b;}
ul {margin: 0 0 10px 10px; list-style: inside; color: #00476b;}
em {font-style: italic;}
blockquote {margin: 10px;}
.nobull {list-style: none;}

h2 a {text-decoration: none;}

/* IE6 upgrade alert */
#ie_alert {
display: none;
background-color: #fff;
width: 400px;
color: #333;
text-align: left;
font-size: 11px;
letter-spacing: normal;
font-weight: bold;
padding: 15px 15px 0 15px;
border: solid 2px #a52003;
position: absolute;
z-index: 5000;
top: 10px;
left: 10px;
}
#ie_alert ul {margin: 0 0 15px 25px;}
#ie_alert p {margin: 0 0 15px 0; line-height: 14px; padding: 0;}
a.upgrade {float: left; margin: 0 10px 0 0;}
span#ie_alert_reasons {color: #a52003;}
.right {float: right; margin: 0 0 10px 10px;}

#container {width: 804px; margin: 0 auto; text-align: left; position: relative;}

.leftShadow {position: absolute; width: 30px; height: 568px; top: 0; left: -30px; background: url('../images/leftShadow.jpg');}

#header {height: 120px; width: 500px; position: absolute; top: 0; right: 0;}
.dr {position: absolute; right: 0; top: 30px;}
.pat {position: absolute; right: 123px; top: 30px;}
.tag {position: absolute; top: 100px; left: 5px;}

#logo {width: 287px; height: 195px; display: block; background: url('../images/logo.jpg'); text-indent: -9999px;}
.homeLink {width: 287px; height: 195px; display: block; text-indent: -9999px;}

#bd {width: 100%; background: url('../images/contentTile.jpg') repeat-y; margin-top: 100px;}

/* foot */
#ft {width: 100%; background: url('../images/footerBg.jpg') top no-repeat;}
.text_nav {text-align:center; color: #1a786e; padding-top: 30px;}
.text_nav a, .text_nav a:visited {text-align:center; color: #1a786e;}
h5.keyFoot {color: #00476b; text-align: center; font-weight: normal; font-size: 12px; padding: 20px;}

#sidebar {width: 287px; color: #00476b; float: left;}
#sidebar .pad {padding: 270px 0 0 30px;}
#sidebar img {margin: 5px 0 0 0;}

#content {width: 515px; float: left;}
#content .pad {padding: 133px 20px;}
#content ul { margin:5px 5px 5px 15px;}
#content ul li {list-style:outside; padding-left: 5px; margin-bottom: 5px;}
body.home #content .pad {padding: 225px 20px 25px 20px;}

.headShot {border: 2px solid #cbcea2; float: right; margin: 0 0 10px 10px;}

/* nav */
#nav {width: 287px; /*height: 357px;*/ height: 372px; position: absolute; left: 0; top:195px; display: block; z-index:110; background: url('../images/navBg-n.jpg') bottom no-repeat #cacda0; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-weight: normal;}
#nav ul {list-style: none; margin: 0; padding: 0;}
#nav ul li {height: 37px; width: 287px; display: block; margin: 0; padding: 0;}
#nav ul a {display: block; height: 37px; width: 287px; background-position: bottom; text-indent: -9999px;}
#nav ul li a:hover, #nav ul li.active a {background-position: top;}

#nav li ul {left: -9999px; position: absolute; background: #eeefe0; width: 177px; text-align: left; padding: 10px 0 10px 0; border: 1px solid #bbb;}
#nav li ul li {height: 20px; width: 157px; margin: 0; padding: 0; line-height: 20px;}
#nav li ul a, #nav li ul a:visited {color: #00476b; text-decoration: none; font-size: 12px; display: block; height: 20px; width: 100%; text-indent: 0; padding-left: 20px;}
#nav li ul a:hover {color: #1a786e; text-decoration: underline;}
#nav ul li:hover ul, #nav li.sfhover ul {display: block; z-index: 1000; left: 245px; margin-top: -37px;}

/* set bg image for each link */
a#meet-the-team {background-image:url(../images/nav/the-team.jpg);}
a#for-new-patients {background-image:url(../images/nav/new-patients.jpg);}
a#old-friends-with-new-smiles {background-image:url(../images/nav/old-friends-with-new-smiles.jpg);}
a#office-events {background-image:url(../images/nav/office-events.jpg);}
a#about-orthodontics {background-image:url(../images/nav/about-orthodontics.jpg);}
a#braces {background-image:url(../images/nav/braces.jpg);}
a#orthodontic-treatments {background-image:url(../images/nav/orthodontic-treatments.jpg);}
a#emergency-care {background-image:url(../images/nav/emergency-care.jpg);}
a#contact-us {background-image:url(../images/nav/contact-us.jpg);}
a#home {background-image:url(../images/nav/home.jpg);}
/*a#site-map {background-image:url(../images/nav/site-map.png);}*/

/* home flash */
#flash-homepage {position: absolute; width:512px; height: 362px; top: 157px; right: 5px; background: url('../images/photos/homeImage.jpg') no-repeat;}
.pageImage {position: absolute; width: 512px; height: 274px; top: 157px; right: 5px;}

/* headlines */
.headline {font-size: 20px; margin: 20px 0 10px 0; font-family: Corbel,"Myriad Pro",Tahoma,Verdana,Sans-Serif; color: #1a786e; font-weight: bold*;}

body.page-not-found ul, body.server-error ul, body.site-map ul {list-style: none; font-size: 12px;}
body.page-not-found ul ul, body.server-error ul ul, body.site-map ul ul {font-size:10px;}
body.page-not-found ul a, body.server-error ul a, body.site-map ul a {text-decoration: none;}


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

/* Global form styles */
div.referral-form, div.appointment-form, div.comments, div.login-form {
	width: 100%;
	margin-top: 18px;
}

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;}
fieldset textarea {height: 144px; overflow: auto;}
label.required {background: url(../images/required_note.gif) 100% 0 no-repeat;}
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;}

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

/* comment form */
div.comments {
	margin: 18px 0;
	padding: 0;
}
.comments li {font-weight: bold; margin: 0;}
.comments label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	width:45%;
	float:left;}
.comments label span {/*sits below labels; holds instructions*/
	color:#666666;
	display:block;
	font-size:11px;
	font-weight:normal;
	width:100%;}
.comments .label-block label {float: none; clear: both; width: 100%; text-align: left;}
.comments input, .comments textarea {
	float:left;
	font-size:12px;
	padding:0 2px;
	width:40%;
	margin:9px 0 9px 2%;
	background: #ffffff;}
.comments textarea {width: 95%;}
.comments p.verification {
	clear: both;
	margin: 9px 0 9px 47%;
	font-size: 12px;}
.comments p.radio-float {
	clear: none;
	float:left;
	width: 45%;
	padding:0;
	margin:9px 0 9px 0;
	vertical-align: middle;
	line-height: 18px;}
.comments p.verification {margin-top: 0;}
.comments p.radio input, .comments p.radio-float input {
	float: none;
	margin: 0 0 0 0;
	padding: 4px 2px;
	width: auto;}
.comments p.radio span {padding: 0 2% 0 0;}
.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 */
div.referral-form {
	margin: 18px 0;
	padding: 0;
}
.referral-form fieldset {border: 0; }
.referral-form label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	width:45%;
	float:left;
	line-height: 18px;}
.referral-form label span {/*sits below labels; holds instructions*/
	color:#666666;
	display:block;
	font-size:11px;
	font-weight:normal;
	width:100%;}
.referral-form input, .referral-form textarea {
	float:left;
	font-size:12px;
	padding:0 2px;
	width:40%;
	margin:9px 0 9px 2%;
	background: #ffffff;
	position: relative;}
.referral-form p.radio, .referral-form p.verification {
	clear: both;
	margin: 9px 0 9px 47%;
	font-size: 12px;}
.referral-form p.radio-float {
	clear: none;
	float:left;
	width: 45%;
	padding:0;
	margin:9px 0 9px 2%;}
.referral-form p.verification {margin-top: 0;}
.referral-form p.radio input, .referral-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 2%;
	padding: 0 2px;
	vertical-align: middle;
	line-height: 18px;
	height: 18px;}

/* appointment form */
.appointment-form {
	margin: 18px 0;
	padding: 0;
}
.appointment-form fieldset {border: 0; }
.appointment-form label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	width:45%;
	float:left;
	margin-top: 9px;
	line-height: 18px;
	}
.appointment-form label span {/*sits below labels; holds instructions*/
	color:#666666;
	display:block;
	font-size:11px;
	font-weight:normal;
	width:100%;}
.appointment-form input, .appointment-form select, .appointment-form textarea {
	float:left;
	font-size:12px;
	padding:0 2px;
	width:40%;
	margin:9px 0 9px 2%;
	background: #ffffff;}
.appointment-form p.radio, .appointment-form p.verification {
	clear: both;
	margin: 9px 0 9px 47%;
	font-size: 12px;}
.appointment-form p.radio-float {
	clear: none;
	float:left;
	width: 45%;
	padding:0;
	margin:9px 0 9px 2%;
	vertical-align: middle;
	line-height: 18px;}
.appointment-form span#found-other {width: 100%;}
.appointment-form span#found-other input {margin-left: 47%; background: #fff0b2}
.appointment-form p.verification {margin-top: 0;}
.appointment-form p.radio input, .appointment-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 2%;
	padding: 4px 2px;}
	
#content ul.staffNav li {float: left; margin: 5px; list-style:none;}
ul.staffNav a {text-decoration: none;}
#box {margin-top: 20px; width: 450px; height: 350px; overflow: hidden;}
#box #panels {width: 10000px; height: 350px;}
#box #panels .panel {float: left; height: 350px; width: 450px; display: block;}

#map, #map2 {width: 470px; height: 250px; border: 1px solid #00476b; margin-bottom: 20px;}

/* TYPES OF BRACES */
/* TYPES OF APPLIANCES */

img.left-border {
	float: left;
	clear: left;
	margin: 5px 15px 15px 0;
	border: none; /*solid 1px #1A786E Customize me! */
	}

img.right-border {
	float: right;
	clear: right;
	margin: 5px 0 15px 15px;
	border: solid 1px #1A786E; /* Customize me! */
	}
/* This styled div acts as the hr for browsers */
div.hr {
	height: 0px;
	background-color: #1A786E; /* Customize me! */
	border: solid 1px #1A786E; /* Customize me! */
	border-width: 1px 0 0 0; /* Customize me! */
	margin: 20px 0;
	padding: 0;
	clear: both;
	}
/* This is the backup for screen readers */
hr {
	display: none;
	height: 0px;
	background-color: #eee;
	border: solid 1px #eee;
	border-width: 1px 0 0 0;
	clear: both;
	}
	
