// Lock margin & margin handles to prevent layout breaking
form[data-op3-element-options-type="bulletlist"] {
    .op3-boxmodel {
        .op3-boxmodel-margin-top,
        .op3-boxmodel-margin-bottom,
        .op3-boxmodel-margin-left,
        .op3-boxmodel-margin-right {
            pointer-events: none;
            opacity: 0.5;

            & + .op3-boxmodel-handler {
                display: none;
            }
        }
    }

    .op3-element-options-property.jquery-filter-button-content {
        .op3-element-options-label-group {
            visibility: hidden;
        }
    }

    [data-op3-element-options-property-id="horizontalAlignment"] {
        [data-jquery-select-buttons-option-value="normal"] .jquery-select-buttons-option-icon::before,
        [data-jquery-select-buttons-option-value="flex-start"] .jquery-select-buttons-option-icon::before { content: "\f450"; }
        [data-jquery-select-buttons-option-value="center"] .jquery-select-buttons-option-icon::before     { content: "\f454"; }
        [data-jquery-select-buttons-option-value="flex-end"] .jquery-select-buttons-option-icon::before   { content: "\f3fa"; }
    }

    [data-op3-element-options-property-id="verticalAlignment"] {
        .jquery-select-buttons-widget .jquery-select-buttons-option-icon {
            transform: rotate(90deg);
        }
    }

    &[data-op3-parent-options-property-value-flexdirection="row"] {
        [data-op3-element-options-property-id="bulletblockRowGap"],
        [data-op3-element-options-property-id="horizontalAlignment"] {
            display: none;
        }
    }

    &[data-op3-parent-options-property-value-bulletblockMedia="icon"] {
        [data-op3-element-options-property-id="src"] {
            display: none;
        }
    }

    &[data-op3-parent-options-property-value-bulletblockMedia="image"] {
        [data-op3-element-options-property-id="op3Icon"],
        [data-op3-content-item-name="color-icon-colour"] {
            display: none;
        }
    }
}
