#contact-form {
  background: #F2F2F8;
  padding: 30px 0;
  position: relative;
}
body.webbuilder-theme--helix #contact-form {
  display:none;
}

#contact-form h1 {
  color: #233078;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  padding-bottom: 0;
}

#contact-form #contact-form-desc {
  font-size: 18px;
  color: #233078;
  line-height: 1.2;
  font-weight: 300;
  text-align: center;
}

#contact-form .label {
  font-size: 15px;
  font-weight: 700;
  color: #233078;
  display: block;
  width: 100%;
  min-height: 25px;
}

#contact-form .label sup.contactForm__required {
  color: #E02D2D;
  font-size: inherit;
  bottom: -1px;
  left: 0px;
  top: auto;
}

#contact-form label.error {
  display: block;
  color: #E02D2D;
  font-weight: 700;
  font-size: 14px;
}

#contact-form .select {
  width: 100%;
  display: block;
  border: 0;
  background: #fff;
  font-size: 16px;
  padding: 20px 40px 20px 25px;
  font-weight: 500;
  outline: none;
  color: #3C3C3C;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#contact-form .input {
  width: 100%;
  display: block;
  border: 0;
  background: #fff;
  font-size: 16px;
  padding: 20px 25px 20px 25px;
  font-weight: 500;
  outline: none;
  color: #3C3C3C;
}

#contact-form .custom-select-1 {
  position: relative;
}

#contact-form .custom-select-1::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  position: absolute;
  top: 20px;
  right: 2rem;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  border: 2px solid transparent;
  border-right-color: #000;
  border-bottom-color: #000;
  z-index: 0;
}

#contact-form helix-layout-container {
  max-width: 955px;
  margin: 0 auto;
  display: block;
}

#contact-form p.text-center {
  color: #233078;
  font-size: 16px;
  line-height: 21px;
  text-align: center;
  letter-spacing: -0.1px;
}

#contact-form p.text-center .privacy {
  text-decoration: underline;
}

#contact-form p.text-center .contactForm__required {
  color: #E02D2D;
  font-size: inherit;
  left: -1.5px;
  top: 0;
}

#contact-form div.checkbox {
  text-align: center;
  display: flex;
  justify-content: center;
  position: relative;
  max-width: 460px;
  margin: 10px auto 20px;
}

#contact-form input.checkbox {
  border-radius: 4px;
  -webkit-transform: scale(1.5);
  -ms-transform: scale(1.5);
  -o-transform: scale(1.5);
  transform: scale(1.5);
}

#contact-form .checkbox label.error {
  position: absolute;
  top: 15px;
  display: none;
  text-align: left;
  width: 100%;
}

#contact-form .checkbox label.label {
  font-size: 13px;
  position: relative;
  top: 2px;
}

#contact-form .text-center {
  text-align: center;
}

#contact-form input[type="submit"] {
  color: #fff;
  border: 0;
  background: #00004E;
  font-size: 18px;
  font-weight: 700;
  font-family: "noto-sans", sans-serif;
  padding: 14px 30px;
  display: block;
  margin: 5px auto 0;
  min-width: 200px;
}

.thank-you {
  background: #F2F2F8;
  padding: 30px 0;
  position: relative;
}

body.webbuilder-theme--helix .thank-you {
  display: none;
}

.thank-you h1 {
  color: #233078;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  padding-bottom: 0;
}

.thank-you p {
  font-size: 18px;
  color: #233078;
  line-height: 1.2;
  font-weight: 300;
  text-align: center;
}

.thank-you .close-thank-you,
#contact-form .close-form {
  position: absolute;
  right: 30px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  width: 30px;
  height: 30px;
  display: inline-block;
  outline: none;
  box-shadow: none;
}

.thank-you .close-thank-you img,
#contact-form .close-form img {
  width: 100%;
  height: 100%;
}

.toggle-contact-form,
.connect_us .opp_tiles.hydrated {
  transition: .2s all;
}

.toggle-contact-form.active,
.connect_us .opp_tiles.hydrated:hover {
  border: 3px solid #003FE2;
  box-shadow: 0 4px 16px RGBA(0, 63, 226, 0.32);
  cursor: pointer;
}

.toggle-contact-form, .connect_us .opp_tiles.hydrated {
  position: relative;
}

.toggle-contact-form .helix-text > a, .connect_us .opp_tiles.hydrated .helix-text > a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

@media (max-width:767px) {
  .thank-you .close-thank-you, #contact-form .close-form {
    position: static;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  #contact-form h1 {
    font-size: 28px;
  }
  #contact-form #contact-form-desc {
    font-size: 14px;
    text-align: center !important;
  }
  #contact-form .label {
    font-size: 12px;
    min-height: 20px;
  }
  #contact-form .select {
    padding: 14px 35px 14px 20px;
    font-size: 12px;
  }
  #contact-form .custom-select-1::before {
    width: 10px;
    height: 10px;
    border: 1px solid transparent;
    border-right-color: #000;
    border-bottom-color: #000;
    top: 15px;
  }
  #contact-form .input {
    padding: 11px 20px;
  }
  #contact-form p.text-center {
    line-height: normal;
    font-size: 12px;
  }
  #contact-form p.text-center.mobile-text-left {
    text-align: left !important;
  }
  #contact-form .checkbox label.label {
    font-size: 11px;
    text-align: left;
    line-height: 1;
    left: 7px;
    letter-spacing: 0.3px;
  }
}
