A:link {
	text-decoration: none;
	color : darkblue
}
A:visited {
	text-decoration: none;
	color: black
}
A:hover {
	text-decoration: underline;
	color: red
}

/* Styles for the categories display */

FONT.cattotal0 {
	color: #999999;
}

FONT.cattotal1 {
	color: green;
}

/* Styles for the product display */

.input {
		BACKGROUND-COLOR: #ffffff;
		BORDER-BOTTOM: Gray 1px solid;
		BORDER-LEFT: Gray 1px solid;
		BORDER-RIGHT: Gray 1px solid;
		BORDER-TOP: Gray 1px solid;
		FONT-FAMILY: Verdana;
		FONT-SIZE: 12 pt;
}

.button {
		BACKGROUND-COLOR: #ffffff;
		BORDER-BOTTOM: black 2px solid;
		BORDER-LEFT: Gray 2px solid;
		BORDER-RIGHT: black 2px solid;
		BORDER-TOP: Gray 2px solid;
		FONT-FAMILY: Verdana;
		font-weight: bold;
		FONT-SIZE: 12 pt;
}

.a {
	text-align: right;
	font-family: verdana;
	font-size: 12 pt;
}

.b {
	font-family: verdana;
	font-size: 9 pt;
}

TD.category {
	font-family: arial;
	font-size: large;
	font-style: italic;
	font-weight: bold;
}

TD.category_dark {
	background: #666666;
}

TD.brand_cat0 {
	font-family: arial;
	font-size: x-small;
	padding-left: 10 pt;
	text-decoration: underline;
}
 
TD.brand_cat1 {
	font-family: arial;
	font-size: xx-small;
	font-style: italic;
	padding-left: 20 pt;
}
 
TD.brand_cat2 {
	font-family: arial;
	font-size: xx-small;
	font-style: italic;
	padding-left: 30 pt;
}
 
TD.brand_cat0_dark, TD.brand_cat1_dark, TD.brand_cat2_dark {
	background: white;
}

TR.header {
	background: darkblue;
	color: white;
	font-family: arial;
	font-size: x-small;
	white-space: nowrap;
}

A.sort_header:link, A.sort_header:visited {
	text-decoration: none;
	color: white;
}

A.sort_header:hover {
	text-decoration: none;
	color: #888888;
}

A.brand:link, A.brand:visited {
	color: black;
}

A.brand:hover {
	color: red;
}

/* Styles for item listings */

table.item_list tr.brand td {
	font-family: arial;
	font-size: medium;
	font-weight: bold;
	border-bottom: 1px solid #444444;
}

table.item_list tr.item td {
	font-family: courier, monaco, monospace;
	font-size: small;
	white-space: nowrap;
	background: #EEEEEE;
}

table.item_list tr.dark td {
	background: #DDDDDD;
}

	/* promos */

table.item_list tr.dark td.m1p1a, table.item_list tr.dark td.m1p1m {
	background: #DDDDFF;
}
table.item_list tr.dark td.m1p2a, table.item_list tr.dark td.m1p2m {
	background: #BBBBFF;
}
table.item_list tr.dark td.m2p1a, table.item_list tr.dark td.m2p1m {
	background: #FFDDDD;
}
table.item_list tr.dark td.m2p2a, table.item_list tr.dark td.m2p2m {
	background: #FFBBBB;
}
table.item_list tr.light td.m1p1a, table.item_list tr.light td.m1p1m {
	background: #DDDDFF;
}
table.item_list tr.light td.m1p2a, table.item_list tr.light td.m1p2m {
	background: #BBBBFF;
}
table.item_list tr.light td.m2p1a, table.item_list tr.light td.m2p1m {
	background: #FFDDDD;
}
table.item_list tr.light td.m2p2a, table.item_list tr.light td.m2p2m {
	background: #FFBBBB;
}
table.item_list td.diet {
	text-align: center;
}

	/* conditionals */

.m1p1a, .m1p1m, .m1p2a, .m1p2m, .m2p1a, .m2p1m, .m2p2a, .m2p2m  {
	color: green;
}
table.item_list tr.discounted td.line_price {
	color: green;
}

