.close {
  float: right;
  color: @gray-50;
  font-weight: normal;
  font-size: 20px;
  line-height: 16px;

  &:hover,
  &:focus {
    color: @link-color-hover;
    text-decoration: none;
    cursor: pointer;
  }
  &:focus {
    outline: 2px solid @component-color-focus;
    outline-offset: -2px;
  }
}

/* Additional properties for button version
   iOS requires the button element instead of an anchor tag.
   If you want the anchor version, it requires `href="#"`.
   See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile */

button.close {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;

  -webkit-appearance: none;
  &:focus {
    outline: 2px solid @component-color-focus;
    outline-offset: -2px;
  }
}
