/*Name:Order styles */
/* ----------------------------------------------------------------------
	ORDER
	Modify the content div to accomodate the forms.
	---------------------------------------------------------------------- */
	
/* ----------------------------------------------------------------------
	Overall styling for the sweetshop container:
	---------------------------------------------------------------------- */


/* -------------------------
	ORDER PROGRESS LIST:
   -------------------------*/
#orderProgress {
	float:left;
	clear:both;	
	margin:0 0 0.5em 0 !important;
	padding:0 !important;
	display:inline; /* A hack to stop margin doubling in IE */
	font-family:Georgia, "Times New Roman", Times, serif;
	text-transform:capitalize;
	font-size:90%;
}
#orderProgress li {
	float:left;
	list-style-type:none;
	margin-right:0.5em;
	padding:0.4em 0.8em 0.4em 0.4em;
	background-color:#EEEEEE;
	background-repeat:repeat-x;
	background-position:top left;
}
#orderProgress li a {
	float:left;
	padding-left:18px;
	text-decoration:none !important;
	color:#666666 !important;
	cursor:default;
	background-repeat:no-repeat;
	background-position:center left;	
	background-image:url(../ui/icon_orderProgress_incomplete.gif);
}
#orderProgress li.current {
     background: #A1714C url(../ui/bkg_progress_current.gif) repeat-x top left;
}
#orderProgress li.current a {
	color:#FFFFFF !important;
	background-image:url(../ui/icon_orderProgress_incomplete.gif);
}
#orderProgress li.complete{
	background-image:url(../ui/bkg_progress_generic.gif);
	background-color: #D9D9D9;
}
#orderProgress li.complete a{
	color:#333333 !important;
	background-image:url(../ui/icon_orderProgress_tick.gif);
	cursor:pointer;
}


/* -------------------------
	Table styling
   -------------------------*/



#sweetShop {
	margin:0 !important;
	width:auto;
	padding:0 !important;

}	
body > #sweetShop {
	float:left;
}
#sweetShop h1,
#sweetShop h2,
#sweetShop h3,
#sweetShop h4 {	
	font-family:Georgia, "Times New Roman", Times, serif;

	font-weight:normal !important;
}
#sweetShop ol.formStructure {
	margin:0;
	padding:0;
	clear:both;
}
#sweetShop ol.formStructure>li{
	list-style:none;
	clear:both;
}
#sweetShop label {
	font-size:95%;
	font-weight:normal;
	_padding-top:0.4em;
}

#sweetShop th {
	text-align:left;
}

#sweetShop thead th {
	color:#474636;
	/*font-family:Arial, Helvetica, sans-serif;*/
	font-weight:normal;
	font-size: 80%;
	background-color:#E8E9D8;
	background-image:url(../ui/bkg_tableHead.jpg);
	background-position:bottom;
	background-repeat:repeat-x;
}
#sweetShop tbody th {
	color:#474636;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight:normal;
	font-size: 110%;
	text-transform:uppercase !important;
	letter-spacing:-0.015em;
}

/* -------------------------
	Table body - product listings:
   -------------------------*/

#sweetShop tbody td {
	font-size:80%;
	font-weight:normal;
}

#sweetShop tbody td span {
	padding:0 0 0 0.25em;
	font-size:95%;
}

#sweetShop #content {
	background-image:none;
	padding-bottom:0;
}
#sweetShop form {
	/*margin:0 2em;*/
}
#sweetShop h2 {
	border-bottom:1px solid #cccccc;
	clear:both;
}
#sweetShop dl {
	width:95%;
	font-size:100%;
	float:left;
	clear:both;
}
#sweetShop dt, 
#sweetShop dd {
	float:left;
	margin-bottom:0.5em;
}
#sweetShop dt {
	width:30%;
	text-align:right;
	padding-right:1em;
	clear:left;
}
#sweetShop dd {
	width:58%;
	clear:right;
}

#sweetShop textarea{
	/*font-family:Arial, "Lucida Sans", Verdana, Helvetica, sans-serif;*/
	font-family: inherit;
	font-size:90%;
	width:18em;
}
#sweetShop fieldset {
	border-top: 1px solid #CCCCCC;
	clear:both;
	padding:0!important;
	width:90%!important;
}
#sweetShop fieldset p {
	margin: 0.5em 10px;
}
#sweetShop legend{
	padding:0;
	margin-bottom:0.5em !important;
	margin-left:0!important;
	width:auto;
}

