a.acf-icon {
    text-decoration: none !important;
}

a.acf-icon:hover {
    color: var(--theme--color--primary);
    border-color: currentColor;
}

.acf-icon.dark {
    background: var(--theme--color--primary);
}

a.acf-icon.dark:hover {
    background: var(--theme--color--background);
}

a.acf-icon.-minus:hover,
a.acf-icon.-cancel:hover {
    color: var(--theme--color--error);
    border-color: currentColor;
}

.acf-icon.-plus::before,
.acf-icon.-minus::before {
    font-family: var(--theme--font-family--font-awesome);
    font-weight: 900;
    font-size: 12px;
    line-height: 14px;
}

.acf-icon.-plus::before {
    content: '\f067';
}

.acf-icon.-minus::before {
    content: '\f1f8';
}

.acf-url i {
    top: 50%;
    transform: translate(0, -50%);
}

.acf-required {
    color: var(--theme--color--error);
}

.acf-notice-dismiss {
    display: none;
}

.acf-tooltip.-confirm {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* acf-fields */
.acf-fields.-border:not(.-left) {
    border: 0;
    border-radius: var(--theme--card--border-radius);
    box-shadow: var(--theme--card--box-shadow);
}

.acf-fields.-left {
    border: 0;
    margin-top: -0.5em;
}

.acf-fields.-left > .acf-field::before {
    top: 0.5em;
    border: 0;
    background: var(--theme--form--border-color);
    border-radius: var(--theme--form--border-radius);
}

@media (min-width: 641px) {
    .acf-fields.-left > .acf-field > .acf-label {
        padding: 0.5em 0.5em;
    }
}

/*  acf-field-group */
.acf-field-group > .acf-label {
    margin-bottom: 0.25em;
}

.acf-field-group > .acf-label label {
    color: var(--theme--color--primary);
    font-size: var(--theme--font-size--medium);
    font-weight: 700;
    line-height: 1.25;
}

/* acf-field */
.acf-fields > .acf-field {
    border: 0;
    margin: 0;
    padding: 0.75em 0.75em;
}

.acf-fields.-left > .acf-field {
    padding: 0.75em 0;
}

.acf-form-fields > .acf-field {
    padding: 0;
}

.acf-form-fields > .acf-field + .acf-field {
    margin-top: 1em;
}

.acf-field .acf-label {
    margin: 0;
}

.acf-field .acf-label label {
    font-weight: 700;
    margin-bottom: 0;
}

.acf-field .acf-label p,
.acf-field p.description {
    font-size: var(--theme--font-size--small);
    color: var(--theme--color--text);
    margin: 0.25em 0 0.5em;
}

.acf-table > thead > tr > th p.description,
.acf-fields.-left > .acf-field > .acf-label p.description {
    font-size: var(--theme--font-size--small);
    margin: 0.25em 0 0;
}

.acf-field .acf-input {
    display: flex;
    flex-direction: column;
}

.acf-field .acf-input-wrap,
.acf-field .select__wrapper,
.acf-field .acf-checkbox-list,
.acf-field .acf-radio-list,
.acf-field .acf-true-false,
.acf-field .select2,
.acf-field .acf-range-wrap,
.acf-field .acf-relationship,
.acf-field .acf-button-group,
.acf-field textarea {
    order: -1;
}

.acf-field .acf-input-wrap {
    overflow: visible;
}

.acf-field .acf-readonly-value {
    font-size: var(--theme--font-size--normal);
    font-weight: 400;
    padding-top: 0.3em;
    display: block;
}

.acf-field .acf-input-flex {
    display: flex;
    order: -1;
}

.acf-field .acf-input-flex .acf-input-wrap {
    flex: 1;
}

.acf-field .acf-input-prepend,
.acf-field .acf-input-append {
    display: none;
}

.acf-field .acf-input-flex .acf-input-prepend,
.acf-field .acf-input-flex .acf-input-append {
    background: var(--theme--form--border-color);
    border-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
    color: var(--theme--color--text);
}

.acf-field .acf-input-flex .acf-input-prepend {
    order: -1;
    border-radius: var(--theme--form--border-radius) 0 0 var(--theme--form--border-radius);
}

.acf-field .acf-input-flex .acf-input-append {
    order: 1;
    border-radius: 0 var(--theme--form--border-radius) var(--theme--form--border-radius) 0;
}

.acf-field .acf-input-flex .acf-input-wrap .acf-is-prepended {
    border-radius: 0 var(--theme--form--border-radius) var(--theme--form--border-radius) 0 !important;
}

.acf-field .acf-input-flex .acf-input-wrap .acf-is-appended {
    border-radius: var(--theme--form--border-radius) 0 0 var(--theme--form--border-radius) !important;
}

.acf-field .acf-input-flex .acf-input-wrap .acf-is-prepended.acf-is-appended {
    border-radius: 0 !important;
}

.acf-field input[type='text'],
.acf-field input[type='password'],
.acf-field input[type='date'],
.acf-field input[type='datetime'],
.acf-field input[type='datetime-local'],
.acf-field input[type='email'],
.acf-field input[type='month'],
.acf-field input[type='number'],
.acf-field input[type='search'],
.acf-field input[type='tel'],
.acf-field input[type='time'],
.acf-field input[type='url'],
.acf-field input[type='week'],
.acf-field textarea,
.acf-field select {
    padding: 1em 1em;
    font-size: var(--theme--font-size--small);
    line-height: var(--theme--line-height--normal);
}

.acf-field.acf-error:not(.acf-field-relationship) input[type='text'],
.acf-field.acf-error input[type='password'],
.acf-field.acf-error input[type='date'],
.acf-field.acf-error input[type='datetime'],
.acf-field.acf-error input[type='datetime-local'],
.acf-field.acf-error input[type='email'],
.acf-field.acf-error input[type='month'],
.acf-field.acf-error input[type='number'],
.acf-field.acf-error input[type='search'],
.acf-field.acf-error input[type='tel'],
.acf-field.acf-error input[type='time'],
.acf-field.acf-error input[type='url'],
.acf-field.acf-error input[type='week'],
.acf-field.acf-error textarea,
.acf-field.acf-error:not(.acf-field-relationship) select {
    border-color: var(--theme--color--error);
}

.acf-field .select__wrapper:not(.select__wrapper--multiple) select {
    padding: 1em 2.5em 1em 1em;
}

.acf-field .acf-notice.-error {
    background: none;
    color: var(--theme--color--error);
    padding: 0;
    margin: 0.25em;
}

.acf-field .acf-notice p {
    font-size: var(--theme--font-size--small);
    font-weight: 400;
}

.acf-field .acf-notice p em {
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .acf-field .acf-input-flex {
        flex-direction: column;
    }

    .acf-field .acf-input-flex .acf-input-prepend {
        border-radius: var(--theme--form--border-radius) var(--theme--form--border-radius) 0 0;
    }

    .acf-field .acf-input-flex .acf-input-append {
        border-radius: 0 0 var(--theme--form--border-radius) var(--theme--form--border-radius);
    }

    .acf-field .acf-input-flex .acf-input-wrap .acf-is-prepended {
        border-radius: 0 0 var(--theme--form--border-radius) var(--theme--form--border-radius) !important;
    }

    .acf-field .acf-input-flex .acf-input-wrap .acf-is-appended {
        border-radius: var(--theme--form--border-radius) var(--theme--form--border-radius) 0 0 !important;
    }
}

/* acf-form-submit */
.acf-form-submit {
    margin-top: 1.5em;
}

.acf-form-submit .acf-spinner {
    margin-left: 0.5em;
}
