
.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: var(--font-family);
    letter-spacing: 0.028rem;
}

.checkbox-container input[type="checkbox"].error ~ .checkmark {
  border: 0.1rem solid red;
}


.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: #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: var(--font-family);
  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: var(--font-family);
}

.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: var(--font-family);
  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%;
  }
}