#sweetShop .option {
	background-color:#FFFFFF;
	background-image:none;
	margin-top:1.6em;
	margin-bottom:0.3em;
}
#sweetShop .shippingLabel {
	width:15em;
}

#sweetShop button{
	background-image:url(../ui/bkg_button.gif);
	background-repeat:repeat-x;
	background-color:#AC693D;
}

/* ----------------------------------------------------------------------
	SELECTION TABLE
	Some slightly complex layouts to style the table used for selection.
	We need to set borders, widths and colours. It also involves a 
	few background images, say in the table headers. 
	----------------------------------------------------------------------*/
#productSelection {
	clear:both;
	width:100%;
}
#productSelection th,
#productSelection td {
	padding:0.5em 5px;
}
/* HEADING STYLES */
#productSelection th {
	border-bottom:1px solid #999999;
}

/* ACTUAL CONTENT */
#productSelection td {
	/*font-family:Arial, Helvetica, sans-serif;*/
	color:#373737;
	border-bottom:1px solid #dddddd;
}
#productSelection .quantity {
	width:2.5em;
}
#productSelection .total {
	width:3em;
	text-align:right;
}
#productSelection td label {
	width:auto;
	margin-bottom: 0;
	height: auto !important;
	text-align:left;
	font-weight:bold;
	margin-top:0;
}
#productSelection input {
	margin:0 !important;
	width:2em;
}
#productSelection .pricePerDozen {
	width:6em;
}
/* Highlighted rows */
/* Learn to spell before codding */
#productSelection .highlight {
	background-color:#F4F2CF !important;
}

/* ----------------------------------------------------------------------
	BOX
	Simple padded box we're using to put things like the total into
	---------------------------------------------------------------------- */
#controls {
	border:1px solid #999999;
	padding:1.2em 2% 0 2%;
	width/**/:96%; /* Hide from IE 5 */
	float:left;
	margin-bottom:1.2em;
	margin-top:0.5em;
}

/* ----------------------------------------------------------------------
	TOTALS
	A styled definition list for the name/value pairs. 
	Positioning of the flash file.
	---------------------------------------------------------------------- */
	
#totals .orderDisplay {
	float:left;
}
#totals {
	margin-top:1em;
	padding-bottom:0.6em;
}
#totals dl {
	margin:0.9em 0 0 0 !important;
	float:right;
	width:40%;
}

#totals dt, #totals dd {
	border-bottom:1px solid #DDDDDD;
	padding:0;
	margin-left:0;
	margin-right:0;

}
#totals dt {
	clear:left;
	font-weight:bold;
	color:#666666;
	width:70%;
	overflow:hidden;
}
#totals dd {
	float:right;
	clear:right;
	text-align:right;
	width:30%;
}
/* THE TOTAL PRICE */
#totals dt.price {
	text-align:right;
}
/* flash box */
#totals #cartons {
	width:240px;
	float:left;
	clear:none!important;
}

/* ----------------------------------------------------------------------
	NEXT STEP
	Controls for moving through and finalising the order.
	---------------------------------------------------------------------- */
#controls {
	width:96%;
	border:0;
	background-color:#E8E9D8;
	padding:1em 2%;
	
}
#controls p {
	margin-top:0;
	font-size:80%;
	width:75%;
	float:left;
	color:#2C2C2C;
}
#controls button {
	float:right;
	margin-top:0.2em;
	margin-left:0.5em;
	margin-right:0;
	padding:0.25em;
	width:6em;
	background-image:url(../ui/bkg_button.gif);
	background-repeat:repeat-x;
	background-color:#AC693D;
}

/* ----------------------------------------------------------------------
	SHIPPING DESTINATION
	Styling the radio buttons on the shipping page so they sit correctly.
	---------------------------------------------------------------------- 
#freight ul {
	float:left;
	width:100%;
}

#freight li {
	margin:0;
	width:25%;
	float:left !important;
	border:1px solid purple;
}

#freight li input {
	float:right;
}

#freight label {
	clear:none;
	float:left;
	display:inline;
	voice-family: "\"}\""; 
	voice-family:inherit;
	width:42%;
}
#freight .option {
	clear:none;
	float:left;
	margin-right:0 !important;
}
#freight input {
	display:inline;
	padding-bottom:0!important;
	margin:0!important;
}
#freight label strong {
	color:#666666;
	font-weight:normal;
}

*/

