.formPage {
  width: 100%;
}
.formPage form {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.formPage .itemgroup + .itemgroup {
  margin-top: 35px;
}
.licenselost .item p:after {
  content: "(*為必填欄位)";
  color: #f00;
}
.itemgroup .item {
  width: 100%;
  padding: 0 5px;
  position: relative;
}
.itemgroup .item p {
  font-size: 18px;
  font-weight: 700;
}
.landuseprove {
  position: relative;
}
.itemgroup .item label {
  display: block;
  width: 100%;
  font-size: 14px;
  margin-bottom: 5px;
  position: relative;
}
.formPage .item span {
  display: inline-block;
  width: 100%;
  padding: 5px 0 0 0;
  box-sizing: border-box;
  line-height: 1.5;
  text-align: left;
  position: relative;
}
.formPage .item .require::before {
  content: "*";
  color: #f00;
  display: inline-block;
  line-height: 1.5;
  padding: 5px;
  vertical-align: middle;
  position: absolute;
  left: -10px;
  top: 3px;
}
.formPage .item .labelName::after {
  content: "：";
}
.formPage .item input,
.formPage .item select {
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 5px;
  box-sizing: border-box;
  padding: 5px;
  line-height: 1.5;
  text-align: center;
  text-align-last: center;
}
.formPage .item input[type="radio"] {
  width: 10px;
}
.formPage .item textarea {
  width: 90%;
  height: 100px;
  display: block;
  margin: 0 auto;
}
.item .react-datepicker-wrapper input {
  width: 100%;
}
.formPage .item .errorMsg,
.landuseprove .errorMsg {
  display: none;
  width: auto;
  color: #f00;
  font-size: 12px;
  position: absolute;
  right: 50%;
  bottom: -22px;
  transform: translateX(50%);
}
.formPage .item .line.errorMsg {
  right: 50%;
  transform: translateX(50%);
}
.landuseprove .errorMsg {
  right: 50%;
}
.licensesetubapply:nth-child(odd) .licensesetub-build-tag::after,
.licphocopyapply:nth-child(odd) .licphocopyapply-build-tag::after {
  content: "（整編前）：";
  display: inline;
}
.licensesetubapply:nth-child(even) .licensesetub-build-tag::after,
.licphocopyapply:nth-child(even) .licphocopyapply-build-tag::after {
  content: "（整編後）：";
  display: inline;
}
.licensesetubapply:nth-child(odd) .licensesetub-location-tag::after,
.licphocopyapply:nth-child(odd) .licphocopyapply-location-tag::after,
.licphocopyapply:nth-child(odd) .copy-tag::after {
  content: "（重測前）：";
  display: inline;
}
.licensesetubapply:nth-child(even) .licensesetub-location-tag::after,
.licphocopyapply:nth-child(even) .licphocopyapply-location-tag::after,
.licphocopyapply:nth-child(even) .copy-tag::after {
  content: "（重測後）：";
  display: inline;
}
@media screen and (min-width: 768px) {
  .react-datepicker-wrapper {
    width: 70%;
  }
  .itemgroup .item {
    width: 60%;
    margin: 0 auto 20px;
  }
  .formPage .item span {
    text-align: left;
    width: 30%;
    padding: 5px;
  }
  .formPage .item input,
  .formPage .item select {
    width: 70%;
  }
  .formPage .item input:focus,
  .formPage .item select:focus {
    border: 1px solid #f00;
  }
  .item .react-datepicker-wrapper input {
    width: 100%;
  }
  .formPage .item .errorMsg,
  .landuseprove .errorMsg {
    bottom: -20px;
    right: 35%;
  }
  .itemgroup .item p {
    font-size: 18px;
    font-weight: 700;
  }
  .itemgroup .item label {
    font-size: 16px;
  }
  .licensesetub-build-tag::after {
    content: none !important;
  }
  .licensesetub-location-tag::after {
    content: none !important;
  }
}
