html{border:none;width:100%;height:100%;overflow:auto;}
div, html, body,div,span,p,a,ul,li,h1,h2,h3,h4,img,blockquote {margin:0;padding:0;border:0;font-weight:normal;}
body {position:relative;border:none;margin: 0;padding:0;height:100%;min-width:700px;max-width:1280px;font-family: TradeGothic, "Trade Gothic", "Trade Gothic Roman", "Franklin Gothic", "ITC Franklin Gothic", FranklinGothic, "Franklin Gothic Book", "Franklin Gothic Roman", "Franklin Gothic Medium", "News Gothic", "News Gothic MT", NewsGothic, "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Verdana, Geneva, Helvetica, Arial, sans-serif;font-size:14px;}
*html body {width:expression(document.documentElement.clientWidth < 740 ? "699px": (document.documentElement.clientWidth > 1280 ? "1239px":"auto"));}
body {background:#dedede;border-left:15px solid #fff;border-right:15px solid #fff;margin-left:auto;margin-right:auto;}

#topbox {position:relative;height:50%;background:#eee;border-top:15px solid #fff;overflow:hidden;}
#bottombox {position:absolute;bottom:0;height:50%;width:100%;background:#dde6fb;border-bottom:15px solid #fff;}
div#navcontainer {position:absolute;overflow:hidden;top:0;height:50%;padding-top:81px;width:100%;z-index:100;border-bottom:15px solid #fff;background:url(../images/navcontainer_bg.png) bottom repeat-x;}
ul#nav {position:absolute;overflow:visible;width:10%;bottom:0;height:131px;padding-top:15px;background:#fff;}
*html ul#nav {padding-top:14px;}
#nav li {position:absolute;top:0;width:155%;height:131px;border-top:15px solid #fff;list-style:none;display:block;background-repeat:repeat-x;z-index:150;}

#nav li#sq1 {background:url(../images/nav_squares/square1.png) #2F5098;width:145%;}
#nav li#sq2 {background:url(../images/nav_squares/square2.png) #4162AD repeat-x;left:144%;width:145%;}
#nav li#sq3 {background:url(../images/nav_squares/square3.png) #5374C2 repeat-x;left:286%;width:287%;}
#nav li#sq4 {background:url(../images/nav_squares/square4.png) #6587D8;left:430%;}
#nav li#sq5 {background:url(../images/nav_squares/square5.png) #7799ED;left:573%;}
#nav li#sq6 {background:url(../images/nav_squares/square6.png) #83A6FD;left:715%;}
#nav li#sq7 {background:url(../images/nav_squares/square7.png) #85A8FF;left:858%;}

#nav li a {display:block;height:39px;padding-left:14px;padding-top:92px;text-decoration:none;color:#fff;line-height:12px;}
#nav li#sq1 a {text-indent:-4000px;background:url(../images/rice_logo_home.png) no-repeat bottom;}
*html #nav li#sq1 a {background-image:url(../images/rice_logo_home.gif);}
li#sq3 a:hover {background-color:#5374C2;color:#2F5098;}
li#sq4 a:hover {background-color:#6587D8;color:#2F5098;}
li#sq5 a:hover {background-color:#7799ED;color:#2F5098;}
li#sq6 a:hover {background-color:#83A6FD;color:#2F5098;}

body#home #nav li#sq1 a:hover {cursor:default;background-color:transparent;}

li#sq2 a {position:relative;z-index:400;}
li#sq2 a span {display:none;}
li#sq2 a:hover {background-color:none;color:#fff;}
li#sq2 blockquote {display:block;visibility:hidden;position:absolute;width:100%;left:0;top:-2000px;height:2000px;line-height:20px;background:#fff url(../images/home_nav-overtext_bg.png) bottom repeat-x;color:#545454;z-index:104;}
li#sq2 blockquote span {display:block;position:absolute;bottom:11px;padding-left:14px;padding-right:28px;}
li#sq2 ul {position:absolute;display:block;visibility:hidden;margin:0;padding:0;border:none;width:100%;background:url(../images/products_over_bg.png) no-repeat top right;left:0;top:0;padding-top:52px;height:96px;}
li#sq2 ul li {position:relative;display:block;margin:0;padding:0;padding-left:10px;border:none;top:0;left:93px;height:auto;width:auto;float:left;clear:both;white-space:nowrap;}
li#sq2 ul li a {display:block;height:auto;padding-left:4px;padding-top:1px;line-height:17px;text-decoration:none;color:#fff;float:left;clear:both;white-space:nowrap;}
li#sq2 ul li a span {display:inline;}

a.earth span {color:#006546;}
a.energy span {color:#f6a71f;}
a.industrial span {color:#42A2C8;}
a.management span {color:#2F5098;}
a.earth:hover {background:#006546;}
a.energy:hover {background:#f6a71f;}
a.industrial:hover {background:#42A2C8;}
a.management:hover {background:#2F5098;}


#bottombox p {position:relative;float:left;top:131px;padding-left:14px;padding-right:14px;width:46%;font-size:14px;line-height:20px;color:#2F5098;}

#topbox img {width:100%;height:auto;}
