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


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


/* ----- type selectors ----- */ 
body { 
	background: #4f504b url("../images/bg-body.jpg");
	text-align:center; 
	font:12px/16px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#384458;
	}

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

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

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

p.h1	{ font-size:1.2em; color:#2f86af; font-weight:bold; }
p.h2	{ font-size:1.1em; color:#6da35f; font-weight:bold; }
p.h3	{ font-size:1.0em; color:#384458; font-weight:bold; }

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

a:link,a:visited	{ color:#6da35f; text-decoration:underline; }
a:hover,a:active	{ color:#2f86af; text-decoration:underline; }

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

div.clear	{
	clear:both;
	height:0.01em;
	width: 100%;
	}

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

p.img-center {
	text-align:center;
	}
	
/* ----- global form elements ----- */ 

form {
	width:150px;
	padding:10px 0 15px 0;
	}

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 #88B5CA;
	color:#52534D;
	width:150px; /* 5 pixles smaller than form width !important */
	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;
	}
	
select { 
	width:155px; /* same width as form !important */
	padding:0;
	}

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

/* ----- submit form elements ----- */ 

input.submit, input.submit-contact-main { 
	background:url("../images/btn-submit.jpg");
	width:64px;
	height:27px;
	border:none;
	cursor:pointer;
	}

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

input.submit { margin-left:93px; }


/* form index page contact form */
input.submit-image { 
	background:url("../images/btn-submit.jpg");
	width:64px;
	height:27px;
	border:none;
	cursor:pointer;
	margin-left:295px;
	padding:0;
	}

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


/* ----- index form elements ----- */ 

input.index-form, textarea.index-form, select.index-form { 
	background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #88B5CA;
	color:#52534D;
	height:18px;
	width:137px;
	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;
	}

textarea.index-form { 
	height:85px;
	width:200px;
	overflow:auto; 
	}

.submit-td {
	background:url("../images/img-contact-email-index.jpg") no-repeat;
	height:27px;
	}


/* ----- main contact form ----- */ 
 
#contact-main { padding:20px 0 10px 0; }
	
#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:776px;
	margin:0 auto;
	text-align:left;
	}

#wrap-inside {
	background:url("../images/bg-wrap-inside.jpg") repeat-y;
	width:776px;
	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:43px;
		width:335px;
		top:28px;
		height:41px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- contact-area-index ----- */

#contact-index-wrap {
	float:left;
	background:url("../images/bg-contact-index.jpg") repeat-y;
	}
	
	#contact-index {
		background:url("../images/bg-contact-top.jpg") no-repeat;
		}
		
		#contact-index div.header{ height:38px; background:url(../images/img-contact-top.jpg);}
		#contact-index div.bottom{ height:18px; background:url(../images/img-contact-bottom.jpg); clear:both;}
		
	#contact-index #contact-index-left {
		float:left;
		width:341px;
		}
		#contact-index-left p {
			margin:10px 5px 8px 43px;
			}
	
	#contact-index #contact-index-right {
		width:435px;
		float:left;
		}
		
	#contact-index #contact-index-right form.index-form {
		width:365px;
		padding-left:15px;
		}
		#contact-index #contact-index-right table {
			width:365px;
			}

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

#column-left-index {
	width:341px;
	float:left;
	}
	
	#column-left-index p, #column-left-index ul {
		margin:0 30px 8px 52px;
		}

	/* background image list items */
	#column-left-index ul { 
		padding-left:5px; 
		}
	#column-left-index ul li { 
		background:transparent url("../images/bullet.jpg") 0px 3px no-repeat;
		padding-left:12px;
		font-weight:bold;
		color:#6DA35F; 
		}
	#column-left-index ul li a:link,#column-left-index ul li a:visited	{ color:#6da35f; text-decoration:underline; font-weight:bold; }
	#column-left-index ul li a:hover,#column-left-index ul li a:active	{ color:#2f86af; text-decoration:underline; font-weight:bold; }

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

