/*       Layout
======================= */
body {
        margin: 0px;
        padding: 0px;
        text-align: center;
        background: #188602 url("../images/body-bg.gif") repeat;
}
div {
        position: relative;
}
#pagewidth{
        width: 960px;
        text-align:left;
        margin: 10px auto 0;
        background: #fff;
        overflow: hidden;
}
img {
   		border:1px solid #ddd;
   		padding: 1px;
		margin: 0 15px 10px 0px;
}	
.logo img {
   		border:none;
   		padding: 1px;
		margin: 0 0px 10px 0px;
}
.logo {
	float: left;
	width: 92px;
	margin-right: 0px;
}
ul.left{
margin-left:170px;
margin-bottom:30px;
float:none;
}	
#header{
        width:100%;
        background: url("../images/header.jpg") no-repeat;
        height:239px;
        z-index: 10;
}
#wrapper{
		clear:both;
		z-index: 0;
		background: #fff url("../images/wrapper-bg.png") repeat-x;
		padding-bottom: 20px;
}
#rightcol{
        width:330px;
        float:right;
        padding-right: 15px;
        margin-top: 38px;
}
#maincol{
        float: left;
        display:inline;
        width: 100%;
        padding-top:35px;
}
.home #maincol{
		width: 600px;	
}
#footer{
        clear: both;
        background: url("../images/footer.png") no-repeat;
        width: 944px;
        height: 80px;
        margin-bottom: 30px;
        margin-left: 8px;
        overflow: hidden;
}
.left {
        float:left;
}
.right {
        float:right;
}
.txtl{
   text-align:left;
}
.txtc{
   text-align:center;
}
.txtr{
   text-align:right;
}
.clear {
        clear:both;
}
.red {
        color:#F00;
}
.patent-left {
		float: left;
		margin: 0;
		height: 220px;
		width: 160px;	
}

 /*       Text
======================= */
body, td, div, select, textarea, input {
        font: 12px Tahoma, Verdana, Arial, Helvetica, sans-serif;
        color: #656565;
}
p, h1, h2, h3, table, form {
        margin-left: 35px;
        margin-right: 35px;
}
ul,ol{
        margin:0em 35px 1em 65px; /* Right = same as other elements. Left = Left of other elements +30 */
        padding: 0px;
}
ul li, ol li{
        line-height:1.3em;
        margin: .25em 0;
        padding: 0;
}
li ol, li ul{
        margin-left: 30px;
        margin-top:0;
        margin-bottom:0;
}
table{
        margin-right:0;
}
p {
        margin-top:0;
        margin-bottom:1em;
        line-height:1.3em;
}
h1 {
        font-size: 2em;
        font-weight: normal;
        margin-top: 0;
        margin-bottom: .6em;
        padding-bottom: 11px;
        background:url("../images/header-dots.gif") repeat-x 0 bottom;
}
h2 {
        font-size: 1.6em;
        margin-top: 1.5em;
        margin-bottom: .6em;
        font-weight: normal;        
}
h3 {
        font-size: 1.1em;
        margin-top: 1em;
        margin-bottom: .6em;
}
h1, h2, h3, legend {
        color:#6a6a6a;
        font-family: "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
}


/*      Vertical Nav
========================= */

#nav {
        list-style:none;
        width:960px;
        margin:0;
        padding:0;
        line-height:1em;
        position: absolute;
        bottom: 4px;
        left: 6px;
        z-index: 10;
}
#nav li{
        position:relative;
        float:left;
        margin:0 0 0 2px;
        padding:0;
}
#nav li a {
        display:block;
        padding:7px 0px 0px;
        text-decoration:none;
        text-align: center; 
        color:#0f6702;
        font-weight: bold;
        font-size: 1.2em;
        background: url("../images/menu.png") no-repeat;
        width:133px;
        height: 23px;
}
#nav li a:hover,
#nav li a.current  {
        color:#fff;
    	background: url("../images/menu-hover.png") no-repeat;
}
/*SubMenu styles*/
#nav li li{
	margin: 0;	
}
#nav li li a{
   padding:4px 5px 0px 13px;
   width: 172px; /*  total width of submenu */
   white-space:normal;
   text-align: left;
   font-size: 0.9em;
   background: url("../images/submenu.png") repeat-x;
   color: #474747;
   height: 19px;
}
#nav li ul {
	width: 200px; /*  total width of submenu */
	position: absolute;
	left: -999em;
	height: auto; 
	float: left;
	list-style: none;
	line-height: 1em;
	padding: 0;
	margin: 0;
}
#nav li ul a:hover { /* submenu hover */
	background: url("../images/submenu-hover.png") repeat-x;
	color: #fff;
}
#nav li:hover ul,
#nav li.sfhover ul /*suckerfish*/{
	left: auto;
}
#nav li:hover {background-position: 0 0;} /* IE7 Sticky Fix */



/*       Links
======================= */
a {
        color:#474747;
        text-decoration:underline;
}
a:hover {
        text-decoration:none;
}

/*       Header
========================= */
#header h1 {
        margin:0;
        position:absolute;
        height:143px;
        width: 332px;
        top:21px;
        left:39px;
        overflow:hidden;
        border: none;
        background: none;
}
#header h1 a{
        display:block;
        height:100%;
        width: 100%;
}
#header h1 a span{
        display:block;
        height:100%;
    	width: 100%;
        position:absolute;
        top:0;
        left:0;
        background: url("../images/logo.jpg") no-repeat; /* logo image */
        cursor:pointer; /* ie */
}


