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JzEwJz48L3JlY3Q+PHJlY3QgaWQ9J1JlY3RhbmdsZScgc3Ryb2tlPScjOTgzQUExJyBmaWxsPScjRDU5NERBJyB4PScxNi41JyB5PScyLjUnIHdpZHRoPScyJyBoZWlnaHQ9JzUnPjwvcmVjdD48L2c+PC9nPjwvc3ZnPg==");
    background-repeat: no-repeat;
}

.rico {
    background-repeat: no-repeat;
}

.ri-file-search {
    background-image: url("icons/file-search_30.svg");
}

.ri-save {
    background-image: url("icons/save_30.svg");
}

.ri-lock {
    background-image: url("icons/lock_30.svg");
}

.ri-unlock {
    background-image: url("icons/unlock_30.svg");
}

.ri-fx {
    background-image: url("icons/fx_30.svg");
}

.ri-headings {
    background-image: url("icons/headings_30.svg");
}

.ri-gridlines {
    background-image: url("icons/gridlines_30.svg");
}

.ri-note-number {
    background-image: url("icons/note-number_20.svg");
}

.ri-note-group {
    background-image: url("icons/note-group_20.svg");
}

.ri-note-ungroup {
    background-image: url("icons/note-ungroup_20.svg");
}

.ri-note-up {
    background-image: url("icons/note-up_20.svg");
}

.ri-note-down {
    background-image: url("icons/note-down_20.svg");
}

.ri-note-number {
    background-image: url("icons/note-number_20.svg");
}

.ri-num-open {
    background-image: url("icons/num-open_30.svg");
}

.ri-num-adjust {
    background-image: url("icons/num-adjust_30.svg");
}

.ri-num-final {
    background-image: url("icons/num-final_30.svg");
}

.ri-num-prior {
    background-image: url("icons/num-prior_30.svg");
}

.ri-row-insert {
    background-image: url("icons/row-insert_20.svg");
}

.ri-row-hide {
    background-image: url("icons/row-hide_20.svg");
}

.ri-row-remove {
    background-image: url("icons/row-remove_20.svg");
}

.ri-col-insert {
    background-image: url("icons/col-insert_20.svg");
}

.ri-col-hide {
    background-image: url("icons/col-hide_20.svg");
}

.ri-col-remove {
    background-image: url("icons/col-remove_20.svg");
}

.ri-name-manager {
    background-image: url("icons/name-manager_30.svg");
}

.ri-name-range {
    background-image: url("icons/name-range_20.svg");
}

.ri-name-sort {
    background-image: url("icons/name-sort_20.svg");
}

.ri-name-page {
    background-image: url("icons/name-page_20.svg");
}

.ri-name-delete {
    background-image: url("icons/name-delete_20.svg");
}

.ri-smart-create {
    background-image: url("icons/smart-create_30.svg");
}

.ri-smart-select {
    background-image: url("icons/smart-select_30.svg");
}

.ri-page-break {
    background-image: url("icons/page-break_30.svg");
}

.ri-page-break-clear {
    background-image: url("icons/page-break-clear_30.svg");
}

.ri-page-break-clear-all {
    background-image: url("icons/page-break-clear-all_30.svg");
}

.ri-column-break {
    background-image: url("icons/column-break_30.svg");
}

.ri-column-break-clear {
    background-image: url("icons/column-break-clear_30.svg");
}

.ri-column-break-clear-all {
    background-image: url("icons/column-break-clear-all_30.svg");
}

.ri-arrow-left {
    background-image: url("icons/arrow-left_30.svg");
}

.ri-arrow-right {
    background-image: url("icons/arrow-right_30.svg");
}

.ri-sync {
    background-image: url("icons/sync_30.svg");
}

.ri-rounding {
    background-image: url("icons/rounding_30.svg");
}

.ri-drilldown {
    background-image: url("icons/drilldown_30.svg");
}

