/* 
 ----------------------------------------------------------------------------
  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; }


/* global elements
 * ------------------------------------------------------------------------- */


/* ----- type selectors ----- */ 
body { 
	background: #fff url("../images/bg-body.gif") top left repeat-x;
	text-align:center; 
	font:12px/18px "Bitstream Vera Sans", Arial, Helvetica, sans-serif; 
	color:#0C2E63; 
	}

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:#0C2E63; }    
h2	{ font-size:1.1em; color:#365F9D; }
h3	{ font-size:1.0em; color:#0C2E63; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#028785; text-decoration:underline; }
a:hover,a:active	{ color:#000; text-decoration:underline; }


/* ----- classes ----- */

div.clear	{ 
	clear:both; 
	height:.01em; 
	overflow:hidden; 
	}

p.top {
	text-align:right;
	display:block;
	font-weight:bold;
	font-size:.95em;
	} 
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float: right; 
	margin: 2px 0 10px 10px; 
	}

	
/* ----- global form elements ----- */ 

form { 
	width:170px; 
	padding:3px 0 30px 0; 
	}

form label	{ font-size:10px; }

form br { 
	line-height:0; /* defaults vertical spacing between fields */
	}  

input, textarea, select { 
	background-color:#fff; 
	border:1px solid #345D9D;
	color:#0C2E63;
	width:165px; /* 5 pixles smaller than form width !important */
	height:18px;
	vertical-align: middle;
	margin-bottom:4px; /* sets vertical spacing between fields */
	padding-top:4px; /* vertically position text in input/textarea field */
	padding-left:4px; /* horizontally position text in input/textarea field */
	font-family:"Bitstream Vera Sans", Arial, Helvetica, sans-serif; 
	font-size:1em;
	}
	
select { 
	width:170px; /* same width as form !important */
	padding:0;
	}

textarea { 
	height:70px; 
	overflow:auto; 
	}
	
input.submit, input.submit-contact-main { 
	width:60px; 
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:90px 0 0 242px; }


/* ----- main contact form ----- */ 
 
#contact-main { 
	padding:20px 0 10px 0; 
	}
	
#contact-main label { 
	width:220px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:.95em;
	}
	
#contact-main label input, #contact-main label textarea, #contact-main label select { 
	width:200px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select {
	width:205px;
	}
	
#contact-main label textarea { height:100px; }


/* framework
 * ------------------------------------------------------------------------- */

#wrap { 
	background:url("../images/bg-wrap.gif") repeat-y; 
	width:760px; 
	margin:0 auto; 
	text-align:left; 
	}
	
#wrap-inner {
	width:738px;
	margin-left:11px;
	margin-right:11px;
	}
	
#wrap-gallery {
	background:url("../images/bg-gallery.jpg");
	height:220px;
	position:relative;
	}
	
	#wrap-gallery ul {
		position:absolute;
		top:11px;
		left:261px;
		}
	

#header {
	background:url("../images/header.jpg");
	height:308px;
	}
 
#column-left { 
	width:223px; 
	float:left; 
	}
	
#column-left .content {
	margin-left:36px;
	margin-right:12px;
	}
  
#column-right { 
	width:515px; 
	float:left; 
	}
	
#column-right .content {
	margin-left:24px;
	margin-right:37px;
	}
	#column-right .content ul {
		list-style-type:disc;
		margin-left:16px;
	}
  
 
#bottom-wrap { 
	background:url("../images/bottom-wrap.gif"); 
	height:25px; 
	clear:both; 
	overflow:hidden; 
	}


/* subheads
 * ------------------------------------------------------------------------- */

#subhead-column-left {
	background:url("../images/subhead-quick-contact.gif");
	height:73px;
	}
	
body#contact #subhead-column-left {
	background:url("../images/subhead-locate.gif");
	height:73px;
	}

#subhead {
	height:73px; /* sets height for all subheads */
	}
	#subhead h1 {
		display:none;
		margin:0;
	}

body#index #subhead {
	background:url("../images/subhead-index.gif"); 
	}
	
body#about #subhead {
	background:url("../images/subhead-about.gif"); 
	}
	
body#contact #subhead {
	background:url("../images/subhead-contact.gif"); 
	}

body#cosmetic #subhead {
	background:url("../images/subhead-cosmetic.gif"); 
	}
	
body#gallery #subhead {
	background:url("../images/subhead-gallery.gif"); 
	}
	
body#general #subhead {
	background:url("../images/subhead-general.gif"); 
	}


/* footer
 * ------------------------------------------------------------------------- */
 
#footer { 
	width:760px; 
	margin:10px auto; 
	text-align:center; 
	}

#footer ul { margin-bottom:5px; }

#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 #000;
	}

	#footer li.first { border: none; }
	
	
/* bna
 * ------------------------------------------------------------------------- */

ul.bna-thumbs li {
	list-style:none;
	float:left;
	width:200px;
	padding-left:10px;
	margin-bottom:10px;
	}

body#bna #wrap {
	background:url("../images/bg-bna.gif") repeat-y;
	width:640px;
	font-size:.95em;
	text-align:center;
	}
	
body#bna #top {
	background:url("../images/top-bna.gif");
	height:125px;
	}
	
body#bna #top div {
	padding-top:100px;
	}
	
body#bna #case {
	height:223px;
	}
	
#bna-before-after {
	background:url("../images/bna-before-after.gif");
	height:42px;
	margin-bottom:10px;
	}
	
body#bna #bottom {
	background:url("../images/bottom-bna.gif");
	height:29px;
	margin-top:20px;
	}
	
body#bna p {
	text-align:left;
	padding-left:40px;
	padding-right:40px;
	margin-bottom:8px;
	}
	


/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background: url("../images/nav.gif") no-repeat; 
	width:738px; 
	height:29px; 
	margin-bottom:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height: 29px; display: block; }

#nav li { float: left; list-style: none; _display: inline; }

#nav-01 { width: 58px; margin-left:26px;}
#nav-02 { width: 85px; margin-left:1px; }
#nav-03 { width: 167px; margin-left:1px; }
#nav-04 { width: 160px; margin-left:1px; }
#nav-05 { width: 129px; margin-left:1px; }
#nav-06 { width: 80px; margin-left:1px; }

#nav-01 a:hover {background: transparent url("../images/nav.gif") -26px -29px no-repeat;}
#nav-02 a:hover {background: transparent url("../images/nav.gif") -85px -29px no-repeat;}
#nav-03 a:hover {background: transparent url("../images/nav.gif") -171px -29px no-repeat;}
#nav-04 a:hover {background: transparent url("../images/nav.gif") -339px -29px no-repeat;}
#nav-05 a:hover {background: transparent url("../images/nav.gif") -500px -29px no-repeat;}
#nav-06 a:hover {background: transparent url("../images/nav.gif") -630px -29px no-repeat;}
