.formkit-page {
  font-family: var(--body-font-family);
  line-height: 1.5;
  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.7;
}

.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-container {
  margin: 0 auto;
  max-width: 390px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 35px;
  text-align: center;
}

.formkit-image {
  -webkit-box-align: center;
          align-items: center;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  margin-bottom: 10px;
}

.formkit-image img {
  border-radius: 50%;
  height: 100px;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100px;
}

.formkit-heading {
  font-family: var(--headings-font-family);
  font-size: 30px;
  margin: 0;
}

.formkit-subtitle {
  font-size: 15px;
}

.formkit-subtitle p {
  margin-bottom: 0;
}

.formkit-content {
  font-size: 14px;
  line-height: 22px;
  margin: 30px 0 20px;
  text-align: left;
}

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

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

.formkit-accent {
  height: 2px;
  margin: 0 auto;
  margin-top: 40px;
  width: 60px;
}

.formkit-collection-container {
  font-size: 14px;
  padding-top: 40px;
  text-align: left;
}

.formkit-powered-by-convertkit-container {
  margin-bottom: 0;
  margin-top: 50px;
  padding-bottom: 20px;
}

.formkit-text p {
  margin: 0;
}

.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 {
  margin: 0 auto;
  max-width: 450px;
  padding: 28px 36px;
}

.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%;
}

.formkit-modal-container .formkit-heading {
  margin-bottom: 6px;
  margin-top: 0;
}

.formkit-modal-content {
  font-size: 14px;
  margin: 10px 0 15px;
  text-align: left;
}

.formkit-modal-content p {
  margin: 0;
}

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

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

[data-group="dropdown"] select {
  border-color: inherit;
}

[data-group="checkboxes"] {
  margin-bottom: 1rem;
  text-align: left;
}

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

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

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

.formkit-submit {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
  -webkit-transition: all ease 0.3s;
  transition: all ease 0.3s;
  width: 100%;
}

.formkit-submit:hover {
  opacity: 0.85;
}

.formkit-submit span {
  font-size: 14px;
  padding: 15px 24px;
  text-transform: uppercase;
}

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

.formkit-disclaimer p {
  margin: 0;
}

@media screen and (min-width: 460px) {
  .formkit-dialog {
    padding: 36px 50px;
  }
}
