/*--------------------- Last Modified --> 2006.02.17 ---------------------*/
/*-----------------------------------------------------------------------*/


/* 
 ----------------------------------------------------------------------------
  Copyright Einstein Industries 2005. 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
 * ------------------------------------------------------------------------- */

/* No list-markers by default - must redefine bullets w/ bg graphics */
ul,ol { list-style:none; }

/* Avoid browser default inconsistent heading font-sizes and pre/code */
h1,h2,h3,h4,h5,h6,pre,code,td { font-size:1em; }

/* Remove inconsistent (among browsers) default padding or margin */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,label,div,dd,dt,dl,table,tr,td { margin:0; padding:0; }

/* prevent blue linked image borders */
a img,:link img,:visited img,fieldset { border:none; }

a { outline:none; }


/* global elements
 * ------------------------------------------------------------------------- */


/* ----- type selectors ----- */ 
body { 
	background:#336699;
	text-align:center; 
	font:12px/18px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#000;
	}

p, ul, ol, dl, pre, blockquote	{ margin-bottom:10px; }

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1,h2,h3 { margin-bottom:8px; }

h1	{ font-size:1.2em; color:#000; }
h2	{ font-size:1.1em; color:#000; }
h3	{ font-size:1.0em; color:#000; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#1277BB; text-decoration:underline; }
a:hover,a:active	{ color:#A29779; text-decoration:none; cursor: pointer; }

/* ----- classes ----- */

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}

#bottom-wrap #column-left p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	background:url("../images/bullet-back-to-top.jpg") right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 0px 28px; 
	}
	
img.img-right { 
	float:right; 
	margin:2px 28px 0px 10px; 
	}
	
p img.img-right { 
	float:right; 
	margin:2px 0px 0px 10px; 
	}

.img-center	{
	margin:2px auto 20px auto; 
	text-align: center;
	}



/* ----- global form elements ----- */ 

#index-form-left {
	display: inline;
	float: left;
	width: 120px;
	margin: 0 0 8px 8px;
}
#index-form-right {
	width: 150px;
	float: left;
}

form {
	width:150px;
	padding:0 0 15px 0;
	margin-left: 15px;
	}

body#index form {
	width:350px;
	margin-left: 0px;
	}

form label	{ font-size:.95em; }

form br { 
	line-height:0; /* defaults vertical spacing between fields */
	}  

input, textarea, select { 
	background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #B4790C;
	color:#000;
	width:150px; /* 5 pixles smaller than form width !important */
	height:18px;
	vertical-align: middle;
	margin-bottom:2px; /* 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:"Trebuchet MS", Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}

	body#index input, body#index textarea, body#index select { 
		border: 1px solid #B4790C;
		color:#000;
		width:100px; /* 5 pixles smaller than form width !important */
		height:18px;
		vertical-align: middle;
		margin-bottom:4px; /* sets vertical spacing between fields */
		margin-bottom:2px; /* 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:"Trebuchet MS", Arial, Helvetica, sans-serif; 
		font-size:1.0em;
		}
	
select { 
	width:155px; /* same width as form !important */
	padding:0;
	}

textarea { 
	height:50px; 
	overflow:auto; 
	}
		
	body#index textarea { 
		height:65px; 
		height:64px; 
		margin-bottom: 3px;
		width: 150px;
		overflow:auto; 
		}
	
input.submit, input.submit-contact-main { 
	width:60px; 
	cursor:pointer; 
	padding:0; 
	}

	body#index input.submit, body#index input.submit-contact-main { 
		width:60px; 
		cursor:pointer; 
		padding:0; 
		}

input.submit-contact-main { margin:90px 0 0 198px; }

input.submit-image { 
	background:url("../images/submit.gif");
	width:50px;
	height:14px;
	border:none;
	cursor:pointer;
	}

#contact_business { display: none; } /* do not remove */ 


/* ----- main contact form ----- */ 
 
#contact-main { padding:20px 0 10px 0; margin-left: 106px; }
	
#contact-main label { 
	width:180px; 
	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:150px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select {
	width:155px;
	}
	
#contact-main label textarea { height:100px; }



