﻿.CategoryPage
{
	float: left;
	margin-top: 10px;
}


.yuanbao_pager_header
{
	width: 765px;
	height: 22px;
	background:  url(images/backgrounds/yuanbao_category_header_bg.png) no-repeat ; 

	color: #666666;
	font-weight: bold;
	padding-top: 2px;
	margin-top: 10px;
}

.yuanbao_pager_header_long
{
	width: 980px;
	height: 22px;
	background:  url(images/backgrounds/yuanbao_category_header_bg_long.png) no-repeat ; 

	color: #666666;
	font-weight: bold;
	padding-top: 2px;
	margin-top: 10px;
}


.yuanbao_breadcrumb
{
	float: left;			/* KH: This line is important. Since pager will float:right, this must float */
	padding-left: 15px;
	
}

.yuanbao_pager_header a
{
	text-decoration: none;
	color: #666666;
}

.yuanbao_pager_header a:hover
{
	text-decoration: none;
	color: #AE2035;
}


.CategoryPage .CategoryTitle
{
	padding: 10px 10px 5px 0px;
	clear: both;
}

.CategoryPage .CategoryDescription
{
	color: #555;
	font-size: 1.1em;
}

.CategoryPage .yuanbao_product_pager
{
	float: right;
	text-align: right;
    vertical-align: middle !important;
	padding-right:15px;
}

.CategoryPage .yuanbao_product_pager a
{
}

.CategoryPage yuanbao_product_pager a:link
{
	color:  #AE2035;
}