/* ----------------------------------------------------------------------
	CONFIRMATION PAGE
	Some small layout tweaks for the confirmation page
	---------------------------------------------------------------------- */
#listSub label,
#orderUpdate .box label {
	width:auto;
	clear:none;
	padding:0 0 0 0.5em;
	text-align:left;
}
#orderUpdate .box label {
	width:370px;
}
#orderUpdate .box {
	width:100%;
	float:left;
}
#orderUpdate {
	padding:1.2em 4% 0 4%;
	float:left;
}
#orderUpdate h3 {
	margin-bottom:0.8em;
}
#orderUpdate button {
	float:right;
}

/* ----------------------------------------------------------------------
	ERROR DISPLAY
	Simple little DIV that we are using to display some inline errors.
	---------------------------------------------------------------------- */
.error {
	z-index:6;
	line-height:1em;
	position:absolute;
	background-color:#660000;
	color:#ffffff;
	padding:0.5em 0.7em;
	width:12em;
	/*font-family:Verdana, Helvetica, Arial, sans-serif;*/
	border:1px solid #330000;
}

/* Server side validation style */
.message {
	background-color:#FFFAA8;
	background-repeat:no-repeat;
	background-position: 8px 6px;
	padding:10px 4px 10px 48px;
	border:1px solid #F7DC7B;
	margin-bottom: 0.5em;
	clear:both;
}

.warning {
	background-image:url(../ui/icon_userMessage_warning.gif);
}

.formValidation {
	background-color:#FFFAA8;
	background-image:url(../images/icon_error.gif);
	background-repeat:no-repeat;
	background-position: 8px 8px;
	padding:10px 4px 0px 48px;
	border:1px solid #F7DC7B;
	margin-bottom: 0.5em;
}
.he-required {border-color:#CD8633!important;}
.attention {border-color:red !important; }


/* ----------------------------------------------------------------------
	CONFIRMATION PAGE:
	Some tweaks for the disclaimer checkbox &c
	---------------------------------------------------------------------- */

#confirm p,
#confirm dl,
#confirm td,
#confirm tfoot th {
	color:#252525;
}

#confirm .block p {
	padding-left:2em;
	margin-bottom:0!important;
}
#confirm h3 {
	border-bottom:1px solid #cccccc;
	margin:1em 0 0.5em 0;
	padding-bottom:0.3em;
	float:left;
	width:100%;
	clear:both;
}
#confirm h4 {
	width:100%;
	clear:both;
}
#confirm dl {
	margin-top:0;
	width:100%;
}
#confirm dd,
#confirm dt {
	font-weight:normal !important;
	margin-bottom:0.2em!important;
}
#confirm dd {
	font-style:italic;
}
#confirm .block dt {
	width:20%;
	margin-right:0;
	padding-right:0;
}
#confirm .block dd {
	margin-left:1em;
	width:75%;
	float:right;
	clear:right!important;
}
#confirm .block {
	border:1px solid #cccccc;
	background-color:#efefef;
	float:left;
	padding:0.8em 2%;
	width:96%;
}
#confirm .block div {
	float:left;
	width:100%;
}

#confirm .block h4 {
	border-bottom:1px solid #cccccc;
}

/* THE TABLE */
#confirm table {
	width:100%;
	clear:both;
}
#confirm th,
#confirm td {
	padding:0.4em 0.6em;
	border-bottom:1px solid #cccccc;
}
#confirm thead th {
	font-weight:bold;
	background-color:#DDB770;
}
#confirm table .total {
	text-align:right;
}
#confirm tfoot tr,
#confirm tfoot th {
	font-weight:normal;
	text-align:right;
}
#confirm tfoot tr.total {	
	font-size:130%;
	padding:0.3em 0 !important;
}

/* -------------------------
	TRADE CUSTOMER LOGIN:
   -------------------------*/
   
#tradeLogin {
	clear:both;
	width:50%;
}
   
   
