html, body {
    height: 100%;
}

/* Set up the display area and center. */
div#screen {
    width: 798px;
    padding: 0 6px 0 6px; /* Allow space for the "border" */
    position: relative;
    left: 50%;
    margin-left: -400px;
    background: url('../images/screenbg.png');
    min-height: 100%;
}

* html div#screen { /* Hack for IE < 6 */
    height: 100%;
}

/* The Header. */
div#header {
    height: 124px;
}

div#header div#logo {
    height: 124px;
    background: url('../images/chemstarlogo.png') 90px 44px no-repeat;
}

/* The main navigation links. */
div#nav {
    height: 22px;
    width: 100%;
    overflow: hidden;
    background: url('../images/navbg.png');
}

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

div#nav li:hover {
    background: url('../images/navrollover.png');
}

div#nav a {
    float: left;
    font-size: 9px;
    color: #9c9c9c;
    padding: 7px 35px 0 35px;
    height: 15px;
    background: url('../images/navrightborder.png') right bottom no-repeat;
    text-transform: uppercase;
}

div#nav a:hover {
    background: url('../images/navrighthoverborder.png') right bottom no-repeat;
}

/* The title area of the current page. */

div#title {
    background: url('../images/titlebg.png') bottom left no-repeat;
}

.greentitle
{
    background: url('../images/titlebg_green.png') bottom left no-repeat !important;
}

div#title h1 {
    padding: 30px 0 22px 45px;
    font-size: 25px;
    font-weight: lighter;
    font-family: 'Helvetica Neue Light', 'Helvetica Neue', 'Helvetica', sans-serif;
    color: #5e5c60;
}


/* The right subnavigation links */

div#rightnav {
    width: 180px;
    padding: 0 0 10px 0;
    background: url(../images/nav_bottom.gif) 1px bottom no-repeat #ffffff;
    
    float: right;
}

* html div #rightnav {
  padding: 0 0 7px 0;
}

#about_side{background: url(../images/nv_bg.gif) bottom  no-repeat #ffd200; height:125px; }

div#rightnav h2 {
    display: block;
    padding: 0 0 0 12px;
    font-family: 'Helvetica Neue Light', 'Helvetica Neue', 'Helvetica', sans-serif;
    font-size: 18px;
    font-weight:normal;
    color: white;
    background: url(../images/nav_bg_round.gif) right top no-repeat #ffffff;	
    height: 42px;
    line-height: 42px;
}


div#rightnav h2 a{ color:#FFF;}
div#rightnav ul {
  
	padding: 0;

}

div#rightnav li {
    height: 23px;
    background: url('../images/sublinkslibg.png');
    list-style: none;
}

div#rightnav .menu li {
    height: 23px;
    /*background: url('../images/sublinkslibg.png');*/
	background:url(../images/bg_accorion_ul.jpg) no-repeat top left;
    list-style: none;
} 

div#rightnav li a {
    display: block;
    font-size: 11px;
    color: #888888;
    padding: 0 0 0 15px;
	  height: 23px;
	  line-height: 23px;
}

div#rightnav li a.first_link {
	padding-top: 4px;
	padding-bottom: 4px;
}

/* The content area. */
#content {
    background: url('../images/contentbg.png') no-repeat;
    padding: 25px 0 0 43px;
	min-height:252px;
}

* html #content {
    width: 572px;
    background: transparent;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
            src="../images/contentbg.png", sizingMethod="crop");
}


/* The footer. */    
div#footer {
  background: url('../images/footerbg.png') no-repeat;
  padding: 35px 0 15px 0;
	height:45px;
}

div#footer ul {
    float: left;
    width: 500px;
    padding: 18px 0 0 42px;
    font-weight: bold;
    font-size: 9px;
    color: #919190;
    line-height: 1.5;
}

div#footer ul li {
	
    display:inline;
    list-style: none;
}

div#footer ul a {
    font-weight: bold;
    font-size: 14px;
    color: #919190;
    padding-right: 12px;
    padding-left: 2px;
    float: left;
}

div#footer ul div a {
    float: none;
    font-weight: bold;
    color: #ffd200;
    padding: 0;
}

div#footer form {
    float: right;
    padding: 18px 28px 20px 0;
}

div#footer form * {
    vertical-align: middle;
	display:none;
}

div#footer form div#querywrapper, .textareawrapper {
    background: url('../images/textarea.png') no-repeat;
    float: left;
    width: 127px;
    height: 12px;
    padding: 4px 8px 4px 8px;
    margin: 0 6px 0 0;
}

* html div#footer form div#querywrapper {
    background: transparent;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
            src="../images/textarea.png", sizingMethod="crop");
}

* html .textareawrapper {
    background: transparent;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
            src="../images/textarea.png", sizingMethod="crop");
}

div#footer form input#query {
    width: 100;
    font-size: 9px;
    color: #919190;
    background: transparent;
}



/* The copyright notice below the footer. */
div#copyright img {
    padding: 22px;
    float: left;
}

div#copyright p {
    font-size: 9px;
    color: #adadad;
    line-height: 1.2;
    margin: 0;
    padding: 17px 0 0 0;
}

div#copyright {
    border-top: solid 1px #dcdbdc;
}
