@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
}

#requestQuoteFormPhoneNumber,
#requestQuoteFormEmailAddress {
  padding-left: 30px;
}

.search-output-container,
.canada-search-output-container {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  /* border: 1px solid red; */
  padding: 10px;
  margin-top: 20px;
  max-height: 150px; /* Adjust this value based on the height of 3 children */
  overflow-y: auto; /* Enables vertical scrolling */
}

.submit_loading_container {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  /* border: 1px solid red; */
  padding: 10px;
  margin-top: 20px;
  max-height: 150px; /* Adjust this value based on the heigh
}

  .search-output-child:first-child,
  .canada-search-output-child:first-child {
  margin-top: 0; /* Removes top margin from the first child if any */
}

.search-output-child,
.canada-search-output-child {
  text-align: center;
  border: 0.5px solid rgb(132, 130, 130);
  width: 90%;
  border-radius: 20px;
  padding: 5px;
  font-size: 12px;
  font-weight: bold;
  margin: 5px;
}

.canada-search-output-child:hover,
.search-output-child:hover {
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.search-output-child-result,
.canada-search-output-child-result {
  display: none;
  text-align: center;
  padding-bottom: 15px;
}

/* Modal styles */
.modal,
.canadaModal {
  display: none;
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.submitModal {
  display: none;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.submitModal-header {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 12px;
}

.modal-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.modal-header > h2 {
  font-size: 20px;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  /* width: 35%; /* Could be more or less, depending on screen size */
  border-radius: 10px;
  max-width: 650px;
}

.submit-modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  width: 25%; /* Could be more or less, depending on screen size */
  border-radius: 10px;
}

.modal-content > p {
  font-size: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.form-group-container {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-bottom: 15px;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* .form-group {
display: flex;
flex: 0.5;
padding: 10px;
flex-direction: column;
} */

.form-group-city {
  display: flex;
  flex-direction: column;
  flex: 0.5;
  margin-right: 10px;
  /* padding: 10px; */
}

.form-group-city > label {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}

.form-group-state {
  display: flex;
  flex-direction: column;
  flex: 0.5;
  /* padding: 10px; */
}

.form-group-state > label {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}

.form-group-city > input {
  padding: 5px;
}

.form-group-state > select {
  font-size: 15px;
  padding: 15px;
  color: #2f3032ab;
  font-family: var(--body-font-family);
}

.landing-body .hsform-form-wrapper form select,
.landing-body-mobile .hsform-form-wrapper form select {
  padding: 0 30px !important;
  line-height: 2;
  -webkit-appearance: none; /* Remove default appearance */
  -moz-appearance: none; /* For Firefox */
  appearance: none; /* Modern browsers */
  line-height: 2;
  background: #f1f1f1 url('https://www.atlasvanlines.com/hubfs/logos/arrow-down.svg') no-repeat right 10px center;
  background-size: 10px;
}

@media not all and (min-resolution:.001dpcm) { 
  @supports (-webkit-appearance:none) {
    .landing-body .hsform-form-wrapper form select,
    .landing-body-mobile .hsform-form-wrapper form select {
      padding: 0 30px !important;
      -webkit-appearance: none; /* Remove default appearance */
      -moz-appearance: none; /* For Firefox */
      appearance: none; /* Modern browsers */
      line-height: 2;
      background: #f1f1f1 url('https://www.atlasvanlines.com/hubfs/logos/arrow-down.svg') no-repeat right 10px center;
      background-size: 10px;
    }
  }
}

.landing-body .hsform-form-wrapper form input[type="text"],
.landing-body-mobile .hsform-form-wrapper form input[type="text"] {
  padding: 0 30px;
}

.landing-body .hsform-form-wrapper .hsform-btn {
  width: 255px;
  text-align: center;
  justify-content: center;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 4px !important;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.loading_container,
.submit_loading_container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  align-content: center;
}

#loadingIcon,
#canada_loadingIcon {
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  animation: rotate 2s linear infinite; /* Rotate continuously */
}

#submit_loadingIcon {
  /* display: none; */
  width: 50px;
  height: 50px;
  text-align: center;
  animation: rotate 2s linear infinite; /* Rotate continuously */
}

#zipSearchForm > button {
  margin-top: 15px;
  padding: 10px 30px;
  border-radius: 20px;
  /* background-color: #025a9a; */
  background-color: #025a9a;
  color: whitesmoke;
  font-size: 12px;
  letter-spacing: 2px;
  border: 0.5px solid rgb(171, 171, 232);
  width: auto;
}

#zipSearchForm:hover > button {
  cursor: pointer;
  margin-top: 15px;
  border-radius: 20px;
  /* background-color: #025a9a; */
  background-color: #064b7d;
  color: whitesmoke;
}

