.d-none {
    display: none !important;
}

form {
    font-family: "Codec Pro", sans-serif;
}

.form__actions input[type="submit"] {
    background-color: #392d7a;
    background-image: url('/-/media/MoreThanRare/images/stay-connected/mtr-arrow-right.png');
    background-position-x: 80px;
    background-position-y: 10px;
    background-repeat: no-repeat;
    background-size: 20px;
    border-radius: 2px;
    color: white;
    cursor: pointer;
    font-weight: 500;
    padding: 14px 40px 14px 14px;
}

.form__actions input[type="submit"][disabled] {
    background-color: #acacac;
    cursor: not-allowed;
}

.form__agreement label {
    font-size: 16px;
    line-height: 1.5;
    padding-left: 24px;
    width: 100%;
    max-width: 360px;
}

@media screen and (min-width: 500px) {
    .form__agreement label {
        max-width: unset;
    }
}

.form__agreement label a {
    color: #2e7ab8;
    text-decoration: underline;
}

.form__agreement label input[type="checkbox"] {
    margin-left: -24px;
}

.form__label {
    color: #392d7a;
    display: block;
    font-size: 12.8px;
    font-weight: 500;
    line-height: 16px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form__row {
    margin-bottom: 24px;
}

.form__row input[type="text"],
.form__row input[type="number"],
.form__row input[type="password"],
.form__row input[type="email"],
.form__row select {
    appearance: none;
    border: 2px solid #626469;
    color: #626469;
    font-size: 18px;
    line-height: 27px;
    max-width: 446px;
    padding: 12.5px 12px;
    width: 100%;
}

.form__row select,
.form__row input[type="radio"],
.form__row input[type="checkbox"] {
    cursor: pointer;
}

.form__row input.input-error,
.form__row select.input-error {
    border: 2px solid #cb2f22 !important;
    outline: 1px solid #cb2f22;
}

.form__row .nice-select {
    border-radius: 0;
    float: initial;
    max-width: 446px;
    width: 100%;
}

.form__selection-label {
    color: #363532;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 12px;
}

.form__selection-label input[type="checkbox"],
.form__selection-label input[type="radio"] {
    border: 2px solid #363532;
    border-radius: 2px;
    display: inline-block;
    height: 16px;
    margin-right: 8px;
    width: 16px;
}

.form__selection-label input[type="checkbox"]:checked,
.form__selection-label input[type="radio"]:checked {
    background-color: #392d7a;
    background-image: url('data:image/svg+xml,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.47554 8L0.666016 4.22095L1.87744 3.02476L4.47554 5.6L10.1213 0L11.3327 1.20381L4.47554 8Z" fill="white"/></svg>');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
}

.validation-message-error {
  color: #cb2f22;
  font-size: 14px;
  display: block;
  margin-top: 8px;
}

.field-validation-valid {
  display: none;
}

.nice-select:after {
    top: 0;
    bottom: 0;
    width: 11px;
    height: 11px;
    margin-block: auto;
    border-bottom: 3px solid #363532;
    border-right: 3px solid #363532;
    right: 16px;
}
