/* FormWall modal styles */
.formwall-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  color: #333;
  font-size: 14px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.formwall-modal[aria-hidden="true"] {
  display: none !important;
}

.formwall-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.formwall-modal__content {
  padding-top: 12px;
}

.gform-theme--foundation .gform_fields {
  grid-row-gap: 16px;
}

.formwall-modal__dialog {
  position: relative;
  margin: 0 auto;
  background: #fff;
  max-width: 720px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 20px 20px 24px;
}

.formwall-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.formwall-spinner {
  padding: 40px;
  text-align: center;
}

.gform_footer .gform_button {
  -webkit-transition: background-color .3s ease-in-out, color .3s ease-in-out;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
  font-size: 16px;
  line-height: 1.3125;
  font-weight: 500 !important;
  background-color: #49ab48 !important;
  color: #fff !important;
  border: none;
  text-decoration: none;
}

.gform_footer .gform_button:hover {
  background-color: #337732 !important;
}

/* Spinner */
.gform_ajax_spinner {
  box-sizing: border-box;
  margin-top: 11px;
  margin-left: 10px;
  border: 3px solid rgb(255, 255, 255);
  border-left: 3px solid rgba(255, 255, 255, 0);
  border-top: 3px solid rgba(247, 150, 33, .15);
  border-right: 3px solid rgba(255, 255, 255, 0.5);
  animation: spinner 1.1s infinite linear;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  position: absolute;
  z-index: 1;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}