table.item_list tr.error_header td {
	background: pink;
	font-weight: bold;
	font-size: medium;
	text-align: center;
	border-bottom: 1px solid black;
}
table.item_list tr.error_subheader td {
	text-align: center;
	font-size: small;
	border-bottom: 2px solid black;
}
table.item_list tr.error td {
	font-size: small;
	border-bottom: 1px solid grey;
}

table.item_list tr.under_case_pack td,
table.item_list tr.under_case_pack td.m1p1a,
table.item_list tr.under_case_pack td.m1p1m,
table.item_list tr.under_case_pack td.m1p2a,
table.item_list tr.under_case_pack td.m1p2m
{
	background: #FFEEEE;
}
table.item_list td.under_case_pack {
	border: 1px solid maroon;
	background: #FFEEEE;
}

table.item_list tr.nonfactor_case_pack td,
table.item_list tr.nonfactor_case_pack td.m1p1a,
table.item_list tr.nonfactor_case_pack td.m1p1m,
table.item_list tr.nonfactor_case_pack td.m1p2a,
table.item_list tr.nonfactor_case_pack td.m1p2m
{
	background: #FFFEA7;
}
table.item_list td.nonfactor_case_pack {
	border: 1px solid #ABA90B;
	background: #FFFEA7;
}

table.item_list tr.under_minimum_each_qty td,
table.item_list tr.under_minimum_each_qty td.m1p1a,
table.item_list tr.under_minimum_each_qty td.m1p1m,
table.item_list tr.under_minimum_each_qty td.m1p2a,
table.item_list tr.under_minimum_each_qty td.m1p2m
{
	background: #A7FFFE;
}
table.item_list td.under_minimum_each_qty {
	border: 1px solid darkblue;
	background: #A7FFEE;
}

	/* subtotals, etc */

table.item_list tr.summary td {
	background: white;
	font-family: verdana;
	font-size: medium;
}

table.item_list tr.summary td.label {
	font-weight: bold;
	border-right: 1px solid black;
}

table.item_list tr.subtotal td {
	border-top: 2px solid black;
}

table.item_list tr.total td.amt {
	border-top: 1px solid black;
}

table.item_list td.amt,
table.item_list td.line_price {
	text-align: right;
}


INPUT.add_qty {
	BACKGROUND-COLOR: #ffffff;
	BORDER: 1px solid #555555;
	FONT-FAMILY: Verdana;
	FONT-SIZE: 9 pt;
}

INPUT.add_btn {
	BACKGROUND-COLOR: #ffffff;
	BORDER-LEFT: 1px solid #CCCCCC;
	BORDER-TOP: 1px solid #AAAAAA;
	BORDER-RIGHT: 1px solid #999999;
	BORDER-BOTTOM: 1px solid #777777;
	
	FONT-FAMILY: Verdana;
	FONT-SIZE: 9 pt;
	color: darkblue;
}
  
INPUT.add_btn:active {
	background-color: #EEAAAA;
	BORDER-LEFT: 1px solid #999999;
	BORDER-TOP: 1px solid #777777;
	BORDER-RIGHT: 1px solid #CCCCCC;
	BORDER-BOTTOM: 1px solid #AAAAAA;
}


/* Styles for the list display */

TD.item, TD.qty, TD.price {
	font-family: verdana;
	font-size: xx-small;
	background: #DDDDDD;
	text-align: center;
}

TD.price {
	background: white;
}

TD.desc {
	font-family: courier, monaco, monospacea;
	font-size: xx-small;
}

INPUT.qty {
	BACKGROUND-COLOR: #ffffff;
	BORDER: 1px solid #555555;
	FONT-FAMILY: Verdana;
	FONT-SIZE: xx-small;
}

TH.header {
	border-bottom: 1px solid #000000;
}

TR.header TD.item,
TR.header TD.qty,
TR.header TD.desc,
TR.header TD.price {
	font-family: verdana;
	font-size: x-small;
	font-weight: bold;
	text-align: center;
	background: darkblue;
	color: white;
}
