.custom-form{
  margin-top: 15px;
}
.custom-form form .legal-consent-container .hs-richtext p {
    color: #000;
    font-weight: normal;
}
.custom-form form .legal-consent-container .hs-richtext p a {
    font-weight: normal;
}
.custom-form .hs-form-field>label {
    margin: 0;
}
.custom-form  ::placeholder {
 color: #000 !important;
}
.custom-form ::-webkit-input-placeholder {
 color: #000 !important;
}
.custom-form input {
    font-weight: normal;
}
.custom-form input {
  display: block !important;
  height: 50px !important;
  border-radius: 0 !important;
  padding: 0 15px !important;
  font-size: 15px !important;
  color: #000 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: solid 1px #000 !important;
}
.custom-form form .hs-button, 
.custom-form form input[type=submit] {
  background: #266090;
  color: white !important;
  padding: 13px 25px;
  border-radius: 50px !important;
  text-align: center;
  margin-top: 10px;
  font-size: 18px !important;
  font-weight: 600;
  border: 2px solid #266090 !important;
  transition: all 0.4s linear 0s;
  display: inline-block;
  text-transform: uppercase;
  width: 160px;
}
.custom-form form .hs-button:hover, 
.custom-form form input[type=submit]:hover {
  background-color: #fff !important;
  color: #266090 !important;
  font-weight: 600;
}
.custom-form input[type=checkbox] {
  height: auto !important;
  margin-top: 6px !important;
}
.legal-consent-container p {
  color: #000 !important;
  font-size: 14px !important;
}
.custom-form h3.form-title{
  display: none;
}
.custom-form form ul.hs-error-msgs li{
  margin: 0;
}
.custom-form form ul.hs-error-msgs li label{
  font-size: 13px;
  line-height: 1.3; 
}
.custom-form form .hs-form-field{
  margin-bottom: 11px;
  width: calc(33.33% - 15px)!important;
  padding: 0!important;
  margin-top: 0;
}
.custom-form form .legal-consent-container p a{
  color: #dd7500;
}
.custom-form form .legal-consent-container p a:visited{
  color: #b9bf33;
}
.custom-form form .input{
  margin-right: 0!important;
}
.custom-form form fieldset.form-columns-3{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.custom-form form .legal-consent-container{
  padding-top: 0;
}

@media (min-width: 768px) {
  .custom-form .hs_submit.hs-submit {
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    margin-top: 0;
  }
  .custom-form form {
    position: relative;
    padding-right: 170px;
  }
}

@media screen and (max-width: 991px){
  .custom-form input{
    height: 40px !important;
  }
  .custom-form form input[type=submit]{
    font-size: 16px !important;
  }

}
@media screen and (max-width: 767px){
  .custom-form form .hs-form-field{
    margin-bottom: 5px;
  }
  .custom-form form .legal-consent-container{
    margin-top: 6px;
  }
  .custom-form form .input{
    margin: 0!important;
  }
  .custom-form form input{
    height: 42px !important;
    margin-bottom: 15px!important;
  }
  .custom-form form .legal-consent-container{
    margin-top: 0;
  }
  .custom-form form .hs-form-field{
  width: 100%!important;
}
  .custom-form form input[type=submit]{
    margin: 0 auto!important;
    font-size: 14px !important;
    width: 120px;
  }

}