* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.autocomplete {
  position: relative;
  display: inline-block;
  width: 100%;
}

.loader {
  border: 5px solid #daddd8;
  border-top: 5px solid #18a8d6;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  position: absolute;
  right: -10px;
  top: 0;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.formDiv {
  color: #05547d;
  font-size: 15px;
  margin-top: 10px;
  text-align: right;
  width: calc(100% + 13px);
}

.no-results {
  color: #05547d;
}

.formSwitch {
  cursor: pointer;
}

.manualAddress {
  display: none;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  width: calc(100%);
  max-height: 300px;
  overflow-y: scroll;
  border-bottom: 1px solid #d4d4d4;
}

.error {
  margin-top: 5px;
  color: red;
  font-size: 13px;
  margin-bottom: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

.sm-preform {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  font-family: "Montserrat", sans-serif !important;
  min-height: 350px;
  background: #fff;
  width: 940px;
  padding: 8px 15px 15px;
  font-family: "montserat";
  font-size: 16px;
  border-radius: 15px;
  box-shadow: 2px 2px 6px rgb(0 0 0 / 40%);
}

.sm-preform__label {
  color: #21739e;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 5px;
}

.sm-preform__input {
  padding: 10px 13px;
  font-family: Montserrat, sans-serif !important;
  font-size: 17px;
  margin: 0;
  height: 54px;
  border: 2px solid #949494 !important;
  color: #131313 !important;
  border-radius: 5px;
  padding-left: 15px;
  outline: none;
}

.autocomplete-items {
  font-family: Montserrat, sans-serif !important;
}

.sm-preform_checkbox {
  padding-top: 10px;
  padding-bottom: 20px;
}

.sm-preform__submit {
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.5px;
  border: 0;
  border-radius: 5px;
  background: #ff5757;
  transition: all 0.25s ease;
  font-size: 16px;
  height: 54px;
  width: 246px;
}

.sm-preform__submit:hover {
  background-color: #e13030;
}

.sm-preform__check {
  display: inline;
  margin-right: 2px;
  cursor: pointer;
}

.sm-preform__check-lbl {
  line-height: 1;
  font-size: 0.75em;
  display: inline;
}

.sm-preform__error {
  color: red;
  margin-top: 15px;
  display: none;
}

.sm-addressesTo {
  display: none;
  flex-direction: column;
}

.sm-addressesFrom {
  display: none;
  flex-direction: column;
}

.suppliers-loading-pre {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.suppliers-loading-pre p {
  margin-top: 30px;
}

.loader2-pre {
  border: 5px solid #daddd8;
  border-top: 5px solid #18a8d6;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  margin-top: 30px;
}

.smf-logo-spinner-pre {
  height: 50px;
  object-fit: contain;
  margin-top: -70px;
}

.automatic_find {
  font-weight: 700;
  cursor: pointer;
  color: #18a8d6;
}

.manual_switchTo {
  cursor: pointer;
  margin-left: auto;
  color: #21739e;
  margin-top: 10px;
}

.manual_switchFrom {
  cursor: pointer;
  margin-left: auto;
  color: #21739e;
  margin-top: 10px;
}

.manual_divTo {
  display: none;
}

.manual_divFrom {
  display: none;
}

.sm-preform-left {
  width: 60%;
}

.sm-preform-left-title {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.3;
  padding-top: 15px;
  padding-right: 55px;
}

.sm-preform-left-content {
  padding-top: 5px;
  font-size: 18px;
  color: #545454;
}

.sm-preform-left-inputs {
  display: flex;
  /* justify-content: space-between; */
  margin-top: 15px;
}

.sm-preform-right {
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding-left: 25px; */
}

.sm-preform-input-email-padding {
  margin-top: 15px;
}

.sm-preform-input-email-width {
  width: 95%;
}

.sm-preform-input-postcode-width {
  width: 246px;
}

.sm-preform-left-buttons {
  margin-top: 10px;
  /* margin-bottom: 10px; */
  display: flex;
  justify-content: space-between;
}

.sm-preform-left-buttons-trustpilot {
  display: flex;
  justify-content: space-between;
}

.sm-preform-left-buttons-trustpilot-content {
  display: flex;
  align-items: center;
  font-size: 13px;
}

.sm-preform-left-buttons-trustpilot-icon {
  margin-bottom: 4px;
}

.sm-preform-address-set {
  display: flex;
  justify-content: space-between;
}

.sm-preform-enter-address-manually-part {
  display: flex;
  justify-content: end;
  margin-bottom: 20px;
  font-size: 14px;
}

.sm-preform-enter-address-manually-button {
  display: block;
  text-decoration: underline;
  cursor: pointer;
}

.sm-preform-use-address-finder-button {
  display: none;
  text-decoration: underline;
  cursor: pointer;
}

.addressesFromSet {
  margin-top: -5px;
  cursor: pointer;
  color: #545454;
  position: absolute;
  background: white;
  width: 237px;
  line-height: 1.25;
  padding-left: 13px;
  font-size: 14px;
  height: 135px;
  overflow: hidden;
  overflow-y: scroll;
  border: 2px solid #d4d4d4;
  border-radius: 5px;
}

.addressesFromItem {
  padding-top: 3px;
  padding-bottom: 3px;
}

.addressesFromItem:hover {
  color: black;
}

.addressesToSet {
  margin-top: -5px;
  cursor: pointer;
  color: #545454;
  position: absolute;
  background: white;
  width: 237px;
  line-height: 1.25;
  margin-left: 251px;
  padding-left: 13px;
  font-size: 14px;
  height: 135px;
  overflow: hidden;
  overflow-y: scroll;
  border: 2px solid #d4d4d4;
  border-radius: 5px;
}

.addressesToItem {
  padding-top: 3px;
  padding-bottom: 3px;
}

.addressesToItem:hover {
  color: black;
}

@media only screen and (min-width: 1000px) {
  .desktop-view {
    display: block;
  }

  .mobile-view {
    display: none;
  }
}

@media only screen and (max-width: 1000px) {
  .desktop-view {
    display: none;
  }

  .mobile-view {
    display: block;
  }
}

.sm-preform-mobile {
  margin: 0 auto;
  font-family: "Montserrat", sans-serif !important;
  min-height: 820px;
  background: #fff;
  width: 350px;
  padding: 5px 30px 20px;
  font-family: "montserat";
  font-size: 16px;
  border-radius: 15px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  padding-bottom: 0px;
}

.sm-preform-mobile-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sm-preform-mobile-title {
  width: 98%;
  margin-left: 10px;
  font-size: 24px;
  font-weight: 500;
}

.sm-preform-mobile-content {
  width: 98%;
  margin-left: 10px;
  margin-top: 10px;
  font-size: 16px;
  color: #545454;
}

.sm-preform-mobile-input {
  margin-left: 10px;
  margin-top: 15px;
}

.sm-preform-mobile-email-input-width {
  width: 98%;
}

.addressesFromSet-mobile {
  margin-left: 10px;
  margin-top: -5px;
  cursor: pointer;
  color: #545454;
  position: absolute;
  background: white;
  width: 275px;
  line-height: 1.25;
  padding-left: 13px;
  font-size: 14px;
  height: 135px;
  overflow: hidden;
  overflow-y: scroll;
  border: 2px solid #d4d4d4;
  border-radius: 5px;
  z-index: 10;
}

.addressesToSet-mobile {
  margin-left: 10px;
  margin-top: -5px;
  cursor: pointer;
  color: #545454;
  position: absolute;
  background: white;
  width: 275px;
  line-height: 1.25;
  padding-left: 13px;
  font-size: 14px;
  height: 135px;
  overflow: hidden;
  overflow-y: scroll;
  border: 2px solid #d4d4d4;
  border-radius: 5px;
}

.sm-preform__submit-mobile {
  margin-left: 10px;
  margin-top: 15px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.5px;
  border: 0;
  border-radius: 5px;
  background: #ff5757;
  transition: all 0.25s ease;
  font-size: 18px;
  height: 54px;
  width: 275px;
}

.sm-preform__submit-mobile:hover {
  background-color: #e13030;
}

.sm-preform-trustpilot-mobile {
  margin-top: 20px;
  padding-bottom: 25px;
  display: flex;
  justify-content: center;
}

.sm-preform-trustpilot-mobile-width {
  width: 50%;
}

.sm-preform-left-buttons-trustpilot-content-mobile {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #545454;
}

.sm-preform-enter-address-manually-part-mobile {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 14px;
}

.sm-preform-enter-address-manually-button-mobile {
  margin-left: 115px;
  display: block;
  text-decoration: underline;
  cursor: pointer;
}

.sm-preform-use-address-finder-button-mobile {
  margin-left: 148px;
  display: none;
  text-decoration: underline;
  cursor: pointer;
}

.postcode-inputs {
  display: none;
}

.postcode-inputs-mobile {
  display: none;
  margin-left: 10px;
  margin-top: 15px;
}
