/* HubSpot contact form styles — standalone for static deployment */

.page-id-2462 .et_pb_section_1 .et_pb_row_2 {
  background-color: #608fb8;
  border-radius: 15px;
  overflow: hidden;
  width: 66%;
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 20px 0;
}

.page-id-2462 .et_pb_section_1 .after-service.white {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}

.page-id-2462 #contact.et_pb_section_2 {
  padding: 24px 0 64px;
}

.page-id-2462 #contact .et_pb_row_5 {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

.page-id-2462 #contact .et_pb_code_inner {
  width: 100%;
}

#contact.et_pb_section_2,
#contact.et_pb_section_5 {
  padding: 24px 0 64px;
}

#contact .et_pb_row_5,
#contact .et_pb_row_6 {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

#contact .et_pb_code_inner {
  width: 100%;
}

#dragonex-hubspot-form-v2 .hbspt-form,
#contact .hbspt-form {
  width: 100%;
}

#dragonex-hubspot-form label {
  color: #ffffff;
  font-size: 16px;
  font-family: Lato, "Open Sans", sans-serif;
  padding-left: 0.5em;
}

#dragonex-hubspot-form-v2 label,
#contact label {
  color: #000000;
  font-size: 16px;
  font-family: Lato, "Open Sans", sans-serif;
  padding-left: 0.5em;
}

#dragonex-hubspot-form .hs-form-required {
  color: #c99700;
}

#dragonex-hubspot-form input,
#dragonex-hubspot-form textarea,
#dragonex-hubspot-form select,
#dragonex-hubspot-form-v2 input,
#dragonex-hubspot-form-v2 textarea,
#dragonex-hubspot-form-v2 select,
#contact input,
#contact textarea,
#contact select {
  border: none;
  border-radius: 35px;
  line-height: 1.5em;
  padding: 15px 25px;
  height: auto;
  width: 100%;
  font-family: Lato, "Open Sans", sans-serif;
  color: #000000;
  font-size: 16px;
  transition: 250ms;
  box-sizing: border-box;
}

#dragonex-hubspot-form-v2 input,
#dragonex-hubspot-form-v2 textarea,
#dragonex-hubspot-form-v2 select,
#contact input,
#contact textarea,
#contact select {
  border: 1px solid #aaaaaa;
}

#dragonex-hubspot-form-v2 input:focus,
#dragonex-hubspot-form-v2 textarea:focus,
#dragonex-hubspot-form-v2 select:focus,
#contact input:focus,
#contact textarea:focus,
#contact select:focus {
  border: 1px solid #000000;
  outline: none;
}

#dragonex-hubspot-form select,
#dragonex-hubspot-form-v2 select,
#contact select {
  padding: 16px 25px;
}

#dragonex-hubspot-form select option,
#dragonex-hubspot-form-v2 select option,
#contact select option {
  line-height: 1.5em;
}

#dragonex-hubspot-form textarea,
#dragonex-hubspot-form-v2 textarea,
#contact textarea {
  height: 125px !important;
}

#dragonex-hubspot-form fieldset,
#dragonex-hubspot-form-v2 fieldset,
#contact fieldset {
  max-width: 100%;
  width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
}

#dragonex-hubspot-form-v2 .hs-form fieldset.form-columns-3,
#contact .hs-form fieldset.form-columns-3 {
  display: flex;
  flex-wrap: wrap;
}

#dragonex-hubspot-form-v2 .hs-form fieldset.form-columns-2,
#contact .hs-form fieldset.form-columns-2 {
  display: flex;
  flex-wrap: wrap;
}

#dragonex-hubspot-form-v2 .hs-form .hs-form-field,
#contact .hs-form .hs-form-field {
  box-sizing: border-box;
}

#dragonex-hubspot-form-v2 .hs_submit.hs-submit input,
#contact .hs_submit.hs-submit input {
  padding: 10px 25px !important;
  color: #ffffff !important;
  background-color: #33658a;
  text-align: center;
  border-radius: 50px !important;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  transition: 350ms;
  font-size: 16px;
  font-family: "AvenirBook", "Open Sans", sans-serif !important;
  display: block;
  width: fit-content !important;
  float: right;
  margin-right: 0;
  border: none;
  cursor: pointer;
}

#dragonex-hubspot-form-v2 .hs_submit.hs-submit input:hover,
#contact .hs_submit.hs-submit input:hover {
  top: -3px !important;
}

#dragonex-hubspot-form .hs_submit.hs-submit input {
  border-radius: 500px 0 0 500px !important;
  margin-top: 40px;
  line-height: 1.4em;
  padding: 12px 25px 10px 35px !important;
  position: relative;
  top: 0;
}

#dragonex-hubspot-form .form-columns-3 .hs-form-field,
#dragonex-hubspot-form-v2 .form-columns-3 .hs-form-field,
#contact .form-columns-3 .hs-form-field {
  width: 33.33%;
}

#dragonex-hubspot-form .form-columns-2 .hs-form-field,
#dragonex-hubspot-form-v2 .form-columns-2 .hs-form-field,
#contact .form-columns-2 .hs-form-field {
  width: 50%;
}

#dragonex-hubspot-form .form-columns-1 .hs-form-field,
#dragonex-hubspot-form-v2 .form-columns-1 .hs-form-field,
#contact .form-columns-1 .hs-form-field {
  width: 100%;
}

#dragonex-hubspot-form .form-columns-3 .hs-form-field:last-child .input,
#dragonex-hubspot-form .form-columns-2 .hs-form-field:last-child .input,
#dragonex-hubspot-form .form-columns-1 .hs-form-field .input {
  margin-right: 0;
}

