/* 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;}
object {outline: none;}
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;}
a img {border:none;}
.hide {display:none;}
.flash-replaced .alt {display:none;}

* {outline: none;}
body {background: #d1c8b9 url(../images/bg.jpg) top repeat-x;}

/* * * * * text * * * * */
body, form, input, textarea {color: #000; font-family: Arial, sans-serif; font-size: 12px;}
p {color: #000; line-height: 22px; margin: 10px 0;}
blockquote {margin: 10px 40px; padding: 0;}
em {font-style: italic;}

#content ul {line-height: 16px; list-style: disc; margin: 20px 40px;}
#content ul li {margin: 10px 0;}
#content ul li ul {line-height: 12px; list-style: circle; margin: 10px 30px;}
#content ul li ul li {margin: 10px 0;}

#ft p {color: #eeebd8; line-height: 18px;}

body.site-map #content ul {line-height: 16px; list-style: disc; margin: 20px 20px;}
body.site-map #content ul li {margin: 10px 0;}
body.site-map #content ul ul {color: #000; line-height: 14px; list-style: circle; margin: 10px 30px;}
body.site-map #content ul ul a {color: #000;}
body.site-map #content ul ul li {margin: 10px 0;}

p.sub_nav {color: #a77d29;}

/* * links * */
a {color: #01508e; text-decoration: none;}
a:hover {text-decoration: underline;}

p.sub_nav a {color: #a77d29;}
p.sub_nav a:hover, p.sub_nav a.active {color: #6c6d2f;}

#ft a {color: #eeebd8;}
#ft a#sesame-link {color: #eeebd8; font-weight: bold;}

/* * headers * */
h1 {color: #363a1e; font-family: "Myriad Pro", sans-serif; font-size: 30px; font-weight: 600; height: 52px; margin-bottom: 20px; padding-top: 20px;}
h1#logo {padding: 0;}
body.home h1.headline {margin: 0; padding: 0;}
h2 {color: #a77d29; font-family: Verdana, sans-serif; font-size: 18px; font-weight: bold; margin: 5px 0;}
h3 {color: #a77d29; font-family: Verdana, sans-serif; font-size: 18px; font-weight: normal; margin: 5px 0;}
h4 {color: #000; font-family: sans-serif; font-size: 11px; font-weight: bold; margin: 5px 0;}

/* * * * * images * * * * */
img {border: 0; display: block;}
img.center {clear: both; margin: 0 auto;}
img.left {clear: left; float: left; margin: 0 10px 10px 0;}
img.right {clear: right; float: right; margin: 0 0 10px 10px;}
img.auto {clear: right; float: right; margin: 0 0 10px 10px;}

#networking-container {margin: 0 auto; width: 183px;}
#networking-container img {clear: none; float: left; margin: 20px 6px 10px;}

#links-container {clear: both; height: 200px; margin: 20px 0;}
#links-container img {background: #fff; border: 1px solid #000; clear: none; padding: 5px;}

.flash-replaced .alt {display: block; height: 1000px; position: absolute; overflow: hidden; width: 0;}

div.back-to-top {clear: both; float: right; margin: 0;}

div.map {border: 1px solid #000; height: 350px; overflow: hidden; width: 550px;}

/* * * * * layout * * * * */
#address {background: url(../images/address.png) no-repeat; height: 338px; margin-left: 216px; overflow: hidden; text-indent: -9999px; left: 50%; position: absolute; top: 58px; width: 312px; z-index: 3;}

#phone {margin-left: 243px; overflow: hidden; left: 50%; position: absolute; top: 157px; z-index: 999; color:#fbfde5; font-family:Arial, Helvetica, sans-serif; font-size:18px; font-weight:bold; width:200px; height:20px; }

#container {background: url(../images/container-bg.png) repeat-y; left: 50%; margin: 0 0 0 -489px; padding-bottom: 109px; position: relative; top: -69px; width: 979px; z-index: 2;}

#content {background: url(../images/content-bg.jpg) no-repeat top; margin-left: 251px; min-height: 900px; padding: 0 55px; width: 600px;}

#hd {background: url(../images/header.jpg) no-repeat; height: 305px; left: 50%; margin: 0 0 0 -720px; position: relative; top: 0; width: 1440px; z-index: 0;}

#hd h1#logo {height: 167px; margin: 58px 0 0 257px; position: absolute; width: 414px;}

#hd h1#logo a {background: url(../images/logo.png) no-repeat; display: block; height: 167px; overflow: hidden; text-indent: -9999px; width: 414px;}

#ft {background: url(../images/footer-bg.jpg) bottom center; clear: both; height: 163px; margin: 0 auto; padding-top: 70px; text-align: center; width: 979px;}

#ft-container {background: #4a3d35 url(../images/footer-container-bg.jpg) top repeat-x; clear: both; height: 233px; text-align: center; margin-top: -69px; width: 100%;}

#nav-container {left: 50%; margin: 236px 0 0 -471px; position: absolute; top: 0; width: 233px; z-index: 3;}

.clear {clear: both;}

/* * jquery slideshow * */
#slideshow-home {height: 315px; left: -56px; position: relative; top: -11px; width: 728px;}

/* ---------------------------------------- VERTICAL NAVIGATION ------------------------------------------------- */

/* * * * * navigation * * * * */
#nav {background: url(../images/nav/bg.jpg) no-repeat; height: 307px; padding-top: 25px; width: 233px;}
#nav ul {list-style: none; width: 233px;}
#nav li {float: left;}
#nav a {display: block; height: 37px; overflow: hidden; text-indent: -9999px; width: 233px;}

/* * navigation images * */
a#meet-the-team {background-image:url(../images/nav/meet-the-team.jpg);}
a#for-new-patients {background-image:url(../images/nav/for-new-patients.jpg);}
a#about-orthodontics {background-image:url(../images/nav/about-orthodontics.jpg);}
a#braces-101 {background-image:url(../images/nav/braces-101.jpg);}
a#orthodontic-treatments {background-image:url(../images/nav/orthodontic-treatments.jpg);}
a#first-aid {background-image:url(../images/nav/first-aid.jpg);}
a#contact-us {background-image:url(../images/nav/contact-us.jpg);}
a#home {background-image:url(../images/nav/home.jpg);}

/* * navigation rollover effects * */
#nav ul a:hover, #nav ul li.active a {background-position: 0 -37px;}
#nav ul li:hover #meet-the-team, #nav ul li.sfhover #meet-the-team,
#nav ul li:hover #for-new-patients, #nav ul li.sfhover #for-new-patients,
#nav ul li:hover #about-orthodontics, #nav ul li.sfhover #about-orthodontics,
#nav ul li:hover #braces-101, #nav ul li.sfhover #braces-101,
#nav ul li:hover #orthodontic-treatments, #nav ul li.sfhover #orthodontic-treatments,
#nav ul li:hover #first-aid, #nav ul li.sfhover #first-aid,
#nav ul li:hover #contact-us, #nav ul li.sfhover #contact-us {background-position: 0 -37px;}

/* * subnavigation * */
#nav ul li ul {background: #468799; border: 1px solid #fdfdfa; display: block; left: -9999px; list-style: none; padding: 5px 0; position: absolute; z-index: 1; width: 200px;}
#nav ul li:hover ul, #nav ul li.sfhover ul {left: auto; margin: -35px 0 0 225px;}
#nav ul li ul li {display: block;}
#nav ul li ul li a {color: #e7e4d6; font-size: 12px; height: 24px; line-height: 24px; padding-left: 10px; text-decoration: none; text-indent: 0; width: 190px;}

/* * subnavigation rollover effects * */
#nav ul li ul li a:hover, #nav ul li ul li.active a {background: #325862;}

/* * * * * TOP NAVIGATION * * * * */
#topnav {margin-left: 218px; left: 50%; position: absolute; top: 0; width: 253px; z-index: 3;}
#topnav ul {list-style: none; width: 253px;}
#topnav li {float: left;}
#topnav a {display: block; height: 33px; overflow: hidden; text-indent: -9999px;}

/* * top navigation images * */
a#patient-login {background: url(../images/nav/patient-login.jpg); width: 125px;}
a#doctor-login {background: url(../images/nav/doctor-login.jpg); width: 128px;}

/* * top navigation rollover effects * */
#topnav ul a:hover, #topnav ul li.active a {background-position: 0 -33px;}

/* SESAME CSS */
img.right {
	margin: 0 0 15px 15px;
	float: right;
	clear: right;
	}
img.left {
	margin: 0 15px 15px 0;
	float: left;
	clear: left;
	}
img.left-border {
	float: left;
	clear: left;
	margin: 5px 15px 15px 0;
	border: solid 1px #333; /* Customize me! */
	}
img.right-border {
	float: right;
	clear: right;
	margin: 5px 0 15px 15px;
	border: solid 1px #333; /* Customize me! */
	}
p.flash_notice {
	margin: 18px;
	padding: 9px;
	color: #ff0000;
	border: 1px dotted #ff0000;
	background: #ffffff;
	text-align: center;
	}
.clear {clear: both;}
/* This styled div acts as the hr for most browsers */
div.hr {
	height: 0px;
	background-color: #dfdbc8; /* Customize me! */
	border: solid 1px #dfdbc8; /* 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: #363a1e;
	border: solid 1px #363a1e;
	border-width: 1px 0 0 0;
	clear: both;
	}
/* Clear Fix */
.clear {clear: both;}
.cf:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	}
.cf {display: inline-block;} /*this trips hasLayout for ie7*/
.cf {display: block;} /*this returns it back to normal*/
* html .cf {height: 1px;}


div.box {
	float: right;
	clear: right;
	width: 334px;
	background-color: #A58356; /* Customize me! */
	padding: 5px 0 5px 5px;
	margin: 0 0 20px 20px;
	border: solid 1px #333; /* Customize me! */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px;
}
div.box img {
	float: left;
	border: solid 1px #333; /* Customize me! */
	margin-right: 5px;
}
div.box p {
	float: left;
	font-weight: bold;
	width: 50%;
	margin: 0;
	padding: 0;
}

/* In-Ovation */
div#comparison {
	background: #fff;
	border: 1px solid #a0b606;
	display: inline-block;
	margin-bottom: 10px;
	clear: both;
	padding: 20px;
	width: 400px;
	}
	div#comparison div {
		float: left;
		width: 49%;
		}
#video-in-ovation {
	width: 320px;
	height: 266px;
	}

/*-----------------------------------------------
	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: #A7D2DF;/* customize me - this is the hover color change of li */}
					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: #537197;/* 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: #537197;/*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:#cfdae4;/* customize me! */
							border: 1px solid #537197;
							line-height: 34px;
							color:#537197;/* 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: #537197;/* 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;}
	
	
	/* GALLERY LIST */
/* IMPORTANT - This prevents a flash of unstyled content */
#gallery { visibility: hidden; }

/* GALLERY CONTAINER */
.gallery { background: #fff; border: 1px solid #333; padding: 10px; margin: 0; -moz-border-radius: 5px; -webkit-border-radius: 5px;}

/* LOADING BOX */
.loader { background: url(../images/loader.gif) center center no-repeat #ddd; }

/* GALLERY PANELS */
.panel {}

/* DEFINE HEIGHT OF PANEL OVERLAY */
/* NOTE - It is best to define padding here as well so overlay and background retain identical dimensions */
.panel .panel-overlay,
.panel .overlay-background { height: 25px; padding: 0 10px; } /* Change height to 0 if no captions are required */

/* PANEL OVERLAY BACKGROUND */
.panel .overlay-background { background: #222; }

/* PANEL OVERLAY CONTENT */
.panel .panel-overlay { color: #fff; font-size: 12px; }
.panel .panel-overlay a { color: white; text-decoration: underline; font-weight: bold; }

/* FILMSTRIP */
/* margin will define top/bottom margin in completed gallery */
.filmstrip { margin: 5px; }

/* FILMSTRIP FRAMES (contains both images and captions) */
.frame {}

/* WRAPPER FOR FILMSTRIP IMAGES */
.frame .img_wrap { border: 1px solid #aaa; }

/* WRAPPER FOR CURRENT FILMSTRIP IMAGE */
.frame.current .img_wrap { border-color: #000; }

/* FRAME IMAGES */
.frame img { border: none; }

/* FRAME CAPTION */
.frame .caption { font-size: 11px; text-align: center; color: #888; }

/* CURRENT FRAME CAPTION */
.frame.current .caption { color: #000; }

/* POINTER FOR CURRENT FRAME */
.pointer {
	border-color: #000;
}

/* TRANSPARENT BORDER FIX FOR IE6 */
/* NOTE - DO NOT CHANGE THIS RULE */
*html .pointer {
	filter: chroma(color=pink);
}