/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:780px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:111px;
	}
	/* home link within #masthead */		
	#masthead a {	
		position:absolute;
		left:9px;
		width:167px;
		top:14px;
		height:88px; 
		}
	#masthead span {
		display:none;
		}
	#hr-nav-bottom {
		background: #336699;
		height: 4px;
		width: 768px;
		margin-left: 6px;
		overflow: hidden;
		}
	#index-boxes{
		background: #59A2CF url(../images/index-boxes.jpg) repeat-x top;
		width: 768px;
		margin-left: 6px;
		}
		#index-boxes span{
			display: none;
		}
		#box1{
			float: left;
			width: 274px;
			margin: 21px 0 0 15px;
			background: url(../images/index-boxes-box1.jpg);
			display: inline;
			}
			#box1top{
				background: url(../images/index-boxes-box1top.jpg) no-repeat top;
				width: 274px;
				margin: 0;
				}
			#box1bottom{
				background: url(../images/index-boxes-box1bottom.jpg) no-repeat bottom;
				width: 274px;
				padding: 32px 0 0 0;
				}
				#box1bottom p{
					margin: 0 5px 8px 8px;
				}
		#box2{
			float: left;
			width: 236px;
			margin: 6px 0 0 4px;
			background: url(../images/index-boxes-box2.jpg) repeat-y left;
			}
			#box2top{
				background: url(../images/index-boxes-box2top.jpg) no-repeat top;
				width: 236px;
				margin: 0;
				}
			#box2bottom{
				background: url(../images/index-boxes-box2bottom.jpg) no-repeat bottom left;
				width: 236px;
				margin: 0;
				padding: 55px 0 0 0;
				}
				#box2bottom p{
					margin: 0 5px 8px 8px;
				}
		#box3{
			float: left;
			width: 230px;
			margin: 18px 0 0 0;
			background: url(../images/index-boxes-box3.jpg);
			}
			#box3top{
				background: url(../images/index-boxes-box3top.jpg) no-repeat top;
				width: 230px;
				margin: 0;
				}
			#box3bottom{
				background: url(../images/index-boxes-box3bottom.jpg) no-repeat bottom;
				width: 230px;
				margin: 0;
				padding: 57px 0 0 0;
				}
				#box3bottom p{
					margin: 0 5px 8px 8px;
				}
		
		.video_launch_right {
			float: right;
			width: 220px;
			margin-right: 10px;
			p
			}				
		#video_testimonials {
			width:450;			
			margin-left: 25px;
			}

/* ----- column-left ----- */

#column-left {
	width:590px;
	float:left;
	}
	#bottom-wrap #column-left p {
		text-align: left;
		padding-top: 0;
		margin-left: 28px;
		margin-right: 28px;
	}
	#column-left h1, #column-left h2, #column-left h3 {
		margin-left: 28px;
		margin-right: 28px;
		color: #336699;
		}
		#column-left h3 {
			margin-bottom: 2px;
			margin-top: 10px;
		}
	
	#column-left hr {margin: 0 25px 0 25px;}
	
	#subhead {text-indent : -999em; letter-spacing :-1000em; margin-bottom: 10px;} /* No need to use an extra span tag. */
	/*\*/html>body #subhead { letter-spacing : normal; text-indent : -999em; overflow : hidden;} /* Just for Opera, but hide from MacIE */
	
	
	/* background image list items */
	#column-left ul { 
		margin-left:28px; 
		}
	#column-left ul li { 
		list-style: disc;
		color: #369;
		margin-left: 30px;
		}
	#column-left ul li ul{ 
		margin-left:10px; 
		}
		#column-left ul li ul li{ 
			list-style: circle;
			margin-left:10px; 
			}
	#bottom-wrap #column-left .linkbox{
		background: #fff;
		border: 1px solid #369;
		margin-left: auto;
		margin-right: auto;
		padding: 5px;
		width: 290px;
		}
		#bottom-wrap #column-left .linkbox p a strong, #bottom-wrap #column-left .linkbox p a, #bottom-wrap #column-left .linkbox p{
			text-align: center;
			color: #369;
			margin: 0px;
			}
	#logos{
		width: 150px;
		height: 29px;
		position: relative;
		background: url(../images/care-credit.jpg);
		}
		#logos #care-credit-link{
			position: absolute;
			height: 29px;
			width: 150px;
			margin: 0;
			}
		#logos #capital-one-link{
			position: absolute;
			height: 26px;
			width: 146px;
			margin: 41px 0px 0px 2px;
			}
			#logos span{ display: none;}
	.creditlogos {
		margin: 10px 0 15px 28px;
	}
	

	
	#noflashvideo {
	margin-top: -50px;
	}
	
	#videowebsite_inside {
	margin-left: 2px;
	}

