/* GENERAL 
-----------------------------------------*/
* {
	margin: 0px;
	padding: 0px;
}/* Sets all padding and margins to 0 - forces all browsers to behave... */

body {
	margin: 0px;
	color: #333;
	line-height: 24px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	background-color: #ece1cd;
	background-image: url(../images/bg01.gif);
	background-repeat: no-repeat;
	background-position: center top;
	padding: 0px;
}

a {
color: #606;
text-decoration: underline;
}

a:hover {
text-decoration: none;
}

h1 {
	background-repeat: no-repeat;
	width: 500px;
	margin: 0;
	overflow: hidden;
	text-indent: -999em; /* hides rich text so only background image shows */
}

h2 {
	letter-spacing: -.03em;
	color: #b59335;
	font-family: "trebuchet ms", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	margin-top: 15px;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
}

h3 {
font: normal 16px trebuchet ms, sans-serif;
color: #333;
margin: 10px 0;
}

ul, ol {
margin-top: 0;
margin-left: 20px;
}

ul.larger {
font-size: 14px;
}

img {border: none;}

p {margin: 0 0 10px 0;}


/* LOGO
----------------------------------------*/
#logo-container {
	float: left;
	height: 100px;
	width: 265px;
}
.logo { letter-spacing : -1000em; }
/* Just for Opera, but hide from MacIE */
/*\*/html>body .logo {
	letter-spacing : normal;
	text-indent : -999em;
	overflow : hidden;
	width: 265px;
	height: 100px;
	background: transparent;
	float: left;
}
/* End of hack */

h1.logo a {
	padding: 0;
	margin: 0;
	width: 265px;
	height: 100px;
	display: block;
	background: transparent;
	float: left;
}


/* TAGLINE
----------------------------------------*/
#tagline { letter-spacing : -1000em; }
/* Just for Opera, but hide from MacIE */
/*\*/html>body #tagline { letter-spacing : normal; text-indent : -999em; overflow : hidden;
padding: 0;
margin: 0;
width: 410px;
height: 35px;
line-height: 0;
float: left;
background: transparent;
}
/* End of hack */


/* UTILTY 
-----------------------------------------*/
#utility-container {
	width: 204px;
	margin-right: 20px;
	float: right;
}
#utility, #utility ul { /* all lists */
	height: 30px;
	list-style: none;
	position: relative;
	z-index: 1;
	padding: 0;
	margin: 0;
	width: 204px;
}

#utility {float: right;}

/*  Makes the list items sit next to each other */
#utility li {float: left;}

/*  Sets styles for all links that are inside the ul id="utility" */
#utility a {
display: block;
height: 30px; 
overflow: hidden; 
text-indent: -999em;  /*Indents the rich-text so it does not show */
}

/* Set the image for each nav item */
#patient-login {background: url(../images/nav-plogin.gif); width: 82px;}
#doctor-login {background: url(../images/nav-dlogin.gif); width: 88px;}
#home {
	background: url(../images/nav-home.gif);
	width: 34px;
}

/* Shift the image position up to show the active state */
#utility a:hover, #utility .active {
	background-position: 0 -30px;
}

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


/* UTILITY SUB-NAVIGATION 
-----------------------------------------*/
#utility li {
display: inline;
font: 11px tahoma, arial, sans-serif;
}

#utility li ul { /* second-level lists */
margin: 0 0 0 0;
padding: 0;
width: 100px;
position: absolute;
background: #5f0344;
left: -999em;
line-height: 29px;
height: auto;
}

#utility li ul a {
padding: 0 0 0 10px;
width: 90px;
color: #ca98bb;
text-indent: 0;
text-decoration: none;
line-height: 29px;
height: auto;
border-bottom: 1px solid #8e4c71;
}

#utility li:hover ul, #utility li.sfhover ul { /* lists nested under hovered list items */
left: auto;
display:block;
}