.CategoryPage .yuanbao_product_pager span
{
	color: #ff9933;
	font-size: 14px;
	font-weight: bold;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

	PRODUCTS IN GRID - TEMPLATE

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.product_grid
{
	margin-top: 10px;
}

.product_grid .item_box
{
	text-align: center;
	vertical-align: text-top;
	padding-left: 10px;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

	SUB CATEGORIES - PRODUCTS IN GRID TEMPLATE FOR HORIZONTAL

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.CategoryPage .SubCategoryGrid_3P
{
	margin-left: auto;
	margin-right: auto;
}

.CategoryPage .SubCategoryGrid_3P a
{
	color: #555;
	border: 1px;
}

.CategoryPage .SubCategoryGrid_3P .ItemBox
{
	text-align: center;
	vertical-align: text-top;
}

.CategoryPage .SubCategoryGrid_3P .SubCategoryItem
{
	text-align: center;
	margin: 1px 1px 1px 1px;
	width: 245px;
	height: auto;
}

.CategoryPage .SubCategoryGrid_3P .SubCategoryItem .title
{
	text-align: center;
	font-size: 12px;
	display: block;
	overflow: hidden hidden;
}

.CategoryPage .SubCategoryGrid_3P .SubCategoryItem .picture
{
	text-align: center;
	padding: 10px 0 10px 0;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

	FEATURED PRODUCTS IN CATEGORY - FOR HORIZONTAL

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.CategoryPage .FeaturedProductGrid_3P
{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.CategoryPage .FeaturedProductGrid_3P .title
{
	padding: 10px 10px 5px 0px;
	font-weight: bold;
	text-transform: uppercase;
	clear: both;
	margin: 0;
	color: #ff9933;
}

.CategoryPage .FeaturedProductGrid_3P .ItemBox
{
/*	padding-bottom: 10px; */
	text-align: center;
	vertical-align: text-top;
}

.CategoryPage .FeaturedProductGrid_3P .ProductItem
{
	text-align: center;
/*	margin: 10px 10px 10px 10px; */
	width: 245px;
/*	background: url('images/prod_grid_box_bg.gif') no-repeat 0 100%; */
}

.CategoryPage .FeaturedProductGrid_3P .ProductItem .title
{
	font-weight: bold;
/*	background: url('images/deal_box_hl.gif') no-repeat 0 0; */
/*	padding: 0 0 0 10px;	*/
	text-transform: none;
}

.CategoryPage .FeaturedProductGrid_3P .ProductItem .title a
{
/*	background: url('images/deal_box_hr.gif') no-repeat 100% 0; */
	display: block;
/*	height: 2em; */
	line-height: 1.3em;
	overflow: hidden hidden;
/*	padding: 4px 10px 8px 0px; */
}

.CategoryPage .FeaturedProductGrid_3P .ProductItem .picture
{
	text-align: center;
	margin-top: 10px;
}

.CategoryPage .FeaturedProductGrid_3P .ProductItem .description
{
	margin: 5px 5px 0 5px;
	text-align: center;
	padding: 10px 5px 10px 5px;
	border-top: solid 1px #e3e3e3;
	color: #555;
	height: 50px;
}

.CategoryPage .FeaturedProductGrid_3P .ProductItem .addInfo
{
	vertical-align: bottom;
	text-align: right;
	width: 180px;
	height: 30px; 
	position: relative;
}

.CategoryPage .FeaturedProductGrid_3P .ProductItem .addInfo .prices
{
	text-align: center;
	vertical-align: middle;
/*	position: absolute; */
	bottom: 15px;
	right: 10px;
}

.CategoryPage .FeaturedProductGrid_3P .ProductItem .addInfo .buttons
{
	vertical-align: middle;
	position: absolute;
	bottom: 15px;
	left: 10px;
	text-align: left;
}

.CategoryPage .FeaturedProductGrid_3P .ProductItem .addInfo .prices .productPrice
{
	color: green;
}

.CategoryPage .FeaturedProductGrid_3P .ProductItem .addInfo .prices .oldproductPrice
{
	color: Red;
	text-decoration: line-through;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

	PRODUCTS IN GRID - TEMPLATE FOR HORIZONTAL

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.CategoryPage .ProductGrid_3P
{
/*	margin-bottom: 15px; */
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.CategoryPage .ProductGrid_3P .ItemBox
{
/*	padding-bottom: 10px; */
	text-align: center;
	vertical-align: text-top;
}

.CategoryPage .ProductGrid_3P .ProductItem
{
	text-align: center;
/*	margin: 10px 10px 10px 10px; */
	width: 245px;
/*	background: url('images/prod_grid_box_bg.gif') no-repeat 0 100%; */
}

.CategoryPage .ProductGrid_3P .ProductItem .title
{
	font-weight: bold;
/*	background: url('images/deal_box_hl.gif') no-repeat 0 0; */
/*	padding-left: 10px; */
}

.CategoryPage .ProductGrid_3P .ProductItem .title a
{
/*	background: url('images/deal_box_hr.gif') no-repeat 100% 0; */
	display: block;
	height: 2em;
	line-height: 1.3em;
	overflow: hidden hidden;
	padding: 4px 10px 8px 0px;
}

.CategoryPage .ProductGrid_3P .ProductItem .picture
{
	text-align: center;
	margin-top: 10px;
}

.CategoryPage .ProductGrid_3P .ProductItem .description
{
/*	margin: 5px 5px 0 5px; */
	text-align: center;
/*	padding: 10px 5px 10px 5px; */
	border-top: solid 1px #e3e3e3;
	color: #555;
	height: 50px;
}

.CategoryPage .ProductGrid_3P .ProductItem .addInfo
{
	vertical-align: bottom;
	text-align: center;
	width: 180px;
	height: 35px;
	position: relative;
}

.CategoryPage .ProductGrid_3P .ProductItem .addInfo .prices
{
	text-align: center;
	vertical-align: middle;
	position: absolute;
	bottom: 15px;
	right: 10px;
}

.CategoryPage .ProductGrid_3P .ProductItem .addInfo .buttons
{
	vertical-align: middle;
	position: absolute;
	bottom: 15px;
	left: 10px;
	text-align: left;
}

.CategoryPage .ProductGrid_3P .ProductItem .addInfo .prices .productPrice
{
	color: green;
}

.CategoryPage .ProductGrid_3P .ProductItem .addInfo .prices .oldproductPrice
{
	color: Red;
	text-decoration: line-through;
}



/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

	PRODUCTS IN LINES 1 - TEMPLATE

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.CategoryPage .ProductList1
{
	width: 600px;
	margin: 0 auto 0 auto;
}

.CategoryPage .ProductList1 .ItemBox
{
	text-align: left;
	clear: both;
	position: relative;
	margin-bottom: 10px;
}

.CategoryPage .ProductList1 .ProductItem
{
	width: 600px;
	height: 177px;
	background: url('images/pb_s_bg.gif') no-repeat 0 100%;
	margin-top: 10px;
	position: relative;
}

.CategoryPage .ProductList1 .ProductItem .title
{
	font-weight: bold;
	background: url('images/deal_box_hl.gif') no-repeat 0 0;
	padding-left: 10px;
}

.CategoryPage .ProductList1 .ProductItem .title a
{
	background: url('images/deal_box_hr.gif') no-repeat 100% 0;
	display: block;
	height: 2em;
	line-height: 1.3em;
	overflow: hidden hidden;
	padding: 4px 10px 8px 0px;
}

.CategoryPage .ProductList1 .ProductItem .picture
{
	float: left;
	margin: 10px 0 10px 10px;
}

.CategoryPage .ProductList1 .ProductItem .description
{
	padding: 0px 0 0 10px;
	margin: 10px 150px 0px 140px;
	text-align: left;
	border-left: solid 1px #e3e3e3;
	color: #555;
}

.CategoryPage .ProductList1 .ProductItem .prices-wrapper
{
	float: right;
	text-align: right;
	position: absolute;
	bottom: 20px;
	right: 5px;
}

.CategoryPage .ProductList1 .ProductItem .prices
{

}

.CategoryPage .ProductList1 .ProductItem .prices .productPrice
{
	color: green;
}

.CategoryPage .ProductList1 .ProductItem .prices .oldproductPrice
{
	color: Red;
	text-decoration: line-through;
}

.CategoryPage .ProductList1 .ProductItem .buttons
{
	padding-top: 20px;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

	PRODUCTS IN LINES 2 - TEMPLATE (JUST SHOWS HYPERLINKS)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.CategoryPage .ProductList2
{
	margin-bottom: 15px;
	padding: 0px;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

	PRODUCT FILTERS BOX

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.CategoryPage .ProductFilters
{
	width: 600px;
	background: url('images/fb_s_bg.gif') no-repeat 0 100%;
	margin-left: 5px;
}

.CategoryPage .ProductFilters .FilterTitle
{
	font-weight: bold;
	background: url('images/deal_box_hl.gif') no-repeat 0 0;
	padding-left: 10px;	
	color: #555;
}

.CategoryPage .ProductFilters .FilterTitle span
{
	background: url('images/deal_box_hr.gif') no-repeat 100% 0;
	display: block;
	height: 2em;
	line-height: 1.3em;
	overflow: hidden hidden;
	padding: 4px 10px 8px 0px;
}

.CategoryPage .ProductFilters .FilterItem
{
	padding: 5px 10px 5px 10px;
}



/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

	HOME PAGE CATEGORIES - DONE

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.HomePageCategoryGrid
{
	font-family: 宋体,verdana;

	margin-left: auto;
	margin-right: auto;
	width: 960px;
	background: white;
}

.HomePageCategoryGrid a
{
	color: black;
}

.HomePageCategoryGrid .ItemBox
{
	text-align: left;
	vertical-align: text-top;
}

.HomePageCategoryGrid .HomePageCategoryItem
{
	font-size: 12px;
	text-align: left;
	width: 955px;
}

/* KH: Used for Home Category Products display */
.HomePageCategoryGrid .HomePageCategoryItem .title	
{
	font-size: 18px;
	font-weight: bold;
	padding: 5px 0px 0px 25px;
	
}

.HomePageCategoryGrid .HomePageCategoryItem .hrline
{
	padding: 0px 15px 0px 15px;
}



/* KH: Used for Home Category Products display */
.HomePageCategoryGrid  .ProductItem					
{
	font-size: 12px;
	text-align: center;
	width: 190px;									/* KH: Determine the width of the homepage products */
}
