/* * * * * * * * * * * * * *
 * BuyNZ Made CSS - Gallery/List View
 * 
 * 13/05/2010
 * by Joshua (The Markitable Group)
 * joshua@markitable.co.nz
 * 
 * * * * * * * * * * * * * */

/* Categories */

#categories {
	background-color: #FFF;
	border: 1px solid #E6E6E6;
	padding: 21px;
	}

#categories h2 {
	font-weight: normal; 
	font-style: normal; 
	line-height:normal; 
	font-family: 'HelveticaNeueLight', sans-serif;
	font-size: 20px;
	color: #cd3035;
	margin-bottom: 10px;
	}	

#categories ul {
	position: relative;
	right: 10px;
	}		
	
#categories ul li a {
	color: #6b6b6b;
	width: 230px;
	_width: 200px;
	display: block;
	padding: 7px 10px 7px 10px;
	border: 1px solid #FFF;
	}	
	
#categories ul li a:hover {
	background-color: #ECEEF1;
	border: 1px solid #B7C0CD;
	text-decoration: none;
	}		
	
#categories ul li#all_categories a {
	color: #00318d;
	font-weight: bold;
	}		
	
#categories ul li#all_categories img {
	position: relative;
	left: 10px;
	top: 2px;
	}			

/* Navigation */

#navigation {
	background-color: #FFF;
	border: 1px solid #E6E6E6;
	padding: 21px;
	}

#navigation h2 {
	font-weight: normal; 
	font-style: normal; 
	line-height:normal; 
	font-family: 'HelveticaNeueLight', sans-serif;
	font-size: 20px;
	color: #cd3035;
	margin-bottom: 10px;
	}	

#navigation ul {
	position: relative;
	right: 10px;
	}		
	
#navigation ul ul {
	right: 0;
	}		
	
#navigation ul li a {
	color: #6b6b6b;
	width: 230px;
	_width: 200px;
	display: block;
	padding: 7px 10px 7px 10px;
	border: 1px solid #FFF;
	}	
	
#navigation ul li a:hover {
	background-color: #ECEEF1;
	border: 1px solid #B7C0CD;
	text-decoration: none;
	}		
	
#navigation ul li#all_navigation a {
	color: #00318d;
	font-weight: bold;
	}		
	
#navigation ul li#all_navigation img {
	position: relative;
	left: 10px;
	top: 2px;
	}			
	
	
/* Search Results Area (Sort By) */	

#subcategories {
	overflow: auto;
	margin-top: 15px;
	margin-bottom: 20px;
	height: 100%;
	}
	
#subcategories ul {
	margin: 0;
	padding: 0;
	}			
	
#subcategories ul li {
	float: left;
	list-style: none;
	background: transparent url('../images/seperator_sorting_grey.gif') no-repeat top right;
	padding-bottom:7px;
	padding-left:8px;
	padding-right:8px;
	}		
	
#subcategories ul li a {
	font-size: 12px;
	color: #565656;
	}			
	
#subcategories ul li a:hover {
	text-decoration: none;
	color: #00318D;
	}		

#search-results {
	padding-top: 20px;
	}	
	
#search-results #save-search {
	float: right;
	}	
	
#search-results #save-search a {
	color: #8b8b8b;
	text-decoration: underline;
	}
	
#search-results #save-search a:hover {
	text-decoration: none;
	}					
	
#search-results	h3 {
	color: #4b4b4b;
	font-size: 16px;
	font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
	font-weight: bold;
	}
	
#search-results	h3 span {
	color: #00318d;
	font-size: 16px;
	font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
	font-weight: bold;
	}	
	
#sorting #sort-lvl-1 {
	border: 1px solid #E6E6E6;
	background-color: #e9ebee;
	overflow: auto;
	padding: 10px 8px;
	margin-top: 15px;
	height: 100%;
	}	
	