#utility li:hover ul a:hover, #utility li.sfhover ul a:hover { /* lists nested under hovered list items */
color: #fff;
background: #460132;
}


/* NAVIGATION 
-----------------------------------------*/
#nav-container {
	width: 482px;
	margin-right: 20px;
	float: right;
	margin-top: 21px;
}

#nav, #nav ul { /* all lists */
	width: 482px;
	height: 49px;
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
	z-index: 1;
}

/*  Sets styles for all links that are inside the ul id="nav" */
#nav a {
height: 49px;
display: block;
overflow: hidden; 
text-indent: -999em;  /*Indents the rich-text so it does not show */
}

/* Set the image for each nav item */
#services {
	background: url(../images/nav-services.gif);
	width: 79px;
}

#implants {
	background: url(../images/nav-implants.gif);
	width: 121px;
}
#cosmetic {
	background: url(../images/nav-cosmetic.gif);
	width: 121px;
}
#team {
	background: url(../images/nav-team.gif);
	width: 94px;
}
#contact {
	background: url(../images/nav-contact.gif);
	width: 67px;
}

/* Shift the image position up to show the active state */
#nav a:hover, #nav .active {
	background-position: 0px -49px;
}

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


/* SUB-NAVIGATION 
-----------------------------------------*/
#nav li {
	display: inline;
	font: 11px tahoma, arial, sans-serif;
	float: left;
}

#nav li ul { /* second-level lists */
margin: -30px 0 0 240px;
padding: 0;
width: 150px;
position: absolute;
background: #5f0344;
left: -999em;
line-height: 29px;
height: auto;
}

#nav li ul a {
padding: 0 0 0 10px;
width: 140px;
color: #ca98bb;
text-indent: 0;
text-decoration: none;
line-height: 29px;
height: auto;
border-bottom: 1px solid #8e4c71;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
left: auto;
display:block;
}

#nav li:hover ul a:hover, #nav li.sfhover ul a:hover { /* lists nested under hovered list items */
color: #fff;
background: #460132;
}


/* PAGE LAYOUT
-----------------------------------------*/
#container {
	position: relative;
	width: 770px;
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	background-image: url(../images/bg-container.gif);
	background-repeat: repeat-y;
	background-color: #FEF6E5;
}
#subnav {
	background-color: #FFF;
	width: 230px;
	float: left;
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: #1C150C;
	list-style-type: none;
	padding: 0px;
	margin-top: 15px;
	margin-right: 0px;
	margin-bottom: 25px;
	margin-left: 0px;
}
#subnav li a:hover, #subnav li a.active {
	color: #369;
}
#subnav li {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #E8DBC2;
	margin: 0px;
	padding: 0px;
}
#subnav li a {
	font-size: 12px;
	color: #1C150C;
	text-decoration: none;
	display: block;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 7px;
}

#topbar {
	width: 770px;
	height: 100px;
	background-image: url(../images/bg-nav.jpg);
	background-repeat: no-repeat;
}
#topbar:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}

#header {
background: url(../images/bg-header.jpg) no-repeat;
position: relative;
width: 790px;
height: 175px;
}
#header:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}

#main {
	width: 770px;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
}
#main:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}
#sidebar {
	color: #463829;
	float: left;
	width: 248px;
	padding: 0;
	margin-top: 22px;
	margin-left: 20px;
	height: 378px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 20px;
}
#sidebar #address{
	float: left;
	width: 248px;
	background-image: url(../images/bg-address.gif);
	background-repeat: no-repeat;
	background-position: right top;
	height: 378px;
	padding: 0;
	margin: 0px;
}

#contact-info {
color: #fff;
font: 11px tahoma, arial, sans-serif;
padding: 20px 0 20px 45px;
clear: both;
vertical-align: middle;
line-height: 20px;
overflow: hidden;
width: 190px;
}

