+.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,
+.form-field-wikidata ul.rows li:last-child button.form-field-button:last-child {
+ border-radius: 0 0 4px 0;
+}
+[dir='rtl'] .wiki-title-container > button.wiki-link,
+[dir='rtl'] .form-field-wikidata ul.rows li:last-child button.form-field-button:last-child {
+ 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;
+}
+
+.restriction-controls-container .restriction-controls {
+ display: table;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+.restriction-controls .restriction-control {
+ display: table-row;
+ padding: 5px 10px;
+ height: 25px;
+}
+
+.restriction-control input,
+.restriction-control span {
+ display: table-cell;
+ text-align: start;
+ padding: 0px 5px;
+}
+
+.restriction-control span.restriction-control-label {
+ text-align: end;
+}
+
+.restriction-control input {
+ width: 60px;
+ padding: 0;
+ margin: 0px 5px;
+ vertical-align: middle;
+}
+
+.form-field-input-restrictions .restriction-container {
+ position: relative;
+ height: 370px;
+}
+/* zero width space, so container takes up space */
+.form-field-input-restrictions .restriction-container:after {
+ content: '\200b';
+}
+
+.form-field-input-restrictions svg.surface {
+ width: 100%;
+ height: 100%;
+}
+
+.restriction-container .restriction-help {
+ z-index: 1;
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ padding: 2px 6px;
+ background-color: rgba(255, 255, 255, .8);
+ color: #888;
+ text-align: center;
+ pointer-events: none;
+
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+.restriction-help span {
+ margin: 2px;
+}
+
+.restriction-help .qualifier {
+ color: #666;
+ font-weight: bold;
+}
+.restriction-help .qualifier.allow {
+ color: #8b5;
+}
+.restriction-help .qualifier.restrict {
+ color: #d53;
+}
+.restriction-help .qualifier.only {
+ color: #78f;
+}
+
+
+/* Field - Changeset Comment
+------------------------------------------------------- */
+.form-field-comment:not(.present) #preset-input-comment {
+ border-color: rgb(230, 100, 100);
+}
+.form-field-comment:not(.present) .field-label {
+ border-color: rgb(230, 100, 100);
+ background: rgba(230, 100, 100, 0.2);
+}
+.form-field-comment:not(.present) button {
+ border-color: rgb(230, 100, 100);
+}
+
+
+/* Field - Combobox
+------------------------------------------------------- */
+div.combobox {
+ z-index: 9999;
+ display: none;
+ box-shadow: 0 4px 10px 1px rgba(0,0,0,.2);
+ margin-top: -1px;
+ background: #fff;
+ max-height: 245px;
+ overflow-y: auto;
+ overflow-x: hidden;
+ border: 1px solid #ccc;
+ border-radius: 0 0 4px 4px;
+}
+
+.combobox a {
+ display: block;
+ padding: 5px 10px;
+ border-top: 1px solid #ccc;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+}
+
+.combobox a.selected,
+.combobox a:hover {
+ background: #ececec;
+}
+
+.combobox a:first-child {
+ border-top: 0;
+ padding: 4px 10px;
+}
+
+.combobox-caret {
+ display: inline-block;
+ position: relative;
+ height: 30px;
+ width: 30px !important;
+ margin-left: -30px;
+ vertical-align: top;
+ cursor: pointer;
+}
+[dir='rtl'] .combobox-caret {
+ margin-left: 0;
+ margin-right: -30px;
+}
+
+.combobox-caret::after {
+ content: "";
+ height: 0; width: 0;
+ position: absolute;
+ left: 0; right: 0; bottom: 0; top: 0;
+ margin: auto;
+ border-top: 5px solid #ccc;
+ border-left: 5px solid transparent;
+ border-right: 5px solid transparent;
+}
+
+
+/* Field Help
+------------------------------------------------------- */
+.field-help-body {
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 20px;
+ right: 20px;
+ margin: 5px;
+ padding: 8px;
+ border: 1px solid #ccc;
+ border-top: 0;
+ border-radius: 0 0 4px 4px;
+ z-index: 20;
+ background: rgba(255,255,255,0.95);
+ box-shadow: 0 0 30px 5px rgba(0,0,0,.4);
+}
+
+.field-help-title h2 {
+ padding: 10px;
+ margin-bottom: 0px;
+ font-size: 17px;
+}
+.field-help-title button {
+ width: 45px;
+ height: 55px;
+ border-radius: 0;
+}
+
+.field-help-nav {
+ font-size: 13px;
+ font-weight: bold;
+ margin-bottom: 10px;
+}
+.field-help-nav-item {
+ display: inline-block;
+ padding: 5px 10px;
+ cursor: pointer;
+ color: #666;
+}
+.field-help-nav-item.active {
+ color: #7092ff;
+ border-bottom: 2px solid;
+}
+.field-help-nav-item:hover {
+ color: #597be7;
+ background-color: #efefef;
+}
+
+.field-help-content {
+ padding: 10px;
+ overflow-y: auto;
+ overflow-x: hidden;
+}
+.field-help-content h3 {
+ font-size: 12px;
+ margin-bottom: 5px;
+}
+.field-help-content p {
+ margin-bottom: 15px;
+}
+.field-help-content ul li {
+ list-style: inside;
+ margin-bottom: 5px;
+}
+
+.field-help-content .field-help-image {
+ width: 100%;
+ margin-bottom: 15px;
+}
+
+.field-help-content svg.turn {
+ width: 40px;
+ height: 20px;
+}
+.field-help-content svg.shadow {
+ opacity: 0.7;
+ width: 60px;
+ height: 20px;
+}
+.field-help-content svg.from {
+ color: #777;
+}
+.field-help-content svg.allow {
+ color: #5b3;
+}
+.field-help-content svg.restrict {
+ color: #d53;
+}
+.field-help-content svg.only {
+ color: #68f;
+}
+
+.field-help-content p.from_shadow,
+.field-help-content p.allow_shadow,
+.field-help-content p.restrict_shadow,
+.field-help-content p.allow_turn,
+.field-help-content p.restrict_turn {
+ margin-bottom: 5px;
+}
+
+
+/* More Fields dropdown
+------------------------------------------------------- */
+.more-fields {
+ padding: 0 20px 20px 20px;
+ font-weight: bold;
+}
+.changeset-editor .more-fields {
+ padding: 15px 20px 0 20px;
+}
+
+.more-fields label {
+ display: flex;
+ flex-flow: row nowrap;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.more-fields input {
+ margin-left: 10px;
+ flex: 1 1 50%;
+}
+[dir='rtl'] .more-fields input {
+ margin-left: auto;
+ margin-right: 10px;
+}
+
+.form-field-input-wrap .label {
+ height: 30px;
+ background: #f6f6f6;
+ padding: 5px 10px;
+}
+
+
+/* Raw Tag Editor
+------------------------------------------------------- */
+.raw-tag-options {
+ display: flex;
+ flex-flow: row nowrap;
+ flex-direction: row-reverse;
+ margin-top: -25px;
+ padding: 0 3px;
+}
+button.raw-tag-option {
+ flex: 0 0 20px;
+ height: 20px;
+ width: 20px;
+ background: #aaa;
+ color: #eee;
+ margin: 0 3px;
+}
+button.raw-tag-option:focus,
+button.raw-tag-option:hover,
+button.raw-tag-option.active {
+ color: #fff;
+ background: #597be7;
+}
+button.raw-tag-option.selected {
+ color: #fff;
+ background: #7092ff;
+}
+button.raw-tag-option svg.icon {
+ width: 14px;
+ height: 14px;
+ vertical-align: text-bottom;
+}
+[dir='ltr'] button.raw-tag-option-list {
+ -moz-transform: scaleX(-1);
+ -o-transform: scaleX(-1);
+ -webkit-transform: scaleX(-1);
+ transform: scaleX(-1);
+ filter: FlipH;
+ -ms-filter: "FlipH";
+}
+
+
+.tag-text {
+ width: 100%;
+ height: 100%;
+ font-family: monospace;
+ white-space: pre;
+}
+
+.tag-text,
+.tag-list {
+ margin-top: 10px;
+}
+.tag-row {
+ width: 100%;
+ position: relative;
+}
+.tag-row .inner-wrap {
+ display: flex;
+ flex-flow: row nowrap;
+ width: 100%;
+ position: relative;
+}
+.tag-row .key-wrap,
+.tag-row .value-wrap {
+ flex: 1 1 50%;
+}
+
+.tag-text.readonly,
+.tag-row.readonly,
+.tag-row.readonly input.key,
+.tag-row.readonly input.value,
+.tag-row.readonly button.remove {
+ color: #777;
+ background-color: #eee;
+ cursor: not-allowed;
+}
+
+.tag-row input {
+ height: 31px;
+ border: 0;
+ border-radius: 0;
+ border-bottom: 1px solid #ccc;
+ border-left: 1px solid #ccc;
+ width: 100%;
+}
+[dir='rtl'] .tag-row input {
+ border-left: none;
+ border-right: 1px solid #ccc;
+}
+
+
+.tag-row input.key {
+ font-weight: bold;
+ background-color: #f6f6f6;
+}
+
+.tag-row input.value {
+ border-right: 1px solid #ccc;
+}
+[dir='rtl'] .tag-row input.value {
+ border-left: 1px solid #ccc;
+}
+
+.tag-row:first-child input.key {
+ border-top: 1px solid #ccc;
+ border-top-left-radius: 4px;
+}
+[dir='rtl'] .tag-row:first-child input.key {
+ border-top-left-radius: 0;
+ border-top-right-radius: 4px;
+}
+
+.tag-row:first-child input.value {
+ border-top: 1px solid #ccc;
+}
+.tag-row button {
+ flex: 0 0 32px;
+ height: 31px;
+ width: 32px;
+ border: 1px solid #ccc;
+ border-top-width: 0;
+ border-left-width: 0;
+}
+[dir='rtl'] .tag-row button {
+ border-left-width: 1px;
+ border-right-width: 0;
+}
+
+.tag-row button:hover {
+ background: #f1f1f1;
+}
+.tag-row button .icon {
+ opacity: .5;
+}
+.tag-row:first-child button {
+ border-top-width: 1px;
+}
+
+.tag-row:first-child .tag-reference-button {
+ border-top-right-radius: 4px;
+}
+[dir='rtl'] .tag-row:first-child .tag-reference-button {
+ border-top-left-radius: 4px;
+ border-top-right-radius: 0;
+}
+
+.tag-row:last-child .tag-reference-button {
+ border-bottom-right-radius: 4px;
+}
+[dir='rtl'] .tag-row:last-child .tag-reference-button {
+ border-bottom-left-radius: 4px;
+ border-bottom-right-radius: 0;
+}
+
+.tag-row .tag-reference-button {
+ border-radius: 0;
+}
+[dir='rtl'] .tag-row .tag-reference-button {
+ border-left-width: 1px;
+ border-right-width: 0;
+}
+
+/* Tag reference */
+.tag-reference-loading {
+ background-color: #f5f5f5;
+}
+.tag-reference-loading .icon {
+ background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
+ background-position: 0 0;
+}
+
+.tag-reference-body {
+ flex: 1 1 auto;
+ width: 100%;
+ overflow: hidden;
+ display: none;
+ padding-top: 10px;
+}
+.tag-reference-body.expanded {
+ padding-bottom: 10px;
+ display: inline-block;
+}
+.tag-reference-description {
+
+}
+.tag-reference-link {
+ display: block;
+}
+
+img.tag-reference-wiki-image {
+ float: right;
+ width: 33.3333%;
+ border-radius: 4px;
+ margin: 0 0 0 5px;
+}
+[dir='rtl'] img.tag-reference-wiki-image {
+ float: left;
+ margin: 0 5px 0 0;
+}
+
+.preset-list .tag-reference-body {
+ position: relative;
+ width: 100%;
+}
+.raw-tag-editor .tag-reference-body {
+ width: 100%;
+}
+.raw-tag-editor .tag-row.readonly .tag-reference-body {
+ background: #f6f6f6;
+ color: #333;
+}
+.raw-tag-editor .tag-row:not(:last-child) .tag-reference-body.expanded {
+ border-bottom: 1px solid #ccc;
+}
+.raw-tag-editor .tag-row.readonly .tag-reference-body.expanded {
+ border-top: 1px solid #ccc;
+}
+
+
+/* Raw Member / Membership Editor
+------------------------------------------------------- */
+
+.raw-member-editor .member-list,
+.raw-membership-editor .member-list {
+ padding-top: 10px;
+}
+.raw-member-editor .member-list li,
+.raw-membership-editor .member-list li {
+ position: relative;
+ border-radius: 4px;
+ margin: 0;
+ padding-bottom: 10px;
+}
+.raw-member-editor .member-row .member-entity-name,
+.raw-membership-editor .member-row .member-entity-name {
+ font-weight: normal;
+ padding-left: 10px;
+}
+
+[dir='rtl'] .raw-member-editor .member-row .member-entity-name,
+[dir='rtl'] .raw-membership-editor .member-row .member-entity-name {
+ padding-left:0;
+ padding-right: 10px;
+}
+
+.form-field-input-member > input.member-role {
+ border-radius: 0 0 0 4px;
+}
+[dir='rtl'] .form-field-input-member > input.member-role {
+ border-radius: 0 0 4px 0;
+}
+
+.member-incomplete .form-field-input-member > input.member-role,
+[dir='rtl'] .member-incomplete .form-field-input-member > input.member-role {
+ border-radius: 0 0 4px 4px;
+}
+
+.member-incomplete .member-delete {
+ display: none;
+}
+
+.member-row-new .member-entity-input {
+ flex: 1 1 100%;
+ border-radius: 4px 4px 0 0;
+ border: 0;
+}
+
+.raw-member-editor .member-row.dragging {
+ opacity: 0.75;
+ z-index: 3000;
+ /*
+ -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
+ -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
+ box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
+ */
+}
+.raw-member-editor .member-row.dragging
+
+/* preserve extra space at bottom of inspector to allow for dropdown options - #5280 */
+.raw-membership-editor.inspector-inner {
+ margin-bottom: 150px;
+}
+
+/* hidden field to prevent user from tabbing out of the sidebar */
+input.key-trap {
+ height: 0px;
+ width: 0px;
+ padding: 0px;
+ border: 1px solid rgba(0,0,0,0);
+}
+
+
+/* add tag, add relation buttons */
+.add-row {
+ display: flex;
+ width: 100%;
+ flex-flow: row nowrap;
+}
+.add-row .add-tag,
+.add-row .add-relation,
+.add-row .space-value {
+ flex: 1 1 50%;
+}
+.add-row .space-buttons {
+ flex: 0 0 62px;
+}
+.add-row button {
+ height: 30px;
+ background: rgba(0,0,0,.5);
+}
+.add-row button:focus,
+.add-row button:hover {
+ background: rgba(0,0,0,.8);
+}
+
+.add-tag {
+ border-radius: 0 0 4px 4px;
+}
+.add-relation {
+ margin-top: 10px;
+ border-radius: 4px;
+}
+
+
+/* OSM Note / KeepRight Editors
+------------------------------------------------------- */
+.note-header,
+.error-header {
+ background-color: #f6f6f6;
+ border-radius: 5px;
+ border: 1px solid #ccc;
+ display: flex;
+ flex-flow: row nowrap;
+ align-items: center;
+}
+
+.note-header-icon,
+.error-header-icon {
+ background-color: #fff;
+ padding: 10px;
+ flex: 0 0 62px;
+ position: relative;
+ width: 60px;
+ height: 60px;
+ border-right: 1px solid #ccc;
+ border-radius: 5px 0 0 5px;
+}
+[dir='rtl'] .note-header-icon,
+[dir='rtl'] .error-header-icon {
+ border-right: unset;
+ border-left: 1px solid #ccc;
+ border-radius: 0 5px 5px 0;
+}
+
+.note-header-icon .icon-wrap,
+.error-header-icon .icon-wrap {
+ position: absolute;
+ top: 0px;
+}
+.preset-icon-28 {
+ position: absolute;
+ top: 16px;
+ left: 16px;
+ margin: auto;
+}
+.preset-icon-28 .icon {
+ width: 28px;
+ height: 28px;
+}
+
+.note-header-label,
+.error-header-label {
+ background-color: #f6f6f6;
+ padding: 0 15px;
+ flex: 1 1 100%;
+ font-size: 14px;
+ font-weight: bold;
+ border-radius: 0 5px 5px 0;
+}
+[dir='rtl'] .note-header-label,
+[dir='rtl'] .error-header-label {
+ border-radius: 5px 0 0 5px;
+}
+
+.note-category {
+ margin: 20px 0px;
+}
+
+.comments-container {
+ background: #ececec;
+ padding: 1px 10px;
+ border-radius: 8px;
+ margin-top: 20px;
+}
+
+.comment {
+ background-color: #fff;
+ border-radius: 5px;
+ border: 1px solid #ccc;
+ margin: 10px auto;
+ display: flex;
+ flex-flow: row nowrap;
+}
+.comment-avatar {