/**
 * Override PrimaryFaces Look and Feel
*/
html {
    font-size: 14px;
}

body .ui-growl {
    z-index: 999999 !important;
}

body .ui-selectonemenu, 
body .ui-inputtext, 
body .ui-inputtextarea,
body .ui-autocomplete {
    box-sizing: border-box;
}

body span.ui-calendar,
body span.ui-autocomplete{
    display: inline-flex;
}

body .ui-calendar input,
body .ui-autocomplete input, 
body .ui-autocomplete-input-token input,
body .ui-autocomplete-multiple-container.ui-inputfield{
    width: 100%;
    box-sizing: border-box;
}

body .ui-autocomplete-multiple li.ui-autocomplete-input-token:has(input[placeholder]){
    width: 100%;
}

.ui-chips-container{
    width: 100%;
}

.ui-chips-input-token input{
    width: 100%;
    box-sizing: border-box;
}

.ui-chips-input-token:has(input[placeholder]){
    width: 100%;
}

body .ui-datatable-odd,
body .ui-panelgrid-odd,
body .ui-panelgrid-odd .ui-panelgrid-cell{
    background-color: #F9F9F9;
}

body .text-bold{
    font-weight: bold;
}

body .entry-deleted{
    background-color: lightgray;
    text-decoration: line-through;
    opacity: .7;
    filter: Alpha(Opacity=70);
    font-weight: normal;
}

body .entry-strikeout{
    background-color: gray !important;
    text-decoration: line-through;
    opacity: .5;
    filter: Alpha(Opacity=50);
    font-weight: normal;
}

body .noHeadTable thead{
    display: none;
}

body .subentryUploader.ui-fileupload {
    display: inline-block;
}

body .subentryUploader .ui-fileupload-buttonbar {
    background: none;
    border: none;
    font-weight: normal;
    padding: 0;
}

body .subentryUploader .ui-fileupload-content {
    display: none;
}

body .noBorderWidget{
    background: none;
    border: none;
    padding: 0 !important;
    margin: 0 !important;
}

body .noBorderWidget > .ui-widget-content{
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

body .noBorderWidget ul.ui-datalist-data{
    padding-left: 1em;
}

/*=====*/

body .noBorderWidget.ui-datatable thead th, 
body .noBorderWidget.ui-datatable tbody td, 
body .noBorderWidget.ui-datatable tfoot td, 
body .noBorderWidget.ui-datatable tfoot th,
 
body .noBorderWidget.ui-panelgrid td{
    border-style: hidden;
}

body .noBorderWidget.ui-datalist .ui-datalist-empty-message{
    padding: 0;
}

body .noBackground .ui-widget-content,
body .noBackground.ui-datatable .ui-datatable-data > tr,
body .noBackground.ui-panelgrid .ui-panelgrid-cell{
    background-color: transparent;
}

body .ui-panelgrid tbody > tr.ui-state-highlight,
body .ui-panelgrid tbody > tr.ui-state-highlight td.ui-panelgrid-cell{
  background: #E3F2FD;
  color: #495057;
}
body .ui-panelgrid tbody > tr.ui-state-highlight .ui-row-toggler {
  color: #495057;
}
body .ui-panelgrid tbody > tr.ui-state-highlight .ui-row-editor > a {
  color: #495057;
}

table.ui-panelgrid{
    table-layout: auto;
}