/*--------------------- Last Modified  2006.11.10 ---------------------*/
/*-------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------
  Copyright Einstein Industries 2006. Used with Permission.                             
  May not be duplicated or reproduced.
  Please check for cross-browser compatibility prior to making changes
  MINIMUM BROWSER CHECK :: IE5.x/IE6/Firefox/Safari
  CSS Document - layout.css
/*-------------------------------------------------------------------------------------*/
/* undo some default styling of common (X)HTML browsers
/*------------------------------------------------------------------------------------*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td,html,label,table,tr,td {margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img,a img,:link img,:visited img {border:0;}
address,caption,cite,code,dfn,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;}
q:before,q:after {content:'';}

/* ------------------------ GLOBAL ELEMENTS ------------------------ */

/* ------------------------ type selectors ------------------------ */
body { 
	background:#f1f0d3 url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#36556e;
	}

blockquote { margin-left:10px; margin-right:10px; }

h1	{ font-size:1.2em; color:#bc6f0a; }
h2	{ font-size:1.1em; color:#53a4c0; }
h3	{ font-size:1.0em; color:#36556e; }
h4	{ font-size:1.8em; color:#36556e; font-weight:bold; }
/*h1 span,h2 span,h3 span	{ display:none; }*/

h4 span { text-decoration:blink;}

a:link,a:visited	{ color:#bc6f0a; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#36556e; text-decoration:underline; outline:none; }

/* ------------------------ classes ------------------------ */


div.clear	{ 
	height:.01em; 
	clear:both;
	overflow:hidden; 
	}
div.clear-h2	{ 
	height:10px; 
	clear:both;
	overflow:hidden; 
	}
p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/bullet-back-to-top.jpg") right no-repeat;
	}
img.img-left { 
	float:left; 
	margin:4px 8px 3px 0px;
	}

img.img-right { 
	float:right; 
	margin:0px 0px 2px 5px; 
	}
p span.address {font-size: .95em;}

p.center {text-align:center;}

/*---------- promotion ------------*/

#promotion { border:#2E7591 medium solid; margin:10px 0 15px 0;}
#column-right #promotion ul {margin:10px 0 15px 0; }
#column-right #promotion img {margin:0 0 0 15px; }

/* ------------------------ form elements ------------------------ */
form {
	width:150px;
	margin:10px 0 15px 0; /* set margin left and right below */
	}

form label	{ font-size:.95em; } 

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #404040;
	color:#414141;
	width:229px; /* 5 pixles smaller than form width !important */
	height:18px;
	line-height:18px;
	vertical-align: middle;
	margin-bottom:4px; /* sets vertical spacing between fields */
	padding-top:1px; /* vertically position text in input/textarea field */
	padding-left:4px; /* horizontally position text in input/textarea field */
	font-family: Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}

select { width:150px; padding:0; } /* same width as form - !important */

textarea { height:66px; overflow:auto; }

#contact_business { display: none; } /* do not remove */ 


/* ------------------------ SPECIFIC ELEMENTS ------------------------ */

/* ------------------------ main contact form ------------------------ */
#contact-main { margin:20px 0 10px 0; }

#contact-main label { 
	width:220px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:1.0em;
	}

#contact-main label input, #contact-main label textarea, #contact-main label select { 
	width:170px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}

#contact-main label select { width:175px; } /* fixes display issue - 5px larger than input field */

#contact-main label textarea { height:100px; overflow:auto; }

/* ------------------------ submit button form elements ------------------------ */

input.submit, input.submit-contact-main { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:85px 0 0 243px; } /* defines placement of contact-main submit button */

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/bg-wrap.jpg") repeat-y;
	width:900px;
	margin:0 auto;
	text-align:left;
	}

/* ------------------------ masthead framework ------------------------ */
#masthead {
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/header.jpg");
	height:376px;
	margin: 0px 45px 0px 46px;
	width: 809px;
	}
	/* index page link within #masthead */		
	#masthead a {
	padding-top: 16px;
	margin: 0px 0px 0px 555px;
	width:253px;
	height:67px;
	display:block;
		}
	#masthead a span {
		display:none;
		}
		
	#masthead a.masthead-launcher {
		padding-top: 116px;
		margin: 0px 0px 0px 585px;
		width:200px;
		height:67px;
		display:block;
		}
	#masthead a.masthead-launcher span {
		display:none;
		}

	body#home #masthead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/header-index.jpg"); }
	body#about-the-practice #masthead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/header-2.jpg"); }
	body#contact-us #masthead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/header-index.jpg"); }
	body#thank-you #masthead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/header-2.jpg"); }
	body#lumineers-home #masthead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/header-2.jpg"); }
	body#procedures-amp-photo-gallery #masthead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/header-1.jpg"); }
	body#testimonials #masthead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/header-3.jpg"); }
	body#meet-dr-milan #masthead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/header-1.jpg"); }
	body#sitemap #masthead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/header-3.jpg"); }
	

