.ag-float-wrapper.ag-format-picker-container {
  overflow: visible;
  border-radius: 2px;
}
.ag-format-picker {
  height: 28px;
  width: 305px;
}

.ag-format-picker ul,
.ag-format-picker li {
  margin: 0;
  padding: 0;
}

.ag-format-picker ul {
  padding: 0 7px;
  display: flex;
}

.ag-format-picker li.item {
  position: relative;
  list-style: none;
  width: 35px;
  height: 28px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
}

.ag-format-picker li.item:hover {
  background: var(--floatHoverColor);
}

.ag-format-picker li.item:last-of-type {
  margin-left: 6px;
}

.ag-format-picker li.item:last-of-type:before {
  content: '';
  width: 1px;
  position: absolute;
  height: 18px;
  background: var(--editorColor10);
  left: -3px;
  top: 6px;
}

.ag-format-picker li.item .icon-wrapper {
  display: flex;
  width: 16px;
  height: 16px;
}

.ag-format-picker li.item .icon-wrapper i.icon {
  display: inline-block;
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  color: var(--iconColor);
  transition: all .25s ease-in-out;
}

.ag-format-picker li.item .icon-wrapper i.icon > i[class^=icon-] {
  display: inline-block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(16px 0 currentColor);
  position: relative;
  left: -16px;
}

.ag-format-picker li.item.active .icon-wrapper i.icon {
  color: var(--themeColor);
}
