/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

address-option.rich-option {
  grid-row-gap: 5px;
}

address-option > .line {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

address-option > .line:empty {
  /* Hide the 2nd line in cases where it's empty
     (e.g. payer field with one or two fields requested) */
  display: none;
}

address-option > .line > span {
  white-space: nowrap;
}

address-option > .line > span:empty::before {
  /* Show the string for missing fields in grey when the field is empty */
  color: GrayText;
  content: attr(data-missing-string);
}
