.option-box {
  cursor: pointer;
  background-color: #6b6b6b9a;
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  padding: 18px 20px 20px;
  -webkit-transition: all 0.1s ease-in-out;
  margin-top: 10px;
}
.option-box.active {
  color: #fff;
  background-color: #dd0000;
}
@media (max-width: 767px) {
  .option-box {
    padding: 10px 15px 15px;
    font-size: 20px;
  }
}
.form-title {
  font-size: 24px;
  font-weight: 700;
}
.form-input {
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 23px;
}
.form-select {
  margin-top: 15px;
  margin-bottom: 15px;
  border-radius: 0;
  font-size: 23px;
}
.hide {
  display: none;
}
.text-left {
  text-align: left !important;
}
.modal {
  width: 100%;
}
.modal-header {
  min-height: 45px;
}
.modal button.times {
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0;
}
.modal .times {
  float: right;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: 0.2;
}
.modal-custom .modal-content {
  -webkit-box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2),
    0 13px 19px 2px rgba(0, 0, 0, 0.14), 0 5px 24px 4px rgba(0, 0, 0, 0.12);
  box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2),
    0 13px 19px 2px rgba(0, 0, 0, 0.14), 0 5px 24px 4px rgba(0, 0, 0, 0.12);
  border: none;
  border-radius: 4px;
  background-color: #fff;
}
.modal-custom .modal-header {
  background: #dd0000;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  color: #fff;
  font-weight: 300 !important;
  border-bottom: none;
  padding: 1rem;
}
.modal-custom .modal-header .fas {
  float: left;
  margin: 0.5rem;
  font-size: 2rem;
  padding-top: 0.25rem;
}
.modal-custom .modal-header .fa {
  float: left;
  margin: 0.5rem;
  font-size: 2rem;
  padding-top: 0.25rem;
}
.modal-custom .modal-title {
  letter-spacing: 1px;
  font-size: 1.5rem;
  font-family: "Noto Sans TC", "微軟正黑體", sans-serif;
  font-weight: 300;
  padding: 0.5rem;
  width: 100%;
}
.modal-custom .modal-subtitle {
  padding: 5px 8px 0 0;
  letter-spacing: 1px;
}
.modal-custom .modal-body {
  padding: 2rem;
  background-color: #fff;
  word-break: break-all;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.75rem;
}
.modal-custom .modal-footer {
  border-top: none;
  background-color: #fff;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  margin-top: -1px;
}
.modal-custom.modal {
  text-align: center;
  padding: 0 !important;
}
.modal-custom .modal-dialog {
  text-align: left;
  vertical-align: middle;
  width: 60%;
}
.modal-custom .modal-header .times {
  float: right;
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
  color: #fff;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: 0.5;
}
.modal-default .modal-header {
  background: #fff;
}
.modal-primary .modal-header {
  background: #03a9f4;
}
.modal-success .modal-header {
  background: #a0d468;
}
.modal-info .modal-header {
  background: #4fc1e9;
}
.modal-warning .modal-header {
  background: #f6bf26;
}
.modal-danger .modal-header {
  background: #dd0000;
}
.modal-default .modal-header .close {
  color: #444;
}
.modal-default .modal-header {
  color: #444;
}
.modal-danger .modal-header .close {
  display: none;
}
.modal-custom .close {
  color: #fff;
}
#modal-contract .modal-dialog {
  max-width: 85%;
  width: 85%;
  margin: 1.75rem auto;
}
#modal-contract .modal-dialog a {
  color: #e60012;
}
@media (max-width: 768px) {
  .modal-custom .modal-dialog {
    width: auto;
  }
  #modal-contract .modal-dialog {
    max-width: none;
    width: auto;
    margin: var(--bs-modal-margin);
  }
  #modal-contract .modal-body {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
.test-warning {
  position: fixed;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding: 0 20px;
  background-color: #8fbc8f;
  bottom: 1rem;
  left: 1rem;
  border-radius: 10px;
  opacity: 0.8;
  z-index: 1000;
  line-height: 1.5;
}
.row-form {
  height: 48px;
}
.form-check {
  margin-top: 0.2rem;
  margin-bottom: 0;
  padding-left: 0;
  font-size: 23px;
}
.modalContract {
  font-weight: 600;
  cursor: pointer;
}
.form-box {
  background-color: #fff;
  padding: 50px;
  border-radius: 10px;
  margin-top: 0;
}
