/*
 * Gravity Forms ID 1, styled to match the theme contact forms.
 * Contact page matches form.contact in css/theme.css.
 * Location page matches .location-contact-bottom fields in css/theme.css.
 */

.gform-theme-match,
.gform-location-match {
  position: relative;
}

.gform-theme-match .gform_heading,
.gform-theme-match .gform_required_legend,
.gform-location-match .gform_heading,
.gform-location-match .gform_required_legend,
.gform-theme-match .gform_validation_container,
.gform-location-match .gform_validation_container,
.gform-theme-match .gfield--type-honeypot,
.gform-location-match .gfield--type-honeypot {
  display: none !important;
}

.gform-theme-match .cw-match-input > .gfield_label,
.gform-theme-match .cw-match-input > label.gform-field-label,
.gform-theme-match .cw-match-input .gform-field-label--type-sub,
.gform-theme-match .cw-match-input .ginput_complex > span > label,
.gform-location-match .cw-match-input > .gfield_label,
.gform-location-match .cw-match-input > label.gform-field-label,
.gform-location-match .cw-match-input .gform-field-label--type-sub,
.gform-location-match .cw-match-input .ginput_complex > span > label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Contact page ---------------------------------------------------------- */

.gform-theme-match {
  padding: 35px;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  min-height: 405px;
}

@media screen and (max-width: 767px) {
  .gform-theme-match {
    padding: 35px 15px;
  }
}

.gform-theme-match h2 {
  margin: 0;
  color: #ffffff;
  font-size: 29px;
  font-weight: bold;
  text-transform: uppercase;
}

.gform-theme-match h2 span {
  display: block;
  font-size: 22px;
  font-weight: 700;
  text-transform: none;
  margin-bottom: 20px;
  margin-top: 6px;
  letter-spacing: 1px;
}

.gform-theme-match .gform_wrapper,
.gform-theme-match .gform_wrapper.gravity-theme,
.gform-theme-match .gform_wrapper form {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.gform-theme-match .gform_body,
.gform-theme-match .gform-body,
.gform-theme-match .gform_fields {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gform-theme-match .gfield {
  display: block !important;
  grid-column: auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.gform-theme-match .ginput_container,
.gform-theme-match .ginput_complex,
.gform-theme-match .ginput_complex span {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.gform-theme-match .ginput_container input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]),
.gform-theme-match .ginput_container textarea,
.gform-theme-match .ginput_container select {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 0 10px !important;
  border: 1px solid #b89e87 !important;
  border-radius: 0 !important;
  outline-color: #b89e87 !important;
  box-shadow: none !important;
  background: #ffffff !important;
  color: #000000 !important;
  padding: 9px !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: normal !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  box-sizing: border-box !important;
}

.gform-theme-match .ginput_container textarea {
  height: 90px !important;
  min-height: 90px !important;
  resize: vertical;
}

.gform-theme-match input::-webkit-input-placeholder,
.gform-theme-match textarea::-webkit-input-placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}

.gform-theme-match input:-moz-placeholder,
.gform-theme-match textarea:-moz-placeholder,
.gform-theme-match input::-moz-placeholder,
.gform-theme-match textarea::-moz-placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}

.gform-theme-match input:-ms-input-placeholder,
.gform-theme-match textarea:-ms-input-placeholder,
.gform-theme-match input::placeholder,
.gform-theme-match textarea::placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}

.gform-theme-match .gfield_contains_required .ginput_container {
  position: relative;
}

.gform-theme-match .gfield_contains_required .ginput_container:not(.ginput_container_textarea)::after {
  content: "Required";
  position: absolute;
  top: 12px;
  right: 10px;
  color: #000000;
  text-transform: uppercase;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  pointer-events: none;
  line-height: 1;
}

.gform-theme-match .gfield_contains_required .ginput_container:not(.ginput_container_textarea) input {
  padding-right: 96px !important;
}

.gform-theme-match .gform_footer,
.gform-theme-match .gform-footer {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
/*
.gform-theme-match .gform_footer input[type="submit"],
.gform-theme-match .gform_footer button,
.gform-theme-match .gform_footer .gform_button,
.gform-theme-match .gform-footer input[type="submit"],
.gform-theme-match .gform-footer button,
.gform-theme-match .gform-footer .gform_button {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 10px !important;
  background: #292929 !important;
  background-color: #292929 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-transform: uppercase !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: normal !important;
  color: #ffffff !important;
  font-family: "Roboto", sans-serif !important;
  padding: 10px 0 !important;
  letter-spacing: 0.58px !important;
  text-shadow: none !important;
  cursor: pointer;
  box-sizing: border-box !important;
} */

.gform-theme-match .gform_validation_errors,
.gform-theme-match .validation_message,
.gform-theme-match .gfield_validation_message,
.gform-theme-match .gform_confirmation_message {
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}

/* Hero and sidebar forms sit on the yellow block, so messages stay dark. */
.gform-hero-match .gform_validation_errors,
.gform-hero-match .validation_message,
.gform-hero-match .gfield_validation_message,
.gform-hero-match .gform_confirmation_message,
.gform-sidebar-match .gform_validation_errors,
.gform-sidebar-match .validation_message,
.gform-sidebar-match .gfield_validation_message,
.gform-sidebar-match .gform_confirmation_message {
  color: #292929;
}

#hero .gform-hero-match {
  width: 385px;
  max-width: 100%;
  box-sizing: border-box;
}

.widget.widget-form .gform-sidebar-match {
  padding: 35px 27px 0;
}

