/**
 * Astra Theme compatibility with Gravity Form 
 */
.gform_wrapper form {
  position: relative;
}

.gform_wrapper select {
  height: 2.2em;
  border-width: 1px;
  border-style: solid;
  border-color: var(--ast-border-color);
  border-radius: 2px;
  background: #fafafa;
  padding: 0;
}

.gform_wrapper .ui-datepicker-header select {
  padding: inherit;
}

.gform_wrapper .gform_body .gfield_checkbox li > label {
  margin-top: 4px;
}

.gform_wrapper input:not([type="submit"]):focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
  background: #fff;
  border-color: var(--ast-border-color);
  outline: 0;
  box-shadow: none;
}

.ui-datepicker-header select {
  padding: 0;
}

@media (max-width: 768px) {
  .gform_wrapper.gf_browser_chrome form > .gform_body {
    width: 100%;
  }
}
