.contact-form-wrapper {
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  padding: 100px 0;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contact-bg-image {
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(https://a-cloud.b-cdn.net/media/iW=5000&iH=any/6a0489d….jpg);
  background-position: 50% 50%;
  position: absolute;
  top: 0;
  background-attachment: scroll;
  left: 0;
  width: 100%;
  height: 100%;
}

.contact-bg-color {
  background-color: #28597f;
  background-color:#537e35;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

.contact-heading {
  position: relative;
  z-index: 1;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.contact-form-wrapper .page-center {
  max-width: calc(0.5 *( 1170px));
  position: relative;
  padding:0;
  justify-content: center;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
}

.contact-heading {
  margin: 10px 0px 10px 0px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  min-height: 1px;
  position: relative;
  z-index: 0;
}

.contact-heading h2 {
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.contact-form {
  margin: 10px 0px 10px 0px;
}

.contact-form h3{
  display:none;
}

.contact-form form {
  background: none;
  margin: 0 -15px -30px;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap!important;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0;

}

.contact-form form .hs-form-field {
  padding: 0 15px 30px;
  max-width: 100%;
  flex-basis: 100%;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.contact-form form textarea{
  height: 165px!important;
}

.contact-form form .hs_submit.hs-submit {
  margin-left: auto;
  margin-right: auto;
  max-width: 40%;
  flex-basis: 40%;
  padding: 0px 15px 30px 15px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
}

.contact-form form input.hs-button.primary.large {
  display: flex;
  width: 100%;
  transition-duration: 0.50s;
  transition-property: color, box-shadow, background, border-color;
  color: #5d9031;
  border: 2px solid #fff;
  border: none;
}
.contact-form form input.hs-button.primary.large:hover { color:#fff; border-color:#5d9031; }

.contact-form .submitted-message {
  min-height: 55px;
  width: 100%;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 2.5px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 17px 30px;
  color: #fff;
  background-color: #15D053;
  margin-top: 15px;
}
.contact-form-wrapper .hs_error_rollup {
    padding: 0 15px;
    float: left;
    width: 100%;
}
@media (max-width: 991px) and (min-width: 768px){
  .contact-form-wrapper {
    padding: 75px;
  }
  .contact-heading h2 {
    color: #fff;
    font-size: 36px;
    margin: 0 0 30px;
    line-height: 1.2;
    letter-spacing: -1.5px;
  }
  .contact-form {
    margin: 0;
  }
  .contact-form form label{
    font-size: 17px;
    padding-bottom: 5px;
  }
  .contact-form form .hs-input {
    padding: 14px 24px 14px 24px;
    min-height: 49px;
  }
  .contact-form form .hs_submit.hs-submit {
    margin-left: auto;
    margin-right: auto;
    max-width: 35%;
    flex-basis: 35%;
  }
  .contact-form form input.hs-button.primary.large {
    padding: 10px 26px 10px 26px;
  }
}

@media (max-width: 991px){
  .contact-form-wrapper .page-center{
    max-width: 100%;
  }
}

@media (max-width: 767px){
  .contact-form-wrapper {
    padding: 50px;
  }
  .contact-heading h2 {
    color: #fff;
    margin: 0 0 40px;
    line-height: 1.1;
    font-size: 32px;
    letter-spacing: -1px;
    text-align: center;
  }
  .contact-heading {
    margin: 0;
  }
  .contact-form {
    margin: 0;
  }
  .contact-form form {
    margin: 0px -10px -20px -10px;
  }
  .contact-form form .hs-form-field {
    padding: 0px 10px 20px 10px;
  }
  .contact-form form label{
    font-size: 16px;
    padding-bottom: 5px;
  }
  .contact-form form .hs-input {
    padding: 10px 20px 10px 20px;
    min-height: 41px;
  }
  .contact-form form .hs_submit.hs-submit {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    flex-basis: 100%;
    padding: 0px 10px 20px 10px;
  }
  .contact-form form input.hs-button.primary.large {
    padding: 11px 26px 11px 26px;
    flex-flow: row nowrap;
    font-size:14px;
  }
   .contact-form-wrapper .hs_error_rollup {
    padding: 0 10px;
    float: left;
    width: 100%;
}
}

.hs-form-required { color:#f4b24c !important; }