@import url("prices.css");


/* Photo sidebar */
/* ------------- */

#product-photo
{
	float: right;
	width: 290px;
	margin: 20px 0 20px 20px;
	background-color: white;
	text-align: center;
}

#product-lightbox
{
    margin: 0.5em 0;
    padding: 0;
    list-style: none;
    list-style-image: none;
}
#product-lightbox li { display: inline; }

#product-lightbox img,
#product-photo-main img
{
    padding: 8px;
    background-color: white;
    border: 1px solid white;
}
#product-lightbox a:hover img,
#product-photo-main a:hover img
{
    /* Cheap attempt to match lightbox appearance */
    border-color: rgb(187, 187, 187);
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 4px;
}

#manufacturer-logo { margin-top: 1em; }


#manufacturer-details h3 img        { max-width: 100%; }
* html #manufacturer-details h3 img { width: 100%; }


/* Price and ordering box */
/* ---------------------- */

/* Box */

#product-purchase
{
	border: 2px solid #c2d3c3;
	background-color: #f6f6f6;
	color: #24a53c;
	
	clear: both;

	padding: 8px 18px;
	margin: 3em 0;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	min-height: 1px;
}
#product-purchase:after
{
    clear: both;
    display: block;
    content: " ";
}


/* Price */

#product-price
{
	float: left;
	width: 200px;
}
#product-price .current-price	{ font-size: 2.3em; line-height: 1; }
#product-price del				{ font-size: 1.25em; margin-left: 5px; text-decoration: none; }


/* Order form */

#product-order
{
	float: right;
	width: 270px;
}
#product-order p
{
    margin: 0;
    clear: both;
    line-height: 2;	/* KLUDGE: helps line labels up with the inputs and selects alongside them */
}
#product-order *	{ vertical-align: text-bottom; }
#product-order label
{
	float: left;
	width: 110px;
	margin-left: -120px;
	
	font-weight: bold;
	text-transform: uppercase;
	text-align: right;
}
#product-order input,
#product-order select	{ float: left; max-width: 95%; }

/* When there's a size-chart link, fix the width of form elements to avoid wrapping it */
#product-order.with-size-chart select { width: 180px; margin-right: 1em; }
#product-order #id_quantity			  { width: 40px; }

/* When there's only a single field in the form, we collapse the labels into the main form instead */
#product-order.single-product label	{ margin-left: 0; margin-right: 0.5em; width: auto; }

#product-order .add-to-cart			{ clear: none; text-align: right; }
#product-order .add-to-cart input	{ float: none; }

/* Visually center the not-available warning */
#product-order .not-available	{ padding: 10px; }


/* Model property list */
/* ------------------- */

#tech-specs table
{
	color: #468d47;
	border-collapse: collapse;
	border-spacing: 0;
	border-bottom: 1px solid #c2d3c3;
    margin: 20px 0;
}

#tech-specs,
#product-tag-cloud  { clear: none; }

#tech-specs table,
#product-tag-cloud  { width: 290px; }

#tech-specs table   { float: left; }
#product-tag-cloud  { float: right; }

#tech-specs th,
#tech-specs td
{
    vertical-align: baseline;
    border-top: 1px solid #c2d3c3;
    padding: 3px 10px;
}
#tech-specs th	{ background-color: #f6f6f6; width: 120px; }

#product-tag-cloud p
{
    background-color: #f6f6f6;
	padding: 10px;
	margin: 20px 0;
}

/* Availablity chart */
/* ----------------- */
.availability {
    border-top:1px solid #C2D3C3;
    width:100%;
}
.availability tbody tr:hover { -moz-opacity:.50; filter:alpha(opacity=50); opacity:.50; }
.availability th,
.availability td {
    border-bottom:1px solid #C2D3C3;
    padding: 3px;
    text-align:center;
}
.availability th,
.availability td.col1 { background:#F6F6F6; }
.availability td.col1 { min-width:60px; text-align:left; }
.model-availability-key     { color: #999; text-align: center; font-size: 11px; margin: 1em 0; }
.model-availability-key h4  { margin: 0; display: inline; }
.model-availability-key ul  { display: inline; margin: 0; padding: 0; list-style: none; list-style-image: none; }
.model-availability-key li  { display: inline; margin-left: 0.5em; white-space: nowrap; }

td.available, td.on_request, td.unavailable { background: url("../img/availability.png") no-repeat 50% 4px; color: #ac161c; }

td.available, td.on_request, td.unavailable {
    overflow:hidden;
    text-indent:-9999px;
}

td.available      { background-position: 50% 4px; }
td.on_request     { background-position: 50% -21px; }
td.unavailable    { background-position: 50% -46px; }

td.available.web:hover      { background-position: 50% -75px; }
td.on_request.web:hover     { background-position: 50% -100px; }

.model-availability {
    background: url("../img/availability.png") 3px 50% no-repeat;
    padding-left: 20px;
}
.model-availability.available      { background-position: 0 3px; }
.model-availability.on_request     { background-position: 0 -23px; }
.model-availability.unavailable    { background-position: 0 -47px; }


.model-availability-key .available      { color: #5cab15; }
.model-availability-key .on_request     { color: #cc8800; }
.model-availability-key .unavailable    { color: #79776b; }

#product { cursor:pointer; }

#product {
    background:#f6f6f6;
    border:1px solid #c2d3c3;
    border-right:none;
    display:none;
    font-size:11px;
    font-weight:bold;
    padding:3px 5px;
    position:absolute;
    
    -moz-box-shadow: 0 0 10px #888;
    -webkit-box-shadow: 0 0 10px #888;
    box-shadow: 0 0 10px #888;
}
#product .notch {
    position: absolute;
    top: 0px;
    right: -10px;
    margin: 0;
    border-top: 11px solid transparent;
    border-left: 11px solid #f6f6f6;
    border-right: 0;
    border-bottom: 11px solid transparent;
    padding: 0;
    width: 0;
    height: 0;
    /* ie6 height fix */
    font-size: 0;
    line-height: 0;
    /* ie6 transparent fix */
    _border-right-color: pink;
    _border-left-color: pink;
    _filter: chroma(color=pink);    
}
#product .border-notch { border-left-color: #c2d3c3; right: -11px; }


/* Sharing options */
/* --------------- */

#product-sharing
{
    white-space: nowrap;
    margin: 10px 0 10px;
}

/* Imitates the appearance of the Facebook Like button */
#product-sharing .tell-a-friend
{
    padding: 2px 6px 2px 22px;
    margin-right: 1px;
    display: inline-block;
    height: 14px;
    line-height: 14px;
    color: #468d47;
    border: 1px solid #c2d3c3;
    background: #e6e6e6 url("../img/sharing/tell_a_friend.png") 4px 50% no-repeat;
    
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-decoration: none;
    vertical-align: top;
}

#product-sharing .tell-a-friend:hover
{
    border-color: #468d47;
}
