div.sizeLinks,
div.headerContainer
{
	float: left;
	clear: both;
	width: 100%;
}

ul.threeColumnList
{
	list-style-type: none;
	margin: 0;
	padding: 0;
	float: left;
	clear: left;
	width: 100%;
}

ul.threeColumnList li
{
	float: left;
	margin-bottom: 8px;
}

ul.threeColumnList li:nth-child(3n+2)
{
	margin: 0 7px;
}

div.itemBox,
a.itemBox
{
	background: #e9e9e9;
	border: 1px solid #ccc;
	width: 235px;
	height: 200px;
	float: left;
	position: relative;
	display: block;
	cursor: pointer;
	color: black;
	font-size: 1.25em;
	border-radius: 5px;
}

a.itemBox img
{
	display: none;
	border: 0;
	border-radius: 4px;
	box-shadow: 0 0 7px #fff;
}

div.itemBox .title,
a.itemBox .title
{
	font-weight: bold;
	line-height: 30px;
	padding-left: 10px;
}

a.itemBox:hover
{
	text-decoration: none;
	border: 1px solid #aaa;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

a.itemBox:hover img
{
	display: block;
	position: relative;
	top: 49px;
	left: 51px;
}

p.price
{
	color: #C03000;
	font-weight: bold;
	font-size: 16pt;
	position: absolute;
	bottom: 5px;
	right: 10px;
	margin: 0;
}

p.price span
{
	color: #000;
	font-size: 12pt;
	text-decoration: line-through;
}

.mattressOnly
{
	color: #000000;
	font-size: 8pt;
	position: absolute;
	bottom: 7px;
	right: 150px;
}

.largePillButton
{
	-moz-border-radius: 16px;
	-webkit-border-radius: 16px;
	display: block;
	font-size: 1em !important;
	font-weight: bold;
	padding: 3px 10px;
	line-height: 25px;
	text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
	text-decoration: none;
	-moz-box-shadow: 1px 1px 2px #555;
	-webkit-box-shadow: 1px 1px 2px #555;
}

.greenButton
{
	background: #00DA00 url("../images/darkGradient.png") top left repeat-x;
	border: 1px solid #006600;
	color: #fff !important;
}

.greenButton:hover
{
	cursor: pointer;
	background: url("../images/darkGradient.png") top left repeat-x #00C000;
	text-decoration: none;
}

div.mattressComparePage h1,
a#compareButton
{
	margin: -2px 3px 15px 0;  /* was 20px 0; */
}

div.mattressComparePage h1
{
	float: left;
	font-size: 1.8em;
}

a#compareButton
{
	float: right;
}

/* ---------- Mattress link classes ---------------- */

a.itemBox.basic
{
	background: url("../images/3col-basic.jpg") top left no-repeat;
}

a.itemBox.premier
{
	background: url("../images/3col-premier.jpg") top left no-repeat;
}

a.itemBox.coolMax
{
	background: url("../images/3col-coolMax.jpg") top left no-repeat;
}

a.itemBox.gooseDown
{
	background: url("../images/3col-gooseDown.jpg") top left no-repeat;
}
	
a.itemBox.coolBamboo
{
	background: url("../images/3col-coolBamboo.jpg") top left no-repeat;
}
	
a.itemBox.coolBambooLatex
{
	background: url("../images/3col-coolBamboo_latex.jpg") top left no-repeat;
}
	
a.itemBox.coolBambooGel
{
	background: url("../images/3col-coolBamboo_gel.jpg") top left no-repeat;
}

a.itemBox.bambooBreeze
{
	background: url("../images/3col-bambooBreeze.jpg") top left no-repeat;
}

a.itemBox.bambooBreezeLatex
{
	background: url("../images/3col-bambooBreeze_latex.jpg") top left no-repeat;
}

a.itemBox.bambooBreezeGel
{
	background: url("../images/3col-bambooBreeze_gel.jpg") top left no-repeat;
}

a.itemBox.naturalComfort
{
	background: url("../images/3col-naturalComfort.jpg") top left no-repeat;
}

a.itemBox.naturalComfortLatex
{
	background: url("../images/3col-naturalComfort_latex.jpg") top left no-repeat;
}

a.itemBox.naturalComfortGel
{
	background: url("../images/3col-naturalComfort_gel.jpg") top left no-repeat;
}

a.itemBox.aloeVera
{
	background: url("../images/3col-aloeVera.jpg") top left no-repeat;
}

a.itemBox.aloeVeraLatex
{
	background: url("../images/3col-aloeVera_latex.jpg") top left no-repeat;
}

a.itemBox.aloeVeraGel
{
	background: url("../images/3col-aloeVera_gel.jpg") top left no-repeat;
}

a.itemBox.bambooRoyale
{
	background: url("../images/3col-bambooRoyale.jpg") top left no-repeat;
}

a.itemBox.bambooRoyaleLatex
{
	background: url("../images/3col-bambooRoyale_latex.jpg") top left no-repeat;
}

a.itemBox.bambooRoyaleGel
{
	background: url("../images/3col-bambooRoyale_gel.jpg") top left no-repeat;
}

a.itemBox.azure
{
	background: url("../images/3col-azure_gel.jpg") top left no-repeat;
}

a.itemBox.sapphire
{
	background: url("../images/3col-sapphire_gel.jpg") top left no-repeat;
}

a.itemBox.cobalt
{
	background: url("../images/3col-cobalt_gel.jpg") top left no-repeat;
}

span.sizeTag
{
	font-size: 0.7em;
	font-weight: bold;
	
	position: absolute;
	right: 9px;
	bottom: 28px;
}