#column-right-index {
	width:435px;
	float:left;
	}

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

	#column-right-index ul li { 
		background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
		padding-left:8px; 
		}
	

/* ----- bottom-wrap index----- */
#bottom-wrap-top {
	position:relative;
	background:url("../images/bottom-wrap-top.jpg") no-repeat;
	height:113px;
	width:725px;
	margin:0px 0px 0px 25px;
	}
	
#bottom-wrap-top a {
	position:absolute;
	height:20px;
	width:234px;
	margin:45px 0px 0px 475px;
	left: -247px;
	top: -19px;
}

#bottom-wrap {
	position:relative;
	background:url("../images/bottom-wrap.jpg") no-repeat;
	height:140px;
	clear:both;
	width:100%;
	}
	

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

#column-left-inside {
	width:549px;
	float:left;
	}
	#column-left-inside p, #column-left-inside ul {
		margin:0 40px 8px 43px;
		}
	#column-left-inside p.first, #column-left-inside p.h1 {
		padding-top:70px;
		}
	
	/* background image list items */
	#column-left-inside ul { 
		padding-left:5px; 
		} 

	#column-left-inside ul li { 
		background:transparent url("../images/bullet.jpg") 0px 3px no-repeat;
		padding-left:12px; 
		font-weight:bold;
		color:#6DA35F; 
		}

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

#column-right-inside {
	width:227px;
	float:left;
	}
	#column-right-inside p, #column-right-inside form {
		margin:0 20px 8px 25px;
		}
	#column-right-inside p.first {
		padding-top:121px;
		}

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


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

body#about #column-left-inside.subhead {
	background:url("../images/subhead-about.jpg") no-repeat; 
	}
	
body#functional-vision #column-left-inside.subhead {
	background:url("../images/subhead-functional-vision.jpg") no-repeat; 
	}

body#analyizer #column-left-inside.subhead {
	background:url("../images/subhead-analyizer.jpg") no-repeat; 
	}

body#examples #column-left-inside.subhead {
	background:url("../images/subhead-examples.jpg") no-repeat; 
	}

body#contact #column-left-inside.subhead {
	background:url("../images/subhead-contact.jpg") no-repeat; 
	}

body#thankyou #column-left-inside.subhead {
	background:url("../images/subhead-thankyou.jpg") no-repeat; 
	}

#column-right-inside.contactus {
	background:url("../images/subhead-contactus-inside.jpg") no-repeat;
	}

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

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

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

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

#footer ul {margin-top: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 #fff;
	}

	#footer li.first { border: none; }

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

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

#nav span { display: none; }

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

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

#nav-01 { width: 64px; margin-left: 8px;}
#nav-02 { width: 170px; margin-left: 6px;}
#nav-03 { width: 187px; margin-left: 6px;}
#nav-04 { width: 132px; margin-left: 6px;}
#nav-05 { width: 84px; margin-left: 6px;}
#nav-06 { width: 92px; margin-left: 6px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover {background:url("../images/nav.jpg")  -8px -42px no-repeat;}
#nav-02 a:hover {background:url("../images/nav.jpg") -78px -42px no-repeat;}
#nav-03 a:hover {background:url("../images/nav.jpg") -254px -42px no-repeat;}
#nav-04 a:hover {background:url("../images/nav.jpg") -447px -42px no-repeat;}
#nav-05 a:hover {background:url("../images/nav.jpg") -585px -42px no-repeat;}
#nav-06 a:hover {background:url("../images/nav.jpg") -675px -42px no-repeat;}

/*-------------- Sets link image as hover image ------------- */
body#functional-vision #nav-02 {background:url("../images/nav.jpg") -78px -42px no-repeat;}
body#analyizer #nav-03 {background:url("../images/nav.jpg") -254px -42px no-repeat;}
body#examples #nav-04 {background:url("../images/nav.jpg") -447px -42px no-repeat;}
body#about #nav-05 {background:url("../images/nav.jpg") -585px -42px no-repeat;}
body#contact #nav-06 {background:url("../images/nav.jpg") -675px -42px no-repeat;}
