.els-lm-overlay {
      position: fixed;
      inset: 0;
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding: 5vh 1rem;
      background: rgba(0, 0, 0, .6);
      overflow-y: auto;
      z-index: 9999999;
}

.els-lm-trigger, .els-lm-dialog .gform_button.button {
    border: 0;
    border-radius: 0;
    line-height: inherit;
}

.els-lm-overlay.is-open { display: flex; }

.els-lm-dialog {
      position: relative;
      width: 100%;
      max-width: 560px;
      max-height: 90vh;
      padding: 2rem;
      overflow-y: auto;
      background: #fff;
      border-radius: 8px;
}

.els-lm-dialog .gform_button.button {
    background-color: var(--red);
    color: white !important;
    font-weight: 700 !important;
    padding: .5em;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.els-lm-close {
      position: absolute;
      top: .5rem;
      right: .75rem;
      border: 0;
      background: transparent;
      font-size: 1.75rem;
      line-height: 1;
      cursor: pointer;
}

body.els-lm-lock { overflow: hidden; }