/* ------------------------ header framework ------------------------ */
#header-flash { width:809px; height:376px; margin: 0px 45px 0px 46px; background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/header-index.jpg"); } /* sets height for the flash header - REMOVE IF NOT USED */
	/* --------------- no flash text styles ----------------------*/
	#header-flash p, #header-flash noscript { padding: 5px 0 0 30px; color: #FFFFFF;}
	#header-flash a:link, #header-flash a:visited {color: #FFFFFF;}
	#header-flash a:hover, #header-flash a:active {color: #FFFF00;  text-decoration: none;}


/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:239px;
	float:left;
	display: inline;
	margin-left: 46px;
	padding: 156px 10px 0px 0px;
	background: url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/col-left-top.jpg") top no-repeat;
	}

	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0px 0px 10px 0px;
		}

	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/bullet.jpg") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px; /* pushes text to the right to display bg img */
			}


/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:560px;
	float:left;
	display:inline;
	margin-right: 45px;
	background: url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/bg-right-col.jpg") repeat-y;
	}
	#col-rt-bottom {
	background: url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/right-content-bottom.jpg") bottom no-repeat;
	width:560px;
	padding-bottom:20px;
		}
	
	#column-right p, #column-right h1, #column-right h2, #column-right h3,#column-right h4, #column-right ul, #column-right dl {
		margin:0px 0px 10px 0px;
		}

	#column-right form { margin-left:0px; }

	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/bullet.jpg") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-right ul.multi { padding-left:5px; } 
		#column-right ul.multi li { 
			background:transparent url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/bullet.jpg") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			float:left;
			width:150px;
			line-height:20px; 
			}

	/* definition list */
	#column-right dl { padding-left:5px; }
		#column-right dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-right dl dd {
			background:transparent url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/bullet.jpg") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
#column-right td.pad-right {padding-right:5px;}
/* ------------------------ subhead framework ------------------------ */
#subhead { 
		padding: 5px 23px 31px 23px;
		width: 514px;
		background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/subhead.jpg") top no-repeat;
		 }
#subhead p.subhead-title { 
		font-size: 24px;  
		color: #BC6F0A;
		padding: 0px 23px 10px 31px;
		}
	body#home #subhead { 
	padding: 40px 23px 31px 23px;
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/subhead-index.jpg") top no-repeat; }
/*	body#about-the-practice #subhead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/subhead-about.jpg") top no-repeat; }
	body#contact-us #subhead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/subhead-contact.jpg") top no-repeat; }
	body#thank-you #subhead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/subhead-thankyou.jpg") top no-repeat; }
	body#mini-dental-implants #subhead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/Mini Dental Implants.jpg") top no-repeat; }
	body#sedation-dentistry #subhead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/Conscious Sedation.jpg") top no-repeat; }
	body#procedures-amp-photo-gallery #subhead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/subhead-procedure.jpg") top no-repeat; }
	body#testimonials #subhead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/subhead-testimonials.jpg") top no-repeat; }
	body#meet-dr-milan #subhead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/subhead-meet.jpg") top no-repeat; }
	body#lumineers-home #subhead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/subhead-lumineers.jpg") top no-repeat; }
	body#sitemap #subhead { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/subhead-sitemap.jpg") top no-repeat; }*/
	
/* ------------------------ subhead framework with varying heights ------------------------ */
#video-testimonials {
	height:197px;
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/video-testimonials.jpg") ;
	position: relative;
	}
	#video-testimonials p {
		position: absolute;
		top: 70px;
		left: 22px;
		width: 205px;
		}
	#video-testimonials a {
		position: absolute;
		top: 33px;
		left: 300px;
		height: 133px;
		width: 200px;
		}
	#video-testimonials a span {display: none;}
/* ------------------------ title framework with varying heights ------------------------- */
#title-top-dentist {
	height:71px;
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/title-topD.jpg") ;
	}
#title-contact {
	height:71px;
	background:url("http://eiiwebassets.s3.amazonaws.com/m/mismile.com/images/title-contact.jpg") ;
	}
#title-featured-case {
	height:51px;
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/title-featured-case.jpg") ;
	}

#title-seen-media{
	height:71px;
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/seen-media.jpg") ;
	}
#title-patient-forms{
	height:71px;
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/patient-forms.jpg") ;
	}

#title-vid-testim {
	height:51px;
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/title-vid-testim.jpg") ;
	}

#title-featured-procedures {
	height:54px;
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/title-featured-procedures.jpg") ;
	}
#title-featured-media-index {
	padding:28px 0 0 0;
	float:left;
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/index-as-seen-media.jpg") no-repeat ;
	margin-left:23px;
	width:514px;
	}
div.rt-col-div {
	background: url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/rt-col-div.jpg");
	height: 42px;
	}

/* ------------------------------------- Buttons ---------------------------------------- */
#click-to-call {
		height:186px;
		display:block;
		background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/click-to-call.jpg") no-repeat;	
		position: relative;
		}
		#click-to-call a {
			position: absolute;
			top: px;
			left: px;
			width: px;
			height: px;
			}
		#click-to-call a:hover {
				background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/click-to-call.jpg") -100px 0 no-repeat; /* -100px = horizontal img shift, 0px = vertical shift from top */
				}
		#click-to-call span { display:none; }


