/*** Form popup ***/
  .gform-modal[aria-hidden="true"] { display: none; }
  .gform-modal[aria-hidden="false"] { display: block; }

  .gform-modal {
    position: fixed; inset: 0; z-index: 100000;
  }
  .gform-modal__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(2px);
  }
  .gform-modal__dialog {
    position: relative; z-index: 1;
    max-width: 124rem; width: calc(100% - 2rem);
    margin: 5vh auto; background: #fff; border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    display: flex; flex-direction: column;
  }
  .gform-modal__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem; border-bottom: 1px solid #eee;
  }
  .gform-modal__title { margin: 0; font-size: 1.125rem; }
  .gform-modal__close {
    border: 0; background: transparent; font-size: 1.75rem; line-height: 1; cursor: pointer;
  }
  .gform-modal__body { padding: 1rem 1.25rem 1.25rem; max-height: 75vh; overflow: auto; }

  /* prevent page scroll when modal is open */
  body.gform-modal-open { overflow: hidden; }
	
/*** Responsive ***/
@media (min-width: 200px) and (max-width: 480px) {
  .gform-modal__dialog {
	width: calc(80% - 2rem);
	left: -4rem;
  }
}
