.salesforce {
  position: relative;
  text-align: left;
}


.salesforce,
.tks {
  padding: 20px 0;
  line-height: 1.7;
  width: 100%;
  max-width: 700px;
  margin: auto;
  font-size: 18px;
  font-weight: 300;
  color: #171717;
}
.tks {
  display: none;
}

.sfItem {
  margin-bottom: 1rem;
}

.salesforce input[type="text"],
.salesforce input[type="tel"] {
  border: 1px solid #999;
  padding: 8px;
  display: block;
  margin: auto;
  width: 100%;
  font-size: 18px;
  color: #171717;
  font-weight: 300;
  border-radius: 0;
  height: 40px;
}
.salesforce textarea {
  width: 100%;
  border: 1px solid #999;
  padding: 8px;
  display: block;
  margin: auto;
  font-size: 18px;
  color: #171717;
  font-weight: 300;
}
.salesforce input[type="text"]::-webkit-input-placeholder {
  color: #666;
  font-size: 18px;
  font-weight: 300;
  opacity: .7;
}
.salesforce input[type="text"]:-ms-input-placeholder {
  color: #666;
  font-size: 18px;
  font-weight: 300;
  opacity: .7;
}
.salesforce input[type="text"]::-ms-input-placeholder {
  color: #666;
  font-size: 18px;
  font-weight: 300;
  opacity: .7;
}
.salesforce input[type="text"]::placeholder {
  color: #666;
  font-size: 18px;
  font-weight: 300;
  opacity: .7;
}
.salesforce input[type="tel"]::-webkit-input-placeholder {
  color: #666;
  font-size: 18px;
  font-weight: 300;
  opacity: .7;
}
.salesforce input[type="tel"]:-ms-input-placeholder {
  color: #666;
  font-size: 18px;
  font-weight: 300;
  opacity: .7;
}
.salesforce input[type="tel"]::-ms-input-placeholder {
  color: #666;
  font-size: 18px;
  font-weight: 300;
  opacity: .7;
}
.salesforce input[type="tel"]::placeholder {
  color: #666;
  font-size: 18px;
  font-weight: 300;
  opacity: .7;
}
.salesforce .error {
  font-size: 80%;
  color: #d80c18;
  display: none;
}
.rq {
  color: #d80c18;
  display: inline-block;
  vertical-align: text-bottom;
  padding: 0 5px;
}
.ps{
  color: #d80c18;
  display: inline-block;
  vertical-align: text-bottom;
  padding: 0 5px;
  margin-bottom: 10px;
  font-size: 14px;
}
.salesforce .errorSubmit {
  width: 100%;
  text-align: center;
}
.salesforce .errorSubmit.show {
  display: block;
}
.salesforce input[type="checkbox"] {
  display: none;
}
.salesforce select {
  width: 100%;
  border: 1px solid #999;
  padding: 4.5px 8px;
  display: block;
  font-size: 18px;
  font-weight: 300;
  color: #171717;
  border-radius: 0;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  appearance: none;
  background-image: url(./icon_arrow.png);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 27px;
  height: 40px;
}
.salesforce select.full {
  max-width: inherit;
}
.salesforce select:focus {
  /* outline-color: transparent; */
  border: 1px solid #999;
  outline: none !important;
}
.salesforce #location {
  /* max-width: 240px; */
  margin-left: 0;
}

.salesforce label {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: inline-block;
  /* 防止文字被滑鼠選取反白 */
}

.salesforce input[type="checkbox"] + span {
  display: inline-block;
  background-image: url(./icon_click.gif);
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: 100%;
  margin-right: 6px;
  vertical-align: middle;
  margin-top: -3px;
  transition: 0.3s;
}

.salesforce input[type="checkbox"]:checked + span {
  background-image: url(./icon_clicked.gif);
}

