.formkit-page {
  font-family: var(--body-font-family);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
}

header {
  margin-bottom: 25px;
}

h1,
h2 {
  line-height: inherit;
  margin: inherit;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: underline;
}

a:hover {
  opacity: 0.75;
}

.formkit-bg-color,
.formkit-bg-image {
  height: 100%;
  left: 0;
  min-height: 100vh;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.formkit-bg-image {
  background-position: center center;
  background-size: cover;
}

.formkit-content-container {
  padding: 20px 20px 100px;
}

.formkit-image {
  height: 130px;
  margin-bottom: 18px;
  width: 130px;
}

.formkit-image img {
  border-radius: 50%;
  max-height: 130px;
  max-width: 130px !important;
  min-height: 130px;
  min-width: 130px;
  -o-object-fit: cover;
     object-fit: cover;
}

.formkit-heading-container {
  position: relative;
}

.formkit-heading-container svg {
  left: -40px;
  max-width: 100vw;
  position: absolute;
  z-index: -1;
}

@media screen and (min-width: 600px) {
  .formkit-heading-container svg {
    left: -165px;
  }
}

.formkit-heading {
  font-family: var(--headings-font-family);
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.formkit-dialog .formkit-heading {
  font-size: 20px;
  margin-bottom: 1rem;
}

@media screen and (min-width: 600px) {
  .formkit-heading {
    font-size: 70px;
  }
  .formkit-dialog .formkit-heading {
    font-size: 26px;
  }
}

.formkit-subheading {
  font-size: 22px;
  line-height: 1.3;
}

.formkit-dialog .formkit-subheading {
  margin-bottom: 1rem;
}

.formkit-dialog .formkit-subheading p {
  margin: 0;
}

.formkit-content {
  margin-bottom: 2rem;
}

.formkit-dialog-button {
  border: 0;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-family: var(--body-font-family);
  padding: 15px 1rem;
  -webkit-transition: all ease 0.3s;
  transition: all ease 0.3s;
  width: 100%;
  text-align: center;
}

.formkit-dialog-button:hover {
  opacity: 0.85;
}

.formkit-powered-by-convertkit-container {
  bottom: 0;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  position: absolute;
}

.formkit-dialog-overlay {
  background: rgba(0, 0, 0, 0.7);
  height: 100%;
  left: 0;
  min-height: 100vh;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 5;
}

.formkit-modal-container {
  -webkit-box-align: center;
          align-items: center;
  display: -webkit-box;
  display: flex;
  height: 100vh;
  position: relative;
  width: 100%;
}

.formkit-dialog {
  border-radius: 3px;
  margin: 0 auto;
  max-width: 450px;
  padding: 28px 36px;
}

.formkit-dialog .formkit-heading {
  font-family: var(--headings-font-family);
  text-align: center;
}

.formkit-dialog .formkit-subheading {
  font-size: 15px;
  margin-top: 8px;
  text-align: center;
}

.formkit-dialog .formkit-modal-content {
  font-size: 14px;
}

.formkit-field {
  margin-bottom: 10px;
}

.formkit-input {
  padding-bottom: 6px;
  padding-top: 6px;
}

.formkit-field .formkit-select {
  padding-bottom: 6px;
  padding-top: 6px;
}

[data-group="checkboxes"] legend {
  color: inherit !important;
  font-size: 15px;
}

.formkit-checkboxes {
  background: inherit !important;
  border: inherit !important;
  color: inherit !important;
}

.formkit-submit {
  font-size: 14px;
  width: 100%;
}

.formkit-submit span {
  padding-bottom: 15px;
  padding-top: 15px;
}

.formkit-disclaimer {
  font-size: 12px;
  text-align: center;
}

.formkit-modal__close {
  background: none;
  border: none;
  display: block;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 2rem;
}

.formkit-modal__close svg {
  height: 100%;
  width: 100%;
}

@media screen and (min-width: 750px) {
  .formkit-content-container {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    -webkit-box-pack: justify;
            justify-content: space-between;
    margin: 0 auto;
    max-width: 880px;
    padding-top: 160px;
  }

  .formkit-content-container > div {
    max-width: 350px;
    width: 50%;
  }

  .formkit-content-container > div:first-of-type {
    margin-right: 60px;
  }

  .formkit-heading-container svg {
    max-width: inherit;
    width: 770px;
  }

  .formkit-links {
    margin-top: 35px;
  }
}
