tr.ui-state-highlight a.btn-primary {
    border: 1px solid;
}

.ui-state-highlight a.btn-primary:hover,
.ui-widget-content .ui-state-highlight a.btn-primary:hover,
.ui-widget-header .ui-state-highlight a.btn-primary:hover {
    color: #FFF;
}

.ui-widget-content .ui-icon {
    background-image: url("/OneClick/javax.faces.resource/images/ui-icons_333333_256x240.png.xhtml?ln=primefaces-bootstrap");
}

.table.no-highlight .ui-datatable-tablewrapper table tbody tr.ui-state-highlight td {
    background-color: inherit !important;
    color: inherit !important;
}

.ui-datatable-headerrow {
    background-color: #F3F3F4;
    border: none;
    font-size: 16px;
    font-weight: normal;
}

.table.disabled {
    color: #BBB;
}

.table.table-white {
    background-color: #FFF;
}

.table .ui-datatable-tablewrapper table tbody tr.ui-state-highlight td {
    background-color: #F5F5F5;
}

.ui-inputfield.ui-state-focus,
.ui-widget-content .ui-inputfield.ui-state-focus {
    box-shadow: none;
}

.fake-table-footer {
    font-weight: bold;
    margin-right: 10px;
    margin-top: 10px;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: #F5F5F5;
    color: inherit;
}

.ui-widget-content .red .ui-state-highlight {
    background: #D9534F;
}

.table .ui-datatable-tablewrapper table, .table .ui-datatable-tablewrapper table tbody {
    background: none;
    border: none;
    table-layout: inherit;
}

.ui-datatable .ui-datatable-data tr.ui-state-hover.bold {
    font-weight: bold;
}

.table.table-white .ui-datatable-tablewrapper table tbody tr.ui-datatable-even {
    background: #FFF;
}

.table .ui-datatable-tablewrapper table tbody tr.ui-datatable-even.ui-state-highlight {
    background: #1AB394;
}

.table .ui-datatable-tablewrapper table tbody tr.ui-datatable-even.ui-state-hover {
    background: #F5F5F5;
}

.ui-datatable thead th, .ui-datatable tfoot td {
    text-align: left;
}

.ui-datatable thead th.text-right {
    text-align: right;
}

.ui-datatable tfoot td.text-right {
    text-align: right;
}

.ui-datatable tfoot td.text-center {
    text-align: center;
}

.ui-datatable-odd {
    background-color: #FFF;
}

.ui-datatable-header {
    background-color: #FFF;
    border: none;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: left !important;
}

.table thead:first-child > tr:first-child > th {
    background-color: #F3F3F4;
    border-radius: 0px;
    border-top: 0;
    padding: 10px 15px;
}

.table tfoot td {
    border-radius: 0px !important;
}

.table tfoot:first-child > tr:first-child > td:first-child {
    border-bottom-left-radius: 10px !important;
}

.table tfoot:first-child > tr:first-child > td:last-child {
    border-bottom-right-radius: 10px !important;
}

.table thead:first-child > tr:first-child > th:first-child {
    border-top-left-radius: 10px;
}

.table thead:first-child > tr:first-child > th:last-child {
    border-top-right-radius: 10px;
}

.table-bordered {
    border: 1px solid #EBEBEB;
}

.ui-datatable-tablewrapper th:first-child,
.ui-datatable-tablewrapper th.ui-state-default:first-child {
    border-top-left-radius: 10px;
}

.ui-datatable-tablewrapper th:last-child,
.ui-datatable-tablewrapper th.ui-state-default:last-child {
    border-top-right-radius: 10px;
}

.ui-datatable-tablewrapper th, .ui-datatable-tablewrapper th.ui-state-default {
    background-color: #F3F3F4;
    border: none;
    border-collapse: collapse;
    box-shadow: none;
    padding: 10px 15px;

}

div.table-bordered .ui-datatable-tablewrapper th,
div.table-bordered .ui-datatable-tablewrapper th.ui-state-default {
    border: 1px solid #EBEBEB;
    text-align: center;
}

.ui-datatable tbody, .ui-datatable tbody tr, .ui-datatable thead th,
.ui-datatable tbody td, .ui-datatable tfoot td, .ui-datatable tfoot th {
    border: none;
}

.table-bordered thead > tr > th, .table-bordered thead > tr > td {
    background-color: #F5F5F6;
    border-bottom-width: 1px;
}