.gform-theme-match .gfield_error .ginput_container input,
.gform-theme-match .gfield_error .ginput_container textarea,
.gform-theme-match .gfield_error .ginput_container select {
  border-color: #c02b0a !important;
}

/* Location page --------------------------------------------------------- */

.gform-location-match .gform_wrapper,
.gform-location-match .gform_wrapper.gravity-theme,
.gform-location-match .gform_wrapper form {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.gform-location-match .gform_wrapper form {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
}

.gform-location-match .gform_validation_errors {
  flex: 1 0 100%;
  width: 100%;
  margin: 0 0 15px !important;
}

.gform-location-match .gform_body,
.gform-location-match .gform-body,
.gform-location-match .gform_fields {
  display: contents !important;
}

.gform-location-match .gfield {
  display: block;
  grid-column: auto !important;
  width: 38.9090909091%;
  margin: 0 1.9090909091% 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.gform-location-match .gfield--type-textarea,
.gform-location-match .gfield--type-html,
.gform-location-match .gfield--type-section,
.gform-location-match .gfield--type-captcha {
  width: 100%;
  margin-right: 0 !important;
}

.gform-location-match .ginput_container,
.gform-location-match .ginput_complex,
.gform-location-match .ginput_complex span {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.gform-location-match .ginput_container input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]),
.gform-location-match .ginput_container select {
  max-width: 428px;
  width: 100% !important;
  border-radius: 0 !important;
  border: 0 !important;
  line-height: 50px !important;
  color: #ffffff !important;
  font-family: "Roboto Condensed", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0.32px !important;
  padding: 0 25px !important;
  display: block !important;
  height: 50px !important;
  outline: none !important;
  box-shadow: 7px 7px 10px rgba(48, 29, 56, 0.25) !important;
  background: rgba(69, 77, 87, 0.5) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  text-transform: none !important;
}

.gform-location-match .ginput_container textarea {
  width: 100% !important;
  max-width: none !important;
  height: 90px !important;
  margin: 12px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-family: "Roboto Condensed", sans-serif !important;
  font-size: 16px !important;
  padding: 12px 25px !important;
  background: rgba(69, 77, 87, 0.5) !important;
  box-shadow: 7px 7px 10px rgba(48, 29, 56, 0.25) !important;
  box-sizing: border-box !important;
  resize: vertical;
}

.gform-location-match input::-webkit-input-placeholder,
.gform-location-match textarea::-webkit-input-placeholder {
  color: #ffffff !important;
  opacity: 1 !important;
}

.gform-location-match input:-moz-placeholder,
.gform-location-match textarea:-moz-placeholder,
.gform-location-match input::-moz-placeholder,
.gform-location-match textarea::-moz-placeholder {
  color: #ffffff !important;
  opacity: 1 !important;
}

.gform-location-match input:-ms-input-placeholder,
.gform-location-match textarea:-ms-input-placeholder,
.gform-location-match input::placeholder,
.gform-location-match textarea::placeholder {
  color: #ffffff !important;
  opacity: 1 !important;
}

.gform-location-match .gform_footer,
.gform-location-match .gform-footer {
  width: 15.4545454545%;
  margin: 0 !important;
  padding: 0 !important;
}

.gform-location-match .gform_footer input[type="submit"],
.gform-location-match .gform_footer button,
.gform-location-match .gform_footer .gform_button,
.gform-location-match .gform-footer input[type="submit"],
.gform-location-match .gform-footer button,
.gform-location-match .gform-footer .gform_button {
  width: 100% !important;
  height: 50px !important;
  line-height: 26px !important;
  border-radius: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 2px !important;
  color: #ffffff !important;
  font-family: "Roboto Condensed", sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  display: inline-block !important;
  background: #bda438 !important;
  background-color: #bda438 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer;
  box-sizing: border-box !important;
}

.gform-location-match .gform_footer input[type="submit"]:hover,
.gform-location-match .gform_footer button:hover,
.gform-location-match .gform_footer .gform_button:hover,
.gform-location-match .gform-footer input[type="submit"]:hover,
.gform-location-match .gform-footer button:hover,
.gform-location-match .gform-footer .gform_button:hover {
  color: #636363 !important;
}

.gform-location-match .validation_message,
.gform-location-match .gfield_validation_message,
.gform-location-match .gform_confirmation_message {
  color: #ffffff;
  font-family: "Roboto Condensed", sans-serif;
}

.gform-footer input.gform_button {
background: #292929 !important;
    border: 0px;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 900;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    padding: 18px;
    letter-spacing: 0.58px;
    text-shadow: none;
    width: 100%;
}

.page-template-page-contact .gform-footer input.gform_button {
  padding-left: 0px;
  padding-right: 0px;
  width: 100%;
  float: none;
  white-space: normal;
  background: #caad2c !important;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 24px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
    color: #ffffff;
    border: 0 !important;
    padding: 10px;
}



@media screen and (max-width: 767px) {
  .gform-location-match .gfield,
  .gform-location-match .gform_footer,
  .gform-location-match .gform-footer {
    float: none;
    width: 100%;
    margin: 0 0 15px !important;
  }

  .gform-location-match .ginput_container input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]),
  .gform-location-match .ginput_container select,
  .gform-location-match .gform_footer input[type="submit"],
  .gform-location-match .gform_footer button,
  .gform-location-match .gform-footer input[type="submit"],
  .gform-location-match .gform-footer button {
    width: 100% !important;
    max-width: none !important;
  }
}
