.custom-webform.referral-form .webform-element--title-inline {
    display: flex;
    flex-flow: row nowrap;
    width: auto;
    justify-content: start;
    align-content: center;
    margin: 30px 0;
}
.custom-webform.referral-form .webform-element--title-inline input[type=checkbox] {
    width: 18px;
    height: 18px;
    flex-basis: 2%;
}
.custom-webform.referral-form .webform-element--title-inline input[type=checkbox] + label {
    margin: 0 5px;
}

.custom-webform.referral-form h2 {
color: #0033a0;
}

.custom-webform.referral-form .button {
    background-color: #0033a0;
}

.custom-webform.referral-form .form-item__textfield {
border: 2px solid #0033a0;
color: #000;
}

.custom-webform.referral-form .form-item__select {
    border: 2px solid #0033a0;
    color: #000;
}

.custom-webform.referral-form .h2, .custom-webform .text-long h2, .text-long .custom-webform h2 {
color: #0033a0;
}


.custom-webform.referral-form ::placeholder {
  color: #000;
  opacity: 1;
}

.custom-webform.referral-form .description {
color:  #000;
}

.custom-webform.referral-form .js-form-item .form-item__label, .custom-webform.referral-form .form-fieldset .form-item__label, .custom-webform.referral-form p {
color: #000;
}


.custom-webform.referral-form input[type="file"]::-webkit-file-upload-button,
.custom-webform.referral-form input[type="file"]::file-selector-button {
  background-color: #0033a0;
  color: #fff;
  border: none;
  cursor: pointer;
}
.custom-webform .form-item__dropdown::after {
    border-top: 9px solid #0033a0 !important;
}