/* 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;}
.hide {display:none;}
em {font-style: italic;}
@font-face {
font-family: "VelvetScript";
src: url(VelvetScript.ttf) format('truetype');
}

/* Layout */
body {background: #e4f5f2 url(../images/body-bg.jpg) repeat-x;}
#container {width: 983px; position: absolute; left: 50%; margin-left: -440px;}
#banner {width: 879px; height: 128px;}
#wrap {background: url(../images/wrap-bg.gif) repeat-y; clear: both;}
#content-bg {background: url(../images/content-bg.jpg) no-repeat; width: 879px; padding-right: 104px; clear: both;}
#content {width: 622px; margin: 0; padding: 0; float: left;}
#padding {padding-right: 65px;}
#left-col {width: 191px; margin: 0 35px 0 31px; float: left;}
#footer {background: url(../images/footer-bg.gif) repeat-y; width: 879px; clear:both;}
p.sub_nav {background: url(../images/sub-nav-bg.gif) no-repeat; width: 148px; padding: 55px 23px 0 0;}
.sidebar {width: 220px; margin: 5px 0 15px 15px; float: right;}
.map {border: solid 1px #464646; width: 553px; height: 350px;}

.right {float: right;}
.left {float: left;}
.cr {clear: right;}
.cl {clear: left;}

div.hr {height: 0px; background-color: #7a0026; border: solid 1px #7a0026; border-width: 1px 0 0 0; margin: 20px 0; padding: 0; clear: both;}
hr {display: none; height: 0px; background-color: #edebd0; border: solid 1px #edebd0; border-width: 1px 0 0 0; clear: both;}

/* Images */
img {border: none; outline: none;}
.photo {width: 621px; height: 241px; margin: 0 0 40px 0;}
.img-border {border: solid 1px #464646;}
.img-left {margin: 0 15px 15px 0; float: left; clear: left;}
.img-left-border {border: solid 1px #464646; margin: 0 15px 15px 0; float: left; clear: left;}
.img-right {margin: 0 0 15px 15px; float: right; clear: right;}
.img-right-border {border: solid 1px #464646; margin: 0 0 15px 15px; float: right; clear: right;}
.img-center-border {border: solid 1px #464646; margin: 10px auto; display: block;}
.img-center {margin: 10px auto; display: block;}

.layout {display: block;}
.callout {margin-bottom: 30px;}

/* Typo */
body {font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;}
#container {font-size: .75em; line-height: 1.5em; color: #464646;}
#footer {text-align: center; color: #fff;}
.text_nav {font-size: 1em; font-weight: bold; margin: 0 0 18px 0; color: #fff;}
.sub_nav { text-align: right;}
p#sesame {font-size: .92em; padding: 0 0 1.5em 0;}
p#address {text-align: center; font-size: 1.17em; margin: 30px 0; color: #961a0e;}
p {margin: 0 0 1.5em 0;}

blockquote {margin: 0 30px 18px 30px;}
sup {font-size: .5em;}

.phone {font-size: 1.21em; font-weight: bold;}

/* Links */
a {color: #961a0e; font-style: italic; font-weight: bold; border: none; outline: none;}
a:hover {color: #464646;}
.text_nav a, #sesame a {color: #fff; font-style: normal; text-decoration: none;}
.text_nav a:hover, #sesame a:hover {text-decoration: underline;}
.sub_nav a {color: #933a3e; text-decoration: underline; font-style: normal; font-weight: normal;}
.sub_nav a:hover, .sub_nav a.active {text-decoration: none;}
.sub_nav a.active {cursor: default;}
.back-to-top {background: url(../images/back-to-top.gif) no-repeat 0 4px; padding-left: 20px; clear: both;}
.email-container a {font-style: normal; font-weight: normal;}

/* Headings */
h1 {font-size: 4em; font-weight: bold; font-family: "VelvetScript", sans-serif; margin: 0 0 30px 0; color: #761309;}
h2 {font-size: 1.5em; font-weight: bold; font-family: Helvetica, "Helvetica Neue", Arial, sans-serif; margin: 0 0 18px 0; color: #464646;}
h3 {font-size: 1.17em; font-weight: bold; margin: 0 0 18px 0; color: #7a0026;}
h4 {font-size: .92em; font-weight: normal; margin: 18px 55px; color: #fff;}

h1#logo {background: url(../images/hricko-banner.jpg) no-repeat; width: 879px; height: 128px; margin: 0; padding: 0; text-indent: -999em; overflow: hidden; border: none; float: left;}
h1#logo a {width: 879px; height: 128px; display: block;} 



/* jQuery home page slideshow */
.slideshow {margin: 0; padding: 0; list-style: none; overflow: hidden; width: 621px; height: 241px;}
#homepage-slideshow {margin-bottom: 40px;}
#homepage-slideshow img {width: 621px; height: 241px;}


/* Flash */
.flash {width: 500px; margin: 10px auto;}
.flash-replaced .alt {display:none;}
#flash-palatal-expander {width: 200px; height: 150px;}

/* Flash Videos */
.video {border: solid 1px #a0b606;}

/* Lists */
ul, ol {margin: 0 0 18px 30px;}
dl dt {font-weight: bold;}
dl dd {margin-bottom: 18px;}

/* Main Navigation */
#nav {clear: both;}
#nav ul {width: 879px; margin: 0; padding: 0; list-style: none;}
#nav li {margin: 0; padding: 0; list-style: none; display: inline; float: left;}
#nav li a {height: 29px; display: block; text-decoration: none; text-indent: -999em; overflow: hidden;}

#meet-dr-hricko {background: url(../images/nav/meet-dr-hricko.jpg); width: 139px;}
#for-new-patients {background: url(../images/nav/for-new-patients.jpg); width: 136px;}
#about-orthodontics {background: url(../images/nav/about-orthodontics.jpg); width: 159px;}
#braces-101 {background: url(../images/nav/braces-101.jpg); width: 95px;}
#orthodontic-treatments {background: url(../images/nav/orthodontic-treatments.jpg); width: 100px;}
#first-aid {background: url(../images/nav/first-aid.jpg); width: 81px;}
#contact-us {background: url(../images/nav/contact-us.jpg); width: 100px;}
#home {background: url(../images/nav/home.jpg); width: 69px;}

#nav a:hover, #nav li.active a,
#nav li:hover #meet-dr-hricko, #nav li.sfhover #meet-dr-hricko,
#nav li:hover #for-new-patients, #nav li.sfhover #for-new-patients,
#nav li:hover #about-orthodontics, #nav li.sfhover #about-orthodontics,
#nav li:hover #braces-101, #nav li.sfhover #braces-101,
#nav li:hover #orthodontic-treatments, #nav li.sfhover #orthodontic-treatments,
#nav li:hover #first-aid, #nav li.sfhover #first-aid,
#nav li:hover #contact-us, #nav li.sfhover #contact-us,
#nav li:hover #home, #nav li.sfhover #home {background-position: 0 -29px;}

/* Drop Down */
#nav li ul {margin: 0; padding: 0; width: 170px; position: absolute; z-index: 60; left: -999em;}
#nav li:hover ul, #nav li.sfhover ul {left: auto; margin: 0 0 0 1px;}
#nav li ul li {padding: 0; margin: 0; width: 170px; float: left; line-height: 1.5em; background-color: #faf8fa;}
#nav li ul li a {padding: 5px 0 5px 10px; margin: 0; width: 160px; height: auto; display: block; text-indent: 0; color: #464646; text-decoration: none; font-style: normal;}
#nav li ul li a:hover {color: #fff; background-color: #b5392d;}


/* 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 ------------------------- */ 

/* Common Treatments */
div.box {
	float: right;
	clear: right;
	width: 334px;
	background-color: #e4f5f2; /* Customize me! */
	padding: 5px 0 5px 5px;
	margin: 0 0 20px 20px;
	border: solid 1px #56592a; /* Customize me! */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px;
}
div.box img {
	float: left;
	border: solid 1px #56592a; /* Customize me! */
	margin-right: 5px;
}
div.box p {
	float: left;
	width: 50%;
	margin: 0;
	padding: 0;
}

/* Invisalign Teen */
img.left {
	border: solid 1px #000;
	margin: 0 15px 20px 0;
	float: left;}

span.indent {
	padding-left: 40px;}
#invisalign-sidebar {
	background: #fff;
	width: 275px;
	margin: 0 0 15px 15px;
	padding: 0;
	border: solid 1px #000;
	float: right;
	clear: right;}
#invisalign-sidebar a {
	color: #036;}
#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;}

/* Clarity */
#flash-clarity-smart-clip {
	width: 498px;
	height: 374px;
	margin: 10px 0;
	clear: both;}


/*-----------------------------------------------
	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:#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;}



/* jQuery Cycle Before and After */
#before-after-container {
  width: 488px;
  line-height: 18px;
  margin: 0 0 18px 0;
  padding: 10px 0 10px 10px;
  background-color: #108975; /* Customize me */
  border: solid 1px #333; /* Customize me */
  border-radius: 5px; /* Optional - you may customize or remove */
  -moz-border-radius: 5px; /* Optional - you may customize or remove */
  -webkit-border-radius: 5px; /* Optional - you may customize or remove */
  color:#FFFFFF;
}
#before-after-container ul.slideshow {
  list-style: none; 
  margin: 0; 
  padding: 0;
  width: 488px;
  height: 182px;
  overflow: hidden;
}
ul#before-after-cycle li img {
  width: 232px;
  float: left;
  margin-right: 10px;
  border: solid 1px #333; /* Customize me */
}
#before-after-container p {
  float: left;
  width: 50%;
  margin: 0 0 10px 0;
}
#before-after-container div.cycle-detail {
  min-height: 70px; /* 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 #333; /* Customize me */
  border-radius: 0 0 5px 5px; /* Optional - you may customize or remove */ 
  -moz-border-radius: 0 0 5px 5px; /* Optional - you may customize or remove */ 
  -webkit-border-bottom-left-radius: 5px; /* Optional - you may customize or remove */ 
  -webkit-border-bottom-right-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 #333; /* Customize me */
  border-radius: 5px 5px 0 0; /* Optional - you may customize or remove */
  -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: #108975;} /* Customize me */

