body.empty {
  background-color: white !important;
  padding: .5em;
}

.hide {
  display: none !important;
}

.scrollable {
  overflow-y: auto;
  overflow-x: hidden;
}

.hidden {
  display: none;
}

input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.ui.header span.sub.header {
  float: right;
  padding-top: 4px;
}

@media only screen and (max-width: 991px) {
  .ui.header span.sub.header {
    display: none;
  }
}

a.fluid.card:hover .ui.button { background-color: #CACBCD; color: rgba(0, 0, 0, 0.8); }

.ui.fixed.labels.item.list .ui.fixed.label {
  width: 11rem;
  vertical-align: middle;
}

div.item ul {
  margin-bottom: 5px;
  list-style-type: circle;
}

div.item ul li {
  padding-bottom: 3px;
}

div.ui.secondary.floating.menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

div.ui.secondary.reduced.menu .item {
  padding: .4em .5em !important;
}

div.ui.secondary.menu .item:hover {
  background: rgba(0,0,0,.05) !important;
}

/* [id] : le clone de mesure d'autoWidth n'a pas d'id */
table.dt-pending[id] > tbody {
  display: none;
}

.dt-scroll-x.dt-overflowing {
  overflow-x: auto;
}

table.dataTable.ui.table.dt-sticky-head > thead > tr > th {
  position: sticky;
  top: var(--weblith-fixed-top, 0);
  z-index: 4;
}

.dt-scroll-x.dt-overflowing > table.dataTable.ui.table.dt-sticky-head > thead > tr > th {
  position: static;
}

.ui.grid > .buttonBar.column {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5em .3em;
}

.ui.grid > .buttonBar.column > .divider,
.ui.grid > .buttonBar.column > .weblith-inline-loader {
  flex: 0 0 100%;
}

table.ui.table.dataTable td > .ui.checkbox,
table.ui.table.dataTable th > .ui.checkbox,
table.ui.table.dataTable td:last-child .ui.button:not(.ui.buttons .button) {
  margin: 2px;
}

table.ui.table td br + span,
table.ui.table th br + span {
  display: block;
  line-height: 1.2em;
}

table.ui.table td:has(> br + span),
table.ui.table th:has(> br + span) {
  line-height: 1.2em;
}

.ui.table tr.selected {
  background-color: #fff1ce;
}

.ui.compact.table > tr > td,
.ui.compact.table > tbody > tr > td,
.ui.compact.table > tfoot > tr > td {
  padding: 0 .7em;
}

.ui.table td .ui.icon.button,
.ui.table th .ui.icon.button {
  padding: .7em .7em .9em;
}

.ui.compact.table td .ui.icon.button {
  padding: .5em;
  margin-bottom: .2em;
  margin-top: .2em;
}

.ui.very.basic.compact.table td .ui.icon.button {
  margin-bottom: 0;
  margin-top: 0;
}

.ui.compact.table input {
  min-height: 2.2em !important;
  height: 2.2em;
  margin-top: 0;
  margin-bottom: 0;
  border-width: 0;
  background-color: rgba(229, 247, 255, .5);
  border-radius: 0;
}

.ui.compact.table textarea,
.ui.compact.table input:focus {
  border-width: 0;
  background-color: rgba(229, 247, 255, .5);
}

.ui.compact.table tr.empty input,
.ui.compact.table tr.empty textarea {
  color: rgba(0, 0, 0, .3);
  padding: 1px;
}

.ui.table tr.empty {
  color: rgba(0, 0, 0, .3);
}

.ui.compact.table input:read-only,
.ui.compact.table textarea:read-only {
  background-color: rgba(255, 255, 255, 0) !important;
}

.ui.compact.table tr td.text {
  min-height: 2.2em !important;
  height: 2.2em;
}

.ui.compact.table td.xs-field span {
  font-size: 80%;
  color: #999999;
}

.ui.compact.table td.xs-field input {
  font-size: 100%;
  padding: .2em !important;
  height: 1.8em !important;
  min-height: 1.8em !important;
  text-align: center;
}

.ui.selectable.table .ui.checkbox {
  min-width: 14px;
  min-height: 14px;
  width: 14px;
  line-height: 14px;
  vertical-align: middle;
}

.ui.selectable.table .ui.checkbox:not(:only-child) {
  margin-right: 1em;
}

.ui.selectable.table .ui.checkbox:only-child {
  display: block;
}

.ui.selectable.table .ui.checkbox:only-child label {
  padding-left: 0;
}

.ui.selectable.table .ui.checkbox input[type=checkbox],
.ui.selectable.table .ui.checkbox label::before,
.ui.selectable.table .ui.checkbox label::after {
  width: 14px;
  height: 14px;
}

.ui.selectable.table .ui.checkbox label::after {
  font-size: 11px;
  line-height: 14px;
}

.ui.table .inline.field .ui.checkbox {
  width: 100%;
}

.ui.very.compact.table tr th {
  white-space: nowrap;
  font-size: 88%;
  padding: .5em .2em !important;
}

div.dataTables_scrollBody .ui.very.compact.table tr th {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.ui.very.compact.table tr td {
  white-space: nowrap;
  font-size: 88%;
  padding: 0 .2em !important;
}

table.dataTable.ui.table > thead > tr > th.sorting,
table.dataTable.ui.table > thead > tr > th.sorting_asc,
table.dataTable.ui.table > thead > tr > th.sorting_desc {
  padding-right: .78571429em;
}

table.dataTable.ui.compact.table > thead > tr > th.sorting,
table.dataTable.ui.compact.table > thead > tr > th.sorting_asc,
table.dataTable.ui.compact.table > thead > tr > th.sorting_desc {
  padding-right: .7em;
}

table.dataTable.ui.table > thead > tr > th.sorting::after,
table.dataTable.ui.table > thead > tr > th.sorting_asc::after,
table.dataTable.ui.table > thead > tr > th.sorting_desc::after {
  top: .2em;
  right: .2em;
  font-size: 1em;
  line-height: 1;
}

table.dataTable.ui.table > thead > tr > th.sorting_asc::after,
table.dataTable.ui.table > thead > tr > th.sorting_desc::after {
  color: #fbbd08;
}
