
/*********************************************************************
	
	Sesame Communications - (c) 2009
	Written by: Damien Komala
	All rights reserved. 
	Any reproduction or intentional misuse is strickly prohibited
	
*********************************************************************/

/*********************************************************************
	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;
}

@font-face {
	font-family: 'RageItalicRegular';
	src: url('../fonts/Rage.eot');
	src: local('Rage Italic Regular'), local('RageItalic'), url('../fonts/Rage.ttf') format('truetype');
}
/*********************************************************************
	Common Elements
*********************************************************************/

body {
	line-height:1.5;
	font-family:Arial, Helvetica, sans-serif;
	margin:0;
	background:#79709B url(../images/background-pattern.png) top center repeat-x;
	color: #000000;
}

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;
}

a {
	outline: none;
}

h1 {
	color:#453A6E;
	font-family:'RageItalicRegular',sans-serif;
	font-size:32px;
	font-weight:lighter;
	margin-bottom:20px;
}
h1 span {
	font-size: 12px;
	position:relative;
	top:-13px;
}


h2 {
	color:#7e2e62;
	font-size: 18px;
	font-weight: normal;
}
h3 {
	color:#7e2e62;
	font-size: 14px;
	font-weight: normal;
}

hr {
	background: #7e2e62;
	height: 1px;
	border: none;
	clear:both;
	margin: 0 0 15px;
}

.hide {
	display:none;
}

.flash-replaced .alt {
	display:none;
}

.flash-replaced {
	margin-bottom:20px;
}

blockquote {
	margin: 0px;
	padding: 10px;
	/* border:1px solid #2F8E8E; */
	quotes: "\201C" "\201D";
}

blockquote:before { 
	color:#2F8E8E;
	content: open-quote; 
	font-weight: bold; 
}

blockquote:after { 
	color:#2F8E8E;
	content: close-quote; 
	font-weight: bold;
}

p.small {
	font-size: 9px;
}

.right {
	float: right;
	margin: 0 0 20px 20px;
}


.left {
	float: left;
	margin: 0 20px 20px 0;
}

/*********************************************************************
	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;
}


/*********************************************************************
	set bg image for each link
*********************************************************************/

a#patient-login {background-image:url(../images/nav/patient-login.jpg);height: 25px;}

a#about-our-office {background-image:url(../images/nav/about-our-office.jpg);height: 25px;}

a#about-orthodontics {background-image:url(../images/nav/about-orthodontics.jpg); height: 25px;}

a#emergency-care {background-image:url(../images/nav/emergency-care.jpg);height: 25px;}

a#contact-us {background-image:url(../images/nav/contact-us.jpg);height: 24px;}

a#home {background-image:url(../images/nav/home.jpg); height: 24px;}

a#site-map {background-image:url(../images/nav/site-map.jpg);}


/*********************************************************************
	Structure
*********************************************************************/
#container, .container {
	width:816px;
	margin:0 auto;
}

#container {
	position:relative;
}

.clearfix:after, .container:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}

.clearfix, .container {
	display:inline-block;
}

* html .clearfix, * html .container {
	height:1%;
}

.clearfix, .container {
	display:block;
}

.clear {
	clear:both;
}

/*********************************************************************
	Header and top piece
*********************************************************************/

#hd {
	background: url(../images/header-background.png ) top center no-repeat;
	float:left;
	height:150px;
	width:816px;
	margin: 0;
}

#logo, #logo a {
	height:75px;
	width:500px;
}

#logo {
	left:15px;
	position:absolute;
	top:24px;
}

#logo a {
	display:block;
	overflow: hidden;
	text-indent: -999em;
}

/*********************************************************************
	Content
*********************************************************************/
#bd {
	background:url(../images/content-background.png) 50% 0 no-repeat;
}

#content {
	float:left;
	width:520px;
}

#content a {
	color:#7e2e62;
}

#content ul {
	margin:0 0 20px 20px;
}


.page-content {
	margin: 20px 30px 0 10px;
	font-size: 12px;
}

.page-content p {
	margin-bottom: 20px;
}

#flash_box {
	float: left;
	width:538px;
	height: 274px;
	background: url(../images/alt-flash-image.jpg) top left no-repeat;
	margin:20px 0 0 0;
}

.sub_nav {
	color:#7e2e62;
}

.sub_nav a.active {
	color:#7e2e62;
	text-decoration:none;
	cursor:default;
}

/*********************************************************************
	Page Specific Styles
*********************************************************************/

img.border, img.auto {
	border:3px solid #f8f0b9;
}

img.auto {
	float: right;
	margin: 0 0 0 15px
}

