@media screen and (min-width: 768px) {
  .artist-search {
    top: 8px;
    right: 8px;
    width: 470px;
    height: 100%;
    overflow-y: visible;
    overflow-x: hidden;
  }
}

@media screen and (max-width: 767px) {
  .artist-search {
    margin-top: 2px;

    input {
      width: calc(100vw - 174px);
      height: 22px !important;
      font-size: 15px !important;
    }

    button {
      height: 26px !important;
      width: 55px !important;
      padding: 3px 2px 4px 2px;
      margin-left: 4px !important;
      margin-right: 0px !important;
    }

    button.artist-search-close-button {
      width: 44px !important;
    }
  }
}

@media screen and (min-width: 768px) and (min-height: 768px) {
  .artist-input-wrapper {
    max-width: 500px;
  }
}

.artist-search {
  display: flex;
  flex-direction: row;
  position: absolute;
  z-index: 3;
  pointer-events: none;

  * {
    pointer-events: all;
  }

  button {
    user-select: none;
  }

  input {
    background-color: #333;
    border: 1px solid rgba(155, 155, 155, 0.6);
    outline: none;
    color: #eee;
    font-size: 18px;
    height: 23px;
  }

  .artist-input-wrapper {
    margin-top: 0 !important;
    pointer-events: none;

    * {
      pointer-events: all;
    }
  }

  .artist-search-look-at-button,
  .artist-search-fly-to-button,
  .artist-search-close-button {
    margin-left: 8px;
    height: 27px;
    width: 90px;
    cursor: pointer;
    background-color: rgba(155, 155, 155, 0.935);
    color: #eee;
    box-shadow: none;
    border: 1px solid rgba(244, 244, 244, 0.4);
    font-size: 14px;
    z-index: 3;
  }

  .artist-search-look-at-button:disabled,
  .artist-search-fly-to-button:disabled {
    cursor: default;
    background-color: rgba(155, 155, 155, 0.75);
    color: rgb(179, 179, 179);
    border: 1px solid rgba(244, 244, 244, 0.2);
  }

  .autocomplete-dropdown {
    width: calc(min(530px, 60vw));
    border-radius: 3px;
    max-height: calc(min(400px, 60vh));
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    top: 30px;
    z-index: 4;
  }

  .autocomplete-suggestion {
    background-color: #555;
    cursor: pointer;
    padding: 6px 12px;
  }

  .autocomplete-suggestion[data-selected='true'] {
    background-color: #888;
  }
}

.collapsed-artist-search {
  background-color: rgba(244, 244, 244, 0.2);
  border-radius: 3px;
  border-color: rgba(155, 155, 155, 0.935);
  color: #eeeeeeaa;
  font-size: 18px;
  padding: 2px 7px;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  font-size: 16px;
  font-style: italic;
}

.mobile-open-ui-button {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  font-size: 14.5px;
  font-style: italic;
  outline: none;
  background-color: rgba(244, 244, 244, 0.2);
  border: 1px solid rgba(155, 155, 155, 0.5);
  color: #eeeeeedd;
  padding: 3px 5px 3px 5px;
}
