/* 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;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
a, img, object {border:none; outline:none;}
.hide {display:none;}

@font-face {
	font-family: 'JournalRegular';
	src: url('journal-webfont.eot');
	src: local('Journal'), local('Journal'), url('journal-webfont.woff') format('woff'), url('journal-webfont.ttf') format('truetype'), url('journal-webfont.svg#webfontZQxB0Aga') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Layout */
body {background: #003253 url(../images/body-bg.jpg) top center no-repeat;}
.center {width: 960px; margin: 0 auto;}
#container {background: url(../images/container-bg.png) repeat-y; position: relative; clear: both;}
#header {background: url(../images/header-bg.png) no-repeat; height: 174px; position: relative;}
#content-wrap {background: url(../images/content-bg.png) no-repeat; margin: 0 39px; clear: both;}
#content {width: 560px; margin: 0 71px 0 0; float: right;}
#sidebar {width: 175px; margin: 0 0 0 10px; text-align: right; float: left;}
#sidebar-int {width: 175px; margin: 400px 0 30px 10px; text-align: right; float: left; }
#footer {width: 820px; height: 100px; margin: 0 70px; padding-top: 20px; border: solid 2px #b9cee3; border-width: 2px 0 0; clear: both;}
.map {width: 550px; height: 420px; margin-bottom: 20px;}
.right {float: right;}
.left {float: left;}

div.hr {height: 0px; background-color: #fff; border: solid 1px #fff; border-width: 1px 0 0 0; margin: 20px 0; padding: 0; clear: both;}
hr {display: none; height: 0px; background-color: #fff; border: solid 1px #fff; border-width: 1px 0 0 0; clear: both;}

/* Images */
.auto {margin: 0 -120px 20px 20px; float: right; clear: right;}
.border {border: solid 2px #007fa1; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;}
.border-bottom {border: solid 1px #fff; border-width: 0 0 1px 0;}
.img-left {margin: 0 20px 20px 0; float: left; clear: left;}
.img-right {margin: 0 0 20px 20px; float: right; clear: right;}
.img-center {margin: 20px auto; display: block;}
.shift {display: block; position: relative;}
.padded {background: #fff; padding: 10px;}
#sidebar .callout, #sidebar-int .callout {float: right;}
#social-icons {padding-top:12px; margin:0 -8px 0 16px; text-align:center;}
#google-local { margin: 0 0 5px 19px; }
.layout {display: block;}

/* Typo */
body {font: 14px/20px 'Times New Roman', Times, serif;}
#content {color: #333;}
#sidebar p, #sidebar-int p {font: 16px; letter-spacing: -.3px; color: #4597b9;}
#sidebar p span, #sidebar-int p span {font: 18px bold; color: #2f6a82;}
#footer {color: #006699; font: 12px/24px Arial, Helvetica, sans-serif;}
.text_nav {margin: 0;}
.sub_nav {color: #ccc; border: solid 1px #d1ebf4; border-width: 0 0 1px 0; padding-bottom: 20px;}
#sesame-link {font-size: 10px; color: #0099cc;}

p {margin: 0 0 20px 0;}

blockquote {margin: 0 30px 18px 30px;}
sup {font-size: 10px;}
em {font-style: italic;}

/* Links */
a {color: #006699;}
a:hover {color: #666; text-decoration: none;}
.sub_nav a {color: #006699; font: 12px Arial, Helvetica, sans-serif;}
.sub_nav a:hover, .sub_nav a.active {color: #666;}
.sub_nav a.active {cursor: default;}
#footer a {color: #006699;}
#footer a:hover {text-decoration: none;}
.back-to-top {background: url(../images/back-to-top.png) no-repeat 0 4px; padding-left: 20px; clear: both;}
.pdf {background: url(../images/pdficon_small.gif) no-repeat 0 2px; padding-left: 20px; display: inline-block; height: 20px;}
.doc {background: url(../images/docicon_small.gif) no-repeat 0 2px; padding-left: 20px; display: inline-block; height: 20px;}

/* Headings */
h1, h1.headline {font-size: 66px; line-height: 66px; font-weight: normal; font-family: 'JournalRegular', 'Times New Roman', Times, serif; margin: 0 0 20px; padding: 20px 0 0; text-indent: 5px; color: #ab2f2d; text-shadow: 0 1px 3px rgba(0,0,0,.5); -moz-text-shadow: 0 1px 3px rgba(0,0,0,.5); -webkit-text-shadow: 0 1px 3px rgba(0,0,0,.5); clear: both;}
h2 {font-size: 18px; font-weight: normal; margin: 0 0 20px; color: #014464;}
h3 {font-size: 16px; font-weight: bold; margin: 0 0 20px; color: #6b4200;}
h4 {font-size: 14px; font-weight: bold; margin: 0; color: # 0 20px;}

h1#logo {background: url(../images/davis-logo.png) no-repeat; width: 235px; height: 143px; position: relative; top: 30px; margin-left: auto; margin-right: auto; padding: 0; text-indent: -9999px; overflow: hidden; border: none;}
h1#logo a {width: 235px; height: 143px; display: block;}

/* jQuery home page slideshow */
#slideshow-wrapper {width: 733px; height: 371px; margin: 0 0 10px 130px; padding: 21px 0 0 53px; background: url(../images/slideshow/slideshow-bg.png);}
#slideshow-home {width: 717px; height: 320px; background: url(../images/slideshow/slide-01.jpg) no-repeat;}

/* Flash */
.flash {width: 500px; margin: 10px auto; display: block;}
p.flash_notice {margin: 18px; padding: 9px; color: #ff0000; border: 1px dotted #ff0000; background: #ffffff; text-align: center;}
#flash-color-your-retainer {width: 300px; height: 300px; display: block; margin: 20px auto;}

/* Flash Videos */
.video {border: solid 2px #007fa1;}
#video-invisalign {
	width: 360px; 
	height: 266px;
	display: block;
	margin-bottom: 20px;
	}


/* Lists */
ul, ol {margin: 0 0 20px 30px;}
dl dt {font-size: 18px; font-weight: normal; margin-bottom: 20px;}
dl dd ul {margin: 0; list-style-type: none;}

/* Side Navigation */
#nav {background: url(../images/nav-bg.png) no-repeat; width: 277px; height: 314px; position: absolute; z-index: 1000; top: 25px; left: 0;}
#nav ul {width: 243px; margin: 32px 0 0 34px; padding: 0; list-style: none; position: relative; z-index: 1000;}
#nav li {height: 40px; margin: 0; padding: 0; list-style: none; display: inline; float: left;}
#nav li a {width: 243px; height: 40px; display: block; text-decoration: none; text-indent: -9999px; overflow: hidden; position: relative; z-index: 1000;}

#meet-the-team, #for-new-patients, #about-orthodontics, #about-braces, #orthodontic-treatments, #first-aid {background: url(../images/nav.png) no-repeat; }


#meet-the-team {background-position: 0 0;}
#nav li:hover #meet-the-team, #nav li.active #meet-the-team, #nav li.sfhover #meet-the-team {background-position: -243px 0;}

#for-new-patients {background-position: 0 -40px;}
#nav li:hover #for-new-patients, #nav li.active #for-new-patients, #nav li.sfhover #for-new-patients {background-position: -243px -40px;}

#about-orthodontics {background-position: 0 -80px;}
#nav li:hover #about-orthodontics, #nav li.active #about-orthodontics, #nav li.sfhover #about-orthodontics {background-position: -243px -80px;}

#about-braces {background-position: 0 -120px;}
#nav li:hover #about-braces, #nav li.active #about-braces, #nav li.sfhover #about-braces {background-position: -243px -120px;}

#orthodontic-treatments {background-position: 0 -160px;}
#nav li:hover #orthodontic-treatments, #nav li.active #orthodontic-treatments, #nav li.sfhover #orthodontic-treatments {background-position: -243px -160px;}

#first-aid {background-position: 0 -200px;}
#nav li:hover #first-aid, #nav li.active #first-aid, #nav li.sfhover #first-aid {background-position: -243px -200px;}

/* Drop Down */
#nav li ul {background-color: #006f92; background: rgba(0,111,146,.9); margin: 0; padding: 20px; width: 200px; position: absolute; z-index: 100; left: -9999px; border: solid 2px #3a9fbb; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; box-shadow: 0 3px 3px rgba(0,0,0,.5); -moz-box-shadow: 0 3px 3px rgba(0,0,0,.5); -webkit-box-shadow: 0 3px 3px rgba(0,0,0,.5);}
#nav li:hover ul, #nav li.sfhover ul {left: auto; margin: -57px 0 0 221px; height: auto;}
#nav li ul li {display: block; height: 28px; padding: 0; margin: 0; float: none;}
#nav li ul li:hover, #nav li ul li.sfhover {background: #fff; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;}
#nav li ul li a {padding: 5px 0 5px 15px; margin: 0; width: auto; height: 18px; display: block; text-indent: 0; color: #b5ecfd;}
#nav li ul li a:hover {color: #a82f31;}

/* Utility Nav */
#utility-nav {position: absolute; top: 15px; right: 30px;}
#utility-nav ul {margin: 0; padding: 0;}
#utility-nav li {margin: 0 0 0 20px; padding: 0; list-style: none; display: inline; float: left;}
#utility-nav li.patient-login {margin-left: 50px;}
#utility-nav li:hover, #utility-nav li.sfhover, #utility-nav li.active {border: 2px solid #8d3e3d; border-width: 0 0 2px 0;}
#utility-nav li a {font-size: 13px; text-decoration: none; color: #004067;}
#utility-nav li a:hover, #utility-nav li.active a {color: #8d3e3d;}

/* Gradient (Rainbow) Headings */
.wrap  {
	display: block;
	padding: 0 1px 0 0;
	position: relative;
	}

.wrap .shadow {
	color: #000;
	position: absolute;
	line-height: inherit;
	top: 0px;
	left: 1px;
	}

.wrap .shadow a { color: #000; }

.wrap .highlight {
	color: #fff;
	opacity: 0.7;
	position: absolute;
	line-height: inherit;
	top: 1px;
	left: 0px;
	}

.wrap .source {
	position: relative;
	}

.rainbow,.rainbows-highlight,.rainbows-shadow {
	xline-height: 1;
	}

.rainbow {
	background: transparent;
	display: block;
	position: relative;
	height: 1px;
	overflow: hidden;
	z-index: 4;
	}

	.rainbow span {
		position: absolute;
		top: 0;
		left: 1px;
		display: block;
		xwhite-space: nowrap;
		}
	
	a .rainbow span {
		white-space: nowrap;
		}

.rainbows-highlight {
	color: #fff !important;
	display: block;
	position: absolute;
	top: -1px;
	left: 0px;
	z-index: 2;
	}

.rainbows-shadow {
	color: #000 !important;
	display:block;
	position: absolute;
	top: 1px;
	left: 2px; /* can be one or two depending on 90 or 135 degree global light */
	z-index: 3;
	}

.back .text .rainbows-shadow {
	color: #fff !important;
	opacity: 0.3;
	}

/* 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;}

/* Sesame Content ------------------------- */ 

/* Emergency Care */
ul#toggle-emergency {
	list-style: none;
	margin: 0 0 1em 0;}
ul#toggle-emergency li {
	border: solid 1px #fff; /* Customize me! */
	border-width: 0 0 1px 0;
	padding: 1em 0;
	margin: 0;}
.general-soreness {
	background: url(http://media.sesamehost.com/images/emergency-care/general-soreness.gif) no-repeat;
	width: 80px;
	height: 60px;}
.headgear {
	background: url(http://media.sesamehost.com/images/emergency-care/headgear.gif) no-repeat;
	width: 80px;
	height: 60px;}
.loose-appliance {
	background: url(http://media.sesamehost.com/images/emergency-care/loose-appliance.gif) no-repeat;
	width: 80px;
	height: 60px;}
.loose-bracket {
	background: url(http://media.sesamehost.com/images/emergency-care/loose-bracket.gif) no-repeat;
	width: 80px;
	height: 60px;}
.loose-wire {
	background: url(http://media.sesamehost.com/images/emergency-care/loose-wire.gif) no-repeat;
	width: 80px;
	height: 60px;}
.poking-wire {
	background: url(http://media.sesamehost.com/images/emergency-care/poking-wire.gif) no-repeat;
	width: 80px;
	height: 60px;}


/* Inv Teen */
span.indent {
	padding-left: 40px;
	}
#invisalign-sidebar {
	background: #fff;
	width: 275px;
	margin: 0 0 15px 15px;
	padding: 0;
	line-height: 18px;
	font-size: 11px;
	float: right;
	clear: right;
	}
#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;
	}


/* Common Treatments */
div.box {
	float: right;
	clear: right;
	width: 334px;
	background-color: #00567B; /* Customize me! */
	padding: 5px 0 5px 5px;
	margin: 0 0 20px 20px;
	border: solid 1px #007fa1; /* 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;
	width: 50%;
	margin: 0;
	padding: 0;
	color: #fff;
}


/* jQuery Cycle Before and After */
#before-after-container {
	width: 424px;
	line-height: 18px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 18px;
	padding: 10px 0 10px 10px;
	background-color: #00567B; /* Customize me */
	border: solid 1px #007fa1; /* Customize me */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px; /* Optional - you may customize or remove */
	}
#before-after-container ul.slideshow {
	list-style: none; 
	margin: 0; 
	padding: 0;
	width: 488px;
	height: 162px;
	overflow: hidden;
	}
ul#before-after-cycle li img {
	width: 200px;
	float: left;
	margin-right: 10px;
	border: solid 1px #007fa1; /* Customize me */
	}
#before-after-container p {
	float: left;
	width: 50%;
	margin: 0 0 10px 0;
	color: #fff;
	}
#before-after-container div.cycle-detail {
	min-height: 55px; /* Increase this number to accomodate longer or shorter description text and to prevent "bumping" of lower content */
	clear: both;
	background-color: #fff; /* Customize me */
	padding: 10px;
	margin: 0 10px 0 0;
	border: solid 1px #007fa1; /* Customize me */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px; /* Optional - you may customize or remove */
	}
#before-after-container .before-after-nav {
	background: #fff; /* Customize me */
	margin: 0 10px 10px 0;
	padding: 5px 3px;
	border: solid 1px #007fa1; /* Customize me */
	-moz-border-radius: 5px 5px 0 0; /* Optional - you may customize or remove */
	-webkit-border-top-left-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-top-right-radius: 5px; /* Optional - you may customize or remove */
	}
#before-after-container .before-after-nav a {
	text-decoration: none; 
	font-size: 12px; 
	padding: 5px; 
	margin: 0 3px; 
	outline: none;
	color: #333; /* Customize me */
	}
#before-after-container .before-after-nav a.activeSlide, #before-after-container .before-after-nav a:hover {color: #009EC7;} /* Customize me */

/* Office Tour */
#slideshow-container ul.slideshow {
	list-style: none; 
	width: 500px; 
	height: 380px;
	margin: 0; 
	padding: 0;
	overflow: hidden;
	}
	
	#slideshow-container .beforeafter ul.slideshow {
	list-style: none; 
	width: 460px; 
	height: 350px;
	margin: 0; 
	padding: 0;
	overflow: hidden;
	}
#slideshow-container {
	background: #00567B; /* Customize me */
	border: solid 1px #007fa1; /* Customize me */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px; /* Optional - you may customize or remove */
	width: 502px; 
	padding: 10px;
	line-height: 18px;
	}
#slideshow-container div#caption {
	min-height: 18px;
	clear: both;
	background-color: #fff; /* Customize me */
	color: #333; /* Customize me */
	padding: 10px;
	margin: 10px 0 0 0;
	border: solid 1px #007fa1; /* Customize me */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px;
	}
#slideshow-container ul.slideshow img {
	width: 500px; 
	height: 380px;
	margin: 0;
	border: solid 1px #007fa1; /* Customize me */
	}
.office-tour-nav {
	background-color: #fff; /* Customize me */
	margin: 0 0 10px 0;
	padding: 5px 3px;
	border: solid 1px #007fa1; /* Customize me */
	-moz-border-radius: 5px 5px 0 0; /* Optional - you may customize or remove */
	-webkit-border-top-left-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-top-right-radius: 5px; /* Optional - you may customize or remove */
	}
.office-tour-nav a {
	text-decoration: none; 
	font-size: 12px; 
	padding: 5px; 
	margin: 0 3px; 
	color: #333;}
.office-tour-nav a.activeSlide, .office-tour-nav a:hover {color: #009EC7;}



/*-----------------------------------------------
	Forms
	*/
	/* Global form styles */
	div.referral-form, div.appointment-form, div.comments {
		width: 100%;
		letter-spacing: normal;
	}

	fieldset {border: 0; padding: 0; margin: 0;}
		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 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;
								}
							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.png) 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.png) 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;}

