.ui-buttonset {
	display: inline-block;
	margin-right: 0.5em;
	vertical-align: top;
}

.ui-front {
	z-index: 1010;
}

/*
 * NOTE: We are Testing Using Primefaces on the Tablet now.  So, for Datatables to work, let's just try
 * using all the overrides for Datatables from the Desktop override css.
 */

/* DataTable base styles
*/
.ui-datatable thead th,
.ui-datatable tbody td,
.ui-datatable tfoot td,
.ui-datatable tfoot th {
	border-bottom: 1px solid #cacaca;
	border-left: 0 none;
	border-right: 0 none;
	border-top: 1px solid #cacaca;
	color: #333333;
	padding: 4px 5px;
	font-size: 0.9em;
	text-align: left;
	vertical-align: top;
	white-space: normal;
}

.ui-datatable thead th,
.ui-datatable tfoot td,
.ui-datatable tfoot th {
	background: #f5f5f5 !important;
	border-left: 1px solid #f5f5f5 !important;
	border-right: 1px solid #f5f5f5 !important;
}

.ui-datatable tbody.ui-widget-content,
.ui-datatable tbody tr.ui-widget-content {
	border: 0 none;
}

.ui-datatable .ui-datatable-data tr.ui-state-hover {
	background: #f5f5f5 !important;
}

.ui-datatable-scrollable-footer.ui-widget-header,
.ui-datatable-scrollable-header.ui-widget-header {
	border: 0 none;
}

/* DataTable column alignment
*/
.ui-datatable .ui-datatable-data td.ui-numeric,
.ui-datatable .ui-datatable-data-empty td.ui-numeric,
.ui-datatable th.ui-numeric,
.ui-datatable.ui-state-default th.ui-numeric,
.ui-datatable tfoot td.ui-numeric {
	text-align: right;
}

/* DataTable selected rows
*/
.ui-datatable-selectable.ui-widget-content.ui-state-highlight {
	border-bottom: 1px solid #cacaca;
	border-left: 0 none;
	border-right: 0 none;
	border-top: 0 none;
	background: #eff8fd;
	color: #363636;
	cursor: auto;
}

/* DataTable target row for Draggable rows
*/
.ui-datatable-rowordering.ui-state-active {
	background: #EBF4FB none repeat scroll 0 0;
}

/* DataTable paginator
*/
.ui-datatable .ui-paginator {
	background: #fff;
	border: none;
	font-weight: normal;
	text-align: left;
}

/* DataTable selection column
*/
.ui-datatable .ui-selection-column {
	width: 16px;
}

/* DataTable sortable column header
*/
th.ui-sortable-column.ui-state-active,
th.ui-sortable-column.ui-state-hover {
	border-color: #d3d3d3 #f5f5f5 !important;
}

th.ui-sortable-column.ui-state-active.ui-numeric .ui-sortable-column-icon {
	float: right;
}