.search-toggle {
  @apply
    flex;
}

.gform_wrapper {
  .gform_heading {
    .gform_title {
      @apply
        hidden;
    }

    .gform_required_legend {
      @apply
        hidden;
    }
  }

  .gform_body {
    .gform_fields {
      .gfield {
        @apply
          mt-0;

        input,
        textarea,
        select {
          @apply
            border
            bg-transparent
            font-sans
            border-primary-500
            rounded-md;
        }

        .ginput_container_consent {
          @apply
            mt-8
            lg:mt-0
            flex;

          input {
            @apply
              relative
              top-[2px]
              w-5
              h-5
              mr-2.5
              mb-0;
          }

          label {
            @apply
              ml-2
              mb-px;
          }
        }

        .gchoice {
          label {
            @apply
              font-sans
              mb-0
              text-base
              font-medium
              ml-3;
          }
        }

        .ginput_container_fileupload {
          input {
            @apply
              px-0
              border-none
              font-mono
              text-xs;
          }
        }

        input,
        select {
          @apply
            px-4;
        }

        input[type=checkbox] {
          @apply
            appearance-none
            h-5.5
            p-0
            flex-none
            w-5.5;

          &:checked {
            @apply
              bg-primary-500;
          }
        }

        legend,
        span,
        .gfield_label,
        label {
          @apply
            font-mono
            mb-[2px]
            font-light
            text-xs;
        }

        label {
          @apply
            leading-normal
            inline-block;
        }

        select {
          option {
            //
          }
        }
      }
    }
  }

  .gform_button {
    @extend .button.filled;
    @apply
      text-base
      px-9
      min-w-[240px]
      mt-5
      lg:mt-0
      py-3
      text-white;
  }

  @media screen and (max-width: 641px) {
    input:not([type="radio"]):not([type="checkbox"]):not([type="image"]):not([type="file"]) {
      line-height: 1 !important;
      min-height: auto !important;
    }
  }

  .gform_footer {
    .gform_button {
      @apply
        mx-auto;
    }
  }
}