#content {
	float: right;
	width: 485px;
	padding-top: 22px;
	padding-right: 15px;
	padding-left: 0px;
	margin: 0px;
	padding-bottom: 0px;
}
#content a {
	color: #0099cc;
}
#content a:hover {
	text-decoration: none;
}

.float-right {
float: right;
margin: 0 0 20px 20px;
clear: both;
}

.img {
float:none;
background: #fff;
padding: 4px;
border: 1px solid #ac69b2;
margin: 0 10px 10px 0;
clear: both;
}

.img-right {
	float: right;
	clear: both;
	margin-top: 10px;
	margin-right: 0;
	margin-bottom: 20px;
	margin-left: 20px;
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: #1D150B;
}
.img-left {
	float: left;
	clear: both;
	margin-top: 10px;
	margin-right: 20;
	margin-bottom: 20px;
	margin-left: 0px;
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: #1D150B;
}

#site-map-page {font-weight: bold;}
#site-map-page .sub {font-weight: normal;}


/* FOOTER
-----------------------------------------*/
#footer {
	background-color: #231708;
	color: #fff6e5;
	margin: 0px;
	text-align: center;
	clear: both;
	vertical-align: middle;
	overflow: hidden;
	width: 770px;
	padding: 0;
	font-size: 9px;
	line-height: 18px;
	border-top-width: 2;
	border-right-width: 0;
	border-bottom-width: 0;
	border-left-width: 0;
	border-top-style: solid;
	border-top-color: #E8DBC2;
}

#footer h2 {
	color: #b59335;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 30px;
	margin-top: 25px;
	margin-right: 75px;
	margin-bottom: 15px;
	margin-left: 75px;
}
#footer h2 a {
	color: #b59335;
}

#footer a {
	color: #E8DBC2;
	text-decoration: underline;
}

#footer a:hover {
text-decoration: none;
}

#footer li {
	display: inline;
	list-style-type: none;
	padding-right: 7px;
}

#flash_standards {
	background: transparent;
	font-size: 10px;
	color: #333;
	text-align: center;
	padding: 0;
}


/* SESAME
-----------------------------------------*/
p#sesame {
padding: 10px 0; 
}

#sesame a {
font-size: 10px;
color: #fcf;
text-decoration: underline;
}

#sesame a:hover {
text-decoration: none;
}
#flashcontent {
	background-image: url(../images/bg-flash.jpg);
	background-repeat: no-repeat;
	padding: 0px;
	width: 770px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
#flashcontent p {
	background-color: #FDF4E2;
}
#container #main.bg {
	background-image: url(../images/bg-content.gif);
	background-repeat: no-repeat;
	background-position: top;
}
div#sesame-game {
background: #000;
line-height: 0;
margin: 10px auto;
text-align: center;
width: 400px}

ul#sesame-games {
list-style: none;
margin: 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}
#anatomy-of-a-tooth {background: url(../images/anatomy-of-a-tooth/anatomy-of-a-tooth-bg.gif); height: 525px; position: relative; width: 300px}
#anatomy-of-a-tooth a {cursor: help; display: block; position: absolute}
#anatomy-of-a-tooth a:hover {background: transparent}
a#bone {height: 20px; left: 30px; top: 380px; width: 40px}
a#cementum {height: 20px; left: 100px; top: 460px; width: 90px}
a#dentin {height: 20px; left: 80px; top: 165px; width: 60px}
a#enamel {height: 20px; left: 165px; top: 135px; width: 60px}
a#gingiva {height: 30px; left: 20px; top: 275px; width: 60px}
a#periodontal {height: 30px; left: 205px; top: 440px; width: 70px}
a#pulp {height: 30px; left: 125px; top: 220px; width: 50px}
a#print {cursor: pointer; height: 23px; left: 240px; top: 502px; width: 60px}
#anatomy-of-a-tooth a img {border: none; display: block; height: 0; position: absolute; width: 0}
#anatomy-of-a-tooth a:hover img {height: 98px; width: 300px}
a#bone:hover img {left: -30px; top: -380px}
a#cementum:hover img {left: -100px; top: -460px}
a#dentin:hover img {left: -80px; top: -165px}
a#enamel:hover img {left: -165px; top: -135px}
a#gingiva:hover img {left: -20px; top: -275px}
a#periodontal:hover img {left: -205px; top: -440px}
a#pulp:hover img {left: -125px; top: -220px}

