/**
 * Field for postcode search
 */

.shipit-agent-search-postcode {
  margin-top: 20px;
}

.shipit-agent-search-postcode label {
  display: inline-block;
  margin-right: 5px;
}

.shipit-agent-search-postcode input[type="text"] {
  display: inline-block;
  width: 120px;
  margin-right: 5px;
}

.shipit-agent-search-postcode span.error {
  display: inline-block;
  color: #626262;
  font-size: 0.9em;
}


/**
 * Agents table
 */

.table-shipit-agent-search tbody td {
  vertical-align: middle;
}


/* RADIO FIX (prevents ellipse/stretching) */
.table-shipit-agent-search td input[type="radio"] {
  margin: 0 5px 0 0;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}


.table-shipit-agent-search td label.shipit-agent {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.3;
}

/* LOGO CONTAINER FIX (replace valign hack with flex) */
.table-shipit-agent-search .shipit-agent-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 120px;
}


/* REMOVE OLD VALIGN HACK EFFECTIVELY */
.table-shipit-agent-search .shipit-agent-logo .valign-helper {
  display: none;
}


/* LOGO IMAGE FIX */
.table-shipit-agent-search .shipit-agent-logo img {
  display: block;
  max-height: 36px;
  max-width: 100%;
  object-fit: contain;
}


/* INFO BLOCK */
.table-shipit-agent-search .shipit-agent-info {
  display: inline-block;
  vertical-align: top;
}


/* ADDRESS STYLE */
.table-shipit-agent-search .shipit-agent-address {
  font-size: 0.9em;
  color: #626262;
}
