/**
 * <Poncha.be>
 *
 * Contains all declarations for table elements.
 *
 * @author 			Davy De Pauw <davy@marlon.be>
 * @copyright		Marlon bvba <http://www.marlon.be>
 * @date 			2009-04-01
 * @lastmodified	2009-04-01
 */

/* redefine xhtml selectors
---------------------------------------------------------- */

table {
	border-collapse: collapse;
}

thead {
	
}

tbody {
	
}

tr {
	
}

th {
	padding: 7px 10px;
	text-align: left;
}

td {
	padding: 0 10px;
}

/* basket
---------------------------------------------------------- */

table.wide { width: 920px; }

.basket {
}

.basket th {
	font-size: 1.17em !important;
	font-weight: normal;
	border-right: 1px solid #c5dbe7;
	background: #dff3fc;
}

.basket td {
	border-right: 1px solid #e2e9f0;
	border-bottom: 1px solid #e2e9f0;
}

.basket .last { border-right: none; }

/* basket -> overview
---------------------------------------------------------- */

.col-overview .overview {
	position: relative;
	left: -10px;
}

.col-overview .basket { width: 550px; }

.overview .basket td {
	padding: 5px 10px;
}

.overview .basket a { font-weight: bold; }

.overview td.quantity {
	font-weight: bold;
	font-size: 1.17em;
}

.overview .basket .quantity { 
	width: 30px;
	text-align: right; 
}

/* basket -> product item
---------------------------------------------------------- */

.basket .item {
	position: relative;
	width: 230px;
	min-height: 40px;
	height: auto !important;
	height: 40px;
	padding: 10px 10px 10px 110px;
}

.basket .item h2 {
	font-size: 1em;
}

.basket .item h2 a {
	color: #e2007a;
}

.basket .item img {
	position: absolute;
	top: 6px;
	left: 40px;
}

.basket a { text-decoration: none; }
.basket a:hover { text-decoration: underline; }

.basket a.icon {
	float: left;
	padding: 0;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-indent: -999em;
}

.basket a.ico-view {
	position: absolute;
	top: 17px;
	right: 0;
}

.basket a.ico-delete {
	position: absolute;
	top: 17px;
	left: 0;
}

.basket .meta {
	margin-right: 18px;
}

/* basket -> personalisation
---------------------------------------------------------- */

.basket .personalisation {
	position: relative;
	width: 220px;
	min-height: 40px;
}

.basket .personalisation strong {
	display: block;
}

.basket .ico-edit {
	position: absolute;
	top: 7px;
	right: 0;
}

/* basket -> prices and quantities
---------------------------------------------------------- */

.basket .amount {
	font-size: 1.17em;
	text-align: right;
	width: 75px;
}

.basket .subtotal {
	font-size: 1.17em;
	text-align: right;
	width: 100px;
}

.basket .quantity {
	width: 82px;
}

.basket .quantity input {
	float: left;
	width: 28px;
	margin: 0 10px 0 0;
	padding: 3px 8px;
	font-size: 1.17em;
	font-weight: bold;
	text-align: right;
	color: #5d7a94;
	border: 1px inset #c3c3c3;
}

/* basket -> total
---------------------------------------------------------- */

div.total {
	float: right;
	margin: 0 0 0 0;
}

div.total strong {
	float: left;
	margin: 0 10px 0 0;
	font-size: 1.17em;
	line-height: 45px;
	color: #6589a5;
}

div.total .amount {
	float: left;
	font-size: 1.83em;
	font-weight: bold;
	text-align: right;
	color: #fff;
	line-height: 35px;
	padding: 0 10px 0 0;
	background: url(../img/sprite_buttons.png) no-repeat 100% -400px;
}

div.total .amount span {
	float: left;
	padding: 0 0 0 20px;
	width: 90px;
	background: url(../img/sprite_buttons.png) no-repeat 0 -435px;
}

/* basket -> discount
---------------------------------------------------------- */

.basket .discount td {
	padding: 5px 10px;
	border-right: none;
	border-bottom: 1px solid #a3b8ca;
	background: #f7f7f7;
}

fieldset.discount {
	float: left;
	padding: 10px;
	width: 705px;
}

fieldset.discount p {
	float: left;
	margin: 0 20px 0 0;
	padding: 2px 0;
	width: 405px;
}

fieldset.discount input {
	float: left;
	margin: 0 10px 0 0;
}

/* basket -> shipping
---------------------------------------------------------- */

.basket .shipping td {
	padding: 5px 10px;
	border-right: none;
	border-bottom: 1px solid #7396b5;
	background: #dff3fc;
}

/* basket -> agreement
---------------------------------------------------------- */

fieldset.agreement {
	float: left;
	display: inline;
	margin: 10px 0 0 10px;
}

/* content table
---------------------------------------------------------- */

.content table {
	margin: 0 0 25px 0;
	width: 100%;
}

.content th {
	padding: 4px 10px;
	font-weight: bold;
	text-align: left;
	color: #fff;
	border-left: 1px solid #cdecfa;
	background: #6c91b1;
}

.content td {
	padding: 5px 10px;
	border-left: 1px solid #cdecfa;
}

.content th.first,
.content td.first { border: none; }

.content .even td { background: #e6f5fc; }