/* css file for embedded hubspot form */
#embedded-hubspot-form,
.rbbn-hsform-wrapper {
  padding: 30px;
}

/* spz styles for forms */
.region.region-content{
  padding: 0 !important;
}

.rbbn-hsform-wrapper{
  padding: 0;
}

.rbbn-hsform-wrapper .no-cookie-message {
  position: absolute;
  width: 100%;
  top: 20vh;
  text-align: center;
}

form{
  width: 100%;
  padding: 40px 40px 50px;
}

@media only screen and (max-width: 555px){
  form{
    padding: 30px;
  }
}

form .hs-main-font-element > img{
  display: none;
}

form h1{
  font-family: "Roboto", sans-serif;
  font-size: 32px !important;
  line-height: 125%;
  font-weight: 700;
  color: #1d2326;
  text-align: center;
  margin: 0 0 10px !important;
}

form > fieldset{
  display: flex;
  column-gap: 20px;
}

@media only screen and (max-width: 555px){
  form > fieldset{
    flex-wrap: wrap;
  }

}

form > fieldset > div{
  flex: 1 1 auto;
}

form > fieldset p{
  margin: 0;
}

form > fieldset legend{
  display: none !important;
}

form > fieldset:nth-of-type(3) p{
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 160%;
  text-align: center;
  color: #5e6e78;
  margin: 0 0 30px;
}

form > fieldset:nth-of-type(3) p a{
  color: #7d01b9;
}

form > fieldset:nth-of-type(3) p a:hover{
  color: #7d01b9;
}

form > fieldset .legal-consent-container p{
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  text-align: center;
  color: #6c7e89;
}

form > fieldset .legal-consent-container p a{
  color: #7d01b9;
}

form > fieldset .legal-consent-container p a:hover{
  color: #7d01b9;
}

form > fieldset .hs-form-field{
  position: relative;
  margin: 0 0 20px;
}

form > fieldset .hs-form-field.spz-active > label{
  color: #363f44;
}

form > fieldset .hs-form-field.spz-active > label, form > fieldset .hs-form-field.spz-filled > label{
  font-size: 13px !important;
  top: -10px;
}

form > fieldset .hs-form-field.spz-error > label{
  color: #e30004;
}

form > fieldset .hs-form-field > label{
  font-family: "Roboto", sans-serif;
  font-size: 16px !important;
  line-height: 150%;
  font-weight: 400;
  text-transform: capitalize;
  color: #6c7e89;
  pointer-events: none;
  background: #fff;
  padding: 0 6px;
  margin: 0;
  transition: all 0.3s ease 0s;
  position: absolute;
  left: 10px;
  top: 12px;
}
/* this was meant to hide the * added by hubspot to the label fore require fields */
/*form > fieldset .hs-form-field > label > span:last-child{
  display: none;
}*/

form > fieldset .hs-form-field .input{
  margin: 0 !important;
}

form > fieldset .hs-form-field input, form > fieldset .hs-form-field textarea{
  color: #363f44;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  background: #fff;
  outline: none;
  border-radius: 6px;
  border: 1px solid #c6ced2;
  padding: 11px 15px;
}

form > fieldset .hs-form-field input:focus, form > fieldset .hs-form-field textarea:focus{
  border-color: #363f44;
}

form > fieldset .hs-form-field input.error, form > fieldset .hs-form-field textarea.error{
  border-color: #e30004;
}

form > fieldset .hs-form-field textarea{
  display: block;
  min-height: 60px !important;
  padding: 10px 15px 0;
}

form > fieldset .hs_phone span{
  display: inline-block !important;
}

form > fieldset .legal-consent-container{
  margin: -15px 0 30px;
}

form > fieldset .hs-fieldtype-textarea label{
  text-transform: none;
}

form > fieldset .hs-error-msgs{
  line-height: 1;
  padding: 0;
  margin: 6px 0 0;
}

form > fieldset .hs-error-msg{
  font-family: "Roboto", sans-serif;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 150%;
  color: #e30004;
}

form .hs_error_rollup{
  margin: -20px 0 0;
}

form .hs_error_rollup ul{
  margin: 0;
}

form .hs_error_rollup label{
  font-family: "Roboto", sans-serif;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 150%;
  color: #e30004;
  margin: 0 0 10px;
}

form .hs-button{
  max-width: none;
  color: #fff !important;
  font-family: "Roboto", sans-serif;
  font-size: 16px !important;
  line-height: 150%;
  font-weight: 700 !important;
  border-radius: 999px !important;
  background: #7d01b9 !important;
  padding: 16px 36px !important;
  border: 0px none;
  width: 100%;
  transition: all ease 0.3s;
}

form .hs-button:hover{
  background: #590184 !important;
}
