+
+/* Tag reference */
+.ideditor .tag-reference-loading {
+ background-color: #f5f5f5;
+}
+.ideditor .tag-reference-loading .icon {
+ background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
+ background-position: 0 0;
+}
+
+.ideditor .tag-reference-body {
+ -webkit-box-flex: 1;
+ -ms-flex: 1 1 auto;
+ flex: 1 1 auto;
+ width: 100%;
+ overflow: hidden;
+ display: none;
+ padding-top: 10px;
+}
+.ideditor .tag-reference-body.expanded {
+ padding-bottom: 10px;
+ display: inline-block;
+}
+.ideditor .tag-reference-description {
+
+}
+.ideditor .tag-reference-link {
+ display: block;
+}
+
+.ideditor img.tag-reference-wiki-image {
+ float: right;
+ width: 33.3333%;
+ border-radius: 4px;
+ margin: 0 0 0 5px;
+}
+.ideditor[dir='rtl'] img.tag-reference-wiki-image {
+ float: left;
+ margin: 0 5px 0 0;
+}
+
+.ideditor .preset-list .tag-reference-body {
+ position: relative;
+ width: 100%;
+}
+.ideditor .raw-tag-editor .tag-reference-body {
+ width: 100%;
+}
+.ideditor .raw-tag-editor .tag-row.readonly .tag-reference-body {
+ background: #f6f6f6;
+ color: #333;
+}
+.ideditor .raw-tag-editor .tag-row:not(:last-child) .tag-reference-body.expanded {
+ border-bottom: 1px solid #ccc;
+}
+.ideditor .raw-tag-editor .tag-row.readonly .tag-reference-body.expanded {
+ border-top: 1px solid #ccc;
+}
+
+
+/* Raw Member / Membership Editor
+------------------------------------------------------- */
+.ideditor .section-raw-member-editor .member-list:empty,
+.ideditor .section-raw-membership-editor .member-list:empty {
+ display: none;
+}
+
+.ideditor .section-raw-member-editor .member-list,
+.ideditor .section-raw-membership-editor .member-list {
+ position: relative; /* required for drag-and-drop */
+ padding-top: 5px;
+}
+.ideditor .section-raw-member-editor .member-list li,
+.ideditor .section-raw-membership-editor .member-list li {
+ position: relative;
+ border-radius: 4px;
+ margin: 0;
+ padding-bottom: 10px;
+}
+.ideditor .section-raw-member-editor .member-row .member-entity-name,
+.ideditor .section-raw-membership-editor .member-row .member-entity-name {
+ font-weight: normal;
+ padding-left: 10px;
+}
+
+.ideditor[dir='rtl'] .section-raw-member-editor .member-row .member-entity-name,
+.ideditor[dir='rtl'] .section-raw-membership-editor .member-row .member-entity-name {
+ padding-left:0;
+ padding-right: 10px;
+}
+
+.ideditor .form-field-input-member > input.member-role {
+ border-radius: 0 0 4px 4px;
+}
+
+.ideditor .member-row-new .member-entity-input {
+ -webkit-box-flex: 1;
+ -ms-flex: 1 1 100%;
+ flex: 1 1 100%;
+ border-radius: 4px 4px 0 0;
+ border: 0;
+}
+
+.ideditor .section-raw-member-editor .member-row.dragging {
+ opacity: 0.75;
+ z-index: 3000;
+ /*
+ box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
+ */
+}
+
+/* add tag, add relation buttons */
+.ideditor .add-row {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ width: 100%;
+ -webkit-box-orient: horizontal;
+ -webkit-box-direction: normal;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+}
+.ideditor .add-row .add-tag,
+.ideditor .add-row .add-relation,
+.ideditor .add-row .space-value {
+ -webkit-box-flex: 1;
+ -ms-flex: 1 1 50%;
+ flex: 1 1 50%;
+}
+.ideditor .add-row .space-buttons {
+ -webkit-box-flex: 0;
+ -ms-flex: 0 0 62px;
+ flex: 0 0 62px;
+}
+.ideditor .add-row button {
+ padding: 5px;
+ background: rgba(0,0,0,.5);
+}
+.ideditor .add-row button:focus,
+.ideditor .add-row button:active {
+ background: rgba(0,0,0,.8);
+}
+@media (hover: hover) {
+ .ideditor .add-row button:hover {
+ background: rgba(0,0,0,.8);
+ }
+}
+
+.ideditor .add-tag {
+ border-radius: 0 0 4px 4px;
+}
+.ideditor .add-relation {
+ margin-top: 10px;
+ border-radius: 4px;
+}
+
+
+/* OSM Note / QA Editors
+------------------------------------------------------- */
+.ideditor .note-header,
+.ideditor .qa-header {
+ background-color: #f6f6f6;
+ border-radius: 5px;
+ border: 1px solid #ccc;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: horizontal;
+ -webkit-box-direction: normal;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+}
+
+.ideditor .note-header-icon,
+.ideditor .qa-header-icon {
+ background-color: #fff;
+ padding: 10px;
+ -webkit-box-flex: 0;
+ -ms-flex: 0 0 auto;
+ flex: 0 0 auto;
+ position: relative;
+ width: 60px;
+ height: 60px;
+ border-right: 1px solid #ccc;
+ border-radius: 5px 0 0 5px;
+}
+.ideditor[dir='rtl'] .note-header-icon,
+.ideditor[dir='rtl'] .qa-header-icon {
+ border-right: unset;
+ border-left: 1px solid #ccc;
+ border-radius: 0 5px 5px 0;
+}
+
+.ideditor .note-header-icon .icon-wrap,
+.ideditor .qa-header-icon .icon-wrap {
+ position: absolute;
+ top: 0px;
+}
+.ideditor .preset-icon-28 {
+ position: absolute;
+ top: 16px;
+ left: 16px;
+ margin: auto;
+}
+.ideditor .preset-icon-28 .icon {
+ width: 28px;
+ height: 28px;
+}
+
+.ideditor .note-header-label,
+.ideditor .qa-header-label {
+ background-color: #f6f6f6;
+ padding: 0 15px;
+ -webkit-box-flex: 1;
+ -ms-flex: 1 1 100%;
+ flex: 1 1 100%;
+ font-size: 14px;
+ font-weight: bold;
+ border-radius: 0 5px 5px 0;
+}
+.ideditor[dir='rtl'] .note-header-label,
+.ideditor[dir='rtl'] .qa-header-label {
+ border-radius: 5px 0 0 5px;
+}
+
+.ideditor .note-category {
+ margin: 20px 0px;
+}
+
+.ideditor .comments-container {
+ background: #ececec;
+ padding: 1px 10px;
+ border-radius: 8px;
+ margin-top: 20px;
+}
+
+.ideditor .comment {
+ background-color: #fff;
+ border-radius: 5px;
+ border: 1px solid #ccc;
+ margin: 10px auto;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: horizontal;
+ -webkit-box-direction: normal;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+}
+.ideditor .comment-avatar {
+ padding: 10px;
+ -webkit-box-flex: 0;
+ -ms-flex: 0 0 auto;
+ flex: 0 0 auto;
+}
+.ideditor .comment-avatar .icon.comment-avatar-icon {
+ width: 40px;
+ height: 40px;
+ -o-object-fit: cover;
+ object-fit: cover;
+ border: 1px solid #ccc;
+ border-radius: 20px;
+}
+.ideditor .comment-main {
+ padding: 10px 10px 10px 0;
+ -webkit-box-flex: 1;
+ -ms-flex: 1 1 100%;
+ flex: 1 1 100%;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-flow: column nowrap;
+ flex-flow: column nowrap;
+ overflow: hidden;
+ overflow-wrap: break-word;
+}
+.ideditor[dir='rtl'] .comment-main {
+ padding: 10px 0 10px 10px;
+}
+
+.ideditor .comment-metadata {
+ -webkit-box-orient: horizontal;
+ -webkit-box-direction: normal;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+ -webkit-box-pack: justify;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+}
+.ideditor .comment-author {
+ font-weight: bold;
+ color: #333;
+}
+.ideditor .comment-date {
+ color: #aaa;
+}
+.ideditor .comment-text {
+ color: #333;
+ margin-top: 10px;
+ overflow-y: auto;
+ max-height: 250px;
+}
+.ideditor .comment-text::-webkit-scrollbar {
+ border-left: none;
+}
+
+.ideditor .note-save,
+.ideditor .qa-save {
+ padding-top: 20px;
+}
+
+.ideditor .qa-details-container {
+ background: #ececec;
+ padding: 10px;
+ margin-top: 20px;
+ border-radius: 4px;
+ border: 1px solid #ccc;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+.ideditor .qa-details-description-text::first-letter {
+ text-transform: capitalize;
+}
+.ideditor[dir='rtl'] .qa-details-description-text::first-letter {
+ text-transform: none; /* #5877 */
+}
+.ideditor .qa-details-subsection h4 {
+ padding-bottom: 2px;
+}
+.ideditor .qa-details-subsection:not(:last-child) {
+ margin-bottom: 10px;
+}
+.ideditor .qa-details-subsection:empty {
+ display: none;
+}
+
+.ideditor .note-save .new-comment-input,
+.ideditor .qa-save .new-comment-input {
+ width: 100%;
+ height: 100px;
+ max-height: 300px;
+ min-height: 100px;
+}
+
+.ideditor .note-save .detail-section,
+.ideditor .qa-save .detail-section {
+ margin: 10px 0;
+}
+
+.ideditor .note-report {
+ float: right;
+}
+
+
+/* Custom Data Editor
+------------------------------------------------------- */
+.ideditor .data-header {
+ background-color: #f6f6f6;
+ border-radius: 5px;
+ border: 1px solid #ccc;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: horizontal;
+ -webkit-box-direction: normal;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+}
+
+.ideditor .data-header-icon {
+ background-color: #fff;
+ padding: 10px;
+ -webkit-box-flex: 0;
+ -ms-flex: 0 0 auto;
+ flex: 0 0 auto;
+ position: relative;
+ width: 60px;
+ height: 60px;
+ border-right: 1px solid #ccc;
+ border-radius: 5px 0 0 5px;
+}
+.ideditor[dir='rtl'] .data-header-icon {
+ border-right: unset;
+ border-left: 1px solid #ccc;
+ border-radius: 0 5px 5px 0;
+}
+
+.ideditor .data-header-icon .icon-wrap {
+ position: absolute;
+ top: 0px;
+}
+
+.ideditor .data-header-label {
+ background-color: #f6f6f6;
+ padding: 0 15px;
+ -webkit-box-flex: 1;
+ -ms-flex: 1 1 100%;
+ flex: 1 1 100%;
+ font-size: 14px;
+ font-weight: bold;
+ border-radius: 0 5px 5px 0;
+}
+.ideditor[dir='rtl'] .data-header-label {
+ border-radius: 5px 0 0 5px;
+}
+
+/* custom data editor - no info/delete buttons */
+.ideditor .data-editor.raw-tag-editor .tag-row button {
+ display: none;
+}
+.ideditor .data-editor.raw-tag-editor .tag-row .key-wrap,
+.ideditor .data-editor.raw-tag-editor .tag-row .value-wrap {
+ width: 50%;
+}
+
+
+.ideditor .over-map {
+ position: relative;
+ height: 100%;
+ pointer-events: none;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: horizontal;
+ -webkit-box-direction: reverse;
+ -ms-flex-direction: row-reverse;
+ flex-direction: row-reverse;
+ -webkit-box-align: end;
+ -ms-flex-align: end;
+ align-items: flex-end;
+ overflow: hidden;
+}
+.ideditor .over-map > * {
+ pointer-events: auto;
+ z-index: 5;
+}
+/* offscreen this without hiding it */
+.ideditor .over-map .select-trap {
+ position: absolute;
+ right: -1000%;
+ opacity: 0;
+}
+
+/* Map Controls
+------------------------------------------------------- */
+.ideditor .map-controls-wrap {
+ position: absolute;
+ left: 0;
+ right: 0;
+ height: 100%;
+ z-index: 100;
+ display: block;
+ overflow-x: hidden;
+ overflow-y: auto;
+ pointer-events: none;
+ -ms-overflow-style: none;
+ scrollbar-width: none;
+}
+.ideditor .map-controls-wrap::-webkit-scrollbar {
+ display: none;
+}
+.ideditor .map-controls {
+ right: 0;
+ top: 0;
+ width: 40px;
+ position: absolute;
+ bottom: 0;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ padding: 5px 0;
+ pointer-events: none;
+}
+.ideditor .map-controls:before {
+ content: '';
+ display: inline-block;
+ pointer-events: none;
+ width: 40px;
+ height: 100%;
+ max-height: 70px;
+ -webkit-box-flex: 0;
+ -ms-flex: 0 1 auto;
+ flex: 0 1 auto;
+}
+.ideditor[dir='rtl'] .map-controls {
+ left: 0;
+ right: auto;
+}
+
+.ideditor .map-control {
+ position: relative;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+.ideditor .map-control > button {
+ position: relative;
+ width: 40px;
+ height: 40px;
+ background: rgba(0,0,0,.5);
+ border-radius: 0;
+ pointer-events: auto;
+}
+
+.ideditor .map-control > button:not(.disabled):focus,
+.ideditor .map-control > button:not(.disabled):active {
+ background: rgba(0, 0, 0, .8);
+}
+.ideditor .map-control > button.active,
+.ideditor .map-control > button.active:active {
+ background: #7092ff;
+}
+@media (hover: hover) {
+ .ideditor .map-control > button:not(.disabled):hover {
+ background: rgba(0, 0, 0, .8);
+ }
+ .ideditor .map-control > button.active:hover {
+ background: #7092ff;
+ }
+}
+
+.ideditor .map-control > button.disabled .icon {
+ color: rgba(255, 255, 255, 0.5);
+}
+
+
+/* Fullscreen Button (disabled)
+------------------------------------------------------- */
+.ideditor div.full-screen {
+ display: inline-block;
+ width: 40px;
+ margin-right: 10px;
+ display: none;
+}
+
+.ideditor div.full-screen .tooltip {
+ min-width: 160px;
+}
+
+.ideditor div.full-screen > button, .ideditor div.full-screen > button.active {
+ width: 40px;
+ height: 40px;
+ background: transparent;
+}
+.ideditor div.full-screen > button:active,
+.ideditor div.full-screen > button:focus {
+ background-color: rgba(0, 0, 0, .8);
+}
+@media (hover: hover) {
+ .ideditor div.full-screen > button:hover {
+ background-color: rgba(0, 0, 0, .8);
+ }
+}
+
+
+/* Map Controls
+------------------------------------------------------- */
+
+/* Zoom in/out buttons */
+.ideditor .zoombuttons > button.zoom-in {
+ border-radius: 4px 0 0 0;
+}
+.ideditor[dir='rtl'] .zoombuttons > button.zoom-in {
+ border-radius: 0 4px 0 0;
+}
+
+/* Geolocate button */
+.ideditor .geolocate-control {
+ margin-bottom: 10px;
+}
+.ideditor .geolocate-control > button {
+ border-radius: 0 0 0 4px;
+}
+.ideditor[dir='rtl'] .geolocate-control > button {
+ border-radius: 0 0 4px 0;
+}
+
+/* Zoom to selection button */
+.ideditor .zoom-to-selection-control .icon {
+ width: 22px;
+ height: 22px;
+}
+
+
+/* Background / Map Data / Help Pane buttons
+------------------------------------------------------- */
+.ideditor .background-control > button {
+ border-radius: 4px 0 0 0;
+}
+.ideditor[dir='rtl'] .background-control > button {
+ border-radius: 0 4px 0 0;
+}
+
+.ideditor .help-control > button {
+ border-radius: 0 0 0 4px;
+}
+.ideditor[dir='rtl'] .help-control > button {
+ border-radius: 0 0 4px 0;
+}
+
+
+/* Background / Map Data Settings
+------------------------------------------------------- */
+.ideditor .imagery-faq {
+ margin-bottom: 10px;
+ white-space: nowrap;
+}
+
+.ideditor .layer-list, .ideditor .controls-list {
+ margin-bottom: 10px;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+.ideditor .layer-list > li {
+ background-color: #fff;
+ color: #7092ff;
+ position: relative;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+}
+
+.ideditor .layer-list:empty {
+ display: none;
+}
+
+.ideditor .layer-list > li:first-child {
+ border-radius: 3px 3px 0 0;
+}
+.ideditor .layer-list > li:last-child {
+ border-radius: 0 0 3px 3px;
+}
+.ideditor .layer-list > li:only-child {
+ border-radius: 3px;
+}
+.ideditor .layer-list li:not(:last-child) {
+ border-bottom: 1px solid #ccc;
+}
+.ideditor .layer-list li:active {
+ background-color: #ececec;
+}
+@media (hover: hover) {
+ .ideditor .layer-list li:hover {
+ background-color: #ececec;
+ }
+}
+
+.ideditor .layer-list li.active button,
+.ideditor .layer-list li.switch button,
+.ideditor .layer-list li.active,
+.ideditor .layer-list li.switch {
+ background: #e8ebff;
+}
+
+.ideditor .layer-list li.best > div.best {
+ padding: 5px;
+ -webkit-box-flex: 0;
+ -ms-flex: 0 0 auto;
+ flex: 0 0 auto;
+}
+
+.ideditor[dir='rtl'] .list-item-data-browse svg {
+ -webkit-transform: rotateY(180deg);
+ transform: rotateY(180deg);
+}
+
+/* make sure tooltip fits in map-control panel */
+/* if too wide, placement will be wrong the first time it displays */
+.ideditor .layer-list li.best .popover-inner {
+ max-width: 160px;
+}
+
+.ideditor .layer-list label {
+ padding: 5px 10px;
+ cursor: pointer;
+ -webkit-box-flex: 1;
+ -ms-flex: 1 1 auto;
+ flex: 1 1 auto;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ overflow: hidden;
+}
+
+.ideditor[dir='ltr'] .layer-list .indented label {
+ padding-left: 24px;
+}
+.ideditor[dir='rtl'] .layer-list .indented label {
+ padding-right: 24px;
+}
+
+.ideditor .layer-list label > span {
+ display: block;
+ overflow: hidden;
+ white-space: nowrap;
+ -o-text-overflow: ellipsis;
+ text-overflow: ellipsis;
+ -webkit-box-flex: 1;
+ -ms-flex-positive: 1;
+ flex-grow: 1;
+}
+
+.ideditor .layer-list input.list-item-input {
+ height: 2.2em;
+ padding: 0px 4px;
+ width: 50%;
+ min-width: 160px;
+}
+
+.ideditor .map-data-pane .layer-list button,
+.ideditor .background-pane .layer-list button {
+ border-left: 1px solid #ccc;
+ border-radius: 0;
+ padding-left: 4px;
+ padding-right: 4px;
+}
+.ideditor[dir='rtl'] .map-data-pane .layer-list button,
+.ideditor[dir='rtl'] .background-pane .layer-list button {
+ border-left: none;
+ border-right: 1px solid #ccc;
+}
+
+.ideditor .map-data-pane .layer-list button .icon,
+.ideditor .background-pane .layer-list button .icon {
+ opacity: 0.5;
+}
+
+.ideditor .map-data-pane .layer-list button:last-of-type,
+.ideditor .background-pane .layer-list button:last-of-type {
+ border-radius: 0 3px 3px 0;
+}
+.ideditor[dir='rtl'] .map-data-pane .layer-list button:last-of-type,
+.ideditor[dir='rtl'] .background-pane .layer-list button:last-of-type {
+ border-radius: 3px 0 0 3px;
+}
+
+.ideditor .map-data-pane .vectortile-container .vectortile-header {
+ padding-bottom: 5px;
+}
+.ideditor .map-data-pane .vectortile-container .vectortile-footer {
+ padding-bottom: 10px;
+}
+
+
+/* Issues
+------------------------------------------------------- */
+.ideditor .issue {
+ overflow: hidden;
+}
+.ideditor .issue .issue-label,
+.ideditor .issue-label .issue-text {
+ width: 100%;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: horizontal;
+ -webkit-box-direction: normal;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+ cursor: pointer;
+ text-align: initial;
+ background: none;
+}
+
+.ideditor .issue-text .issue-icon {
+ -webkit-box-flex: 0;
+ -ms-flex: 0 0 auto;
+ flex: 0 0 auto;
+ padding: 2px 3px;
+}
+.ideditor .issue-text .issue-message {
+ -webkit-box-flex: 1;
+ -ms-flex: 1 1 auto;
+ flex: 1 1 auto;
+ padding: 4px 5px;
+}
+.ideditor .issue-label .issue-autofix {
+ -webkit-box-flex: 0;
+ -ms-flex: 0 0 auto;
+ flex: 0 0 auto;
+ padding: 5px 8px;
+}
+.ideditor .issue-label .issue-info-button {
+ height: unset;
+ width: 32px;
+ -webkit-box-flex: 0;
+ -ms-flex: 0 0 auto;
+ flex: 0 0 auto;
+ border-left: 1px solid #ccc;
+ background-color: rgba(0,0,0,0);
+}
+.ideditor[dir='rtl'] .issue-label .issue-info-button {
+ border-left: 0;
+ border-right: 1px solid #ccc;
+}
+.ideditor .issue-container .issue-label .issue-info-button .icon {
+ opacity: 0.5;
+}
+.ideditor .issue-container.active .issue-label .issue-info-button .icon {
+ opacity: 0.7;
+}
+.ideditor .issue-label .issue-info-button:last-child {
+ border-radius: 0 4px 4px 0;
+}
+.ideditor[dir='rtl'] .issue-label .issue-info-button:last-child {
+ border-radius: 4px 0 0 4px;