#sorting #sort-lvl-1 span {
	float: left;
	font-size: 13px;
	color: #00318d;
	padding-top: 3px;
	}	
	
#sorting #sort-lvl-1 ul {
	margin: 0;
	padding: 0;
	}			
	
#sorting #sort-lvl-1 ul li {
	float: left;
	list-style: none;
	background: transparent url('../images/seperator_sorting.gif') no-repeat right center;
	padding-left:17px;
	padding-right:17px;
	}		
	
#sorting #sort-lvl-1 ul li a {
	padding: 3px 10px;
	font-size: 13px;
	color: #565656;
	display: block;
	}			
	
#sorting #sort-lvl-1 ul li a:hover,
#sorting #sort-lvl-1 ul li a.active  {
	background-color: #f9fafb;
	text-decoration: none;
	}	
	
#sorting #sort-lvl-2 {
	overflow: auto;
	margin-top: 15px;
	margin-bottom: 20px;
	height: 100%;
	}
	
#sorting #sort-lvl-2 ul {
	margin: 0;
	padding: 0;
	}			
	
#sorting #sort-lvl-2 ul li {
	float: left;
	list-style: none;
	background: transparent url('../images/seperator_sorting_grey.gif') no-repeat top right;
	padding-bottom:7px;
	padding-left:8px;
	padding-right:8px;
	}		
	
#sorting #sort-lvl-2 ul li a {
	font-size: 12px;
	color: #565656;
	}			
	
#sorting #sort-lvl-2 ul li a:hover {
	text-decoration: none;
	color: #00318D;
	}		
	
		
/* Product View Navigation (Gallery/List) */				

#product-listing-nav {	
	height:33px;
	width:633px;
	}
	
#content .gallery-view {
	background:url("../images/product_nav.gif") no-repeat scroll left top transparent;
	}		
	
#content .list-view {
	background:url("../images/product_nav_list.gif") no-repeat scroll left top transparent;
	}		
	
#product-listing-nav #results_info {
	font-size: 12px;
	color: #565656;
	text-align: right;
	}	
	
#product-listing-nav ul {
	margin: 0px;
	padding: 0px;
	padding-top: 9px;
	}		
		
#product-listing-nav ul li {
	float: left;
	list-style: none;
	padding-left:31px;
	width: 91px;
	}		
	
#product-listing-nav ul li a {
	color: #FFF;
	font-size: 12px;
	font-weight: bold;
	}	
	
#product-listing-nav ul li a:hover {
	color: #CCC;
	text-decoration: none;
	}			
	
#product-listing-nav ul li a.active {
	color: #CCC;
	text-decoration: none;
	}		
	
	
/* Products Display CSS (Gallery View) */	
	
#product-listing {
	background-color: #FFF;
	overflow: auto;
	border-left: 1px solid #E6E6E6;
	border-right: 1px solid #E6E6E6;
	border-bottom: 1px solid #E6E6E6;
	padding: 18px;
	_height: 100%;
	margin-bottom: 18px;
	}	
	
#product-listing .product {
	width:162px;
	border: 1px solid #b7c0cd;
	-moz-border-radius: 2px;
	background-color: #eceef1;
	padding-left: 13px;
	padding-bottom: 11px;
	padding-top: 13px;
	padding-right: 13px;
	margin-left: 5px;
	margin-right: 3px;	/* ajk - adjusted to avoid requiring iteration tag for .first class */
	margin-bottom: 36px;
	overflow: auto;
	float: left;
	}	
	
#product-listing .first {
	margin-left: 0px;
	}		
	
#product-listing .product h3 a {
	color: #0a4284;
	font-weight: bold;
	font-size: 14px;
	height: 45px;
	display: block;
	font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
	}			
	
#product-listing .product h3 a:hover {	
	color: #838383;
	text-decoration: none;
	}
	
#product-listing .product h4 {
	text-transform: uppercase;
	color: #838383;
	}		
	