/* ----- column-right ----- */

#column-right {
	width:180px;
	float:left;
	}
	#bottom-wrap #column-right p {
		padding-top: 0px;
		text-align: left;
		margin-left: 10px;
		margin-right: 10px;
		margin-bottom: 10px;
		}
		#bottom-wrap #column-right p.sidebar-header {
			text-align: center;
			font-size: 16px;
			margin-top: 20px;
			font-weight: bold;
			color: #369;
			}
		#notice {
			font-size: 10px;
			line-height: 13px;
			}
		.address {
			color: #369;
			font-weight: bold;
			}

	/* background image list items */
	#column-right ul { 
		margin-left:5px; 
		} 

	#column-right ul li { 
		background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
		padding-left:8px; 
		}
	
#healthinfo {
	background:url("../images/health-info-btn.png") no-repeat;
	position:relative;
	height:102px;
	margin:10px 0 5px 58px;
	}
	#healthinfo a {	
		position:absolute;
		left:1px;
		width:208px;
		top:5px;
		height:65px; 
		}

#financing {
	background:url("../images/button-finance.gif") no-repeat;
	position:relative;
	margin:10px 0 5px 58px;
	height:65px;
}
	#financing a {	
		position:absolute;
		left:1px;
		width:206px;
		top:1px;
		height:60px; 
		}

.finance-button {
	margin-left:10px;
	}

/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg") no-repeat bottom;
	}
	body#index #bottom-wrap	{
		background: url(../images/index-bottom-wrap.jpg);
		margin-left: 6px;
		width: 768px;
		height: 68px;
		}
	body#index #bottom-wrap p{
		text-align: center;
		padding: 45px 0 0 0;
		margin: 0;
		}
	#bottom-wrap p{
		text-align: center;
		padding: 60px 0 5px 0;
		margin: 0;
		}
		#bottom-wrap span{
			color: #00f;
		}
/* header framework
 * ------------------------------------------------------------------------- */

#header-flash {
	height:226px;
	background:url("../images/bg-header-flash.jpg") no-repeat;
	}
	
#header-graphic {
	width: 768px;
	margin: 0 0 0 6px;
	background: url(../images/header-graphic-index.jpg) no-repeat left top;
	}
	#header-graphic-scale {
		background: url(../images/header-graphic-scale.jpg) 6px repeat-y;
	}
	#header-graphic span {
		display: none;
		}
		#header-graphic-left {
			float: left;
			width: 445px;
			}
			#header-graphic-left-index	{
			margin: 100px 20px 0 18px;
			}
			#video_website {
			padding: 40px 0px 0 0px;
			text-align:left;
			margin-left:30px;
			}
				#video_website img.button { margin:20px 0 0 30px; }
				
		#header-graphic-right {
			float: left;
			width: 315px;
			text-align: right;
			}
		/*	#header-graphic-right p {
				color: #fff;
				margin: 5px 3px 15px 0;
				line-height: 14px;
				font-size: 11px;
				}
				#header-graphic-right p.index-contact {
					margin-top: 15px;
					}
					#header-graphic-right p.index-contact strong {
						font-size: 14px;
						margin-right: 30px;
						}*/

/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead {
	height:38px; /* sets height for all subheads */
	}

	body#doctor #subhead {
		background:url("../images/header-doctor.jpg") no-repeat left; 
		}
	
	body#invisalign #subhead {
		background:url("../images/header-invisalign.jpg") no-repeat left; 
		}
	
	body#gallery #subhead {
		background:url("../images/header-gallery.jpg") no-repeat left; 
		}
	body#cosmetic #subhead {
		background:url("../images/header-cosmetic.jpg") no-repeat left; 
		}
	body#restorative #subhead {
		background:url("../images/header-restorative.jpg") no-repeat left; 
		}
	body#patient #subhead {
		background:url("../images/header-patient.jpg") no-repeat left; 
		}
	body#newsletter #subhead {
		background:url("../images/header-newsletter.jpg") no-repeat left; 
		}
		
	body#multiple #subhead, body#single #subhead {
		background:url("../images/header-blog.jpg") no-repeat left; 
		}
			
	body#contact #subhead {
		background:url("../images/header-contact.jpg") no-repeat left; 
		}
	body#sitemap #subhead {
		background:url("../images/header-sitemap.jpg") no-repeat left; 
		}
		
	body#thankyou #subhead {
		background:url("../images/header-Thankyou.jpg") no-repeat left; 
		}

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:760px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#fff;
	}

