/* 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;}

/* Layout */
body {background: #aebf3c url(../images/body-bg.gif) repeat-x;}
#container {width: 970px; position: absolute; left: 50%; margin-left: -485px;}
#banner {background: url(../images/banner-bg.gif) no-repeat; width: 970px; height: 192px;}
#flash-wrap {background: url(../images/content-top.jpg) no-repeat; width: 970px; height: 330px; clear: both;}
#content-wrap { background: url(../images/content-bg.gif) repeat-y; width: 830px; margin: 0 0 0 90px; padding: 50px 0 0; clear: both;}
#callout-wrap {width: 160px; margin: 0 50px 0 30px; float: left;}
#content {background: url(../images/content-watermark.gif) bottom right no-repeat; width: 550px; min-height: 250px; position: relative; padding-right: 40px; float: left;}
#footer {background: url(../images/content-foot.png) no-repeat; text-align: center; margin: 0 50px 0 90px; padding: 20px 0; clear: both;}
.address {float: left; margin: 57px 40px 0 0;}
.address strong {text-transform: uppercase;}
#social-icons {height: 32px; margin: 57px 0 0; float: left;}


.rule {border: solid 1px #c5e0ef; border-width: 0 0 1px; padding-bottom: 18px;}
.right {float: right;}
.left {float: left;}
.bump-right {margin-right: 30px;}

div.hr {height: 0px; background-color: #c5e0ef; border: solid 1px #c5e0ef; border-width: 1px 0 0 0; margin: 20px 0; padding: 0; clear: both;}
hr {display: none; height: 0px; background-color: #c5e0ef; border: solid 1px #c5e0ef; border-width: 1px 0 0 0; clear: both;}

/* Images */
.auto {width: 598px; height: 285px; float: right; margin: 14px 52px 0;}
.img-border {border: solid 1px #0079c2;}
.img-left {margin: 5px 15px 15px 0; float: left; clear: left;}
.img-left-border {border: solid 1px #0079c2; margin: 5px 25px 45px 0; float: left; clear: left;}
.img-right {margin: 5px 0 15px 15px; float: right; clear: right;}
.img-right-border {border: solid 1px #0079c2; margin: 5px 0 15px 15px; float: right; clear: right;}
.img-center-border {border: solid 1px #0079c2; margin: 15px auto; display: block;}

#callout-wrap img {margin-bottom: 20px;}
#social-icons img {float: left; margin-right: 10px;}
.logo {padding: 5px; background-color: #fff;}
.layout {display: block;}
.map {border: solid 1px #0079c2; width: 528px; height: 398px; padding: 10px; margin: 15px auto; background-color: #fff; clear: both;}

/* Typo */
body {font-family: Helvetica, Arial, sans-serif;}
#container {font-size: 13px; line-height: 18px; color: #333;}
#footer {font-size: 10px;}
.text_nav {}
.sub_nav {
	color: #0079c2;
}

p {margin: 0 0 18px 0;}
blockquote {margin: 0 30px 18px 30px; border: solid 1px #c5e0ef; border-width: 0 0 1px; padding-bottom: 18px;}
sup {font-size: 10px;}
em {font-style: italic;}
blockquote em {text-align: right; display: block; margin-right: 30px;}

/* Links */
a {color: #0079c2; text-decoration: none;}
a:hover {color: #8fa500; text-decoration: underline;}
.sub_nav a {color: #0079c2;}
.sub_nav a:hover, .sub_nav a.active {color: #8fa500;}
.sub_nav a.active {cursor: default;}
#footer a {color: #0079c2;}
#footer a:hover {}
.back-to-top {background: url(../images/back-to-top.gif) no-repeat 0 4px; padding-left: 20px; clear: both;}

/* Headings */
h1 {font-size: 22px; font-weight: normal; margin: 0 0 18px; color: #333; clear: both;}
h2 {font-size: 16px; font-weight: normal; margin: 0; color: #666; line-height: 20px;}
h3 {font-size: 14px; font-weight: normal; margin: 0; color: #666;}
h4 {font-size: 12px; font-weight: bold; margin: 0; color: #333;}
h5 {font-size: 12px; font-weight: bold; margin: 18px auto; margin-top: 20px; width: 650px;}

h1#logo {background: url(../images/romani-logo.gif) no-repeat; width: 275px; height: 132px; margin: 10px 70px 0 50px; padding: 0; text-indent: -999em; overflow: hidden; border: none; float: left;}
h1#logo a {width: 275px; height: 132px; display: block;}

/* Flash */
.flash {width: 500px; margin: 15px auto; display: block;}
p.flash_notice {margin: 18px; padding: 9px; color: #ff0000; border: 1px dotted #ff0000; background: #ffffff; text-align: center;}
#flash-homepage {width: 598px; height: 285px; float: right; margin: 14px 52px 0;}


/* Lists */
ul, ol {margin: 0 0 18px 30px;}
dl dt {font-size: 16px; font-weight: bold;}
dl dd ul {margin: 0; list-style-type: none;}

/* Side Navigation */
#nav-wrap {background: url(../images/nav/nav-wrap-bg.gif) repeat-y; width: 270px; padding: 0; position: absolute; z-index: 50; top: 192px; left: 50px;}
#nav ul {background: url(../images/nav/nav-bg.jpg) repeat-y; width: 260px; margin: 0 5px; padding: 10px 0; list-style: none;}
#nav li {height: 32px; margin: 3px 0; padding: 0; list-style: none;}
#nav li a {width: 260px; height: 32px; display: block; text-decoration: none; text-indent: -999em; overflow: hidden;}

#meet-the-team {background: url(../images/nav/meet-the-team.png);}
#for-new-patients {background: url(../images/nav/for-new-patients.png);}
#around-the-office {background: url(../images/nav/around-the-office.png);}
#about-orthodontics {background: url(../images/nav/about-orthodontics.png);}
#about-braces {background: url(../images/nav/about-braces.png);}
#orthodontic-treatments {background: url(../images/nav/orthodontic-treatments.png);}
#comfort-and-repair {background: url(../images/nav/comfort-and-repair.png);}
#contact-us {background: url(../images/nav/contact-us.png);}
#home {background: url(../images/nav/home.png);}

#nav li:hover, #nav li.active a,
#nav li:hover #meet-the-team, #nav li.sfhover #meet-the-team,
#nav li:hover #for-new-patients, #nav li.sfhover #for-new-patients,
#nav li:hover #around-the-office, #nav li.sfhover #around-the-office,
#nav li:hover #about-orthodontics, #nav li.sfhover #about-orthodontics,
#nav li:hover #about-braces, #nav li.sfhover #about-braces,
#nav li:hover #orthodontic-treatments, #nav li.sfhover #orthodontic-treatments,
#nav li:hover #comfort-and-repair, #nav li.sfhover #comfort-and-repair,
#nav li:hover #contact-us, #nav li.sfhover #contact-us,
#nav li:hover #home, #nav li.sfhover #home {background-position: 0 -32px;}

/* Drop Down */
#nav li ul {background-color: #0065aa; background-image: none; filter: alpha(opacity=90); -moz-opacity: 0.95; opacity: 0.95; margin: 0; padding: 10px 0; width: 275px; position: relative; z-index: 60; left: -999em; border: solid 1px #2b95d5; font-size: 14px;}
#nav li:hover ul, #nav li.sfhover ul {left: auto; margin: -34px 0 0 250px;}
#nav li ul li {
	display: block;
	height: 26px;
	margin: 0;
	padding-top: 5;
	padding-right: 0;
	padding-bottom: 5;
	padding-left: 0;
}
#nav li ul li a {
	margin: 0;
	width: auto;
	height: 23px;
	display: block;
	text-indent: 0;
	color: #fff;
	padding-top: 5;
	padding-right: 0;
	padding-bottom: 5px;
	padding-left: 15px;
	line-height: 30px;
	font-weight:bold;
}
#nav li ul li a:hover {background: #8fa500; color: #fff;}

/* Utility Nav */
#utility-nav {height: 40px; margin: 0; padding: 0; position: absolute; top: 147px; right: 6px;}
#utility-nav ul {margin: 0; padding: 0;}
#utility-nav li {margin: 0; padding: 0; width: 137px; height: 40px; list-style: none; display: inline; float: left;}
#utility-nav li a {width: 137px; height: 40px; display: block; text-decoration: none; text-indent: -999em; overflow: hidden;}

#patient-login {background: url(../images/nav/patient-login.png);}
#doctor-login {background: url(../images/nav/doctor-login.png);}

#utility-nav a:hover, #utility-nav li.active a,
#utility-nav li:hover #patient-login, #utility-nav li.sfhover #patient-login,
#utility-nav li:hover #doctor-login, #utility-nav li.sfhover #doctor-login {background-position: 0 -40px;}

/* 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;}


/* In-Ovation */
div.comparison {
	background: #fff; 
	border: 1px solid #0079c2; 
	display: inline-block; 
	margin-bottom: 10px; 
	clear: both;
	padding: 10px;
	}
div.comparison div {
	float: left; 
	width: 49%;
	}
div.comparison img {
	margin: 0 15px 0 0;
	float: left;
	}
#video-in-ovation {
	width: 320px;
	height: 266px;
	display: block;
	}

/* Common Treatments */
div.box {
	float: right;
	clear: right;
	width: 334px;
	background-color: #fff; /* Customize me! */
	padding: 5px 0 5px 5px;
	margin: 0 0 20px 20px;
	border: solid 1px #0079c2; /* Customize me! */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px;
}
div.box img {
	float: left;
	border: solid 1px #0079c2; /* Customize me! */
	margin-right: 5px;
}
div.box p {
	float: left;
	width: 50%;
	margin: 0;
	padding: 0;
}


/* Game Room */
ul#sesame-games {
	list-style: none;
	margin: 0 0 15px 0;
	padding: 0;}
ul#sesame-games li {
	width: 187px;
	height: 79px;
	border: 1px solid #1e3554; /* add hex color to change border color; defaults to BODY Font Color*/
	float: left;
	margin: 0 9px 9px 0;
	overflow: hidden;
	position: relative;
	background: #603329; /*add hex color to match site*/}
ul#sesame-games li p {
	font-size: 11px;
	color: #fff;
	margin: 9px;
	position: relative;}
ul#sesame-games li a {
	position: relative;
	display: block;
	overflow: hidden;
	width: 187px;
	height: 79px;}
ul#sesame-games a img {
	position: absolute;
	top: 0;
	left: 0;
	border: 0;
	width: 187px;
	display: block;}
p.flash_notice {
	margin: 18px;
	padding: 9px;
	color: #ff0000;
	border: 1px dotted #ff0000;
	background: #ffffff;
	text-align: center;
	}


/*-----------------------------------------------
	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:hover {background: #d5e0eb;/* 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;
								}
							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;}

#new-login
{
	position:absolute;
	top:148px;
	right:150px;


}

#new-login a
{
	height:40px;
	width:137px;
	display:block;
	background-image:url(../images/nav/patient-login.png);
	background-repeat:no-repeat;
}

#new-login a:hover
{
	background-position:0 -40px;
}
