/*--------------------- Last Modified --> 2008.04.02 ---------------------*/
/*-------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------
  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,embed,object {margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img,a img,a:link img,a: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:'';}
embed,object {display: block;}

/* ------------------------ GLOBAL ELEMENTS ------------------------ */

/* ------------------------ type selectors ------------------------ */
body {
	background:#cacacb url("../images/body-bg.jpg") top repeat-x;
	text-align:center;
	font:82% "Trebuchet MS", Arial, Helvetica, sans-serif; /* assuming base font size of 16px. 16 * .75 = 13 */
	color:#4d4d4d;
	min-width:100%;
}
h1 {
	font-size:1.15em;
	color:#599c55;
	border-bottom:1px solid #599c55;
}
h2 {
	font-size:1.1em;
	color:#599c55;
	border-bottom:1px solid #599c55;
}
h3 {
	font-size:1.0em;
	color:#599c55;
	border-bottom:1px solid #599c55;
}
h1 span, 
h2 span, 
h3 span {
	display:none;
}
h1,
h2,
h3,
p,
ul,
ol,
dl {
	line-height:1.15em;
}
a, a:link, 
a:visited {
	color:#4d4d4d;
	text-decoration:underline;
	outline:none;
}
a:hover, 
a:active {
	color:#4d4d4d;
	text-decoration:none;
	outline:none;
}
blockquote {
	margin-left:15px;
	margin-right:15px;
}
pre, 
code, 
kbd, 
samp, 
tt {
	font-family:monospace;
	font-size:108%;
	line-height:99%;
}

/* ------------------------ classes ------------------------ */
.clearfix:after {
    content:"."; 
    display:block; 
    height:0; 
    clear:both; 
    visibility:hidden;
	}
	
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

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 10px 0px;
}
img.img-right {
	float:right;
	margin:5px 0px 10px 10px;
}
/* ------------------------ global form elements ------------------------ */
form {
	margin:10px 0 15px 0; /* set margin left and right below */
}
form p.required-fields {
	font-size:.95em;
}
input, 
textarea, 
select {
	background-color:#f3f2f2 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #cacacb;
	color:#1a3075;
	width:90%; /* 5 pixles smaller than form width !important */
	line-height:1.1em;
	vertical-align: middle;
	margin-bottom:.15em; /* sets vertical spacing between fields */
	padding:.1em; /* vertically position text in input/textarea field */
	padding-left:.2em; /* horizontally position text in input/textarea field */
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:.95em;
}
select {
	width:90%;
	padding:0;
} /* same width as form - !important */
textarea {
	height:90px;
	overflow:auto;
}
#contact-business { /* do not remove */
	display: none;
} 
/* ------------------------ SPECIFIC ELEMENTS ------------------------ */
/* ------------------------ quick contact form ------------------------ */
#contact-quick {
	width:200px;
}
/* ------------------------ main contact form ------------------------ */
#contact-main {
	width:400px;
	padding-left:20px;
}
#contact-main dl {
	width:100%;
	margin:20px 0 10px 0;
}
#contact-main dt {
	text-aligh:left;
	margin-top:10px;
}
#contact-main dd {
	width:90%;
}
input.radio {
	width:12px;
	height:12px;
	background-color:#f3f2f2 !important;
	border:none !important;
	margin-right:6px;
}
/* ------------------------ submit button form elements ------------------------ */
input.submit, 
input.submit-contact-main {
	width:75px;
	height:25px;
	cursor:pointer;
	padding:0;
}
/* REMOVE IF NOT USED */
input.submit-img, 
input.submit-contact-main-img { 
	background:url("../images/btn-submit.jpg");
	width:64px;
	height:20px;
	border:none;
	cursor:pointer;
}
/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/wrap-bg.jpg") repeat-y;
	width:940px;
	margin:0 auto;
	text-align:left;
}
/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:124px;
}
/* index page link within #masthead */		
	#masthead a {
	position:absolute;
	left:33px;
	width:590px;
	top:9px;
	height:95px;
}
#masthead a span {
	display:none;
}
/* ------------------------ header framework ------------------------ */
/* --------------------- flash header framework ---------------------
#header-flash {
	height:300px;
} /* sets height for the flash header - REMOVE IF NOT USED
#active-x {
	height:300px;
}
#header-flash p {
	color:#99FF00;	
}
#header-flash a, a:link, 
#header-flash a:visited {
	color:#CC0000;
}
#header-flash a:hover, 
#header-flash a:active {
	color:#2f86af;
}
#header-flash ins {
	color:#99FF00;
}
/* -------------------- graphic header framework --------------------
#header-graphic {
	height:300px;
} /* sets height for all non-flash headers
body#index #header-graphic {
	background:url("../images/header-index.jpg");
}
body#about #header-graphic {
	background:url("../images/header-about.jpg");
}
body#contact #header-graphic {
	background:url("../images/header-contact.jpg");
}
body#thankyou #header-graphic {
	background:url("../images/header-thankyou.jpg");
}
body#sitemap #header-graphic {
	background:url("../images/header-sitemap.jpg");
}
/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:541px;
	float:left;
	margin-left:32px;
}
#column-left p, 
#column-left h1, 
#column-left h2, 
#column-left h3, 
#column-left ul, 
#column-left dl {
	margin:0px 0px 10px 0px;
}
#column-left ul {
	padding-left:5px;
}
#column-left ul li {
	background:transparent url("../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 */
}
/* definition list */
#column-left dl.portfolio {
	padding-left:5px;
	padding-bottom:20px;
}
#column-left dl.portfolio dt {
	font-weight:bold;
	color:#599c55;
}
#column-left dl.portfolio dd {
	margin:20px 5px;
	width:250px;
	float:left;
}
/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:279px;
	float:right;
	margin-right:28px;
}
#column-right p, 
#column-right h1, 
#column-right h2, 
#column-right h3, 
#column-right ul, 
#column-right dl {
	margin:0px 0px 10px 0px;
}
#column-right form {
	margin-left:0px;
}
/* single column list */
#column-right ul {
	margin:10px 0px;
}
#column-right ul li {
	border-bottom:1px solid #dddee5;
	padding-bottom:3px;
	margin-bottom:8px;
}

