/* Shared OHVO request-pricing Gravity Form treatment. Use this as the single global quote/contact form style. */
.ohvo-global-quote {
  --ohvo-green: #8ead2d;
  --ohvo-black: #111;
  --ohvo-text: #666;
  --ohvo-soft: #fbfcf7;
  --ohvo-line: #e6e9de;
  background: var(--ohvo-soft) !important;
  padding: 52px 0 58px !important;
}

.ohvo-global-quote .et_pb_row {
  width: 88% !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  padding: 38px 48px 42px !important;
  border: 1px solid rgba(17, 17, 17, .09);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 76px rgba(17, 17, 17, .045);
}

.ohvo-global-quote .ohvo-global-form-card {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.ohvo-global-quote .ohvo-global-kicker {
  margin: 0 0 14px;
  color: var(--ohvo-green);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.ohvo-global-quote h2 {
  max-width: 760px;
  margin: 0 auto 16px !important;
  color: var(--ohvo-black) !important;
  font-family: SFProDisplay-Heavy, Helvetica, Arial, Lucida, sans-serif !important;
  font-size: 34px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

.ohvo-global-quote .ohvo-global-form-card > p:not(.ohvo-global-kicker):not(.ohvo-form-subhead) {
  max-width: 720px;
  margin: 0 auto 18px;
  color: var(--ohvo-text);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

.ohvo-global-quote .ohvo-form-subhead {
  margin: 10px 0 0;
  color: var(--ohvo-text);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

.ohvo-global-quote .gform_wrapper,
.ohvo-global-quote #gform_wrapper_3 {
  max-width: 800px;
  margin: 0 auto !important;
}

.ohvo-global-quote .gform_heading,
.ohvo-global-quote .gform_required_legend {
  display: none !important;
}

.ohvo-global-quote .gform_fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 26px !important;
}

.ohvo-global-quote .gfield {
  margin: 0 !important;
  padding: 0 !important;
}

.ohvo-global-quote .gfield_label {
  display: none !important;
}

.ohvo-global-quote input[type="text"],
.ohvo-global-quote input[type="email"],
.ohvo-global-quote input[type="tel"],
.ohvo-global-quote textarea {
  width: 100% !important;
  padding: 11px 8px 13px !important;
  border: 0 !important;
  border-bottom: 1px solid #cfcfcf !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111 !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  outline: none !important;
}

.ohvo-global-quote textarea {
  min-height: 82px !important;
  resize: vertical;
}

.ohvo-global-quote input::placeholder,
.ohvo-global-quote textarea::placeholder {
  color: #bdbdbd !important;
  opacity: 1 !important;
}

.ohvo-global-quote input:focus,
.ohvo-global-quote textarea:focus {
  border-bottom-color: var(--ohvo-green) !important;
}

.ohvo-global-quote .gfield--type-textarea,
.ohvo-global-quote .gfield--type-fileupload,
.ohvo-global-quote .gfield--type-captcha,
.ohvo-global-quote .gfield--type-html {
  grid-column: 1 / -1 !important;
}

.ohvo-global-quote .ginput_container_fileupload {
  margin: 2px 0 0 !important;
}

.ohvo-global-quote .gform_drop_area {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 16px 20px !important;
  border: 1px solid #dfe8c5 !important;
  border-radius: 18px !important;
  background: #f7f8f2 !important;
  text-align: left !important;
}

.ohvo-global-quote .gform_drop_area::before {
  content: "Attach scripts or files (optional)";
  color: #5f5f5f;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}

.ohvo-global-quote .gform_drop_instructions,
.ohvo-global-quote .gform_drop_area > span:not(.gform_button_select_files) {
  display: none !important;
}

.ohvo-global-quote .gform_button_select_files,
.ohvo-global-quote input[type="file"]::file-selector-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 140px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 28px !important;
  border: 1px solid var(--ohvo-green) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.ohvo-global-quote .gform_button_select_files {
  color: transparent !important;
  font-size: 0 !important;
}

.ohvo-global-quote .gform_button_select_files::after {
  content: "Upload";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
}

.ohvo-global-quote .gform_fileupload_rules {
  margin: 10px 0 0 !important;
  color: #aaa !important;
  font-size: 13px !important;
  text-align: center !important;
}

.ohvo-global-quote .gform_footer {
  display: flex !important;
  justify-content: center !important;
  margin-top: 24px !important;
  padding: 0 !important;
}

.ohvo-global-quote .gform_button,
.ohvo-global-quote input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 150px !important;
  min-height: 54px !important;
  padding: 14px 28px !important;
  border: 2px solid var(--ohvo-green) !important;
  border-radius: 999px !important;
  background: var(--ohvo-green) !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}

.ohvo-global-quote .gform_button:hover,
.ohvo-global-quote input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(142, 173, 45, .16) !important;
}

@media (max-width: 980px) {
  .ohvo-global-quote {
    padding: 48px 0 54px !important;
  }

  .ohvo-global-quote .et_pb_row {
    padding: 32px 26px 36px !important;
  }

  .ohvo-global-quote h2 {
    font-size: 31px !important;
  }

  .ohvo-global-quote .ohvo-global-form-card > p:not(.ohvo-global-kicker):not(.ohvo-form-subhead) {
    font-size: 17px !important;
  }
}

@media (max-width: 640px) {
  .ohvo-global-quote .et_pb_row {
    width: 90% !important;
    padding: 34px 20px 38px !important;
    border-radius: 18px !important;
  }

  .ohvo-global-quote h2 {
    font-size: 28px !important;
  }

  .ohvo-global-quote .gform_fields {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .ohvo-global-quote .gform_drop_area {
    display: block !important;
    min-height: 0 !important;
    padding: 18px !important;
    text-align: center !important;
  }

  .ohvo-global-quote .gform_drop_area::before {
    display: block;
    margin-bottom: 12px;
  }

  .ohvo-global-quote .gform_button_select_files,
  .ohvo-global-quote input[type="file"]::file-selector-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 138px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
