/* GENERAL 
-----------------------------------------*/
* {margin: 0; padding: 0;}/* Sets all padding and margins to 0 - forces all browsers to behave... */
* html #content {height: 300px} /* IE6 */
html, body {height: 100%;}

body {
background: #adafb2 url(images/bg01.gif) repeat-x;
margin: 0px;
font: 11px tahoma, arial, verdana, helvetica, sans-serif;
color: #000;
line-height: 20px;
}

table { 
border-collapse: collapse; 
border-spacing: 0; 
}

td, th { 
padding: 0; 
vertical-align: top;
font: 11px tahoma, arial, verdana, helvetica, sans-serif;
color: #000;
line-height: 20px;
}

a {
color: #369; 
text-decoration: underline;
}

a:hover {
text-decoration: none;
}

h1 {
background-repeat: no-repeat; 
height: 40px; /* this height reflects the height of the heading image */
margin: 0;
overflow: hidden; 
text-indent: -999em; /* hides rich text so only background image shows */
}

h2 {
font: normal 18px trebuchet ms, sans-serif;
letter-spacing: -.03em;
color: #4b8e9a;
margin: 10px 0;
}

h3 {
font: normal 16px trebuchet ms, sans-serif;
color: #666;
margin: 10px 0;
}

ul {
margin-top: 0;
margin-left: 20px;
}

ul.larger {
font-size: 14px;
}

img {border: none;}

p {margin: 0 0 10px 0;}


/* UTILTY 
-----------------------------------------*/
#utility, #utility ul { /* all lists */
background: #494c50 url(images/bg_utility.gif) repeat-x;
width: 570px;
height: 50px;
padding: 0;
margin: 0;
list-style: none;
}

#utility {float: right;}

#utility ul {
margin: 0 0 0 20px;
width: 497px;
}

/*  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: 50px; 
overflow: hidden; 
text-indent: -999em;  /*Indents the rich-text so it does not show */
}

/* Set the image for each nav item */
#patient {background: url(images/utility_patient.gif); width: 143px;}
#doctor {background: url(images/utility_doctor.gif); width: 138px;}
#contact {background: url(images/utility_contact.gif); width: 124px;}
#home {background: url(images/utility_home.gif); width: 92px;}

/* Shift the image position up to show the active state */
#utility a:hover, #utility .active {background-position: 0 -50px;}

/* Set cursor to default arrow so link does not appear clickable */
#utility .active {cursor: default}


/* UTILITY SUB-NAVIGATION 
-----------------------------------------*/
#utility li {
display: inline
}

#utility li ul { /* second-level lists */
margin: 0;
padding: 0;
width: 150px;
position: absolute;
background: #787b7f;
left: -999em;
line-height: 25px;
height: auto;
}

#utility li ul a {
padding: 0 0 0 10px;
width: 140px;
color: #dcdcdc;
text-indent: 0;
text-decoration: none;
line-height: 25px;
height: auto;
}

#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: #831d13;
background: #e8e8e9;
}


/* NAVIGATION 
-----------------------------------------*/
#nav, #nav ul { /* all lists */
width: 200px;
height: 230px;
padding: 0;
margin: 0;
list-style: none;
}


/*  Sets styles for all links that are inside the ul id="nav" */
#nav a {
width: 200px;
display: block;
overflow: hidden; 
text-indent: -999em;  /*Indents the rich-text so it does not show */
}

/* Set the image for each nav item */
#meet {background: url(images/nav_meet.gif); height: 39px;}
#team {background: url(images/nav_team.gif); height: 25px;}
#expect {background: url(images/nav_expect.gif); height: 25px;}
#ortho {background: url(images/nav_ortho.gif); height: 25px;}
#braces {background: url(images/nav_braces.gif); height: 25px;}
#life {background: url(images/nav_life.gif); height: 25px;}
#game {background: url(images/nav_game.gif); height: 66px;}

/* Shift the image position up to show the active state */
#nav a:hover, #nav .active {background-position: -200px 0;}

