﻿.mention-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
.mention-wrapper .mention-options {
  box-sizing: border-box;
  position: absolute;
  width: fit-content;
  opacity: 0;
  bottom: calc(100% + 4px);
  pointer-events: none;
  background: #FFF;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  border-radius: 4px;
  overflow-y: auto;
  max-height: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.14);
}
.mention-wrapper .mention-options.mention-options-reverse {
  flex-direction: column-reverse;
  top: initial;
  bottom: 100%;
}
.mention-wrapper .mention-options .mention-option {
  box-sizing: border-box;
  background: #FFF;
  position: relative;
  cursor: pointer;
  display: none;
  width: 100%;
  padding: 8px;
}
.mention-wrapper .mention-options .mention-option.hover, .mention-wrapper .mention-options .mention-option:hover {
  background: rgba(170, 170, 170, 0.2509803922);
  color: inherit;
}
.mention-wrapper .mention-options.show {
  opacity: 1;
  pointer-events: initial;
}
.mention-wrapper .mention-options.show .mention-option.show {
  display: block;
}

.ql-mention-list-container {
  background-color: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(30, 30, 30, 0.08);
  overflow: auto;
  width: 270px;
  z-index: 99999;
}

.ql-mention-loading {
  font-size: 16px;
  line-height: 44px;
  padding: 0 20px;
  vertical-align: middle;
}

.ql-mention-list {
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.ql-mention-list-item {
  cursor: pointer;
  font-size: 16px;
  padding: 10px 20px;
  vertical-align: middle;
}

.ql-mention-list-item.disabled {
  cursor: auto;
}

.ql-mention-list-item.selected {
  background-color: #d3e1eb;
  text-decoration: none;
}

.mention {
  height: 24px;
  margin-right: 2px;
  user-select: all;
  width: 65px;
}

.ql-mention-list-container {
  max-height: 300px;
}
