/*--------------------------- Last Modified --> 2009.02.12 ----------------------------*/
/*-------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------
  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:#fff url("../images/bg.gif") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif;
	line-height:1.4em;
	color:#393D47;
	}
body#index {
	background:#fff url("../images/bg-index.gif") top repeat-x;
	}

blockquote { margin-left:10px; margin-right:10px; }

h1	{ font-size:1.5em; color:#393D47; margin:0 0 1.3em; }
h2	{ font-size:1.3em; color:#393D47; margin:.5em 0 1em; }
h3	{ font-size:1.2em; color:#393D47; margin:.5em 0 1em; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#467DB4; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#2f86af; text-decoration:underline; outline:none; }

ul { 
	list-style-type:disc;
	margin:0 0 1em 30px;
	}

p {
	margin:0 0 1em;
	}
/* ------------------------ classes ------------------------ */
.clear	{ 
	clear:both;
	}

div.clear	{ 
	height:.01em; 
	overflow:hidden; 
	}

img.img-left { 
	float:left; 
	margin:2px 10px 10px 0px;
	}

img.img-right { 
	float:right; 
	margin:5px 0px 10px 10px; 
	}

/* ------------------------ 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:#CDE1F6 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #CDE1F6;
	width:200px; /* 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:"Trebuchet MS", Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}
input.checkbox {
	text-align:left;
	background-color:#fff !important;
	border:none;
	}

select { width:150px; } /* same width as form - !important */

textarea { height:90px; 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; height:auto;} /* 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:95px 0 0 243px; } /* defines placement of contact-main submit button */

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:64px;
	height:20px;
	border:none;
	cursor:pointer;
	}

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	width:950px;
	margin:0 auto;
	text-align:left;
	}

/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg") no-repeat top center;
	height:73px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:700px;
		width:100px;
		top:0px;
		height:74px; 
		}
	#masthead a span {
		display:none;
		}


/* ------------------------ header framework ------------------------ */

#header-graphic { height:180px; background:url("../images/header6.jpg") no-repeat top right; }

	body#index #header-graphic { background:url("../images/banner-index.jpg") no-repeat top right; height:321px; }
	body#meet #header-graphic { background:url("../images/banner-10.jpg") no-repeat top right; }
	body#procedures #header-graphic { background:url("../images/banner-6.jpg") no-repeat top right; }
	body#technologies #header-graphic { background:url("../images/banner-9.jpg") no-repeat top right; }
	body#gallery #header-graphic { background:url("../images/banner-11.jpg") no-repeat top right; }
	body#office #header-graphic { background:url("../images/banner-7.jpg") no-repeat top right; }
	body#contact #header-graphic { background:url("../images/banner-12.jpg") no-repeat top right; }


/* ------------------------ nav framework ------------------------ */

#nav {
	background: #E6E7E6 url("../images/nav.jpg") no-repeat;
	height:53px;
	list-style-type: none;
	margin:0;
	}

#nav span { display:none; }
#nav li, #nav a { height:53px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 55px; margin-left: 381px;}
#nav-02 { width: 98px;}
#nav-03 { width: 82px;}
#nav-04 { width: 94px;}
#nav-05 { width: 91px;}
#nav-06 { width: 78px;}
#nav-07 { width: 70px;}

#nav-01 a:hover { background:url("../images/nav.jpg") -381px -53px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -436px -53px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -534px -53px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -616px -53px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -710px -53px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -801px -53px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -879px -53px no-repeat; }

body#index #nav-01 { background:url("../images/nav.jpg") -381px -53px no-repeat; }
body#meet #nav-02 { background:url("../images/nav.jpg") -436px -53px no-repeat; }
body#procedures #nav-03 { background:url("../images/nav.jpg") -534px -53px no-repeat; }
body#technologies #nav-04 { background:url("../images/nav.jpg") -616px -53px no-repeat; }
body#gallery #nav-05 { background:url("../images/nav.jpg") -710px -53px no-repeat; }
body#office #nav-06 { background:url("../images/nav.jpg") -801px -53px no-repeat; }
body#contact #nav-07 { background:url("../images/nav.jpg") -879px -53px no-repeat; }

/* ------------------------ subhead framework ------------------------ */
#subhead { height:40px; width:100%; padding-bottom:20px; } /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.jpg") no-repeat top left; }
	body#meet #subhead { background:url("../images/subhead-meet.jpg") no-repeat top left; }
	body#procedures #subhead { background:url("../images/subhead-procedures.jpg") no-repeat top left; }
	body#technologies #subhead { background:url("../images/subhead-technologies.jpg") no-repeat top left; }
	body#gallery #subhead { background:url("../images/subhead-gallery.jpg") no-repeat top left; }
	body#office #subhead { background:url("../images/subhead-office.jpg") no-repeat top left; }
	body#contact #subhead { background:url("../images/subhead-contact.jpg") no-repeat top left; }


/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:570px;
	float:left;
	padding:0 40px 0 40px;
	}
#index #column-left {
	padding-top:20px;
	}

	#column-left form { margin-left:0px; } /* set form margin here */

	/* single column list */
		#column-left ul li { 
			}

#index-column1, #index-column2 {
	float:left;
	width:260px;
	display:inline;
	}
#index-column1 {
	padding-right:40px;

	}

#smile-gallery {
	padding:0 0 20px 0;
	}
#smile-gallery table {
	margin:0 auto;
	}

/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:260px;
	padding:20px;
	float:left;
	background:#D3E6FA;
	}
#index #column-right {
	background:#fff;
	}

	#column-right form { margin-left:10px; }

	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			padding-left:10px;  /* pushes text to the right to display bg img */
			}

.toplink { 
	margin-top:-8px;
	margin-bottom:1.5em;
	}

#contact #column-right {
	padding-bottom:400px;
	}

/* ------------------------ title framework with varying heights ------------------------- */
#title-contact {
	height:55px;
	background:url("../images/title-contact.jpg") ;
	}

#title-our-procedures {
	height:35px;
	background:url("../images/title-our-procedures.jpg") ;
	}

/* ------------------------------------- Buttons ---------------------------------------- */
#btn-special-offer {
		height:186px;
		display:block;
		background:url("../images/dental-btn-special-offer.jpg") no-repeat;	
		}
		#btn-special-offer:hover {
				background:url("../images/dental-btn-special-offer.jpg") -100px 0 no-repeat; /* -100px = horizontal img shift, 0px = vertical shift from top */
				}
		#btn-special-offer span { display:none; }


/* ------------------------footer framework ------------------------ */
#footer {
	background: url("../images/footer.gif") no-repeat top center;
	width:100%; /* fix for Safari */
	clear:both; /* important - do not remove */	
	text-align:center;
	padding-top:63px;
	}


	#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 #000;
		}
	#footer li.first { border: none; }

.video400 {
	width:400px;
	margin:10px auto 20px;
	}