#dragonex-hubspot-form .hs-form-field ul,
#dragonex-hubspot-form-v2 .hs-form-field ul,
#contact .hs-form-field ul {
  padding: 0 !important;
  list-style: none;
}

#dragonex-hubspot-form .hs-form-field ul li,
#dragonex-hubspot-form-v2 .hs-form-field ul li,
#contact .hs-form-field ul li {
  padding: 0 !important;
}

#dragonex-hubspot-form .hs-form-field ul li::marker,
#dragonex-hubspot-form-v2 .hs-form-field ul li::marker,
#contact .hs-form-field ul li::marker {
  content: none;
}

#dragonex-hubspot-form .form-columns-3 .hs-form-field:last-child .input input,
#dragonex-hubspot-form .form-columns-3 .hs-form-field:last-child .input select,
#dragonex-hubspot-form .form-columns-2 .hs-form-field:last-child .input input,
#dragonex-hubspot-form .form-columns-2 .hs-form-field:last-child .input select {
  border-radius: 35px 0 0 35px;
}

#dragonex-hubspot-form .form-columns-1 textarea,
#dragonex-hubspot-form .form-columns-1 select {
  border-radius: 35px 0 0 35px;
}

#dragonex-hubspot-form .hs_submit.hs-submit::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 750px;
  background-color: #000000;
  position: absolute;
  right: 0;
  bottom: -84px;
}

#dragonex-hubspot-form-v2 label.hs-error-msg,
#contact label.hs-error-msg {
  background-color: #ffffff;
  padding: 5px 10px;
  border-radius: 25px;
  color: #dd3333 !important;
  line-height: 1em;
  display: block;
  width: fit-content;
  margin-top: 5px;
  border: 1px solid #aaaaaa;
}

#dragonex-hubspot-form .submitted-message {
  padding: 10px 25px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 35px;
  font-weight: bold;
}

#dragonex-hubspot-form-v2 .submitted-message,
#contact .submitted-message {
  padding: 10px 25px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 35px;
  font-weight: bold;
  border: 1px solid #aaaaaa;
}

#dragonex-hubspot-form-v2 ul li:before,
#contact ul li:before {
  content: none;
}

#dragonex-hubspot-form-v2 .hs-form-checkbox input,
#contact .hs-form-checkbox input {
  display: inline-block;
  width: fit-content;
  margin: 0;
  margin-right: 10px;
  vertical-align: middle;
}

#dragonex-hubspot-form-v2 .hs-form-checkbox input:hover,
#contact .hs-form-checkbox input:hover {
  cursor: pointer;
}

#dragonex-hubspot-form .hs-richtext,
#dragonex-hubspot-form-v2 .hs-richtext,
#contact .hs-richtext {
  padding: 0 15px;
}

#dragonex-hubspot-form .hs-recaptcha,
#dragonex-hubspot-form-v2 .hs-recaptcha,
#contact .hs-recaptcha,
#dragonex-hubspot-form .g-recaptcha,
#dragonex-hubspot-form-v2 .g-recaptcha,
#contact .g-recaptcha {
  display: none !important;
}

#contact .grecaptcha-badge,
#dragonex-hubspot-form .grecaptcha-badge,
#dragonex-hubspot-form-v2 .grecaptcha-badge {
  visibility: hidden !important;
  display: none !important;
}

@media only screen and (max-width: 767px) {
  .page-id-2462 .et_pb_section_1 .et_pb_row_2 {
    width: 90%;
  }

  #dragonex-hubspot-form .form-columns-3 .hs-form-field,
  #dragonex-hubspot-form .form-columns-2 .hs-form-field,
  #dragonex-hubspot-form-v2 .form-columns-3 .hs-form-field,
  #dragonex-hubspot-form-v2 .form-columns-2 .hs-form-field,
  #contact .form-columns-3 .hs-form-field,
  #contact .form-columns-2 .hs-form-field {
    width: 100%;
  }

  #dragonex-hubspot-form .form-columns-3 .hs-form-field:last-child .input input,
  #dragonex-hubspot-form .form-columns-3 .hs-form-field:last-child .input select,
  #dragonex-hubspot-form .form-columns-2 .hs-form-field:last-child .input input,
  #dragonex-hubspot-form .form-columns-2 .hs-form-field:last-child .input select {
    border-radius: 35px;
  }

  #dragonex-hubspot-form .form-columns-1 textarea,
  #dragonex-hubspot-form .form-columns-1 select {
    border-radius: 35px;
  }

  #dragonex-hubspot-form .form-columns-3 .hs-form-field .input,
  #dragonex-hubspot-form .form-columns-2 .hs-form-field .input,
  #dragonex-hubspot-form .form-columns-1 .hs-form-field .input,
  #dragonex-hubspot-form-v2 .form-columns-3 .hs-form-field .input,
  #dragonex-hubspot-form-v2 .form-columns-2 .hs-form-field .input,
  #dragonex-hubspot-form-v2 .form-columns-1 .hs-form-field .input,
  #contact .form-columns-3 .hs-form-field .input,
  #contact .form-columns-2 .hs-form-field .input,
  #contact .form-columns-1 .hs-form-field .input {
    margin-right: 0;
  }

  #dragonex-hubspot-form .hs_submit.hs-submit input,
  #dragonex-hubspot-form-v2 .hs_submit.hs-submit input,
  #contact .hs_submit.hs-submit input {
    width: 100% !important;
    border-radius: 35px !important;
    padding: 15px 25px !important;
    float: none;
  }

  #dragonex-hubspot-form .hs_submit.hs-submit::after {
    content: none;
  }
}