#footer a:link, #footer a:visited {
	color:#fff;
	}

#footer a:hover, #footer a:active {
	color:#f00;
	}

#footer ul {margin-top:10px;}

#footer li { /* if your li's float, you can adjust border height w/ line-height */
	padding:0 3px 0 6px;
	display: inline;
	border-left: 1px solid #fff;
	}

	#footer li.first { border: none; }


/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:780px; 
	height:28px; 
	margin-bottom:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:28px; display:block; }

#nav li { float:left; list-style:none; display:inline; position: relative; }

#nav-01 { width: 60px; margin-left: 18px;}
#nav-02 { width: 90px; }
#nav-03 { width: 106px;}
#nav-04 { width: 125px;}
#nav-05 { width: 142px;}
#nav-06 { width: 79px;}
#nav-07 { width: 85px;}
#nav-08 { width: 68px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover {background:url("../images/nav.jpg")  -18px -28px no-repeat;}
#nav-02 a:hover {background:url("../images/nav.jpg")  -78px -28px no-repeat;}
#nav-03 a:hover {background:url("../images/nav.jpg") -168px -28px no-repeat;}
#nav-04 a:hover {background:url("../images/nav.jpg") -274px -28px no-repeat;}
#nav-05 a:hover {background:url("../images/nav.jpg") -399px -28px no-repeat;}
#nav-06 a:hover {background:url("../images/nav.jpg") -541px -28px no-repeat;}
#nav-07 a:hover {background:url("../images/nav.jpg") -620px -28px no-repeat;}
#nav-08 a:hover {background:url("../images/nav.jpg") -705px -28px 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:#DFE8F1;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */

	}

#nav li ul li { 
	height:20px; /* Height of each drop down nav item */
	border:1px solid #336699;
	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:5px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:1.0em;
	color:#336699;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav-02 ul a:hover, #nav-03 ul a:hover, #nav-04 ul a:hover, #nav-05 ul a:hover, #nav-06 ul a:hover { 
	background-image:none;
	background-color:#336699;
	color:#DFE8F1;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-02 ul, #nav-02 li { width:130px; }
#nav-03 ul, #nav-03 li { width:175px; }	
#nav-04 ul, #nav-04 li { width:155px; }
#nav-05 ul, #nav-05 li { width:165px; }	
#nav-06 ul, #nav-06 li { width:125px; }	


/* ------------------------ End of Navigation ------------------------ */


/* BnA */

body#bnapage{
	background: #fff;
	}

#bna-top {
	background: url(../images/bna-top.jpg);
	height: 53px;
	overflow: hidden;
	}
#bna-top a{
		position:absolute;
		left:0px;
		width:500px;
		top:0px;
		height:53px; 
		}
	#bna-top #bna-header {
		display: none;
		}
	#bna-nav-more {
		float: left;
		padding-left: 20px;
		}
	#bna-nav-numbers {
		float: right;
		padding-right: 20px;
		}
#bna-caption {
	text-align: left;
	margin-top: 20px;
	margin-left: 25px;
	margin-right: 25px;
}
	#bna-nav{
		padding-top: 34px;
	}
  


#bottom-wrap #column-left p.image-gallery-icons {
	vertical-align:top;
	text-align:center;
	margin:20px 0 ;
	}
	
#bottom-wrap #column-left p.image-gallery-icons a {
	padding-right:5px;
	}
	
#bottom-wrap #column-left p.image-gallery-icons a img {
	vertical-align:top;
	margin-bottom:5px;
	border:1px solid;
	margin-left:5px;
	padding:3px;
	}
	
	/*--- api gallery fix---*/
.categoryCase {
float:left;
width:560px;
}

.case img {
border:1px solid #1277bb;
display:inline;
margin-left:10px;
padding:3px;
}
#gallerycontainer {
float:left;
width:510px;
}
.test-image {display:block; float:left; width:280px; text-align:center;}

.test-image-2 {display:block; margin-left:150px; width:280px; text-align:center;}


/* ----- Social Media Kit ------ */
	
body#index div#social-media { 
	margin:0 0 20px 64px;
	text-align:left;
	}
	
#header-graphic-right p.sidebar-header { text-align:left;
			font-size: 16px;
			font-weight: bold;
			color: #369;}
	
div#social-media { 
	margin-left:6px;
	}
	
	div#social-media span { display:none;}
	
	#social-media a { width:31px; height:31px;}

