.tfg-overlay-bg {
  background: #000;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index:
  9990;
  opacity: 0.3;
}

.tfg-overlay-box {
  background: #fff;
  box-shadow: 0px 13px 30px rgba(0, 0, 0, 0.25);
  position: fixed;
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%);
  width: 850px;
  padding: 24px;
  @media only screen and (min-width: 480px) {
    padding: 50px;
  }
  z-index: 9999;
  text-align: center;
}
  .tfg-overlay-box h4 {
    font-size: 17px;
    line-height: 24px;

    @media screen and (min-width: 768px) {
      font-size: 20px;
      line-height: 24px;
    }

    @media screen and (min-width: 1024px) {
      font-size: 25px;
      line-height: 32px;
    }

    @media screen and (min-width: 1440px) {
      font-size: 31.25px;
      line-height: 36px;
    }
  }

  .tfg-overlay-box h5 {
    font-size: 17px;
    line-height: 24px;
    margin-bottom: 20px;

    @media screen and (min-width: 768px) {
      font-size: 20px;
      line-height: 24px;
    }

    @media screen and (min-width: 1024px) {
      font-size: 20px;
      line-height: 24px;
    }

    @media screen and (min-width: 1440px) {
      font-size: 25px;
      line-height: 32px;
    }
  }

  .tfg-overlay-box div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 24px 0 32px 0;
  }

  .tfg-cta,
  .tfg-cta-secondary {
    width: 100%;
    @media only screen and (min-width: 768px) {
      width: auto;
    }
  }

  .tfg-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0077C8;
    padding: 16px 23px;
    font-weight: 700;
    height: 53px;
    color: #fff !important;
    border: 1px solid #0077C8;
    text-decoration: none !important;
  }

  .tfg-cta-secondary {
    background: white;
    color: #0077C8;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-decoration: underline;
    text-underline-offset: 1px;
  }

  .tfg-selector {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 1rem auto 0;
    cursor: pointer;
    @media only screen and (min-width: 768px) {
      flex-direction: row;
      width: 75%;
    }
  }
    .tfg-selector select {
      height: 53px;
      background: #F1F1F1;
      border-radius: 0;
      margin-bottom: 0;
      flex-shrink: 1;
      background-repeat: no-repeat;
      background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjQxMDI0IDAuNTkwMDI3TDYuMDAwMjQgNS4xNzAwM0wxMC41OTAyIDAuNTkwMDI3TDEyLjAwMDIgMi4wMDAwM0w2LjAwMDI0IDguMDAwMDJMMC4wMDAyNDQxNDEgMi4wMDAwM0wxLjQxMDI0IDAuNTkwMDI3WiIgZmlsbD0iIzAwNzdDOCIvPgo8L3N2Zz4=);
      background-position: right 25px center;
      @media only screen and (min-width: 768px) {
        width: 75%;
      }
      -webkit-appearance: none;
      -moz-appearance: none;
    }

    .tfg-selector input[type=submit] {
      background: #0077C8;
      color: #fff;
      padding: 10px 20px 13px 20px;
      border: 1px solid #0077C8;
      height: 53px;
      font-weight: bold;
      cursor: pointer;
      flex-shrink: 0;
      @media only screen and (min-width: 768px) {
        width: auto;
      }
      -webkit-appearance: none;
      -moz-appearance: none;
    }

    .tfg-selector input[type=submit]:disabled {
      background: #ccc;
      border: 1px solid #ccc;
      color: #fff;
      cursor: not-allowed;
    }

/* $MEDIA QUERIES */
@media only screen and (max-width: 768px) {
  .tfg-overlay-box {
    width: 90%;
  }
}
