/**
	Override the styles from primefaces
*/

/* don't display labels bold */
form label {
    font-weight: normal;
}

/* requirement: make the inline edit dataTable's "editRow"'s header disappear */
.ui-datatable thead th.editRow {
	background-color: inherit;
	background-image: none;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
}

/* format dataTable inline edit select menus nicely */
.ui-cell-editor-input > div {
	width: 100%;
}

/* format dataTable inline edit inputs nicely */
.ui-cell-editor-input > input {
	width: 80%;
	display: block;
	margin : 0 auto;
}

/* limit the width of tooltips */
.ui-tooltip {
	max-width: 400px;
}

/* Remove IE clear button */
th>input.ui-column-filter::-ms-clear {
	display: none;
}

.ui-accordion .ui-accordion-header .ui-icon {
    display: block;
}

/* primefaces file upload generates a huge area for the button itself, we limit it's size a bit */
input[type='file'] {
	max-height: 25px;
}

.ui-state-disabled.fontAwesome {
	background-color: transparent;
}

.ui-icon-fixed .ui-icon {
	background-image: url(/ibs/jakarta.faces.resource/images/primefaces/ui-icons_333333_256x240.png.xhtml);
}

.ui-treetable table {
	border-collapse: collapse;
	table-layout: auto;
	width: 100%;
}

.ui-treetable thead th, .ui-treetable tbody td, .ui-treetable tfoot td {
    white-space: normal !important;
}

div.blockUI {
	position: fixed !important;
}

/* Reduce the margin padding in datatables to be able to display more content */
.ui-datatable thead th, .ui-datatable tbody td, .ui-datatable tfoot td, .ui-datatable tfoot th {
	padding: 3px 8px;
}

/* Forget the 100px for every filter field, it mostly depends on content rather than 100px */
.ui-datatable .ui-column-filter {
	width: 80%;
}

/* make the columns auto size them self to the content */
.ui-datatable table {
	table-layout: auto;
}

/* exceptions for auto sizing of the columns should use this */
.ui-datatable.fixed-layout table {
	table-layout: fixed;
}