/*       Rightcol
========================= */
#rightcol .puzzle, 
#rightcol .chemistry, 
#rightcol .micro {
	margin: 0 0 10px;
	padding-top: 24px;
	width: 324px;
	height: 84px;
	float: left;
	overflow: hidden;
}
#rightcol .puzzle {
	background: url("../images/right-block-puzzle.png") no-repeat;	
}
#rightcol .chemistry {
	background: url("../images/right-block-chemistry.png") no-repeat;	
}
#rightcol .micro {
	background: url("../images/right-block-micro.png") no-repeat;
	padding-top: 28px;
	height: 80px;	
}
#rightcol ul {
	list-style: none;
	margin: 0;
	width: 100%; 
}
#rightcol ul ul {
	margin: 0 0 0 75px;
	width: auto;
}
#rightcol ul li {
	margin: 0;
	padding: 0;
	color: #777879;
	line-height:1.2em;
}
#rightcol ul strong {
	margin: 0 0 0 75px;
	padding: 0;
	text-transform: uppercase;
	color: #188602;
	
}


/*       Footer
========================= */
#footer a, #footer a:hover{
        color:#000;
}

#footer p{
        margin:0;
        padding: 0 28px;
        color:#606060;
        font-size:.8em;
        font-weight: bold;
}

#footer ul {
		width: 870px;
		list-style: none;
		margin: 11px 0px 14px 15px;
		padding: 0 0 12px 45px;	
		background:url("../images/footer-dots.gif") repeat-x 0 bottom;
		overflow: hidden;
}
#footer ul li {
		margin: 0;
		padding: 0 8px;
		float: left;
		color: #000;
		font-weight: bold;
		font-size: 0.8em;	
}
         	 
	      

/*     Float containers fix - Thanks to: http://www.csscreator.com/attributes/containedfloat.php
=============================== */
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */


/*       Forms
======================= */
form.lj fieldset {
border:1px solid #ddd;  /* Fieldset Border */
margin:  0 0 1em 0;
padding: 0 1em 1px;
}
form.lj input, 
form.lj select,
form.lj textarea {
color:#000;             /* Input Text Color */
display: block;
width: 97%;
background: #fff;
border: 1px solid #0f6702; /* Input Border */
padding:.25em .5em;
font-weight:bold;
}
form.lj .submit {
background:#eee;        /* Submit Colors */
color:#000;
border: 1px solid #0f6702;
font-weight:bold;
display:inline;
margin:0 2em 1em 0;
width: auto;
}
form.lj legend {     /* Should be same color as h3 if current global.css is used */
background:#fff;
font-size: 1.1em;
font-weight:bold;
}
form.lj .ammerspay{
position:absolute;
width:50px;
top:0;
left:-5000px;
}
form.lj .submit.light{
color:#ccc;
font-weight:normal;
}
form.lj fieldset.radio{
   margin: 1em 0 1em 0;
}
form.lj fieldset label.radio,
form.lj fieldset.radio label{
cursor:pointer;
line-height:1.6em;
}
form.lj fieldset.radio input,
form.lj label.radio input {
width:auto;
float:left;
margin-right:6px;
border:none;
background:none;
}
form.lj fieldset.float label,
form.lj fieldset label.float{
display:inline; 
float:left;
white-space: nowrap;
margin-right: 15px;
}
form.lj input.hidden {
border:none;
padding:0;
display:inline;
}
form.lj legend a {
font-weight:normal;
font-size:.9em;
}
form.lj label{
display: block;
margin-bottom: 1em;
}
form.lj .first{
padding-top: 1em;
}
form.lj select{
width:auto;
}
form table,
form h2{
margin-left:0;
margin-right:0;
}
form.lj p{
margin:0 0 .25em 0;
padding:0;
}
form.lj {
margin-top: 1em;
margin-bottom:1em;
}

/*     Alerts
==================== */
h3.alert, h3.alertyes, h3.alertwarn{
	font-size:12px;
	line-height:16px;
	padding:5px 5px 5px 35px;
	color:#000;
	border: 2px solid #0c0;
	border-width: 2px 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	margin-top:.8em;
	margin-bottom:.8em;
	background: #cfc url(../includes/forms/alert-yes.png) no-repeat 5px 1px;
}
h3.alert{
	background: #fcc url(../includes/forms/alert-no.png) no-repeat 5px 1px;
	border-color:#c00;
}
h3.alertwarn{
	background: #ffc url(../includes/forms/alert-info.png) no-repeat 5px 1px;
	border-color:#ff3;
}
form h3.alert,
form h3.alertyes,
form h3.alertwarn {
margin-left:0;
margin-right:0;
}


/*     printer styles
========================= */
 @media print{
/* Hide unwanted elements */
#rightcol, #nav, #header h1 a span{display:none;}
/* Kill floats and backgrounds */
#pagewidth {overflow: visible;} 	
body #pagewidth, #maincol, #wrapper, body, #footer, #header, #header h1, #header h1 a,#footer p{width:100%; float:none; background:none;}
/* Set margins to 0 */
p, h1, h2, h3, table {margin-left:0;margin-right:0;}
ul, ol {margin-left:30px; margin-right:0;}
#maincol {padding-top:0;}
/* Make texts black */
p, li, #footer p, #footer p a{color:#000;}
/* Print Logo as text */
#header,#header h1, #header h1 a{ width: auto; height:auto; text-indent:0; position:static;top:0;left:0;}
#header h1{ margin-bottom:1em;}
#footer ul {width: 100%; margin: 0; padding: 0;	}
#footer p{padding: 0;} 	
}