
/*	Formwrapper class is applied to a form to make it mobile-friendly 
	It automatically styles text boxes (no need to apply bg-textbox) and fits them to the full width (though this can be overridden with inline styles).
	Also handles keyed errors automatically
*/

.mobform.narrow {
	max-width: 300px
}

.mobform input[type="text"], .mobform input[type="password"], .mobform textarea, .mobform select {
	border: 1px solid #ccc;
	padding: 2px 4px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.2em;
	width: 100%;
}
.mobform input[type="text"].error, .mobform input[type="password"].error, .mobform textarea.error, .mobform select.error {
	border-color: #CE7922;
}
.mobform .keyed-error {
	font-size: 0.8em;
	color: #CE7922;
}
.mobform .txt-box {
	color: #999;
	margin-right: 10px;
	font-size: 0.85em;
	padding-bottom: 6px;
}
.mobform .black {
	color: #CE7922;
	padding-top: 10px;
}
.mobform .chk-box {
	text-indent: -24px;
	padding-left: 24px;
	padding-bottom: 6px;
	color: inherit;
	font-size: 0.85em;
}
.mobform .btn-box {
	padding: 10px 0;
}



.o-grp {
	display:block;
	max-width: 522px;
	margin: 0 0 10px 0;
}
.o-lab {
	width: 180px;
	color: #999;
	font-size: 0.8em;
}
.o-box {
	margin: 0 0 4px 0;
}
.o-box .bg-textbox {
	width: 100%;
}
.o-totals {
	width: 100%;
	text-align: right;
}
.o-totals:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

.o-totals table {
	border-collapse: collapse;
	border-spacing: 0;
	float: right;
}
.o-totals td {
	font-size: 0.85em;
	font-weight: bold;
	text-align: right;
	padding: 2px 2px 2px 10px;
}

.o-discounts {
	border: 1px solid #ccc;
	padding: 10px;
	margin-bottom: 10px;
}
.o-discounts table {
	border-collapse: collapse;
	border-spacing: 0;
}
.o-discounts td {
	font-size: 0.85em;
	padding: 2px 2px 2px 10px;
}
.o-discounts td.right {
	text-align: right;
}
.o-discounts .delete-discount {
	width: 40px;
	background-image: url(/images/css/order-action-sprite.png);
	background-position: 10px -2px;
}
.o-discounts .delete-discount:hover {
	background-position: 10px -92px;
	cursor: pointer;
}


.o-alert {
	color: #CE7922;
	font-size: 0.8em;
}
.o-panel {
	border: 1px solid #eee;
	padding: 10px;
	background-color: #fafafa;
	width: auto;
	margin-bottom: 10px;
	max-width: 522px;
}
.o-panel .o-grp {
	max-width: 500px;
}
.o-alertpanel {
	color: #CE7922;
	font-size: 0.8em;
	margin: 10px 0;
	background-color: #FCF3E4;
	padding: 10px;
}

.o-panel.full {
	max-width: 100%;
}
.o-panel.full .o-grp {
	max-width: 100%;
}
.sum-panel {
	max-width: 522px;
	padding: 10px;
}
.sum-panel .sum-box {
	float: right;
}
@media screen and (min-width: 600px) {
	
	.sum-grp:after {
		visibility: hidden;
		display: block;
		font-size: 0;
		content: " ";
		clear: both;
		height: 0;
	}

	.sum-panel .sum-lab {
		float: left;
	}
}
