:root {
  --menubar-height: 30px;
}

.cet-container {
  /* margin-bottom: 30px; */
  /* overflow: hidden !important; */
  display: none;
}

.cet-titlebar {
  color: var(--titlebar-text-color) !important;
  font-weight: bold !important;
  /* z-index: 100 !important; */ /* default 9999 */
  min-width: 550px;
}

.cet-menubar-menu-title,
.cet-menubar-menu-button,
.cet-action-item,
.cet-action-menu-item,
.cet-menu-item-icon.checkbox {
  color: var(--titlebar-text-color) !important;
}

/* .cet-menu-item-icon > svg {
    fill: var(--titlebar-text-color) !important;
  } */

.cet-window-title {
  color: var(--titlebar-title-text-color) !important;
}

/* rtl overrides */

html[dir="rtl"] .cet-menubar-menu-container {
  text-align: start;
}

html[dir="rtl"] .cet-menubar {
  margin-right: 0px !important;
  margin-left: 20px !important;
}

html[dir="rtl"] .cet-window-controls {
  margin-left: 0px !important;
  margin-right: 10px !important;
}

/* html[dir="rtl"] .cet-menubar-menu-container .cet-action-menu-item {
} */

html[dir="rtl"] .cet-menubar-menu-container .cet-submenu-indicator {
  right: auto !important;
  left: 4px !important;
  transform: scaleX(-1) !important;
}

html[dir="rtl"] .cet-menubar-menu-container .cet-action-label:not(.separator) {
  padding: 0 0.8em 0 2em;
}

html[dir="rtl"] .cet-menubar-menu-container .keybinding {
  text-align: end !important;
  padding: 0 1em 0 2em !important;
}

html[dir="rtl"] .cet-menubar-menu-container .cet-menu-item-icon {
  margin: 0 12px 0 0 !important;
}