/* ------------------------ subhead framework ------------------------ */
#subhead {
	height:63px;
} /* sets height for all subheads */
body#index #subhead {
	background:url("../images/subhead-index.jpg");
}
body#about #subhead {
	background:url("../images/subhead-about.jpg");
}
body#contact #subhead {
	background:url("../images/subhead-contact.jpg");
}
body#thankyou #subhead {
	background:url("../images/subhead-thankyou.jpg");
}
body#sitemap #subhead {
	background:url("../images/subhead-sitemap.jpg");
}
body#services #subhead {
	background:url("../images/subhead-services.jpg");
}
body#portfolio #subhead {
	background:url("../images/subhead-portfolio.jpg");
}

/* ------------------------ subhead framework with varying heights ------------------------ 
#subhead-meet-doc {
	height:55px;
	background:url("../images/subhead-meet-doc.jpg");
}
/* ------------------------ title framework with varying heights ------------------------- */
#title-contact {
	height:55px;
	background:url("../images/title-contact-us.jpg");
}
#title-services-list {
	height:63px;
	background:url("../images/title-services-list.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;
}
/* ------------------------ bottom-wrap framework ------------------------ */
/* ------------ must have below column-left and column-right to clear the float ------------ */
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	width:100%; /* fix for Safar */
	height:20px;
	clear:both; /* important - do not remove */
}
/* ------------------------footer framework ------------------------ */
#footer {
	width:940px;
	margin:0 auto;
	text-align:center;
	background:url("../images/footer-bg.jpg") top left no-repeat;
}
#footer p {
	margin-bottom:10px;
}
#footer ul {
	margin:0 10px 10px 10px;
	padding-top:40px;
}
#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 #4d4d4d;
}
#footer li.first {
	border: none;
}

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */
/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:940px; 
	height:55px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:55px; display:block; } /* change height here also */

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

#nav-01 { width: 169px; margin-left: 29px;}
#nav-02 { width: 213px;}
#nav-03 { width: 189px;}
#nav-04 { width: 190px;}
#nav-05 { width: 136px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -29px -55px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -198px -55px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -411px -55px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -600px -55px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -790px -55px no-repeat; }

