body {margin:0; background:url(../images/bg.jpg) top left repeat; font-family:Arial, Helvetica, sans-serif; font-size:17px; line-height:25px; color:#666;}

h1 {font-size:30px; line-height:36px; color:#C00; font-weight:normal; font-family:"Times New Roman", Times, serif; margin:0 0 10px 15px; padding-top:15px;}
h2 {font-size:28px; line-height:34px; color:#666; font-weight:bold; font-family:"Times New Roman", Times, serif; margin:0 0;}
h3 {font-size:26px; line-height:30px; color:#C00; font-weight:normal; font-family:"Times New Roman", Times, serif; margin:10px 0;}
h4 {font-size:20px; line-height:24px; color:#333; font-weight:normal; font-family:"Times New Roman", Times, serif; margin:0 0 10px 0;}

p {font-size:17px; line-height:25px; color:#666; margin:15px 0;}
p.sml {font-size:11px; line-height:17px; margin:5px 0;}

a {color:#C00; font-weight:normal; text-decoration:underline;}
a:hover {color:#168989; font-weight:normal; text-decoration:underlines;}

blockquote {margin:0; padding:0 0 0 22px;}

ul {margin:10px 0 10px 15px; padding:0;}
li {list-style:square; margin:0 0 0 15px; padding:0; font-size:17px; line-height:25px; color:#666;}

hr {color:#999; background:#999; height:1px; border:none;}

/* Shell */

.topwrap {width:100%;}
.midwrap {width:100%; height:90px; background:#333;}
.bottomwrap {width:100%;}

.topcenter {width:1030px; margin:0 auto;}
.midcenter {width:1030px; margin:0 auto;}
.bottomcenter {width:1030px; margin:0 auto;}

html>body .leftshadow {background:url(../images/shadow_left.png) repeat-y;}
*html .leftshadow {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/shadow_left.png',sizingMethod='scale');}

html>body .rightshadow {background:url(../images/shadow_right.png) repeat-y;}
*html .rightshadow {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/shadow_right.png',sizingMethod='scale');}

/* Header */

.header {width:1000px; height:85px; background:url(../images/header.jpg);}

.nav {width:1000px; height:29px; background:url(../images/navbg.jpg) repeat-x; margin-top:16px; float:left;}
.nav ul {margin:0; padding:0;}
.nav li {list-style:none; margin:0; padding:0; font-size:12px; line-height:29px; text-transform:uppercase; float:right;}
.nav a {color:#FFF; display:block; font-weight:bold; text-decoration:none; padding:0 14px; background:url(../images/nav_line.jpg) left no-repeat; border-left:#099 1px solid;}
.nav a:hover {color:#C00; font-weight:bold; text-decoration:none;}

/* Body */

.bodybg {width:1000px; background:#FFF;}
.bodyholder {width:1000px;}

/* Home Page */

.freeborder {border:#CCC 1px solid; padding:5px; float:left; margin-top:15px;}
.freeconsult {background:#C00; color:#FFF; font-size:28px; line-height:34px; font-family:"Times New Roman", Times, serif; padding:3px 10px; text-align:center;}

.homebox1 {width:579px; background:url(../images/box1_repeat.jpg) repeat-y;}
.homebox1 .top {width:579px; background:url(../images/box1_top.jpg) top no-repeat;}
.homebox1 .bottom {width:579px; background:url(../images/box1_bottom.jpg) bottom no-repeat;}
.homebox1 .padding {padding:6px 20px;}

.homebox2 {width:376px; background:url(../images/box2_repeat.jpg) repeat-y;}
.homebox2 .top {width:376px; background:url(../images/box2_top.jpg) top no-repeat;}
.homebox2 .bottom {width:376px; background:url(../images/box2_bottom.jpg) bottom no-repeat;}
.homebox2 .padding {padding:6px 20px;}

.grnline {width:1000px; height:20px; background:#399;}

.subnav {width:970px; height:60px; position:relative; margin:-12px 0 0 15px;}
.subnav ul {width:100%; height:60px; margin:0; padding:0; border-bottom:#999 1px solid;}
.subnav li {list-style:none; font-size:29px; margin:0; padding:0 50px 0 0; line-height:60px; font-family:"Times New Roman", Times, serif; float:left;}
.subnav a {height:60px; display:block; padding:0 10px; _display:inline; _padding:13px 10px;}
.subnav ul li a:hover {color:#168989;cursor:pointer;}
.subnav a.off {color:#666; font-weight:normal; text-decoration:none;}
.subnav a.on {color:#C00; font-weight:normal; text-decoration:none; background:#FFF; border-left:#999 1px solid; border-top:#999 1px solid; border-right:#999 1px solid; _margin-top:1px; _position:relative; _border-bottom:#fff 1px solid;}

.subnav_text {width:940px; padding:5px 30px; min-height:150px;}
.subnav_text h3 {font-size:14px; line-height:22px; color:#333; font-weight:bold; margin:5px 0 0 0; font-family:Arial, Helvetica, sans-serif;}
.subnav_text p {margin:5px 0 10px 0;}

div.tab_contents {
	display: none;
}
div.tab_contents_active {
	display: block;
}

/* Footer */

.footname {width:154px; height:42px; background:url(../images/footer.jpg); margin:15px 40px 0 0; float:right;}

.footer {background:#FFF; font-size:12px; line-height:22px; text-align:center; color:#666; padding:10px 0;}
.footer a {color:#399; font-weight:normal; text-decoration:none;}
.footer a:hover {color:#C00; font-weight:normal; text-decoration:none;}

.bottomshadow {width:1030px; height:15px; margin-bottom:25px;}
html>body .bottomshadow {background:url(../images/bottom_shadow.png) repeat-y;}
*html .bottomshadow {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/bottom_shadow.png');}

/* Interior */

.helpbg {background:url(../images/help_bg.jpg) bottom right no-repeat;}
.yieldbg {background:url(../images/yield_bg.jpg) bottom right no-repeat;}
.patentbg {background:url(../images/patent_bg.jpg) bottom right no-repeat;}
.refbg {background:url(../images/reference_bg.jpg) bottom right no-repeat;}
.miscbg {background:url(../images/misc_bg.jpg) bottom right no-repeat;}