.ri-draftworx {
    background-image: url("icons/draftworx_30.svg");
}

.ri-excel {
    background-image: url("icons/excel_30.svg");
}

.ri-link {
    background-image: url("icons/link_30.svg");
}

.ri-review-not-applicable {
    background-image: url("icons/review-not-applicable_30.svg");
}

.ri-review-prepared {
    background-image: url("icons/review-prepared_30.svg");
}

.ri-review-reviewed {
    background-image: url("icons/review-reviewed_30.svg");
}

.ri-review-peer-reviewed {
    background-image: url("icons/review-peer-reviewed_30.svg");
}

.ri-review-exception {
    background-image: url("icons/review-exception_30.svg");
}

.ri-review-initials {
    background-image: url("icons/review-initials_30.svg");
}

.ri-note-add {
    background-image: url("icons/note-add_30.svg");
}

.ri-note-prev {
    background-image: url("icons/note-prev_30.svg");
}

.ri-note-next {
    background-image: url("icons/note-next_30.svg");
}

.ri-sheet {
    background-image: url("icons/sheet_30.svg");
}

.ri-clear-cell-back {
    background-image: url("icons/clear-cell-back_30.svg");
}

.ri-toggle-buttons {
    background-image: url("icons/toggle-buttons_30.svg");
}

.ri-page-note {
    background-image: url("icons/page-note_30.svg");
}

.ri-freeze-panes {
    background-image: url("icons/freeze-panes_30.svg");
}

.ri-freeze-panes-un {
    background-image: url("icons/freeze-panes-un_30.svg");
}

.ri-header {
    background-image: url("icons/header_30.svg");
}

.ri-clear-linebreaks {
    background-image: url("icons/clear-linebreaks_30.svg");
}

.ri-uppercase-formula {
    background-image: url("icons/uppercase-formula_30.svg");
}

.ri-sum {
    background-image: url("icons/sum_20.svg");
}

.ri-file-text {
    background-image: url("icons/file-text_30.svg");
}

.ri-file-many {
    background-image: url("icons/file-many_30.svg");
}

/* Reset Bootstrap .label overrides inside SpreadJS designer dialogs */
.gc-designer-dialog .label {
    color: inherit;
    font-size: inherit;
    font-weight: normal;
    padding: 0;
    text-align: left;
    background-color: transparent;
    border-radius: 0;
}

.gc-designer-dialog .gc-column-set {
    align-items: center;
}

/* Fix Bootstrap margin-bottom on inputs causing label misalignment in Find & Replace */
.gc-designer-dialog .gc-text-editor {
    margin-bottom: 0;
}

/* Row & Column Size inline labels */
.gc-designer-ribbon-editable-select[data-command="ribbon.dxRowHeight"],
.gc-designer-ribbon-editable-select[data-command="ribbon.dxColWidth"] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gc-designer-ribbon-editable-select[data-command="ribbon.dxRowHeight"]::before {
    content: "H:";
    font-size: 11px;
    white-space: nowrap;
}

.gc-designer-ribbon-editable-select[data-command="ribbon.dxRowHeight"]::after,
.gc-designer-ribbon-editable-select[data-command="ribbon.dxColWidth"]::after {
    content: "px";
    font-size: 11px;
    white-space: nowrap;
}

.gc-designer-ribbon-editable-select[data-command="ribbon.dxColWidth"]::before {
    content: "W:";
    font-size: 11px;
    white-space: nowrap;
}

.ri-bullet {
    background-image: url("icons/bullet_30.svg");
}

.ri-symbol {
    background-image: url("icons/symbol_30.svg");
}

.ri-drilldown {
    background-image: url("icons/drilldown_20.svg");
}

/* Hide the disabled formula lock/unlock button so only the active one is visible */
[data-command="ribbon.unlockFormulas"].gc-designer-ribbon-button-disable,
[data-command="ribbon.lockFormulas"].gc-designer-ribbon-button-disable {
    display: none !important;
}
