.order-grid {
	border-spacing: 0;
	border-collapse: collapse;
	margin: 0 0 10px 1px;
}
.order-grid td, .order-grid th {
	padding: 3px 6px;
	vertical-align: middle;
	text-align: left;
	font-size: 0.85em;
	/*line-height: 1.2em;*/
	line-height: 30px;
	height: 36px !important;
	overflow: hidden;
}
.order-grid .forex {
	padding: 3px 0;
}
.order-grid.small td, .order-grid.small th {
	/*font-size: 0.85em;*/
	line-height: 1em;
	padding: 3px;
}
.order-grid tr.summary td {
	line-height: 22px;
	height: 28px !important;
}
.order-grid th {
	font-weight: bold;
	text-align: left;
}

.order-grid .center {text-align: center}
.order-grid .right  {text-align: right}
.order-grid .bold   {font-weight: bold}

.order-grid .img {
	font-size: 0;
	height: 30px;
	width: 30px;
	
	position: relative;
	overflow: hidden;
}
.order-grid .img img {position: absolute}



.order-grid .del {
	background-image: url(/images/css/order-action-sprite.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	width: 24px;
	height: 24px;
	border-radius: 2px;
}
.order-grid .deleted .del {
	background-position: 0 -60px;
}
.order-grid .del:hover {
	background-color: #970D76;
	background-position: 0 -30px;
}



.order-grid tr.lineover {border-top: solid 1px #ccc;}
.order-grid tr.lineunder {border-bottom: solid 1px #ccc;}

.order-grid .deleted {color: #ccc}
.order-grid .deleted .img, .order-grid tr.deleted input, .order-grid tr.deleted .ui-spinner-button {
	opacity: 0.3;
}


.order-grid tr.bold td, .order-grid td.bold {
	font-weight: bold;
}

.order-grid tr.selector:hover td {
	background-color: #ebedf3;
	cursor: pointer;
}
.order-grid tr.selector a {
	color: inherit;
}

.order-grid tr.total td {
	/*padding: 3px 10px;*/
	line-height: 22px;
	height: auto !important;
}

.order-grid td.panel {
	background-color: #eaeaea;
	border: 1px solid #ccc;
	font-size: 1em;
	line-height: 1.1em;
	padding: 10px;
}
.order-grid td.panel .small {
	font-size: 0.8em;
	line-height: 1.1em;
}
.order-grid tr.spacer td {
	height: 10px !important;
	overflow: hidden;
	line-height: 10px;
}


.af-qty {
	width: 40px;
	text-align: right;
}

.af-fqicon {
	background-image: url(/images/css/fq-icon.png);
	background-repeat: no-repeat;
	padding-left: 32px;
	height: 30px;
	line-height: 30px;
	margin-bottom: 10px;
}



.order-grid td.qtycell {
	line-height: 1.2em;	/* ensure spinner buttons remain properly vertical-aligned */
}



.other-currency {
	/*font-size: 0.8em;*/
	font-weight: normal;
}
#currency-select {
	display: none;
	margin-bottom: 10px;
}


.ui-spinner {
	position: relative;
	display: inline-block;
	overflow: hidden;
	padding: 0;
	vertical-align: middle;
	/*height: 25px !important;	/* force to matching ht for buttons */
}
.ui-spinner-input {
	vertical-align: middle;
	margin-right: 20px;
}
.ui-spinner-button {
	position: absolute;
	right: 0;
	width: 20px;
	height: 13px;
	height: 50%;
	font-size: .5em;
	padding: 0;
	margin: 0;
	display: block;
	overflow: hidden;
	background-color: #eee;
	border-width: 1px;
	border-color: #ccc;
	border-style: none;
	text-indent: -20000px;
	background-image: url(/images/css/spinner-sprite.png);
	background-repeat: no-repeat;
}
.ui-spinner-button:hover {
	cursor: pointer;
}
.ui-spinner.ui-icon {
	position: absolute;
	overflow: hidden;
	width: 20px;
	height: 13px;
	height: 50%;
	top: 50%;
	right: 0;
}

.ui-spinner-up {
	top: -3px;
	top: 0;
	border-style: solid solid none none;
	background-position: 0 0
}
.ui-spinner-down {
	bottom: -1px;
	bottom: 0;
	border-style: none solid solid none;
	background-position: 0 -20px
}
.ui-spinner-up:hover { background-position: -40px 0 }
.ui-spinner-down:hover { background-position: -40px -20px }


.sales-grid {
	border-spacing: 0;
	border-collapse: collapse;
	margin: 10px 0;
}
.sales-grid td, .sales-grid th {
	padding: 2px 10px;
	vertical-align: top;
	text-align: left;
	font-size: 0.85em;
	border: solid 1px #E8EAF4;
	min-width: 80px;
	line-height: 1.2em;
}
.sales-grid th {
	font-weight: bold;
	background-color: #E8EAF4;
}
.sales-grid td.right, .sales-grid th.right {
	text-align: right;
}
.file-selected {
	font-weight: normal;
}
.fselector {
	display: inline-block;
	padding: 2px 10px;
	margin-right: 10px;
	cursor: pointer;
	border: 1px solid #aaa; 
	font-size: 0.85em;
	line-height: 1.3em;
}
.fselector.current {
	background-color: #acb4d2;
	color: #fff;
}
.fselector:hover {
	background-color: #D0D5E6;
}
.fselector.current:hover {
	background-color: #acb4d2;
}
