.orders-form,
.inquiry-form {
  background-color: #F6F6F6;
  padding: 3rem 0;
}

.orders-form form,
.inquiry-form form {
  box-shadow: 0rem 1.4rem 2rem #00000014;
  max-width: 50rem;
  margin: 0 auto;
  background-color: #fff;
  padding: 4.4rem 5.5rem;
}

.orders-form form .form-title *,
.orders-form form h3,
.inquiry-form  form .form-title *, 
.inquiry-form  form h3 {
  font-size: 2.4rem;
  font-family: 'Metropolis Semi';
  letter-spacing: 0.06rem;
  margin-bottom: 3rem;
  color: #333333;
}

.orders-form-bottom {
  padding-top: 3.5rem;
}

.orders-form-bottom a.btn,
.orders-form-bottom button.btn {
  width: 100%;
  box-shadow: 0rem 1rem 2.4rem #0000001a !important;
  margin-bottom: 1.5rem;
}

.orders-form-bottom span {
  font-size: 1.2rem;
  color: #B7B7B7;
}

.checkbox-agreement label.error {
  font-size: 1.4rem;
    font-family: 'Metropolis Semi';
    letter-spacing: 0.028rem;
}

.checkbox-container input[type="checkbox"].error ~ .checkmark {
  border: 0.1rem solid red;
}

.orders-form form input:not([type="checkbox"]),
.inquiry-form form input:not([type="checkbox"])  {
  border: 0.1rem solid #DCDCDC;
  border-radius: 0.5rem;
  width: 100%;
  height: 5.2rem;
  padding: 2rem;
  font-size: 1.4rem;
  letter-spacing: 0.028rem;
}

.checkbox-container {
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 2rem;
  min-width: 2rem;
  margin: 0 1.4rem 0 0;
  font-size: 0;
  line-height: 0;
  height: 2rem;
}

.checkbox-container .checkmark {
  position: absolute;
  top: -0.3rem;
  left: 0;
  height: 2rem;
  width: 2rem;
  background-color: #eee;
  border-radius: 0.3rem;
}

.checkbox-container .checkmark:after {
  left: 0.8rem;
  top: 0.4rem;
  width: 0.5rem;
  height: 1rem;
  border: solid white;
  border-width: 0 0.3rem 0.3rem 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--header_active_color, #008E2F);
  border-color: var(--header_active_color, #008E2F);
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.orders-form form .orders-form-box  {
  margin-top: 3rem;
}

.orders-dual .orders-form-box:first-of-type{
  width: 12.8rem;
  margin-right: 1.5rem;
}

.orders-dual .orders-form-box:last-of-type{
  width: calc(100% - 14.3rem);
}

.orders-form form .orders-form-box label {
  font-size: 1.4rem;
  font-family: 'Metropolis Semi';
  letter-spacing: 0.028rem;
}

.checkbox-wraper {
  display: flex;
  margin-top: 2rem;
}

.checkbox-wraper input[type="checkbox"],
.orders-form-box input[type="checkbox"] {
  border: 0.1rem solid #DCDCDC;
  border-radius: 0.3rem;
  width: 1.8rem;
  height: 1.8rem;
  min-width: 1.8rem;
  margin-right: 1.4rem;
}

.orders-form-box .optional-info {
  color: #B7B7B7;
  font-size: 1.4rem;
  font-weight: 300;
  font-family: 'Metropolis';
}

.orders-form form textarea {
  border: 0.1rem solid #DCDCDC;
  border-radius: 0.5rem;
  width: 100%;
  height: 10rem;
  resize: none;
  padding: 2rem;
  font-size: 1.4rem;
  letter-spacing: 0.028rem;
}

.checkbox-agreement .checkbox-wraper label {
  font-size: 1.2rem;
  font-family: 'Metropolis';
  font-weight: normal;

  line-height: 1.4rem;
}

.checkbox-agreement .checkbox-wraper label strong {

}

.invoice-box {
  display: none;
}

#bothBox:checked ~ #bothUnchecked{
  display: none;
}


@media (max-width: 992px) {
  .orders-dual .orders-form-box:first-of-type{
    width: 100%;
    margin-right: 0;
  }

  .orders-form form {
    padding: 3rem 2.5rem;
  }

  .order-title {
    max-width: 100%;
    margin: 0.5rem 0rem;
  }
  
  .orders-dual .orders-form-box:last-of-type{
    width: 100%;
  }
}

.inquiry-form form {
  font-size: 1.3rem;
}

.inquiry-form table {
  width: 100%;
}

.inquiry-form .img-wrapper img {
  width: 100%;
  height: auto;
}

.inquiry-form .chk-wrapper {
  user-select: none;
  padding-left: 2.5rem;
  margin-bottom: 1.2rem;
  cursor: pointer;
  font-size: 1.3rem;
  position: relative;
  top: 0;
  left: 0;
}

.inquiry-form .chk-wrapper input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  background-color: #fff;
}

.inquiry-form .chk-wrapper .checkmark {
  position: absolute;
  top: 0.1rem;
  left: 0;
  height: 1.5rem;
  width: 1.5rem;
  border: 0.1rem solid #555;
  border-radius: 0.4rem;
  
  /* background-color: #fff; */
}

.inquiry-form .chk-wrapper:hover input ~ .checkmark {
  background-color: #fff;
}

.inquiry-form .chk-wrapper input:checked ~ .checkmark {
  background-color: #2196F3;
  background-color: #11294a;
  border-color: #11294a;
}

.inquiry-form .chk-wrapper .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 0.4rem;
  top: 0.1rem;
  width: 0.5rem;
  height: 1rem;
  border: solid white;
  border-width: 0 0.3rem 0.3rem 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.inquiry-form .chk-wrapper input:checked ~ .checkmark:after {
  display: block;
}

.inquiry-form .copy-above {
  margin: 1rem 0 0.5rem;
  display: inline-block;
}

.code-check.code-check-success {
  color: green;
  padding: 2rem 1rem;
  border: 0.1rem solid green;
  border-radius: 0.4rem;
  margin-bottom: 1rem;
}

.code-check.code-check-erros {
  color: red;
  padding: 2rem 1rem;
  border: 0.1rem solid red;
  border-radius: 0.4rem;
  margin-bottom: 1rem;
}