/* reset */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, 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.5em;
	background-image: url(../images/body-bg.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	background-color: #562285;
	font-family: Helvetica, Corbel, Arial, "Nimbus Sans L", "Liberation Sans", sans-serif;
	color: #3f1862;
	font-size: 12px;
}
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;}
a {
	color:#3a8527;
	text-decoration: none;
}
a:hover {
	color:#A181C0;}

/*LAYOUT*/
#wrap {
	background-image: url(../images/watermark-trans.png);
	background-repeat: repeat;
}
#container {
	width: 891px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
}
#hd {}
#logo a {
	background-image: url(../images/logo-trans.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
	display: block;
	height: 106px;
	width: 891px;
}
#sidebar {
	position: absolute;
	left: 25px;
	top: 510px;
	width: 140px;
	text-align: right;
}
#bd {
	background-image: url(../images/bd-bg-trans.png);
	background-repeat: repeat-y;
	background-position: center top;
}
#content {
	padding-right: 50px;
	padding-left: 300px;
	min-height:1020px;
	height:auto !important;
	height:870px;
}
#ft {
	background-image: url(../images/ft-bg-trans.png);
	background-repeat: no-repeat;
	background-position: center top;
	color:#FFF;
	height: 100px;
	padding-top: 21px;
	padding-right: 30px;
	padding-left: 30px;
}
#ft a {color:#FFF;}
#ft a:hover {color:#FF9;}

/*TYPE*/
h1, h2, h3, h4, h5 {font-weight: bold;}
h1 {
	font-size: 20px;
	color: #3f1862;
	font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;
	line-height: 22px;
}
h2 {
	font-size: 18px;
	color:#3a8527;
}

h3 {
	font-size: 16px;
}
h4, h5 {font-size: 12px; color: #3f1862;}
p {
	padding-top: 10px;
	padding-bottom: 10px;
}
#content ul {
	padding-left: 20px;
	padding-bottom: 10px;
}
#content ul li {padding-top: 5px; padding-bottom: 5px;}
#content ol {
	padding-left: 20px;
	padding-bottom: 10px;
}
#content ol li {padding-top: 5px; padding-bottom: 5px;}

/*SUBNAV*/
.sub_nav {
	width: 560px;
	padding-top: 10px;
	padding-bottom: 20px;
}

.sub_nav a {
	color: #3a8527;
	margin-left: 5px;
	margin-right: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
}
.sub_nav a:hover, .sub_nav .active {
	color: #A181C0;
}

#content .page-photo {
	position: absolute;
	left: 255px;
	top: 106px;
	border: 2px solid #57B942;
}
#content .headline {
	padding-top: 330px;
	text-transform: uppercase;
}


/*MISC*/
.back-to-top a {
	clear: both;
	background-image: url(../images/to-top.png);
	background-repeat: no-repeat;
	background-position: left 9px;
	padding-left: 18px;
	font-size: 11px;
	padding-top: 10px;
	padding-bottom: 5px;
	padding-right: 10px;
}

.back-to-top a:hover {
	color: #666;
	background-position: left -15px;
}
#sidebar .maplink {
	background-image: url(../images/maplink.png);
	background-repeat: no-repeat;
	background-position: right top;
	display: block;
	font-weight: bold;
	line-height: 20px;
	padding-right: 30px;
}
#sidebar .maplink:hover {
	background-image: url(../images/maplink.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	display: block;
	font-weight: bold;
}

.intro {
	text-transform: uppercase;
	font-weight: bold;
}
.hr, hr {
	background-color: #633190;
	height: 2px;
	margin-top: 10px;
	margin-bottom: 10px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	clear: both;
	margin: 1em 0;
}

h6 {
	background-color: #633190;
	height: 2px;
	margin-top: 10px;
	margin-bottom: 10px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	clear: both;
	margin: 1em 0;
}

.office-locations .office {
	font-size: 18px;
	color:#3a8527;
}
.left {float:left;	margin-right: 10px;margin-top: 10px;}
.right {float:right; margin-left: 10px;margin-top: 10px;}
.photo-right {
	padding: 10px;
	float: right;
	margin-left: 10px;
	margin-top: 0px;
}
.photo-left {
	padding: 10px;
	float: left;
	margin-right: 10px;
	margin-top: 0px;
}
.photo-center {
	padding: 10px;
	margin-right: auto;
	margin-top: 0px;
	margin-left: auto;
	clear: both;
}
.dualcolumn {
	padding: 10px;
	float: left;
	width: 250px;
}
.map {
	background-color: #FFF;
	-moz-box-shadow: 0 1px 3px #999;
	-webkit-box-shadow: 0 1px 3px #999;
	border: 1px solid #57b840;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	width: 540px;
	padding-left: 10px;
	margin-bottom: 20px;
}
/* jQuery Slideshow */
.slideshow {
	position: absolute;
	left: 254px;
	top: 101px;
	list-style: none;
	overflow: hidden;
	width: 628px;
	height: 285px;
	background-image: url(../images/photos/blank.png);
	background-repeat: no-repeat;
	background-position: 0px 7px;
}
#slideshow ul {	margin: 0px;	padding: 0px;}
#slideshow ul li {	margin: 0px;	padding: 0px;}
/*NAVIGATION*/
#nav {
	position: absolute;
	top: 100px;
	left: 0px;
	width: 256px;
}
/* set bg image for each link */
#nav ul li a#meet-the-team, #nav ul li a#for-new-patients, #nav ul li a#about-orthodontics, #nav ul li a#braces, #nav ul li a#orthodontic-treatments, #nav ul li a#first-aid, #nav ul li a#contact-us, #nav ul li a#home  {
	background-image: url(../images/nav-trans.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
	display:block;
	position: relative;
}

