+[dir='ltr'] .search-add .search-wrap {
+ border-radius: 20px 4px 4px 20px;
+}
+[dir='rtl'] .search-add .search-wrap {
+ border-radius: 4px 20px 20px 4px;
+}
+.search-add .search-wrap.focused .tooltip {
+ display: none;
+}
+.search-add .search-wrap:last-child {
+ border-radius: 20px;
+}
+.search-add input[type='search'] {
+ position: relative;
+ width: 100%;
+ height: 100%;
+ border: none;
+ font-size: 14px;
+ text-indent: 25px;
+ padding: 5px 10px;
+ border-radius: inherit;
+}
+.search-add input[type='search'][disabled] {
+ opacity: 0.25;
+ cursor: not-allowed;
+}
+.search-add .search-icon {
+ color: #333;
+ display: block;
+ position: absolute;
+ left: 10px;
+ top: 10px;
+ pointer-events: none;
+}
+[dir='rtl'] .search-add .search-icon {
+ left: auto;
+ right: 10px;
+}
+.search-add .popover {
+ border: none;
+ border-radius: 6px;
+ position: absolute;
+ max-height: 600px;
+ top: 44px;
+ width: 200%;
+ max-width: 325px;
+ margin: auto;
+ left: auto;
+ right: auto;
+ z-index: 300;
+}
+.search-add .popover .popover-content {
+ overflow-y: auto;
+ height: 100%;
+ max-height: 60vh;
+}
+.search-add .popover,
+.search-add .popover .popover-content {
+ /* ensure corners are rounded in Chrome */
+ -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
+}
+.search-add .popover .popover-footer {
+ padding: 5px 10px 5px 10px;
+ background: #f6f6f6;
+ border-top: 1px solid #DCDCDC;
+ display: flex;
+}
+.search-add .popover .popover-footer .message {
+ color:Â #666666;
+ flex-grow: 1;
+}
+.search-add .popover .popover-footer button.filter {
+ height: 20px;
+ background: transparent;
+ color: #666;
+}
+.search-add .popover .popover-footer button.filter.active {
+ color: #7092ff;
+}
+.search-add .popover .popover-footer button.filter:hover {
+ color: #333;
+}
+.search-add .popover .popover-footer button.filter.active:hover {
+ color: #597be7;
+}
+.search-add .popover::-webkit-scrollbar {
+ /* don't overlap rounded corners */
+ background: transparent;
+}
+.search-add .popover .list {
+ height: 100%;
+}
+.search-add .list-item > .row {
+ display: flex;
+ position: relative;
+ padding: 2px;
+}
+.search-add .list-item:not(:last-of-type) .row,
+.search-add .subsection.subitems .list-item .row,
+.search-add .subsection > .tag-reference-body {
+ border-bottom: 1px solid #DCDCDC;
+}
+.search-add .list-item .label {
+ font-weight: bold;
+ font-size: 12px;
+ padding-left: 2px;
+ top: 0;
+ bottom: 0;
+ position: relative;
+ display: flex;
+ align-items: center;
+ line-height: 1.3em;
+ width: 100%;
+}
+.search-add .list-item .label .namepart:nth-child(2) {
+ font-weight: normal;
+}
+.search-add .list-item.disabled .preset-icon-container,
+.search-add .list-item.disabled .label {
+ opacity: 0.55;
+}
+[dir='ltr'] .search-add .list-item .label .icon.inline {
+ margin-left: 0;
+}
+[dir='rtl'] .search-add .list-item .label .icon.inline {
+ margin-right: 0;
+}
+.search-add .list-item .row > *:not(button) {
+ pointer-events: none;
+}
+.search-add .list-item button.choose {
+ position: absolute;
+ border-radius: 0;
+ height: 100%;
+ width: 100%;
+ top: 0;
+ left: 0;
+}
+.search-add .list-item button.choose:hover,
+.search-add .list-item button.choose:focus {
+ background: #fff;
+}
+.search-add .list-item.focused:not(.disabled) button.choose {
+ background: #e8ebff;
+}
+.search-add .list-item button.choose.disabled {
+ background-color: #ececec;
+}
+.search-add .subsection .list-item button.choose {
+ opacity: 0.85;
+}
+.search-add .subsection .tag-reference-body {
+ background: rgba(255, 255, 255, 0.85);
+ padding: 10px;
+}
+.search-add .list-item button.accessory {
+ position: relative;
+ flex: 0 0 auto;
+ color: #808080;
+ background: transparent;
+ padding-right: 3px;
+ padding-left: 3px;
+}
+.search-add .list-item button.accessory:hover {
+ color: #666;
+}
+.search-add .list-item button.tag-reference-open path {
+ fill: #000;
+}
+.search-add .subsection {
+ background-color: #CBCBCB;
+}
+[dir='ltr'] .search-add .subitems {
+ padding-left: 6px;
+}
+[dir='rtl'] .search-add .subitems {
+ padding-right: 6px;
+}
+
+/* Add a preset mode buttons
+------------------------------------------------------- */
+
+button.bar-button.add-preset {
+ border-radius: 4px;
+}
+[dir='ltr'] button.bar-button.add-preset {
+ margin-left: 1px;
+}
+[dir='rtl'] button.bar-button.add-preset {
+ margin-right: 1px;
+}
+[dir='ltr'] button.bar-button.add-preset.first-recent {
+ margin-left: 10px;
+}
+[dir='rtl'] button.bar-button.add-preset.first-recent {
+ margin-right: 10px;
+}
+button.bar-button.add-preset {
+ padding: 0;
+}
+button.add-preset.disabled .preset-icon-container {
+ opacity: 0.5;
+}
+/* Header for modals / panes
+------------------------------------------------------- */
+.header {
+ border-bottom: 1px solid #ccc;
+ height: 60px;
+ position: relative;
+}
+
+.header h3 {
+ text-align: center;
+ margin-bottom: 0;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ padding: 20px;
+}
+
+.header button,
+.modal > button {
+ border-radius: 0;
+ width: 40px;
+ text-align: center;
+ overflow: hidden;
+}
+
+.header button {
+ position: relative;
+ height: 100%;
+}
+
+.field-help-title button.close,
+.sidebar-component .header button.data-editor-close,
+.sidebar-component .header button.note-editor-close,
+.sidebar-component .header button.error-editor-close,
+.entity-editor-pane .header button.preset-close,
+.preset-list-pane .header button.preset-choose {
+ position: absolute;
+ right: 0;
+ top: 0;
+}
+[dir='rtl'] .field-help-title button.close,
+[dir='rtl'] .sidebar-component .header button.data-editor-close,
+[dir='rtl'] .sidebar-component .header button.note-editor-close,
+[dir='rtl'] .sidebar-component .header button.error-editor-close,
+[dir='rtl'] .entity-editor-pane .header button.preset-close,
+[dir='rtl'] .preset-list-pane .header button.preset-choose {
+ left: 0;
+ right: auto;
+}
+
+.entity-editor-pane .header button.preset-choose {
+ position: absolute;
+ left: 0;
+ top: 0;
+}
+[dir='rtl'] .entity-editor-pane .header button.preset-choose {
+ left: auto;
+ right: 0;
+}
+
+.preset-choose {
+ font-size: 16px;
+ line-height: 1.25;
+ font-weight: bold;
+}
+
+.modal > button {
+ position: absolute;
+ right: 0;
+ top: 0;
+ height: 59px;
+ z-index: 50;
+}
+[dir='rtl'] .modal > button {
+ left: 0;
+ right: unset;
+}
+
+.footer {
+ position: absolute;
+ bottom: 0;
+ margin: 0;
+ padding: 5px 20px 5px 20px;
+ border-top: 1px solid #ccc;
+ background-color: #f6f6f6;
+ width: 100%;
+ z-index: 1;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ list-style: none;
+ display: flex;
+}
+
+.footer > a {
+ justify-content: center;
+}
+
+.header-container {
+ display: flex;
+ justify-content: space-between;
+}
+
+.header-block-outer {
+ width: 20%;
+}
+
+.header-block-close {
+ display: flex;
+ justify-content: flex-end;
+}
+
+/* Hide/Toggle collapsable sections (aka Disclosure)
+------------------------------------------------------- */
+.hide-toggle .icon.pre-text {
+ vertical-align: text-top;
+ width: 16px;
+ height: 16px;
+ margin-left: -3px;
+}
+[dir='rtl'] .hide-toggle .icon.pre-text {
+ margin-left: 0;
+ margin-right: -3px;
+}
+
+a:visited.hide-toggle,
+a.hide-toggle {
+ display: inline-block;
+ font-size: 14px;
+ font-weight: bold;
+ padding-bottom: 5px;
+}
+
+
+/* Sidebar / Inspector
+------------------------------------------------------- */
+#sidebar {
+ position: relative;
+ float: left;
+ height: 100%;
+ z-index: 10;
+ background: #f6f6f6;
+ -ms-user-select: element;
+ border: 0px solid #ccc;
+ border-right-width: 1px;
+}
+[dir='rtl'] #sidebar {
+ float: right;
+ border-right-width: 0px;
+ border-left-width: 1px;
+}
+
+#sidebar-resizer {
+ position: absolute;
+ top: 0;
+ right: -6px;
+ height: 100%;
+ width: 6px;
+ cursor: col-resize;
+}
+[dir='rtl'] #sidebar-resizer {
+ right: auto;
+ left: -6px;
+}
+
+#sidebar.collapsed #sidebar-resizer {
+ /* make target wider to avoid the user accidentally resizing window */
+ width: 10px;
+ right: -10px;
+}
+[dir='rtl'] #sidebar.collapsed #sidebar-resizer {
+ left: -10px;
+}
+