+ 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,
+.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'] .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;
+}
+
+
+/* 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;
+}
+
+.inspector-border {
+ border-bottom: 1px solid #ccc
+}
+
+.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;
+ 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;
+}
+
+.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-button-wrap {
+ position: relative;
+ margin-bottom: 10px;
+ height: 60px;
+}
+
+.preset-list-button {
+ width: 100%;
+ height: 100%;
+ position: relative;
+ border: 1px solid #ccc;
+}
+
+.preset-list.filtered .preset-list-item:first-child .preset-list-button {
+ background: #ececec;
+}
+
+.preset-icon-fill-area {
+ cursor: inherit;
+ height: 40px;
+ width: 40px;
+ margin: auto;
+ position: absolute;
+ left: 10px;
+ top: 10px;
+}
+
+.preset-icon-fill-vertex {
+ height: 40px;
+ width: 40px;
+ margin: auto;
+ position: absolute;
+ left: 10px;
+ top: 10px;
+ border: 1.5px solid #333;
+ border-radius: 20px;
+ background-color: #efefef;
+ backface-visibility: hidden;
+}
+
+[dir='rtl'] .preset-icon-fill-vertex,
+[dir='rtl'] .preset-icon-fill-area {
+ left: auto;
+ right: 10px;
+}
+
+.preset-icon-frame {
+ position: absolute;
+ top: 7px;
+ left: 7px;
+ margin: auto;
+}
+[dir='rtl'] .preset-icon-frame {
+ left: auto;
+ right: 7px;
+}
+
+.preset-icon-frame .icon {
+ width: 46px;
+ height: 46px;
+}
+
+.preset-icon-60 {
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ margin: auto;
+}
+
+.preset-icon-60 .icon {
+ width: 60px;
+ height: 60px;
+}
+
+.preset-icon-44 {
+ position: absolute;
+ top: 9px;
+ left: 8px;
+ margin: auto;
+}
+
+.preset-icon-44 .icon {
+ width: 44px;
+ height: 44px;
+}
+
+.preset-icon-28 {
+ position: absolute;
+ top: 16px;
+ left: 16px;
+ margin: auto;
+}
+
+.preset-icon-28 .icon {
+ width: 28px;
+ height: 28px;
+}
+
+.preset-icon-24 {
+ position: absolute;
+ top: 18px;
+ left: 18px;
+ margin: auto;
+}
+
+.preset-icon-24 .icon {
+ width: 24px;
+ height: 24px;
+}
+
+[dir='rtl'] .preset-list-button-wrap .preset-icon {
+ left: auto;
+ right: auto;
+}
+
+[dir='rtl'] .preset-list-button-wrap .preset-icon-28 {
+ right: 16px;
+}
+
+[dir='rtl'] .preset-list-button-wrap .preset-icon-24 {
+ right: 18px;
+}
+
+.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);
+ border-radius: 0 3px 3px 0;
+}
+[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);
+ border-radius: 3px 0 0 3px;
+}
+
+.preset-list-button .label-inner {
+ width: 100%;
+}
+.preset-list-button .label-inner .namepart {
+ height: 17px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ padding-right: 30px;
+}
+[dir='rtl'] .preset-list-button .label-inner .namepart {
+ padding-right: 0;
+ padding-left: 30px;
+}
+
+.preset-list-button:hover .label,
+.preset-list-button:focus .label {
+ background-color: #ececec;
+}
+
+.preset-list-item button.tag-reference-button {
+ height: 100%;
+ border: 1px solid #ccc;
+ border-radius: 0 3px 3px 0;
+ position: absolute;
+ top: 0;
+ right: 0;
+ width: 32px;
+ background: #f6f6f6;
+}
+[dir='rtl'] .preset-list-item button.tag-reference-button {
+ left: 0;
+ right: auto;
+ border-radius: 3px 0 0 3px;
+}
+
+.preset-list-item button.tag-reference-button:hover {
+ background: #f1f1f1;
+}
+.preset-list-item button.tag-reference-button .icon {
+ opacity: .5;
+}
+
+img.tag-reference-wiki-image {
+ float: right;
+ width: 33.3333%;
+ width: -webkit-calc(33.3333% - 10px);
+ width: calc(33.3333% - 10px);
+ border-radius: 4px;
+ max-height: 200px;
+ margin: 10px 5px 15px 20px;
+}
+
+
+.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 10px 0 10px;
+ margin-top: 0;
+ border: 0;
+ border-radius: 8px;
+ width: -webkit-calc(100% + 20px);
+ margin-left: -10px;
+}
+
+.subgrid .arrow {
+ border: solid rgba(0, 0, 0, 0);
+ border-width: 10px;
+ border-bottom-color: #f1f1f1;
+ width: 0;
+ height: 0;
+ margin-left: 50%;
+ margin-left: -webkit-calc(50% - 10px);
+ margin-top: -10px;
+}
+
+
+/* Entity/Preset Editor
+------------------------------------------------------- */
+.preset-editor {
+ overflow: hidden;
+ padding-bottom: 10px;
+}
+.preset-editor a.hide-toggle {
+ margin: 0 20px 5px 20px;
+}
+.preset-editor .form-fields-container {
+ padding: 10px;
+ margin: 0 10px 10px 10px;
+ border-radius: 8px;
+}
+.preset-editor .form-fields-container:empty {
+ display: none;
+}
+.entity-editor-pane .preset-list-item .preset-list-button-wrap {
+ margin-bottom: 0;
+}
+
+/*
+ The parts of a field:
+ - `.form-field` is a `div` wraps the entire thing
+ - `.form-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 | <- .form-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 */
+.form-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;
+}
+.form-field-label .label-text {
+ flex: 1 1 auto;
+ padding: 5px 0 5px 10px;
+}
+[dir='rtl'] .form-field-label .label-text {
+ padding: 5px 10px 5px 0;
+}
+
+.form-field-label button {
+ flex: 0 0 32px;
+ border-left: 1px solid #ccc;
+ width: 32px;
+ height: 100%;
+ border-radius: 0;
+ background: #f6f6f6;
+}
+[dir='rtl'] .form-field-label button {
+ border-left: none;
+ border-right: 1px solid #ccc;
+}
+.form-field-label button:hover {
+ background: #f1f1f1;
+}
+.form-field-label .icon {
+ opacity: .5;
+}
+
+.form-field-label .modified-icon,
+.form-field-label .remove-icon {
+ display: none;
+}
+.modified .form-field-label .modified-icon,
+.present .form-field-label .remove-icon {
+ display: inline-block;
+}
+
+/* A `div` element that wraps the bottom section */
+.form-field-input-wrap {
+ display: flex;
+ flex-flow: row nowrap;
+ flex: 1 1 100%;
+ 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;
+}
+
+/* Buttons inside fields */
+.form-field-button {
+ flex: 0 0 32px;
+ 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.labeled-inputs {
+ flex: 1 1 auto;
+ border: 1px solid #ccc;
+ border-top: 0;
+ border-radius: 0 0 4px 4px;
+ overflow: hidden;
+ width: 100%;
+}
+.form-field ul.labeled-inputs li {
+ border-top: 1px solid #ccc;
+ display: flex;
+ flex-flow: row nowrap;
+}
+.form-field ul.labeled-inputs li:first-child {
+ border-top: 0;