/* form

====================================================*/

.form-content {
  padding: 40px 16px;
  border-radius: 8px;
  color: var(--form-color);
  background: #fff;
  overflow: hidden;
}

@media screen and (max-width: 800px) {
  .form-content {
    padding: 0;
    border: none;
  }
}
#eh-root {
  max-width: 900px !important;
  width: 100%;
  margin: 0 auto;
}
#eh-root form {
  max-width: 900px !important;
}
#eh-root legend .title {
  font-weight: 600;
  max-width: inherit !important;
  /* font-size: 16px !important; */
}
.required {
  padding: 2.5px 4px;
  background: var(--red);
  color: #ffffff !important;
  border-radius: 2px;
  margin-left: 0 !important;
}
#eh-root fieldset > div.heading legend {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
#eh-root input[type="text"],
#eh-root select,
#eh-root textarea {
  font-size: 16px !important;
}
.eh-terms {
  font-size: 14px !important;
}
#eh-root .terms {
  margin: 16px 0;
}
#eh-root button {
  margin: 64px auto 0;
  font-size: 18px;
  font-weight: 500;

  background: linear-gradient(
    -45deg,
    #b582f7 0%,
    #0095ed 50%,
    #00a4cc 100%
  ) !important;
}
@media screen and (max-width: 800px) {
  #eh-root button {
    width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    margin-bottom: 24px !important;
  }
}
/* input[type="checkbox"] + span{
  font-size: 14px;
} */
#eh-root .terms > pre {
  width: 100% !important;
}
#eh-root > form > div.terms > pre > a,
#eh-root > form > fieldset > pre.description > a {
  overflow-wrap: anywhere;
}
#CustomFieldOptions-60317 .container label {
  display: flex;
  gap: 4px;
}
#CustomFieldOptions-60315 .container label {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
@media screen and (min-width: 801px) {
  #CustomFieldOptions-60317 .container {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  #CustomFieldOptions-60317 .container label {
    flex: 1 1 0;
    white-space: nowrap;
    max-width: 300px;
  }
  form {
    display: grid !important;
  }

  #email {
    grid-area: 1 / 1 / 2 / 2;
  }
  #confirmationEmail {
    grid-area: 1 / 2 / 2 / 3;
  }
  #familyName {
    grid-area: 2 / 1 / 3 / 2;
  }
  #givenName {
    grid-area: 2 / 2 / 3 / 3;
  }
  #affiliation {
    grid-area: 3 / 1 / 4 / 2;
  }
  #department {
    grid-area: 3 / 2 / 4 / 3;
  }
  #CustomFieldOptions-60309 {
    grid-area: 4 / 1 / 5 / 2;
  }
  #CustomFieldValues-60307 {
    grid-area: 4 / 2 / 5 / 3;
  }
  #CustomFieldOptions-60313 {
    grid-area: 5 / 1 / 6 / 2;
  }
  #CustomFieldOptions-60310 {
    grid-area: 5 / 2 / 6 / 3;
  }

  #CustomFieldOptions-60311 {
    grid-area: 6 / 1 / 7 / 2;
  }
  #CustomFieldOptions-60314 {
    grid-area: 6 / 2 / 7 / 3;
  }
  #CustomFieldOptions-60317 {
    grid-area: 7 / 1 / 8 / 3;
  }
  #CustomFieldOptions-60315 {
    grid-area: 8 / 1 / 9 / 3;
  }
  #CustomFieldValues-60308 {
    grid-area: 9 / 1 / 10 / 3;
  }
  .eh-terms {
    grid-area: 10 / 1 / 11 / 3;
  }
  .terms {
    grid-area: 11 / 1 / 12 / 3;
  }
  .terms-confirmation {
    grid-area: 12 / 1 / 13 / 3;
  }
  button {
    grid-area: 13 / 1 / 14 / 3;
  }
}
