#family-membership h2 {
  text-align: center;
}

#family-membership .underline {
  text-decoration: underline;
}

.swpm-form-builder {
  overflow: hidden;
}

.swpm-form-builder fieldset {
  background-color: #fff;
  border: none;
}

.swpm-form-builder .swpm-section {
  font-size: 16px;
  margin: 0 !important;
}

.swpm-form-builder .swpm-section .swpm-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.swpm-form-builder .swpm-section .swpm-item .swpm-desc {
  width: 200px;
}

@media screen and (max-width: 767px) {
  .swpm-form-builder .swpm-section .swpm-item .swpm-desc {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
}

.swpm-form-builder .swpm-section .swpm-item .swpm-desc.hide-text {
  visibility: hidden;
  height: 0;
}

.swpm-form-builder .swpm-section .swpm-item.swpm-item-radio .swpm-desc + div {
  width: calc( 100% - 200px);
}

@media screen and (max-width: 767px) {
  .swpm-form-builder .swpm-section .swpm-item.swpm-item-radio .swpm-desc + div {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
}

.swpm-form-builder .swpm-section .swpm-item.swpm-item-checkbox {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.swpm-form-builder .swpm-section .swpm-item.swpm-item-checkbox .swpm-desc {
  width: calc( 100% - 200px);
}

@media screen and (max-width: 767px) {
  .swpm-form-builder .swpm-section .swpm-item.swpm-item-checkbox .swpm-desc {
    width: 100%;
  }
}

.swpm-form-builder .swpm-section .swpm-item.swpm-item-checkbox .swpm-desc + div {
  width: calc( 100% - 200px);
}

@media screen and (max-width: 767px) {
  .swpm-form-builder .swpm-section .swpm-item.swpm-item-checkbox .swpm-desc + div {
    width: 100%;
  }
}

.swpm-form-builder .swpm-section .swpm-item.swpm-item-checkbox .swpm-desc + div .swpm-span {
  width: 100%;
}

.swpm-form-builder .swpm-section .swpm-item.swpm-item-email label.swpm-form-builder-error.email-check {
  display: none;
}

.swpm-form-builder .swpm-section .swpm-item label.swpm-form-builder-error {
  position: absolute;
  right: 10px;
  color: #B70000;
  font-size: 16px;
}

@media screen and (max-width: 767px) {
  .swpm-form-builder .swpm-section .swpm-item label.swpm-form-builder-error {
    position: relative;
    right: auto;
    width: 100%;
  }
}

.swpm-form-builder .swpm-section .swpm-item label.swpm-form-builder-error.hiragana-check {
  display: none;
}

.swpm-form-builder .swpm-section .swpm-item:after {
  display: none;
}

.swpm-form-builder .swpm-section .swpm-item-textarea > div {
  width: calc( 100% - 200px);
}

@media screen and (max-width: 767px) {
  .swpm-form-builder .swpm-section .swpm-item-textarea > div {
    width: 100%;
  }
}

.swpm-form-builder .swpm-section .swpm-item-textarea > div .swpm-textarea {
  width: 100%;
  padding: .5em .75em;
  box-shadow: none;
  background-color: #f0f0f0;
  border-radius: 0;
  border: none;
}

.swpm-form-builder .swpm-section input.swpm-text, .swpm-form-builder .swpm-section input[type="email"] {
  width: calc( 100% - 200px);
  padding: .5em .75em;
  box-shadow: none;
  background-color: #F0F0F0;
  border-radius: 0;
  border: none;
}

@media screen and (max-width: 767px) {
  .swpm-form-builder .swpm-section input.swpm-text, .swpm-form-builder .swpm-section input[type="email"] {
    width: 100%;
  }
}

.swpm-form-builder .swpm-section input.swpm-text:hover, .swpm-form-builder .swpm-section input.swpm-text:focus, .swpm-form-builder .swpm-section input[type="email"]:hover, .swpm-form-builder .swpm-section input[type="email"]:focus {
  outline: none;
}

.swpm-form-builder .swpm-section input.swpm-text:disabled, .swpm-form-builder .swpm-section input[type="email"]:disabled {
  cursor: not-allowed;
}

.swpm-form-builder .swpm-section select {
  background-color: #f0f0f0;
  border-radius: 0;
  border: none;
  padding: .5em;
}

.swpm-form-builder .swpm-section select:hover, .swpm-form-builder .swpm-section select:focus {
  outline: none;
}

.swpm-form-builder .swpm-section .swpm-span {
  width: calc( 100% - 200px);
}

@media screen and (max-width: 767px) {
  .swpm-form-builder .swpm-section .swpm-span {
    width: 100%;
  }
}

.swpm-form-builder .swpm-section .swpm-span input.swpm-text {
  width: 100%;
}

.swpm-form-builder .swpm-section .swpm-span input.swpm-radio {
  position: relative;
  top: 2px;
}

.swpm-form-builder .swpm-section .swpm-two-column > label + div, .swpm-form-builder .swpm-section .swpm-auto-column > label + div {
  display: flex;
  margin: 0 auto;
}

.swpm-form-builder .swpm-section .swpm-two-column > label + div .swpm-span, .swpm-form-builder .swpm-section .swpm-auto-column > label + div .swpm-span {
  margin-right: 20px;
}

.swpm-form-builder .swpm-section .swpm-item-instructions:last-of-type {
  border-top: 1px solid #f0f0f0;
  padding-top: 1em !important;
  margin-top: 1em !important;
  font-weight: 600;
}

.swpm-form-builder .hide, .swpm-form-builder .swpm-item-password, .swpm-form-builder #item-swpm-4 {
  display: none !important;
}

.swpm-form-builder .swpm-required-asterisk {
  display: none;
}

.swpm-form-builder .swpm-edit-profile-submit-section {
  display: flex;
  justify-content: space-between;
}

.swpm-form-builder .swpm-edit-profile-submit-section input[type="submit"], .swpm-form-builder .swpm-edit-profile-submit-section button {
  max-width: calc( 100% - 1em);
}

@media screen and (max-width: 767px) {
  .swpm-form-builder .swpm-edit-profile-submit-section input[type="submit"], .swpm-form-builder .swpm-edit-profile-submit-section button {
    width: calc( 50% - .5em);
  }
}

.swpm-form-builder.preview-mode .swpm-fieldset {
  position: absolute;
  z-index: -100;
  transform: translateY(200%);
}

.btn-primary, .swpm-form-builder input.swpm-submit {
  display: block;
  text-align: center;
  width: 430px;
  font-size: 16px;
  line-height: 46px;
  color: white;
  font-weight: bold;
  margin: 50px auto;
  padding: 0;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  position: relative;
  background: #0079c3;
  border: 1px solid #0079c3;
  border-radius: 6px;
  transition-duration: 0.25s;
  transition-timing-function: ease-in-out;
}

@media screen and (max-width: 767px) {
  .btn-primary, .swpm-form-builder input.swpm-submit {
    width: 100%;
  }
}

.btn-primary:hover, .swpm-form-builder input.swpm-submit:hover, .btn-primary:focus, .swpm-form-builder input.swpm-submit:focus {
  color: #0079c3;
  background: rgba(0, 121, 195, 0);
}

.btn-primary:disabled, .swpm-form-builder input.swpm-submit:disabled {
  background-color: #f0f0f0;
  color: #666;
  border-color: #666;
}

.btn-primary.hide, .swpm-form-builder input.hide.swpm-submit, .swpm-form-builder input.swpm-submit.swpm-item-password, .swpm-form-builder input.swpm-submit#item-swpm-4, .swpm-form-builder .btn-primary.swpm-item-password, .swpm-form-builder .btn-primary#item-swpm-4 {
  display: none;
}

.form-preview {
  margin-top: 20px;
  table-layout: fixed;
  word-break: break-all;
}

.form-preview tr th, .form-preview tr td {
  text-align: left;
  padding: 0.25em 0.75em;
}

@media screen and (max-width: 767px) {
  .form-preview tr th, .form-preview tr td {
    display: flex;
    padding-left: 0;
  }
}

.form-preview tr th {
  width: 200px;
}

@media screen and (max-width: 767px) {
  .form-preview tr th {
    width: 100%;
  }
}

.form-preview tr th.hide, .form-preview tr .swpm-form-builder th.swpm-item-password, .swpm-form-builder .form-preview tr th.swpm-item-password, .form-preview tr .swpm-form-builder th#item-swpm-4, .swpm-form-builder .form-preview tr th#item-swpm-4 {
  visibility: hidden;
}

@media screen and (max-width: 767px) {
  .form-preview tr th.hide, .form-preview tr .swpm-form-builder th.swpm-item-password, .swpm-form-builder .form-preview tr th.swpm-item-password, .form-preview tr .swpm-form-builder th#item-swpm-4, .swpm-form-builder .form-preview tr th#item-swpm-4 {
    height: 0;
    padding: 0;
  }
}

.form-preview tr td {
  width: calc( 100% - 200px);
}

@media screen and (max-width: 767px) {
  .form-preview tr td {
    width: 100%;
  }
}