#product-listing .product .product_image {	
	background-color:#FFFFFF;
	border:1px solid #DEE1E6;
	-moz-border-radius: 2px;
	padding:3px;
	width:152px;
	margin-top: 6px;
	margin-bottom: 11px;
	position: relative;
	
	height:100px; /* ajk - added to stop missing images breaking directory */
	}

 /* ajk - added to stop incorrectly sized	 thumbnails breaking directory */
#product-listing .product .product_image img {	
	width:152px;
	height:100px;
	}
	
#product-listing .location {
	color: #5a5a5a;
	font-weight: bold;
	width: 100px;
	float: left;
	}	
	
#product-listing .product_action {
	width:60px;
	float: right;
	}
	
#product-listing .product_action a {
	background: transparent url('../images/product_button_sprite.gif') no-repeat 0px 0px;
	display:block;
	height:19px;
	text-indent:-9999px;
	width:60px;
	}	
	
#product-listing .product_action a:hover {
	background: transparent url('../images/product_button_sprite.gif') no-repeat 0px -21px;
	}		
	
#product-listing .special img {
	position: absolute;
	bottom:87px;
	left:141px;
	}		
	
	
/* Products Display CSS (List View) */	
	
#product-listing .product-list {
	width:575px;
	padding-left: 5px;
	padding-bottom: 15px;
	padding-top: 3px;
	padding-right: 5px;
	margin-bottom: 16px;
	overflow: auto;
	border-bottom: 1px solid #DDD;
	}			
	
	
#product-listing .product-list.featured {
	width:575px;
	border: 1px solid #b7c0cd;
	-moz-border-radius: 2px;
	background-color: #eceef1;
	padding-left: 5px;
	padding-bottom: 3px;
	padding-top: 3px;
	padding-right: 5px;
	margin-bottom: 16px;
	overflow: auto;
	}	
	
	
#product-listing .product-list h3 a {
	color: #0a4284;
	font-weight: bold;
	font-size: 17px;
	display: block;
	font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
	margin-bottom: 5px;	
	}		
	
#product-listing .product-list h4 {
	text-transform: uppercase;
	color: #838383;	
	margin-bottom: 33px;
	}		
	
#product-listing .product-list.featured .product_image {	
	background-color:#FFFFFF;
	border:1px solid #DEE1E6;
	-moz-border-radius: 2px;
	padding:3px;
	width:152px;
	margin-top: 6px;
	margin-bottom: 11px;
	position: relative;
	float: left;	
	}	
	
#product-listing .product-list.featured .product-details {
	padding-top: 10px;
	padding-left: 15px;
	float: left;
	width: 395px;	
	}	
	
#product-listing .product-list .website {
	color: #ee390f;
	float: left;
	clear: both;
	margin-top: 7px;
	}	
	
#product-listing .product-list .product_action {
	width:60px;
	float: right;
	margin-top: 7px;
	}	
	
#product-listing .product-list .product_image {	
	background-color:#FFFFFF;
	border:1px solid #DEE1E6;
	-moz-border-radius: 2px;
	padding:3px;
	width:117px;
	margin-top: 6px;
	margin-bottom: 11px;
	position: relative;
	float: left;	
	height:103px; /* ajk - added to stop missing images breaking directory */
	}

 /* ajk - added to stop incorrectly sized thumbnails breaking directory */
#product-listing .product-list .product_image img {	
	width:115px;
	height:103px;
	}
	
#product-listing .product-list .product-details {
	padding-top: 10px;
	padding-left: 15px;
	float: left;
	width: 431px;	
	}		
	
	
/* Product Pagition */	
	
#pagination {
	float: right;
	}	
	
#pagination a.active {
	color: #353332;
	text-decoration: none;
	}	

#pagination a {
	text-decoration: underline;
	padding: 0px 2px;
	}	
	
#pagination a:hover {
	text-decoration: none;
	}	
	