.salesforce .policy {
  font-size: 80%;
}
.salesforce .invisible {
  font-size: 80%;
  opacity: 0.75;
  background-color: #ddd;
  padding: 10px;
  display: none;
}
.salesforce #sfBtn {
  display: none;
}
.salesforce .tks {
  text-align: center;
}
.salesforce strong,
.tks strong {
  font-weight: 500;
}
@media screen and (max-width: 500px) {
  .salesforce,
  .tks,
  .salesforce select,
  .salesforce input[type="text"],
  .salesforce input[type="tel"] {
    font-size: 17px;
  }
  .salesforce .policy {
    font-size: 70%;
  }
}

.salesforce .policy {
  text-align: left !important;
}

.salesforce.tksB .tks {
  text-align: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.salesforce.tksB .tks.notcover {
  position: relative;
}
.salesforce.tksB .tks.cover {
  position: absolute;
}

.salesforce.tksB .tks_con {
  position: absolute;
  background-color: rgb(255 255 255 / 80%);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 100px;
}

.salesforce.tksB .tks_con > div {
  padding: 30px 30px 30px;
  box-shadow: 0 0 13px rgb(0 0 0 / 35%);
  background-color: #4A545C;
  /* margin-bottom: 150px; */
}

.salesforce.tksB .tks p {
  font-weight: 400;
  width: 100%;
  padding: 0;
  margin: 0;
  color: #fff;
}

.salesforce.tksA .tks {
  text-align: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.salesforce.tksA .tks.notcover {
  position: relative;
}
.salesforce.tksA .tks.cover {
  position: absolute;
}

.salesforce.tksA .tks_con {
  position: absolute;
  background-color: rgb(255 255 255 / 80%);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 100px;
}

.salesforce.tksA .tks_con > div {
  padding: 0 20px;
}

.salesforce.tksA .tks p {
  font-weight: 400;
  width: 100%;
  padding: 0;
  margin: 0;
}

.salesforce .policy {
  margin: 0;
}


.buttonSubmit {
  letter-spacing: 0.5px;
  width: 200px;
  border: none;
  background-color: #b6040e;
  border: 1px solid #b6040e;
  padding: 8px 0;
  font-size: 18px;
  cursor: pointer;
  margin: 1.7rem auto 10px auto;
  color: #fff;
  display: block;
  transition: 0.3s;
  line-height: inherit;
}
.buttonSubmit:hover {
  background-color: transparent;
  color: #b6040e;
}


.salesforce .radioType {
  display: inline-block;
  width: 100%;
}

@media screen and (max-width: 500px) {
  .salesforce .radioType {
    display: block;
    width: 100%;
    margin-top: 5px;
  }
}

.salesforce .checkboxType {
  display: inline-block;
  width: 100%;
}

@media screen and (max-width: 500px) {
  .salesforce .checkboxType {
    display: block;
    width: 100%;
    margin-top: 5px;
  }
}

.salesforce input[type='radio'] {
  display: none;
}

.salesforce input[type='radio']+span {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
  margin-top: -3px;
  border-radius: 20px;
  border: 1px solid #444;
  position: relative;
}

.salesforce input[type='radio']+span::after {
  content: "";
  width: 14px;
  height: 14px;
  background-color: #ddd;
  border-radius: 14px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.salesforce input[type='radio']:hover+span::after {
  background-color: #aaa;
}

.salesforce input[type='radio']:checked+span::after {
  background-color: #444;
}

.salesforce input[type='radio'][disabled]+span {
  border-color: #ddd;
  cursor: default;
}

.salesforce input[type='radio'][disabled]:hover+span::after {
  background-color: #ddd;
}

.salesforce .fulled {
  display: none;
}

.salesforce input[type='radio'][disabled]~.fulled {
  display: inline;
}

.salesforce input[type='radio'][disabled]~span {
  color: #aaa;
  cursor: not-allowed;
}

.salesforce a {
  /* color: #003a9f; */
  text-decoration: underline;
}