/* Set cursor to default arrow so link does not appear clickable */
#nav .active {cursor: default}


/* SUB-NAVIGATION 
-----------------------------------------*/
#nav li {
display: inline
}

#nav li ul { /* second-level lists */
margin: -25px 0 0 190px;
padding: 0;
width: 150px;
position: absolute;
background: #787b7f;
left: -999em;
line-height: 25px;
height: auto;
}

#nav li ul a {
padding: 0 0 0 10px;
width: 140px;
color: #dcdcdc;
text-indent: 0;
text-decoration: none;
line-height: 25px;
height: auto;
}

#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: #831d13;
background: #e8e8e9;
}


/* PAGE LAYOUT
-----------------------------------------*/
#container {
background: url(images/bg_container.gif);
margin: 0 auto;
position: relative;
width: 770px;
}

#container:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}

#main {
background: url(images/bg_main.gif) no-repeat;
}

#header {
margin: 0 auto;
position: relative;
width: 770px;
height: 290px;
}

#sidebar {
color: #fff;
float: left;
width: 200px;
padding: 0 0 20px 0;
}

#socialmedia { margin: 15px 0 0 20px;}
	#socialmedia .facebook { background:url(images/facebook_02.jpg) no-repeat; width: 181px; height: 37px; display:block; }

#contact_info {
color: #333;
padding: 10px 0 0 20px;
clear: both;
vertical-align: middle;
line-height: 20px;
overflow: hidden;
}

#contact_info .red {
font-size: 12px;
color: #88241a;
}

#content {
float: right;
width: 530px;
padding: 30px 20px 20px 20px;
line-height: 20px;
}

.image {
background-color: #999;
padding: 1px;
float: right;
margin: 0 0 20px 20px;
clear: both;
}

.image2 {
background-color: #999;
padding: 1px;
margin: 20px 0;
clear: both;
}

.image_aoa {
background-color: #999;
padding: 1px;
float: left;
margin: 0 20px 20px 0;
}

#site_map {font-weight: bold;}
#site_map .sub {font-weight: normal;}


/* FOOTER
-----------------------------------------*/
#footer {
height: 100px;
background: url(images/bg_footer.gif) no-repeat;
color: #ffc1b3;
padding: 35px 0 0 0;
text-align: center;
clear: both;
vertical-align: middle;
line-height: 20px;
overflow: hidden;
}

#footer a {
color: #ffc1b3;
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: 20px 0;
}


/* SESAME
-----------------------------------------*/
p#sesame {
padding: 10px 0 0 0; 
}

#sesame a {
font-size: 10px;
color: #dbdcdc;
text-decoration: underline;
}

#sesame a:hover {
text-decoration: none;
}