img.logo {
	margin-right: 8px;
}

ul.column_ul {
	width:160px;
	_width:155px;
	float: left;
	list-style: none;
}
ul.column_ul li a {
	text-decoration: none;
	font-weight: bold;
}
ul.column_ul a:hover {
	text-decoration: underline;
}

ul.column_ul li ul li{
	list-style: none;
}
ul.column_ul li ul li a {
	font-weight: normal;
}


/*********************************************************************
	Sidebar
*********************************************************************/

#sidebar {
	background: url(../images/nav/sidebar-background.png) top left no-repeat;
	float:left;
	margin:15px 10px 0 27px;
	padding-top:250px;
	width:200px;
	font-size: 12px;
}
#sidebar p {
	margin: 0 40px 20px;
}
#sidebar p strong {
	font-size: 16px;
	}


/*********************************************************************
	Navigation
*********************************************************************/

#nav {
	display:block;
	height:216px;
	left:33px;
	padding-top:96px;
	position:absolute;
	top:80px;
}

#nav ul, #util ul {
	list-style: none;
	margin: 0;
}

#nav a {
	display: block;
	overflow: hidden;
	text-align: left;
	width: 163px; /* w */
	text-indent: -999em;
}
#nav li {
float:left;
}


/*********************************************************************
	Vertical Navigation
*********************************************************************/

#nav ul {
	width: 163px;
}

#nav a:hover, #nav li:hover a, #nav li.sfhover a, #util a:hover {
	background-position: -163px 0;
} /* -w */

#nav li.active a {
	background-position: -163px 0;

} /* -2w */

#nav li.active a:hover, #nav li.active:hover a {
	background-position: -163px 0;
} /* -3w */

/*********************************************************************
	Navigation Fly outs
*********************************************************************/

#nav li ul {
	left: -9999px;
	position: absolute;
	width: 160px;
	z-index: 10;
	padding: 1px 0;
	background: #79709b ;
	border: 1px solid #201552;
}

#nav li ul a {
	color: #FFF;
	height: 20px;
	font-size: 12px;
	padding-top: 5px;
	text-decoration: none;
	text-indent: 15px;
	width: 160px;
}

#nav li ul a:hover {
	text-decoration: underline;
}

#nav li:hover ul, #nav li.sfhover ul {
	left: 0;
	margin: -35px 0 0 163px; /* margin: -h 0 0 w */
}

#util {
	position: absolute;
	top: 75px;
	right: 50px;
}

#util, #util a {
	width: 161px;
	height: 50px;
}

#util a {
	display: block;
	overflow: hidden;
	text-align: left;
	text-indent: -999em;
}

#util a:hover {
	background-position: 0 -50px;
}


/*********************************************************************
	Footer
*********************************************************************/

#ft {
	background: url(../images/footer.png) top center no-repeat;
	color: #453a6e;
	padding:0;
	font-size: 12px;
	display:block;
	width:816px;
	margin:0;
	height: 100px;
}

#ft p {
	font-size: 11px;
	margin: 0 0 0 25px;
}
#ft p strong {
	font-family: 'RageItalicRegular', sans-serif;
	color:#453a6e;
	font-size:19px;
	font-weight:lighter;
}
.footer-box {
	float: left;
	width:33%;
	margin: 10px 0;
}
.footer-box a {
	color:#453a6e;
	margin-left: 90px;
	}
.text_nav {
}


#ft a:hover, #ft .sesame a:hover {
	color: #79709B;
}

#ft .sitemap a {
	color: #79709B;
	text-transform: none;
	text-decoration: underline;
	margin: 30px 0 0 0;
	float: left;
}

/*********************************************************************
	Common Treatments
*********************************************************************/

div.box {
	float: right;
	clear: right;
	width: 334px;
	background-color: #79709B; /* Customize me! */
	padding: 5px 0 5px 5px;
	margin: 0 0 20px 20px;
	border: solid 1px #79709B; /* Customize me! */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px;
	color: black;
}
div.box img {
	float: left;
	border: solid 1px #79709B; /* Customize me! */
	margin-right: 5px;
}
div.box p {
	float: left;
	width: 50%;
	margin: 0;
	padding: 0;
	color: #FFF;
}

/*********************************************************************
	Office Tour
*********************************************************************/

/* 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: 10px auto; -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 1em; }

/* PANEL OVERLAY BACKGROUND */
.panel .overlay-background { background: #222; }

/* PANEL OVERLAY CONTENT */
.panel .panel-overlay { color: white; font-size: 1em; }
.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);
}

	
/*********************************************************************
	Form Styles
*********************************************************************/

/*-----------------------------------------------
	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;}
