/* Contact Form 7 integration for the untouched legacy transport design. */
#a1_form .wpcf7 {
  margin: 0;
}

#a1_form .wpcf7-form-control-wrap {
  display: block;
}

#a1_form .transport-check-list .wpcf7-list-item,
#a1_form .transport-radio-list .wpcf7-list-item {
  display: block;
  margin: 0 0 8px;
}

#a1_form .transport-check-list label,
#a1_form .transport-radio-list label {
  cursor: pointer;
}

#a1_form .transport-check-list input,
#a1_form .transport-radio-list input {
  margin: 0 8px 0 0;
}

#a1_form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #df0615;
  font-size: 1.3rem;
}

#a1_form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-width: 1px;
  font-size: 1.4rem;
  line-height: 1.7;
}

#a1_form .zip_search {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #bbb;
  background: #ccc;
  color: #333;
  cursor: pointer;
}

#a1_form .transport-form-confirm {
  padding: 20px 0 5px;
}

#a1_form .transport-form-confirm h4,
#a1_form .transport-form-complete h4 {
  margin-bottom: 20px;
  color: #009a43;
  font-size: 2rem;
  text-align: center;
}

#a1_form .transport-form-confirm th {
  white-space: normal;
}

#a1_form .transport-form-confirm td {
  white-space: pre-wrap;
}

#a1_form .transport-form-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

#a1_form .transport-form-actions button {
  width: 260px;
  min-height: 60px;
  margin-top: 30px;
  border: 0;
  border-radius: 5px;
  background: #666;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

#a1_form .transport-form-actions .transport-confirm-send {
  background: #009a43;
}

#a1_form .transport-form-actions button:hover {
  background: #bf0008;
}

#a1_form .transport-form-complete {
  margin: 30px 0;
  padding: 35px 25px;
  border: 1px solid #ccc;
  background: #f5fff6;
  text-align: center;
}

#a1_form .transport-form-complete p {
  line-height: 1.9;
}

#a1_form .wpcf7-spinner {
  vertical-align: middle;
}

/* The legacy CSS references an image that is already 404 on the old server. */
.other_pages .col .ttl::after {
  background-image: none;
}

@media screen and (max-width: 767px) {
  #a1_form .wpcf7-form-control-wrap,
  #a1_form .wpcf7-list-item,
  #a1_form .wpcf7-list-item-label {
    display: inline;
  }

  #a1_form .transport-check-list .wpcf7-list-item,
  #a1_form .transport-radio-list .wpcf7-list-item {
    display: block;
  }

  #a1_form .zip_search {
    margin-top: 8px;
  }

  #a1_form .transport-form-actions {
    display: block;
  }

  #a1_form .transport-form-actions button {
    width: 100%;
    margin-top: 15px;
  }
}
