                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                    

.xwikiIconPickerContainer {
  width: 520px;
  height: 300px;
  border: 1px solid black;
  position: fixed;
  z-index: 1000;
  background-color: #FFFFFF;
}

.xwikiIconPickerList {
  display: grid;
  max-width: 100%;
  height: 240px;
  overflow-y: scroll;
  gap: .3em;
  padding: .3em;
  /* 4 columns, each a fraction of the whole width */
  grid-template-columns: repeat(4, 1fr);
}

/* Avoid stretching on the Loader element. */
.xwikiIconPickerList > img {
  object-fit: contain;
}

.xwikiIconPickerIcon {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  text-align: center;
  border-radius: 7px;
  vertical-align: middle;
  cursor: pointer;
  background-color: transparent;
}

.xwikiIconPickerIcon * {
  padding: 0;
}

.xwikiIconPickerIcon:hover {
  background-color: #eeeeee;
}

.xwikiIconPickerIconImage {
  font-size: 24px;
  line-height: 1;
  margin: 0;
}

.xwikiIconPickerIconImage img{
  width: 24px;
}

.xwikiIconPickerIcon .xwikiIconPickerIconName {
  /* Make sure the name wraps onto multiple lines instead of overflowing. */
  white-space: pre-wrap;
  word-break: break-word;
}

.xwikiIconPickerIconThemeSelector {
  width: 100%;
  background-color: #3E79BC;
  color: #fff;
  padding: 10px;
  text-align: center;
  clear: left;
  height: 60px;
}

