/* 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;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

/* typography */
body {font-size:75%;color:#000;font-family:Arial, Helvetica, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-family:"Times New Roman", Times, serif; font-weight:normal;color:#1d6465;}
h1 {font-size:2em;line-height:1;margin-bottom:0.5em;}
h2 {font-size:1.5em;margin-bottom:0.75em;}
h3, dt {font-size:1.2em;line-height:1;margin-bottom:1em;}
h4 {font-size:1em;line-height:1.25;margin-bottom:1.25em;height:1.25em;}
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
h6 {font-size:1em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p {margin:0 0 1.5em;}
p img {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
a:visited {color:#aa2227;}
a:focus, a:hover {color:#ff0000;}
a {color:#aa2227;text-decoration:underline;}
blockquote {margin:1.5em; color:#aa2227; font-style:italic; font-weight:bold;}
strong {font-weight:bold;}
em, dfn {font-style:italic;}
dfn {font-weight:bold;}
sup, sub {line-height:0;}
li ul, li ol {margin:0 1.5em;}
ul, ol {margin:0 1.5em 1.5em 1.5em;}
ul {list-style-image: url(../images/bullet.png);}
ol {list-style-type:decimal; margin-left:2em;}
dl {margin:0 0 1.5em 0;}
dl dt {font-weight:bold;}
dd {margin-left:1.5em;}
table {margin-bottom:1.4em;width:100%;}
th {font-weight:bold;background:#C3D9FF;}
th, td {padding:4px 10px 4px 5px;}
tfoot {font-style:italic;}
caption {background:#eee;}
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
.hide {display:none;}
.quiet {color:#666;}
.loud {color:#000;}
.highlight {background:#ff0;}
.first {margin-left:0;padding-left:0;}
.last {margin-right:0;padding-right:0;}
.top {margin-top:0;padding-top:0;}
.bottom {margin-bottom:0;padding-bottom:0;}

/* grid */
#container, .container {width:960px;margin:0 auto;}
body {margin:0;}
div.column {float:left;margin-right:0;}
div.column .invisalign { width:147px; height:32px; margin-left:50px; background-image:url(../images/layout/invisalign.png); background-position:left top; background-repeat:no-repeat;}
div.last {margin-right:0;}
hr {background:#a45908;color:#a45908;clear:both;float:none;width:100%;height:.1em;margin:0 0 1.45em;border:none;}
hr.space {background:#fff;color:#fff;}
.clearfix:after, .container:after {content:".";display:block;height:0;clear:both;visibility:hidden;}
.clearfix, .container {display:inline-block;}
 * html .clearfix, * html .container {height:1%;}
.clearfix, .container {display:block;}
.clear {clear:both;}

/* custom */
body {background: #0e3334 url(../images/layout/bg.jpg) top center no-repeat;}
#container {background: url(../images/layout/paper-texture.jpg) top center repeat-y; position:relative;}
#hd {background: url(../images/layout/hd.png) top center no-repeat; height:175px;}
#bd {background: url(../images/layout/watermark.jpg) 30px bottom no-repeat; min-height:400px;}

#logo, #logo a {height:160px; width:300px;}

#logo {position: absolute; top:0; left:330px;}

#logo a
{
	background: url(../images/layout/clear.gif) top left no-repeat;
	display:block; 
	overflow: hidden;
	text-indent: -999em;
}

#hd p.address {
	position: absolute;
	text-indent: -999px;
	overflow: hidden;
	display: block;
}
#hd p.clickhere{
	width:250px;
	height:30px;
	float:right;
	margin:90px 65px 0px 0px;
	}
#hd p.clickhere a{
	width:250px;
	height:30px;
	display:block;
	}

#content {width:640px; padding-top:220px; position: relative;}
	#content h1 {
		color:#fbe0af; 
		background:url(../images/layout/h1.jpg) top left no-repeat; 
		width:640px; 
		padding-top:18px; 
		height:60px; 
		padding-left:85px;
		position: absolute;
		top:120px;
		}
	#content h1.flash-replaced {margin:0 0 1em 0; padding:18px 0 0 30px; text-indent:0;}
	
	dl.logos img {margin: 5px 0 20px 0;}
	dt a {display:block; font-weight:normal; margin-bottom:5px;}
	.flash-replaced {margin-bottom:20px; text-align:left;}
	
	.flash-replaced .alt {display:none;}
	.intro {font-size:1.25em; font-style:italic;}
	div.map {margin-bottom:1em;}
	
	/* images */
	img.border, img.auto {border:3px solid #1d6465; padding:3px; background-color:#cd7d0b;}
	img.auto {float: right; margin: 0 0 0 15px}

#sidebar {background: url(../images/layout/sidebar-bottom.png) bottom left no-repeat; width:250px; padding-bottom:33px; margin-top:105px;}
#sidebar div.inner {background: url(../images/layout/sidebar.jpg) top left no-repeat; padding-top:30px;}
#sidebar ul {margin:0; list-style:none; width:210px; list-style-image:none;}
#subnav ul a {color:#155b5c; text-decoration:none; font-weight:bold; display:block; min-height:21px; outline:none;}
#subnav ul a:hover {text-decoration:underline;}
#subnav ul ul a {color:#a35807; font-weight:normal;}
#subnav li.active a {font-weight:bold;}
#subnav li a {padding-left:25px;}
#subnav li li a {padding-left:40px;}
#subnav li.active a {background:url(../images/nav/subnav-active.png) 5px 0 no-repeat;}
#subnav li li.active a {background-position:15px 0;}
#sidebar h3 {
	background: url(../images/nav/subnav-heading.png) top left no-repeat; 
	color:#fae9ca; 
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-weight:bold; 
	height:44px; 
	margin-bottom:0;
	padding-top:10px; 
	text-indent:30px; 
	width:230px; 
}
#sidebar ul.logos a {
	display:block;
	width: 230px;
	height: 66px;
	background: url(../images/layout/complimentary-consultation.png) top left no-repeat;
	overflow: hidden;
	text-align: left;
	text-indent: -999em;
}
#sidebar ul.logos li .insuranceAccepted{
	display:block;
	width: 230px;
	height: 66px;
	background: url(../images/layout/complimentary-consultation.png) bottom left no-repeat;
	overflow: hidden;
	text-align: left;
	text-indent: -999em;
	}
#sidebar ul.logos a.invisalign {background-image:url(../images/layout/invisalign-callout.png);}
#sidebar ul.logos a.incognito {background-image:url(../images/layout/incognito-callout.png);}
#sidebar ul.logos a.aao {background-image:url(../images/layout/aao-callout.png); height:74px;}

/* navigation */
#util a, #nav a {
	background: url(../images/nav/home.png) top left no-repeat;
	display: block;
	height: 105px; /* h */
	outline: none;
	overflow: hidden;
	text-align: left;
	text-indent: -999em;
	width: 190px; /* w */
}

/* util nav */
#util {background: url(../images/layout/util.png) top left no-repeat; position:absolute; top:0; left:30px; width:190px; height:170px;}
#util ul {list-style-type:none; margin:0; padding-top:25px; list-style-image:none;}
#util ul {width: 190px;}
#util a {height: 36px;}
#util a:hover, #util li:hover a, #util li.sfhover a {background-position: -190px 0;} /* -w */
#util li.active a {background-position: -380px 0;} /* -2w */

	/* set bg image for each link */
	a#patient-login {background-image:url(../images/nav/patient-login.png);}
	a#contact-us {background-image:url(../images/nav/contact-us.png);}

/* main nav */
#nav {background: url(../images/layout/nav.jpg) top left no-repeat; position:absolute; top:175px; left:0; width:960px;}
#nav ul {list-style: none; margin: 0 0 0 17px;}
#nav li {float:left;}
#nav a:hover, #nav li:hover a, #nav li.sfhover a {background-position: 0 -105px;} /* -h */
#nav li.active a {background-position: 0 -210px;} /* -2h */
#nav li.active a:hover, #nav li.active:hover a, #nav li.active.sfhover a {background-position: 0 -315px;} /* -3h */

	/* set bg image for each link */
	a#considering-us {background-image:url(../images/nav/considering-us.jpg); width:163px;}
	a#our-office {background-image:url(../images/nav/our-office.jpg); width:112px;}
	a#join-our-family {background-image:url(../images/nav/join-our-family.jpg); width:153px;}
	a#educate-yourself {background-image:url(../images/nav/educate-yourself.jpg); width:166px;}
	a#for-our-patients {background-image:url(../images/nav/for-our-patients.jpg); width:164px;}
	a#kids-first-dental {background-image:url(../images/nav/kids-first-dental.jpg); width:167px;}


/* subnav-flyout */
#nav li ul {
	background: url(../images/nav/subnav.png) bottom left no-repeat; padding: 10px 0 30px 0;
	left: -9999px;
	position: absolute;
	width: 200px;
	z-index: 10; }
#nav li ul a {
	color: #aa2227;
	background-image: none;
	height: 25px;
	text-decoration: none;
	text-indent:12px;
	padding-top:7px;
	width: 200px;}
#nav li ul a:hover {background:#3b7677; color:#fff;}
#nav li:hover ul,
#nav li.sfhover ul {left: auto; margin: -39px 0 0 0;}

#nav ul ul ul {display:none;}
#nav li:hover li:hover ul,
#nav li.sfhover li.sfhover ul {display: block; margin-left: 200px;}

#ft {background: url(../images/layout/ft.png) top center no-repeat; padding-top: 100px;}
#ft, #ft a {color: #d5caa2; text-decoration:none;}
#ft a:hover {color: #fff;}
#ft .sesame {width:250px; text-align:center;}
#ft .description {width:640px;}

/*---------------------------
Sesame Forms
---------------------------*/

/* Global form styles */
div.referral-form, div.appointment-form, div.comments, div.login-form {
	width: 98%;
	margin-top: 18px;	
}

fieldset {border: 0; padding: 9px 0;color: #002544; margin: 0 18px;}
fieldset div {clear: both;}
.form-header h3 {margin: 0 0 9px;}
.form-header p {margin: 0 0; padding-bottom: 18px;}
.form-footer {padding-top: 18px; text-align: center; /*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:#3b7677;/* customize me! */
	border: 1px solid #002544;
	text-align:center;
	line-height:31px;
	color:#fff;/* 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;}
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;}

/* referral form */
div.referral-form {
	margin: 18px 0;
	padding: 10px;
}
.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: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.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: 10px;
}
.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: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%;
	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;}

/* comment form */	
div.comments {
	margin: 18px 0;
	padding: 10px;
}
.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:45%;
	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%;
}

/* Errors */

/* 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;}
div.success {padding-left: 18px; background: url(../images/validate_ok.jpg) 0 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;}

#flash-crazy-lion{
	float:right;
	}