#nav ul li a#meet-the-team {
	background-position: left top;
	width:256px;
	height:47px;}
#nav ul #meet-the-team:hover, #nav li:hover #meet-the-team, #nav li.sfhover #meet-the-team, #nav .active #meet-the-team, #nav ul #meet-the-team.active {background-position: right top;}


#nav ul li a#for-new-patients {
	background-position: left -47px;
	width:256px;
	height:36px;}
#nav ul #for-new-patients:hover, #nav li:hover #for-new-patients, #nav li.sfhover #for-new-patients, #nav .active #for-new-patients, #nav ul #for-new-patients.active {background-position: right -47px;}


#nav ul li a#about-orthodontics {
	background-position: left -83px;
	width:256px;
	height:37px;}
#nav ul #about-orthodontics:hover, #nav li:hover #about-orthodontics, #nav li.sfhover #about-orthodontics, #nav .active #about-orthodontics, #nav ul #about-orthodontics.active {background-position: right -83px;}


#nav ul li a#braces {
	background-position: left -120px;
	width:256px;
	height:36px;}
#nav ul #braces:hover, #nav li:hover #braces, #nav li.sfhover #braces, #nav .active #braces, #nav ul #braces.active {background-position: right -120px;}


#nav ul li a#orthodontic-treatments {
	background-position: left -156px;
	width:256px;
	height:36px;}
#nav ul #orthodontic-treatments:hover, #nav li:hover #orthodontic-treatments, #nav li.sfhover #orthodontic-treatments, #nav .active #orthodontic-treatments, #nav ul #orthodontic-treatments.active {background-position: right -156px;}


#nav ul li a#first-aid {
	background-position: left -192px;
	width:256px;
	height:35px;}
#nav ul #first-aid:hover, #nav li:hover #first-aid, #nav li.sfhover #first-aid, #nav .active #first-aid, #nav ul #first-aid.active {background-position: right -192px;}


#nav ul li a#contact-us {
	background-position: left -227px;
	width:256px;
	height:37px;}
#nav ul #contact-us:hover, #nav li:hover #contact-us, #nav li.sfhover #contact-us, #nav .active #contact-us, #nav ul #contact-us.active {background-position: right -227px;}


#nav ul li a#home {
	background-position: left -264px;
	width:256px;
	height:48px;}
#nav ul #home:hover, #nav li:hover #home, #nav li.sfhover #home, #nav .active #home, #nav ul #home.active {background-position: right -264px;}


#util-nav {
	position: absolute;
	top: 440px;
	left: 40px;
	width: 188px;
	height:58px;
}
#util-nav li{
list-style-image:none;
list-style-type:none;
}

#util-nav ul li a#patient-login  {
	background-image: url(../images/login.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
	display:block;
	position: relative;
	width: 188px;
	height:58px;
}
#util-nav #patient-login:hover {background-position: right bottom;}

#util-nav a#sweepstakes  {
	background-image: url(../images/win.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
	display:block;
	position: relative;
	width: 188px;
	height:98px;
}
#util-nav #sweepstakes:hover {background-position: right bottom;}

/* Clear fix for group items*/
.groupfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.groupfix {
	display: inline-block;
}
 
html[xmlns] .groupfix {
	display: block;
}
 
* html .groupfix {
	height: 1%;
}

div.box {
	float: right;
	clear: right;
	width: 334px;
	background-color: #e2f4dd; /* Customize me! */
	padding: 5px 0 5px 5px;
	margin: 0 0 20px 20px;
	border: solid 1px #572486; /* Customize me! */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px;
}
div.box img {
	float: left;
	border: solid 1px #572486; /* Customize me! */
	margin-right: 5px;
}
div.box p {
	float: left;
	width: 50%;
	margin: 0;
	padding: 0;
}






