/* Labels and Descriptions (Headings) */
body .gform_wrapper .top_label .gfield_label {
	display: none;
}
body .gform_wrapper .gform_heading {
  display: none;
}

/* Checkboxes */
body .gform_wrapper .top_label li ul.gfield_checkbox {
  width: 100%;
}
body .gform_wrapper .gfield_checkbox li input[type=checkbox] {
  margin-top: 0 !important;
}

/* Radio Buttons */
body .gform_wrapper .gfield_radio {
  display: flex;
  margin: 0;
}
body .gform_wrapper .gfield_radio li {
  text-align: center;
  margin: 0;
}
body .gform_wrapper ul.gform_fields li.gfield input[type=radio] {
  display: none;
}
body .gform_wrapper .gfield_radio li label {
  display: block !important;
  padding: 10px 0;
  color: #888;
  font-weight: 500;
  margin: 0;
  max-width: 100% !important;
  width: 10rem !important;
  border: 1px solid #ccc;
  background-color: #f4f4f4;
}
body .gform_wrapper .gfield_radio input[type="radio"]:checked + label {
  background: #555;
  color: #fff;
} 
body .gform_wrapper .top_label li ul.gfield_radio {
    width: fit-content;
}
body .gform_wrapper ul.gform_fields li.gfield {
    padding-right: 0;
}
@media (max-width: 460px) {

  body .gform_wrapper .top_label li ul.gfield_checkbox, 
  body .gform_wrapper .top_label li ul.gfield_radio {
    width: 100%;
  }

  /* Allow the radio list to wrap */
  body .gform_wrapper .gfield_radio {
    display: flex;
    flex-wrap: wrap;
  }
  /* Make each choice take up half the row */
  body .gform_wrapper .gfield_radio li {
    width: 50%;
    box-sizing: border-box; /* ensure padding/border don’t break the 50% width */
  }
  /* Let the label fill its parent */
  body .gform_wrapper .gfield_radio li label {
    width: 100% !important;
  }
}

/* Inputs */
body .gform_wrapper .top_label select.medium,
body .gform_wrapper textarea.medium,
body .gform_wrapper .top_label input.medium,
body .gform_wrapper .ginput_complex input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=image]):not([type=file]),
body .gform_wrapper .ginput_complex.ginput_container_address .ginput_right select,
body .gform_wrapper .ginput_complex input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  width: 100%;
  border: 1px solid #ccc;
  padding: 13px !important;
  border-radius: 0;
  color: #444;
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 !important;
  height: 48px;
}
body .gform_wrapper textarea.medium {
  height: calc( 48px * 3 );
}
body .gform_wrapper .top_label input.medium::placeholder,
body .gform_wrapper textarea.medium::placeholder,
body .gform_wrapper .ginput_complex input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=image]):not([type=file])::placeholder {
  color: #777;
}

/* Address Fields */
body .gform_wrapper .field_sublabel_above .ginput_complex.ginput_container label, 
body .gform_wrapper .field_sublabel_above div[class*=gfield_time_].ginput_container label {
  display: none;
}
body .gform_wrapper .ginput_complex.ginput_container_address .ginput_left,
body .gform_wrapper .ginput_complex.ginput_container_address .ginput_right,
body .gform_wrapper .ginput_complex.ginput_container_address .ginput_left .address_zip {
  margin-top: 16px;
  width: 100%;
  padding: 0;
}
body .gform_wrapper .ginput_complex.ginput_container_address span.ginput_right+span.ginput_left.address_zip {
  padding-right: 0 !important;
  margin-right: 0;
}
body .gform_wrapper .special {
  display: none;
}