#food_selector.modal,
#new_home_delivery_fail.modal,
#delivery_fail_note.modal,
#checkout_form.modal,
.checkout_note.modal {
  z-index: 1;
  position: absolute;
  background: #fff;
  right: 70px;
  top: -40px;
  border: solid 1px #c5bfbf;
  border-radius: 5px;
}

#new_home_delivery_fail .arrow,
#delivery_fail_note .arrow,
#checkout_form .arrow {
  position: absolute;
  display: block;
  right: calc((0.5rem + 1px) * -1);
  width: 0.5rem;
  height: 1rem;
  margin: 0.3rem 0;
  top: 34px;
}

.checkout_note.modal .left_arrow {
  position: absolute;
  display: block;
  left: calc((0.5rem + 1px) * -1);
  width: 0.5rem;
  height: 1rem;
  margin: 0.3rem 0;
  top: 34px;
  transform: rotateY(180deg);
}

#new_home_delivery_fail .arrow::before,
#delivery_fail_note .arrow::before,
#checkout_form .arrow::before,
.checkout_note.modal .arrow::before {
  left: 0;
  border-width: 0.5rem 0 0.5rem 0.5rem;
  position: absolute;
  display: block;
  content: "";
  border-color: #0000;
  border-left-color: #00000040;
  border-style: solid;
}

.checkout_note.modal .left_arrow::before {
  left: 0;
  border-width: 0.5rem 0 0.5rem 0.5rem;
  position: absolute;
  display: block;
  content: "";
  border-color: #0000;
  border-left-color: #00000040;
  border-style: solid;
}

#new_home_delivery_fail .arrow::after,
#delivery_fail_note .arrow::after,
#checkout_form .arrow::after,
.checkout_note.modal .arrow::after {
  left: -1px;
  position: absolute;
  display: block;
  content: "";
  border-color: #0000;
  border-left-color: #fff;
  border-style: solid;
  border-width: 0.5rem 0 0.5rem 0.5rem;
}

.checkout_note.modal .left_arrow::after {
  left: -1px;
  position: absolute;
  display: block;
  content: "";
  border-color: #0000;
  border-left-color: #fff;
  border-style: solid;
  border-width: 0.5rem 0 0.5rem 0.5rem;
}

.modal_close {
  cursor: pointer;
  position: absolute;
  background-image: url("/assets/close_x-3faf0b77.png");
  width: 30px;
  height: 30px;
  opacity: 0.4;
}

.title {
  font-size: 14pt;
  color: var(--cumac-blue);
  margin-top: 12px;
  margin-bottom: 12px;
  text-align: center;
}

#checkout_form h2 {
  text-align: center;
}

