+.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;
+}
+
+.preset-icon-fill-vertex circle {
+ stroke-width: 1.5px;
+ stroke: #333;
+ fill: #efefef;
+ backface-visibility: hidden;
+}
+
+.preset-icon {
+ width: 100%;
+ height:100%;
+ position: absolute;
+ z-index: 1;
+}
+.preset-icon .icon {
+ position: absolute;
+ margin: auto;
+ left: 0;
+ right: 0;
+ width: 100%;
+ height: 100%;
+ transform: scale(0.48);
+}
+.preset-icon-container.small .preset-icon.point-geom .icon {
+ transform: translateY(-7%) scale(0.27);
+}
+.preset-icon-container.small .preset-icon.point-geom.preset-icon-iD .icon {
+ transform: translateY(-9%) scale(0.5);
+}
+.preset-icon.framed .icon {
+ transform: scale(0.4);
+}
+.preset-icon.framed.line-geom .icon,
+.preset-icon.framed.route-geom .icon {
+ top: 20%;
+ transform: translateY(-30%) scale(0.4);
+}
+.preset-icon-iD .icon {
+ transform: scale(1);
+}
+.preset-icon-iD.framed .icon {
+ transform: scale(0.74);
+}
+.preset-icon-iD.framed.line-geom .icon,
+.preset-icon-iD.framed.route-geom .icon {
+ transform: translateY(-30%) scale(0.74);
+}
+.preset-icon-container.fallback .preset-icon .icon {
+ transform: scale(0.5) !important;
+}
+
+.preset-list-button .label {
+ display: flex;
+ flex-flow: row wrap;
+ align-items: center;
+ background-color: #f6f6f6;
+ text-align: left;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ right: 0;
+ padding: 5px 10px;
+ left: 60px;
+ border-left: 1px solid rgba(0, 0, 0, .1);
+}
+[dir='rtl'] .preset-list-button .label {
+ text-align: right;
+ left: 0;
+ right: 60px;
+ border-left: none;
+ border-right: 1px solid rgba(0, 0, 0, .1);
+}
+[dir='ltr'] .category .preset-list-button .label {
+ border-radius: 0px 4px 4px 0px;
+}
+[dir='rtl'] .category .preset-list-button .label {
+ border-radius: 4px 0px 0px 4px;
+}
+
+.preset-list-button .label-inner {
+ width: 100%;
+}
+.preset-list-button .label-inner .namepart {
+ height: 17px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+
+.preset-list-button:hover .label,
+.preset-list-button:focus .label,
+.preset-list-button.disabled,
+.preset-list-button.disabled .label {
+ background-color: #ececec;
+}
+
+.preset-list-item button.preset-favorite-button,
+.preset-list-item button.tag-reference-button {
+ height: 100%;
+ width: 32px;
+ flex: 0 0 auto;
+ background: #f6f6f6;
+}
+[dir='ltr'] .preset-list-item button.preset-favorite-button,
+[dir='ltr'] .preset-list-item button.tag-reference-button {
+ border-left: 1px solid #ccc;
+}
+[dir='rtl'] .preset-list-item button.preset-favorite-button,
+[dir='rtl'] .preset-list-item button.tag-reference-button {
+ border-right: 1px solid #ccc;
+}
+[dir='ltr'] .preset-list-item button:last-child {
+ border-radius: 0 4px 4px 0;
+}
+[dir='rtl'] .preset-list-item button:last-child {
+ border-radius: 4px 0 0 4px;
+}
+
+.preset-list-item button.preset-favorite-button:hover,
+.preset-list-item button.tag-reference-button:hover {
+ background: #f1f1f1;
+}
+.preset-list-item button.preset-favorite-button .icon,
+.preset-list-item button.tag-reference-button .icon {
+ opacity: .5;
+}
+
+button.preset-favorite-button .icon {
+ fill-opacity: 0;
+ stroke-width: 1;
+}
+button.preset-favorite-button.active .icon {
+ fill-opacity: inherit;
+}
+
+
+.current .preset-list-button,
+.current .preset-list-button .label {
+ background-color: #e8ebff;
+}
+
+.category .preset-list-button:after,
+.category .preset-list-button:before {
+ content: "";
+ position: absolute;
+ top: -5px;
+ left: -1px; right: -1px;
+ border: 1px solid #ccc;
+ border-bottom: none;
+ border-radius: 6px 6px 0 0;
+ height: 6px;
+}
+
+.category .preset-list-button:before {
+ top: -3px;
+}
+
+.subgrid .preset-list {
+ padding: 10px;
+ margin-top: 0;
+ border: 0;
+ border-radius: 8px;
+ width: -webkit-calc(100% + 20px);
+ margin-left: -10px;
+}
+.subgrid .preset-list > *:last-child {
+ margin-bottom: 0;
+}
+
+.subgrid .arrow {
+ border: solid rgba(0, 0, 0, 0);
+ border-width: 10px;
+ border-bottom-color: #ececec;
+ width: 0;
+ height: 0;
+ margin-left: 50%;
+ margin-left: -webkit-calc(50% - 10px);
+}
+
+
+/* Quick links
+------------------------------------------------------- */
+.quick-links {
+ display: flex;
+ flex-flow: row wrap;
+ justify-content: flex-end;
+ padding: 0 20px;
+}
+.quick-link {
+ margin: 0 5px;
+}
+
+.data-editor .quick-links,
+.error-editor .quick-links,
+.note-editor .quick-links {
+ padding: 5px 0 0 0;
+}
+
+
+/* Entity/Preset Editor
+------------------------------------------------------- */
+.entity-issues,
+.preset-editor {
+ overflow: hidden;
+ padding: 10px 0px 5px 0px;
+}
+.entity-issues a.hide-toggle,
+.preset-editor a.hide-toggle {
+ margin: 0 20px 5px 20px;
+}
+.entity-issues .disclosure-wrap-entity_issues,
+.preset-editor .form-fields-container {
+ padding: 10px;
+ margin: 0 10px 10px 10px;
+ border-radius: 8px;
+ background: #ececec;
+}
+.entity-issues .disclosure-wrap-entity_issues:empty,
+.preset-editor .form-fields-container:empty {
+ display: none;
+}
+.entity-editor-pane .preset-list-item {
+ margin-bottom: 0;
+}
+
+/*
+ The parts of a field:
+ - `.form-field` is a `div` wraps the entire thing
+ - `.field-label` is a `label` that wraps the top part, it contains;
+ - `span` classed `label-text`
+ - 0..n buttons for "remove", "modified", "tag reference"
+ - `.form-field-input-wrap` is a `label` or `div` that wraps the bottom part, it contains;
+ - usually an `input`
+ - sometimes some buttons (translate, increment, decrement)
+ - or could just be a `div` with anything really
+ - `.tag-reference-body` at the bottom (usually hidden)
+
+ .------------------. -
+ | Name | i | <- .field-label |
+ +------------------+ |
+ | Starbucks | + | <- .form-field-input-wrap > .form-field
+ '------------------' |
+ tag reference <- .tag-reference-body |
+ -
+*/
+
+.form-field {
+ display: flex;
+ flex-flow: row wrap;
+ margin-bottom: 10px;
+ width: 100%;
+ -webkit-transition: margin-bottom 200ms;
+ -moz-transition: margin-bottom 200ms;
+ -o-transition: margin-bottom 200ms;
+ transition: margin-bottom 200ms;
+}
+
+.form-field.nowrap,
+.wrap-form-field:last-child .form-field {
+ margin-bottom: 0;
+}
+
+/* A `label` element that wraps the top section */
+.field-label {
+ display: flex;
+ flex-flow: row nowrap;
+ flex: 1 1 100%;
+ height: 30px;
+ position: relative;
+ font-weight: bold;
+ color: #333;
+ background: #f6f6f6;
+ border: 1px solid #ccc;
+ border-radius: 4px 4px 0 0;
+ overflow: hidden;
+}
+.field-label .label-text {
+ flex: 1 1 auto;
+ padding: 5px 0 5px 10px;
+}
+[dir='rtl'] .field-label .label-text {
+ padding: 5px 10px 5px 0;
+}
+
+.label-text .label-textannotation svg.icon {
+ margin: 0 8px;
+ color: #333;
+ opacity: 0.5;
+ width: 14px;
+ height: 14px;
+ vertical-align: text-top;
+}
+
+.field-label button {
+ flex: 0 0 32px;
+ border-left: 1px solid #ccc;
+ width: 32px;
+ height: 100%;
+ border-radius: 0;
+ background: #f6f6f6;
+}
+[dir='rtl'] .field-label button {
+ border-left: none;
+ border-right: 1px solid #ccc;
+}
+.field-label button:hover {
+ background: #f1f1f1;
+}
+.field-label .icon {
+ opacity: .5;
+}
+
+.field-label .modified-icon,
+.field-label .remove-icon,
+.field-label .remove-icon-multilingual {
+ display: none;
+}
+.modified:not(.locked) .field-label .modified-icon,
+.present:not(.locked) .field-label .remove-icon,
+.present:not(.locked) .field-label .remove-icon-multilingual {
+ display: inline-block;
+}
+
+/* A `div` element that wraps the bottom section */
+.form-field-input-wrap {
+ display: flex;
+ flex-flow: row nowrap;
+ width: 100%;
+ flex: 1 1 auto;
+ min-height: 30px;
+ border-top: 0;
+ border-radius: 0 0 4px 4px;
+}
+.nowrap .form-field-input-wrap {
+ border-radius: 0;
+}
+
+
+.form-field-input-wrap > input,
+.form-field-input-wrap > label,
+.form-field-input-wrap > textarea,
+.form-field-input-wrap > ul.chiplist {
+ flex: 1 1 auto;
+ min-height: 30px;
+ border: 1px solid #ccc;
+ border-top: 0;
+ border-radius: 0;
+ overflow: hidden;
+ position: relative;
+}
+.form-field-input-wrap > textarea {
+ height: 65px;
+ border-radius: 0 0 4px 4px;
+ overflow: auto;
+}
+
+/* Buttons inside fields */
+.form-field-button {
+ flex: 0 0 auto;
+ height: 30px;
+ width: 32px;
+ position: relative;
+ background-color: #fff;
+ border: 1px solid #ccc;
+ border-radius: 0;
+ border-top-width: 0;
+ border-left-width: 0;
+ vertical-align: top;
+}
+[dir='rtl'] .form-field-button {
+ border-left-width: 1px;
+ border-right-width: 0;
+}
+.form-field-button:hover {
+ background-color: #f1f1f1;
+}
+.form-field-button .icon {
+ fill: #333;
+ opacity: .5;
+}
+
+
+/* round corners of first/last child elements */
+.form-field-input-wrap > button:last-of-type {
+ border-bottom-right-radius: 4px;
+}
+[dir='rtl'] .form-field-input-wrap > button:last-of-type {
+ border-bottom-left-radius: 4px;
+}
+
+
+/* Field - Access, Cycleway
+------------------------------------------------------- */
+.form-field-input-access,
+.form-field-input-cycleway {
+ flex: 1 1 auto;
+ display: flex;
+ flex-flow: row wrap;
+}
+
+/* Field - lists with labeled input items
+------------------------------------------------------- */
+.form-field ul.rows {
+ flex: 1 1 auto;
+ border: 1px solid #ccc;
+ border-top: 0;
+ border-radius: 0 0 4px 4px;
+ overflow: hidden;
+ width: 100%;
+}
+.form-field ul.rows li {
+ border-top: 1px solid #ccc;
+}
+.form-field ul.rows li:first-child {
+ border-top: 0;
+}
+.form-field ul.rows li {
+ display: flex;
+ flex-flow: row nowrap;
+}
+.form-field ul.rows li.labeled-input > span,
+.form-field ul.rows li.labeled-input > div {
+ flex: 1 1 auto;
+ width: 100%;
+ border-radius: 0;
+}
+.form-field ul.rows li input {
+ border-radius: 0;
+ border-width: 0;
+ width: 100%;
+}
+.form-field ul.rows li button {
+ border-width: 0;
+}
+[dir='ltr'] .form-field ul.rows li.labeled-input input,
+[dir='ltr'] .form-field ul.rows li button {
+ border-left-width: 1px;
+}
+[dir='rtl'] .form-field ul.rows li.labeled-input input,
+[dir='rtl'] .form-field ul.rows li button {
+ border-right-width: 1px;
+}
+
+
+/* Field - Structure
+------------------------------------------------------- */
+.structure-extras-wrap {
+ width: 100%;
+ padding: 10px 10px;
+ background: #fff;
+ border: 1px solid #ccc;
+ border-top: 0px;
+ border-radius: 0 0 4px 4px;
+}
+.structure-extras-wrap > ul.rows {
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+
+/* Field - Combo / Multicombo
+------------------------------------------------------- */
+.form-field-input-combo > input:only-of-type {
+ border-radius: 0 0 4px 4px;
+}
+.form-field-input-combo.empty-combobox input,
+.form-field-input-multicombo .empty-combobox input {
+ padding-right: 10px;
+ padding-left: 10px;
+}
+.form-field-input-combo.empty-combobox .combobox-caret,
+.form-field-input-multicombo .empty-combobox .combobox-caret {
+ display: none;
+}
+
+.form-field-input-multicombo ul.chiplist {
+ padding: 5px 8px 5px 8px;
+ background: #fff;
+ display: block;
+ border-radius: 0 0 4px 4px;
+ width: 100%;
+}
+
+.form-field-input-multicombo li {
+ display: inline-flex;
+ flex-flow: row nowrap;
+ align-items: center;
+ margin-bottom: 3px;
+ margin-top: 3px;
+ border-radius: 4px;
+}
+[dir='ltr'] .form-field-input-multicombo li {
+ margin-right: 6px;
+}
+[dir='rtl'] .form-field-input-multicombo li {
+ margin-left: 6px;
+}
+
+.form-field-input-multicombo li.chips {
+ background-color: #eff2f7;
+ border: 1px solid #ccd5e3;
+ line-height: 25px;
+ max-width: 100%;
+}
+[dir='ltr'] .form-field-input-multicombo li.chips {
+ padding: 2px 0px 2px 5px;
+}
+[dir='rtl'] .form-field-input-multicombo li.chips {
+ padding: 2px 5px 2px 0px;
+}
+
+.form-field-input-multicombo li.chips span {
+ display: block;
+ flex: 1 1 auto;
+ overflow: hidden;
+ word-wrap: break-word;
+}
+
+.form-field-input-multicombo a {
+ font-family: Arial, Helvetica, sans-serif !important;
+ font-size: 16px !important;
+ padding: 0px 5px 0px 5px;
+ margin: 0;
+ cursor: pointer;
+ color: #a6b4ce;
+ display: block;
+ text-align: center;
+ flex: 0 0 auto;