/*-----------------------------------------------
	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: #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;
								-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:#562285;/* customize me! */
							border: 1px solid #537197;
							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*/
							cursor:pointer;
							}
							fieldset dl dd.form-footer button:hover {
							background:#A181C0;
							border: 1px solid #FFF;}





	/* 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;}

img.left {
	float: left;
	clear: left;
	margin: 5px 15px 15px 0;
	border: solid 1px #333;}

/* IE6 upgrade alert */
#ie_alert {
display: none;
background-color: #fff;
width: 400px;
color: #333;
text-align: left;
font-size: 11px;
letter-spacing: normal;
font-weight: bold;
padding: 15px 15px 0 15px;
border: solid 2px #a52003;
position: absolute;
z-index: 5000;
top: 10px;
left: 10px;
}
#ie_alert ul {margin: 0 0 15px 25px;}
#ie_alert p {margin: 0 0 15px 0; line-height: 14px; padding: 0;}
a.upgrade {float: left; margin: 0 10px 0 0;}
span#ie_alert_reasons {color: #a52003;}
.right {float: right;}




/* Office Tour */

/* Tour1 */

#gallery-container1 {
	width: 480px; 
	min-height: 500px;}
ul#css-office-tour1 {
	width: 480px; 
	height: 370px;
	position: relative; 
	list-style: none; 
	margin: 0; 
	padding: 0; 
	border: solid 1px #333; /* Customize me */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px; /* Optional - you may customize or remove */
	background: url(../images/css-office-tour1/image-01.jpg) 10px 10px no-repeat;}
ul#css-office-tour1 li {
	margin: 380px 0 0 10px; 
	float: left; 
	display: inline;}
ul#css-office-tour1 li img {
	border: solid 1px #333; /* Customize me */
	margin: 0 4px 2px 0; 
	width: 68px; 
	height: 52px;}
ul#css-office-tour1 a {text-decoration: none;}
ul#css-office-tour1 a span {
	left: -999em; 
	position: absolute;}
ul#css-office-tour1 a span img {
	border: none; 
	width: 460px; 
	height: 350px;}
ul#css-office-tour1 a:hover {
	background: none; 
	z-index: 100;}
ul#css-office-tour1 a:hover span {
	position: absolute; 
	top: 10px; 
	left: 10px; 
	display: block;}
	
	/* Tour2 */

#gallery-container2 {
	width: 480px; 
	min-height: 500px;}
ul#css-office-tour2 {
	width: 480px; 
	height: 370px;
	position: relative; 
	list-style: none; 
	margin: 0; 
	padding: 0; 
	border: solid 1px #333; /* Customize me */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px; /* Optional - you may customize or remove */
	background: url(../images/css-office-tour2/image-01.jpg) 10px 10px no-repeat;}
ul#css-office-tour2 li {
	margin: 380px 0 0 10px; 
	float: left; 
	display: inline;}
ul#css-office-tour2 li img {
	border: solid 1px #333; /* Customize me */
	margin: 0 4px 2px 0; 
	width: 68px; 
	height: 52px;}
ul#css-office-tour2 a {text-decoration: none;}
ul#css-office-tour2 a span {
	left: -999em; 
	position: absolute;}
ul#css-office-tour2 a span img {
	border: none; 
	width: 460px; 
	height: 350px;}
ul#css-office-tour2 a:hover {
	background: none; 
	z-index: 100;}
ul#css-office-tour2 a:hover span {
	position: absolute; 
	top: 10px; 
	left: 10px; 
	display: block;}
	
	
	/* Tour3 */

#gallery-container3 {
	width: 480px; 
	min-height: 500px;}
ul#css-office-tour3 {
	width: 480px; 
	height: 370px;
	position: relative; 
	list-style: none; 
	margin: 0; 
	padding: 0; 
	border: solid 1px #333; /* Customize me */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px; /* Optional - you may customize or remove */
	background: url(../images/css-office-tour3/image-01.jpg) 10px 10px no-repeat;}
ul#css-office-tour3 li {
	margin: 380px 0 0 10px; 
	float: left; 
	display: inline;}
ul#css-office-tour3 li img {
	border: solid 1px #333; /* Customize me */
	margin: 0 4px 2px 0; 
	width: 68px; 
	height: 52px;}
ul#css-office-tour3 a {text-decoration: none;}
ul#css-office-tour3 a span {
	left: -999em; 
	position: absolute;}
ul#css-office-tour3 a span img {
	border: none; 
	width: 460px; 
	height: 350px;}
ul#css-office-tour3 a:hover {
	background: none; 
	z-index: 100;}
ul#css-office-tour3 a:hover span {
	position: absolute; 
	top: 10px; 
	left: 10px; 
	display: block;}
#social-media {
	display: block;
	width: 150px;
	height: 76px;
	margin-top:10px;
	margin-left:50px;
}
#social-media img {
	height:36px;
	width:36px;
	float:left;
	margin-right:2px;
}
#google-richmond {
	position:absolute;
	left:155px;
	top:116px;
}
#google-midlothian {
	position:absolute;
	left:155px;
	top:227px;
}
#google-glenallen {
	position:absolute;
	left:155px;
	top:377px;
}
#wp-sidebar {
	position:absolute;
	left:40px;
}