/**
 * <maanfabriekje.be>
 *
 * Contains all declarations for table elements.
 *
 * @author 			Gerrit Bertier <gerrit@marlon.be>
 * @copyright		Marlon bvba <http://www.marlon.be>
 * @date 			2009-04-01
 * @lastmodified	2009-04-01
 */

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

table {
	border-collapse: collapse;
	width: 100%;
	margin: 20px 0 10px;
}

thead {
	
}

tbody {
	
}

tr {
	
}

tr.alt {
	background-color: #eef6f1;
}

th {
	padding: 3px 4px 15px 10px;
	text-align: left;
	color: #c18785;
	font-size: 1.1667em;
	font-weight: bold;
	text-transform: lowercase;
	border-right:1px solid #C8E8DB;
}

td {
	vertical-align: top;
	border-right: 1px solid #c8e8db;
	text-align: left;
	padding: 3px 8px 4px;
}

td.vheader {
	text-align: left;
}

th.noborder, 
td.noborder {
	border: none !important;
}


/* checkout
---------------------------------------------------------- */

.checkout {
	margin: 20px 0 0 0;
	width: 700px;
	position: relative;
	left: -10px;
}

.checkout th {
	color: #c18785;
	font-size: 1.1667em;
	font-weight: bold;
	text-transform: lowercase;
	text-align: left;
	border: none;
}

.checkout th.first {
	padding-left: 10px;
}

.checkout tr {
	background: transparent url(../img/horizontal-top-stitches.png) no-repeat 10px 100%;
}

.checkout td {
	border: none;
	text-align: left;
	padding: 0;
}

.checkout td.item {
	width: 330px;
}

.checkout th.item {
	width: 275px;
	padding-left: 65px;
}

.checkout .basket-item {
	float: left;
	position: relative;
	width: 330px;
	min-height: 60px;
	height: auto !important;
	height: 60px;
	padding: 0 0 10px 0;
}

.basket-item .meta {
	display: inline;
	float: left;
	margin: 17px 0 0 65px;
}

.basket-item h2 {
	color: #2ea09f;
	font-size: 1em;
	font-weight: normal;
	padding: 0;
	margin: 0;
}

.basket-item .extra-info {
	color: #c38187;
	font-size: .9167em;
}

.basket-item img {
	position: absolute;
	top: 12px;
	left: 0;
}

/* quantity */

.checkout .quantity {
	float: left;
	width: 100px;
}

.quantity input {
	float: left;
	width: 32px;
	margin: 19px 8px 0 0;
	padding: 2px 3px 1px;
	font-size: 1em;
	color: #59afae;
	border: 1px inset #d6d1cb;
}

tr.error .quantity input {
	background-color: #FDF2D0;
	font-weight: bold;
	color: #C87B00;
}

.quantity a.icon {
	float: left;
	width: 21px;
	height: 21px;
	line-height: 21px;
	margin: 19px 0 0 2px;
	text-indent: -999em;
	overflow: hidden;
}

.quantity a.ico-subtract { background-position: 0 -1125px; }
.quantity a.ico-subtract:hover { background-position: -30px -1125px; }
.quantity a.ico-add { background-position: 0 -1150px; }
.quantity a.ico-add:hover { background-position: -30px -1150px; }

.checkout .remove-item {
	width: 30px;
}

/* price & subtotal */

.checkout .price,
.checkout .subtotal {
	text-align: right;
	font-size: 1.1667em;
	vertical-align: middle;
}

.checkout .subtotal {
	padding-right: 10px;
	width: 95px;
}

/* discount row */
.checkout tr.discount {
	background-color: #eef6f1;
}

.checkout tr.transport {
	background-color: #fbf2f2;
}

/* discount error */
table.error tr.errormsg,
table.error tr.last-item {
	background-position: -690px 100%;
}

table.error tr.errormsg {
	background-color: #fdf2d0;
}

tr.errormsg .message {
	color: #c87b00;
	font-weight: bold;
	padding: 8px 0 12px;
}

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

div.total {
	float: right;
	display: inline;
	margin: 0 10px 0 0;
}

div.total strong {
	color: #c18785;
	float: left;
	margin: 0 10px 0 0;
	font-size: 1.1667em;
	line-height: 45px;
	text-transform: lowercase;
}

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

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

/* checkout: overview
---------------------------------------------------------- */

.order-overview table {
	font-size: 1.0909em;
	line-height: 1.5em;
}

