/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

#destination-search {
  z-index: 3;
}

#destination-search.transparent {
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

#destination-search > .page {
  width: 640px;
}

#destination-search .user-info {
  -webkit-padding-end: 18px;
  -webkit-padding-start: 18px;
  display: flex;
  padding-bottom: 14px;
}

#destination-search .account-select-label {
  height: 2em;
  line-height: 2em;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
  white-space: nowrap;
}

#destination-search .account-select {
  -webkit-margin-start: 18px;
  width: auto;
}

#destination-search > .page > .close-button {
  top: 9px;
}

#destination-search .search-box {
  margin: 14px;
  user-select: none;
}

#destination-search .lists {
  -webkit-box-flex: 1;
  overflow-y: auto;
}

#destination-search .lists > * {
  padding: 0 14px 18px;
  user-select: none;
}

#destination-search .lists > :last-child {
  padding-bottom: 0;
}

#destination-search .invitation-container {
  -webkit-box-align: center;
  -webkit-box-orient: vertical;
  animation: invitation-fadein 500ms;
}

@keyframes invitation-fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#destination-search .invitation-text {
  padding-bottom: 12px;
}

#destination-search .invitation-buttons {
  align-items: center;
  display: flex;
  justify-content: center;
}

#destination-search .invitation-buttons > *:not(:first-child) {
  -webkit-margin-start: 10px;
}

#destination-search .invitation-cloud-print-information {
  padding-top: 12px;
}

#destination-search #invitation-process-throbber {
  display: block;
}

#destination-search .cloudprint-promo {
  -webkit-box-align: center;
  user-select: none;
}

#destination-search .cloudprint-promo .sign-in[is='action-link'] {
  padding: inherit;
}

#destination-search .cloudprint-promo .icon {
  -webkit-margin-end: 12px;
  display: block;
  height: 24px;
  width: 24px;
}

#destination-search .cloudprint-promo .promo-text {
  -webkit-box-flex: 1;
}

#destination-search .cloudprint-promo .close-button {
  -webkit-margin-start: 12px;
  background-image: -webkit-image-set(
    url(chrome://theme/IDR_CLOSE_DIALOG) 1x,
    url(chrome://theme/IDR_CLOSE_DIALOG@2x) 2x);
  background-repeat: no-repeat;
  background-size: 14px;
  height: 14px;
  width: 14px;
}

#destination-search .cloudprint-promo .close-button:hover {
  background-image: -webkit-image-set(
    url(chrome://theme/IDR_CLOSE_DIALOG_H) 1x,
    url(chrome://theme/IDR_CLOSE_DIALOG_H@2x) 2x);
}

#destination-search .cloudprint-promo .close-button:active {
  background-image: -webkit-image-set(
    url(chrome://theme/IDR_CLOSE_DIALOG_P) 1x,
    url(chrome://theme/IDR_CLOSE_DIALOG_P@2x) 2x);
}
