.sm-mp-select-is-ready {
  display: block !important;
}

.mpselect-container .nf-field-element,
.mpselect-container select.nf-element {
  display: block;
  width: 100%;
}

.mpselect-container.sm-mp-select-is-ready .nf-field-element {
  display: none !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: auto;
  clip-path: none;
}

.mpselect-container select.nf-element {
  position: static !important;
  clear: both;
  box-sizing: border-box;
  height: 50px !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 8px 10px !important;
}

.mpselect-container .nf-field-element > div {
  display: none !important;
  pointer-events: none;
}

.mpselect-container .nf-field-element::before,
.mpselect-container .nf-field-element::after,
.mpselect-container .nf-field-element > div::before,
.mpselect-container .nf-field-element > div::after {
  content: none !important;
  display: none !important;
}

.sm-mp-lookup {
  position: static !important;
  display: block !important;
  height: auto !important;
  width: 100% !important;
  margin-bottom: 12px;
  padding: 0;
}

.sm-mp-lookup__label {
  display: block !important;
  margin: 0 0 8px !important;
  font-weight: 900;
  line-height: 1.2;
}

.sm-mp-lookup__method {
  margin-top: 14px;
}

.sm-mp-lookup__method-label {
  position: absolute !important;
  left: -99999px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.sm-mp-lookup__divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  color: #80889a;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.sm-mp-lookup__divider::before,
.sm-mp-lookup__divider::after {
  content: "";
  display: block;
  flex: 1 1 auto;
  height: 1px;
  background: #d6dce9;
}

.sm-mp-lookup__controls {
  position: static !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
}

.sm-mp-lookup__controls::before,
.sm-mp-lookup__controls::after {
  content: none !important;
  display: none !important;
}

.sm-mp-lookup__input {
  position: static !important;
  display: block !important;
  flex: 1 1 auto;
  box-sizing: border-box;
  width: 100% !important;
  height: 50px !important;
  min-width: 0;
  margin: 0 !important;
  padding: 8px 10px !important;
  color: #292b31 !important;
  font: inherit !important;
  font-size: 1em !important;
  line-height: 1.7em !important;
}

.sm-mp-lookup__button {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  display: inline-block !important;
  flex: 0 0 auto;
  height: 50px !important;
  margin: 0 !important;
  white-space: nowrap;
}

.sm-mp-lookup__message {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.35;
}

.sm-mp-postcode-lookup__message--success,
.sm-mp-search__message--success {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid #657e3c;
  background: #edfdd3;
  color: #657e3c;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.sm-mp-postcode-lookup__message--error,
.sm-mp-search__message--error {
  color: #b60218;
  font-weight: 900;
}

.sm-mp-search {
  position: relative;
}

.sm-mp-search__results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0 !important;
  right: 0 !important;
  max-height: 280px;
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
  overflow-y: auto;
  list-style: none !important;
  border: 1px solid #c4c4c4;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.mpselect-container .sm-mp-search__results,
.fix-text .sm-mp-search__results {
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
}

.sm-mp-search__results[hidden] {
  display: none !important;
}

.sm-mp-search__result {
  margin: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 0 !important;
  padding: 10px 12px;
  padding-left: 12px !important;
  list-style: none !important;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.35;
}

.mpselect-container .sm-mp-search__result,
.fix-text .sm-mp-search__result {
  margin: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 12px !important;
  list-style: none !important;
}

.sm-mp-search__result:hover,
.sm-mp-search__result:focus,
.sm-mp-search__result--active {
  background: #f2f5fa;
}

@media screen and (max-width: 550px) {
  .sm-mp-lookup__controls {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .sm-mp-lookup__button {
    width: auto;
    min-width: 112px;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
}
