
.popup {
    position: fixed;
    max-width: 850px;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    overflow: hidden;
    z-index: 1046;
  }
  
  #popup-underlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 40%);
  }
  
  .popup-closed {
    display: none;
  }
  
  .popup-header {
  }
  
  .gform_title {
      margin: 0;
      margin-bottom: 30px;
      color: #003e87;
  }
  
  .popup-header .popup-close {
    margin-left: auto;
    font-size: 1.7rem;
    transform: scaleY(0.8);
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .popup .frm_fields_container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  
  .popup .frm_two_thirds {
    width: 65%;
  }
  
  .popup .frm_third {
    width: 33%;
  }
  
  .popup .form-field {
    margin-bottom: 30px;
  }
  
  a.popup-opener {
    cursor: pointer;
  }
  
  .popup .frm_submit {
    margin: auto;
  }