+.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: 60px;
+ display: flex;
+}
+
+.preset-list-button {
+ width: 100%;
+ height: 100%;
+ position: relative;
+ border: 1px solid #ccc;
+}
+[dir='ltr'] .preset-list-button-wrap:not(.category) .preset-list-button {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+[dir='rtl'] .preset-list-button-wrap:not(.category) .preset-list-button {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.preset-list.filtered .preset-list-item:first-child .preset-list-button {
+ background: #ececec;
+}
+
+.preset-icon-line {
+ margin: auto;
+ position: absolute;
+ top: 0;
+}
+[dir='ltr'] .preset-icon-line {
+ left: 0;
+}
+[dir='rtl'] .preset-icon-line {
+ right: 0;
+}
+.preset-icon-line path.line {
+ cursor: inherit;
+}
+.preset-icon-line circle.vertex {
+ fill: #fff;
+ stroke: rgba(0, 0, 0, 0.25);
+}
+/* use a consistent stroke width */
+.preset-icon-line path.line.stroke {
+ stroke-width: 2 !important;
+}
+.preset-icon-line path.line.casing {
+ stroke-width: 4 !important;
+}
+
+.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.line-geom {
+ top: 2px;
+}
+
+.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.line-geom {
+ top: 12px;
+}
+
+.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-44 {
+ right: 8px;
+}
+
+[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);
+}
+[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.tag-reference-button {
+ height: 100%;
+ border: 1px solid #ccc;
+ flex: 32px;
+ background: #f6f6f6;
+}
+[dir='ltr'] .preset-list-item button.tag-reference-button {
+ border-left: none;
+ border-radius: 0 4px 4px 0;
+}
+[dir='rtl'] .preset-list-item button.tag-reference-button {
+ border-right: none;
+ border-radius: 4px 0 0 4px;
+}
+
+.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%;
+ border-radius: 4px;
+ margin: 10px 5px 15px 10px;
+}
+[dir='rtl'] img.tag-reference-wiki-image {
+ float: left;
+ margin: 10px 10px 15px 5px;
+}
+
+
+.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
+ - `.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;
+}
+.form-field ul.labeled-inputs li > span,
+.form-field ul.labeled-inputs li > div {
+ flex: 1 1 auto;
+ width: 100%;
+ border-radius: 0;
+}
+.form-field ul.labeled-inputs li input {
+ border-radius: 0;
+ width: 100%;
+}
+.form-field ul.labeled-inputs li input,
+.form-field ul.labeled-inputs li button {
+ border-width: 0;
+ border-left-width: 1px;
+}
+[dir='rtl'] .form-field ul.labeled-inputs li input,
+[dir='rtl'] .form-field ul.labeled-inputs li button {
+ border-left-width: 0;
+ 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.labeled-inputs {
+ 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 7px 5px 7px;
+ background: #fff;
+ display: block;
+ border-radius: 0 0 4px 4px;
+}
+
+.form-field-input-multicombo li.chips {
+ background-color: #eff2f7;
+ border: 1px solid #ccd5e3;
+ line-height: 25px;
+ padding: 2px 0px 2px 5px;
+}
+.form-field-input-multicombo li {
+ display: inline-flex;
+ flex-flow: row nowrap;
+ align-items: center;
+ margin: 3px;
+ border-radius: 4px;
+}
+
+.form-field-input-multicombo a {
+ font-family: Arial, Helvetica, sans-serif !important;
+ font-size: 16px !important;
+ line-height: 22px;
+ float: right;
+ padding: 0px 5px 0px 5px;
+ margin: 0;
+ cursor: pointer;
+ color: #a6b4ce;
+}
+
+.form-field-input-multicombo .input-wrap {
+ border: 1px solid #ddd;
+ width: 100px;
+ height: 31px;
+}
+.form-field-input-multicombo input {
+ border: none;
+ width: 100%;
+ height: 100%;
+}
+
+.form-field-input-multicombo input:focus {
+ border-radius: 4px !important;
+}
+
+.form-field-input-multicombo .full-line-chips li {
+ display: block;
+}
+.form-field-input-multicombo .full-line-chips li:not(:last-child) {
+ margin-bottom: 6px;
+}
+.form-field-input-multicombo .full-line-chips .input-wrap {
+ width: auto;
+}
+
+
+/* Field - Text / Numeric
+------------------------------------------------------- */
+.form-field-input-text > input:only-of-type,
+.form-field-input-tel > input:only-of-type,
+.form-field-input-email > input:only-of-type,
+.form-field-input-url > input:only-of-type {
+ border-radius: 0 0 4px 4px;
+}
+.form-field-input-number > input:only-of-type {
+ border-radius: 0 0 0 4px;
+}
+[dir='rtl'] .form-field-input-number > input:only-of-type {
+ border-radius: 0 0 4px 0;
+}
+.form-field-input-number > button:last-of-type {
+ border-radius: 0 0 4px 0;
+}
+[dir='rtl'] .form-field-input-number > button:last-of-type {
+ border-radius: 0 0 0 4px;
+}
+
+/* draw the up/down on the buttons */
+.form-field-input-number button.decrement::after,
+.form-field-input-number button.increment::after {
+ content: "";
+ height: 0; width: 0;
+ position: absolute;
+ left: 0; right: 0; bottom: 0; top: 0;
+ margin: auto;
+}
+.form-field-input-number button.decrement::after {
+ border-top: 5px solid #ccc;
+ border-left: 5px solid transparent;
+ border-right: 5px solid transparent;
+}
+.form-field-input-number button.increment::after {
+ border-bottom: 5px solid #ccc;
+ border-left: 5px solid transparent;
+ border-right: 5px solid transparent;
+}
+
+
+/* Field - Checkbox
+------------------------------------------------------- */
+.form-field-input-check {
+ display: flex;
+ align-items: end;
+ background: #fff;
+ padding: 5px 10px;
+ color: #7092ff;
+ border: 1px solid #ccc;
+ border-top: 0;
+ cursor: pointer;
+}
+.form-field-input-check > input[type="checkbox"] {
+ flex: 0 1 auto;
+ min-height: 20px;
+ width: 20px;
+}
+.form-field-input-check > span {
+ flex: 1 1 auto;
+}
+.form-field-input-check > .reverser.button {
+ flex: 0 1 auto;
+ background-color: #eff2f7;
+ border: 1px solid #ccd5e3;
+ border-radius: 2px;
+ padding: 0px 8px;
+}
+.form-field-input-check > .reverser.button.hide {
+ display: none;
+}
+
+.form-field-input-check:hover {
+ background: #f1f1f1;
+}
+.form-field-input-check .set {
+ color: inherit;
+}
+.form-field-input-check label:not(.set) input[type="checkbox"] {
+ opacity: .5;
+}
+
+
+/* Field - Radio button
+------------------------------------------------------- */
+.form-field-input-radio {
+ flex: 1 1 auto;
+ display: flex;
+ flex-flow: row wrap;
+}
+.form-field-input-radio > label {
+ flex: 1 1 auto;
+ display: flex;
+ flex-flow: row nowrap;
+ width: 100%;
+ padding: 5px 10px;
+ height: 30px;
+ background-color: #fff;
+ color: #7092ff;
+ cursor: pointer;
+}
+.form-field-input-radio > label:last-child {
+ border-radius: 0 0 4px 4px;
+}
+.form-field-input-radio > label:hover {
+ background-color: #ececec;
+}
+.form-field-input-radio > label.active {
+ background-color: #e8ebff;
+}
+.form-field-input-radio > label:not(:last-of-type) {
+ border-bottom: 1px solid #ccc;
+}
+.form-field-input-radio > label > input[type="radio"] {
+ flex: 0 1 auto;
+ width: 20px;
+}
+.form-field-input-radio > label > span {
+ flex: 1 1 auto;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+}
+
+/* Hide placeholder for radio buttons if another is active, or not in hover state */
+.form-field-input-radio label.active ~ .placeholder,
+.form-field-input-radio .placeholder {
+ padding: 0;
+ opacity: 0;
+ width: 0;
+ line-height: 0;
+ display: block;
+ overflow: hidden;
+}
+
+
+/* Field - Maxspeed
+------------------------------------------------------- */
+.form-field-input-maxspeed > input:first-of-type {
+ border-radius: 0 0 0 4px;
+}
+[dir='rtl'] .form-field-input-maxspeed > input:first-of-type {
+ border-radius: 0 0 4px 0;
+}
+.form-field-input-maxspeed > input:last-of-type { /* unit field */
+ flex: 0 1 80px;
+ width: 80px;
+ border-left: 0;
+ border-radius: 0 0 4px 0;
+}
+[dir='rtl'] .form-field-input-maxspeed > input:last-of-type {
+ border-right: 0;
+ border-radius: 0 0 0 4px;
+}
+
+
+/* Field - Localized Name
+------------------------------------------------------- */
+.form-field-input-localized > input.localized-main {
+ border-radius: 0 0 0 4px;
+}
+[dir='rtl'] .form-field-input-localized > input.localized-main {
+ border-radius: 0 0 4px 0;
+}
+.form-field-input-localized > button.localized-add {
+ border-radius: 0 0 4px 0;
+}
+[dir='rtl'] .form-field-input-localized > button.localized-add {
+ border-radius: 0 0 0 4px;
+}
+
+.form-field-input-localized button.localized-add.disabled,
+.form-field-input-localized input.localized-main.disabled,
+.form-field-input-localized input.localized-lang.disabled,
+.form-field-input-localized input.localized-value.disabled {
+ color: #777;
+ background-color: #eee;
+ cursor: not-allowed;
+}
+
+/* nested subfields for name in different languages */
+.localized-multilingual {
+ padding: 0 10px;
+ flex-basis: 100%;
+}
+.localized-multilingual .entry {
+ position: relative;
+ overflow: hidden;
+}
+
+/* draws a little line connecting the multilingual field up to the name field */
+.localized-multilingual .entry::before {
+ content: "";
+ display: block;
+ position: absolute;
+ background: #ccc;
+ height: 11px;
+ width: 1px;
+ left: 0;
+ right: 0;
+ top: -11px;
+ margin: auto;
+}
+
+.localized-multilingual .entry .localized-lang {
+ border-radius: 0;
+ border-top-width: 0;
+ width: 100%;
+}
+.localized-multilingual .entry .localized-value {
+ border-top-width: 0;
+ border-radius: 0 0 4px 4px;
+ width: 100%;
+}
+
+
+/* Field - Address
+------------------------------------------------------- */
+.form-field-input-address {
+ flex: 1 1 auto;
+ display: flex;
+ flex-flow: row wrap;
+ border: 1px solid #ccc;
+ border-top: 0px;
+}
+
+.addr-row {
+ flex: 1 1 auto;
+ display: flex;
+ width: 100%;
+ min-height: 30px;
+}
+
+.addr-row > input {
+ flex: 1 1 auto;
+ border-radius: 0;
+ border-right: 0;
+ border-bottom: 0;
+}
+[dir='rtl'] .addr-row input {
+ border-right: 1px solid #ccc;
+ border-left: 0;
+}
+
+.addr-row:first-of-type input {
+ border-top: 0;
+}
+.addr-row input:first-of-type {
+ border-left: 0;
+}
+[dir='rtl'] .addr-row input:first-of-type {
+ border-right: 0;
+}
+.addr-row:last-of-type input:first-of-type {
+ border-radius: 0 0 0 4px;
+}
+[dir='rtl'] .addr-row:last-of-type input:first-of-type {
+ border-radius: 0 0 4px 0;
+}
+.addr-row:last-of-type input:last-of-type {
+ border-radius: 0 0 4px 0;
+}
+[dir='rtl'] .addr-row:last-of-type input:last-of-type {
+ border-radius: 0 0 0 4px;
+}
+
+
+/* Field - Wikipedia
+------------------------------------------------------- */
+.form-field-input-wikipedia {
+ display: flex;
+ flex-flow: row wrap;
+ flex: 1 1 auto;
+}
+
+.wiki-lang-container,
+.wiki-title-container {
+ display: flex;
+ flex-flow: row nowrap;
+ flex: 1 1 auto;
+ width: 100%;
+}
+
+.wiki-lang-container > input.wiki-lang,
+.wiki-title-container > input.wiki-title {
+ flex: 1 1 auto;
+ border-top: 0;
+ border-radius: 0;
+}
+.wiki-title-container > input.wiki-title {
+ border-radius: 0 0 0 4px;
+}
+[dir='rtl'] .wiki-title-container > input.wiki-title {
+ border-radius: 0 0 4px 0;
+}
+.wiki-title-container > button.wiki-link {
+ border-radius: 0 0 4px 0;
+}
+[dir='rtl'] .wiki-title-container > button.wiki-link {
+ border-radius: 0 0 0 4px;
+}
+
+
+/* Field - Restriction Editor
+------------------------------------------------------- */
+.form-field-input-restrictions {
+ display: block;
+ border: 1px solid #ccc;
+ border-top: 0;
+ border-radius: 0 0 4px 4px;
+}
+
+.form-field-input-restrictions .restriction-controls-container {
+ background-color: #fff;
+ width: 100%;
+ padding: 5px;
+ border-top: 1px solid #ccc;
+ border-radius: 0 0 4px 4px;