
/* select-a11y
------------------------------------------------------ */
.select-a11y {
  position: relative;
}
.select-a11y .fr-select {
  background-image: none;
}
.select-a11y .btn-select-a11y {
  position: relative;
  width: 100%;
  text-align: left;
  background-color: var(--background-contrast-grey);
  color: var(--text-default-grey);
  display: block;
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 0.5rem 2.5rem 0.5rem 2rem;
  border-radius: 0.25rem 0.25rem 0 0;
  box-shadow: inset 0 -2px 0 0 var(--border-plain-grey);
}
.select-a11y .btn-select-a11y .icon-select {
  top: 17px;
  right: 1.8em;
  position: absolute;
  display: block;
}
.select-a11y .btn-select-a11y .icon-select::before, .select-a11y .btn-select-a11y .icon-select::after {
  position: absolute;
  display: block;
  content: "";
  border: 10px solid transparent; /*adjust size*/
}
.select-a11y .btn-select-a11y .icon-select::before {
  top: 0;
  border-top-color: var(--text-default-grey); /*Chevron Color*/
}
.select-a11y .btn-select-a11y .icon-select::after {
  top: -3px; /*adjust thickness*/
  border-top-color: var(--background-contrast-grey); /*Match background colour*/
}
.select-a11y .btn-select-a11y:hover {
  background: var(--hover-tint);
}
.select-a11y .btn-select-a11y:hover .icon-select::after {
  border-top-color: var(--hover-tint); /*Match background colour*/
}
.select-a11y .btn-select-a11y[aria-expanded=true] {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.select-a11y .btn-select-a11y[aria-expanded=true] .icon-select {
  transform: rotate(180deg);
  right: 10px;
  top: 25px;
  transition: rotate 0.3s;
}
.select-a11y .tag-item {
  border: 1px solid #c3c4cc;
  padding: 0.2em 0.1em 0.2em 0.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.select-a11y .tag-item-supp {
  background-color: transparent;
  border: 1px solid transparent;
}
.select-a11y .tag-item-supp .icon-delete:before {
  content: "✕";
  color: var(--error-425-625);
  line-height: 1;
}
.select-a11y .tag-item-supp:focus {
  outline: 1px solid var(--error-425-625);
  color: var(--error-425-625);
}
.select-a11y .tag-item-supp:hover {
  color: var(--error-425-625);
  border-color: var(--error-425-625);
}
.select-a11y .tag-hidden {
  display: none;
}
.select-a11y.is-open .a11y-container {
  display: block;
}
.select-a11y .a11y-container {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0.5em;
  background: var(--background-default-grey-active);
  z-index: 600;
  border: 1px solid #dfdfe4;
}
.select-a11y input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}
.select-a11y .a11y-suggestions {
  max-height: 10em;
  overflow-y: auto;
  border: 1px solid var(--background-contrast-grey);
  margin-top: 0.5em;
  background-color: var(--background-default-grey);
}
.select-a11y .a11y-suggestion {
  padding: 0 0.5em 0 1.625em;
  color: var(--text-default-grey);
  cursor: pointer;
  text-align: left;
}
.select-a11y .a11y-suggestion:focus, .select-a11y .a11y-suggestion:hover {
  color: #363740;
  background-color: #dfdfe4;
}
.select-a11y .a11y-suggestion:focus {
  outline: 1px dotted #363740 !important;
  outline-offset: -1px;
}
.select-a11y .a11y-suggestion[aria-selected=true] {
  background-color: #c3c4cc;
  color: #363740;
  position: relative;
}
.select-a11y .a11y-suggestion[aria-selected=true]:before {
  content: "✓";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0.5em;
}
.select-a11y .a11y-no-suggestion {
  padding: 0 0.5em;
  color: #595b6a;
  text-align: left;
  margin: 0;
}
.select-a11y .list-selected {
  padding: 0.5em 0;
  margin: 0;
  list-style: none;
}
.select-a11y .list-selected li {
  margin: 0 0 0.3em 0;
}
.select-a11y .list-selected li span {
  display: inline-block;
}