/* END MODAL */

.hsform-main-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  flex-direction: column;
}

.hsform-form-wrapper {
  margin: 0 auto;
  width: 100%;
  background: white;
}

.hsform-steps {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #dde3ec;
}

.hsform-steps ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  gap: 40px;
}

.hsform-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #536387;
  font-family: var(--body-font-family);
}

.hsform-steps li span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dde3ec;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #536387;
}

.hsform-steps li.active {
  color: #07074d;
}

.hsform-steps li.active span {
  background: #009bdb;
  color: #ffffff;
}

.hsform-input-flex {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
}

.hsform-input-flex.flex-col {
  flex-direction: column;
}

.hsform-input-flex.flex-col > div {
  width: 100%;
}

.hsform-input-flex > div {
  width: 50%;
}

.hsform-form-input {
  width: 100%;
  border-radius: 0;
  border: 1px solid #dde3ec;
  background: #ffffff;
  font-weight: 500;
  font-size: 16px;
  color: #536387;
  outline: none;
  resize: none;
  font-family: var(--body-font-family);
  line-height: 1;
  padding-left: 30px;
}

select,
select:focus,
select:focus:focus,
.hsform-form-input,
input[type="text"] {
  padding: 13px;
  padding-left: 30px;
}

input[type="date"] {
  padding: 0.555555555555556rem 30px;
  padding-left: 0.555555555555556rem;
}

input[type="text"],
input[type="date"] {
  font-family: var(--body-font-family);
  line-height: 1;
}

.hsform-form-input:focus {
  border-color: #6a64f1;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}

.hsform-form-label {
  color: #07074d;
  font-weight: bold;
  font-size: 14px;
  line-height: 24px;
  display: block;
  margin-bottom: 10px;
  font-family: var(--body-font-family);
}

span.input-with-icon i.fas.fa-home {
  font-size: 15px;
}

span.input-with-icon i.fas.fa-home:before {
  font-size: 15px;
}

.hsform-form-confirm {
  border-bottom: 1px solid #dde3ec;
  padding-bottom: 35px;
}

.hsform-form-confirm p {
  font-size: 16px;
  line-height: 24px;
  color: #536387;
  margin-bottom: 22px;
  width: 75%;
}

.hsform-form-confirm > div {
  display: flex;
  gap: 15px;
}

.hsform-confirm-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 0.5px solid #dde3ec;
  border-radius: 5px;
  font-size: 16px;
  line-height: 24px;
  color: #536387;
  cursor: pointer;
  padding: 10px 20px;
  transition: all 0.3s ease-in-out;
}

.hsform-confirm-btn {
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.12);
}

.hsform-confirm-btn.active {
  background: #6a64f1;
  color: #ffffff;
}

.hsform-form-step-1,
.hsform-form-step-2,
.hsform-form-step-3 {
  display: none;
}

.hsform-form-step-1.active,
.hsform-form-step-2.active,
.hsform-form-step-3.active {
  display: block;
}

.hsform-form-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  margin-top: 25px;
}

.hsform-back-btn {
  cursor: pointer;
  background: #ffffff;
  border: none;
  color: #07074d;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  display: none;
}

.hsform-back-btn.active {
  display: block;
}

.hsform-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  border-radius: 5px;
  padding: 10px 25px;
  border: none;
  font-weight: 500;
  background-color: #ae0e37;
  color: white;
  cursor: pointer;
}

.hsform-btn:hover {
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}

span.input-with-icon {
  position: relative;
  display: block;
}

