/* stylelint-disable scss/operator-no-unspaced */
/* stylelint-enable scss/operator-no-unspaced */
/**
 * Tags
 * @define tag
 */
.ecl-tag {
  align-items: center;
  background-color: #707070;
  border-radius: 1rem;
  border-width: 0;
  box-sizing: border-box;
  color: #fff;
  display: inline-flex;
  font: normal normal 400 0.875rem/1rem arial, sans-serif;
  padding: 0.5rem 0.75rem;
  text-decoration: underline;
  white-space: nowrap;
}
.ecl-tag:hover {
  background-color: #404040;
  color: #fff;
}
.ecl-tag:focus-visible {
  background-color: #707070;
  outline: 2px solid #004494;
  outline-offset: 2px;
}

.ecl-tag--display {
  text-decoration: none;
}
.ecl-tag--display:hover {
  background-color: #707070;
  color: #fff;
  text-decoration: none;
}

.ecl-tag--removable {
  text-decoration: none;
}
.ecl-tag--removable:hover, .ecl-tag--removable:focus {
  color: #fff;
  text-decoration: none;
}

.ecl-tag__icon {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border-width: 0;
  color: transparent;
  height: 1rem;
  -webkit-margin-start: 0.5rem;
          margin-inline-start: 0.5rem;
  padding: 0;
  pointer-events: auto;
  position: relative;
  width: 1rem;
}
.ecl-tag__icon:focus-visible {
  outline: 2px solid;
  outline-offset: 2px;
}
.ecl-tag__icon.ecl-tag__icon--external {
  color: #fff;
  height: 0.75rem;
  width: 0.75rem;
  top: 1px;
}

.ecl-tag__icon-close {
  fill: #fff;
  left: 0;
  opacity: 1;
  position: absolute;
  top: 0;
}

.ecl-tag__icon-close-filled {
  fill: #fff;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
}

.ecl-tag:hover .ecl-tag__icon-close,
.ecl-tag:focus .ecl-tag__icon-close {
  opacity: 0;
}
.ecl-tag:hover .ecl-tag__icon-close-filled,
.ecl-tag:focus .ecl-tag__icon-close-filled {
  opacity: 1;
}

.ecl-tag a {
  color: #fff;
}

.ecl-tag__icon--external {
  -webkit-margin-start: 0.5rem !important;
          margin-inline-start: 0.5rem !important;
  position: relative;
  top: 1px;
}

.ecl-tag .ecl-icon {
  fill: #fff;
}

.ecl-tag__icon-close {
  fill: white;
  left: 0;
  opacity: 1;
  position: absolute;
  top: 0;
}

.ecl-tag__icon-close-filled {
  fill: white;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
}