/* Cart table */

div.topleft {
	color: #c2c2c2;
	font-weight: bold;
	background-image: url(../images/cart_head_corners.png);
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: 0 0;
	vertical-align: middle;
	width: 465px;
	height: 24px;
	float: left;
	padding-top: 2px;
	padding-left: 10px;
	display: block;
}

div.topright {
	background-image: url(../images/cart_head_corners.png);
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: right 0;
	width: 40px;
	height: 26px;
	float: left;
	min-height: 26px;
	max-height: 26px;
	display: block;
}

div.contactunderbuttons {
	text-align: left;
	margin: 10px 10px 10px 0;
	padding-right: 10px;
	padding-left: 10px;
}

div.contactunderbuttons .back {
	float: left;
	margin-right: 10px;
}

div.contactunderbuttons .finish {
	float: right;
	margin-top: -2px;
	margin-bottom: 20px;
	display: block;
}

div.contactunderbuttons .backbtn {
	margin-right: 20px;
	padding-top: 2px;
}

div.contactunderbuttons span.small {
	position: relative;
	top: 14px;
}

/* Addresses table */

table.addr {
	width: 515px;
	margin: 0 10px 5px 0;
	display: table;
	border-collapse: collapse;
}

table.addr td {
	background-color: #fafafe;
	color: black;
	line-height: 120%;
	text-align: left;
	vertical-align: middle;
	width: 425px;
	margin: 0;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 3px;
}

table.addr tr.header td {
	background-color: #2a2828;
	color: #c2c2c2;
	font-size: 12px;
	font-weight: bold;
	height: 26px;
	margin: 0;
	padding: 0 3px 0 10px;
}

table.addr tr.divider td {
	background-color: #2a2828;
	color: #c2c2c2;
	font-size: 2px;
	height: 2px;
	padding: 0 3px 0 10px;
}

table.addr tr.footer td.titles, table.addr tr td.titles, table.addr tr {
	color: black;
	font-size: 11px;
	line-height: 120%;
	text-align: right;
	width: 90px;
	padding-right: 0;
}

table.addr tr td.titles p {
	text-align: right;
	margin-right: 0;
	padding-right: 0;
	font-weight: bold;
}

table.addr tr.footer td {
	line-height: 100%;
	background: url(../images/cart_head_corners.png) no-repeat -20px -30px;
	height: 26px;
	margin: 0;
	padding: 0 3px;
}

table.addr tr.footer td.titles {
	background-position: left -30px;
}

table.addr tr.footer td.right {
	background-position: right -30px;
}

table.addr tr.top td {
	padding-top: 10px;
	border-top: 1px solid black;
}

table.addr tr.bottom td {
	vertical-align: top;
	height: 0;
	margin: 0;
	padding: 15px 0 10px;
	border-bottom: 1px solid black;
}

table.addr tr.bottompad td {
	padding-bottom: 15px;
}

table.addr tr.noheight td {
	font-size: 11px;
	line-height: 100%;
	height: 0;
}

table.addr tr.noheight td p {
	margin: 0 0 0 10px;
}

table.addr input, table.addr textarea {
	font-size: 12px;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", geneva, verdana, sans-serif;
	line-height: 100%;
	background-color: #f2f2f2;
	vertical-align: middle;
	margin-left: 10px;
	padding: 3px 2px 2px;
	border-color: gray silver silver gray;
	border-style: solid;
	border-width: 1px;
}

table.addr input:focus, 
table.addr span.badtext input:focus {
	background-color: #D4DEE6;
}

table.addr span.badtext textarea.contactmessage:focus {
	background-color: #f2f2f2;
}

table.addr span.badtext input,
table.addr span.badtext textarea.contactmessage {
	background-color: #F8e1e4;
}

table.addr select {
	line-height: 100%;
	vertical-align: middle;
	margin-right: 0;
	margin-left: 10px;
	padding: 0;
}

table.addr input.image {
	border-style: none;
}

table.addr input.charremain {
	color: gray;
	font-size: 10px;
	line-height: 100%;
	background-color: #d5d5d5;
	text-align: center;
	width: 28px;
	margin: 0 3px 0 0;
	border-style: none;
}

table.addr p, table.addr pre.messagetext {
	font-size: 12px;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", geneva, verdana, sans-serif;
	margin-left: 10px;
	text-align: left;
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 4px;
	padding-left: 0;
	padding-right: 0;
}

table.addr pre.messagetext{
	line-height: 150%;
	font-size: 14px;
	padding-top: 10px;
	padding-bottom: 6px;
	width: 495px;
	white-space: pre; /* CSS2 */
	white-space: -moz-pre-wrap; /* Mozilla */
	white-space: -hp-pre-wrap; /* HP printers */
	white-space: -o-pre-wrap; /* Opera 7 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}


/* Misc elements for above*/

.badaddr {
	font-weight: bold;
	line-height: 150%;
	background-image: url(../images/bullet_noenter_sm.png);
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: 0 center;
	text-align: right;
	padding-left: 16px;
}

img.phone {
	vertical-align: middle;
}

span.dupemarker {
	color: red;
	font-weight: 900;
	margin-left: -8px;
	float: left;
}

span.dupemarker2 {
	color: red;
	font-weight: 900;
	margin-right: 8px;
	margin-left: 3px;
}

p.addrerror_msg {
	color: #282828;
	font-weight: bold;
	line-height: 130%;
	background-image: url(../images/bullet_noenter_sm2.png);
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: 0 center;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-left: 20px;
	padding-left: 20px;
}

ul.addrerror_msg {
	color: #282828;
	line-height: 160%;
	margin-top: 2px;
	margin-left: 16px;
}

select.contacttoaddress {
	width: 258px;
	margin-left: 10px;
}

input.contactname {
	width: 250px;
}

input.contactemail {
	width: 250px;
	margin-right: 15px;
}

input.contactsubject {
	width: 383px;
}

table.addr textarea.contactmessage {
	width: 383px;
	line-height: 150%;
}

p.badaddrto {
	color: black;
	font-size: 11px;
	font-weight: bold;
	line-height: 100%;
	vertical-align: middle;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 49px;
	background-image: url(../images/bullet_noenter_sm2.png);
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: 0 center;
	padding-left: 16px;
}

p.toheading {
	color: black;
	font-size: 11px;
	font-weight: bold;
	line-height: 100%;
	vertical-align: middle;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 65px;
}