/* --------------------------------------------------------------

   Boilerplate Screen Styles
   * Version:   0.5 (2007-11-19)

-------------------------------------------------------------- */

@import "lib/reset.css";
@import "../g-ray_global/g-ray_global.css";

/* ----------- style ------------------------------------------ */

*, html, body {
	padding:0px;
	margin:0px;
}
html { /*center-aligned background-image bug fix*/
	margin-left: -1px;
	overflow-Y: scroll;
}
html, body {
height:100%; /* gives layout 100% height */
/*overflow:inherit; /* triggers 100% height in Opera 9.5 */
/*padding:0;*/
}
body{
	min-width:990px;
}

#wrapper {
	width:100%;
	height:100%;
	/*background-color:#0C0;*/
	margin:0px auto -60px;
}

body>#wrapper {
	height:100%; /* IE6 treats height as min-height */
	min-height:100%; /* gives layout 100% height */
	height:auto !important;
}
#main{
	width:990px;
	height:100%;
	margin:auto;
}

* html #main {
	min-height:100%;
}

#screen {
	width:100%;
	height:100%;
	position:relative;
	/*float:left;*/
}
#lc{
	width:100%;
	float:left;
	position:relative;
	/*right:0px;*/
}
#cc{
	width:100%;
	float:left;
	/*background-color:#fff;*/
	position:relative;
	/*right:178px;*/
}
#rc{
	width:100%;
	float:left;
	/*background-color:#903;*/
	/*border-left:1px solid #e6e6e6;*/
}

#lc, #cc, #rc{height:100%;}
/*
html>#screen{
	height:auto;
	min-height:100%;
}*/
#over-content{display:none;}
.oc #over-content{
	display:block;
}
#content {
	width:640px;
	height:100%;
	/*margin-bottom:60px;*/
	position:relative;
	left:0px;
}
.no_lm #content{
	width:780px;
}

/*--- layouts ---*/
.pglayout_fullw01 #content,
.pglayout_fullw01h #content,
.pglayout_fullw01f #content,
.pglayout_fullw01hf #content{
    width:960px;
}

.pglayout_2col01 #content,
.pglayout_2col01h #content,
.pglayout_2col01f #content,
.pglayout_2col01hf #content,
.pglayout_2col02 #content,
.pglayout_2col02h #content,
.pglayout_2col02f #content,
.pglayout_2col02hf #content
{width:730px;}

.pglayout_2col01 #rightcol,
.pglayout_2col01h #rightcol,
.pglayout_2col01f #rightcol,
.pglayout_2col01hf #rightcol
{display:none;}

.pglayout_2col02 #leftcol,
.pglayout_2col02h #leftcol,
.pglayout_2col02f #leftcol,
.pglayout_2col02hf #leftcol
{display:none;}

.pglayout_3col01 #content,
.pglayout_3col01h #content,
.pglayout_3col01f #content,
.pglayout_3col01hf #content
{width:500px;}

/*--- layouts ---*/

/*--- product divs  ---*/
#leftcol .product_div, #leftcol .product_div.list, #leftcol .product_div.grid
{width:100%;}

/*--- 2 columns ---*/
/*'2col01','2col01h','2col01f','2col01hf','2col02','2col02h','2col02f','2col02hf'*/
.pglayout_2col01 #content .product_div,
.pglayout_2col01 #content .product_div.list,
.pglayout_2col01h #content .product_div,
.pglayout_2col01h #content .product_div.list,
.pglayout_2col01f #content .product_div,
.pglayout_2col01f #content .product_div.list,
.pglayout_2col01hf #content .product_div,
.pglayout_2col01hf #content .product_div.list,
.pglayout_2col02 #content .product_div,
.pglayout_2col02 #content .product_div.list,
.pglayout_2col02h #content .product_div,
.pglayout_2col02h #content .product_div.list,
.pglayout_2col02f #content .product_div,
.pglayout_2col02f #content .product_div.list,
.pglayout_2col02hf #content .product_div,
.pglayout_2col02hf #content .product_div.list
{margin-left:1%;width:49%;}

.pglayout_2col01 #content .product_div.grid,
.pglayout_2col01h #content .product_div.grid,
.pglayout_2col01f #content .product_div.grid,
.pglayout_2col01hf #content .product_div.grid,
.pglayout_2col02 #content .product_div.grid,
.pglayout_2col02h #content .product_div.grid,
.pglayout_2col02f #content .product_div.grid,
.pglayout_2col02hf #content .product_div.grid
{margin-left:1%;width:32%;}

/*--- 3 columns ---*/
/*'3col01','3col01h','3col01f','3col01hf'*/
.pglayout_3col01 #content .product_div,
.pglayout_3col01 #content .product_div.list,
.pglayout_3col01h #content .product_div,
.pglayout_3col01h #content .product_div.list,
.pglayout_3col01f #content .product_div,
.pglayout_3col01f #content .product_div.list,
.pglayout_3col01hf #content .product_div,
.pglayout_3col01hf #content .product_div.list
{margin-left:1%;width:99%;}

.pglayout_3col01 #content .product_div.grid,
.pglayout_3col01h #content .product_div.grid,
.pglayout_3col01f #content .product_div.grid,
.pglayout_3col01hf #content .product_div.grid
{margin-left:1%;width:49%;}

/* --- */

#header{
	width:990px;
	height:160px;
	position:relative;
}
#pagetop_menu{
	height:20px;
	line-height:20px;
	background-color:#CCC;
}
#topmenu{
	position:absolute;
	left:0px;
	bottom:7px;
	background-color:#f5f5f5;
	padding:3px;
}
#top_submenu{
	display:none;
}
.tsm #top_submenu{
	display:inherit;
	height:25px;
	line-height:25px;
	margin-left:15px;
	vertical-align:baseline;
}
.footer {
	clear:both;
	height:60px;
	width:990px; /* centered div must be given a width */
	margin:auto;
        position:relative;
}

#footer, .lm #footer {
	height:30px;
	padding-top:30px;
	width:990px;
	/*min-width:100%; /* centered div must be given a width */
        margin:auto;
}
#bottom_menu, #g-ray{
	padding-left:220px;
	padding-right:50px;
	/*border:1px solid;*/
	text-align:left;
	height:30px;
	line-height:30px;
}
#g-ray{
	font-size:0.8em;
	text-align:right;
}
#leftcol{
	margin-top:5px;
	margin-left:10px;
	width:220px;
	min-height:200px;
	float:left;
	/*position:relative;
	left:793px;*/
}
/* -- fieldset fix -- Firefox ignores % width --*/
#leftcol fieldset{
	max-width:220px;
}
#leftcol fieldset div{
	max-width:215px;
}
.no_lm #lmenu{display:none;}
#rightcol{
	float:right;
	width:220px;
	padding:5px;
	padding-right:10px;
	margin-top:5px;
	color:#000;
	/*position:relative;
	left:780px;*/
}
/* -- fieldset fix -- Firefox ignores % width --*/
#rightcol fieldset{
	max-width:215px;
}
#rightcol fieldset div{
	max-width:205px;
}
