+[dir='rtl'] .joined > *.bar-button:last-child {
+ border-radius: 4px 0 0 4px;
+}
+
+
+/* Action buttons */
+button.action {
+ background: #7092ff;
+ color: #fff;
+}
+button.action:focus,
+button.action:hover {
+ background: #597be7;
+}
+button.secondary-action {
+ background: #ececec;
+}
+button.secondary-action:focus,
+button.secondary-action:hover {
+ background: #cccccc;
+}
+
+button.action.disabled,
+button.action.disabled:hover,
+button[disabled].action,
+button[disabled].action:hover {
+ background: #cccccc;
+ color: #888;
+ cursor: not-allowed;
+}
+
+
+/* Icons
+------------------------------------------------------- */
+.icon {
+ vertical-align: top;
+ width: 20px;
+ height: 20px;
+}
+
+.icon.inline {
+ vertical-align: text-top;
+ width: 14px;
+ height: 14px;
+ margin: 0px 3px;
+}
+
+.icon.pre-text {
+ margin-right: 5px;
+}
+[dir='rtl'] .icon.pre-text {
+ margin-left: 5px;
+ margin-right: 0;
+}
+
+.icon.pre-text.user-icon {
+ margin-left: 5px;
+ margin-right: 5px;
+}
+
+.icon.light {
+ color: #fff;
+}
+.icon.created {
+ color: #00ca07;
+}
+.icon.modified {
+ color: #666;
+}
+.icon.deleted {
+ color: #ea0000;
+}
+
+.user-icon {
+ max-height: 20px;
+ max-width: 20px;
+ height: auto;
+ width: auto;
+ border-radius: 3px;
+}
+
+.icon-annotation {
+ color: #333;
+}
+
+.notification-badge {
+ display: block;
+ position: absolute;
+ width: 10px;
+ height: 10px;
+ right: 7px;
+ top: 9px;
+}
+
+.notification-badge.hide {
+ display: none;
+}
+
+
+/* Toolbar / Persistent UI Elements
+------------------------------------------------------- */
+#bar {
+ display: flex;
+ flex-flow: row nowrap;
+ justify-content: space-between;
+ position: absolute;
+ padding: 10px 5px 0px 5px;
+ left: 0;
+ top: 0;
+ right: 0;
+ z-index: 101;
+}
+#bar .toolbar-item {
+ display: flex;
+ flex: 0 1 auto;
+ flex-flow: column wrap;
+ justify-content: center;
+ position: relative;
+}
+#bar .toolbar-item .item-content {
+ display: flex;
+ flex: 0 1 auto;
+ flex-flow: row nowrap;
+ justify-content: center;
+ position: relative;
+ height: 40px;
+ width: auto;
+ margin: 0 5px;
+}
+#bar .toolbar-item .item-label {
+ text-align: center;
+ font-size: 11px;
+ white-space: nowrap;
+ margin: 1px 2px 2px 2px;
+}
+#bar .toolbar-item.spacer {
+ width: 100%;
+ flex-grow: 2;
+}
+#bar .toolbar-item:first-child {
+ justify-content: flex-start;
+}
+#bar .toolbar-item:last-child {
+ justify-content: flex-end;
+}
+#bar .toolbar-item:empty:not(.spacer) {
+ display: none;
+}
+button.bar-button {
+ flex: 0 0 auto;
+ flex-flow: row nowrap;
+ align-items: center;
+ padding: 0 10px;
+ min-width: 30px;
+ white-space: nowrap;
+ display: flex;
+}
+button.bar-button .icon {
+ flex: 0 0 20px;
+}
+button.bar-button .label {
+ flex: 0 1 auto;
+ padding: 0 5px;
+}
+
+button.bar-button.dragging {
+ opacity: 0.75;
+ z-index: 200;
+}
+button.bar-button.dragging .tooltip {
+ display: none;
+}
+button.bar-button.dragging.removing {
+ cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer;
+}
+
+button.save .count {
+ display: inline-block;
+ min-width: 32px;
+ text-align: center;
+}
+
+.help-wrap svg.icon.pre-text.add-note,
+button.add-note svg.icon {
+ height: 15px;
+ width: 15px;
+ color: rgba(0,0,0,0.25);
+ stroke: #333;
+ stroke-width: 60px;
+ margin-top: 3px;
+}
+button.add-note svg.icon {
+ margin-left: unset;
+ margin-right: 4px;
+}
+[dir='rtl'] button.add-note svg.icon {
+ margin-left: 4px;
+ margin-right: unset;
+}
+.help-wrap svg.icon.pre-text.add-note {
+ margin-left: 3px;
+ margin-right: 3px;
+}
+
+.spinner {
+ opacity: .5;
+ position: absolute;
+ right: 4px;
+ bottom: 26px;
+}
+.spinner img {
+ height: 20px;
+ width: 20px;
+ background: transparent;
+ border-radius: 100%;
+}
+[dir='rtl'] .spinner img {
+ -moz-transform: scaleX(-1);
+ -o-transform: scaleX(-1);
+ -webkit-transform: scaleX(-1);
+ transform: scaleX(-1);
+ filter: FlipH;
+ -ms-filter: "FlipH";
+}
+
+
+#bar.narrow .spinner,
+#bar.narrow button.bar-button .label {
+ display: none;
+}
+#bar.narrow button .count {
+ border-left-width: 0;
+ border-right-width: 0;
+}
+
+[dir='ltr'] .undo-redo button:first-of-type {
+ margin-right: 1px;
+}
+[dir='rtl'] .undo-redo button:first-of-type {
+ margin-left: 1px;
+}
+
+/* Add a feature search bar
+------------------------------------------------------- */
+
+.search-add {
+ width: 200%;
+ justify-content: center;
+ position: relative;
+ min-width: 150px;
+ max-width: 325px;
+}
+.search-add .search-wrap {
+ position: relative;
+ width: 100%;
+}
+[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;
+}
+
+.sidebar-component {
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+}
+
+.sidebar-component .body {
+ width: 100%;
+ overflow: auto;
+ top: 60px;
+ bottom: 0;
+ position: absolute;
+}
+
+.panewrap {
+ position: absolute;
+ width: 200%;
+ height: 100%;
+ right: -100%;
+}
+
+.pane {
+ position: absolute;
+ width: 50%;
+ top: 0;
+ bottom: 30px;
+}
+
+.pane:first-child {
+ left: 0;
+}
+
+.pane:last-child {
+ right: 0;
+}
+
+.inspector-wrap {
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+ position: relative;
+}
+
+.inspector-hidden {
+ display: none;
+}
+
+.inspector-body {
+ overflow-y: scroll;
+ overflow-x: hidden;
+ position: absolute;
+ right: 0;
+ left: 0;
+ bottom: 0;
+}
+
+.feature-list-pane .inspector-body,
+.preset-list-pane .inspector-body {
+ top: 120px;
+}
+.entity-editor-pane .inspector-body,
+.selection-list-pane .inspector-body {
+ top: 60px;
+}
+
+.inspector-inner {
+ padding: 20px 20px 5px 20px;
+ position: relative;
+}
+
+#sidebar .search-header .icon {
+ display: block;
+ position: absolute;
+ left: 10px;
+ top: 80px;
+ pointer-events: none;
+}
+[dir='rtl'] #sidebar .search-header .icon {
+ left: auto;
+ right: 10px;
+}
+
+#sidebar .search-header input {
+ position: absolute;
+ top: 60px;
+ height: 60px;
+ width: 100%;
+ padding: 5px 10px;
+ border-radius: 0;
+ border-width: 0;
+ border-bottom-width: 1px;
+ text-indent: 30px;
+ font-size: 18px;
+ font-weight: bold;
+}
+
+
+/* Feature List / Search Results
+------------------------------------------------------- */
+.feature-list {
+ width: 100%;
+}
+.no-results-item,
+.geocode-item,
+.feature-list-item {
+ width: 100%;
+ position: relative;
+ border-bottom: 1px solid #ccc;
+ border-radius: 0;
+}
+
+.geocode-item {
+ width: 50%;
+ background-color: #ccc;
+ left: 25%;
+ margin-top: 30px;
+ border-radius: 2px;
+}
+
+[dir='rtl'] .geocode-item {
+ left: -25%;
+}
+
+.geocode-item:hover {
+ background-color: #aaa;
+}
+
+.feature-list-item {
+ background-color: #fff;
+ font-weight: bold;
+ height: 40px;
+ line-height: 20px;
+}
+.feature-list-item:hover {
+ background-color: #ececec;
+}
+.feature-list-item button {
+ background: transparent;
+}
+.feature-list-item .label {
+ text-align: left;
+ padding: 10px 10px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ border-left: 1px solid rgba(0, 0, 0, .1);
+}
+[dir='rtl'] .feature-list-item .label {
+ text-align: right;
+}
+
+.feature-list-item .label .icon {
+ opacity: .5;
+}
+.feature-list-item .close {
+ float: right;
+ padding: 10px;
+}
+.feature-list-item .close .icon {
+ opacity: 1;
+}
+.feature-list-item .entity-type {
+ color: #7092ff;
+}
+.feature-list-item:hover .entity-type {
+ color: #597be7;
+}
+.feature-list-item .entity-name {
+ font-weight: normal;
+ color: #666;
+ padding-left: 10px;
+}
+[dir='rtl'] .feature-list-item .entity-name {
+ padding-left: 0;
+ padding-right: 10px;
+}
+
+
+/* Preset List and Icons
+------------------------------------------------------- */
+.preset-list {
+ width: 100%;
+ padding: 20px 20px 10px 20px;
+ border-bottom: 1px solid #ccc;
+}
+
+.preset-list-item {
+ margin-bottom: 10px;
+}
+
+.preset-list-button-wrap {
+ position: relative;
+ height: 62px;
+ display: flex;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+.preset-list-button {
+ width: 100%;
+ height: 100%;
+ position: relative;
+ display: flex;
+}
+
+.preset-list.filtered .preset-list-item:first-child .preset-list-button {
+ background: #ececec;
+}
+
+.preset-icon-container {
+ position: relative;
+ width: 60px;
+ height: 60px;
+ text-align: center;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+.preset-icon-container.small {
+ width: 40px;
+ height: 40px;
+ flex: 0 0 auto;
+}
+.preset-icon-container img.image-icon {
+ width: 50px;
+ height: 50px;
+ object-fit: contain;
+ border-radius: 2px;
+}
+
+.preset-icon-point-border path {
+ stroke: #333;
+ stroke-width: 1.2;
+ fill: transparent;
+}
+
+.preset-icon-line {
+ margin: auto;
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+}
+.preset-icon-container path {
+ cursor: inherit;
+}
+.preset-icon-container circle.vertex {
+ fill: #fff;
+ stroke: rgba(0, 0, 0, 0.25);
+}
+.preset-icon-fill circle.midpoint {
+ fill: transparent;
+ stroke: rgba(0, 0, 0, 0.25);
+}
+/* use a consistent stroke width */
+.preset-icon-container path.line.stroke {
+ stroke-width: 2 !important;
+}
+.preset-icon-container path.line.casing {
+ stroke-width: 4 !important;
+}
+
+.preset-icon-fill {
+ margin: auto;
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ left: 0;
+ top: 0;
+}
+.preset-icon-container svg,
+.preset-icon-container svg > * {
+ cursor: inherit !important;
+}
+.preset-icon-fill path.area.stroke {
+ fill: transparent;