span.input-with-icon i {
  position: absolute;
  left: 12px;
  top: 13px;
  width: 13px;
  color: #999;
  text-align: center;
  caret-color: transparent;
}

.form-check-inline {
  display: inline-block;
  margin-right: 1rem;
}

.aaaMemberFields.hidden {
  display: none;
}

.validation-error {
  color: red;
  font-size: 12px;
}

.lookUpFromStateAndCity,
.lookUpToStateAndCity {
  display: inline-block;
  /* padding: 6px 12px; */
  /* margin-top: 10px; */
  font-size: 12px;
  font-weight: bold;
  color: #007bff;
  cursor: pointer;
  /* text-align: center; */
}

.lookUpToCanadaStateAndCity,
.lookUpFromCanadaStateAndCity {
  display: none;
  /* padding: 6px 12px; */
  /* margin-top: 10px; */
  font-size: 12px;
  font-weight: bold;
  color: #007bff;
  cursor: pointer;
  /* text-align: center; */
}

.lookUpFromStateAndCity:hover {
  /*  background-color: #0056b3;  Darker blue on hover */
  /* border-color: #0056b3; */
  color: #0865c8;
}

/* new added CSS */

.hsform-input-flex .zcf {
  line-height: 1.5;
}

#FZC label,
#TZC label {
  margin-bottom: 0;
}

.hsform-main-wrapper.style-lp {
  flex-direction: column;
}

.hsform-form-step-2 span.input-with-icon i {
  position: absolute;
  left: 8px;
  top: 13px;
}

.style-lp .lp-header {
  padding-top: 1.2rem !important;
  padding-bottom: 1rem !important;
  background-color: rgba(0, 155, 218, 1) !important;
  text-align: center;
  max-width: 550px;
  width: 100%;
}

.style-lp .lp-header h3 {
  color: #fff;
  font-size: 30px;
  line-height: 36px;
}

.style-lp .hsform-form-wrapper {
  padding: 50px;
}

@media (max-width: 767px) {
  .modal,
  .canadaModal {
    top: 45px;
    position: fixed;
  }

  .modal-content {
    width: 90%;
  }

  .form-group-container {
    flex-direction: column;
  }

  .form-group-container .form-group-city,
  .form-group-container .form-group-state {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hsform-main-wrapper {
    padding: 15px;
  }

  .hsform-form-wrapper .hsform-input-flex {
    flex-direction: column;
  }

  .hsform-form-wrapper .hsform-input-flex > div {
    width: 100%;
  }

  .hsform-form-btn-wrapper {
    justify-content: center;
  }
}

/* Landing Give Away */

@media screen and (max-width: 1200px) {
  .landing-body.giveaway-body {
    display: flex !important;
    flex-wrap: wrap;
    background-image: url(//44102333.fs1.hubspotusercontent-na1.net/hubfs/44102333/raw_assets/public/Atlas%20Canada%20Landing%20Page/images/picnic-bg.png) !important;
    background-size: cover !important;
  }

  .landing-body.giveaway-body .info-container {
    margin-bottom: 85px;
  }

  .landing-body .form-container {
    transform: translateY(-8px);
    max-width: 100%;
    margin: 0;
    transform: translateY(-8px);
    border-radius: 0px;
  }
}

@media screen and (max-width: 991px) {
}

@media screen and (max-width: 600px) {
  .landing-body.giveaway-body .info-container .info {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 599px) {
  .landing-body.giveaway-body .info-container {
    margin-bottom: 80px;
  }

  .landing-body.giveaway-body .info-container .info {
    margin-left: 20px;
    margin-right: 20px;
  }

  .landing-body.giveaway-body .info-container .bbq {
    display: none;
  }

  .landing-body.giveaway-body .info-container .info {
    max-width: 440px;
    margin: 40px auto 0;
  }
}

@media screen and (max-width: 400px) {
  .landing-body.giveaway-body {
    height: 100vh;
  }

  .landing-body.giveaway-body .info-container .info {
    max-width: 350px;
  }

  .landing-body.giveaway-body .info-container {
    margin-bottom: 255px;
  }
}