/********** purchase tables *************/
table.purchase{
	font-size : small;
	width : 90%;
	margin-left: auto;
	margin-right: auto;
}

table.purchase_nb{
	border : none;
	font-size : small;
	width : 80%;
}

td.purchase_head, td.purchase_head_num, td.purchase_head_c{
	margin : 0px;
	padding : 4px;
	font-weight : bold;
	text-align : left;
	border : none;
	color: black;
}

.dispatch_estimate{
	height: 20px;
	background-color: white;
	border: solid 1px #0099CC;
	padding: 1px;
	text-align: left;
}
.dispatch_estimate_bar
{
	height: 20px;
	background-color: green;
	width: 100%;
	
}
.dispatch_estimate_text
{
	text-align: center;
	padding-top: 5px;
	font-size: 0.9em;
}

td.purchase_head_num{
	text-align : right;
}

td.purchase_head_c{
	text-align : center;
}

div.paleRed{
	background-color : #FF6666;
}

tr.purchase_detail{
	background-color : transparent;
	text-align : left;
	font-size: x-small;
}

tr.purchase_detail_0{
	background-color : white;
	vertical-align : middle;
	height: 1.8em;
}

tr.purchase_detail_1{
	background-color : #F0F0F0;
	vertical-align : middle;
	height: 1.8em;
}

tr.purchase_detail_alert{
	background-color : #FFFF66;
	vertical-align : bottom;
}

td.purchase_detail, td.purchase_detail_num, td.purchase_detail_c, td.purchase_detail_r{
	color : Black;
	text-align :left;
	font-size: small;
	padding-left : 4px;
	padding-right : 4px;
}

td.purchase_detail_num, td.purchase_detail_r{
	text-align : right;
}

td.top{
	vertical-align:top;
}

td.purchase_detail_num input{
	font-weight :bold;
	text-align :right;
	vertical-align :top;
}

td.purchase_detail_c{
	text-align : center;
}

td.total{
	text-align : right;
	font-weight :bold;
}
td.subtotal{
	text-align : right;
}
/*******end purchase tables ************/
table.message{
	border : thin solid black;
	font-size : x-small;
	width : 80%;
	color : black;
}
td.c_bot{
	text-align :center;
	vertical-align : bottom;
}
td.c_top{
	text-align :center;
	vertical-align : top;
	padding : 1%
}
td.l_bot{
	text-align : left;
	vertical-align : bottom;
}
td.l_top{
	text-align :left;
	vertical-align : top;
}
td.r_bot{
	text-align : left;
	vertical-align : bottom;
}
td.r_top{
	text-align :left;
	vertical-align : top;
}

/*===========================*/

div.form_value{
	font-size: small;
	padding-top: 0.5em;
	padding-right: 0.5em;
}

div.form_value_num{
	font-size: small;
	padding-top: 0.5em;
	padding-right: 0.5em;
	width: 12em;
	text-align: right;
	float: left;
}

div.form_value_num hr{
	padding: 0;
	margin: 0;
}

div.purchase_right{
	margin-left: 2em;
}

#next-promotion
{
	float: right;
	margin: 0 50px 0 5px;
	background-color: #ECF7F9;
	width: 25%;
	font-size: 0.9em;
	text-align: center;
	padding: 5px;
}