/* ------------------------ bottom-wrap framework ------------------------ */
/* ------------ must have below column-left and column-right to clear the float ------------ */
#bottom-wrap {
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/bottom-wrap.jpg");
	width:100%; /* fix for Safar */
	height:20px;
	clear:both; /* important - do not remove */
	}

/* ------------------------footer framework ------------------------ */
#footer-bg {
	background: #53a4c0 url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/footer-top.jpg") top repeat-x;
	width: auto;
	}

#footer {
	padding: 30px 0px 10px 0px;
	width:900px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#36556e;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#36556e; }
#footer ul li a:link, #footer ul li a:visited { text-decoration:none; }
#footer a:hover, #footer a:active { color:#000; }

#footer ul {margin-bottom:10px;}
	#footer li { /* if your li's float, you can adjust border height w/ line-height */
		padding:0 5px 0 7px; /* adjusts the spacing between each li display and border-left */
		display: inline;
		border-left: 1px solid #36556e;
		}
	#footer li.first { border: none; }
	
	
#footer li ul { display:inline;}

#footer ul li ul { margin:0px;}

#footer ul li { padding-right:0;}

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */
/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg") no-repeat; 
	width:900px; 
	height:50px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:50px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav li.home { width: 82px; margin-left: 55px;}
#nav li.procedures-amp-photo-gallery { width: 202px;}
#nav li.about-the-practice { width: 149px;}
#nav li.testimonials { width: 118px;}
#nav li.meet-dr-milan { width: 129px;}
#nav li.contact-us { width: 108px;}


/*-------------- (-79px) X position of button / (-50px) height of image from above ------------- */
#nav li.home a:hover { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg")  -55px -50px no-repeat; }
#nav li.procedures-amp-photo-gallery a:hover { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg") -137px -50px no-repeat; }
#nav li.about-the-practice a:hover { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg") -339px -50px no-repeat; }
#nav li.testimonials a:hover { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg") -488px -50px no-repeat; }
#nav li.meet-dr-milan a:hover { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg") -606px -50px no-repeat; }
#nav li.contact-us a:hover { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg") -735px -50px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body id ------------- */
body#SPECIFY #nav li.home { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg")  -55px -50px no-repeat; }
body#SPECIFY #nav li.procedures-amp-photo-gallery { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg") -137px -50px no-repeat; }
body#SPECIFY #nav li.about-the-practice { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg") -339px -50px no-repeat; }
body#SPECIFY #nav li.testimonials { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg") -488px -50px no-repeat; }
body#SPECIFY #nav li.meet-dr-milan { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg") -606px -50px no-repeat; }
body#SPECIFY #nav li.contact-us { background:url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/nav.jpg") -735px -50px no-repeat; }


/* ------------------------ son of suckerfish: horizontal sprite nav ------------------------ */
#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px; /* Fixes one px spacing for border-right in FF */
	background-color:#2f7491;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	z-index: 999;
	}

#nav li ul li { 
	height:20px; /* Height of each drop down nav item */
	border:1px solid #ffffff;
	border-top:none;
	}	

#nav li ul li a {
	width:100%;
	height:20px;	/* Height of each drop down nav item, should match above */
	line-height:20px;	 /* Height of each drop down nav item again, should match above */
	}

#nav li ul li a span {
	display:block;
	padding-left:12px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:1.0em;
	color:#FFFFFF;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav li.procedures-amp-photo-gallery ul a:hover, #nav li.about-the-practice ul a:hover, #nav li.testimonials ul a:hover, #nav li.meet-dr-milan ul a:hover, #nav li.contact-us ul a:hover{ 
	background:#53abc3 url("http://d2agh9ata29wb8.cloudfront.net/m/mismile.com/images/drop-down-bullet.gif") 	3px 6px no-repeat;
	color:#FFFFFF;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav li.procedures-amp-photo-gallery ul, #nav li.procedures-amp-photo-gallery li { width:200px;}
#nav li.about-the-practice ul, #nav li.about-the-practice li,
#nav li.testimonials ul, #nav li.testimonials li,
#nav li.meet-dr-milan ul, #nav li.meet-dr-milan li,
#nav li.contact-us ul, #nav li.contact-us li { width:200px;}	
	

/*#nav li.procedures-amp-photo-gallery ul {margin-top:0px; margin-left:10px;}*/

/* ------------------------ son of suckerfish: horizontal sprite nav ------------------------ */



#nav li ul ul {

	margin:-20px 0 0 200px;

	background:#2f7491;

	}

#nav, #nav ul {

	padding: 0;

	margin: 0;

	list-style: none; 

	line-height: 1;
	}

	

#nav li:hover ul ul, #nav li.sfHover ul ul {

	left: -999em;
	}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfHover ul, #nav li li.sfHover ul {

	left: auto;
	}

#nav li ul li ul, #nav li li ul li{ width:100%; }	
#nav li ul li.sedation-dentistry ul, #nav li li.sedation-dentistry ul li {width:350px;}	
