/*--------------------- Last Modified --> 2006.03.25 ---------------------*/
/*------------------------------------------------------------------------*/
/*------------------------------------------------------------------------
  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
------------------------------------------------------------------------*/

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


/* global elements ------------------------------------------------- */
/* ----- type selectors ----- */ 
body {
  background:#F2E5E9 url("../images/bg-body.jpg") top repeat-x;
  text-align:center;
  font:11px/18px Arial, Helvetica, sans-serif;
  color:#fff;
}

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

#column-right h1 {
  font-size:1.2em;
}

#column-right h2 {
  font-size:1.1em;
}

#column-right h3 {
  font-size:1.0em;
}

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

a:link,
a:visited {
  color:#fff;
  text-decoration:underline;
  outline:none;
  font-weight:bold;
}

a:hover,
a:active {
  color:#fff;
  text-decoration:none;
  outline:none;
  font-weight:bold;
}

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

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

p.back-to-top {
  text-align:right;
  display:block;
  padding-right:23px;
  background:url("../images/bullet-back-to-top.gif") right no-repeat;
  font-weight:normal;
}

#column-right p.back-to-top a { font-weight:normal; }

img.img-left {
  float:left;
  margin:2px 10px 10px 0;
}

img.img-right {
  float:right;
  margin:5px 0 10px 10px;
}

div.btn-view {
  background:url("../images/btn-view.jpg");
  height:40px;
  width:58px;
  position:relative;
}

div.btn-view a {
  height:20px;
  left:143px;
  top:10px;
  position:absolute;
}

.btn-learn {
  background:url("../images/btn-learn.jpg");
  clear:right;
  display:block;
  display:inline;
  height:22px;
  float:right;
  margin-right:23px;
  position:relative;
  width:59px;
}


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

form {
  width:140px;
  margin:0 0 15px 0;
}

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

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

input,
textarea,
select {
  background-color:#FFFFFF !important; /* to prevent highlighting by Google Toolbar */
  border:1px solid #43001D;
  color:#3D001B;
  width:135px; /* 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:140px;
  padding:0;
} /* same width as form - !important */

textarea {
  height:90px;
  overflow:auto;
}

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

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

#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:90px 0 0 243px; }

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

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

#wrap {
  background:url("../images/bg-wrap.jpg") repeat-y;
  width:762px;
  margin:0 auto;
  text-align:left;
}

#masthead {
  position:relative;
  background:url("../images/masthead.jpg");
  height:180px;
}

/* index page link within #masthead */		
	#masthead a {
  position:absolute;
  left:57px;
  width:146px;
  top:27px;
  height:144px;
}

#masthead a span { display:none; }

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

#column-left {
  width:233px;
  float:left;
  font-size:11px;
  line-height:18px;
}

#column-left p,
#column-left h1,
#column-left h2,
#column-left ul { margin:0 30px 20px 60px; }

#column-left form { margin-left:60px; }

#column-left .list_heading { margin-bottom:0; }
/* ----- column-right ----- */
#column-right {
  width:529px;
  float:left;
}

#column-right p,
#column-right h1,
#column-right h2,
#column-right h3,
#column-right ul,
#column-right dl { margin:0 50px 20px 47px; }

#column-right h1,
#column-right h2,
#column-right h3 { margin-bottom:5px; }

#column-right form { margin-left:0px; }

body#index #column-right ul {
  padding:0;
  margin-left:35px;
}

body#index #column-right ul li {
  background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
  padding-left:15px;  /* pushes text to the right to display bg img */
}

#column-right ul { padding-left:10px; }

#column-right ul li {
  background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
  padding-left:15px;  /* pushes text to the right to display bg img */
}

#section-welcome {
  background:url("../images/bg-welcome.jpg");
  width:529px;
}

#section-building {
  width:297px;
  float:left;
}

#section-building p { margin:0 34px 20px 47px; }

#section-mission {
  width:232px;
  float:left;
}

#section-mission div.end-quote {
  background:url("../images/bg-section-mission.jpg") bottom no-repeat;
  height:24px;
  margin-top:-25px;
}

#section-mission p { margin:0 60px 20px 35px; }

#section-mission h2 { margin:0 60px 5px 35px; }

#banner-invisalign {
  background:url("../images/banner-invisalign.jpg");
  height:205px;
  position:relative;
}

#banner-invisalign a {
  width:81px;
  height:29px;
  left:387px;
  top:9px;
  position:absolute;
}

.bna_thumbs { padding: 0 0 0 55px; }

.img-award {
  padding: 0 0 5px 5px;
  float:right;
}

/* ----- bottom-wrap ----- */
#bottom-wrap {
  background:url("../images/bottom-wrap.jpg");
  height:77px;
  clear:both;
  width:100%; /* fix for Safar */
}

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

#header-graphic {
  height:299px;
  background:url("../images/header-graphic.jpg");
}

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

#subhead { height:107px; } /* 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#general #subhead { background:url("../images/subhead-general.jpg"); }
body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg"); }
body#technology #subhead { background:url("../images/subhead-technology.jpg"); }
body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg"); }

/* ----- subhead framework with varying heights ----- */
#subhead-qcontact {
  height:82px;
  background:url("../images/subhead-qcontact.jpg");
}

#subhead-featured-patients {
  height:75px;
  background:url("../images/subhead-featured-patients.jpg");
}

#subhead-about-the-doctor {
  background:url("../images/subhead-about-the-doctor.jpg");
  height:121px;
}

/* footer
 * ------------------------------------------------------------------------- */
#footer {
  width:762px;
  margin:0 auto;
  text-align:center;
  font-size:12px;
}

#footer p {
  color:#202858;
  margin-bottom:10px;
}

#footer a:link,
#footer a:visited {
  color:#202858;
  text-decoration:underline;
  font-weight:normal;
}

#footer a:hover,
#footer a:active {
  color:#202858;
  text-decoration:none;
  font-weight:normal;
}

#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;
  display: inline;
  border-left: 1px solid #202858;
}

#footer li.first { border: none; }

/* Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */
#nav {
  background:url("../images/nav.jpg") no-repeat;
  width:762px;
  height:67px;
  margin:0;
  padding:0;
}

#nav span { display: none; }

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

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

#nav-01 {
  width: 149px;
  margin-left:178px;
}

#nav-02 { width: 63px; }
#nav-03 { width: 68px; }
#nav-04 { width: 75px; }
#nav-05 { width: 87px; }
#nav-06 { width: 127px; }

/*-------------- (-79px) X position of button / (-67px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg") -178px -67px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -327px -67px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -390px -67px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -458px -67px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -533px -67px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -620px -67px no-repeat; }

/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg") -178px -67px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -327px -67px no-repeat; }
body#general #nav-03 { background:url("../images/nav.jpg") -390px -67px no-repeat; }
body#cosmetic #nav-04 { background:url("../images/nav.jpg") -458px -67px no-repeat; }
body#technology #nav-05 { background:url("../images/nav.jpg") -533px -67px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -620px -67px no-repeat; }