.table-bordered thead > tr > th, .table-bordered tbody > tr > th,
.table-bordered tfoot > tr > th, .table-bordered thead > tr > td,
.table-bordered tbody > tr > td, .table-bordered tfoot > tr > td {
    border: 1px solid #E7E7E7;
}

.table thead > tr > th {
    border-bottom: none;
    vertical-align: bottom;
}

.table thead > tr > th, .table tbody > tr > th, .table tfoot > tr > th, .table thead > tr > td,
.table tbody > tr > td, .table tfoot > tr > td {
    border-top: 1px solid #E5E5E5;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
}

.table tbody > tr > td {
    padding: .85rem 1rem;
    vertical-align: middle;
}

.table tbody > tr:first-child > td {
    border-top: none;
}

.table tbody > tr:last-child > td {
    border-bottom: 1px solid #E5E5E5;
}

.ui-datatable .ui-column-filter {
    background-color: #FFF;
    background-image: none;
    border: 1px solid #E5E6E7;
    border-radius: 1px;
    box-shadow: none;
    color: inherit;
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin: 0px;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
}

.ui-datatable .ui-column-filter:focus {
    border: 1px solid #1AB394;
}

.ui-datatable thead th.text-center {
    text-align: center;
}

.ui-datatable .ui-selection-column .ui-chkbox-all {
    height: inherit;
    margin-left: 0px;
    padding-left: 0px;
    width: inherit;
}

tr.ui-widget-content.ui-datatable-odd.ui-datatable-selectable.ui-state-highlight,
tr.ui-widget-content.ui-datatable-even.ui-datatable-selectable.ui-state-highlight {
    background-color: #F5F5F5;
}

div.no-highlight tr.ui-widget-content.ui-datatable-odd.ui-datatable-selectable.ui-state-highlight,
div.no-highlight tr.ui-widget-content.ui-datatable-even.ui-datatable-selectable.ui-state-highlight {
    background-color: inherit;
}

tr.ui-state-highlight div.ui-chkbox-box.ui-widget.ui-corner-all.ui-state-default.ui-state-active {
    border: 1px solid #FFF;
}

div.no-highlight tr.ui-state-highlight div.ui-chkbox-box.ui-widget.ui-corner-all.ui-state-default.ui-state-active {
    border: inherit;
}

tr.ui-state-highlight i.green {
    color: #FFF;
}

div.no-highlight tr.ui-state-highlight i.green {
    color: #1AB394;
}

tr.ui-state-highlight i.red {
    color: #FFF;
}

div.no-highlight tr.ui-state-highlight i.red {
    color: #D9534F;;
}

div.no-highlight tr.ui-state-highlight a.btn-primary {
    border: inherit;
}

tr.ui-state-highlight select, tr.ui-state-highlight input, tr.ui-state-highlight span.ui-inputnumber.form-control input {
    color: #676A6C;
}

div.no-highlight tr.ui-state-highlight select, div.no-highlight tr.ui-state-highlight input {
    color: inherit;
}

div.no-highlight tr.ui-state-highlight {
    color: inherit;
}

/* Valid and Invalid blocklineitem rows */
tr.valid td span.text {
    color: #1AB394;
}

tr.invalid td span.text {
    color: #D9534F;
}

tr.invalid.ui-state-highlight td span.text, tr.valid.ui-state-highlight td span.text {
    color: #FFF;
}

.table th.text-right {
    text-align: right;
}

/* Sorting */

.table th.ui-state-active span.ui-column-title {
    color: #1AB394;
    font-weight: bold;
}

.table th.ui-state-active span.ui-column-title {
    color: #1AB394;
    font-weight: bold;
}

.table th:focus {
    outline: none;
}

/* Paginator */
.ui-paginator {
    background: #FFF;
    border: none;
}

.ui-paginator span.ui-paginator-pages a, .ui-paginator-prev.ui-state-default,
.ui-paginator-next.ui-state-default, .ui-paginator-first.ui-state-default,
.ui-paginator-last.ui-state-default {
    background: #FFF;
    border-radius: 1px;
    box-shadow: none;
    color: inherit;
    font-weight: normal;
    line-height: 15px;
    text-shadow: none;
}

.ui-paginator span.ui-paginator-pages a.ui-state-active {
    background: #1AB394;
    border-color: #1AB394;
    color: #FFF;
}