img.right {
float:right;
margin:0 0 10px 10px;}


/* Global form styles */
.comments {margin: 18px auto;}
fieldset {border: none; padding: 9px 0;}
fieldset div {clear: both;}
/* comment form */	
.comments {
	margin: 18px 0;
	padding: 10px;}
.comments li {font-weight: bold;}
.comments label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	text-align:left;
	width:45%;
	float:left;
	padding-top: 4px;}
.comments label span {/*sits below labels; holds instructions*/
	color:#666666;
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:left;
	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:4px 2px;
	border:1px solid #1D160D;/* customize me! */
	width:45%;
	margin:9px 0 9px 2%;
	background: #ffffff;
}
.comments p.verification {
	clear: both;
	margin: 0 0 9px 47%;
	font-size: 12px;}
.comments p.radio-float {
	clear: none;
	float:left;
	width: 45%;
	padding:0;
	margin:9px 0 9px 0;}
.comments p.verification img {
	border: 1px solid #1D160D;
}/* customize me! */
.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%;
}


/* Global form styles */
.appointment-form {margin: 18px auto;}
fieldset {border: none; padding: 9px 0;}
fieldset div {clear: both;}
.form-header {border-bottom: 1px solid #1E170D;/*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 #1E170D;/*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:#1E170D;/* customize me! */
	border: 1px solid #1E170D;
	text-align:center;
	line-height:31px;
	color:#ffffff;/* customize me! */
	font-size:12px;
	font-weight:bold;}
/* appointment form */
.appointment-form {
	margin: 18px 0;
	padding: 10px;}
.appointment-form fieldset {border: none; padding: 9px 0;}
.appointment-form label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	text-align:left;
	width:45%;
	float:left;
	line-height: 18px;
	padding-top: 4px;}
.appointment-form label span {/*sits below labels; holds instructions*/
	color:#666666;
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:left;
	width:100%;}
.appointment-form input, .appointment-form select, .appointment-form textarea {
	float:left;
	font-size:12px;
	padding:4px 2px;
	border:solid 1px #1E170D;/* customize me! */
	width:45%;
	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%;}
.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.verification img {border: 1px solid #1E170D;}/* customize me! */
.appointment-form p.radio input, .appointment-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 2%;
	padding: 4px 2px;}
	
	/* Global form styles */
.referral-form {margin: 18px auto;}
fieldset {border: none; padding: 9px 0;}
fieldset div {clear: both;}
/* referral form */
.referral-form {
	margin: 18px 0;
	padding: 10px;}
.referral-form fieldset {border: none; padding: 9px 0;}
.referral-form label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	text-align:left;
	width:45%;
	float:left;
	line-height: 18px;
	padding-top: 4px;}
.referral-form label span {/*sits below labels; holds instructions*/
	color:#666666;
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:left;
	width:100%;}
.referral-form input, .referral-form textarea {
	float:left;
	font-size:12px;
	padding:4px 2px;
	border:solid 1px #1E170D;/* customize me! */
	width:45%;
	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.verification img {border: 1px solid #1E170D;}/* customize me! */
.referral-form p.radio input, .referral-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 2%;
	padding: 4px 2px;}



#invisalign-sidebar {
	background: #fff;
	width: 275px;
	margin: 0 0 15px 15px;
	padding: 0;
	border: solid 1px #000;
	float: right;
	clear: right;}
#invisalign-sidebar a {
	color: #036;}
#invisalign-sidebar h3 {
	background: #97AFC2;
	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 {clear: both;}
