/* Copyright Ayers Electronics Inc. All rights reserved. */

/* The Networks list's search bar. Its field takes the remaining width; the count owns only its
   words. The first-run shell retains Enter Home Address in the same keyboard order. */
.gate-bar.networks-bar {
  flex-direction: row;
  align-items: center;
  min-height: 44px;
  padding: 0 0 8px;
  margin-bottom: 8px;
}
.gate-bar.networks-bar > * + * {
  margin-left: 8px;
}
#networksCheck {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-color: transparent;
  background: transparent;
}
#networksCheck .ico {
  width: 20px;
  height: 20px;
}
#networksCheck:hover:not(:disabled) {
  background: var(--elevated);
}
#networksCheck:disabled {
  opacity: 0.5;
}
.networks-search-field {
  position: relative;
  display: flex;
  flex: 1 1 160px;
  align-items: center;
  min-width: 120px;
  height: 44px;
}
.networks-search-field .ico {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  color: var(--muted);
  pointer-events: none;
}
.networks-search {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 12px 0 38px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  text-align: left;
  font: inherit;
  font-size: var(--type-label);
}
#networksHomeAddress {
  flex: none;
  min-height: 44px;
}
#networksState {
  flex: 0 1 auto;
  max-width: 12em;
  margin-left: 12px;
  line-height: 1.25;
}
@media (max-width: 600px) {
  .networks-search-field {
    flex-basis: calc(100% - 52px);
  }
  #networksHomeAddress {
    margin-top: 6px;
    margin-left: 0;
  }
  #networksState {
    margin-top: 6px;
    margin-left: auto;
  }
}