.ui-paginator span.ui-paginator-pages a:hover, .ui-paginator-prev.ui-state-default:hover,
.ui-paginator-next.ui-state-default:hover, .ui-paginator-first.ui-state-default:hover,
.ui-paginator-last.ui-state-default:hover {
    background: #F5F5F5;
}

.ui-paginator-prev.ui-state-disabled:hover, .ui-paginator-next.ui-state-disabled:hover,
.ui-paginator-first.ui-state-disabled:hover, .ui-paginator-last.ui-state-disabled:hover {
    background: inherit;
}

.ui-paginator span.ui-paginator-pages a.ui-state-active:hover {
    background: #1AB394;
}

/* Cost Summary Table */
div.ui-datatable.cost-summary-table td.ui-datatable-subtable-header {
    background-color: #FFF;
    border-top: 1px solid #E7EAEC;
    font-size: 16px;
    font-weight: bold;
}

div.ui-datatable.cost-summary-table td.oc-block,
div.table tr.oc-block td {
    background-color: #F5F5F5;
    border-top: 1px solid #E7EAEC;
    color: #676A6C;
}

div.table tr.oc-block.stock-grey td,
div.table tr.oc-blocklineitem.stock-grey td {
    background-color: #676A6C;
    color: #FFF;
}

div.table tr.oc-block.red td {
    color: #D9534F;
}

div.table tr.orange td {
    color: #F79703;
}

div.ui-datatable.cost-summary-table td.oc-blocklineitem,
div.table tr.oc-blocklineitem td {
    background-color: #FFF;
    border-top: none;
}

div.ui-datatable.cost-summary-table td.problem,
div.table tr.problem td {
    color: #D9534F !important;
}

div.ui-datatable.cost-summary-table td.existing,
div.table tr.existing {
    color: #B1B1B1;
    font-style: italic;
}

ol, ul {
    margin-bottom: 0px;
}

div.ui-datatable.cost-summary-table td.ui-state-default {
    display: none;
}

/* Datatable row re-ordering */
tr.ui-datatable-rowordering.ui-state-active {
    border: 2px dashed #D0D0D0;
    box-shadow: none;
}

div.ui-datatable.ui-widget.ui-sortable-helper {
    color: #1AB394 !important;
}

td.totalCell {
    border-bottom: 1px solid #888;
    border-top: 1px solid #888;
    font-weight: bold;
}

tr.ui-state-highlight.block-text-highlight td {
    color: #676A6C;
}

div.table tfoot td.ui-state-default {
    background: none;
    background-color: #FFF;
    border: none;
    border-top: 1px solid #E7EAEC;
    box-shadow: none;
}

div.table-condensed > div > table > thead > tr > th,
div.table-condensed > div > table > tbody > tr > th,
div.table-condensed > div > table > tfoot > tr > th,
div.table-condensed > div > table > thead > tr > td,
div.table-condensed > div > table > tbody > tr > td,
div.table-condensed > div > table > tfoot > tr > td {
    padding: 5px;
}

th input.ui-column-filter {
    line-height: 1.42;
}

.ui-datatable-tablewrapper th.column-odd,
.ui-datatable-tablewrapper th.ui-state-default.column-odd,
.ui-datatable-tablewrapper td.ui-state-default.column-odd,
div.ui-datatable.ui-widget.textAlignCenter.table.laTable div.ui-datatable-tablewrapper thead th.column-odd {
    background-color: #F8F8F8;
}

div.table td.column-odd {
    background-color: rgba(0, 0, 0, 0.05);
}

.ui-filter-column {
    vertical-align: bottom !important;
}

.ui-datatable .ui-datatable-data tr.ui-row-editing td.ui-editable-column, .ui-datatable .ui-datatable-data td.ui-cell-editing {
    padding: 8px;
}

.ui-tree.ui-tree-horizontal.explorer-table, .ui-tree.ui-tree-horizontal tr, .ui-tree.ui-tree-horizontal td {
    background-color: transparent;
    border: none;
    font-weight: normal;
}

.ui-panelgrid.ui-widget.explorer-table {
    max-width: 500px;
}

.ui-panelgrid.ui-widget.explorer-table td.ui-panelgrid-cell {
    padding-left: 10px;
}

.ui-tree-horizontal .ui-treenode-parent .ui-treenode-content {
    font-weight: bold;
}