.order-overview th.item {
	padding-left: 10px;
}

.order-overview .quantity {
	margin: 17px 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;
}


/* Wishlists overview
---------------------------------------------------------- */

.wishlists table {
	margin: 20px 0 0 0;
	width: 690px;
	position: relative;
	float: left;
	left: -10px;
}

.wishlists tr.hoverable {
	cursor: pointer;
}

.wishlists th {
	color: #c38187;
	font-size: 1.1667em;
	border-right: 1px solid #C8E8D8;
	text-transform: lowercase;
	text-align: left;
}

.wishlists td {
	text-align: left;
	height: 30px;
	line-height: 30px;
	padding-top: 0;
	padding-bottom: 0;
}

.wishlists td,
.wishlists th {
	padding-left: 10px;
}

.wishlists td {
	width: 180px;
}

.wishlists td.link {
	text-align: right;
	padding-right: 10px;
	width: 150px;
}

.wishlists tr.hover {
	background-color: #fdf2d0;
	color:#c87b00;
}
.wishlists tr.hover a {
	color:#c87b00;
	text-decoration: none;
}

/* Wishlists: detail
---------------------------------------------------------- */

.wishlists-detail table {
	width: 690px;
	float: left;
	margin-top: 30px;
}

.wishlists-detail table,
.wishlists-detail tr,
.wishlists-detail th,
.wishlists-detail td {
	border: none;
}

.wishlists-detail tr {
	background: transparent url(../img/horizontal-top-stitches.png) no-repeat 0 100%;
}

.wishlists-detail th {
	color: #c18785;
	font-size: 1.1667em;
	font-weight: bold;
	text-transform: lowercase; 
	text-align: left;
}

.wishlists-detail td {
	text-align: left;
	padding: 0;
}

.wishlists-detail th.price,
.wishlists-detail td.price {
	width: 105px;
	text-align: right;
	padding-left: 0;
	padding-right: 0;
}

.wishlists-detail th.add,
.wishlists-detail td.add {
	width: 105px;
	text-align: center;
	padding: 0;
}

/* Manage wishlist
---------------------------------------------------------- */

.my-wishlist table {
	margin: 20px 0 0 0;
	width: 700px;
	position: relative;
	float: left;
	left: -10px;
	margin-bottom: 30px;
}


.my-wishlist tr {
	background: transparent url(../img/horizontal-top-stitches.png) no-repeat 10px 100%;
}

.my-wishlist th {
	color: #c18785;
	font-size: 1.1667em;
	font-weight: bold;
	text-transform: lowercase;
	text-align: left;
	border: none;
}

.my-wishlist th.first {
	padding-left: 10px;
}

.my-wishlist th.item {
	padding-left: 65px;
	width: 385px;
}

.my-wishlist th.price,
.my-wishlist td.price {
	padding-left: 0;
	padding-right: 0;
	text-align: right;
	width: 105px;
}

.my-wishlist td.price {
	display: inline;
	float: right;
	font-size: 1.1667em;
	padding-top: 20px;
}

.my-wishlist th.add,
.my-wishlist td.add {
	padding: 0;
	text-align: center;
	width: 105px;
}

.my-wishlist td {
	border: none;
	padding: 0; 
}

.my-wishlist td.item {
	text-align: left;
}

.my-wishlist .remove-item {
	width: 30px;
}


/* orders
---------------------------------------------------------- */

.orders td {
	height: 30px;
	line-height: 30px;
}

th.date,
th.ordernr {
	width: 85px;
}

th.state {
	width: 235px;
}

/* ogone
---------------------------------------------------------- */

.ogone table, .ogone tr, .ogone th, .ogone td {
	border: none;
	background: none;
} 

.ogone table {
	width: 375px;
	float: left;
	margin-left: 125px;
}

.ogone table table {
	width: auto;
}

.ogone table.ncoltable1 td.ncoltxtl {
	width: 315px;
	text-align: right;
	padding-right: 5px;
}
.ogone table.ncoltable1 td.ncoltxtr {
	width: 385px;
	padding-left: 5px;
}

.ogone table.ncoltable2 td {
	padding-top: 20px;
}

.ogone td.ncolline2, .ogone td.ncolline3 {
	padding-bottom: 20px;
	background: transparent url(../img/horizontal-top-stitches.png) no-repeat 0 100%;
}

.ogone form {
	width: auto;
}

.ogone table.ncoltable3 {
	width: 500px !important;
	margin: 50px 0;
}