/*-----------------------------------------------
	Forms 
	*/
	/* Global form styles */
	div.referral-form, div.appointment-form, div.comments {
		width: 100%;
		margin-top: 18px;	
		letter-spacing: normal;
	}
	
	fieldset {border: 0; padding: 9px 0;margin: 0 18px;}
		fieldset h2 {margin: 0 0 9px;}
		fieldset p {margin: 0 0 18px;}
		fieldset p.disclaimer {font-size: 90%; font-style: italic; margin: 0;}
		fieldset dl {}
			fieldset dl dt {font-size: 16px; clear: both; margin: 9px 0 0;}
				fieldset dd ul {margin: 9px 0;}
					fieldset dd ul li, fieldset dd ol li {list-style: none;}
					fieldset dd li {
						clear: both; 
						margin: 3px 0; 
						padding: 5px 0 4px 10%;  
						overflow: auto; 
						height: auto;
						position: relative;
						}
					fieldset dd li:hover {
	background-color: #DADADA;
}
					fieldset dd li input:hover, fieldset dd li input:focus,
					 fieldset dd li select:hover, fieldset dd li select:focus, 
					 fieldset dd li textarea:hover, fieldset dd li textarea:focus {
					 	background: #f1f1f1;/* customize me - this is the hover color change of form fields*/
					 	outline-color: #962e2a;/* customize me */
					 	}
						fieldset li h3 {font-size: 12px; line-height: 18px; margin: 0;}
						fieldset li div {float: left; display: inline-block; width: 40%; position: relative; padding-right: 5%;}
						fieldset li div.input-street {width: 85%;}
						fieldset li div.input-city {width: 60%;}
						fieldset li div.input-full-name {width: 85%;}
						fieldset li div.input-phone-full {width: 85%;}
						fieldset li div.input-email {width: 85%;}
						fieldset li div.input-zip {width: 20%;}
						fieldset li div.content-switch, fieldset li div.radio, fieldset li div.checkbox {width: 85%;}
							fieldset li div.radio input {border: none;}
							fieldset li div.radio label {padding-right: 9px; font-size: 90%;}
						/*fieldset li div.hidden-content, fieldset li.hidden-content {display: none;}*/
						fieldset li div.input-select-full {width: 85%;}
						fieldset li div.input-comments {width: 85%;}
							li div.input-comments textarea {height: 63px; overflow: auto;}
						fieldset li div.input-captcha {width: 50%;}
						fieldset li div.verification {width: 35%;}
							li div.verification img {
								border: 1px solid; 
								margin-top: 9px;
								-moz-border-radius: 4px; /*for Moz, optional*/
								-webkit-border-radius: 4px; /*for Webkit Browsers, optional*/
								}
							fieldset li div label {
								line-height: 18px; 
								font-weight: bold; 
								margin-bottom: 9px;
								font-size: 80%; 
								color: #962e2a;/*override to match site*/
								}
							fieldset li div input, fieldset li div textarea, fieldset li div select {
								display: block; 
								line-height: 18px; 
								width: 100%;
								border: 1px solid;
								padding: 4px 0 3px;
								text-indent: 4px;
								margin-top: 9px;
								-moz-border-radius: 4px; /*for Moz, optional*/
								-webkit-border-radius: 4px; /*for Webkit Browsers, optional*/
								}
							fieldset li div select {height: 25px;}	
							fieldset li div.radio input {display: inline; width: auto; margin-right: 4px;}
							fieldset li div div {width: 100%;}
						fieldset dl dd.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*/
							display: block;
							width: 125px;
							height: 34px;
							text-align: center;
							margin: 0;
							background:#962e2a;/* customize me! */
							border: 1px solid #666;
							line-height: 34px;
							color:#fff;/* customize me! */
							font-size:12px;
							font-weight:bold;
							-moz-border-radius: 4px; /*for Moz, optional*/
							-webkit-border-radius: 4px; /*for Webkit Browsers, optional*/
							}
							
					
	/* appointment form 
	* Styles only for the appointment request form
	*/	

	
	/* comment form 
	* Styles only for the comments form
	*/
	/*numbering added by jQuery*/
	fieldset ol li span.comment-number {
		font-size: 150%;
		color: #962e2a;/* customize me*/
		position: absolute;
		left: 9px;
		top: 9px;
	}
		
	
	/* referral form 
	* Styles only for the referral form
	*/	
	.referral-form fieldset li div.radio {width: 40%;}
	
	/* JQuery */
	input.error, select.error, textarea.error {border-color: #a52003; background: #fefda1;}
	div.error {
		background: url(../images/validate_error.gif) 0 0 no-repeat; 
		color: #a52003; 
		width: 18px; 
		height: 18px; 
		position: absolute; 
		top: 0; 
		right: 0; 
		overflow: hidden; 
		display: block; 
		margin: 12px -2% 0 0; 
		text-indent: -999em;}
	div.success {
		background: url(../images/validate_ok.gif) 0 0 no-repeat; 
		width: 18px; 
		height: 18px; 
		position: absolute; 
		top: 0; 
		right: 0; 
		overflow: hidden; 
		display: block; 
		margin: 12px -2% 0 0; 
		text-indent: -999em;}

	.contact-form div.error, .contact-form div.success {margin-left: 0;}

