.revo-button {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: #4545ff;
  height: 32px;
  line-height: 32px;
  padding: 0 15px;
  outline: 0;
  border: 0;
  border-radius: 7px;
  box-sizing: border-box;
  cursor: pointer;
}
.revo-button.green {
  background-color: #009037;
}
.revo-button.red {
  background-color: #E0662E;
}
.revo-button:disabled, .revo-button[disabled] {
  cursor: not-allowed !important;
  filter: opacity(0.35) !important;
}
.revo-button.outline {
  border: 1px solid #dbdbdb;
  line-height: 30px;
  background: none;
  color: #000;
  box-shadow: none;
}

revo-grid[theme^=dark] .revo-button.outline {
  border: 1px solid #404040;
  color: #d8d8d8;
}

revogr-filter-panel {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  z-index: 100;
  max-height: calc(100% - 80px);
  overflow: auto;
  opacity: 1;
  transform: none;
  background-color: var(--revo-grid-filter-panel-bg, #fff);
  border: 1px solid var(--revo-grid-filter-panel-border, #cecece);
  transform-origin: 62px 0px;
  box-shadow: 0 5px 18px -2px var(--revo-grid-filter-panel-shadow, rgba(0, 0, 0, 0.15));
  padding: 10px;
  border-radius: 8px;
  min-width: 220px;
  text-align: left;
  animation: revogr-filter-panel-open 140ms cubic-bezier(0.2, 0, 0, 1);
}
revogr-filter-panel .filter-holder > div {
  display: flex;
  flex-direction: column;
}
revogr-filter-panel label {
  font-size: 13px;
  display: block;
  padding: 8px 0;
}
revogr-filter-panel select {
  width: 100%;
}
revogr-filter-panel input[type=text] {
  border: 0;
  min-height: 34px;
  margin: 5px 0;
  background: var(--revo-grid-filter-panel-input-bg, #f3f3f3);
  border-radius: 5px;
  padding: 0 10px;
  box-sizing: border-box;
  width: 100%;
}
revogr-filter-panel .filter-actions {
  text-align: right;
  margin-right: -5px;
}
revogr-filter-panel .filter-actions button {
  margin-top: 10px;
  margin-right: 5px;
}

@keyframes revogr-filter-panel-open {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  revogr-filter-panel {
    animation: none;
  }
}
.rgHeaderCell:hover .rv-filter {
  transition: opacity 267ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 178ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}
.rgHeaderCell:hover .rv-filter,
.rgHeaderCell .rv-filter.active {
  opacity: 1;
}
.rgHeaderCell .rv-filter {
  height: 24px;
  width: 24px;
  background: none;
  border: 0;
  opacity: 0;
  visibility: visible;
  cursor: pointer;
  border-radius: 4px;
}
.rgHeaderCell .rv-filter.active {
  color: #10224a;
}
.rgHeaderCell .rv-filter .filter-img {
  color: gray;
  width: 11px;
}

.select-css {
  display: block;
  font-family: sans-serif;
  line-height: 1.3;
  padding: 0.6em 1.4em 0.5em 0.8em;
  width: 100%;
  max-width: 100%; /* useful when width is set to anything other than 100% */
  box-sizing: border-box;
  margin: 0;
  border: 1px solid var(--revo-grid-filter-panel-select-border, #d9d9d9);
  box-shadow: transparent;
  border-radius: 0.5em;
  appearance: none;
  background-color: var(--revo-grid-filter-panel-input-bg, #f3f3f3);
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat, repeat;
  /* arrow icon position (1em from the right, 50% vertical) , then gradient position*/
  background-position: right 0.7em top 50%, 0 0;
  /* icon size, then gradient */
  background-size: 0.65em auto, 100%;
  /* Hide arrow icon in IE browsers */
  /* Hover style */
  /* Focus style */
  /* Set options to normal weight */
  /* Disabled styles */
}
.select-css::-ms-expand {
  display: none;
}
.select-css:hover {
  border-color: var(--revo-grid-filter-panel-select-border, #d9d9d9);
}
.select-css:focus {
  border-color: var(--revo-grid-filter-panel-select-border-hover, #d9d9d9);
  box-shadow: 0 0 1px 3px rgba(59, 153, 252, 0.7);
  box-shadow: 0 0 0 3px -moz-mac-focusring;
  outline: none;
}
.select-css option {
  font-weight: normal;
}
.select-css:disabled, .select-css[aria-disabled=true] {
  color: gray;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22graytext%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
}
.select-css:disabled:hover, .select-css[aria-disabled=true] {
  border-color: var(--revo-grid-filter-panel-select-border, #d9d9d9);
}

.multi-filter-list {
  margin-top: 5px;
  margin-bottom: 5px;
}
.multi-filter-list div {
  white-space: nowrap;
}
.multi-filter-list .multi-filter-list-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.multi-filter-list .and-or-button {
  margin: 0 0 0 10px;
  min-width: 58px;
  cursor: pointer;
}
.multi-filter-list .trash-button {
  margin: 0 0 -2px 6px;
  cursor: pointer;
  width: 22px;
  height: 100%;
  font-size: 16px;
}
.multi-filter-list .trash-button .trash-img {
  width: 1em;
}

.add-filter-divider {
  display: block;
  margin: 0 -10px 10px -10px;
  border-bottom: 1px solid var(--revo-grid-filter-panel-divider, #d9d9d9);
  height: 10px;
}

.select-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
}