.tabulator--full-screen {
  height: auto;
  position: fixed;
  inset: 0;
  background: white;
  z-index: 999;
  margin: 0 !important;
}

/*Theme the Tabulator element*/
.tabulator{
  background-color: #fff;
  border: 2px solid #ebebeb;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Ginter', system-ui;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.10);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.10);
}

.tabulator-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  background-color: #d5d5d5;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.minimize-table {
  width: 12px;
  height: 12px;
  background-color: #cdb50b;
  border: 1px solid #edeaea;
  border-radius: 50%;
}

.fullscreen-table {
  width: 12px;
  height: 12px;
  background-color: #53b516;
  border: 1px solid #edeaea;
  border-radius: 50%;
}

.destroy-table {
  width: 12px;
  height: 12px;
  background-color: #cd0b0b;
  border: 1px solid #edeaea;
  border-radius: 50%;
}

.minimize-table:hover,
.fullscreen-table:hover,
.destroy-table:hover {
  -webkit-box-shadow:0 0.2rem 0.5rem rgb(0 0 0 / 15%);
  box-shadow:0 0.2rem 0.5rem rgb(0 0 0 / 15%);
  cursor: pointer;
}

/*Theme the header*/
.tabulator .tabulator-header {
  background-color:#dddddd;
  border-bottom: 4px solid #3FB449;
}

.tabulator-row.tabulator-group {
  background: #e3e3e3;
  border-bottom: 2px solid #3fb449;
  border-right: none;
  border-top: none;
}

.tabulator-row.tabulator-group span {
  color: #3fb449;
}

.tabulator .tabulator-header .tabulator-col {
  border-right: 2px solid #d1d1d1;
}

.tabulator .tabulator-header .tabulator-col:last-child {
  border-right: none;
}

/*Allow column header names to wrap lines*/
.tabulator .tabulator-header .tabulator-col,
.tabulator .tabulator-header .tabulator-col-row-handle {
  background: #dddddd;
  white-space: normal;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
  padding: 8px;
}

.tabulator .tabulator-header .tabulator-col .tabulator-header-filter {
  margin-top: 9px;
}

.tabulator .tabulator-row .tabulator-cell {
  padding: 10px;
  border-right: 2px solid #dfdfdf;
}

.tabulator-row.tabulator-selectable:hover {
  background-color: #ebebeb;
}

.chart-options-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 10px;
  gap: 2rem;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.chart-options-container input {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  margin-right: 0.5rem;
}

.chart-options-container select {
  display: block;
  padding: 4px;
  border: 1px solid #eee !important;
  border-radius: 3px;
  -webkit-transition: .3s box-shadow;
  -o-transition: .3s box-shadow;
  transition: .3s box-shadow;
}

.chart-options-container select:hover{
  -webkit-box-shadow:0 0.2rem 0.5rem rgb(0 0 0 / 15%);
  box-shadow:0 0.2rem 0.5rem rgb(0 0 0 / 15%);
}
.chart-options-container select:focus {
  outline:none !important
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover {
  background-color: #dedede;
}

/*Color the table rows*/
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row{
  color:#fff;
  background-color: #666;
}

/*Color even rows*/
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row:nth-child(even) {
  background-color: #444;
}

.tabulator .tabulator-footer {
  border-top: 3px solid #7c7c7c;
  background-color: #f3f3f3;
}

.tabulator input, .tabulator select {
  display: block;
  padding: 4px;
  border: 1px solid #eee !important;
  border-radius: 3px;
  -webkit-transition: .3s box-shadow;
  -o-transition: .3s box-shadow;
  transition: .3s box-shadow;
}

.tabulator input:hover, .tabulator select:hover{
  -webkit-box-shadow:0 0.2rem 0.5rem rgb(0 0 0 / 15%);
  box-shadow:0 0.2rem 0.5rem rgb(0 0 0 / 15%);
}
.tabulator input:hover, .tabulator select:focus {
  outline:none !important
}

.tabulator button,
.tabulator .download-button,
.tabulator .tabulator-footer .tabulator-page {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-width: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  text-decoration: none;
  background-color: #3fb449;
  color: #fff;
  margin: 0 2px;
  border-radius: 3px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.tabulator .flex-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.25rem;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.tabulator .flex-btn--right {
  margin-left: auto;
}

.tabulator .flex-btn--red {
  background-color: #b43f3f;
}

.tabulator .flex-btn--red:hover {
  cursor: pointer;
  background-color: #a4463f;
}

.tabulator .tabulator-footer .tabulator-footer-contents {
  padding: 10px;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.tabulator .tabulator-footer .tabulator-footer-contents .tabulator-footer-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  width: 100%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.tabulator .tabulator-footer .tabulator-pages .tabulator-page {
  background-color: darkgrey;
}

.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover {
  opacity: 1;
  background: #3fa448;
  -webkit-box-shadow:0 0.2rem 0.5rem rgb(0 0 0 / 15%);
  box-shadow:0 0.2rem 0.5rem rgb(0 0 0 / 15%);
}

.tabulator .tabulator-footer .tabulator-page.active {
  color: #fff;
  background: #3fa448;
}

.tabulator button:hover,
.tabulator .download-button:hover {
  cursor: pointer;
  background-color: #3fa448;
  -webkit-box-shadow:0 0.2rem 0.5rem rgb(0 0 0 / 15%);
  box-shadow:0 0.2rem 0.5rem rgb(0 0 0 / 15%);
}
