]> git.openstreetmap.org Git - rails.git/blob - vendor/assets/iD/iD.css.erb
Fix CSS errors
[rails.git] / vendor / assets / iD / iD.css.erb
1 /* http://meyerweb.com/eric/tools/css/reset/
2    v2.0 | 20110126
3    License: none (public domain)
4 */
5
6 html, body, div, span, applet, object, iframe,
7 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8 a, abbr, acronym, address, big, cite, code,
9 del, dfn, em, img, ins, kbd, q, s, samp,
10 small, strike, strong, sub, sup, tt, var,
11 b, u, i, center,
12 dl, dt, dd, ol, ul, li,
13 fieldset, form, label, legend,
14 table, caption, tbody, tfoot, thead, tr, th, td,
15 article, aside, canvas, details, embed,
16 figure, figcaption, footer, header, hgroup,
17 menu, nav, output, ruby, section, summary,
18 time, mark, audio, video {
19         margin: 0;
20         padding: 0;
21         border: 0;
22         font-size: 100%;
23         font: inherit;
24         vertical-align: baseline;
25 }
26 /* HTML5 display-role reset for older browsers */
27 article, aside, details, figcaption, figure,
28 footer, header, hgroup, menu, nav, section {
29         display: block;
30 }
31 body {
32         line-height: 1;
33 }
34 ol, ul {
35         list-style: none;
36 }
37 blockquote, q {
38         quotes: none;
39 }
40 blockquote:before, blockquote:after,
41 q:before, q:after {
42         content: '';
43         content: none;
44 }
45 table {
46         border-collapse: collapse;
47         border-spacing: 0;
48 }
49 a { text-decoration: none;}
50 /*
51  * 1. Corrects font family not being inherited in all browsers.
52  * 2. Corrects font size not being inherited in all browsers.
53  * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
54  */
55
56 button,
57 input,
58 select,
59 textarea {
60     font-family: inherit; /* 1 */
61     font-size: 100%; /* 2 */
62     margin: 0; /* 3 */
63     padding: 0;
64 }
65
66 /*
67  * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
68  * the UA stylesheet.
69  */
70
71 button,
72 input {
73     line-height: normal;
74 }
75
76 /* Hide default number spinner controls */
77 input[type="number"]::-webkit-inner-spin-button,
78 input[type="number"]::-webkit-outer-spin-button {
79 display: none;
80 }
81
82 /*
83  * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
84  *    and `video` controls.
85  * 2. Corrects inability to style clickable `input` types in iOS.
86  * 3. Improves usability and consistency of cursor style between image-type
87  *    `input` and others.
88  */
89
90 button,
91 html input[type="button"], /* 1 */
92 input[type="reset"],
93 input[type="submit"] {
94     -webkit-appearance: button; /* 2 */
95     cursor: pointer; /* 3 */
96 }
97
98 /*
99  * Re-set default cursor for disabled elements.
100  */
101
102 button[disabled],
103 input[disabled] {
104     cursor: default;
105 }
106
107 /*
108  * 1. Addresses box sizing set to `content-box` in IE 8/9.
109  * 2. Removes excess padding in IE 8/9.
110  */
111
112 input[type="checkbox"],
113 input[type="radio"] {
114     box-sizing: border-box; /* 1 */
115     padding: 0; /* 2 */
116 }
117
118 /*
119  * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
120  * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
121  *    (include `-moz` to future-proof).
122  */
123
124 input[type="search"] {
125     -webkit-appearance: none; /* 1 */
126     -moz-box-sizing: border-box;
127     -webkit-box-sizing: border-box; /* 2 */
128     box-sizing: border-box;
129 }
130
131 /*
132  * Removes inner padding and search cancel button in Safari 5 and Chrome
133  * on OS X.
134  */
135
136 input[type="search"]::-webkit-search-cancel-button,
137 input[type="search"]::-webkit-search-decoration {
138     -webkit-appearance: none;
139 }
140
141 /*
142  * Removes inner padding and border in Firefox 4+.
143  */
144
145 button::-moz-focus-inner,
146 input::-moz-focus-inner {
147     border: 0;
148     padding: 0;
149 }
150
151 /*
152 ** Markup free clearing
153 ** Details: http://www.positioniseverything.net/easyclearing.html
154 */
155 .cf:before,
156 .cf:after {
157     content: " "; /* 1 */
158     display: table; /* 2 */
159 }
160
161 .cf:after {
162     clear: both;
163 }
164 /* base styles */
165 .layer-osm path {
166     fill: none;
167 }
168
169 /* IE/Edge needs these overrides for markers to show up */
170 .layer-osm path.oneway-marker-path          { fill: #000; }
171 .layer-osm path.sided-marker-natural-path   { fill: rgb(170, 170, 170); }
172 .layer-osm path.sided-marker-coastline-path { fill: #77dede; }
173 .layer-osm path.sided-marker-barrier-path   { fill: #ddd; }
174 .layer-osm path.sided-marker-man_made-path  { fill: #fff; }
175
176 /* IE/Edge rule for <use> marker style */
177 .layer-osm path.viewfield-marker-path {
178     fill: #333;
179     fill-opacity: 0.75;
180     stroke: #fff;
181     stroke-width: 0.5px;
182     stroke-opacity: 0.75;
183 }
184 .fill-wireframe .layer-osm path.viewfield-marker-path {   /* IE/Edge rule for <use> marker style */
185     fill: none;
186 }
187
188 /* the above fill: none rule affects paths in <use> shadow dom only in Firefox */
189 .layer-osm use.icon path { fill: #333; }                       /* FF svg Maki icons */
190 .layer-osm .turn use path { fill: #000; }                      /* FF turn restriction icons */
191 #turn-only-shape2, #turn-only-u-shape2 { fill: #7092ff; }      /* FF turn-only, turn-only-u */
192 #turn-no-shape2, #turn-no-u-shape2     { fill: #e06d5f; }      /* FF turn-no, turn-no-u */
193 #turn-yes-shape2, #turn-yes-u-shape2   { fill: #8cd05f; }      /* FF turn-yes, turn-yes-u */
194
195
196 /* No interactivity except what we specifically allow */
197 .data-layer.osm *,
198 .data-layer.notes *,
199 .data-layer.keepRight *,
200 .data-layer.improveOSM * {
201     pointer-events: none;
202 }
203
204 .lasso #map {
205     pointer-events: visibleStroke;
206 }
207
208
209 /* `.target` objects are interactive */
210 /* They can be picked up, clicked, hovered, or things can connect to them */
211 .qa_error.target,
212 .note.target,
213 .node.target,
214 .turn .target {
215     pointer-events: fill;
216     fill-opacity: 0.8;
217     fill: currentColor;
218     stroke: none;
219 }
220
221 .way.target {
222     pointer-events: stroke;
223     fill: none;
224     stroke-width: 12;
225     stroke-opacity: 0.8;
226     stroke: currentColor;
227     stroke-linecap: round;
228     stroke-linejoin: round;
229 }
230
231
232 /* `.target-nope` objects are explicitly forbidden to join to */
233 .surface:not(.nope-disabled) .node.target.target-nope,
234 .surface:not(.nope-disabled) .way.target.target-nope {
235     cursor: not-allowed;
236 }
237
238
239 /* `.active` objects (currently being drawn or dragged) are not interactive */
240 /* This is important to allow the events to drop through to whatever is */
241 /* below them on the map, so you can still hover and connect to other things. */
242 .layer-osm .active {
243     pointer-events: none !important;
244 }
245
246 /* points, notes & QA */
247
248 /* points, notes, markers */
249 g.qa_error .stroke,
250 g.note .stroke {
251     stroke: #222;
252     stroke-width: 1;
253     fill: #222;
254     opacity: 0.6;
255 }
256
257 g.qa_error.active .stroke,
258 g.note.active .stroke {
259     stroke: #222;
260     stroke-width: 1;
261     fill: #222;
262     opacity: 0.8;
263 }
264
265 g.point .stroke {
266     stroke: #444;
267     stroke-width: 1;
268     fill: #fff;
269 }
270
271
272 g.qa_error .shadow,
273 g.point .shadow,
274 g.note .shadow {
275     fill: none;
276     stroke: #f6634f;
277     stroke-width: 16;
278     stroke-opacity: 0;
279 }
280
281 g.qa_error.hover:not(.selected) .shadow,
282 g.note.hover:not(.selected) .shadow,
283 g.point.related:not(.selected) .shadow,
284 g.point.hover:not(.selected) .shadow {
285     stroke-opacity: 0.5;
286 }
287
288 g.qa_error.selected .shadow,
289 g.note.selected .shadow,
290 g.point.selected .shadow {
291     stroke-opacity: 0.7;
292 }
293
294 /* g.note ellipse.stroke, */
295 g.point ellipse.stroke {
296     display: none;
297 }
298 .mode-drag-note g.note.active ellipse.stroke,
299 .mode-drag-node g.point.active ellipse.stroke {
300     display: block;
301 }
302
303
304 /* vertices and midpoints */
305 g.vertex .fill {
306     fill: #000;
307 }
308 g.vertex .stroke {
309     stroke: #666;
310     stroke-width: 1;
311     fill: white;
312 }
313 g.vertex.shared .stroke {
314     fill: #bbb;
315 }
316 g.midpoint .fill {
317     fill: #eee;
318     stroke: #444;
319     stroke-opacity: .6;
320     opacity: .7;
321 }
322
323 g.vertex .shadow,
324 g.midpoint .shadow {
325     stroke-width: 6;
326     fill: #f6634f;
327     fill-opacity: 0;
328 }
329
330 g.vertex.related:not(.selected) .shadow,
331 g.vertex.hover:not(.selected) .shadow,
332 g.midpoint.related:not(.selected) .shadow,
333 g.midpoint.hover:not(.selected) .shadow {
334     fill-opacity: 0.5;
335 }
336
337 g.vertex.selected .shadow {
338     fill-opacity: 0.7;
339 }
340
341
342 /* lines */
343 .preset-icon .icon.iD-other-line {
344     color: #989898;
345 }
346 .preset-icon-container path.line.casing {
347     stroke: #afafaf;
348 }
349
350 path.line {
351     stroke-linecap: round;
352     stroke-linejoin: round;
353 }
354
355 path.stroke {
356     stroke: #000;
357     stroke-width: 4;
358 }
359
360 path.shadow {
361     stroke: #f6634f;
362     stroke-width: 16;
363     stroke-opacity: 0;
364     stroke-linecap: round;
365     stroke-linejoin: round;
366 }
367
368 path.shadow.related:not(.selected),
369 path.shadow.hover:not(.selected) {
370     stroke-opacity: 0.4;
371 }
372
373 path.shadow.selected {
374     stroke-opacity: 0.7;
375 }
376
377 path.line.stroke {
378     stroke: #fff;
379     stroke-width: 2;
380 }
381
382
383 /* Labels / Markers */
384 text {
385     font-size: 10px;
386     color: #222;
387     opacity: 1;
388 }
389
390 .oneway .textpath.tag-waterway {
391     fill: #002F35;
392 }
393
394 .onewaygroup path.oneway,
395 .viewfieldgroup path.viewfield,
396 .sidedgroup path.sided {
397     stroke-width: 6px;
398 }
399
400 text.arealabel-halo,
401 text.linelabel-halo,
402 text.pointlabel-halo,
403 text.arealabel,
404 text.linelabel,
405 text.pointlabel {
406     dominant-baseline: middle;
407     text-anchor: middle;
408     font-size: 12px;
409     font-weight: bold;
410     fill: #333;
411     -webkit-transition: opacity 100ms linear;
412     transition: opacity 100ms linear;
413     -moz-transition: opacity 100ms linear;
414 }
415
416 /* Opera doesn't support dominant-baseline. See #715 */
417 /* Safari 10 seems to have regressed too */
418 .linelabel-halo .textpath,
419 .linelabel .textpath {
420   baseline-shift: -33%;
421   dominant-baseline: auto;
422 }
423
424 .labels-group.halo text {
425     opacity: 0.7;
426     stroke: #fff;
427     stroke-width: 5px;
428     stroke-miterlimit: 1;
429 }
430
431 text.nolabel {
432     opacity: 0 !important;
433 }
434 text.point {
435     font-size: 10px;
436 }
437
438 .icon.areaicon-halo {
439     opacity: 0.6;
440     stroke: #999;
441     stroke-width: 2px;
442     stroke-miterlimit: 1;
443 }
444 .icon.areaicon {
445     fill: #222;
446     opacity: 0.8;
447 }
448
449
450 /* Wikidata-tagged */
451 g.point.tag-wikidata path.stroke {
452     stroke-width: 2px;
453     stroke: #666;
454     fill: #eee;
455 }
456 g.point.tag-wikidata .icon {
457     color: #666;
458 }
459
460 /* Selected Members */
461 g.vertex.selected-member .shadow,
462 g.point.selected-member .shadow,
463 path.shadow.selected-member {
464     stroke-opacity: 0.95;
465     stroke: #FFDE70;
466 }
467
468 /* Highlighting */
469 g.point.highlighted .shadow,
470 path.shadow.highlighted {
471     stroke-opacity: 0.95;
472     stroke: #7092ff;
473 }
474 g.vertex.highlighted .shadow {
475     stroke-width: 7;
476     stroke-opacity: 0.95;
477     stroke: #7092ff;
478 }
479
480 /* Turn Restrictions */
481 .points-group.turns g.turn rect,
482 .points-group.turns g.turn circle {
483     fill: none;
484 }
485
486 /* Turn restriction paths and vertices */
487 .surface.tr .way.target,
488 .surface.tr path.shadow.selected,
489 .surface.tr path.shadow.related {
490     stroke-width: 25px;
491 }
492
493 .surface.tr path.shadow.selected,
494 .surface.tr path.shadow.related,
495 .surface.tr g.vertex.selected .shadow,
496 .surface.tr g.vertex.related .shadow {
497     stroke-opacity: 0.7;
498     stroke: #777;
499 }
500 .surface.tr path.shadow.related.allow,
501 .surface.tr g.vertex.related.allow .shadow {
502     stroke: #5b3;
503 }
504 .surface.tr path.shadow.related.restrict,
505 .surface.tr g.vertex.related.restrict .shadow {
506     stroke: #d53;
507 }
508 .surface.tr path.shadow.related.only,
509 .surface.tr g.vertex.related.only .shadow {
510     stroke: #68f;
511 }
512
513 /* Visual Diffs
514 ------------------
515 `highlight-edited` - visual diff activated
516 `added` - entity was created by the user
517 `moved` - node has different coordinates
518 `geometry-edited` - way has different nodes
519 `segment-edited` - one or both adjacents nodes moved
520 `retagged` - some tagging change has occurred
521 */
522
523 /* Vertex visual diffs */
524 .highlight-edited g.points g.node.vertex.added > circle.shadow,
525 .highlight-edited g.points g.node.vertex.retagged > circle.shadow,
526 .highlight-edited g.points g.node.vertex.moved > circle.shadow {
527     fill-opacity: 0.8;
528 }
529 .highlight-edited g.points g.node.vertex.added > circle.shadow {
530     fill: rgb(133, 255, 103);
531 }
532 .highlight-edited g.points g.node.vertex.retagged > circle.shadow {
533     fill: #fcde5a;
534 }
535 .highlight-edited g.points g.node.vertex.moved > circle.shadow {
536     fill: rgb(255, 126, 46);
537 }
538
539 /* Point visual diffs */
540 .highlight-edited g.points g.node.point.added > path.shadow,
541 .highlight-edited g.points g.node.point.retagged > path.shadow,
542 .highlight-edited g.points g.node.point.moved > path.shadow {
543     stroke-opacity: 0.8;
544     stroke-width: 10;
545 }
546 .highlight-edited g.points g.node.point.added > path.shadow {
547     stroke: rgb(133, 255, 103);
548 }
549 .highlight-edited g.points g.node.point.retagged > path.shadow {
550     stroke: #fcde5a;
551 }
552 .highlight-edited g.points g.node.point.moved > path.shadow {
553     stroke: rgb(255, 126, 46);
554 }
555
556 /* Line/area segment visual diffs
557 - segments are rendered on top of the ways for convenience and to differentiate
558   them from entire line diffs, so make them thin
559 */
560 .highlight-edited g.lines > path.line.segment-edited,
561 .highlight-edited g.areas > path.area.segment-edited {
562     stroke: rgb(255, 126, 46);
563     stroke-dasharray: 10, 3;
564     stroke-width: 1.5 !important;
565     stroke-opacity: 1;
566 }
567
568 /* Entire line/area visual diffs */
569 .highlight-edited path.line.shadow.added,
570 .highlight-edited path.line.shadow.retagged,
571 .highlight-edited path.line.shadow.geometry-edited,
572 .highlight-edited path.area.shadow.added,
573 .highlight-edited path.area.shadow.retagged,
574 .highlight-edited path.area.shadow.geometry-edited {
575     stroke-opacity: 0.6;
576 }
577 .highlight-edited.fill-wireframe path.line.shadow.added,
578 .highlight-edited.fill-wireframe path.line.shadow.retagged,
579 .highlight-edited.fill-wireframe path.line.shadow.geometry-edited,
580 .highlight-edited.fill-wireframe path.area.shadow.added,
581 .highlight-edited.fill-wireframe path.area.shadow.retagged,
582 .highlight-edited.fill-wireframe path.area.shadow.geometry-edited {
583     stroke-width: 3;
584 }
585 .highlight-edited path.line.shadow.added,
586 .highlight-edited path.area.shadow.added {
587     stroke: rgb(133, 255, 103);
588 }
589 .highlight-edited path.area.shadow.retagged,
590 .highlight-edited path.line.shadow.retagged {
591     stroke: #fcde5a;
592 }
593 .highlight-edited path.line.shadow.geometry-edited,
594 .highlight-edited path.area.shadow.geometry-edited {
595     stroke: rgb(255, 126, 46);
596 }
597
598 /* Default - light gray */
599 path.area.stroke {
600     stroke: rgb(170, 170, 170);
601     stroke-width: 1;
602 }
603 path.area.fill {
604     stroke-width: 0;
605     stroke: rgba(255, 255, 255, 0.3);
606     fill: rgba(255, 255, 255, 0.3);
607     fill-rule: evenodd;
608 }
609 .preset-icon-fill path.fill {
610     stroke: rgb(170, 170, 170);
611     fill: rgba(170, 170, 170, 0.3);
612 }
613
614 path.shadow.old-multipolygon,
615 path.stroke.old-multipolygon {
616     stroke-dasharray: 100, 5;
617     stroke-linecap: butt;
618 }
619
620
621 /* Green things */
622 path.stroke.tag-barrier-hedge,
623 path.stroke.tag-landuse-flowerbed,
624 path.stroke.tag-landuse-forest,
625 path.stroke.tag-landuse-grass,
626 path.stroke.tag-landuse-recreation_ground,
627 path.stroke.tag-landuse-village_green,
628 path.stroke.tag-leisure-garden,
629 path.stroke.tag-leisure-golf_course,
630 path.stroke.tag-leisure-nature_reserve,
631 path.stroke.tag-leisure-park,
632 path.stroke.tag-leisure-pitch,
633 path.stroke.tag-leisure-track,
634 path.stroke.tag-natural,
635 path.stroke.tag-natural-wood {
636     stroke: rgb(140, 208, 95);
637 }
638 path.fill.tag-barrier-hedge,
639 path.fill.tag-landuse-flowerbed,
640 path.fill.tag-landuse-forest,
641 path.fill.tag-landuse-grass,
642 path.fill.tag-landuse-recreation_ground,
643 path.fill.tag-landuse-village_green,
644 path.fill.tag-leisure-garden,
645 path.fill.tag-leisure-golf_course,
646 path.fill.tag-leisure-nature_reserve,
647 path.fill.tag-leisure-park,
648 path.fill.tag-leisure-pitch,
649 path.fill.tag-leisure-track,
650 path.fill.tag-natural,
651 path.fill.tag-natural-wood {
652     stroke: rgba(140, 208, 95, 0.3);
653     fill: rgba(140, 208, 95, 0.3);
654 }
655 .pattern-color-forest,
656 .pattern-color-forest_broadleaved,
657 .pattern-color-forest_needleleaved,
658 .pattern-color-forest_leafless,
659 .pattern-color-wood,
660 .pattern-color-grass {
661     fill: rgba(140, 208, 95, 0.3);
662 }
663
664
665 /* Blue things */
666 path.stroke.tag-amenity-fountain,
667 path.stroke.tag-leisure-swimming_pool,
668 path.stroke.tag-natural-bay,
669 path.stroke.tag-natural-water {
670     stroke: rgb(119, 211, 222);
671 }
672 path.fill.tag-amenity-fountain,
673 path.fill.tag-leisure-swimming_pool,
674 path.fill.tag-natural-bay,
675 path.fill.tag-natural-water {
676     stroke: rgba(119, 211, 222, 0.3);
677     fill: rgba(119, 211, 222, 0.3);
678 }
679 .pattern-color-waves,
680 .pattern-color-water_standing,
681 .pattern-color-pond {
682     fill: rgba(119, 211, 222, 0.3);
683 }
684
685
686 /* Yellow things */
687 path.stroke.tag-leisure-pitch.tag-sport-beachvolleyball,
688 path.stroke.tag-leisure-pitch.tag-sport-baseball,
689 path.stroke.tag-leisure-pitch.tag-sport-softball,
690 path.stroke.tag-leisure-track,
691 path.stroke.tag-natural-beach,
692 path.stroke.tag-natural-sand,
693 path.stroke.tag-natural-scrub,
694 path.stroke.tag-amenity-childcare,
695 path.stroke.tag-amenity-kindergarten,
696 path.stroke.tag-amenity-school,
697 path.stroke.tag-amenity-college,
698 path.stroke.tag-amenity-university,
699 path.stroke.tag-amenity-research_institute {
700     stroke: rgba(255, 255, 148, 0.75);
701 }
702 path.fill.tag-leisure-pitch.tag-sport-beachvolleyball,
703 path.fill.tag-leisure-pitch.tag-sport-baseball,
704 path.fill.tag-leisure-pitch.tag-sport-softball,
705 path.fill.tag-leisure-track,
706 path.fill.tag-natural-beach,
707 path.fill.tag-natural-sand,
708 path.fill.tag-natural-scrub,
709 path.fill.tag-amenity-childcare,
710 path.fill.tag-amenity-kindergarten,
711 path.fill.tag-amenity-school,
712 path.fill.tag-amenity-college,
713 path.fill.tag-amenity-university,
714 path.fill.tag-amenity-research_institute {
715     stroke: rgba(255, 255, 148, 0.25);
716     fill: rgba(255, 255, 148, 0.25);
717 }
718 .preset-icon-fill path.area.stroke.tag-leisure-pitch.tag-sport-beachvolleyball,
719 .preset-icon-fill path.area.stroke.tag-leisure-pitch.tag-sport-baseball,
720 .preset-icon-fill path.area.stroke.tag-leisure-pitch.tag-sport-softball,
721 .preset-icon-fill path.area.stroke.tag-leisure-track,
722 .preset-icon-fill path.area.stroke.tag-natural-beach,
723 .preset-icon-fill path.area.stroke.tag-natural-sand,
724 .preset-icon-fill path.area.stroke.tag-natural-scrub,
725 .preset-icon-fill path.area.stroke.tag-amenity-childcare,
726 .preset-icon-fill path.area.stroke.tag-amenity-kindergarten,
727 .preset-icon-fill path.area.stroke.tag-amenity-school,
728 .preset-icon-fill path.area.stroke.tag-amenity-college,
729 .preset-icon-fill path.area.stroke.tag-amenity-university,
730 .preset-icon-fill path.area.stroke.tag-amenity-research_institute {
731     stroke: rgb(232, 232, 0);
732 }
733 .pattern-color-beach,
734 .pattern-color-sand,
735 .pattern-color-scrub {
736     fill: rgba(255, 255, 148, 0.2);
737 }
738
739
740 /* Gold things */
741 path.stroke.tag-landuse-residential,
742 path.stroke.tag-status-construction {
743     stroke: rgb(196, 189, 25);
744 }
745 path.fill.tag-landuse-residential,
746 path.fill.tag-status-construction {
747     stroke: rgba(196, 189, 25, 0.3);
748     fill: rgba(196, 189, 25, 0.3);
749 }
750 .pattern-color-construction {
751     fill: rgba(196, 189, 25, 0.3);
752 }
753
754
755 /* Orange things */
756 path.stroke.tag-landuse-retail,
757 path.stroke.tag-landuse-commercial,
758 path.stroke.tag-landuse-landfill,
759 path.stroke.tag-military,
760 path.stroke.tag-landuse-military {
761     stroke: rgb(214, 136, 26);
762 }
763 path.fill.tag-landuse-retail,
764 path.fill.tag-landuse-commercial,
765 path.fill.tag-landuse-landfill,
766 path.fill.tag-military,
767 path.fill.tag-landuse-military {
768     stroke: rgba(214, 136, 26, 0.3);
769     fill: rgba(214, 136, 26, 0.3);
770 }
771 .pattern-color-landfill {
772     fill: rgba(214, 136, 26, 0.3);
773 }
774
775
776 /* Pink things */
777 path.stroke.tag-landuse-industrial,
778 path.stroke.tag-power-plant {
779     stroke: rgb(228, 164, 245);
780 }
781 path.fill.tag-landuse-industrial,
782 path.fill.tag-power-plant {
783     stroke: rgba(228, 164, 245, 0.3);
784     fill: rgba(228, 164, 245, 0.3);
785 }
786
787
788 /* Teal things */
789 path.stroke.tag-natural-wetland {
790     stroke: rgb(153, 225, 170);
791 }
792 path.fill.tag-natural-wetland {
793     stroke: rgba(153, 225, 170, 0.3);
794     fill: rgba(153, 225, 170, 0.3);
795 }
796 .preset-icon-fill path.area.fill.tag-natural-wetland {
797     fill: rgba(153, 225, 170, 0.2);
798 }
799 .pattern-color-wetland,
800 .pattern-color-wetland_marsh,
801 .pattern-color-wetland_swamp,
802 .pattern-color-wetland_bog,
803 .pattern-color-wetland_reedbed {
804     fill: rgba(153, 225, 170, 0.3);
805 }
806
807
808 /* Light Green things */
809 path.stroke.tag-landuse-cemetery,
810 path.stroke.tag-landuse-farmland,
811 path.stroke.tag-landuse-grass.tag-golf-green,
812 path.stroke.tag-landuse-meadow,
813 path.stroke.tag-landuse-orchard,
814 path.stroke.tag-landuse-vineyard {
815     stroke: rgb(191, 232, 63);
816 }
817 path.fill.tag-landuse-cemetery,
818 path.fill.tag-landuse-farmland,
819 path.fill.tag-landuse-grass.tag-golf-green,
820 path.fill.tag-landuse-meadow,
821 path.fill.tag-landuse-orchard,
822 path.fill.tag-landuse-vineyard {
823     stroke: rgb(191, 232, 63, 0.3);
824     fill: rgb(191, 232, 63, 0.3);
825 }
826 .preset-icon-fill path.area.fill.tag-landuse-cemetery,
827 .preset-icon-fill path.area.fill.tag-landuse-farmland,
828 .preset-icon-fill path.area.fill.tag-landuse-grass.tag-golf-green,
829 .preset-icon-fill path.area.fill.tag-landuse-meadow,
830 .preset-icon-fill path.area.fill.tag-landuse-orchard,
831 .preset-icon-fill path.area.fill.tag-landuse-vineyard {
832     fill: rgba(191, 232, 63, 0.4);
833 }
834 .pattern-color-cemetery,
835 .pattern-color-cemetery_buddhist,
836 .pattern-color-cemetery_christian,
837 .pattern-color-cemetery_jewish,
838 .pattern-color-cemetery_muslim,
839 .pattern-color-farmland,
840 .pattern-color-golf_green,
841 .pattern-color-meadow,
842 .pattern-color-orchard,
843 .pattern-color-vineyard {
844     fill: rgba(191, 232, 63, 0.3);
845 }
846
847
848 /* Tan things */
849 path.stroke.tag-landuse-farmyard {
850     stroke: rgb(245, 220, 186);
851 }
852 path.fill.tag-landuse-farmyard {
853     stroke: rgba(245, 220, 186, 0.3);
854     fill: rgba(245, 220, 186, 0.3);
855 }
856 .preset-icon-fill path.area.stroke.tag-landuse-farmyard {
857     stroke: rgb(226, 177, 111);
858 }
859 .pattern-color-farmyard {
860     fill: rgba(245, 220, 186, 0.3);
861 }
862
863
864 /* Dark Gray things */
865 path.stroke.tag-amenity-parking,
866 path.stroke.tag-landuse-railway,
867 path.stroke.tag-landuse-quarry,
868 path.stroke.tag-leisure-pitch.tag-sport-basketball,
869 path.stroke.tag-leisure-pitch.tag-sport-skateboard,
870 path.stroke.tag-man_made-adit,
871 path.stroke.tag-man_made-groyne,
872 path.stroke.tag-man_made-breakwater,
873 path.stroke.tag-natural-bare_rock,
874 path.stroke.tag-natural-cave_entrance,
875 path.stroke.tag-natural-cliff,
876 path.stroke.tag-natural-rock,
877 path.stroke.tag-natural-scree,
878 path.stroke.tag-natural-stone,
879 path.stroke.tag-natural-shingle,
880 path.stroke.tag-waterway-dam,
881 path.stroke.tag-waterway-weir {
882     stroke: rgb(170, 170, 170);
883 }
884 path.fill.tag-amenity-parking,
885 path.fill.tag-landuse-railway,
886 path.fill.tag-landuse-quarry,
887 path.fill.tag-leisure-pitch.tag-sport-basketball,
888 path.fill.tag-leisure-pitch.tag-sport-skateboard,
889 path.fill.tag-man_made-adit,
890 path.fill.tag-man_made-groyne,
891 path.fill.tag-man_made-breakwater,
892 path.fill.tag-natural-bare_rock,
893 path.fill.tag-natural-cliff,
894 path.fill.tag-natural-cave_entrance,
895 path.fill.tag-natural-rock,
896 path.fill.tag-natural-scree,
897 path.fill.tag-natural-stone,
898 path.fill.tag-natural-shingle,
899 path.fill.tag-waterway-dam,
900 path.fill.tag-waterway-weir {
901     stroke: rgba(140, 140, 140, 0.5);
902     fill: rgba(140, 140, 140, 0.5);
903 }
904 .pattern-color-quarry {
905     fill: rgba(140, 140, 140, 0.5);
906 }
907
908
909 /* Light gray overrides */
910 path.stroke.tag-natural-cave_entrance,
911 path.stroke.tag-natural-glacier {
912     stroke: rgb(170, 170, 170);
913 }
914 path.fill.tag-natural-cave_entrance,
915 path.fill.tag-natural-glacier {
916     stroke: rgba(255, 255, 255, 0.3);
917     fill: rgba(255, 255, 255, 0.3);
918 }
919 .preset-icon-fill path.fill.tag-natural-cave_entrance,
920 .preset-icon-fill path.fill.tag-natural-glacier {
921     stroke: rgb(170, 170, 170);
922     fill: rgba(170, 170, 170, 0.3);
923 }
924 preset-icon-container/* highways */
925
926 /* defaults */
927 .preset-icon .icon.tag-highway.other-line {
928     color: #fff;
929     fill: #777;
930 }
931 path.line.casing.tag-highway {
932     stroke: #444;
933 }
934 path.line.stroke.tag-highway {
935     stroke: #ccc;
936 }
937
938 /* wide highways */
939 path.line.shadow.tag-highway {
940     stroke-width: 20;
941 }
942 path.line.casing.tag-highway {
943     stroke-width: 10;
944 }
945 path.line.stroke.tag-highway {
946     stroke-width: 8;
947 }
948 .low-zoom path.line.shadow.tag-highway {
949     stroke-width: 16;
950 }
951 .low-zoom path.line.casing.tag-highway {
952     stroke-width: 7;
953 }
954 .low-zoom path.line.stroke.tag-highway {
955     stroke-width: 5;
956 }
957
958 .preset-icon .icon.tag-highway-motorway,
959 .preset-icon .icon.tag-highway-motorway_link {
960     color: #CF2081;
961     fill: #70372f;
962 }
963 path.line.stroke.tag-highway-motorway,
964 path.line.stroke.tag-highway-motorway_link,
965 path.line.stroke.tag-motorway {
966     stroke: #CF2081;
967 }
968 path.line.casing.tag-highway-motorway,
969 path.line.casing.tag-highway-motorway_link,
970 path.line.casing.tag-motorway {
971     stroke: #70372f;
972 }
973
974 .preset-icon .icon.tag-highway-trunk,
975 .preset-icon .icon.tag-highway-trunk_link {
976     color: #DD2F22;
977     fill: #70372f;
978 }
979 path.line.stroke.tag-highway-trunk,
980 path.line.stroke.tag-highway-trunk_link,
981 path.line.stroke.tag-trunk {
982     stroke: #DD2F22;
983 }
984 path.line.casing.tag-highway-trunk,
985 path.line.casing.tag-highway-trunk_link,
986 path.line.casing.tag-trunk {
987     stroke: #70372f;
988 }
989
990 .preset-icon .icon.tag-highway-primary,
991 .preset-icon .icon.tag-highway-primary_link {
992     color: #F99806;
993     fill: #70372f;
994 }
995 path.line.stroke.tag-highway-primary,
996 path.line.stroke.tag-highway-primary_link,
997 path.line.stroke.tag-primary {
998     stroke: #F99806;
999 }
1000 path.line.casing.tag-highway-primary,
1001 path.line.casing.tag-highway-primary_link,
1002 path.line.casing.tag-primary {
1003     stroke: #70372f;
1004 }
1005
1006 .preset-icon .icon.tag-highway-secondary,
1007 .preset-icon .icon.tag-highway-secondary_link {
1008     color: #F3F312;
1009     fill: #70372f;
1010 }
1011 path.line.stroke.tag-highway-secondary,
1012 path.line.stroke.tag-highway-secondary_link,
1013 path.line.stroke.tag-secondary {
1014     stroke: #F3F312;
1015 }
1016 path.line.casing.tag-highway-secondary,
1017 path.line.casing.tag-highway-secondary_link,
1018 path.line.casing.tag-secondary {
1019     stroke: #70372f;
1020 }
1021
1022 .preset-icon .icon.tag-highway-tertiary,
1023 .preset-icon .icon.tag-highway-tertiary_link {
1024     color: #FFF9B3;
1025     fill: #70372f;
1026 }
1027 path.line.stroke.tag-highway-tertiary,
1028 path.line.stroke.tag-highway-tertiary_link,
1029 path.line.stroke.tag-tertiary {
1030     stroke: #FFF9B3;
1031 }
1032 path.line.casing.tag-highway-tertiary,
1033 path.line.casing.tag-highway-tertiary_link,
1034 path.line.casing.tag-tertiary {
1035     stroke: #70372f;
1036 }
1037
1038 .legacy-carto .preset-icon .icon.tag-highway-motorway,
1039 .legacy-carto .preset-icon .icon.tag-highway-motorway_link {
1040     color: #58a9ed;
1041     fill: #2c5476;
1042 }
1043 .legacy-carto path.line.stroke.tag-highway-motorway,
1044 .legacy-carto path.line.stroke.tag-highway-motorway_link,
1045 .legacy-carto path.line.stroke.tag-motorway {
1046     stroke: #58a9ed;
1047 }
1048 .legacy-carto path.line.casing.tag-highway-motorway,
1049 .legacy-carto path.line.casing.tag-highway-motorway_link,
1050 .legacy-carto path.line.casing.tag-motorway {
1051     stroke: #2c5476;
1052 }
1053
1054 .legacy-carto .preset-icon .icon.tag-highway-trunk,
1055 .legacy-carto .preset-icon .icon.tag-highway-trunk_link {
1056     color: #8cd05f;
1057     fill: #46682f;
1058 }
1059 .legacy-carto path.line.stroke.tag-highway-trunk,
1060 .legacy-carto path.line.stroke.tag-highway-trunk_link,
1061 .legacy-carto path.line.stroke.tag-trunk {
1062     stroke: #8cd05f;
1063 }
1064 .legacy-carto path.line.casing.tag-highway-trunk,
1065 .legacy-carto path.line.casing.tag-highway-trunk_link,
1066 .legacy-carto path.line.casing.tag-trunk {
1067     stroke: #46682f;
1068 }
1069
1070 .legacy-carto .preset-icon .icon.tag-highway-primary,
1071 .legacy-carto .preset-icon .icon.tag-highway-primary_link {
1072     color: #e06d5f;
1073     fill: #70372f;
1074 }
1075 .legacy-carto path.line.stroke.tag-highway-primary,
1076 .legacy-carto path.line.stroke.tag-highway-primary_link,
1077 .legacy-carto path.line.stroke.tag-primary {
1078     stroke: #e06d5f;
1079 }
1080 .legacy-carto path.line.casing.tag-highway-primary,
1081 .legacy-carto path.line.casing.tag-highway-primary_link,
1082 .legacy-carto path.line.casing.tag-primary {
1083     stroke: #70372f;
1084 }
1085
1086 .legacy-carto .preset-icon .icon.tag-highway-secondary,
1087 .legacy-carto .preset-icon .icon.tag-highway-secondary_link {
1088     color: #eab056;
1089     fill: #75582b;
1090 }
1091 .legacy-carto path.line.stroke.tag-highway-secondary,
1092 .legacy-carto path.line.stroke.tag-highway-secondary_link,
1093 .legacy-carto path.line.stroke.tag-secondary {
1094     stroke: #eab056;
1095 }
1096 .legacy-carto path.line.casing.tag-highway-secondary,
1097 .legacy-carto path.line.casing.tag-highway-secondary_link,
1098 .legacy-carto path.line.casing.tag-secondary {
1099     stroke: #75582b;
1100 }
1101
1102 .legacy-carto .preset-icon .icon.tag-highway-tertiary,
1103 .legacy-carto .preset-icon .icon.tag-highway-tertiary_link {
1104     color: #ffff7e;
1105     fill: #7f7f3f;
1106 }
1107 .legacy-carto path.line.stroke.tag-highway-tertiary,
1108 .legacy-carto path.line.stroke.tag-highway-tertiary_link,
1109 .legacy-carto path.line.stroke.tag-tertiary {
1110     stroke: #ffff7e;
1111 }
1112 .legacy-carto path.line.casing.tag-highway-tertiary,
1113 .legacy-carto path.line.casing.tag-highway-tertiary_link,
1114 .legacy-carto path.line.casing.tag-tertiary {
1115     stroke: #7f7f3f;
1116 }
1117
1118 .preset-icon .icon.tag-highway-residential {
1119     color: #fff;
1120     fill: #444;
1121 }
1122 path.line.stroke.tag-highway-residential,
1123 path.line.stroke.tag-residential {
1124     stroke: #fff;
1125 }
1126 path.line.casing.tag-highway-residential,
1127 path.line.casing.tag-residential {
1128     stroke: #444;
1129 }
1130
1131 .preset-icon .icon.tag-highway-unclassified {
1132     color: #dca;
1133     fill: #444;
1134 }
1135 path.line.stroke.tag-highway-unclassified,
1136 path.line.stroke.tag-unclassified {
1137     stroke: #dca;
1138 }
1139 path.line.casing.tag-highway-unclassified,
1140 path.line.casing.tag-unclassified {
1141     stroke: #444;
1142 }
1143
1144
1145 /* narrow highways */
1146 path.line.shadow.tag-highway-living_street,
1147 path.line.shadow.tag-highway-bus_guideway,
1148 path.line.shadow.tag-highway-service,
1149 path.line.shadow.tag-highway-track,
1150 path.line.shadow.tag-highway-road {
1151     stroke-width: 16;
1152 }
1153 path.line.casing.tag-highway-living_street,
1154 path.line.casing.tag-highway-bus_guideway,
1155 path.line.casing.tag-highway-service,
1156 path.line.casing.tag-highway-track,
1157 path.line.casing.tag-highway-road {
1158     stroke-width: 7;
1159 }
1160 path.line.stroke.tag-highway-living_street,
1161 path.line.stroke.tag-highway-bus_guideway,
1162 path.line.stroke.tag-highway-service,
1163 path.line.stroke.tag-highway-track,
1164 path.line.stroke.tag-highway-road {
1165     stroke-width: 5;
1166 }
1167
1168 path.line.shadow.tag-highway-path,
1169 path.line.shadow.tag-highway-footway,
1170 path.line.shadow.tag-highway-cycleway,
1171 path.line.shadow.tag-highway-bridleway,
1172 path.line.shadow.tag-highway-corridor,
1173 path.line.shadow.tag-highway-pedestrian,
1174 path.line.shadow.tag-highway-steps {
1175     stroke-width: 16;
1176 }
1177 path.line.casing.tag-highway-path,
1178 path.line.casing.tag-highway-footway,
1179 path.line.casing.tag-highway-cycleway,
1180 path.line.casing.tag-highway-bridleway,
1181 path.line.casing.tag-highway-corridor,
1182 path.line.casing.tag-highway-pedestrian,
1183 path.line.casing.tag-highway-steps {
1184     stroke-width: 5;
1185 }
1186 path.line.stroke.tag-highway-path,
1187 path.line.stroke.tag-highway-footway,
1188 path.line.stroke.tag-highway-cycleway,
1189 path.line.stroke.tag-highway-bridleway,
1190 path.line.stroke.tag-highway-corridor,
1191 path.line.stroke.tag-highway-pedestrian,
1192 path.line.stroke.tag-highway-steps {
1193     stroke-width: 3;
1194 }
1195
1196 .low-zoom path.line.shadow.tag-highway-living_street,
1197 .low-zoom path.line.shadow.tag-highway-bus_guideway,
1198 .low-zoom path.line.shadow.tag-highway-service,
1199 .low-zoom path.line.shadow.tag-highway-track,
1200 .low-zoom path.line.shadow.tag-highway-road {
1201     stroke-width: 12;
1202 }
1203 .low-zoom path.line.casing.tag-highway-living_street,
1204 .low-zoom path.line.casing.tag-highway-bus_guideway,
1205 .low-zoom path.line.casing.tag-highway-service,
1206 .low-zoom path.line.casing.tag-highway-track,
1207 .low-zoom path.line.casing.tag-highway-road {
1208     stroke-width: 5;
1209 }
1210 .low-zoom path.line.stroke.tag-highway-living_street,
1211 .low-zoom path.line.stroke.tag-highway-bus_guideway,
1212 .low-zoom path.line.stroke.tag-highway-service,
1213 .low-zoom path.line.stroke.tag-highway-track,
1214 .low-zoom path.line.stroke.tag-highway-road {
1215     stroke-width: 3;
1216 }
1217
1218 .low-zoom path.line.shadow.tag-highway-path,
1219 .low-zoom path.line.shadow.tag-highway-footway,
1220 .low-zoom path.line.shadow.tag-highway-cycleway,
1221 .low-zoom path.line.shadow.tag-highway-bridleway,
1222 .low-zoom path.line.shadow.tag-highway-corridor,
1223 .low-zoom path.line.shadow.tag-highway-pedestrian,
1224 .low-zoom path.line.shadow.tag-highway-steps {
1225     stroke-width: 12;
1226 }
1227 .low-zoom path.line.casing.tag-highway-path,
1228 .low-zoom path.line.casing.tag-highway-footway,
1229 .low-zoom path.line.casing.tag-highway-cycleway,
1230 .low-zoom path.line.casing.tag-highway-bridleway,
1231 .low-zoom path.line.casing.tag-highway-corridor,
1232 .low-zoom path.line.casing.tag-highway-pedestrian,
1233 .low-zoom path.line.casing.tag-highway-steps {
1234     stroke-width: 3;
1235 }
1236 .low-zoom path.line.stroke.tag-highway-path,
1237 .low-zoom path.line.stroke.tag-highway-footway,
1238 .low-zoom path.line.stroke.tag-highway-cycleway,
1239 .low-zoom path.line.stroke.tag-highway-bridleway,
1240 .low-zoom path.line.stroke.tag-highway-corridor,
1241 .low-zoom path.line.stroke.tag-highway-pedestrian,
1242 .low-zoom path.line.stroke.tag-highway-steps {
1243     stroke-width: 1;
1244 }
1245
1246 /* living streets */
1247 .preset-icon .icon.tag-highway-living-street {
1248     color: #bbb;
1249     fill: #ddd;
1250 }
1251 path.line.stroke.tag-highway-living_street,
1252 path.line.stroke.tag-living_street {
1253     stroke: #ccc;
1254 }
1255 path.line.casing.tag-highway-living_street,
1256 path.line.casing.tag-living_street {
1257     stroke: #fff;
1258 }
1259
1260 /* pedestrian streets and corridors */
1261 .preset-icon .icon.tag-highway-corridor,
1262 .preset-icon .icon.tag-highway-pedestrian {
1263     color: #8cd05f;
1264     fill: #fff;
1265 }
1266 path.line.stroke.tag-highway-corridor,
1267 path.line.stroke.tag-highway-pedestrian,
1268 path.line.stroke.tag-corridor,
1269 path.line.stroke.tag-pedestrian {
1270     stroke: #fff;
1271     stroke-dasharray: 2, 8;
1272 }
1273 .low-zoom path.line.stroke.tag-highway-corridor,
1274 .low-zoom path.line.stroke.tag-highway-pedestrian,
1275 .low-zoom path.line.stroke.tag-corridor,
1276 .low-zoom path.line.stroke.tag-pedestrian {
1277     stroke-dasharray: 1, 4;
1278 }
1279 path.line.casing.tag-highway-corridor,
1280 path.line.casing.tag-highway-pedestrian,
1281 path.line.casing.tag-corridor,
1282 path.line.casing.tag-pedestrian,
1283 path.line.casing.tag-highway-corridor.tag-unpaved,
1284 path.line.casing.tag-highway-pedestrian.tag-unpaved,
1285 path.line.casing.tag-corridor.tag-unpaved,
1286 path.line.casing.tag-pedestrian.tag-unpaved {
1287     stroke: #8cd05f;
1288     stroke-linecap: round;
1289     stroke-dasharray: none;
1290 }
1291
1292 /* unknown roads */
1293 .preset-icon .icon.tag-highway-road {
1294     color: #9e9e9e;
1295     fill: #666;
1296 }
1297 path.line.stroke.tag-highway-road,
1298 path.line.stroke.tag-road {
1299     stroke: #9e9e9e;
1300 }
1301 path.line.casing.tag-highway-road,
1302 path.line.casing.tag-road {
1303     stroke: #666;
1304 }
1305
1306 /* service roads */
1307 .preset-icon .icon.tag-highway-service {
1308     color: #fff;
1309     fill: #666;
1310 }
1311 path.line.stroke.tag-highway-service,
1312 path.line.stroke.tag-service {
1313     stroke: #fff;
1314 }
1315 path.line.casing.tag-highway-service,
1316 path.line.casing.tag-service {
1317     stroke: #666;
1318 }
1319
1320 /* special service roads and bus guideways */
1321 /* with `service=* tag`  (e.g. parking_aisle, alley, drive-through) */
1322 .preset-icon .icon.tag-highway-bus_guideway,
1323 .preset-icon .icon.tag-highway-service.tag-service {
1324     color: #dca;
1325     fill: #666;
1326 }
1327 path.line.stroke.tag-highway-bus_guideway,
1328 path.line.stroke.tag-highway-service.tag-service,
1329 path.line.stroke.tag-service.tag-service {
1330     stroke: #dca;
1331 }
1332 path.line.casing.tag-highway-bus_guideway,
1333 path.line.casing.tag-highway-service.tag-service,
1334 path.line.casing.tag-service.tag-service {
1335     stroke: #666;
1336 }
1337
1338 /* unmaintained track roads */
1339 path.line.stroke.tag-highway-track,
1340 path.line.stroke.tag-track {
1341     stroke: #c5b59f;
1342 }
1343 path.line.casing.tag-highway-track,
1344 path.line.casing.tag-track {
1345     stroke: #746f6f;
1346 }
1347
1348 /* paths */
1349 path.line.stroke.tag-highway-path,
1350 path.line.stroke.tag-highway-footway,
1351 path.line.stroke.tag-highway-cycleway,
1352 path.line.stroke.tag-highway-bridleway {
1353     stroke-linecap: butt;
1354     stroke-dasharray: 6, 6;
1355 }
1356 .low-zoom path.line.stroke.tag-highway-path,
1357 .low-zoom path.line.stroke.tag-highway-footway,
1358 .low-zoom path.line.stroke.tag-highway-cycleway,
1359 .low-zoom path.line.stroke.tag-highway-bridleway {
1360     stroke-linecap: butt;
1361     stroke-dasharray: 3, 3;
1362 }
1363
1364 /* style for features that should have highway=footway but don't yet */
1365 path.line.stroke.tag-crossing,
1366 path.line.stroke.tag-footway-access_aisle,
1367 path.line.stroke.tag-public_transport-platform,
1368 path.line.stroke.tag-highway-platform,
1369 path.line.stroke.tag-railway-platform,
1370 path.line.stroke.tag-man_made-pier {
1371     stroke: #dca;
1372 }
1373
1374 path.line.casing.tag-highway-path,
1375 path.line.casing.tag-highway-path.tag-unpaved,
1376 path.line.casing.tag-highway-footway.tag-public_transport-platform,
1377 path.line.casing.tag-highway-footway.tag-man_made-pier,
1378 path.line.casing.tag-highway.tag-crossing,
1379 path.line.casing.tag-highway.tag-footway-access_aisle {
1380     stroke: #dca;
1381     stroke-linecap: round;
1382     stroke-dasharray: none;
1383 }
1384 path.line.casing.tag-highway-footway,
1385 path.line.casing.tag-highway-cycleway,
1386 path.line.casing.tag-highway-bridleway,
1387 path.line.casing.tag-highway-footway.tag-unpaved,
1388 path.line.casing.tag-highway-cycleway.tag-unpaved,
1389 path.line.casing.tag-highway-bridleway.tag-unpaved {
1390     stroke: #fff;
1391     stroke-linecap: round;
1392     stroke-dasharray: none;
1393 }
1394
1395 .preset-icon .icon.tag-highway-path,
1396 .preset-icon .icon.tag-highway-footway.tag-public_transport-platform,
1397 .preset-icon .icon.tag-highway-footway.tag-man_made-pier {
1398     color: #988;
1399     fill: #dca;
1400 }
1401 path.line.stroke.tag-highway-path {
1402     stroke: #988;
1403 }
1404
1405 /* footways */
1406 .preset-icon .icon.tag-route-foot,
1407 .preset-icon .icon.tag-route-hiking,
1408 .preset-icon .icon.tag-highway-footway {
1409     color: #988;
1410     fill: #fff;
1411 }
1412 path.line.stroke.tag-highway-footway,
1413 path.line.stroke.tag-highway_bus_stop,
1414 .preset-icon-container path.casing.tag-highway-footway {
1415     stroke: #988;
1416 }
1417 .preset-icon .icon.tag-highway-footway.tag-footway-sidewalk {
1418     color: #d4b4b4;
1419 }
1420 path.stroke.tag-highway-footway.tag-footway-sidewalk,
1421 .preset-icon-container path.casing.tag-highway-footway.tag-footway-sidewalk {
1422     stroke: #d4b4b4;
1423 }
1424 .preset-icon-container path.stroke.tag-highway-footway:not(.tag-crossing-marked):not(.tag-crossing-unmarked):not(.tag-footway-access_aisle):not(.tag-man_made-pier):not(.tag-public_transport-platform) {
1425     stroke: #fff;
1426 }
1427
1428 /* cycleways */
1429 .preset-icon .icon.tag-route-bicycle,
1430 .preset-icon .icon.tag-highway-cycleway {
1431     color: #58a9ed;
1432     fill: #fff;
1433 }
1434 path.line.stroke.tag-highway-cycleway,
1435 .preset-icon-container path.casing.tag-highway-cycleway {
1436     stroke: #58a9ed;
1437 }
1438 .preset-icon-container path.stroke.tag-highway-cycleway:not(.tag-crossing) {
1439     stroke: #fff;
1440 }
1441
1442 /* bridleways */
1443 .preset-icon .icon.tag-route-horse,
1444 .preset-icon .icon.tag-highway-bridleway {
1445     color: #e06d5f;
1446     fill: #fff;
1447 }
1448 path.line.stroke.tag-highway-bridleway,
1449 .preset-icon-container path.casing.tag-highway-bridleway {
1450     stroke: #e06d5f;
1451 }
1452 .preset-icon-container path.stroke.tag-highway-bridleway {
1453     stroke: #fff;
1454 }
1455
1456 /* racetracks */
1457 .preset-icon .icon.tag-leisure-track {
1458     color: rgb(229, 184, 43);
1459 }
1460 path.line.stroke.tag-leisure-track,
1461 .preset-icon-container path.casing.tag-highway.tag-leisure-track {
1462     stroke: rgb(229, 184, 43);
1463 }
1464 .preset-icon-container path.line.stroke.tag-highway.tag-leisure-track {
1465     stroke: #fff;
1466 }
1467
1468 /* steps */
1469 .preset-icon .icon.tag-highway-steps {
1470     color: #81d25c;
1471     fill: #fff;
1472 }
1473 path.line.stroke.tag-highway-steps {
1474     stroke-linecap: butt;
1475     stroke-dasharray: 3, 3;
1476 }
1477 .low-zoom path.line.stroke.tag-highway-steps {
1478     stroke-dasharray: 2, 2;
1479 }
1480 path.line.casing.tag-highway-steps,
1481 path.line.casing.tag-highway-steps.tag-unpaved {
1482     stroke: #fff;
1483     stroke-linecap: round;
1484     stroke-dasharray: none;
1485 }
1486 path.line.stroke.tag-highway-steps,
1487 .preset-icon-container path.line.casing.tag-highway-steps {
1488     stroke: #81d25c;
1489 }
1490 .preset-icon-container path.line.stroke.tag-highway-steps {
1491     stroke: #fff;
1492 }
1493
1494
1495 /* crossings */
1496 path.line.stroke.tag-highway.tag-crossing-unmarked {
1497     stroke-dasharray: 6, 4;
1498 }
1499 .low-zoom path.line.stroke.tag-highway.tag-crossing-unmarked {
1500     stroke-dasharray: 3, 2;
1501 }
1502 path.line.stroke.tag-highway.tag-crossing-marked {
1503     stroke-dasharray: 6, 3;
1504 }
1505 .low-zoom path.line.stroke.tag-highway.tag-crossing-marked {
1506     stroke-dasharray: 3, 1.5;
1507 }
1508 path.line.stroke.tag-highway-footway.tag-crossing-marked {
1509     stroke: #4c4444;
1510 }
1511 .preset-icon .icon.tag-highway-footway.tag-crossing-marked {
1512     color: #4c4444;
1513 }
1514 path.line.stroke.tag-highway-footway.tag-crossing-unmarked {
1515     stroke: #776a6a;
1516 }
1517 .preset-icon .icon.tag-highway-footway.tag-crossing-unmarked {
1518     color: #776a6a;
1519 }
1520 path.line.stroke.tag-highway-cycleway.tag-crossing-marked {
1521     stroke: #446077;
1522 }
1523 .preset-icon .icon.tag-highway-cycleway.tag-crossing-marked {
1524     color: #446077;
1525 }
1526
1527 path.line.stroke.tag-highway.tag-footway-access_aisle {
1528     stroke-dasharray: 4, 2;
1529 }
1530 .low-zoom path.line.stroke.tag-highway.tag-footway-access_aisle,
1531 .preset-icon-container path.stroke.tag-highway.tag-footway-access_aisle {
1532     stroke-dasharray: 2.5, 1.5;
1533 }
1534 path.line.stroke.tag-highway.tag-footway-access_aisle {
1535     stroke: #4c4444;
1536 }
1537 .preset-icon .icon.tag-highway.tag-footway-access_aisle {
1538     color: #4c4444;
1539 }
1540
1541
1542 /* highway midpoints */
1543 g.midpoint.tag-highway-corridor .fill,
1544 g.midpoint.tag-highway-pedestrian .fill,
1545 g.midpoint.tag-highway-steps .fill,
1546 g.midpoint.tag-highway-path .fill,
1547 g.midpoint.tag-highway-footway .fill,
1548 g.midpoint.tag-highway-cycleway .fill,
1549 g.midpoint.tag-highway-bridleway .fill {
1550     fill: #fff;
1551     stroke: #333;
1552     stroke-opacity: .8;
1553     opacity: .8;
1554 }
1555 /* aeroways */
1556
1557 /* areas */
1558 path.area.stroke.tag-aeroway,
1559 .low-zoom path.area.stroke.tag-aeroway {
1560     stroke: #fff;
1561     stroke-dasharray: none;
1562     stroke-width: 1;
1563 }
1564 path.area.fill.tag-aeroway-runway {
1565     stroke: rgba(0, 0, 0, 0.6);
1566     fill: rgba(0, 0, 0, 0.6);
1567 }
1568
1569 /* lines */
1570 /* narrow aeroways (taxiway) */
1571 path.line.shadow.tag-aeroway-taxiway,
1572 path.line.shadow.tag-taxiway {
1573     stroke-width: 16;
1574 }
1575 path.line.casing.tag-aeroway-taxiway,
1576 path.line.casing.tag-taxiway {
1577     stroke-width: 7;
1578 }
1579 path.line.stroke.tag-aeroway-taxiway,
1580 path.line.stroke.tag-taxiway {
1581     stroke-width: 5;
1582 }
1583 .low-zoom path.line.shadow.tag-aeroway-taxiway,
1584 .low-zoom path.line.shadow.tag-taxiway {
1585     stroke-width: 12;
1586 }
1587 .low-zoom path.line.casing.tag-aeroway-taxiway,
1588 .low-zoom path.line.casing.tag-taxiway {
1589     stroke-width: 5;
1590 }
1591 .low-zoom path.line.stroke.tag-aeroway-taxiway,
1592 .low-zoom path.line.stroke.tag-taxiway {
1593     stroke-width: 3;
1594 }
1595
1596 .preset-icon .icon.tag-aeroway-taxiway,
1597 .preset-icon .icon.tag-taxiway {
1598     color: #ff0;
1599     fill: #666;
1600 }
1601 path.line.stroke.tag-aeroway-taxiway,
1602 path.line.stroke.tag-taxiway {
1603     stroke: #ff0;
1604 }
1605 path.line.casing.tag-aeroway-taxiway,
1606 path.line.casing.tag-taxiway {
1607     stroke: #666;
1608 }
1609
1610 /* wide aeroways (runway) */
1611 .preset-icon .icon.tag-aeroway-runway,
1612 .preset-icon .icon.tag-runway {
1613     color: #444;
1614     fill: #000;
1615 }
1616 path.line.shadow.tag-aeroway-runway {
1617     stroke-width: 20;
1618 }
1619 path.line.casing.tag-aeroway-runway {
1620     stroke-width: 10;
1621     stroke: #000;
1622     stroke-linecap: square;
1623 }
1624 path.line.stroke.tag-aeroway-runway {
1625     stroke: #fff;
1626     stroke-width: 2;
1627     stroke-linecap: butt;
1628     stroke-dasharray: 24, 48;
1629 }
1630 .low-zoom path.line.shadow.tag-aeroway-runway {
1631     stroke-width: 16;
1632 }
1633 .low-zoom path.line.casing.tag-aeroway-runway {
1634     stroke-width: 7;
1635 }
1636 .low-zoom path.line.stroke.tag-aeroway-runway {
1637     stroke-width: 2;
1638     stroke-dasharray: 12, 24;
1639 }
1640 .preset-icon-container path.line.stroke.tag-aeroway-runway {
1641     stroke-dasharray: 0, 14, 8, 14;
1642 }
1643 /* railways */
1644
1645 /* defaults */
1646 .preset-icon .icon.tag-railway.other-line {
1647     color: #fff;
1648     fill: #777;
1649 }
1650 .preset-icon .icon.tag-railway {
1651     color: #555;
1652     fill: #eee;
1653 }
1654
1655 /* lines */
1656 /* narrow widths */
1657 path.line.shadow.tag-railway {
1658     stroke-width: 16;
1659 }
1660 path.line.casing.tag-railway {
1661     stroke-width: 7;
1662 }
1663 path.line.stroke.tag-railway {
1664     stroke-width: 2;
1665     stroke-linecap: butt;
1666     stroke-dasharray: 12,12;
1667 }
1668 .low-zoom path.line.shadow.tag-railway {
1669     stroke-width: 12;
1670 }
1671 .low-zoom path.line.casing.tag-railway {
1672     stroke-width: 5;
1673 }
1674 .low-zoom path.line.stroke.tag-railway {
1675     stroke-width: 2;
1676     stroke-dasharray: 6,6;
1677 }
1678 .preset-icon-container path.line.stroke.tag-railway:not(.tag-status) {
1679     stroke-dasharray: 6;
1680 }
1681
1682 path.line.casing.tag-railway.tag-railway-platform {
1683     stroke-width: 0;
1684 }
1685 path.line.stroke.tag-railway.tag-railway-platform {
1686     stroke-dasharray: none;
1687 }
1688
1689 /* styles */
1690 path.line.casing.tag-railway {
1691     stroke: #555;
1692 }
1693 path.line.stroke.tag-railway {
1694     stroke: #eee;
1695 }
1696
1697
1698 .preset-icon .icon.tag-railway-disused,
1699 .preset-icon .icon.tag-railway-abandoned {
1700     color: #999;
1701     fill: #eee;
1702 }
1703 path.line.casing.tag-railway-disused,
1704 path.line.casing.tag-railway-abandoned {
1705     stroke: #999;
1706 }
1707 path.line.stroke.tag-railway-disused,
1708 path.line.stroke.tag-railway-abandoned {
1709     stroke: #eee;
1710 }
1711
1712
1713 path.line.casing.tag-railway-subway {
1714     stroke: #222;
1715 }
1716 path.line.stroke.tag-railway-subway {
1717     stroke: #bbb;
1718 }
1719 /* waterways */
1720
1721 /* defaults */
1722 .preset-icon .icon.tag-waterway.other-line {
1723     color: #7dd;
1724     fill: #7dd;
1725 }
1726 .preset-icon .icon.tag-type-waterway:not(.tag-waterway-dam),
1727 .preset-icon .icon.tag-waterway:not(.tag-waterway-dam) {
1728     color: #7dd;
1729     fill: #fff;
1730 }
1731
1732
1733 /* areas */
1734 path.area.stroke.tag-waterway-dock,
1735 path.area.stroke.tag-waterway-boatyard,
1736 path.area.stroke.tag-waterway-fuel {
1737     stroke: white;
1738     stroke-width: 1;
1739 }
1740 path.area.casing.tag-waterway-dock,
1741 path.area.casing.tag-waterway-boatyard,
1742 path.area.casing.tag-waterway-fuel {
1743     stroke: none;
1744 }
1745 path.area.fill.tag-waterway-dock,
1746 path.area.fill.tag-waterway-boatyard,
1747 path.area.fill.tag-waterway-fuel {
1748     stroke: rgba(255, 255, 255, 0.3);
1749     fill: rgba(255, 255, 255, 0.3);
1750 }
1751
1752 /* lines */
1753 path.line.fill.tag-waterway:not(.tag-waterway-dam) {
1754     stroke: rgba(119, 211, 222, 0.3);
1755     fill: rgba(119, 211, 222, 0.3);
1756 }
1757 path.line.casing.tag-waterway:not(.tag-waterway-dam) {
1758     stroke: #444;
1759 }
1760 path.line.stroke.tag-waterway:not(.tag-waterway-dam) {
1761     stroke: #7dd;
1762 }
1763
1764
1765 /* narrow waterways (default) */
1766 path.line.shadow.tag-waterway {
1767     stroke-width: 16;
1768 }
1769 path.line.casing.tag-waterway {
1770     stroke-width: 7;
1771 }
1772 path.line.stroke.tag-waterway {
1773     stroke-width: 5;
1774 }
1775
1776 .low-zoom path.line.shadow.tag-waterway {
1777     stroke-width: 12;
1778 }
1779 .low-zoom path.line.casing.tag-waterway {
1780     stroke-width: 5;
1781 }
1782 .low-zoom path.line.stroke.tag-waterway {
1783     stroke-width: 3;
1784 }
1785
1786
1787 /* wide waterways (river) */
1788 path.line.shadow.tag-waterway-river {
1789     stroke-width: 20;
1790 }
1791 path.line.casing.tag-waterway-river {
1792     stroke-width: 10;
1793 }
1794 path.line.stroke.tag-waterway-river {
1795     stroke-width: 8;
1796 }
1797
1798 .low-zoom path.line.shadow.tag-waterway-river {
1799     stroke-width: 16;
1800 }
1801 .low-zoom path.line.casing.tag-waterway-river {
1802     stroke-width: 7;
1803 }
1804 .low-zoom path.line.stroke.tag-waterway-river {
1805     stroke-width: 5;
1806 }
1807
1808
1809 /* ditch */
1810 .preset-icon .icon.tag-waterway-ditch {
1811     color: #39a;
1812 }
1813 path.line.stroke.tag-waterway-ditch {
1814     stroke: #39a;
1815 }
1816
1817 /* narrow width miscellanous things */
1818 path.line.shadow.tag-aerialway,
1819 path.line.shadow.tag-attraction-summer_toboggan,
1820 path.line.shadow.tag-attraction-water_slide,
1821 path.line.shadow.tag-golf-cartpath,
1822 path.line.shadow.tag-man_made-pipeline,
1823 path.line.shadow.tag-natural-tree_row,
1824 path.line.shadow.tag-piste {
1825     stroke-width: 16;
1826 }
1827 path.line.casing.tag-aerialway,
1828 path.line.casing.tag-attraction-summer_toboggan,
1829 path.line.casing.tag-attraction-water_slide,
1830 path.line.casing.tag-golf-cartpath,
1831 path.line.casing.tag-man_made-pipeline,
1832 path.line.casing.tag-natural-tree_row,
1833 path.line.casing.tag-piste {
1834     stroke-width: 7;
1835 }
1836 path.line.stroke.tag-aerialway,
1837 path.line.stroke.tag-attraction-summer_toboggan,
1838 path.line.stroke.tag-attraction-water_slide,
1839 path.line.stroke.tag-golf-cartpath,
1840 path.line.stroke.tag-man_made-pipeline,
1841 path.line.stroke.tag-natural-tree_row,
1842 path.line.stroke.tag-piste {
1843     stroke-width: 5;
1844 }
1845
1846 .low-zoom path.line.shadow.tag-aerialway,
1847 .low-zoom path.line.shadow.tag-attraction-summer_toboggan,
1848 .low-zoom path.line.shadow.tag-attraction-water_slide,
1849 .low-zoom path.line.shadow.tag-golf-cartpath,
1850 .low-zoom path.line.shadow.tag-man_made-pipeline,
1851 .low-zoom path.line.shadow.tag-natural-tree_row,
1852 .low-zoom path.line.shadow.tag-piste {
1853     stroke-width: 12;
1854 }
1855 .low-zoom path.line.casing.tag-aerialway,
1856 .low-zoom path.line.casing.tag-attraction-summer_toboggan,
1857 .low-zoom path.line.casing.tag-attraction-water_slide,
1858 .low-zoom path.line.casing.tag-golf-cartpath,
1859 .low-zoom path.line.casing.tag-man_made-pipeline,
1860 .low-zoom path.line.casing.tag-natural-tree_row,
1861 .low-zoom path.line.casing.tag-piste {
1862     stroke-width: 5;
1863 }
1864 .low-zoom path.line.stroke.tag-aerialway,
1865 .low-zoom path.line.stroke.tag-attraction-summer_toboggan,
1866 .low-zoom path.line.stroke.tag-attraction-water_slide,
1867 .low-zoom path.line.stroke.tag-golf-cartpath,
1868 .low-zoom path.line.stroke.tag-man_made-pipeline,
1869 .low-zoom path.line.stroke.tag-natural-tree_row,
1870 .low-zoom path.line.stroke.tag-piste {
1871     stroke-width: 3;
1872 }
1873
1874
1875 /* ferry routes  */
1876 .preset-icon .icon.tag-route-ferry {
1877     color: #58a9ed;
1878     fill: #fff;
1879 }
1880 path.line.shadow.tag-route-ferry {
1881     stroke-width: 16;
1882 }
1883 path.line.stroke.tag-route-ferry {
1884     stroke-width: 3;
1885     stroke-linecap: butt;
1886     stroke-dasharray: 12,8;
1887 }
1888 .low-zoom path.line.shadow.tag-route-ferry {
1889     stroke-width: 12;
1890 }
1891 .low-zoom path.line.stroke.tag-route-ferry,
1892 .preset-icon-container path.line.stroke.tag-route-ferry {
1893     stroke-width: 2;
1894     stroke-dasharray: 6,4;
1895 }
1896 path.line.stroke.tag-route-ferry {
1897     stroke: #58a9ed;
1898 }
1899 path.line.casing.tag-route-ferry {
1900     stroke: none;
1901 }
1902
1903
1904 /* aerialways */
1905 path.line.stroke.tag-aerialway {
1906     stroke: #c55;
1907 }
1908 path.line.casing.tag-aerialway {
1909     stroke: #444;
1910 }
1911
1912
1913 /* pistes */
1914 path.line.stroke.tag-piste {
1915     stroke: #a9d;
1916 }
1917 path.line.casing.tag-piste {
1918     stroke: #444;
1919 }
1920
1921
1922 /* Attractions */
1923 path.line.stroke.tag-attraction-summer_toboggan {
1924     stroke: #9e9e9e;
1925 }
1926 path.line.casing.tag-attraction-summer_toboggan {
1927     stroke: #666;
1928 }
1929
1930 path.line.stroke.tag-attraction-water_slide {
1931     stroke: #aae0cb;
1932 }
1933 path.line.casing.tag-attraction-water_slide {
1934     stroke: #3d6c71;
1935 }
1936
1937
1938 /* golf cartpaths (like service roads) */
1939 .preset-icon .icon.tag-golf-cartpath {
1940     color: #dca;
1941     fill: #666;
1942 }
1943 path.line.stroke.tag-golf-cartpath {
1944     stroke: #dca;
1945 }
1946 path.line.casing.tag-golf-cartpath {
1947     stroke: #666;
1948 }
1949
1950
1951 /* power and pipeline */
1952 .preset-icon .icon.tag-man_made-pipeline,
1953 .preset-icon .icon.tag-power {
1954     color: #939393;
1955     fill: #939393;
1956 }
1957
1958
1959 /* power */
1960 path.line.stroke.tag-power {
1961     stroke: #939393;
1962     stroke-width: 2;
1963 }
1964 path.line.casing.tag-power {
1965     stroke: none;
1966 }
1967
1968
1969 /* pipeline */
1970 path.line.stroke.tag-man_made-pipeline {
1971     stroke: #cbd0d8;
1972     stroke-linecap: butt;
1973     stroke-dasharray: 80, 1.25;
1974 }
1975 path.line.casing.tag-man_made-pipeline {
1976     stroke: #666;
1977 }
1978 .low-zoom path.line.stroke.tag-man_made-pipeline {
1979     stroke-dasharray: 40, 1;
1980 }
1981 .preset-icon-container path.line.stroke.tag-man_made-pipeline {
1982     stroke-dasharray: 19, 1;
1983 }
1984
1985
1986 /* boundaries */
1987 path.line.stroke.tag-boundary {
1988     stroke: #fff;
1989     stroke-width: 2;
1990     stroke-linecap: butt;
1991     stroke-dasharray: 20, 5, 5, 5;
1992 }
1993 path.line.casing.tag-boundary {
1994     stroke: #82b5fe;
1995     stroke-width: 6;
1996 }
1997
1998 path.line.casing.tag-boundary-protected_area,
1999 path.line.casing.tag-boundary-national_park {
2000     stroke: #b0e298;
2001 }
2002
2003
2004 /* barriers and similar */
2005 path.line.stroke.tag-barrier:not(.tag-barrier-hedge):not(.tag-waterway) {
2006     stroke: #ddd;
2007 }
2008 .preset-icon-container path.line.stroke.tag-barrier:not(.tag-barrier-hedge) {
2009     stroke: rgb(170, 170, 170);
2010 }
2011 path.line.casing.tag-natural,
2012 path.line.casing.tag-barrier:not(.tag-waterway),
2013 path.line.casing.tag-man_made-groyne,
2014 path.line.casing.tag-man_made-breakwater {
2015     stroke: none;
2016 }
2017 path.line.stroke.tag-barrier:not(.tag-waterway),
2018 path.line.stroke.tag-man_made-groyne,
2019 path.line.stroke.tag-man_made-breakwater {
2020     stroke-width: 3px;
2021     stroke-linecap: round;
2022     stroke-dasharray: 15, 5, 1, 5;
2023 }
2024 .low-zoom path.line.stroke.tag-barrier:not(.tag-waterway),
2025 .low-zoom path.line.stroke.tag-man_made-groyne,
2026 .low-zoom path.line.stroke.tag-man_made-breakwater {
2027     stroke-width: 2px;
2028     stroke-linecap: butt;
2029     stroke-dasharray: 8, 2, 2, 2;
2030 }
2031 .preset-icon-container path.line.stroke.tag-barrier,
2032 .preset-icon-container path.line.stroke.tag-man_made-groyne,
2033 .preset-icon-container path.line.stroke.tag-man_made-breakwater {
2034     stroke-dasharray: 1, 4, 6, 4;
2035 }
2036 path.line.stroke.tag-barrier.tag-barrier-wall,
2037 path.line.stroke.tag-barrier.tag-barrier-retaining_wall,
2038 path.line.stroke.tag-barrier.tag-barrier-city_wall {
2039     stroke-linecap: butt;
2040     stroke-dasharray: 16, 3, 9, 3;
2041 }
2042 .low-zoom path.line.stroke.tag-barrier.tag-barrier-wall,
2043 .low-zoom path.line.stroke.tag-barrier.tag-barrier-retaining_wall,
2044 .low-zoom path.line.stroke.tag-barrier.tag-barrier-city_wall,
2045 .preset-icon-container path.line.stroke.tag-barrier.tag-barrier-wall,
2046 .preset-icon-container path.line.stroke.tag-barrier.tag-barrier-retaining_wall,
2047 .preset-icon-container path.line.stroke.tag-barrier.tag-barrier-city_wall {
2048     stroke-dasharray: 8, 1, 4, 1;
2049 }
2050
2051
2052 /* bridges */
2053 path.line.casing.tag-bridge {
2054     stroke-opacity: 0.6;
2055     stroke: #000 !important;
2056     stroke-linecap: butt;
2057     stroke-dasharray: none;
2058 }
2059 path.line.shadow.tag-bridge {
2060     stroke-width: 24;
2061 }
2062 path.line.casing.tag-bridge {
2063     stroke-width: 16;
2064 }
2065 .low-zoom path.line.shadow.tag-bridge {
2066     stroke-width: 16;
2067 }
2068 .low-zoom path.line.casing.tag-bridge {
2069     stroke-width: 10;
2070 }
2071
2072 path.line.shadow.tag-railway.tag-bridge,
2073 path.line.shadow.tag-highway-living_street.tag-bridge,
2074 path.line.shadow.tag-highway-path.tag-bridge,
2075 path.line.shadow.tag-highway-corridor.tag-bridge,
2076 path.line.shadow.tag-highway-pedestrian.tag-bridge,
2077 path.line.shadow.tag-highway-service.tag-bridge,
2078 path.line.shadow.tag-highway-track.tag-bridge,
2079 path.line.shadow.tag-highway-steps.tag-bridge,
2080 path.line.shadow.tag-highway-footway.tag-bridge,
2081 path.line.shadow.tag-highway-cycleway.tag-bridge,
2082 path.line.shadow.tag-highway-bridleway.tag-bridge {
2083     stroke-width: 18;
2084 }
2085 path.line.casing.tag-railway.tag-bridge,
2086 path.line.casing.tag-highway-living_street.tag-bridge,
2087 path.line.casing.tag-highway-path.tag-bridge,
2088 path.line.casing.tag-highway-corridor.tag-bridge,
2089 path.line.casing.tag-highway-pedestrian.tag-bridge,
2090 path.line.casing.tag-highway-service.tag-bridge,
2091 path.line.casing.tag-highway-track.tag-bridge,
2092 path.line.casing.tag-highway-steps.tag-bridge,
2093 path.line.casing.tag-highway-footway.tag-bridge,
2094 path.line.casing.tag-highway-cycleway.tag-bridge,
2095 path.line.casing.tag-highway-bridleway.tag-bridge {
2096     stroke-width: 10;
2097 }
2098
2099 .low-zoom path.line.shadow.tag-railway.tag-bridge,
2100 .low-zoom path.line.shadow.tag-highway-living_street.tag-bridge,
2101 .low-zoom path.line.shadow.tag-highway-path.tag-bridge,
2102 .low-zoom path.line.shadow.tag-highway-corridor.tag-bridge,
2103 .low-zoom path.line.shadow.tag-highway-pedestrian.tag-bridge,
2104 .low-zoom path.line.shadow.tag-highway-service.tag-bridge,
2105 .low-zoom path.line.shadow.tag-highway-track.tag-bridge,
2106 .low-zoom path.line.shadow.tag-highway-steps.tag-bridge,
2107 .low-zoom path.line.shadow.tag-highway-footway.tag-bridge,
2108 .low-zoom path.line.shadow.tag-highway-cycleway.tag-bridge,
2109 .low-zoom path.line.shadow.tag-highway-bridleway.tag-bridge {
2110     stroke-width: 14;
2111 }
2112 .low-zoom path.line.casing.tag-railway.tag-bridge,
2113 .low-zoom path.line.casing.tag-highway-living_street.tag-bridge,
2114 .low-zoom path.line.casing.tag-highway-path.tag-bridge,
2115 .low-zoom path.line.casing.tag-highway-corridor.tag-bridge,
2116 .low-zoom path.line.casing.tag-highway-pedestrian.tag-bridge,
2117 .low-zoom path.line.casing.tag-highway-service.tag-bridge,
2118 .low-zoom path.line.casing.tag-highway-track.tag-bridge,
2119 .low-zoom path.line.casing.tag-highway-steps.tag-bridge,
2120 .low-zoom path.line.casing.tag-highway-footway.tag-bridge,
2121 .low-zoom path.line.casing.tag-highway-cycleway.tag-bridge,
2122 .low-zoom path.line.casing.tag-highway-bridleway.tag-bridge {
2123     stroke-width: 6;
2124 }
2125
2126
2127 /* tunnels */
2128 path.line.stroke.tag-tunnel,
2129 path.line.stroke.tag-location-underground,
2130 path.line.stroke.tag-location-underwater {
2131     stroke-opacity: 0.3;
2132 }
2133 path.line.casing.tag-tunnel,
2134 path.line.casing.tag-location-underground,
2135 path.line.stroke.tag-location-underwater {
2136     stroke-opacity: 0.5;
2137     stroke-linecap: butt;
2138     stroke-dasharray: none;
2139 }
2140
2141
2142 /* embankments / cuttings */
2143 path.line.shadow.tag-embankment,
2144 path.line.shadow.tag-cutting {
2145     stroke-width: 28;
2146 }
2147 path.line.casing.tag-embankment,
2148 path.line.casing.tag-cutting {
2149     stroke-opacity: 0.5;
2150     stroke: #000;
2151     stroke-width: 22;
2152     stroke-dasharray: 2, 4;
2153     stroke-linecap: butt;
2154 }
2155
2156 .low-zoom path.line.shadow.tag-embankment,
2157 .low-zoom path.line.shadow.tag-cutting {
2158     stroke-width: 14;
2159 }
2160 .low-zoom path.line.casing.tag-embankment,
2161 .low-zoom path.line.casing.tag-cutting {
2162     stroke-width: 10;
2163 }
2164
2165
2166 /* Surface - unpaved */
2167 path.line.casing.tag-unpaved {
2168     stroke: #ccc;
2169     stroke-linecap: butt;
2170     stroke-dasharray: 4, 3;
2171 }
2172 .low-zoom path.line.casing.tag-unpaved {
2173     stroke-dasharray: 3, 2;
2174 }
2175 path.line.casing.tag-bridge.tag-unpaved {
2176     stroke: #000;
2177     stroke-dasharray: 4, 3;
2178 }
2179 .low-zoom path.line.casing.tag-bridge.tag-unpaved {
2180     stroke: #000;
2181     stroke-dasharray: 3, 2;
2182 }
2183
2184
2185 /* Status (e.g. proposed, abandoned) */
2186 path.area.stroke.tag-status,
2187 path.line.stroke.tag-status,
2188 path.area.casing.tag-status,
2189 path.line.casing.tag-status {
2190     stroke-linecap: butt;
2191     stroke-dasharray: 7, 3;
2192 }
2193 .low-zoom path.area.stroke.tag-status,
2194 .low-zoom path.line.stroke.tag-status,
2195 .low-zoom path.area.casing.tag-status,
2196 .low-zoom path.line.casing.tag-status {
2197     stroke-dasharray: 5, 2;
2198 }
2199
2200 /* Road Closed Status */
2201 .preset-icon .icon.tag-highway.tag-status-construction {
2202     color: #fc6c14;
2203     fill: #fff;
2204 }
2205 path.line.shadow.tag-highway.tag-status.tag-status-construction {
2206     stroke-width: 20;
2207 }
2208 path.line.casing.tag-highway.tag-status.tag-status-construction {
2209     stroke-width: 10;
2210     stroke-linecap: butt;
2211     stroke-dasharray: none
2212 }
2213 path.line.stroke.tag-highway.tag-status.tag-status-construction {
2214     stroke-width: 8;
2215     stroke-linecap: butt;
2216     stroke-dasharray: 10, 10;
2217 }
2218 path.line.casing.tag-highway.tag-status.tag-status-construction,
2219 .preset-icon-container path.line.stroke.tag-highway.tag-status.tag-status-construction {
2220     stroke: #fff;
2221 }
2222 path.line.stroke.tag-highway.tag-status.tag-status-construction,
2223 .preset-icon-container path.line.casing.tag-highway.tag-status.tag-status-construction {
2224     stroke: #fc6c14;
2225 }
2226 .low-zoom path.line.shadow.tag-highway.tag-status.tag-status-construction {
2227     stroke-width: 16;
2228 }
2229 .low-zoom path.line.casing.tag-highway.tag-status.tag-status-construction {
2230     stroke-width: 7;
2231 }
2232 .low-zoom path.line.stroke.tag-highway.tag-status.tag-status-construction {
2233     stroke-width: 5;
2234     stroke-dasharray: 8, 8;
2235 }
2236
2237
2238 /* Buildings */
2239 path.stroke.tag-building {
2240     stroke: rgb(224, 110, 95);
2241 }
2242 path.fill.tag-building {
2243     stroke: rgba(224, 110, 95, 0.3);
2244     fill: rgba(224, 110, 95, 0.3);
2245 }
2246 /* Cursors */
2247
2248 .nope,
2249 .nope * {
2250     cursor: not-allowed !important;
2251 }
2252
2253 .map-in-map,
2254 #map {
2255     cursor: auto; /* Opera */
2256     cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
2257 }
2258
2259 .mode-browse .point,
2260 .mode-select .point {
2261     cursor: pointer; /* Opera */
2262     cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
2263 }
2264
2265 .mode-select .vertex,
2266 .mode-browse .vertex {
2267     cursor: pointer; /* Opera */
2268     cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
2269 }
2270
2271 .mode-browse .line,
2272 .mode-select .line {
2273     cursor: pointer; /* Opera */
2274     cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
2275 }
2276
2277 .mode-select .area,
2278 .mode-browse .area {
2279     cursor: pointer; /* Opera */
2280     cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
2281 }
2282
2283 .mode-select .midpoint,
2284 .mode-browse .midpoint {
2285     cursor: pointer; /* Opera */
2286     cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
2287 }
2288
2289 .mode-select .behavior-multiselect .point,
2290 .mode-select .behavior-multiselect .vertex,
2291 .mode-select .behavior-multiselect .line,
2292 .mode-select .behavior-multiselect .area {
2293     cursor: pointer; /* Opera */
2294     cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
2295 }
2296
2297 .mode-select .behavior-multiselect .selected {
2298     cursor: pointer; /* Opera */
2299     cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
2300 }
2301
2302 .mode-add-preset #map,
2303 .mode-draw-line #map,
2304 .mode-draw-area #map,
2305 .mode-add-line  #map,
2306 .mode-add-area  #map,
2307 .mode-drag-node #map,
2308 .mode-drag-note #map {
2309     cursor: crosshair; /* Opera */
2310     cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
2311 }
2312
2313 .mode-draw-line .way.target,
2314 .mode-draw-area .way.target,
2315 .mode-add-line  .way.target,
2316 .mode-add-area  .way.target,
2317 .mode-drag-node .way.target {
2318     cursor: crosshair; /* Opera */
2319     cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
2320 }
2321
2322 .mode-draw-line .vertex.target,
2323 .mode-draw-area .vertex.target,
2324 .mode-add-line  .vertex.target,
2325 .mode-add-area  .vertex.target,
2326 .mode-drag-node .vertex.target {
2327     cursor: crosshair; /* Opera */
2328     cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
2329 }
2330
2331 .mode-add-point #map,
2332 .mode-add-note #map,
2333 .mode-browse.lasso #map,
2334 .mode-browse.lasso .way,
2335 .mode-browse.lasso .vertex,
2336 .mode-browse.lasso .midpoint,
2337 .mode-select.lasso #map,
2338 .mode-select.lasso .way,
2339 .mode-select.lasso .vertex,
2340 .mode-select.lasso .midpoint {
2341     cursor: crosshair; /* Opera */
2342     cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
2343 }
2344
2345 .mode-browse .note,
2346 .mode-browse .qa_error,
2347 .mode-select .note,
2348 .mode-select .qa_error,
2349 .turn rect,
2350 .turn circle {
2351     cursor: pointer;
2352 }
2353 /* photo viewer div */
2354 #photoviewer {
2355     position: relative;
2356     flex-shrink: 0;
2357     margin-bottom: 10px;
2358     width: 330px;
2359     height: 250px;
2360     padding: 5px;
2361     background-color: #fff;
2362 }
2363 [dir='ltr'] #photoviewer {
2364     margin-left: 10px;
2365     margin-right: 2px;
2366 }
2367 [dir='rtl'] #photoviewer {
2368     margin-right: 10px;
2369     margin-left: 2px;
2370 }
2371
2372 @media screen and (min-width: 1600px) {
2373     #photoviewer {
2374         width: 490px;
2375         height: 370px;
2376     }
2377 }
2378
2379 #photoviewer button.thumb-hide {
2380     border-radius: 0;
2381     padding: 5px;
2382     position: absolute;
2383     right: 5px;
2384     top: 5px;
2385     z-index: 50;
2386 }
2387
2388 #photoviewer button.resize-handle-xy {
2389     border-radius: 0;
2390     position: absolute;
2391     top: 0;
2392     right: 0;
2393     z-index: 49;
2394     cursor: nesw-resize;
2395     height: 25px;
2396     width: 25px;
2397 }
2398
2399 #photoviewer button.resize-handle-x {
2400     border-radius: 0;
2401     position: absolute;
2402     top: 0;
2403     right: 0;
2404     bottom: 0;
2405     z-index: 48;
2406     cursor: ew-resize;
2407     height: auto;
2408     width: 6px;
2409 }
2410
2411 #photoviewer button.resize-handle-y {
2412     border-radius: 0;
2413     position: absolute;
2414     top: 0;
2415     right: 0;
2416     z-index: 48;
2417     cursor: ns-resize;
2418     height: 6px;
2419     width: 100%;
2420 }
2421
2422
2423 .photo-wrapper,
2424 .photo-wrapper img {
2425     width: 100%;
2426     height: 100%;
2427     overflow: hidden;
2428     object-fit: cover;
2429 }
2430
2431 .photo-wrapper .photo-attribution {
2432     position: absolute;
2433     bottom: 0;
2434     right: 0;
2435     width: 100%;
2436     font-size: 10px;
2437     text-align: right;
2438     line-height: 1.1em;
2439     padding: 4px 2px;
2440     z-index: 10;
2441 }
2442
2443 .photo-attribution a,
2444 .photo-attribution a:visited,
2445 .photo-attribution span {
2446     padding: 4px 2px;
2447     color: #fff;
2448 }
2449
2450 /* markers and sequences */
2451 .viewfield-group {
2452     pointer-events: none;
2453 }
2454 .mode-browse .viewfield-group,
2455 .mode-select .viewfield-group {
2456     pointer-events: visible;
2457     cursor: pointer;
2458 }
2459
2460 .viewfield-group.currentView * {
2461     fill: #ffee00 !important;
2462 }
2463 .viewfield-group.hovered * {
2464     fill: #eebb00 !important;
2465 }
2466
2467 .viewfield-group circle {
2468     stroke: #555;
2469     stroke-width: 1;
2470     stroke-opacity: 0.4;
2471     fill-opacity: 0.4;
2472 }
2473 .viewfield-group.highlighted circle {
2474     stroke: #222;
2475     stroke-opacity: 0.9;
2476     fill-opacity: 0.9;
2477 }
2478 .viewfield-group.highlighted.hovered circle {
2479     stroke: #222;
2480     stroke-width: 2;
2481     stroke-opacity: 0.9;
2482     fill-opacity: 0.9;
2483 }
2484 .viewfield-group.highlighted.currentView circle {
2485     stroke: #222;
2486     stroke-width: 2;
2487     stroke-opacity: 1;
2488     fill-opacity: 1;
2489 }
2490
2491 .viewfield-group .viewfield {
2492     stroke-width: 0;
2493     stroke: #222;
2494     fill-opacity: 0.4;
2495 }
2496 .viewfield-group.highlighted .viewfield {
2497     stroke-width: 1;
2498     fill-opacity: 0.8;
2499 }
2500 .viewfield-group.highlighted.hovered .viewfield {
2501     stroke-width: 1;
2502     fill-opacity: 0.8;
2503 }
2504 .viewfield-group.highlighted.currentView .viewfield {
2505     stroke-width: 1;
2506     fill-opacity: 0.9;
2507 }
2508
2509 .viewfield-group.currentView .viewfield-scale {
2510     transform: scale(2,2);
2511 }
2512
2513 .sequence {
2514     fill: none;
2515     stroke-width: 2;
2516     stroke-opacity: 0.4;
2517 }
2518 .sequence.highlighted,
2519 .sequence.currentView {
2520     stroke-width: 4;
2521     stroke-opacity: 1;
2522 }
2523
2524
2525 /* Streetside Image Layer */
2526 .layer-streetside-images {
2527     pointer-events: none;
2528 }
2529 .layer-streetside-images .viewfield-group * {
2530     fill: #0fffc4;
2531 }
2532 .layer-streetside-images .sequence {
2533     stroke: #0fffc4;
2534     stroke-opacity: 0.85;  /* bump opacity - only one per road */
2535 }
2536
2537
2538 /* Mapillary Image Layer */
2539 .layer-mapillary {
2540     pointer-events: none;
2541 }
2542 .layer-mapillary .viewfield-group * {
2543     fill: #55ff22;
2544 }
2545 .layer-mapillary .sequence {
2546     stroke: #55ff22;
2547 }
2548
2549
2550 /* Mapillary Traffic Signs and Map Features Layers */
2551 .layer-mapillary-detections {
2552     pointer-events: none;
2553 }
2554 .layer-mapillary-detections .icon-detected {
2555     outline: 2px solid transparent;
2556     pointer-events: visible;
2557     cursor: pointer;
2558     opacity: 0.75;
2559 }
2560 .layer-mapillary-detections .icon-detected rect {
2561     fill: none;
2562 }
2563 .layer-mapillary-detections .icon-detected:hover rect {
2564     outline: 3px solid rgba(255, 238, 0, 0.6);
2565 }
2566 .layer-mapillary-detections .icon-detected.currentView rect {
2567     outline: 3px solid rgba(255, 238, 0, 1);
2568 }
2569 .layer-mapillary-detections .icon-detected:hover,
2570 .layer-mapillary-detections .icon-detected.currentView {
2571     opacity: 1;
2572 }
2573
2574
2575 /* OpenStreetCam Image Layer */
2576 .layer-openstreetcam {
2577     pointer-events: none;
2578 }
2579 .layer-openstreetcam .viewfield-group * {
2580     fill: #20c4ff;
2581 }
2582 .layer-openstreetcam .sequence {
2583     stroke: #20c4ff;
2584 }
2585
2586
2587 /* Streetside Viewer (pannellum) */
2588 .ms-wrapper .photo-attribution .image-link {
2589     display: block;
2590 }
2591 .ms-wrapper .photo-attribution .attribution-row {
2592     display: flex;
2593     flex-flow: row nowrap;
2594     justify-content: space-between;
2595     align-items: center;
2596     padding: 0 5px;
2597 }
2598 .ms-wrapper .photo-attribution .image-view-link {
2599     text-align: left;
2600     margin: 0 5px;
2601 }
2602 .ms-wrapper .photo-attribution .image-report-link {
2603     text-align: right;
2604 }
2605
2606 .ms-wrapper .photo-attribution a:active,
2607 .ms-wrapper .photo-attribution a:hover {
2608     color: #0fffc4;
2609 }
2610
2611 .ms-wrapper .pnlm-compass.pnlm-control {
2612     width: 26px;
2613     height: 26px;
2614     left: 4px;
2615     top: 60px;
2616     background-size: contain;
2617     background-repeat: no-repeat no-repeat;
2618 }
2619
2620 label.streetside-hires {
2621     cursor: pointer;
2622 }
2623 .streetside-hires span {
2624     margin-top: 2px;
2625 }
2626 .streetside-hires input[type="checkbox"] {
2627     float: left;
2628     width: 12px;
2629     height: 12px;
2630     margin: 0 5px;
2631 }
2632
2633
2634 /* Mapillary viewer */
2635 #mly .domRenderer .TagSymbol {
2636     font-size: 10px;
2637     background-color: rgba(0,0,0,0.4);
2638     padding: 0 4px;
2639     border-radius: 4px;
2640     top: -25px;
2641 }
2642 #mly .domRenderer .Attribution {
2643     /* we will roll our own to avoid async update issues like #4526 */
2644     display: none;
2645 }
2646
2647 .mly-wrapper .photo-attribution a:active,
2648 .mly-wrapper .photo-attribution a:hover {
2649     color: #35af6d;
2650 }
2651
2652 .mly-wrapper .mapillary-js-dom {
2653     z-index: 9;
2654 }
2655
2656
2657 /* OpenStreetCam viewer */
2658 .osc-wrapper {
2659     position: relative;
2660     background-color: #000;
2661     background-image: url(<%= asset_path("iD/img/loader-black.gif") %>);
2662     background-position: center;
2663     background-repeat: no-repeat;
2664 }
2665
2666 .osc-wrapper .photo-attribution a:active,
2667 .osc-wrapper .photo-attribution a:hover {
2668     color: #20c4ff;
2669 }
2670
2671 .osc-image-wrap {
2672     width: 100%;
2673     height: 100%;
2674     transform-origin:0 0;
2675     -ms-transform-origin:0 0;
2676     -webkit-transform-origin:0 0;
2677     -moz-transform-origin:0 0;
2678     -o-transform-origin:0 0;
2679 }
2680
2681
2682 /* photo-controls (step forward, back, rotate) */
2683 .photo-controls-wrap {
2684     text-align: center;
2685     position: absolute;
2686     top: 10px;
2687     width: 100%;
2688     z-index: 10;
2689 }
2690
2691 .photo-controls {
2692     display: inline-block;
2693     z-index: 10;
2694 }
2695
2696 .photo-controls button,
2697 .photo-controls button:focus {
2698     height: 18px;
2699     width: 18px;
2700     background: rgba(0,0,0,0.65);
2701     color: #eee;
2702     border-radius: 0;
2703 }
2704 .photo-controls button:first-of-type {
2705     border-radius: 3px 0 0 3px;
2706 }
2707 .photo-controls button:last-of-type {
2708     border-radius: 0 3px 3px 0;
2709 }
2710 .photo-controls button:hover,
2711 .photo-controls button:active {
2712     background: rgba(0,0,0,0.85);
2713     color: #fff;
2714 }
2715
2716 /* OSM Notes and KeepRight Layers */
2717
2718 .error-header-icon .qa_error-fill,
2719 .layer-keepRight .qa_error .qa_error-fill,
2720 .layer-improveOSM .qa_error .qa_error-fill {
2721     stroke: #333;
2722     stroke-width: 1.3px;  /* NOTE: likely a better way to scale the icon stroke */
2723 }
2724
2725 .note-header-icon .note-fill,
2726 .layer-notes .note .note-fill {
2727     color: #f30;
2728     stroke: #333;
2729     stroke-width: 40px;
2730 }
2731 .note-header-icon.new .note-fill,
2732 .layer-notes .note.new .note-fill {
2733     color: #fe0;
2734     stroke: #333;
2735     stroke-width: 40px;
2736 }
2737 .note-header-icon.closed .note-fill,
2738 .layer-notes .note.closed .note-fill {
2739     color: #5d0;
2740     stroke: #333;
2741     stroke-width: 40px;
2742 }
2743
2744 /* slight adjustments to preset icon for note icons */
2745 .note-header-icon .preset-icon-28 {
2746     top: 18px;
2747 }
2748 .note-header-icon .note-icon-annotation {
2749     position: absolute;
2750     top: 22px;
2751     left: 22px;
2752     margin: auto;
2753 }
2754 .note-header-icon .note-icon-annotation .icon {
2755     width: 15px;
2756     height: 15px;
2757 }
2758
2759 /* adjustment for error icon */
2760
2761 .error-header-icon .preset-icon-28 {
2762     top: auto;
2763     left: auto;
2764 }
2765
2766 .error-header-icon {
2767     display: flex;
2768     align-items: center;
2769     justify-content: center;
2770 }
2771
2772 /* Keep Right Errors
2773 ------------------------------------------------------- */
2774 .keepRight.error_type-20,     /* multiple nodes on same spot */
2775 .keepRight.error_type-40,     /* impossible oneways */
2776 .keepRight.error_type-210,    /* self intersecting ways */
2777 .keepRight.error_type-270,    /* unusual motorway connection */
2778 .keepRight.error_type-310,    /* roundabout issues */
2779 .keepRight.error_type-320,    /* improper _link */
2780 .keepRight.error_type-350 {   /* improper bridge tag */
2781     color: #ff9;
2782 }
2783
2784 .keepRight.error_type-50 {    /* almost junctions */
2785     color: #88f;
2786 }
2787
2788 .keepRight.error_type-60,     /* deprecated tags */
2789 .keepRight.error_type-70,     /* tagging issues */
2790 .keepRight.error_type-90,     /* motorway without ref */
2791 .keepRight.error_type-100,    /* place of worship without religion */
2792 .keepRight.error_type-110,    /* poi without name */
2793 .keepRight.error_type-150,    /* railway crossing without tag */
2794 .keepRight.error_type-220,    /* misspelled tag */
2795 .keepRight.error_type-380 {   /* non-physical sport tag */
2796     color: #5d0;
2797 }
2798
2799 .keepRight.error_type-130 {   /* disconnected ways */
2800     color: #fa3;
2801 }
2802
2803 .keepRight.error_type-170 {   /* FIXME tag */
2804     color: #ff0;
2805 }
2806
2807 .keepRight.error_type-190 {   /* intersection without junction */
2808     color: #f33;
2809 }
2810
2811 .keepRight.error_type-200 {   /* overlapping ways */
2812     color: #fdbf6f;
2813 }
2814
2815 .keepRight.error_type-160,    /* railway layer conflict */
2816 .keepRight.error_type-230 {   /* layer conflict */
2817     color: #b60;
2818 }
2819
2820 .keepRight.error_type-280 {   /* boundary issues */
2821     color: #5f47a0;
2822 }
2823
2824 .keepRight.error_type-180,    /* relation without type */
2825 .keepRight.error_type-290 {   /* turn restriction issues */
2826     color: #ace;
2827 }
2828
2829 .keepRight.error_type-300,    /* missing maxspeed */
2830 .keepRight.error_type-390 {   /* missing tracktype */
2831     color: #090;
2832 }
2833
2834 .keepRight.error_type-360,    /* language unknown */
2835 .keepRight.error_type-370,    /* doubled places */
2836 .keepRight.error_type-410 {   /* website issues */
2837     color: #f9b;
2838 }
2839
2840 .keepRight.error_type-120,    /* way without nodes */
2841 .keepRight.error_type-400 {   /* geometry / turn angles */
2842     color: #c35;
2843 }
2844
2845 /* ImproveOSM Errors
2846 ------------------------------------------------------- */
2847
2848 .improveOSM.error_type-ow {   /* missing one way */
2849     color: #1E90FF;
2850 }
2851
2852 .improveOSM.error_type-mr-road {   /* missing road */
2853     color: #B452CD;
2854 }
2855 .improveOSM.error_type-mr-path {   /* missing path */
2856     color: #A0522D;
2857 }
2858 .improveOSM.error_type-mr-parking {   /* missing parking */
2859     color: #EEEE00;
2860 }
2861 .improveOSM.error_type-mr-both {   /* missing road+parking */
2862     color: #FFA500;
2863 }
2864
2865 .improveOSM.error_type-tr {   /* missing turn restriction */
2866     color: #EC1C24;
2867 }
2868
2869
2870 /* Custom Map Data (geojson, gpx, kml, vector tile) */
2871 .layer-mapdata {
2872     pointer-events: none;
2873 }
2874
2875 .layer-mapdata path.shadow {
2876     pointer-events: stroke;
2877     stroke: #f6634f;
2878     stroke-width: 16;
2879     stroke-opacity: 0;
2880     fill: none;
2881 }
2882 .layer-mapdata path.MultiPoint.shadow,
2883 .layer-mapdata path.Point.shadow {
2884     pointer-events: fill;
2885     fill: #f6634f;
2886     fill-opacity: 0;
2887 }
2888 .layer-mapdata path.shadow.hover:not(.selected) {
2889     stroke-opacity: 0.4;
2890 }
2891 .layer-mapdata path.shadow.selected {
2892     stroke-opacity: 0.7;
2893 }
2894
2895 .layer-mapdata path.stroke {
2896     stroke: #ff26d4;
2897     stroke-width: 2;
2898     fill: none;
2899 }
2900
2901 .layer-mapdata path.fill {
2902     stroke-width: 0;
2903     stroke-opacity: 0.3;
2904     stroke: #ff26d4;
2905     fill: #ff26d4;
2906     fill-opacity: 0.3;
2907     fill-rule: evenodd;
2908 }
2909
2910 .layer-mapdata text.label-halo,
2911 .layer-mapdata text.label {
2912     font-size: 10px;
2913     font-weight: bold;
2914     dominant-baseline: middle;
2915 }
2916 .layer-mapdata text.label {
2917     fill: #ff26d4;
2918 }
2919 .layer-mapdata text.label.hover,
2920 .layer-mapdata text.label.selected {
2921     fill: #f6634f;
2922 }
2923 .layer-mapdata text.label-halo {
2924     opacity: 0.7;
2925     stroke: #000;
2926     stroke-width: 5px;
2927     stroke-miterlimit: 1;
2928 }
2929 /* Fill Styles */
2930
2931 .low-zoom.fill-wireframe path.stroke,
2932 .fill-wireframe path.stroke {
2933     stroke-width: 1 !important;
2934     stroke-opacity: 0.5 !important;
2935     stroke-dasharray: none !important;
2936     fill: none !important;
2937 }
2938 .low-zoom.fill-wireframe .layer-mapdata path.stroke,
2939 .fill-wireframe .layer-mapdata path.stroke {
2940     stroke-width: 2 !important;
2941     stroke-opacity: 1 !important;
2942 }
2943
2944 .low-zoom.fill-wireframe path.shadow,
2945 .fill-wireframe path.shadow {
2946     stroke-width: 12;
2947 }
2948
2949 .fill-wireframe path.shadow.related:not(.selected),
2950 .fill-wireframe path.shadow.hover:not(.selected) {
2951     stroke-opacity: 0.4;
2952 }
2953 .fill-wireframe path.shadow.selected {
2954     stroke-opacity: 0.6;
2955 }
2956
2957 .fill-wireframe .point,
2958 .fill-wireframe .areaicon,
2959 .fill-wireframe .areaicon-halo,
2960 .fill-wireframe path.casing,
2961 .fill-wireframe path.fill,
2962 .fill-wireframe path.oneway {
2963     display: none !important;
2964 }
2965
2966 .fill-partial path.area.fill {
2967     fill-opacity: 0;
2968     stroke-width: 60px;
2969     pointer-events: none;
2970 }
2971 .fill-partial path.area.fill.tag-building_part {
2972     stroke-width: 40px;
2973 }
2974 .fill-partial path.area.fill.tag-indoor {
2975     stroke-width: 20px;
2976 }
2977 .mode-browse .fill-partial path.area.fill,
2978 .mode-select .fill-partial path.area.fill {
2979     pointer-events: visibleStroke;
2980 }
2981 /* Basics
2982 ------------------------------------------------------- */
2983 /*
2984   Opera misbehaves when the window is resized vertically unless 100% width + height are
2985   applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
2986 */
2987 html, body {
2988     width: 100%;
2989     height: 100%;
2990 }
2991
2992 body {
2993     font: normal 12px/1.6667 "-apple-system", BlinkMacSystemFont,
2994         "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2995         "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2996         sans-serif;
2997     margin: 0;
2998     padding: 0;
2999     color: #333;
3000     overflow: hidden;
3001     -ms-user-select: none;
3002     -ms-content-zooming: none;
3003 }
3004
3005 .unsupported {
3006     text-align: center;
3007     vertical-align: middle;
3008     padding-top: 100px;
3009     font-size: 15px;
3010 }
3011
3012 .id-container {
3013     height: 100%;
3014     width: 100%;
3015 }
3016
3017 #content {
3018     position: relative;
3019     overflow: hidden;
3020     height: 100%;
3021 }
3022
3023 #content.active {
3024     -webkit-filter: none !important;
3025     filter: none !important;
3026     -webkit-duration: 200ms;
3027     transition-duration: 200ms;
3028 }
3029
3030 #content.inactive {
3031     -webkit-filter: grayscale(80%) brightness(80%);
3032     filter: grayscale(80%) brightness(80%);
3033     -webkit-duration: 200ms;
3034     transition-duration: 200ms;
3035 }
3036
3037 #defs {
3038     /* Can't be display: none or the clippaths are ignored. */
3039     position: absolute;
3040     width: 0;
3041     height: 0;
3042 }
3043
3044 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
3045     -moz-box-sizing: border-box;
3046     -webkit-box-sizing: border-box;
3047     box-sizing: border-box;
3048 }
3049
3050 a, button, input, textarea {
3051     -webkit-tap-highlight-color: rgba(0,0,0,0);
3052     -webkit-touch-callout: none;
3053 }
3054
3055 ul li {
3056     list-style: none;
3057 }
3058
3059 a,
3060 button,
3061 .radial-menu-item {
3062     cursor: pointer;
3063 }
3064
3065 h2 {
3066     font-size: 25px;
3067     line-height: 1.25;
3068     font-weight: bold;
3069     margin-bottom: 20px;
3070 }
3071
3072 h3:last-child,
3073 h2:last-child,
3074 h4:last-child { margin-bottom: 0;}
3075
3076 h3 {
3077     font-size: 16px;
3078     line-height: 1.25;
3079     font-weight: bold;
3080     margin-bottom: 10px;
3081 }
3082 h4, h5 {
3083     font-size: 12px;
3084     font-weight: bold;
3085     padding-bottom: 10px;
3086 }
3087
3088 :focus {
3089     outline-color: transparent;
3090     outline-style: none;
3091 }
3092
3093 ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
3094     color: #aaa;
3095     opacity: 1; /* Firefox */
3096 }
3097 :-ms-input-placeholder { /* Internet Explorer 10-11 */
3098     color: #aaa;
3099 }
3100 ::-ms-input-placeholder { /* Microsoft Edge */
3101     color: #aaa;
3102 }
3103
3104 p {
3105     font-size: 12px;
3106     margin: 0;
3107     padding: 0;
3108 }
3109 p:last-child {
3110     padding-bottom: 0;
3111 }
3112 em {
3113     font-style: italic;
3114 }
3115 strong {
3116     font-weight: bold;
3117 }
3118 a:visited, a {
3119     color: #7092ff;
3120 }
3121 a:hover {
3122     color: #597be7;
3123 }
3124 kbd {
3125     display: inline-block;
3126     text-align: center;
3127     padding: 3px 5px;
3128     font-size: 11px;
3129     line-height: 12px;
3130     min-width: 12px;
3131     vertical-align: baseline;
3132     background-color: #fcfcfc;
3133     border: solid 1px #ccc;
3134     margin: 0 2px;
3135     border-bottom-color: #bbb;
3136     border-radius: 3px;
3137     box-shadow: inset 0 -1px 0 #bbb;
3138 }
3139
3140 /* Forms
3141 ------------------------------------------------------- */
3142 textarea  {
3143     resize: vertical;
3144     font:normal 12px/20px "-apple-system", BlinkMacSystemFont,
3145         "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
3146         "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
3147         sans-serif;
3148 }
3149
3150 textarea,
3151 input[type=text],
3152 input[type=search],
3153 input[type=number],
3154 input[type=url],
3155 input[type=tel],
3156 input[type=email] {
3157     background-color: #fff;
3158     color: #333;
3159     border: 1px solid #ccc;
3160     padding: 5px 20px 5px 10px;
3161     height: 30px;
3162     border-radius: 4px;
3163     text-overflow: ellipsis;
3164 }
3165 [dir='rtl'] textarea,
3166 [dir='rtl'] input[type=text],
3167 [dir='rtl'] input[type=search],
3168 [dir='rtl'] input[type=number],
3169 [dir='rtl'] input[type=url],
3170 [dir='rtl'] input[type=tel],
3171 [dir='rtl'] input[type=email] {
3172     padding: 5px 10px 5px 20px;
3173 }
3174
3175 textarea:focus,
3176 input:focus {
3177     background-color: #f1f1f1;
3178 }
3179
3180 textarea.disabled,
3181 input.disabled {
3182     color: #777;
3183     background-color: #eee;
3184     cursor: not-allowed;
3185 }
3186
3187 input[type="checkbox"],
3188 input[type="radio"] {
3189     float: left;
3190     width: 14px;
3191     height: 14px;
3192     margin-right: 5px;
3193     margin-top: 3px;
3194     cursor: pointer;
3195 }
3196 [dir='rtl'] input[type="checkbox"],
3197 [dir='rtl'] input[type="radio"] {
3198     float: right;
3199     margin-left: 5px;
3200     margin-right: 0;
3201 }
3202
3203 /* tables */
3204 table {
3205     background-color: #fff;
3206     border-collapse: collapse;
3207     width: 100%;
3208     border-spacing: 0;
3209 }
3210 table th {
3211     text-align: left;
3212 }
3213 table.tags, table.tags td, table.tags th {
3214     border: 1px solid #ccc;
3215     padding: 4px;
3216 }
3217
3218 ::-ms-clear {
3219    display: none;
3220 }
3221
3222 /* Grid
3223 ------------------------------------------------------- */
3224 .col6  { float: left; width: 50.0000%; max-width: 600px; }
3225 .col12 { float: left; width: 100.0000%; }
3226
3227
3228 /* Utility Classes
3229 ------------------------------------------------------- */
3230 .fillL {
3231     background: #fff;
3232     color: #333;
3233 }
3234 .fillL2 {
3235     background: #f6f6f6;
3236     color: #333;
3237 }
3238 .fillL3 {
3239     background: #ececec;
3240     color: #333;
3241 }
3242 .fillD {
3243     background: rgba(0,0,0,.5);
3244     color: #fff;
3245 }
3246 .fillD2 {
3247     background: rgba(0,0,0,.75);
3248     color: #fff;
3249 }
3250
3251 .fl { float: left;}
3252 .fr { float: right;}
3253 .al { left: 0; }
3254 .ar { right: 0; }
3255
3256 input.hide,
3257 textarea.hide,
3258 div.hide,
3259 form.hide,
3260 button.hide,
3261 a.hide,
3262 ul.hide,
3263 li.hide {
3264     display: none;
3265 }
3266
3267 .deemphasize {
3268     color: #a9a9a9;
3269 }
3270 .content {
3271     box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
3272 }
3273 .loading {
3274     background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
3275     background-size: 5px 5px;
3276 }
3277
3278
3279 /* Buttons
3280 ------------------------------------------------------- */
3281 button {
3282     text-align: center;
3283     line-height: 20px;
3284     border: 0;
3285     background: #fff;
3286     font-weight: bold;
3287     color: #333;
3288     font-size: 12px;
3289     display: inline-block;
3290     height: 40px;
3291     border-radius: 4px;
3292 }
3293
3294 button:focus,
3295 button:hover {
3296     background-color: #ececec;
3297 }
3298 button.active {
3299     background: #7092ff;
3300 }
3301 button.disabled {
3302     background-color: rgba(255,255,255,.25);
3303     color: rgba(0,0,0,.4);
3304     cursor: not-allowed;
3305 }
3306
3307 .joined > * {
3308     border-radius: 0;
3309     border-right: 1px solid rgba(0,0,0,.5);
3310 }
3311 [dir='rtl'] .joined > * {
3312     border-left: 1px solid rgba(0,0,0,.5);
3313     border-right: none;
3314 }
3315
3316 .fillL .joined > * {
3317     border-right: 1px solid #fff;
3318 }
3319 .joined > *:first-child {
3320     border-radius: 4px 0 0 4px;
3321 }
3322 [dir='rtl'] .joined > *:first-child {
3323     border-radius: 0 4px 4px 0;
3324 }
3325 .joined > *:last-child {
3326     border-right-width: 0;
3327     border-radius: 0 4px 4px 0;
3328 }
3329 [dir='rtl'] .joined > *.bar-button:last-child {
3330     border-radius: 4px 0 0 4px;
3331 }
3332
3333
3334 /* Action buttons */
3335 button.action {
3336     background: #7092ff;
3337     color: #fff;
3338 }
3339 button.action:focus,
3340 button.action:hover {
3341     background: #597be7;
3342 }
3343 button.secondary-action {
3344     background: #ececec;
3345 }
3346 button.secondary-action:focus,
3347 button.secondary-action:hover {
3348     background: #cccccc;
3349 }
3350
3351 button.action.disabled,
3352 button.action.disabled:hover,
3353 button[disabled].action,
3354 button[disabled].action:hover {
3355     background: #cccccc;
3356     color: #888;
3357     cursor: not-allowed;
3358 }
3359
3360
3361 /* Icons
3362 ------------------------------------------------------- */
3363 .icon {
3364     vertical-align: top;
3365     width: 20px;
3366     height: 20px;
3367 }
3368
3369 .icon.inline {
3370     vertical-align: text-top;
3371     width: 14px;
3372     height: 14px;
3373     margin: 0px 3px;
3374 }
3375
3376 .icon.pre-text {
3377     margin-right: 5px;
3378 }
3379 [dir='rtl'] .icon.pre-text {
3380     margin-left: 5px;
3381     margin-right: 0;
3382 }
3383
3384 .icon.pre-text.user-icon {
3385     margin-left: 5px;
3386     margin-right: 5px;
3387 }
3388
3389 .icon.light {
3390     color: #fff;
3391 }
3392 .icon.created {
3393     color: #00ca07;
3394 }
3395 .icon.modified {
3396     color: #666;
3397 }
3398 .icon.deleted {
3399     color: #ea0000;
3400 }
3401
3402 .user-icon {
3403     max-height: 20px;
3404     max-width: 20px;
3405     height: auto;
3406     width: auto;
3407     border-radius: 3px;
3408 }
3409
3410 .icon-annotation {
3411     color: #333;
3412 }
3413
3414 .notification-badge {
3415     display: block;
3416     position: absolute;
3417     width: 10px;
3418     height: 10px;
3419     right: 7px;
3420     top: 9px;
3421 }
3422
3423 .notification-badge.hide {
3424     display: none;
3425 }
3426
3427
3428 /* Toolbar / Persistent UI Elements
3429 ------------------------------------------------------- */
3430 #bar-wrap {
3431     position: absolute;
3432     left: 0;
3433     top: 0;
3434     right: 0;
3435     z-index: 101;
3436 }
3437 #bar {
3438     display: flex;
3439     flex-flow: row nowrap;
3440     justify-content: space-between;
3441     padding: 10px 0 0 0;
3442     overflow-x: auto;
3443     overflow-y: hidden;
3444     height: 100%;
3445     width: 100%;
3446
3447     /* hide scrollbar but allow scrolling */
3448     scrollbar-width: none; /* Firefox */
3449     -ms-overflow-style: none; /* IE, Edge */
3450 }
3451 #bar::-webkit-scrollbar {
3452     display: none; /* Chrome, Safari, Opera */
3453 }
3454 #bar .toolbar-item {
3455     display: flex;
3456     flex: 0 1 auto;
3457     flex-flow: column wrap;
3458     justify-content: center;
3459 }
3460 #bar .toolbar-item .item-content {
3461     display: flex;
3462     flex: 0 1 auto;
3463     flex-flow: row nowrap;
3464     justify-content: center;
3465     height: 40px;
3466     width: auto;
3467     margin: 0 5px;
3468 }
3469 [dir='ltr'] #bar .toolbar-item:last-child .item-content,
3470 [dir='rtl'] #bar .toolbar-item:first-child .item-content {
3471     margin-right: 10px;
3472 }
3473 [dir='ltr'] #bar .toolbar-item:first-child .item-content,
3474 [dir='rtl'] #bar .toolbar-item:last-child .item-content {
3475     margin-left: 10px;
3476 }
3477 #bar .toolbar-item .item-label {
3478     text-align: center;
3479     font-size: 11px;
3480     white-space: nowrap;
3481     margin: 1px 2px 2px 2px;
3482 }
3483 #bar .toolbar-item.spacer {
3484     width: 100%;
3485     flex-grow: 2;
3486 }
3487 #bar .toolbar-item:first-child {
3488     justify-content: flex-start;
3489 }
3490 #bar .toolbar-item:last-child {
3491     justify-content: flex-end;
3492 }
3493 #bar .toolbar-item:empty:not(.spacer) {
3494     display: none;
3495 }
3496 button.bar-button {
3497     flex: 0 0 auto;
3498     flex-flow: row nowrap;
3499     align-items: center;
3500     padding: 0 10px;
3501     min-width: 30px;
3502     white-space: nowrap;
3503     display: flex;
3504 }
3505 button.bar-button .icon {
3506     flex: 0 0 20px;
3507 }
3508 button.bar-button .label {
3509     flex: 0 1 auto;
3510     padding: 0 5px;
3511 }
3512
3513 button.bar-button.dragging {
3514     opacity: 0.75;
3515     z-index: 200;
3516 }
3517 button.bar-button.dragging .tooltip {
3518     display: none;
3519 }
3520 button.bar-button.dragging.removing {
3521     cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer;
3522 }
3523
3524 button.save .count {
3525     display: inline-block;
3526     min-width: 32px;
3527     text-align: center;
3528 }
3529
3530 .help-wrap svg.icon.pre-text.add-note,
3531 button.add-note svg.icon {
3532     height: 15px;
3533     width: 15px;
3534     color: rgba(0,0,0,0.25);
3535     stroke: #333;
3536     stroke-width: 60px;
3537     margin-top: 3px;
3538 }
3539 button.add-note svg.icon {
3540     margin-left: unset;
3541     margin-right: 4px;
3542 }
3543 [dir='rtl'] button.add-note svg.icon {
3544     margin-left: 4px;
3545     margin-right: unset;
3546 }
3547 .help-wrap svg.icon.pre-text.add-note {
3548     margin-left: 3px;
3549     margin-right: 3px;
3550 }
3551
3552 .spinner {
3553     opacity: .5;
3554     position: absolute;
3555     right: 4px;
3556     bottom: 26px;
3557 }
3558 .spinner img {
3559     height: 20px;
3560     width: 20px;
3561     background: transparent;
3562     border-radius: 100%;
3563 }
3564 [dir='rtl'] .spinner img {
3565     -moz-transform: scaleX(-1);
3566     -o-transform: scaleX(-1);
3567     -webkit-transform: scaleX(-1);
3568     transform: scaleX(-1);
3569     filter: FlipH;
3570     -ms-filter: "FlipH";
3571 }
3572
3573
3574 #bar.narrow .spinner,
3575 #bar.narrow button.bar-button .label {
3576     display: none;
3577 }
3578 #bar.narrow button .count {
3579     border-left-width: 0;
3580     border-right-width: 0;
3581 }
3582
3583 [dir='ltr'] .undo-redo button:first-of-type {
3584     margin-right: 1px;
3585 }
3586 [dir='rtl'] .undo-redo button:first-of-type {
3587     margin-left: 1px;
3588 }
3589
3590 /* Header for modals / panes
3591 ------------------------------------------------------- */
3592 .header {
3593     border-bottom: 1px solid #ccc;
3594     height: 60px;
3595     position: relative;
3596 }
3597
3598 .header h3 {
3599     text-align: center;
3600     margin-bottom: 0;
3601     white-space: nowrap;
3602     text-overflow: ellipsis;
3603     overflow: hidden;
3604     padding: 20px;
3605 }
3606
3607 .header button,
3608 .modal > button {
3609     border-radius: 0;
3610     width: 40px;
3611     text-align: center;
3612     overflow: hidden;
3613 }
3614
3615 .header button {
3616     position: relative;
3617     height: 100%;
3618 }
3619
3620 .field-help-title button.close,
3621 .sidebar-component .header button.data-editor-close,
3622 .sidebar-component .header button.note-editor-close,
3623 .sidebar-component .header button.error-editor-close,
3624 .entity-editor-pane .header button.preset-close,
3625 .preset-list-pane .header button.preset-choose {
3626     position: absolute;
3627     right: 0;
3628     top: 0;
3629 }
3630 [dir='rtl'] .field-help-title button.close,
3631 [dir='rtl'] .sidebar-component .header button.data-editor-close,
3632 [dir='rtl'] .sidebar-component .header button.note-editor-close,
3633 [dir='rtl'] .sidebar-component .header button.error-editor-close,
3634 [dir='rtl'] .entity-editor-pane .header button.preset-close,
3635 [dir='rtl'] .preset-list-pane .header button.preset-choose {
3636     left: 0;
3637     right: auto;
3638 }
3639
3640 .entity-editor-pane .header button.preset-choose {
3641     position: absolute;
3642     left: 0;
3643     top: 0;
3644 }
3645 [dir='rtl'] .entity-editor-pane .header button.preset-choose {
3646     left: auto;
3647     right: 0;
3648 }
3649
3650 .preset-choose {
3651     font-size: 16px;
3652     line-height: 1.25;
3653     font-weight: bold;
3654 }
3655
3656 .modal > button {
3657     position: absolute;
3658     right: 0;
3659     top: 0;
3660     height: 59px;
3661     z-index: 50;
3662 }
3663 [dir='rtl'] .modal > button {
3664     left: 0;
3665     right: unset;
3666 }
3667
3668 .footer {
3669     position: absolute;
3670     bottom: 0;
3671     margin: 0;
3672     padding: 5px 20px 5px 20px;
3673     border-top: 1px solid #ccc;
3674     background-color: #f6f6f6;
3675     width: 100%;
3676     z-index: 1;
3677     flex-wrap: wrap;
3678     justify-content: space-between;
3679     list-style: none;
3680     display: flex;
3681 }
3682
3683 .footer > a {
3684     justify-content: center;
3685 }
3686
3687 .header-container {
3688     display: flex;
3689     justify-content: space-between;
3690 }
3691
3692 .header-block-outer {
3693     width: 20%;
3694 }
3695
3696 .header-block-close {
3697     display: flex;
3698     justify-content: flex-end;
3699 }
3700
3701 /* Hide/Toggle collapsable sections (aka Disclosure)
3702 ------------------------------------------------------- */
3703 .hide-toggle .icon.pre-text {
3704     vertical-align: text-top;
3705     width: 16px;
3706     height: 16px;
3707     margin-left: -3px;
3708 }
3709 [dir='rtl'] .hide-toggle .icon.pre-text {
3710     margin-left: 0;
3711     margin-right: -3px;
3712 }
3713
3714 a:visited.hide-toggle,
3715 a.hide-toggle {
3716     display: inline-block;
3717     font-size: 14px;
3718     font-weight: bold;
3719     padding-bottom: 5px;
3720 }
3721
3722
3723 /* Sidebar / Inspector
3724 ------------------------------------------------------- */
3725 #sidebar {
3726     position: relative;
3727     float: left;
3728     height: 100%;
3729     z-index: 10;
3730     background: #f6f6f6;
3731     -ms-user-select: element;
3732     border: 0px solid #ccc;
3733     border-right-width: 1px;
3734 }
3735 [dir='rtl'] #sidebar {
3736     float: right;
3737     border-right-width: 0px;
3738     border-left-width: 1px;
3739 }
3740
3741 #sidebar-resizer {
3742     position: absolute;
3743     top: 0;
3744     right: -6px;
3745     height: 100%;
3746     width: 6px;
3747     cursor: col-resize;
3748 }
3749 [dir='rtl'] #sidebar-resizer {
3750     right: auto;
3751     left: -6px;
3752 }
3753
3754 #sidebar.collapsed #sidebar-resizer {
3755     /* make target wider to avoid the user accidentally resizing window */
3756     width: 10px;
3757     right: -10px;
3758 }
3759 [dir='rtl'] #sidebar.collapsed #sidebar-resizer {
3760     left: -10px;
3761 }
3762
3763 .sidebar-component {
3764     position: absolute;
3765     top: 0;
3766     left: 0;
3767     bottom: 0;
3768     right: 0;
3769 }
3770
3771 .sidebar-component .body {
3772     width: 100%;
3773     overflow: auto;
3774     top: 60px;
3775     bottom: 0;
3776     position: absolute;
3777 }
3778
3779 .panewrap {
3780     position: absolute;
3781     width: 200%;
3782     height: 100%;
3783     right: -100%;
3784 }
3785
3786 .pane {
3787     position: absolute;
3788     width: 50%;
3789     top: 0;
3790     bottom: 30px;
3791 }
3792
3793 .pane:first-child {
3794     left: 0;
3795 }
3796
3797 .pane:last-child {
3798     right: 0;
3799 }
3800
3801 .inspector-wrap {
3802     width: 100%;
3803     height: 100%;
3804     overflow: hidden;
3805     position: relative;
3806 }
3807
3808 .inspector-hidden {
3809     display: none;
3810 }
3811
3812 .inspector-body {
3813     overflow-y: scroll;
3814     overflow-x: hidden;
3815     position: absolute;
3816     right: 0;
3817     left: 0;
3818     bottom: 0;
3819 }
3820
3821 .feature-list-pane .inspector-body,
3822 .preset-list-pane .inspector-body {
3823     top: 120px;
3824 }
3825 .entity-editor-pane .inspector-body,
3826 .selection-list-pane .inspector-body {
3827     top: 60px;
3828 }
3829
3830 .inspector-inner {
3831     padding: 20px 20px 5px 20px;
3832     position: relative;
3833 }
3834
3835 #sidebar .search-header .icon {
3836     display: block;
3837     position: absolute;
3838     left: 10px;
3839     top: 80px;
3840     pointer-events: none;
3841 }
3842 [dir='rtl'] #sidebar .search-header .icon {
3843     left: auto;
3844     right: 10px;
3845 }
3846
3847 #sidebar .search-header input {
3848     position: absolute;
3849     top: 60px;
3850     height: 60px;
3851     width: 100%;
3852     padding: 5px 10px;
3853     border-radius: 0;
3854     border-width: 0;
3855     border-bottom-width: 1px;
3856     text-indent: 30px;
3857     font-size: 18px;
3858     font-weight: bold;
3859 }
3860
3861
3862 /* Feature List / Search Results
3863 ------------------------------------------------------- */
3864 .feature-list  {
3865     width: 100%;
3866 }
3867 .no-results-item,
3868 .geocode-item,
3869 .feature-list-item {
3870     width: 100%;
3871     position: relative;
3872     border-bottom: 1px solid #ccc;
3873     border-radius: 0;
3874 }
3875
3876 .geocode-item {
3877     width: 50%;
3878     background-color: #ccc;
3879     left: 25%;
3880     margin-top: 30px;
3881     border-radius: 2px;
3882 }
3883
3884 [dir='rtl'] .geocode-item {
3885     left: -25%;
3886 }
3887
3888 .geocode-item:hover {
3889     background-color: #aaa;
3890 }
3891
3892 .feature-list-item {
3893     background-color: #fff;
3894     font-weight: bold;
3895     height: 40px;
3896     line-height: 20px;
3897 }
3898 .feature-list-item:hover {
3899     background-color: #ececec;
3900 }
3901 .feature-list-item button {
3902     background: transparent;
3903 }
3904 .feature-list-item .label {
3905     text-align: left;
3906     padding: 10px 10px;
3907     white-space: nowrap;
3908     text-overflow: ellipsis;
3909     overflow: hidden;
3910     border-left: 1px solid rgba(0, 0, 0, .1);
3911 }
3912 [dir='rtl'] .feature-list-item .label {
3913     text-align: right;
3914 }
3915
3916 .feature-list-item .label .icon {
3917     opacity: .5;
3918 }
3919 .feature-list-item .close {
3920     float: right;
3921     padding: 10px;
3922 }
3923 .feature-list-item .close .icon {
3924     opacity: 1;
3925 }
3926 .feature-list-item .entity-type {
3927     color: #7092ff;
3928 }
3929 .feature-list-item:hover .entity-type {
3930     color: #597be7;
3931 }
3932 .feature-list-item .entity-name {
3933     font-weight: normal;
3934     color: #666;
3935     padding-left: 10px;
3936 }
3937 [dir='rtl'] .feature-list-item .entity-name {
3938     padding-left: 0;
3939     padding-right: 10px;
3940 }
3941
3942
3943 /* Preset List and Icons
3944 ------------------------------------------------------- */
3945 .preset-list  {
3946     width: 100%;
3947     padding: 20px 20px 10px 20px;
3948     border-bottom: 1px solid #ccc;
3949 }
3950
3951 .preset-list-item {
3952     margin-bottom: 10px;
3953     position: static;
3954 }
3955
3956 .preset-list-button-wrap {
3957     height: 62px;
3958     display: flex;
3959     border: 1px solid #ccc;
3960     border-radius: 4px;
3961 }
3962
3963 .preset-list-button {
3964     width: 100%;
3965     height: 100%;
3966     position: relative;
3967     display: flex;
3968 }
3969
3970 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
3971     background: #ececec;
3972 }
3973
3974 .preset-icon-container {
3975     position: relative;
3976     width: 60px;
3977     height: 60px;
3978     text-align: center;
3979     display: flex;
3980     align-items: center;
3981     justify-content: center;
3982 }
3983 .preset-icon-container.small {
3984     width: 40px;
3985     height: 40px;
3986     flex: 0 0 auto;
3987 }
3988 .preset-icon-container img.image-icon {
3989     width: 50px;
3990     height: 50px;
3991     object-fit: contain;
3992     border-radius: 2px;
3993     z-index: 2;
3994     visibility: hidden;
3995 }
3996 .preset-icon-container.showing-img img.image-icon {
3997     visibility: visible;
3998 }
3999 .preset-icon-container.showing-img *:not(.image-icon) {
4000     visibility: hidden;
4001 }
4002
4003 .preset-icon-point-border path {
4004     stroke: #333;
4005     stroke-width: 1.2;
4006     fill: transparent;
4007 }
4008
4009 .preset-icon-line {
4010     margin: auto;
4011     position: absolute;
4012     left: 0;
4013     right: 0;
4014     top: 0;
4015     width: 100%;
4016     height: 100%;
4017 }
4018 .preset-icon-container path {
4019     cursor: inherit;
4020 }
4021 .preset-icon-container circle.vertex {
4022     fill: #fff;
4023     stroke: rgba(0, 0, 0, 0.25);
4024 }
4025 .preset-icon-fill circle.midpoint {
4026     fill: transparent;
4027     stroke: rgba(0, 0, 0, 0.25);
4028 }
4029 /* use a consistent stroke width */
4030 .preset-icon-container path.line.stroke {
4031     stroke-width: 2 !important;
4032 }
4033 .preset-icon-container path.line.casing {
4034     stroke-width: 4 !important;
4035 }
4036
4037 .preset-icon-fill {
4038     margin: auto;
4039     position: absolute;
4040     width: 100%;
4041     height: 100%;
4042     left: 0;
4043     top: 0;
4044 }
4045 .preset-icon-container svg,
4046 .preset-icon-container svg > * {
4047     cursor: inherit !important;
4048 }
4049 .preset-icon-fill path.area.stroke {
4050     fill: transparent;
4051 }
4052
4053 .preset-icon-fill-vertex circle {
4054     stroke-width: 1.5px;
4055     stroke: #333;
4056     fill: #efefef;
4057     backface-visibility: hidden;
4058 }
4059
4060 .preset-icon {
4061     width: 100%;
4062     height:100%;
4063     position: absolute;
4064     z-index: 1;
4065 }
4066 .preset-icon .icon {
4067     position: absolute;
4068     margin: auto;
4069     left: 0;
4070     right: 0;
4071     width: 100%;
4072     height: 100%;
4073     transform: scale(0.48);
4074 }
4075 .preset-icon-container.small .preset-icon.point-geom .icon {
4076     transform: translateY(-7%) scale(0.27);
4077 }
4078 .preset-icon-container.small .preset-icon.point-geom.preset-icon-iD .icon {
4079     transform: translateY(-9%) scale(0.5);
4080 }
4081 .preset-icon.framed .icon {
4082     transform: scale(0.4);
4083 }
4084 .preset-icon.framed.line-geom .icon,
4085 .preset-icon.framed.route-geom .icon {
4086     top: 20%;
4087     transform: translateY(-30%) scale(0.4);
4088 }
4089 .preset-icon-iD .icon {
4090     transform: scale(1);
4091 }
4092 .preset-icon-iD.framed .icon {
4093     transform: scale(0.74);
4094 }
4095 .preset-icon-iD.framed.line-geom .icon,
4096 .preset-icon-iD.framed.route-geom .icon {
4097     transform: translateY(-30%) scale(0.74);
4098 }
4099 .preset-icon-container.fallback .preset-icon .icon {
4100     transform: scale(0.5) !important;
4101 }
4102
4103 .preset-list-button .label {
4104     display: flex;
4105     flex-flow: row wrap;
4106     align-items: center;
4107     background-color: #f6f6f6;
4108     text-align: left;
4109     position: absolute;
4110     top: 0;
4111     bottom: 0;
4112     right: 0;
4113     padding: 5px 10px;
4114     left: 60px;
4115     border-left: 1px solid rgba(0, 0, 0, .1);
4116 }
4117 [dir='rtl'] .preset-list-button .label {
4118     text-align: right;
4119     left: 0;
4120     right: 60px;
4121     border-left: none;
4122     border-right: 1px solid rgba(0, 0, 0, .1);
4123 }
4124 [dir='ltr'] .category .preset-list-button .label {
4125     border-radius: 0px 4px 4px 0px;
4126 }
4127 [dir='rtl'] .category .preset-list-button .label {
4128     border-radius: 4px 0px 0px 4px;
4129 }
4130
4131 .preset-list-button .label-inner {
4132     width: 100%;
4133 }
4134 .preset-list-button .label-inner .namepart {
4135     height: 17px;
4136     white-space: nowrap;
4137     text-overflow: ellipsis;
4138     overflow: hidden;
4139 }
4140
4141 .preset-list-button:hover .label,
4142 .preset-list-button:focus .label,
4143 .preset-list-button.disabled,
4144 .preset-list-button.disabled .label {
4145     background-color: #ececec;
4146 }
4147
4148 .preset-list-item button.tag-reference-button {
4149     height: 100%;
4150     width: 32px;
4151     flex: 0 0 auto;
4152     background: #f6f6f6;
4153 }
4154 [dir='ltr'] .preset-list-item button.tag-reference-button {
4155     border-left: 1px solid #ccc;
4156 }
4157 [dir='rtl'] .preset-list-item button.tag-reference-button {
4158     border-right: 1px solid #ccc;
4159 }
4160 [dir='ltr'] .preset-list-item button:last-child {
4161     border-radius: 0 4px 4px 0;
4162 }
4163 [dir='rtl'] .preset-list-item button:last-child {
4164     border-radius: 4px 0 0 4px;
4165 }
4166
4167 .preset-list-item button.tag-reference-button:hover {
4168     background: #f1f1f1;
4169 }
4170 .preset-list-item button.tag-reference-button .icon {
4171     opacity: .5;
4172 }
4173
4174
4175 .current .preset-list-button,
4176 .current .preset-list-button .label {
4177     background-color: #e8ebff;
4178 }
4179
4180 .category .preset-list-button:after,
4181 .category .preset-list-button:before {
4182     content: "";
4183     position: absolute;
4184     top: -5px;
4185     left: -1px; right: -1px;
4186     border: 1px solid #ccc;
4187     border-bottom: none;
4188     border-radius: 6px 6px 0 0;
4189     height: 6px;
4190 }
4191
4192 .category .preset-list-button:before {
4193     top: -3px;
4194 }
4195
4196 .subgrid .preset-list {
4197     padding: 10px;
4198     margin-top: 0;
4199     border: 0;
4200     border-radius: 8px;
4201     width: -webkit-calc(100% + 20px);
4202     margin-left: -10px;
4203 }
4204 .subgrid .preset-list > *:last-child {
4205     margin-bottom: 0;
4206 }
4207
4208 .subgrid .arrow {
4209     border: solid rgba(0, 0, 0, 0);
4210     border-width: 10px;
4211     border-bottom-color: #ececec;
4212     width: 0;
4213     height: 0;
4214     margin-left: 50%;
4215     margin-left: -webkit-calc(50% - 10px);
4216 }
4217
4218
4219 /* Quick links
4220 ------------------------------------------------------- */
4221 .quick-links {
4222     display: flex;
4223     flex-flow: row wrap;
4224     justify-content: flex-end;
4225     padding: 0 20px;
4226 }
4227 .quick-link {
4228     margin: 0 5px;
4229 }
4230
4231 .data-editor .quick-links,
4232 .error-editor .quick-links,
4233 .note-editor .quick-links {
4234     padding: 5px 0 0 0;
4235 }
4236
4237
4238 /* Entity/Preset Editor
4239 ------------------------------------------------------- */
4240 .entity-issues,
4241 .preset-editor {
4242     overflow: hidden;
4243     padding: 10px 0px 5px 0px;
4244 }
4245 .entity-issues a.hide-toggle,
4246 .preset-editor a.hide-toggle {
4247     margin: 0 20px 5px 20px;
4248 }
4249 .entity-issues .disclosure-wrap-entity_issues,
4250 .preset-editor .form-fields-container {
4251     padding: 10px;
4252     margin: 0 10px 10px 10px;
4253     border-radius: 8px;
4254     background: #ececec;
4255 }
4256 .entity-issues .disclosure-wrap-entity_issues:empty,
4257 .preset-editor .form-fields-container:empty {
4258     display: none;
4259 }
4260 .entity-editor-pane .preset-list-item {
4261     margin-bottom: 0;
4262 }
4263
4264 /*
4265     The parts of a field:
4266     - `.form-field` is a `div` wraps the entire thing
4267     - `.field-label` is a `label` that wraps the top part, it contains;
4268        - `span` classed `label-text`
4269        - 0..n buttons for "remove", "modified", "tag reference"
4270     - `.form-field-input-wrap` is a `label` or `div` that wraps the bottom part, it contains;
4271        - usually an `input`
4272        - sometimes some buttons (translate, increment, decrement)
4273        - or could just be a `div` with anything really
4274     - `.tag-reference-body` at the bottom (usually hidden)
4275
4276    .------------------.                             -
4277    |  Name        | i |  <- .field-label        |
4278    +------------------+                               |
4279    |  Starbucks   | + |  <- .form-field-input-wrap     >  .form-field
4280    '------------------'                               |
4281      tag reference       <- .tag-reference-body      |
4282                                                     -
4283 */
4284
4285 .form-field {
4286     display: flex;
4287     flex-flow: row wrap;
4288     margin-bottom: 10px;
4289     width: 100%;
4290     -webkit-transition: margin-bottom 200ms;
4291        -moz-transition: margin-bottom 200ms;
4292          -o-transition: margin-bottom 200ms;
4293             transition: margin-bottom 200ms;
4294 }
4295
4296 .form-field.nowrap,
4297 .wrap-form-field:last-child .form-field {
4298     margin-bottom: 0;
4299 }
4300
4301 /* A `label` element that wraps the top section */
4302 .field-label {
4303     display: flex;
4304     flex-flow: row nowrap;
4305     flex: 1 1 100%;
4306     height: 30px;
4307     position: relative;
4308     font-weight: bold;
4309     color: #333;
4310     background: #f6f6f6;
4311     border: 1px solid #ccc;
4312     border-radius: 4px 4px 0 0;
4313     overflow: hidden;
4314 }
4315 .field-label .label-text {
4316     flex: 1 1 auto;
4317     padding: 5px 0 5px 10px;
4318 }
4319 [dir='rtl'] .field-label .label-text {
4320     padding: 5px 10px 5px 0;
4321 }
4322
4323 .label-text .label-textannotation svg.icon {
4324     margin: 0 8px;
4325     color: #333;
4326     opacity: 0.5;
4327     width: 14px;
4328     height: 14px;
4329     vertical-align: text-top;
4330 }
4331
4332 .field-label button {
4333     flex: 0 0 32px;
4334     border-left: 1px solid #ccc;
4335     width: 32px;
4336     height: 100%;
4337     border-radius: 0;
4338     background: #f6f6f6;
4339 }
4340 [dir='rtl'] .field-label button {
4341     border-left: none;
4342     border-right: 1px solid #ccc;
4343 }
4344 .field-label button:hover {
4345     background: #f1f1f1;
4346 }
4347 .field-label .icon {
4348     opacity: .5;
4349 }
4350
4351 .field-label .modified-icon,
4352 .field-label .remove-icon,
4353 .field-label .remove-icon-multilingual {
4354     display: none;
4355 }
4356 .modified:not(.locked) .field-label .modified-icon,
4357 .present:not(.locked) .field-label .remove-icon,
4358 .present:not(.locked) .field-label .remove-icon-multilingual {
4359     display: inline-block;
4360 }
4361
4362 /* A `div` element that wraps the bottom section */
4363 .form-field-input-wrap {
4364     display: flex;
4365     flex-flow: row nowrap;
4366     width: 100%;
4367     flex: 1 1 auto;
4368     min-height: 30px;
4369     border-top: 0;
4370     border-radius: 0 0 4px 4px;
4371 }
4372 .nowrap .form-field-input-wrap {
4373     border-radius: 0;
4374 }
4375
4376
4377 .form-field-input-wrap > input,
4378 .form-field-input-wrap > label,
4379 .form-field-input-wrap > textarea,
4380 .form-field-input-wrap > ul.chiplist {
4381     flex: 1 1 auto;
4382     min-height: 30px;
4383     border: 1px solid #ccc;
4384     border-top: 0;
4385     border-radius: 0;
4386     overflow: hidden;
4387     position: relative;
4388 }
4389 .form-field-input-wrap > textarea {
4390     height: 65px;
4391     border-radius: 0 0 4px 4px;
4392     overflow: auto;
4393 }
4394
4395 /* Buttons inside fields */
4396 .form-field-button {
4397     flex: 0 0 auto;
4398     height: 30px;
4399     width: 32px;
4400     position: relative;
4401     background-color: #fff;
4402     border: 1px solid #ccc;
4403     border-radius: 0;
4404     border-top-width: 0;
4405     border-left-width: 0;
4406     vertical-align: top;
4407 }
4408 [dir='rtl'] .form-field-button {
4409     border-left-width: 1px;
4410     border-right-width: 0;
4411 }
4412 .form-field-button:hover {
4413     background-color: #f1f1f1;
4414 }
4415 .form-field-button .icon {
4416     fill: #333;
4417     opacity: .5;
4418 }
4419
4420
4421 /* round corners of first/last child elements */
4422 .form-field-input-wrap > button:last-of-type {
4423     border-bottom-right-radius: 4px;
4424 }
4425 [dir='rtl'] .form-field-input-wrap > button:last-of-type {
4426     border-bottom-left-radius: 4px;
4427 }
4428
4429
4430 /* Field - Access, Cycleway
4431 ------------------------------------------------------- */
4432 .form-field-input-access,
4433 .form-field-input-cycleway {
4434     flex: 1 1 auto;
4435     display: flex;
4436     flex-flow: row wrap;
4437 }
4438
4439 /* Field - lists with labeled input items
4440 ------------------------------------------------------- */
4441 .form-field ul.rows {
4442     flex: 1 1 auto;
4443     border: 1px solid #ccc;
4444     border-top: 0;
4445     border-radius: 0 0 4px 4px;
4446     overflow: hidden;
4447     width: 100%;
4448 }
4449 .form-field ul.rows li {
4450     border-top: 1px solid #ccc;
4451 }
4452 .form-field ul.rows li:first-child {
4453     border-top: 0;
4454 }
4455 .form-field ul.rows li {
4456     display: flex;
4457     flex-flow: row nowrap;
4458 }
4459 .form-field ul.rows li.labeled-input > span,
4460 .form-field ul.rows li.labeled-input > div {
4461     flex: 1 1 auto;
4462     width: 100%;
4463     border-radius: 0;
4464 }
4465 .form-field ul.rows li input {
4466     border-radius: 0;
4467     border-width: 0;
4468     width: 100%;
4469 }
4470 .form-field ul.rows li button {
4471     border-width: 0;
4472 }
4473 [dir='ltr'] .form-field ul.rows li.labeled-input input,
4474 [dir='ltr'] .form-field ul.rows li button {
4475     border-left-width: 1px;
4476 }
4477 [dir='rtl'] .form-field ul.rows li.labeled-input input,
4478 [dir='rtl'] .form-field ul.rows li button {
4479     border-right-width: 1px;
4480 }
4481
4482
4483 /* Field - Structure
4484 ------------------------------------------------------- */
4485 .structure-extras-wrap {
4486     width: 100%;
4487     padding: 10px 10px;
4488     background: #fff;
4489     border: 1px solid #ccc;
4490     border-top: 0px;
4491     border-radius: 0 0 4px 4px;
4492 }
4493 .structure-extras-wrap > ul.rows {
4494     border: 1px solid #ccc;
4495     border-radius: 4px;
4496 }
4497
4498
4499 /* Field - Combo / Multicombo
4500 ------------------------------------------------------- */
4501 .form-field-input-combo > input:only-of-type {
4502     border-radius: 0 0 4px 4px;
4503 }
4504 .form-field-input-combo.empty-combobox input,
4505 .form-field-input-multicombo .empty-combobox input {
4506     padding-right: 10px;
4507     padding-left: 10px;
4508 }
4509 .form-field-input-combo.empty-combobox .combobox-caret,
4510 .form-field-input-multicombo .empty-combobox .combobox-caret {
4511     display: none;
4512 }
4513
4514 .form-field-input-multicombo ul.chiplist {
4515     padding: 5px 8px 5px 8px;
4516     background: #fff;
4517     display: block;
4518     border-radius: 0 0 4px 4px;
4519     width: 100%;
4520 }
4521
4522 .form-field-input-multicombo li {
4523     display: inline-flex;
4524     flex-flow: row nowrap;
4525     align-items: center;
4526     margin-bottom: 3px;
4527     margin-top: 3px;
4528     border-radius: 4px;
4529 }
4530 [dir='ltr'] .form-field-input-multicombo li {
4531     margin-right: 6px;
4532 }
4533 [dir='rtl'] .form-field-input-multicombo li {
4534     margin-left: 6px;
4535 }
4536
4537 .form-field-input-multicombo li.chips {
4538     background-color: #eff2f7;
4539     border: 1px solid #ccd5e3;
4540     line-height: 25px;
4541     max-width: 100%;
4542 }
4543 [dir='ltr'] .form-field-input-multicombo li.chips {
4544     padding: 2px 0px 2px 5px;
4545 }
4546 [dir='rtl'] .form-field-input-multicombo li.chips {
4547     padding: 2px 5px 2px 0px;
4548 }
4549
4550 .form-field-input-multicombo li.chips span {
4551     display: block;
4552     flex: 1 1 auto;
4553     overflow: hidden;
4554     word-wrap: break-word;
4555 }
4556
4557 .form-field-input-multicombo a {
4558     font-family: Arial, Helvetica, sans-serif !important;
4559     font-size: 16px !important;
4560     padding: 0px 5px 0px 5px;
4561     margin: 0;
4562     cursor: pointer;
4563     color: #a6b4ce;
4564     display: block;
4565     text-align: center;
4566     flex: 0 0 auto;
4567 }
4568
4569 .form-field-input-multicombo .input-wrap {
4570     border: 1px solid #ddd;
4571     width: 100px;
4572     height: 31px;
4573 }
4574 .form-field-input-multicombo input {
4575     border: none;
4576     width: 100%;
4577     height: 100%;
4578 }
4579
4580 .form-field-input-multicombo input:focus {
4581     border-radius: 4px !important;
4582 }
4583
4584 .form-field-input-multicombo .full-line-chips li.chips {
4585     width: 100%;
4586 }
4587 .form-field-input-multicombo .full-line-chips .input-wrap {
4588     width: auto;
4589 }
4590
4591
4592 /* Field - Text / Numeric
4593 ------------------------------------------------------- */
4594 .form-field-input-text > input:only-of-type,
4595 .form-field-input-tel > input:only-of-type,
4596 .form-field-input-email > input:only-of-type,
4597 .form-field-input-url > input:only-of-type {
4598     border-radius: 0 0 4px 4px;
4599 }
4600 .form-field-input-number > input:only-of-type {
4601     border-radius: 0 0 0 4px;
4602 }
4603 [dir='rtl'] .form-field-input-number > input:only-of-type {
4604     border-radius: 0 0 4px 0;
4605 }
4606 .form-field-input-number > button:last-of-type {
4607     border-radius: 0 0 4px 0;
4608 }
4609 [dir='rtl'] .form-field-input-number > button:last-of-type {
4610     border-radius: 0 0 0 4px;
4611 }
4612
4613 [dir='ltr'] .form-field-input-identifier > input:last-child,
4614 [dir='rtl'] .form-field-input-identifier > input:first-child,
4615 [dir='ltr'] .form-field-input-identifier > button {
4616     border-bottom-right-radius: 4px;
4617 }
4618 [dir='ltr'] .form-field-input-identifier > input:first-child,
4619 [dir='rtl'] .form-field-input-identifier > input:last-child,
4620 [dir='rtl'] .form-field-input-identifier > button {
4621     border-bottom-left-radius: 4px;
4622 }
4623
4624 /* draw the up/down on the buttons */
4625 .form-field-input-number button.decrement::after,
4626 .form-field-input-number button.increment::after {
4627     content: "";
4628     height: 0; width: 0;
4629     position: absolute;
4630     left: 0; right: 0; bottom: 0; top: 0;
4631     margin: auto;
4632 }
4633 .form-field-input-number button.decrement::after {
4634     border-top: 5px solid #ccc;
4635     border-left: 5px solid transparent;
4636     border-right: 5px solid transparent;
4637 }
4638 .form-field-input-number button.increment::after {
4639     border-bottom: 5px solid #ccc;
4640     border-left: 5px solid transparent;
4641     border-right: 5px solid transparent;
4642 }
4643
4644
4645 /* Field - Checkbox
4646 ------------------------------------------------------- */
4647 .form-field-input-check {
4648     display: flex;
4649     align-items: center;
4650     background: #fff;
4651     padding: 5px 10px;
4652     color: #7092ff;
4653     border: 1px solid #ccc;
4654     border-top: 0;
4655     cursor: pointer;
4656 }
4657 .form-field-input-check > input[type="checkbox"] {
4658     flex: 0 1 auto;
4659     min-height: 20px;
4660     width: 20px;
4661     margin-top: 0;
4662 }
4663 .form-field-input-check > span {
4664     flex: 1 1 auto;
4665 }
4666 .form-field-input-check > .reverser.button {
4667     flex: 0 1 auto;
4668     background-color: #eff2f7;
4669     border: 1px solid #ccd5e3;
4670     border-radius: 2px;
4671     padding: 0px 8px;
4672 }
4673 [dir='ltr'] .form-field-input-check > .reverser.button {
4674     padding-right: 2px;
4675 }
4676 [dir='rtl'] .form-field-input-check > .reverser.button {
4677     padding-left: 2px;
4678 }
4679 .form-field-input-check > .reverser.button.hide {
4680     display: none;
4681 }
4682
4683 .form-field-input-check:hover {
4684     background: #f1f1f1;
4685 }
4686 .form-field-input-check .set {
4687     color: inherit;
4688 }
4689 .form-field-input-check label:not(.set) input[type="checkbox"] {
4690     opacity: .5;
4691 }
4692
4693
4694 /* Field - Radio button
4695 ------------------------------------------------------- */
4696 .form-field-input-radio {
4697     flex: 1 1 auto;
4698     display: flex;
4699     flex-flow: row wrap;
4700 }
4701 .form-field-input-radio > label {
4702     flex: 1 1 auto;
4703     display: flex;
4704     flex-flow: row nowrap;
4705     width: 100%;
4706     padding: 5px 10px;
4707     height: 30px;
4708     background-color: #fff;
4709     color: #7092ff;
4710     cursor: pointer;
4711 }
4712 .form-field-input-radio > label:last-child {
4713     border-radius: 0 0 4px 4px;
4714 }
4715 .form-field-input-radio > label:hover {
4716     background-color: #ececec;
4717 }
4718 .form-field-input-radio > label.active {
4719     background-color: #e8ebff;
4720 }
4721 .form-field-input-radio > label:not(:last-of-type) {
4722     border-bottom: 1px solid #ccc;
4723 }
4724 .form-field-input-radio > label > input[type="radio"] {
4725     flex: 0 1 auto;
4726     width: 20px;
4727 }
4728 .form-field-input-radio > label > span {
4729     flex: 1 1 auto;
4730     overflow: hidden;
4731     white-space: nowrap;
4732     text-overflow: ellipsis;
4733 }
4734
4735 /* Hide placeholder for radio buttons if another is active, or not in hover state */
4736 .form-field-input-radio label.active ~ .placeholder,
4737 .form-field-input-radio .placeholder {
4738     padding: 0;
4739     opacity: 0;
4740     width: 0;
4741     line-height: 0;
4742     display: block;
4743     overflow: hidden;
4744 }
4745
4746
4747 /* Field - Maxspeed
4748 ------------------------------------------------------- */
4749 .form-field-input-maxspeed > input:first-of-type {
4750     border-radius: 0 0 0 4px;
4751 }
4752 [dir='rtl'] .form-field-input-maxspeed > input:first-of-type {
4753     border-radius: 0 0 4px 0;
4754 }
4755 .form-field-input-maxspeed > input:last-of-type {  /* unit field */
4756     flex: 0 1 80px;
4757     width: 80px;
4758     border-left: 0;
4759     border-radius: 0 0 4px 0;
4760 }
4761 [dir='rtl'] .form-field-input-maxspeed > input:last-of-type {
4762     border-right: 0;
4763     border-radius: 0 0 0 4px;
4764 }
4765
4766
4767 /* Field - Localized Name
4768 ------------------------------------------------------- */
4769 .form-field-input-localized > input.localized-main {
4770     border-radius: 0 0 0 4px;
4771 }
4772 [dir='rtl'] .form-field-input-localized > input.localized-main {
4773     border-radius: 0 0 4px 0;
4774 }
4775 .form-field-input-localized > button.localized-add {
4776     border-radius: 0 0 4px 0;
4777 }
4778 [dir='rtl'] .form-field-input-localized > button.localized-add {
4779     border-radius: 0 0 0 4px;
4780 }
4781
4782 .form-field-input-localized button.localized-add.disabled,
4783 .form-field-input-localized input.localized-main.disabled,
4784 .form-field-input-localized input.localized-lang.disabled,
4785 .form-field-input-localized input.localized-value.disabled {
4786     color: #777;
4787     background-color: #eee;
4788     cursor: not-allowed;
4789 }
4790
4791 /* nested subfields for name in different languages */
4792 .localized-multilingual {
4793     padding: 0 10px;
4794     flex-basis: 100%;
4795 }
4796 .localized-multilingual .entry {
4797     position: relative;
4798     overflow: hidden;
4799 }
4800
4801 /* draws a little line connecting the multilingual field up to the name field */
4802 .localized-multilingual .entry::before {
4803     content: "";
4804     display: block;
4805     position: absolute;
4806     background: #ccc;
4807     height: 11px;
4808     width: 1px;
4809     left: 0;
4810     right: 0;
4811     top: -11px;
4812     margin: auto;
4813 }
4814
4815 .localized-multilingual .entry .localized-lang {
4816     border-radius: 0;
4817     border-top-width: 0;
4818     width: 100%;
4819 }
4820 .localized-multilingual .entry .localized-value {
4821     border-top-width: 0;
4822     border-radius: 0 0 4px 4px;
4823     width: 100%;
4824 }
4825
4826
4827 /* Field - Address
4828 ------------------------------------------------------- */
4829 .form-field-input-address {
4830     flex: 1 1 auto;
4831     display: flex;
4832     flex-flow: row wrap;
4833     border: 1px solid #ccc;
4834     border-top: 0px;
4835 }
4836
4837 .addr-row {
4838     flex: 1 1 auto;
4839     display: flex;
4840     width: 100%;
4841     min-height: 30px;
4842 }
4843
4844 .addr-row > input {
4845     flex: 1 1 auto;
4846     border-radius: 0;
4847     border-right: 0;
4848     border-bottom: 0;
4849 }
4850 [dir='rtl'] .addr-row input {
4851     border-right: 1px solid #ccc;
4852     border-left: 0;
4853 }
4854
4855 .addr-row:first-of-type input {
4856     border-top: 0;
4857 }
4858 .addr-row input:first-of-type {
4859     border-left: 0;
4860 }
4861 [dir='rtl'] .addr-row input:first-of-type {
4862     border-right: 0;
4863 }
4864 .addr-row:last-of-type input:first-of-type {
4865     border-radius: 0 0 0 4px;
4866 }
4867 [dir='rtl'] .addr-row:last-of-type input:first-of-type {
4868     border-radius: 0 0 4px 0;
4869 }
4870 .addr-row:last-of-type input:last-of-type {
4871     border-radius: 0 0 4px 0;
4872 }
4873 [dir='rtl'] .addr-row:last-of-type input:last-of-type {
4874     border-radius: 0 0 0 4px;
4875 }
4876
4877
4878 /* Field - Wikipedia
4879 ------------------------------------------------------- */
4880 .form-field-input-wikipedia {
4881     display: flex;
4882     flex-flow: row wrap;
4883     flex: 1 1 auto;
4884 }
4885
4886 .wiki-lang-container,
4887 .wiki-title-container {
4888     display: flex;
4889     flex-flow: row nowrap;
4890     flex: 1 1 auto;
4891     width: 100%;
4892 }
4893
4894 .wiki-lang-container > input.wiki-lang,
4895 .wiki-title-container > input.wiki-title {
4896     flex: 1 1 auto;
4897     border-top: 0;
4898     border-radius: 0;
4899 }
4900 .wiki-title-container > input.wiki-title {
4901     border-radius: 0 0 0 4px;
4902 }
4903 [dir='rtl'] .wiki-title-container > input.wiki-title {
4904     border-radius: 0 0 4px 0;
4905 }
4906 .wiki-title-container > button.wiki-link,
4907 .form-field-wikidata ul.rows li:last-child button.form-field-button:last-child {
4908     border-radius: 0 0 4px 0;
4909 }
4910 [dir='rtl'] .wiki-title-container > button.wiki-link,
4911 [dir='rtl'] .form-field-wikidata ul.rows li:last-child button.form-field-button:last-child {
4912     border-radius: 0 0 0 4px;
4913 }
4914
4915
4916 /* Field - Restriction Editor
4917 ------------------------------------------------------- */
4918 .form-field-input-restrictions {
4919     display: block;
4920     border: 1px solid #ccc;
4921     border-top: 0;
4922     border-radius: 0 0 4px 4px;
4923 }
4924
4925 .form-field-input-restrictions .restriction-controls-container {
4926     background-color: #fff;
4927     width: 100%;
4928     padding: 5px;
4929     border-top: 1px solid #ccc;
4930     border-radius: 0 0 4px 4px;
4931 }
4932
4933 .restriction-controls-container .restriction-controls {
4934     display: table;
4935     -moz-user-select: none;
4936     -webkit-user-select: none;
4937     -ms-user-select: none;
4938     user-select: none;
4939 }
4940
4941 .restriction-controls .restriction-control {
4942     display: table-row;
4943     padding: 5px 10px;
4944     height: 25px;
4945 }
4946
4947 .restriction-control input,
4948 .restriction-control span {
4949     display: table-cell;
4950     text-align: start;
4951     padding: 0px 5px;
4952 }
4953
4954 .restriction-control span.restriction-control-label {
4955     text-align: end;
4956 }
4957
4958 .restriction-control input {
4959     width: 60px;
4960     padding: 0;
4961     margin: 0px 5px;
4962     vertical-align: middle;
4963 }
4964
4965 .form-field-input-restrictions .restriction-container {
4966     position: relative;
4967     height: 370px;
4968 }
4969 /* zero width space, so container takes up space */
4970 .form-field-input-restrictions .restriction-container:after {
4971     content: '\200b';
4972 }
4973
4974 .form-field-input-restrictions svg.surface {
4975     width: 100%;
4976     height: 100%;
4977 }
4978
4979 .restriction-container .restriction-help {
4980     z-index: 1;
4981     position: absolute;
4982     top: 0;
4983     left: 0;
4984     right: 0;
4985     padding: 2px 6px;
4986     background-color: rgba(255, 255, 255, .8);
4987     color: #888;
4988     text-align: center;
4989     pointer-events: none;
4990
4991     -moz-user-select: none;
4992     -webkit-user-select: none;
4993     -ms-user-select: none;
4994     user-select: none;
4995 }
4996
4997 .restriction-help span {
4998     margin: 2px;
4999 }
5000
5001 .restriction-help .qualifier {
5002     color: #666;
5003     font-weight: bold;
5004 }
5005 .restriction-help .qualifier.allow {
5006     color: #8b5;
5007 }
5008 .restriction-help .qualifier.restrict {
5009     color: #d53;
5010 }
5011 .restriction-help .qualifier.only {
5012     color: #78f;
5013 }
5014
5015
5016 /* Field - Changeset Comment
5017 ------------------------------------------------------- */
5018 .form-field-comment:not(.present) #preset-input-comment {
5019     border-color: rgb(230, 100, 100);
5020 }
5021 .form-field-comment:not(.present) .field-label {
5022     border-color: rgb(230, 100, 100);
5023     background: rgba(230, 100, 100, 0.2);
5024 }
5025 .form-field-comment:not(.present) button {
5026     border-color: rgb(230, 100, 100);
5027 }
5028
5029
5030 /* Field - Combobox
5031 ------------------------------------------------------- */
5032 div.combobox {
5033     z-index: 9999;
5034     display: none;
5035     box-shadow: 0 4px 10px 1px rgba(0,0,0,.2);
5036     margin-top: -1px;
5037     background: #fff;
5038     max-height: 245px;
5039     overflow-y: auto;
5040     overflow-x: hidden;
5041     border: 1px solid #ccc;
5042     border-radius: 0 0 4px 4px;
5043 }
5044
5045 .combobox a {
5046     display: block;
5047     padding: 5px 10px;
5048     border-top: 1px solid #ccc;
5049     text-overflow: ellipsis;
5050     white-space: nowrap;
5051     overflow: hidden;
5052 }
5053
5054 .combobox a.selected,
5055 .combobox a:hover {
5056     background: #ececec;
5057 }
5058
5059 .combobox a:first-child {
5060     border-top: 0;
5061     padding: 4px 10px;
5062 }
5063
5064 .combobox-caret {
5065     display: inline-block;
5066     position: relative;
5067     height: 30px;
5068     width: 30px !important;
5069     margin-left: -30px;
5070     vertical-align: top;
5071     cursor: pointer;
5072 }
5073 [dir='rtl'] .combobox-caret {
5074   margin-left: 0;
5075   margin-right: -30px;
5076 }
5077
5078 .combobox-caret::after {
5079     content: "";
5080     height: 0; width: 0;
5081     position: absolute;
5082     left: 0; right: 0; bottom: 0; top: 0;
5083     margin: auto;
5084     border-top: 5px solid #ccc;
5085     border-left: 5px solid transparent;
5086     border-right: 5px solid transparent;
5087 }
5088
5089
5090 /* Field Help
5091 ------------------------------------------------------- */
5092 .field-help-body {
5093     display: block;
5094     position: absolute;
5095     top: 0;
5096     left: 20px;
5097     right: 20px;
5098     margin: 5px;
5099     padding: 8px;
5100     border: 1px solid #ccc;
5101     border-top: 0;
5102     border-radius: 0 0 4px 4px;
5103     z-index: 20;
5104     background: rgba(255,255,255,0.95);
5105     box-shadow: 0 0 30px 5px rgba(0,0,0,.4);
5106 }
5107
5108 .field-help-title h2 {
5109     padding: 10px;
5110     margin-bottom: 0px;
5111     font-size: 17px;
5112 }
5113 .field-help-title button {
5114     width: 45px;
5115     height: 55px;
5116     border-radius: 0;
5117 }
5118
5119 .field-help-nav {
5120     font-size: 13px;
5121     font-weight: bold;
5122     margin-bottom: 10px;
5123 }
5124 .field-help-nav-item {
5125     display: inline-block;
5126     padding: 5px 10px;
5127     cursor: pointer;
5128     color: #666;
5129 }
5130 .field-help-nav-item.active {
5131     color: #7092ff;
5132     border-bottom: 2px solid;
5133 }
5134 .field-help-nav-item:hover {
5135     color: #597be7;
5136     background-color: #efefef;
5137 }
5138
5139 .field-help-content {
5140     padding: 10px;
5141     overflow-y: auto;
5142     overflow-x: hidden;
5143 }
5144 .field-help-content h3 {
5145     font-size: 12px;
5146     margin-bottom: 5px;
5147 }
5148 .field-help-content p {
5149     margin-bottom: 15px;
5150 }
5151 .field-help-content ul li {
5152     list-style: inside;
5153     margin-bottom: 5px;
5154 }
5155
5156 .field-help-content .field-help-image {
5157     width: 100%;
5158     margin-bottom: 15px;
5159 }
5160
5161 .field-help-content svg.turn {
5162     width: 40px;
5163     height: 20px;
5164 }
5165 .field-help-content svg.shadow {
5166     opacity: 0.7;
5167     width: 60px;
5168     height: 20px;
5169 }
5170 .field-help-content svg.from {
5171     color: #777;
5172 }
5173 .field-help-content svg.allow {
5174     color: #5b3;
5175 }
5176 .field-help-content svg.restrict {
5177     color: #d53;
5178 }
5179 .field-help-content svg.only {
5180     color: #68f;
5181 }
5182
5183 .field-help-content p.from_shadow,
5184 .field-help-content p.allow_shadow,
5185 .field-help-content p.restrict_shadow,
5186 .field-help-content p.allow_turn,
5187 .field-help-content p.restrict_turn {
5188     margin-bottom: 5px;
5189 }
5190
5191
5192 /* More Fields dropdown
5193 ------------------------------------------------------- */
5194 .more-fields {
5195     padding: 0 20px 20px 20px;
5196     font-weight: bold;
5197 }
5198 .changeset-editor .more-fields {
5199     padding: 15px 20px 0 20px;
5200 }
5201
5202 .more-fields label {
5203     display: flex;
5204     flex-flow: row nowrap;
5205     justify-content: space-between;
5206     align-items: center;
5207 }
5208
5209 .more-fields input {
5210     margin-left: 10px;
5211     flex: 1 1 50%;
5212 }
5213 [dir='rtl'] .more-fields input {
5214     margin-left: auto;
5215     margin-right: 10px;
5216 }
5217
5218 .form-field-input-wrap .label {
5219     height: 30px;
5220     background: #f6f6f6;
5221     padding: 5px 10px;
5222 }
5223
5224
5225 /* Raw Tag Editor
5226 ------------------------------------------------------- */
5227 .raw-tag-options {
5228     display: flex;
5229     flex-flow: row nowrap;
5230     flex-direction: row-reverse;
5231     margin-top: -25px;
5232     padding: 0 3px;
5233 }
5234 button.raw-tag-option {
5235     flex: 0 0 20px;
5236     height: 20px;
5237     width: 20px;
5238     background: #aaa;
5239     color: #eee;
5240     margin: 0 3px;
5241 }
5242 button.raw-tag-option:focus,
5243 button.raw-tag-option:hover,
5244 button.raw-tag-option.active {
5245     color: #fff;
5246     background: #597be7;
5247 }
5248 button.raw-tag-option.selected {
5249     color: #fff;
5250     background: #7092ff;
5251 }
5252 button.raw-tag-option svg.icon {
5253     width: 14px;
5254     height: 14px;
5255     vertical-align: text-bottom;
5256 }
5257 [dir='ltr'] button.raw-tag-option-list {
5258     -moz-transform: scaleX(-1);
5259     -o-transform: scaleX(-1);
5260     -webkit-transform: scaleX(-1);
5261     transform: scaleX(-1);
5262     filter: FlipH;
5263     -ms-filter: "FlipH";
5264 }
5265
5266
5267 .tag-text {
5268     width: 100%;
5269     height: 100%;
5270     font-family: monospace;
5271     white-space: pre;
5272 }
5273
5274 .tag-text,
5275 .tag-list {
5276     margin-top: 10px;
5277 }
5278 .tag-row {
5279     width: 100%;
5280     position: relative;
5281 }
5282 .tag-row .inner-wrap {
5283     display: flex;
5284     flex-flow: row nowrap;
5285     width: 100%;
5286     position: relative;
5287 }
5288 .tag-row .key-wrap,
5289 .tag-row .value-wrap {
5290     flex: 1 1 50%;
5291 }
5292
5293 .tag-text.readonly,
5294 .tag-row.readonly,
5295 .tag-row.readonly input.key,
5296 .tag-row.readonly input.value,
5297 .tag-row.readonly button.remove {
5298     color: #777;
5299     background-color: #eee;
5300     cursor: not-allowed;
5301 }
5302
5303 .tag-row input {
5304     height: 31px;
5305     border: 0;
5306     border-radius: 0;
5307     border-bottom: 1px solid #ccc;
5308     border-left: 1px solid #ccc;
5309     width: 100%;
5310 }
5311 [dir='rtl'] .tag-row input {
5312     border-left: none;
5313     border-right: 1px solid #ccc;
5314 }
5315
5316
5317 .tag-row input.key {
5318     font-weight: bold;
5319     background-color: #f6f6f6;
5320 }
5321
5322 .tag-row input.value {
5323     border-right: 1px solid #ccc;
5324 }
5325 [dir='rtl'] .tag-row input.value {
5326     border-left: 1px solid #ccc;
5327 }
5328
5329 .tag-row:first-child input.key {
5330     border-top: 1px solid #ccc;
5331     border-top-left-radius: 4px;
5332 }
5333 [dir='rtl'] .tag-row:first-child input.key {
5334     border-top-left-radius: 0;
5335     border-top-right-radius: 4px;
5336 }
5337
5338 .tag-row:first-child input.value {
5339     border-top: 1px solid #ccc;
5340 }
5341 .tag-row button {
5342     flex: 0 0 32px;
5343     height: 31px;
5344     width: 32px;
5345     border: 1px solid #ccc;
5346     border-top-width: 0;
5347     border-left-width: 0;
5348 }
5349 [dir='rtl'] .tag-row button {
5350     border-left-width: 1px;
5351     border-right-width: 0;
5352 }
5353
5354 .tag-row button:hover {
5355     background: #f1f1f1;
5356 }
5357 .tag-row button .icon {
5358     opacity: .5;
5359 }
5360 .tag-row:first-child button {
5361     border-top-width: 1px;
5362 }
5363
5364 .tag-row:first-child .tag-reference-button {
5365     border-top-right-radius: 4px;
5366 }
5367 [dir='rtl'] .tag-row:first-child .tag-reference-button {
5368     border-top-left-radius: 4px;
5369     border-top-right-radius: 0;
5370 }
5371
5372 .tag-row:last-child .tag-reference-button {
5373     border-bottom-right-radius: 4px;
5374 }
5375 [dir='rtl'] .tag-row:last-child .tag-reference-button {
5376     border-bottom-left-radius: 4px;
5377     border-bottom-right-radius: 0;
5378 }
5379
5380 .tag-row .tag-reference-button {
5381     border-radius: 0;
5382 }
5383 [dir='rtl'] .tag-row .tag-reference-button {
5384     border-left-width: 1px;
5385     border-right-width: 0;
5386 }
5387
5388 /* Tag reference */
5389 .tag-reference-loading {
5390     background-color: #f5f5f5;
5391 }
5392 .tag-reference-loading .icon {
5393     background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
5394     background-position: 0 0;
5395 }
5396
5397 .tag-reference-body {
5398     flex: 1 1 auto;
5399     width: 100%;
5400     overflow: hidden;
5401     display: none;
5402     padding-top: 10px;
5403 }
5404 .tag-reference-body.expanded {
5405     padding-bottom: 10px;
5406     display: inline-block;
5407 }
5408 .tag-reference-description {
5409
5410 }
5411 .tag-reference-link {
5412     display: block;
5413 }
5414
5415 img.tag-reference-wiki-image {
5416     float: right;
5417     width: 33.3333%;
5418     border-radius: 4px;
5419     margin: 0 0 0 5px;
5420 }
5421 [dir='rtl'] img.tag-reference-wiki-image {
5422     float: left;
5423     margin: 0 5px 0 0;
5424 }
5425
5426 .preset-list .tag-reference-body {
5427     position: relative;
5428     width: 100%;
5429 }
5430 .raw-tag-editor .tag-reference-body {
5431     width: 100%;
5432 }
5433 .raw-tag-editor .tag-row.readonly .tag-reference-body {
5434     background: #f6f6f6;
5435     color: #333;
5436 }
5437 .raw-tag-editor .tag-row:not(:last-child) .tag-reference-body.expanded {
5438     border-bottom: 1px solid #ccc;
5439 }
5440 .raw-tag-editor .tag-row.readonly .tag-reference-body.expanded {
5441     border-top: 1px solid #ccc;
5442 }
5443
5444
5445 /* Raw Member / Membership Editor
5446 ------------------------------------------------------- */
5447
5448 .raw-member-editor .member-list,
5449 .raw-membership-editor .member-list {
5450     padding-top: 10px;
5451 }
5452 .raw-member-editor .member-list li,
5453 .raw-membership-editor .member-list li {
5454     position: relative;
5455     border-radius: 4px;
5456     margin: 0;
5457     padding-bottom: 10px;
5458 }
5459 .raw-member-editor .member-row .member-entity-name,
5460 .raw-membership-editor .member-row .member-entity-name {
5461     font-weight: normal;
5462     padding-left: 10px;
5463 }
5464
5465 [dir='rtl'] .raw-member-editor .member-row .member-entity-name,
5466 [dir='rtl'] .raw-membership-editor .member-row .member-entity-name {
5467     padding-left:0;
5468     padding-right: 10px;
5469 }
5470
5471 .form-field-input-member > input.member-role {
5472     border-radius: 0 0 0 4px;
5473 }
5474 [dir='rtl'] .form-field-input-member > input.member-role {
5475     border-radius: 0 0 4px 0;
5476 }
5477
5478 .member-incomplete .form-field-input-member > input.member-role,
5479 [dir='rtl'] .member-incomplete .form-field-input-member > input.member-role {
5480     border-radius: 0 0 4px 4px;
5481 }
5482
5483 .member-incomplete .member-delete {
5484     display: none;
5485 }
5486
5487 .member-row-new .member-entity-input {
5488     flex: 1 1 100%;
5489     border-radius: 4px 4px 0 0;
5490     border: 0;
5491 }
5492
5493 .raw-member-editor .member-row.dragging {
5494     opacity: 0.75;
5495     z-index: 3000;
5496     /*
5497     -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
5498     -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
5499     box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
5500     */
5501 }
5502
5503 /* preserve extra space at bottom of inspector to allow for dropdown options - #5280 */
5504 .raw-membership-editor.inspector-inner {
5505     margin-bottom: 150px;
5506 }
5507
5508 /* hidden field to prevent user from tabbing out of the sidebar */
5509 input.key-trap {
5510     height: 0px;
5511     width: 0px;
5512     padding: 0px;
5513     border: 1px solid rgba(0,0,0,0);
5514 }
5515
5516
5517 /* add tag, add relation buttons */
5518 .add-row {
5519     display: flex;
5520     width: 100%;
5521     flex-flow: row nowrap;
5522 }
5523 .add-row .add-tag,
5524 .add-row .add-relation,
5525 .add-row .space-value {
5526     flex: 1 1 50%;
5527 }
5528 .add-row .space-buttons {
5529     flex: 0 0 62px;
5530 }
5531 .add-row button {
5532     height: 30px;
5533     background: rgba(0,0,0,.5);
5534 }
5535 .add-row button:focus,
5536 .add-row button:hover {
5537     background: rgba(0,0,0,.8);
5538 }
5539
5540 .add-tag {
5541     border-radius: 0 0 4px 4px;
5542 }
5543 .add-relation {
5544     margin-top: 10px;
5545     border-radius: 4px;
5546 }
5547
5548
5549 /* OSM Note / KeepRight Editors
5550 ------------------------------------------------------- */
5551 .note-header,
5552 .error-header {
5553     background-color: #f6f6f6;
5554     border-radius: 5px;
5555     border: 1px solid #ccc;
5556     display: flex;
5557     flex-flow: row nowrap;
5558     align-items: center;
5559 }
5560
5561 .note-header-icon,
5562 .error-header-icon {
5563     background-color: #fff;
5564     padding: 10px;
5565     flex: 0 0 62px;
5566     position: relative;
5567     width: 60px;
5568     height: 60px;
5569     border-right: 1px solid #ccc;
5570     border-radius: 5px 0 0 5px;
5571 }
5572 [dir='rtl'] .note-header-icon,
5573 [dir='rtl'] .error-header-icon {
5574     border-right: unset;
5575     border-left: 1px solid #ccc;
5576     border-radius: 0 5px 5px 0;
5577 }
5578
5579 .note-header-icon .icon-wrap,
5580 .error-header-icon .icon-wrap {
5581     position: absolute;
5582     top: 0px;
5583 }
5584 .preset-icon-28 {
5585     position: absolute;
5586     top: 16px;
5587     left: 16px;
5588     margin: auto;
5589 }
5590 .preset-icon-28 .icon {
5591     width: 28px;
5592     height: 28px;
5593 }
5594
5595 .note-header-label,
5596 .error-header-label {
5597     background-color: #f6f6f6;
5598     padding: 0 15px;
5599     flex: 1 1 100%;
5600     font-size: 14px;
5601     font-weight: bold;
5602     border-radius: 0 5px 5px 0;
5603 }
5604 [dir='rtl'] .note-header-label,
5605 [dir='rtl'] .error-header-label {
5606     border-radius: 5px 0 0 5px;
5607 }
5608
5609 .note-category {
5610     margin: 20px 0px;
5611 }
5612
5613 .comments-container {
5614     background: #ececec;
5615     padding: 1px 10px;
5616     border-radius: 8px;
5617     margin-top: 20px;
5618 }
5619
5620 .comment {
5621     background-color: #fff;
5622     border-radius: 5px;
5623     border: 1px solid #ccc;
5624     margin: 10px auto;
5625     display: flex;
5626     flex-flow: row nowrap;
5627 }
5628 .comment-avatar {
5629     padding: 10px;
5630     flex: 0 0 62px;
5631 }
5632 .comment-avatar .icon.comment-avatar-icon {
5633     width: 40px;
5634     height: 40px;
5635     object-fit: cover;
5636     border: 1px solid #ccc;
5637     border-radius: 20px;
5638 }
5639 .comment-main {
5640     padding: 10px 10px 10px 0;
5641     flex: 1 1 100%;
5642     flex-flow: column nowrap;
5643     overflow: hidden;
5644     overflow-wrap: break-word;
5645 }
5646 [dir='rtl'] .comment-main {
5647     padding: 10px 0 10px 10px;
5648 }
5649
5650 .comment-metadata {
5651     flex-flow: row nowrap;
5652     justify-content: space-between;
5653 }
5654 .comment-author {
5655     font-weight: bold;
5656     color: #333;
5657 }
5658 .comment-date {
5659     color: #aaa;
5660 }
5661 .comment-text {
5662     color: #333;
5663     margin-top: 10px;
5664     overflow-y: auto;
5665     max-height: 250px;
5666 }
5667 .comment-text::-webkit-scrollbar {
5668     border-left: none;
5669 }
5670
5671 .note-save,
5672 .error-save {
5673     padding-top: 20px;
5674 }
5675
5676 .error-details {
5677     padding: 10px;
5678 }
5679 .error-details-container {
5680     background: #ececec;
5681     padding: 10px;
5682     margin-top: 20px;
5683     border-radius: 4px;
5684     border: 1px solid #ccc;
5685 }
5686 .error-details-description {
5687     margin-bottom: 10px;
5688 }
5689 .error-details-description-text::first-letter {
5690     text-transform: capitalize;
5691 }
5692 [dir='rtl'] .error-details-description-text::first-letter {
5693     text-transform: none;  /* #5877 */
5694 }
5695
5696 .note-save .new-comment-input,
5697 .error-save .new-comment-input {
5698     width: 100%;
5699     height: 100px;
5700     max-height: 300px;
5701     min-height: 100px;
5702 }
5703
5704 .note-save .detail-section,
5705 .error-save .detail-section {
5706     margin: 10px 0;
5707 }
5708
5709 .note-report {
5710     float: right;
5711 }
5712
5713
5714 /* Custom Data Editor
5715 ------------------------------------------------------- */
5716 .data-header {
5717     background-color: #f6f6f6;
5718     border-radius: 5px;
5719     border: 1px solid #ccc;
5720     display: flex;
5721     flex-flow: row nowrap;
5722     align-items: center;
5723 }
5724
5725 .data-header-icon {
5726     background-color: #fff;
5727     padding: 10px;
5728     flex: 0 0 62px;
5729     position: relative;
5730     width: 60px;
5731     height: 60px;
5732     border-right: 1px solid #ccc;
5733     border-radius: 5px 0 0 5px;
5734 }
5735 [dir='rtl'] .data-header-icon {
5736     border-right: unset;
5737     border-left: 1px solid #ccc;
5738     border-radius: 0 5px 5px 0;
5739 }
5740
5741 .data-header-icon .icon-wrap {
5742     position: absolute;
5743     top: 0px;
5744 }
5745
5746 .data-header-label {
5747     background-color: #f6f6f6;
5748     padding: 0 15px;
5749     flex: 1 1 100%;
5750     font-size: 14px;
5751     font-weight: bold;
5752     border-radius: 0 5px 5px 0;
5753 }
5754 [dir='rtl'] .data-header-label {
5755     border-radius: 5px 0 0 5px;
5756 }
5757
5758 /* custom data editor - no info/delete buttons */
5759 .data-editor.raw-tag-editor .tag-row button {
5760     display: none;
5761 }
5762 .data-editor.raw-tag-editor .tag-row .key-wrap,
5763 .data-editor.raw-tag-editor .tag-row .value-wrap {
5764     width: 50%;
5765 }
5766
5767
5768 /* Map Controls
5769 ------------------------------------------------------- */
5770 .map-controls {
5771     right: 0;
5772     top: 141px;
5773     width: 40px;
5774     position: fixed;
5775     z-index: 100;
5776 }
5777 [dir='rtl'] .map-controls {
5778     left: 0;
5779     right: auto;
5780 }
5781
5782 .map-control > button {
5783     position: relative;
5784     width: 40px;
5785     background: rgba(0,0,0,.5);
5786     border-radius: 0;
5787 }
5788
5789 .map-control > button:not(.disabled):hover,
5790 .map-control > button:not(.disabled):focus {
5791     background: rgba(0, 0, 0, .8);
5792 }
5793
5794 .map-control > button.active,
5795 .map-control > button.active:hover {
5796     background: #7092ff;
5797 }
5798
5799 .map-control > button.disabled .icon {
5800     color: rgba(255, 255, 255, 0.5);
5801 }
5802
5803
5804 /* Fullscreen Button (disabled)
5805 ------------------------------------------------------- */
5806 div.full-screen {
5807     display: inline-block;
5808     width: 40px;
5809     margin-right: 10px;
5810     display: none;
5811 }
5812
5813 div.full-screen .tooltip {
5814     min-width: 160px;
5815 }
5816
5817 div.full-screen > button, div.full-screen > button.active {
5818     width: 40px;
5819     height: 40px;
5820     background: transparent;
5821 }
5822
5823 div.full-screen > button:hover {
5824     background-color: rgba(0, 0, 0, .8);
5825 }
5826
5827
5828 /* Zoom Buttons
5829 ------------------------------------------------------- */
5830 .zoombuttons > button.zoom-in {
5831     border-radius: 4px 0 0 0;
5832 }
5833 [dir='rtl'] .zoombuttons > button.zoom-in {
5834     border-radius: 0 4px 0 0;
5835 }
5836
5837
5838 /* Geolocate Button
5839 ------------------------------------------------------- */
5840 .geolocate-control {
5841     margin-bottom: 10px;
5842 }
5843 .geolocate-control > button {
5844     border-radius: 0 0 0 4px;
5845 }
5846 [dir='rtl'] .geolocate-control > button {
5847     border-radius: 0 0 4px 0;
5848 }
5849
5850
5851 /* Background / Map Data / Help Pane buttons
5852 ------------------------------------------------------- */
5853 .background-control > button {
5854     border-radius: 4px 0 0 0;
5855 }
5856 [dir='rtl'] .background-control > button {
5857     border-radius: 0 4px 0 0;
5858 }
5859
5860 .help-control > button {
5861     border-radius: 0 0 0 4px;
5862 }
5863 [dir='rtl'] .help-control > button {
5864     border-radius: 0 0 4px 0;
5865 }
5866
5867
5868 /* Background / Map Data Settings
5869 ------------------------------------------------------- */
5870 .map-data-control,
5871 .background-control {
5872     position: relative;
5873 }
5874
5875 .imagery-faq {
5876     margin-bottom: 10px;
5877     white-space: nowrap;
5878 }
5879
5880 .layer-list, .controls-list {
5881     margin-bottom: 10px;
5882     border: 1px solid #ccc;
5883     border-radius: 4px;
5884 }
5885
5886 .layer-list > li {
5887     height: 30px;
5888     background-color: #fff;
5889     color: #7092ff;
5890     position: relative;
5891     display: flex;
5892 }
5893
5894 .layer-list:empty {
5895     display: none;
5896 }
5897
5898 .layer-list > li:first-child {
5899     border-radius: 3px 3px 0 0;
5900 }
5901 .layer-list > li:last-child {
5902     border-radius: 0 0 3px 3px;
5903 }
5904 .layer-list > li:only-child {
5905     border-radius: 3px;
5906 }
5907 .layer-list li:not(:last-child) {
5908     border-bottom: 1px solid #ccc;
5909 }
5910 .layer-list li:hover {
5911     background-color: #ececec;
5912 }
5913
5914 .layer-list li.active button,
5915 .layer-list li.switch button,
5916 .layer-list li.active,
5917 .layer-list li.switch {
5918     background: #e8ebff;
5919 }
5920
5921 .layer-list li.best > div.best {
5922     padding: 5px;
5923     flex: 0 0 auto;
5924 }
5925
5926 [dir='rtl'] .list-item-data-browse svg {
5927     transform: rotateY(180deg);
5928 }
5929
5930 /* make sure tooltip fits in map-control panel */
5931 /* if too wide, placement will be wrong the first time it displays */
5932 .layer-list li.best .popover-inner {
5933     max-width: 160px;
5934 }
5935
5936 .layer-list label {
5937     padding: 5px 10px;
5938     cursor: pointer;
5939     flex: 1 1 auto;
5940 }
5941
5942 [dir='ltr'] .layer-list .indented label {
5943     padding-left: 24px;
5944 }
5945 [dir='rtl'] .layer-list .indented label {
5946     padding-right: 24px;
5947 }
5948
5949 .layer-list label > span {
5950     display: block;
5951     overflow: hidden;
5952     white-space: nowrap;
5953     text-overflow: ellipsis;
5954 }
5955
5956 .map-data-pane .layer-list button,
5957 .background-pane .layer-list button {
5958     height: 100%;
5959     border-left: 1px solid #ccc;
5960     border-radius: 0;
5961     padding-left: 4px;
5962     padding-right: 4px;
5963 }
5964 [dir='rtl'] .map-data-pane .layer-list button,
5965 [dir='rtl'] .background-pane .layer-list button {
5966     border-left: none;
5967     border-right: 1px solid #ccc;
5968 }
5969
5970 .map-data-pane .layer-list button .icon,
5971 .background-pane .layer-list button .icon {
5972     opacity: 0.5;
5973 }
5974
5975 .map-data-pane .layer-list button:last-of-type,
5976 .background-pane .layer-list button:last-of-type {
5977     border-radius: 0 3px 3px 0;
5978 }
5979 [dir='rtl'] .map-data-pane .layer-list button:last-of-type,
5980 [dir='rtl'] .background-pane .layer-list button:last-of-type {
5981     border-radius: 3px 0 0 3px;
5982 }
5983
5984 .map-data-pane .vectortile-container .vectortile-header {
5985     padding-bottom: 5px;
5986 }
5987 .map-data-pane .vectortile-container .vectortile-footer {
5988     padding-bottom: 10px;
5989 }
5990
5991
5992 /* Issues
5993 ------------------------------------------------------- */
5994 .issue {
5995     overflow: hidden;
5996 }
5997 .issue .issue-label,
5998 .issue-label .issue-text {
5999     width: 100%;
6000     display: flex;
6001     flex-flow: row nowrap;
6002     cursor: pointer;
6003 }
6004
6005 .issue-text .issue-icon {
6006     flex: 0 0 auto;
6007     padding: 5px 7px;
6008 }
6009 .issue-text .issue-message {
6010     flex: 1 1 auto;
6011     padding: 5px 0;
6012 }
6013 .issue-label .issue-autofix {
6014     flex: 0 0 auto;
6015     padding: 5px 8px;
6016 }
6017 .issue-label .issue-info-button {
6018     height: unset;
6019     width: 32px;
6020     flex: 0 0 auto;
6021     border-left: 1px solid #ccc;
6022     background-color: rgba(0,0,0,0);
6023 }
6024 [dir='rtl'] .issue-label .issue-info-button {
6025     border-left: 0;
6026     border-right: 1px solid #ccc;
6027 }
6028 .issue-container .issue-label .issue-info-button .icon {
6029     opacity: 0.5;
6030 }
6031 .issue-container.active .issue-label .issue-info-button .icon {
6032     opacity: 0.7;
6033 }
6034 .issue-label .issue-info-button:last-child {
6035     border-radius: 0 4px 4px 0;
6036 }
6037 [dir='rtl'] .issue-label .issue-info-button:last-child {
6038     border-radius: 4px 0 0 4px;
6039 }
6040
6041 button.autofix.action {
6042     flex: 0 0 20px;
6043     height: 20px;
6044     width: 20px;
6045     background: #7092ff;
6046     color: #fff;
6047 }
6048 button.autofix.action:focus,
6049 button.autofix.action:hover,
6050 button.autofix.action.active {
6051     background: #597be7;
6052 }
6053
6054 /* fix all */
6055 .autofix-all {
6056     display: flex;
6057     flex-flow: row nowrap;
6058     flex-direction: row-reverse;
6059     margin-top: -25px;
6060     padding-bottom: 5px;
6061 }
6062 .autofix-all-link-text {
6063     padding: 0;
6064 }
6065 .autofix-all-link-icon svg {
6066     margin: 0 9px;
6067     background: currentColor;
6068     border-radius: 4px;
6069 }
6070 .autofix-all-link-icon svg use {
6071     color: #fff;
6072 }
6073
6074 /* warning styles */
6075 .warnings-list,
6076 .warnings-list *,
6077 .issue-container.active .issue.severity-warning,
6078 .issue-container.active .issue.severity-warning * {
6079     border-color: #fb2;
6080 }
6081
6082 .warnings-list .issue.severity-warning .issue-label,
6083 .issue.severity-warning .issue-fix-list,
6084 .mode-save .warning-section {
6085     background: #ffc;
6086 }
6087
6088 .issue-container.active .issue.severity-warning .issue-label {
6089     background: #ffa;
6090 }
6091
6092 .warnings-list .issue.severity-warning .issue-label:hover,
6093 .issue.severity-warning .issue-fix-item.actionable:hover {
6094     background: #ff8;
6095 }
6096
6097 .issue.severity-warning .issue-icon {
6098     color: #f90;
6099 }
6100
6101 .issue.severity-warning .issue-fix-item.actionable,
6102 .issue-container.active .issue.severity-warning .issue-info-button {
6103     color: #b15500;
6104     fill: #b15500;
6105     /*color: #7092ff;*/
6106     /*fill: #7092ff;*/
6107 }
6108 .issue.severity-warning .issue-fix-item.actionable:hover,
6109 .issue-container.active .issue.severity-warning .issue-info-button:hover {
6110     color: #7f3d00;
6111     fill: #7f3d00;
6112     /*color: #597be7;*/
6113     /*fill: #597be7;*/
6114 }
6115
6116 .notification-badge.warning {
6117     color: #ffdf5c;
6118 }
6119
6120
6121 /* error styles */
6122 .errors-list,
6123 .errors-list *,
6124 .issue-container.active .issue.severity-error,
6125 .issue-container.active .issue.severity-error * {
6126     border-color: #f77;
6127 }
6128
6129 .errors-list .issue.severity-error .issue-label,
6130 .issue.severity-error .issue-fix-list,
6131 .mode-save .error-section {
6132     background: #ffd6d6;
6133 }
6134
6135 .issue-container.active .issue.severity-error .issue-label {
6136     background: #ffc6c6;
6137 }
6138
6139 .errors-list .issue.severity-error .issue-label:hover,
6140 .issue.severity-error .issue-fix-item.actionable:hover {
6141     background: #ffb6b6;
6142 }
6143
6144 .issue.severity-error .issue-icon {
6145     color: #dd1400;
6146 }
6147
6148 .issue.severity-error .issue-fix-item.actionable,
6149 .issue-container.active .issue.severity-error .issue-info-button {
6150     color: #b91201;
6151     fill: #b91201;
6152     /*color: #7092ff;*/
6153     /*fill: #7092ff;*/
6154 }
6155 .issue.severity-error .issue-fix-item.actionable:hover,
6156 .issue-container.active .issue.severity-error .issue-info-button:hover {
6157     color: #840c00;
6158     fill: #840c00;
6159     /*color: #597be7;*/
6160     /*fill: #597be7;*/
6161 }
6162
6163 .notification-badge.error {
6164     color: #ff0c05;
6165 }
6166
6167
6168 /* Issues Pane */
6169 .issues-options-container {
6170     display: table;
6171 }
6172 .issues-option {
6173     display: table-row;
6174 }
6175 .issues-option-title {
6176     display: table-cell;
6177     font-weight: bold;
6178     padding-right: 10px;
6179 }
6180 [dir='rtl'] .issues-option-title {
6181     padding-right: 0;
6182     padding-left: 10px;
6183 }
6184 .issues-option label {
6185     display: table-cell;
6186     padding: 0 10px;
6187 }
6188
6189 .layer-list.issues-list li.issue {
6190     border-color: inherit;    /* override .layer-list styles */
6191     color: inherit;
6192     height: unset;
6193 }
6194
6195 .layer-list.issue-rules-list,
6196 .layer-list.issues-list,
6197 .layer-list.layer-feature-list {
6198     margin-bottom: 0;
6199 }
6200 .section-footer {
6201     display: flex;
6202     flex-flow: row nowrap;
6203     flex-direction: row-reverse;
6204     height: 30px;
6205 }
6206 .section-footer a {
6207     padding: 5px;
6208 }
6209
6210 .issues-none .box {
6211     border-radius: 4px;
6212     border: 1px solid #72d979;
6213     background: #c6ffca;
6214     padding: 5px !important;
6215     display: flex;
6216 }
6217 .issues-none .icon {
6218     color: #05ac10;
6219 }
6220
6221 input.square-degrees-input {
6222     padding: 2px !important; /* important needed for rtl */
6223     width: 40px;
6224     height: unset;
6225     text-align: center;
6226     background: rgba(0,0,0,0);
6227     color: currentColor;
6228 }
6229
6230
6231 /* Entity Issues List */
6232 .entity-issues .issue-container .issue {
6233     border-radius: 4px;
6234     border: 1px solid #ccc;
6235     background: #f6f6f6;
6236 }
6237 .entity-issues .issue-container:not(.active) .issue-text:hover,
6238 .entity-issues .issue-container:not(.active) .issue-info-button:hover {
6239     background: #f1f1f1;
6240 }
6241 .entity-issues .issue .issue-label .issue-text {
6242     padding-right: 10px;
6243 }
6244 [dir='rtl'] .entity-issues .issue .issue-label .issue-text {
6245     padding-right: unset;
6246     padding-left: 10px;
6247 }
6248
6249 .entity-issues .issue-container.active .issue-label .issue-text {
6250     font-weight: bold;
6251 }
6252 .entity-issues .issue-container:not(:last-of-type) {
6253     margin-bottom: 5px;
6254 }
6255 .entity-issues .issue-container.active:not(:first-of-type) {
6256     margin-top: 10px;
6257 }
6258 .entity-issues .issue-container.active:not(:last-of-type) {
6259     margin-bottom: 10px;
6260 }
6261
6262 /* fixes */
6263 .entity-issues .issue-fix-list {
6264     border-top: 1px solid;
6265     border-color: inherit;
6266 }
6267 .entity-issues .issue-container.active .issue-fix-list:empty {
6268     display: none;
6269 }
6270
6271 li.issue-fix-item {
6272     padding: 2px 10px 2px 20px;
6273 }
6274 [dir='rtl'] li.issue-fix-item {
6275     padding: 2px 20px 2px 10px;
6276 }
6277 li.issue-fix-item:first-of-type {
6278     padding-top: 5px;
6279 }
6280 li.issue-fix-item:last-of-type {
6281     padding-bottom: 5px;
6282 }
6283
6284 li.issue-fix-item .fix-message {
6285     padding: 0 10px;
6286 }
6287
6288 li.issue-fix-item.actionable {
6289     cursor: pointer;
6290 }
6291 li.issue-fix-item:not(.actionable) .fix-icon {
6292     color: #555;
6293     fill: #555;
6294 }
6295
6296 .issue-container:not(.active) ul.issue-fix-list {
6297     display: none;
6298 }
6299
6300 .issue-info {
6301     flex: 1 1 auto;
6302     width: 100%;
6303     overflow: hidden;
6304     display: none;
6305     padding: 10px 0;
6306 }
6307 .issue-info.expanded {
6308     display: inline-block;
6309 }
6310
6311 .issue-info .issue-reference {
6312     margin-bottom: 10px;
6313 }
6314 .issue-info .tagDiff-table {
6315     min-width: 60%;
6316     width: unset;
6317     border: 1px solid #ccc;
6318 }
6319 .issue-info .tagDiff-row {
6320     border: 1px solid #ccc;
6321 }
6322 .issue-info .tagDiff-cell {
6323     padding: 2px 10px;
6324     font-family: monospace;
6325     font-size: 10px;
6326     border: 1px solid #ccc;
6327 }
6328 .issue-info .tagDiff-cell-add {
6329     background: #dfd;
6330 }
6331 .issue-info .tagDiff-cell-remove {
6332     background: #fdd;
6333 }
6334
6335
6336 /* Background - Display Options Sliders
6337 ------------------------------------------------------- */
6338 .display-options-container {
6339     padding: 10px;
6340 }
6341
6342 .display-control h5 {
6343     padding-bottom: 0;
6344     padding-top: 10px;
6345 }
6346
6347 .display-control h5 span {
6348     margin: 5px;
6349 }
6350
6351 .display-control .display-option-input {
6352     height: 20px;
6353     width: 155px;
6354 }
6355
6356 .display-control button {
6357     height: 30px;
6358     width: 30px;
6359     margin-left: 5px;
6360     margin-right: 0px;
6361     vertical-align: text-bottom;
6362     border-radius: 4px;
6363 }
6364 [dir='rtl'] .display-control button {
6365     margin-left: 0px;
6366     margin-right: 5px;
6367 }
6368
6369
6370 /* Background - Adjust Alignment
6371 ------------------------------------------------------- */
6372 .background-pane .nudge-container {
6373     border: 1px solid #ccc;
6374     border-radius: 4px;
6375     padding: 10px;
6376 }
6377
6378 .nudge-container .nudge-instructions {
6379     padding-bottom: 15px;
6380 }
6381
6382 .nudge-container .nudge-outer-rect {
6383     background-color: #eee;
6384     border: 1px solid #ccc;
6385     border-radius: 2px;
6386     padding: 20px 0;
6387     width: 70%;
6388     display: flex;
6389     justify-content: center;
6390     align-items: center;
6391     margin: 0 auto;
6392     margin-top: 20px;
6393     cursor: move;
6394 }
6395
6396 .nudge-container .nudge-inner-rect {
6397     background-color: #fff;
6398     border: 1px solid #ccc;
6399     border-radius: 2px;
6400     width: 65%;
6401     min-height: 20px;
6402 }
6403
6404 .nudge-container .nudge::after {
6405     content: '';
6406     display: block;
6407     position: absolute;
6408     margin: auto;
6409     left: 0; right: 0; top: 0; bottom: 0;
6410     height: 0;
6411     width: 0;
6412 }
6413
6414 .nudge-container input {
6415     width: 100%;
6416     height: 20px;
6417     text-align: center;
6418     border: 0;
6419 }
6420
6421 .nudge-container input.error {
6422     border: 1px solid #ff7878;
6423     border-radius: 2px;
6424     background: #ffb;
6425 }
6426
6427 .nudge-container input:focus {
6428     background-color: transparent;
6429 }
6430
6431 .nudge-container button {
6432     float: left;
6433     display: block;
6434     width: 20%;
6435     position: relative;
6436     background-color: transparent;
6437 }
6438
6439 .nudge-container button.right {
6440     top: -50px;
6441     right: -85%;
6442 }
6443
6444 .nudge-container button.left {
6445     top: -50px;
6446     right: 45%;
6447 }
6448
6449 .nudge-container button.top {
6450     left: 20%;
6451     top: -104px;
6452 }
6453
6454 .nudge-container button.bottom {
6455     left: -20%;
6456 }
6457
6458 .nudge-container button.nudge-reset {
6459     right: -10px;
6460 }
6461
6462 .nudge-surface {
6463    position: absolute;
6464    z-index: 5000;
6465    left: 0;
6466    top: 0;
6467    width: 100%;
6468    height: 100%;
6469    background-color: transparent;
6470    cursor: move;
6471 }
6472
6473 .background-pane .nudge.right::after {
6474     border-top: 5px solid transparent;
6475     border-bottom: 5px solid transparent;
6476     border-left: 5px solid #222;
6477 }
6478
6479 .background-pane .nudge.left::after {
6480     border-top: 5px solid transparent;
6481     border-bottom: 5px solid transparent;
6482     border-right: 5px solid #222;
6483 }
6484
6485 .background-pane .nudge.top::after {
6486     border-right: 5px solid transparent;
6487     border-left: 5px solid transparent;
6488     border-bottom: 5px solid #222;
6489 }
6490
6491 .background-pane .nudge.bottom::after {
6492     border-right: 5px solid transparent;
6493     border-left: 5px solid transparent;
6494     border-top: 5px solid #222;
6495 }
6496
6497
6498 /* Side Panes - Background / Map Data / Help
6499 ------------------------------------------------------- */
6500 .map-panes {
6501     flex: 0 1 auto;
6502     position: relative;
6503     height: 100%;
6504 }
6505 .map-pane {
6506     position: relative;
6507     top: 0;
6508     width: 400px;
6509     height: 100%;
6510     padding-bottom: 60px;
6511     overflow: hidden;
6512     z-index: 10;
6513 }
6514
6515 .map-pane.help-wrap {
6516     width: 600px;
6517 }
6518
6519 .pane-heading {
6520     display: flex;
6521     flex-flow: row nowrap;
6522     justify-content: space-between;
6523     border-bottom: 1px solid #ccc;
6524     height: 60px;
6525 }
6526
6527 .pane-heading h2 {
6528     margin: 14px 20px;
6529 }
6530
6531 .pane-heading button {
6532     width: 40px;
6533     height: 100%;
6534     border-radius: 0;
6535 }
6536
6537 .pane-content {
6538     height: 100%;
6539     padding: 10px 40px 20px 20px;
6540     overflow-x: hidden;
6541     overflow-y: scroll;
6542     position: relative;
6543 }
6544 [dir='rtl'] .pane-content {
6545     padding: 10px 20px 20px 40px;
6546 }
6547
6548 .pane-content > div {
6549     padding-bottom: 15px;
6550 }
6551
6552
6553 /* Help
6554 ------------------------------------------------------- */
6555 .help-wrap p {
6556     font-size: 15px;
6557     margin-bottom: 20px;
6558 }
6559
6560 .help-wrap .left-content .body p code {
6561     padding: 3px 4px;
6562     font-size: 12px;
6563     color: #555;
6564     vertical-align: baseline;
6565     background-color: #f6f6f6;
6566     border: solid 1px #ccc;
6567     margin: 0 2px;
6568     border-bottom-color: #bbb;
6569     border-radius: 3px;
6570     box-shadow: inset 0 -1px 0 #bbb;
6571 }
6572
6573 .help-wrap .left-content .icon.pre-text {
6574     vertical-align: text-top;
6575     margin-right: 0;
6576     margin-left: 0;
6577     display: inline-block;
6578 }
6579
6580 .help-wrap .toc {
6581     width: 40%;
6582     float: right;
6583     margin-left: 20px;
6584     margin-bottom: 20px;
6585     padding-left: 5px;
6586 }
6587
6588 .help-wrap .toc li a,
6589 .help-wrap .nav a {
6590     display: block;
6591     border: 1px solid #ccc;
6592     padding: 5px 10px;
6593 }
6594
6595 .help-wrap .toc li a {
6596     border-bottom: 0;
6597 }
6598
6599 .help-wrap .toc li a:hover,
6600 .help-wrap .nav a:hover {
6601     background: #ececec;
6602 }
6603
6604 .help-wrap .toc li a.selected {
6605     background: #e8ebff;
6606 }
6607
6608 .help-wrap .toc li:first-child a {
6609     border-radius: 4px 4px 0 0;
6610 }
6611
6612 .help-wrap .toc li:nth-last-child(3) a {
6613     border-bottom: 1px solid #ccc;
6614     border-radius: 0 0 4px 4px
6615 }
6616
6617 .help-wrap .toc li.shortcuts a,
6618 .help-wrap .toc li.walkthrough a {
6619     overflow: hidden;
6620     margin-top: 10px;
6621     border-bottom: 1px solid #ccc;
6622     border-radius: 4px;
6623 }
6624
6625 .help-wrap .toc li.walkthrough a {
6626     text-align: center;
6627 }
6628
6629 .help-wrap .nav {
6630     position: relative;
6631     padding-bottom: 30px;
6632 }
6633
6634 .help-wrap .nav a {
6635     float: left;
6636     width: 50%;
6637     text-align: center;
6638 }
6639
6640 .help-wrap .nav a:first-child {
6641     border-radius: 4px 0 0 4px;
6642 }
6643
6644 .help-wrap .nav a:last-child:not(:only-child) {
6645     border-radius: 0 4px 4px 0;
6646     border-left: 0;
6647 }
6648
6649 .help-wrap .nav a:only-child {
6650     width: 100%;
6651     border-radius: 4px;
6652 }
6653
6654
6655 /* Inspector (hover styles)
6656 ------------------------------------------------------- */
6657 .inspector-hover .entity-issues .issue-container .issue .issue-label,
6658 .inspector-hover .form-field-input-wrap .label,
6659 .inspector-hover .form-field-input-multicombo .chiplist,
6660 .inspector-hover .form-field-button,
6661 .inspector-hover .structure-extras-wrap,
6662 .inspector-hover .comments-container .comment,
6663 .inspector-hover button,
6664 .inspector-hover input,
6665 .inspector-hover textarea,
6666 .inspector-hover label {
6667     background: #ececec;
6668 }
6669 .inspector-hover .preset-list-button,
6670 .inspector-hover .tag-row input {
6671     background: #f6f6f6;
6672 }
6673
6674 .inspector-hover a,
6675 .inspector-hover .form-field-input-multicombo .chips,
6676 .inspector-hover .form-field-input-check span,
6677 .inspector-hover .entity-issues .issue .icon {
6678     color: #666;
6679 }
6680
6681 .inspector-hover .form-field-input-multicombo .chips {
6682     background: #eee;
6683     border: 1px solid #ccc;
6684 }
6685
6686 /* no scrollbars */
6687 .inspector-hover div {
6688     overflow-x: hidden;
6689     overflow-y: hidden;
6690 }
6691
6692 /* hide and remove from layout */
6693 .inspector-hidden,
6694 .inspector-hover .preset-list-button-wrap .tag-reference-button,
6695 .inspector-hover label input[type="checkbox"],
6696 .inspector-hover label input[type="radio"],
6697 .inspector-hover .form-field-input-multicombo .input-wrap,
6698 .inspector-hover .form-field-input-radio label,
6699 .inspector-hover .form-field-input-radio label span,
6700 .inspector-hover .form-field-input-radio label.remove .icon,
6701 .inspector-hover .inspector-inner .add-row,
6702 .inspector-hover .entity-issues .issue-container .issue-fix-list,
6703 .inspector-hover .entity-issues .issue-container .issue-info-button {
6704     display: none;
6705 }
6706
6707 /* hide but preserve in layout */
6708 .inspector-hover .combobox-caret,
6709 .inspector-hover .header button,
6710 .inspector-hover .quick-links,
6711 .inspector-hover .form-field-input-multicombo .chips .remove,
6712 .inspector-hover .hide-toggle:before,
6713 .inspector-hover .more-fields,
6714 .inspector-hover .field-label button,
6715 .inspector-hover .tag-row button,
6716 .inspector-hover .footer * {
6717     opacity: 0;
6718 }
6719
6720 /* Unstyle the active entity issue on hover */
6721 .inspector-hover .entity-issues .issue-container.active {
6722     margin-top: 1px;
6723     margin-bottom: 1px;
6724 }
6725 .inspector-hover .entity-issues .issue-container * {
6726     border-color: #ccc !important;
6727 }
6728 .inspector-hover .entity-issues .issue-container.active .issue-label {
6729     border-bottom: 0;
6730 }
6731 .inspector-hover .entity-issues .issue-container.active .issue-label .issue-text {
6732     font-weight: normal;
6733 }
6734
6735
6736 /* Styles for raw tag inspector on hover */
6737 .inspector-hover .tag-row .key-wrap,
6738 .inspector-hover .tag-row .value-wrap {
6739     height: 31px;
6740 }
6741
6742 .inspector-hover .tag-row:first-child input.value {
6743     border-top-right-radius: 4px;
6744 }
6745 [dir='rtl'] .inspector-hover .tag-row:first-child input.value {
6746     border-top-right-radius: 0;
6747     border-top-left-radius: 4px;
6748 }
6749
6750 .inspector-hover .tag-row:last-child input.value {
6751     border-bottom-right-radius: 4px;
6752 }
6753 [dir='rtl'] .inspector-hover .tag-row:last-child input.value {
6754     border-bottom-right-radius: 0;
6755     border-bottom-left-radius: 4px;
6756 }
6757
6758 .inspector-hover .tag-row:last-child input.key {
6759     border-bottom-left-radius: 4px;
6760 }
6761 [dir='rtl'] .inspector-hover .tag-row:last-child input.key {
6762     border-bottom-left-radius: 0;
6763     border-bottom-right-radius: 4px;
6764 }
6765
6766 .inspector-hover .more-fields {
6767     max-height: 0;
6768     margin-bottom: -10px;
6769 }
6770
6771 /* Unstyle button fields */
6772 .inspector-hover .form-field-input-radio label.active,
6773 .inspector-hover .entity-editor-pane a.hide-toggle {
6774     opacity: 1;
6775     background-color: transparent;
6776     color: #666;
6777     padding-left: 0;
6778     border-width: 0;
6779 }
6780 .inspector-hover .form-field-input-radio button.active {
6781     padding-left: 10px;
6782 }
6783
6784 /* Show placeholder on hover for radio buttons */
6785 .inspector-hover .form-field-input-radio {
6786     border: 1px solid #ccc;
6787     border-top: 0;
6788     border-radius: 0 0 4px 4px;
6789 }
6790 .inspector-hover .form-field-input-radio .placeholder {
6791     opacity: 1;
6792     color: #666;
6793     padding: 5px 10px;
6794     line-height: 20px;
6795     width: 100%;
6796     border: 0;
6797 }
6798 .inspector-hover .form-field-input-radio .structure-extras-wrap {
6799     border: 0;
6800 }
6801
6802
6803 /* Raster Background Tiles
6804 ------------------------------------------------------- */
6805 img.tile {
6806     position: absolute;
6807     transform-origin: 0 0;
6808     -ms-transform-origin: 0 0;
6809     -webkit-transform-origin: 0 0;
6810     -moz-transform-origin: 0 0;
6811     -o-transform-origin: 0 0;
6812
6813     -moz-user-select: none;
6814     -webkit-user-select: none;
6815     -ms-user-select: none;
6816     user-select: none;
6817
6818     opacity: 0;
6819
6820     -webkit-transition: opacity 200ms linear;
6821     -moz-transition: opacity 200ms linear;
6822     transition: opacity 200ms linear;
6823 }
6824
6825 img.tile-loaded {
6826     opacity: 1;
6827 }
6828
6829 img.tile-removing {
6830     opacity: 0;
6831 }
6832
6833 .tile-label-debug {
6834     font-size: 10px;
6835     background: rgba(0, 0, 0, 0.7);
6836     color: #fff;
6837     position: absolute;
6838     text-align: center;
6839     padding: 5px;
6840     border-radius: 3px;
6841     z-index: 2;
6842     margin-left: -70px;
6843     margin-top: -20px;
6844
6845     transform-origin: 0 0;
6846     -ms-transform-origin: 0 0;
6847     -webkit-transform-origin: 0 0;
6848     -moz-transform-origin: 0 0;
6849     -o-transform-origin: 0 0;
6850
6851     -moz-user-select: none;
6852     -webkit-user-select: none;
6853     -ms-user-select: none;
6854     user-select: none;
6855 }
6856
6857 img.tile-debug {
6858     outline: 1px solid red;
6859 }
6860
6861
6862 /* Map
6863 ------------------------------------------------------- */
6864 #map {
6865     position: relative;
6866     overflow: hidden;
6867     height: 100%;
6868     background: #000;
6869     -moz-user-select: none;
6870     -webkit-user-select: none;
6871     -ms-user-select: none;
6872     user-select: none;
6873 }
6874
6875 #supersurface {
6876     transform-origin: 0 0;
6877     -ms-transform-origin: 0 0;
6878     -webkit-transform-origin: 0 0;
6879     -moz-transform-origin: 0 0;
6880     -o-transform-origin: 0 0;
6881 }
6882
6883 #supersurface, .layer {
6884     position: absolute;
6885     top: 0;
6886     left: 0;
6887     right: 0;
6888     bottom: 0;
6889 }
6890
6891
6892 /* Map-In-Map
6893 ------------------------------------------------------- */
6894 .map-in-map {
6895     position: absolute;
6896     overflow: hidden;
6897     top: 10px;
6898     width: 200px;
6899     height: 150px;
6900     z-index: 5;
6901     background: #000;
6902     border: #aaa 1px solid;
6903     box-shadow: 0 0 2em black;
6904 }
6905 [dir='ltr'] .map-in-map {
6906     left: 10px;
6907 }
6908 [dir='rtl'] .map-in-map {
6909     right: 10px;
6910 }
6911
6912 .map-in-map-tiles {
6913     transform-origin: 0 0;
6914     -ms-transform-origin: 0 0;
6915     -webkit-transform-origin: 0 0;
6916     -moz-transform-origin: 0 0;
6917     -o-transform-origin: 0 0;
6918
6919     -moz-user-select: none;
6920     -webkit-user-select: none;
6921     -ms-user-select: none;
6922     user-select: none;
6923 }
6924
6925 .map-in-map-viewport,
6926 .map-in-map-data {
6927     top: 0;
6928     left: 0;
6929     overflow: hidden;
6930     height: 100%;
6931     width: 100%;
6932 }
6933
6934 .map-in-map-viewport {
6935     position: absolute;
6936 }
6937
6938 .map-in-map-data {
6939     position: relative;
6940     z-index: 10;
6941 }
6942
6943 .map-in-map-bbox {
6944     fill: none;
6945     stroke: rgba(255, 255, 0, 0.75);
6946     stroke-width: 1;
6947     shape-rendering: crispEdges;
6948 }
6949
6950 .map-in-map-bbox.thick {
6951     stroke-width: 5;
6952 }
6953
6954
6955 /* Debug Data
6956 ------------------------------------------------------- */
6957 .debug {
6958     stroke: currentColor;
6959     fill: none;
6960     stroke-width: 2;
6961 }
6962 .map-in-map-data .debug {
6963     stroke-width: 1;
6964 }
6965
6966 .nocolor { color: rgba(0, 0, 0, 0); }
6967 .red     { color: rgba(255, 0, 0, 0.75); }
6968 .green   { color: rgba(0, 255, 0, 0.75); }
6969 .blue    { color: rgba(176, 176, 255, 0.75); }
6970 .yellow  { color: rgba(255, 255, 0, 0.75); }
6971 .cyan    { color: rgba(0, 255, 255, 0.75); }
6972 .magenta { color: rgba(255, 0, 255, 0.75); }
6973 .orange  { color: rgba(255, 153, 0, 0.75); }
6974 .pink    { color: rgba(255, 0, 153, 0.75); }
6975 .purple  { color: rgba(153, 0, 255, 0.75); }
6976
6977 .debug-legend {
6978     position: absolute;
6979     top: 70px;
6980     right: 80px;
6981     padding: 5px;
6982     border-radius: 4px;
6983     pointer-events: none;
6984 }
6985
6986 .debug-legend-item {
6987     padding-right: 5px;
6988 }
6989 .debug-legend-item:before {
6990     content: "\25A0";
6991     padding: 0 5px;
6992 }
6993
6994
6995 .over-map {
6996     position: absolute;
6997     left: 0;
6998     right: 0;
6999     top: 71px;
7000     bottom: 30px;
7001     pointer-events: none;
7002     display: flex;
7003     flex-direction: row-reverse;
7004     align-items: flex-end;
7005 }
7006 .over-map > * {
7007     pointer-events: auto;
7008 }
7009
7010 /* Information Panels
7011 ------------------------------------------------------- */
7012 .info-panels {
7013     display: flex;
7014     flex-flow: row-reverse wrap-reverse;
7015     width: 100%;
7016     z-index: 1;
7017     -ms-user-select: element;
7018     pointer-events: none;
7019 }
7020
7021 .panel-container h1,
7022 .panel-container h2,
7023 .panel-container h3,
7024 .panel-container h4,
7025 .panel-container h5 {
7026     display: inline-block;
7027     margin-bottom: 0;
7028 }
7029
7030 .panel-container h1,
7031 .panel-container h2,
7032 .panel-container h3 {
7033     color: #ff8;
7034 }
7035
7036 .panel-container {
7037     flex: 0 0 auto;
7038     margin: 0 2px 2px 0;
7039     border-radius: 4px;
7040     border: 1px solid rgba(0, 0, 0, 0.75);
7041     padding-bottom: 10px;
7042     width: 250px;
7043     pointer-events: auto;
7044 }
7045
7046 .panel-container .panel-title {
7047     border-radius: 4px 4px 0 0;
7048 }
7049
7050 .panel-title {
7051     padding: 5px 10px;
7052 }
7053
7054 .panel-title button.close {
7055     float: right;
7056     height: 20px;
7057     background: none;
7058     color: #ddd;
7059 }
7060 [dir='rtl'] .panel-title button.close {
7061     float: left;
7062 }
7063
7064 .panel-title button.close:hover {
7065     color: #fff;
7066 }
7067 .panel-title button.close .icon {
7068     height: 20px;
7069     width: 16px;
7070 }
7071
7072 .panel-content {
7073     padding: 5px 10px;
7074     position: relative;
7075 }
7076
7077 .panel-content li span {
7078     display: inline-block;
7079     white-space: nowrap;
7080     margin: 0 8px;
7081 }
7082
7083 .panel-content .button {
7084     display: inline-block;
7085     background: #7092ff;
7086     border-radius: 2px;
7087     padding: 0 4px;
7088     margin-top: 10px;
7089     margin-right: 10px;
7090     color: #fff;
7091 }
7092 [dir='rtl'] .panel-content .button {
7093     margin-right: auto;
7094     margin-left: 10px;
7095 }
7096
7097 .panel-content-history .links a {
7098     margin-left: 8px;
7099 }
7100 [dir='rtl'] .panel-content-history .links a {
7101     margin-left: auto;
7102     margin-right: 8px;
7103 }
7104 .panel-content-history h4 {
7105     padding-bottom: 0;
7106 }
7107 .panel-content-location .location-info {
7108     margin-top: 10px;
7109 }
7110
7111
7112 /* About Section, Attribution, Footer
7113 ------------------------------------------------------- */
7114 #about {
7115     width: 100%;
7116     position: absolute;
7117     right: 0;
7118     bottom: 0;
7119     border-radius: 0;
7120     pointer-events: none;
7121     display: flex;
7122     flex-direction: column;
7123     -ms-user-select: element;
7124 }
7125
7126 #attrib {
7127     width: 100%;
7128     height: 20px;
7129     margin-bottom: 5px;
7130 }
7131
7132 #attrib * { pointer-events: all; }
7133
7134 .base-layer-attribution,
7135 .overlay-layer-attribution {
7136     position: absolute;
7137     color: #ccc;
7138     font-size: 10px;
7139 }
7140
7141 .base-layer-attribution {
7142     left: 10px;
7143 }
7144
7145 .overlay-layer-attribution {
7146     right: 10px;
7147 }
7148
7149 .overlay-layer-attribution .attribution:not(:last-child):after {
7150     content: '; ';
7151 }
7152
7153 .attribution a,
7154 .attribution a:visited {
7155     color: #ccf;
7156 }
7157
7158 .attribution a:hover {
7159     color: #aaf;
7160 }
7161
7162 .attribution .source-image {
7163     height: 20px;
7164     vertical-align: middle;
7165     border-radius: 3px;
7166 }
7167
7168 .attribution span {
7169     margin: 0 3px;
7170 }
7171
7172 #footer {
7173     pointer-events: all;
7174     display: block;
7175     height: 30px;
7176 }
7177
7178
7179 /* Footer - Flash messages
7180 ------------------------------------------------------- */
7181 #flash-wrap {
7182     display: flex;
7183     flex: 0 0 100%;
7184     flex-flow: row nowrap;
7185     justify-content: space-between;
7186     max-height: 30px;
7187     position: absolute;
7188     right: 0;
7189     left: 0;
7190 }
7191
7192 .flash-content {
7193     display: flex;
7194     flex: 1 0 auto;
7195     flex-flow: row nowrap;
7196     align-items: center;
7197     padding: 2px;
7198     height: 30px;
7199 }
7200
7201 .flash-icon {
7202     flex: 0 0 auto;
7203     width: 20px;
7204     height: 20px;
7205     margin: 0 8px;
7206 }
7207
7208 .flash-icon circle {
7209     fill: #eee;
7210 }
7211 .flash-icon.disabled circle {
7212     cursor: auto;
7213     fill: rgba(255,255,255,0.7);
7214 }
7215
7216 .flash-icon use {
7217     color: #222;
7218 }
7219 .flash-icon.disabled use {
7220     color: rgba(32,32,32,0.7);
7221 }
7222
7223 .flash-icon.operation use {
7224     fill: #222;
7225     color: #79f;
7226 }
7227 .flash-icon.operation.disabled use {
7228     fill: rgba(32,32,32,0.7);
7229     color: rgba(40,40,40,0.7);
7230 }
7231
7232 .flash-text {
7233     flex: 1 1 auto;
7234 }
7235
7236 #footer-wrap {
7237     display: flex;
7238     flex: 0 0 100%;
7239     flex-flow: row nowrap;
7240     justify-content: space-between;
7241     max-height: 30px;
7242     position: absolute;
7243     right: 0;
7244     left: 0;
7245 }
7246
7247 .footer-show {
7248     bottom: 0px;
7249     transition: bottom 75ms linear;
7250     -moz-transition: bottom 75ms linear;
7251     -webkit-transition: bottom 75ms linear;
7252 }
7253
7254 .footer-hide {
7255     bottom: -35px;
7256     transition: bottom 75ms linear;
7257     -moz-transition: bottom 75ms linear;
7258     -webkit-transition: bottom 75ms linear;
7259 }
7260
7261
7262 /* Footer - Scale bar, About, Source Switcher
7263 ------------------------------------------------------- */
7264 #scale-block {
7265     vertical-align: bottom;
7266     width: 250px;
7267     max-height: 30px;
7268     flex: 0 0 250px;
7269     -moz-user-select: none;
7270     -webkit-user-select: none;
7271     -ms-user-select: none;
7272     user-select: none;
7273 }
7274
7275 #info-block {
7276     max-height: 30px;
7277     flex: 1 1 auto;
7278 }
7279
7280 #scale {
7281     height: 30px;
7282     width: 100%;
7283 }
7284 [dir='rtl'] #scale {
7285     transform: scaleX(-1);
7286 }
7287
7288 #scale:hover {
7289     cursor: pointer;
7290 }
7291
7292 #scale text {
7293     font: 12px sans-serif;
7294     stroke: none;
7295     fill: #ccc;
7296     text-anchor: start;
7297 }
7298 [dir='rtl'] #scale text {
7299     transform: scaleX(-1);
7300 }
7301
7302 #scale path {
7303     fill: none;
7304     stroke: #ccc;
7305     stroke-width: 1;
7306     shape-rendering: crispEdges;
7307 }
7308
7309 #about-list {
7310     text-align: right;
7311     margin-right: 10px;
7312     clear: right;
7313     overflow: hidden;
7314 }
7315 [dir='rtl'] #about-list {
7316     text-align: left;
7317     clear: left;
7318     margin-left: 10px;
7319     margin-right: 0;
7320 }
7321
7322 #about-list li {
7323     float: right;
7324     border-left: 1px solid rgba(255,255,255,.5);
7325     padding: 5px 0 5px 5px;
7326     margin-left: 5px;
7327 }
7328 [dir='rtl'] #about-list li {
7329     float: left;
7330     border-left: none;
7331     border-right: 1px solid rgba(255,255,255,.5);
7332     margin-left: 0;
7333     margin-right: 5px;
7334     padding: 5px 5px 5px 0;
7335 }
7336 #about-list li:empty {
7337     display: none;
7338 }
7339
7340 #about-list li:last-child {
7341     border-left: 0;
7342     margin-left: 0;
7343     padding-left: 0;
7344 }
7345 [dir='rtl'] #about-list li:last-child {
7346     border-right: none;
7347 }
7348
7349 #about-list a.chip {
7350     padding: 2px 4px 3px 4px;
7351     border-radius: 2px;
7352     color: #eee;
7353 }
7354 #about-list a.chip .icon {
7355     width: 14px;
7356     height: 14px;
7357     margin-top: 3px;
7358 }
7359 [dir='ltr'] #about-list a.chip .icon,
7360 [dir='ltr'] #about-list a.chip span {
7361     margin-right: 3px;
7362 }
7363 [dir='rtl'] #about-list a.chip .icon,
7364 [dir='rtl'] #about-list a.chip span {
7365     margin-left: 3px;
7366 }
7367
7368 .source-switch a.chip.live {
7369     background: #d32232;
7370     color: #fff;
7371 }
7372
7373 .feature-warning a.chip {
7374     background: #1e90ff;
7375 }
7376
7377 .issues-info a.chip.resolved-count {
7378     background: #15911E;
7379 }
7380 .issues-info a.chip.warnings-count {
7381     background: #DF8500;
7382 }
7383 [dir='ltr'] .issues-info a.chip:not(:last-child) {
7384     margin-right: 5px;
7385 }
7386 [dir='rtl'] .issues-info a.chip:not(:last-child) {
7387     margin-left: 5px;
7388 }
7389
7390 .user-list a:not(:last-child):after {
7391     content: ', ';
7392 }
7393
7394 .api-status {
7395     text-align: right;
7396     padding: 1px 10px;
7397     color: #eee;
7398     flex: 1 1 auto;
7399 }
7400 [dir='rtl'] .api-status {
7401     text-align: left;
7402 }
7403
7404 .api-status.offline,
7405 .api-status.readonly,
7406 .api-status.error {
7407     background: #a22;
7408 }
7409
7410 .api-status a {
7411     text-decoration: underline;
7412     color: #ccc;
7413     pointer-events: all;
7414 }
7415 .api-status a:hover {
7416     color: inherit;
7417 }
7418
7419 /* Notification Badges
7420 ------------------------------------------------------- */
7421 /* For an icon (e.g. new version) */
7422 .badge {
7423     display: inline-block;
7424     background: #d32232;
7425     width: 21px;
7426     height: 20px;
7427     border-radius: 11px;
7428     margin-left: 6px;
7429 }
7430 [dir='rtl'] .badge {
7431     margin-left: 0;
7432     margin-right: 6px;
7433 }
7434 .badge a {
7435     margin-right: 5px;
7436 }
7437 [dir='rtl'] .badge a {
7438     margin-right: 0;
7439     margin-left: 5px;
7440 }
7441 .badge .icon {
7442     vertical-align: baseline;
7443     width: 11px;
7444     height: 11px;
7445     color: #fff;
7446 }
7447
7448 /* For text (e.g. upcoming events) */
7449 .badge-text {
7450     display: inline-block;
7451     color: #fff;
7452     text-align: center;
7453     width: 16px;
7454     height: 16px;
7455     font-size: 10px;
7456     font-weight: bold;
7457     margin-left: 5px;
7458     background: #f00;
7459     border-radius: 9px;
7460 }
7461 [dir='rtl'] .badge-text {
7462     margin-left: 0;
7463     margin-right: 5px;
7464 }
7465
7466
7467 /* Modals / Prompts
7468 ------------------------------------------------------- */
7469 .modal {
7470     top: 40px;
7471     display: inline-block;
7472     position: absolute;
7473     border-radius: 3px;
7474     overflow: hidden;
7475     left: 0;
7476     right: 0;
7477     margin: auto;
7478     z-index: 50;
7479     width: 50%;
7480     min-width: 200px;
7481     max-width: 600px;
7482 }
7483
7484 .modal .loader {
7485     margin-bottom: 10px;
7486 }
7487 .modal .description {
7488     text-align: center;
7489 }
7490
7491 .shaded {
7492     z-index: 5000;
7493     position: absolute;
7494     top: 0;
7495     bottom: 0;
7496     left: 0;
7497     right: 0;
7498     overflow: auto;
7499 }
7500 .shaded:before {
7501     content:'';
7502     background: rgba(0,0,0,0.5);
7503     position: fixed;
7504     left: 0px; right: 0px; top: 0px; bottom: 0px;
7505 }
7506
7507 .modal-section {
7508     padding: 20px;
7509     border-bottom: 1px solid #ccc;
7510 }
7511 .modal-section p:not(:last-of-type) {
7512     padding-bottom: 20px;
7513 }
7514 .modal-section.header h3 {
7515     padding: 0;
7516 }
7517 .modal-section.buttons {
7518     text-align: center;
7519 }
7520
7521 .modal-section.buttons button {
7522     min-width: 130px;
7523 }
7524
7525 .modal-section.buttons .action {
7526     display: inline-block;
7527     margin: 0 10px;
7528     text-align: center;
7529     vertical-align: middle;
7530 }
7531
7532 .save-section .buttons {
7533     display: flex;
7534     flex-wrap: wrap;
7535     justify-content: space-around;
7536     margin-bottom: 30px;
7537 }
7538
7539 .save-section .buttons .action,
7540 .save-section .buttons .secondary-action {
7541     width: 45%;
7542     margin: 10px auto;
7543     text-align: center;
7544     vertical-align: middle;
7545 }
7546
7547 .loading-modal {
7548     text-align: center;
7549 }
7550 .modal-actions {
7551     display: flex;
7552 }
7553 .modal-actions button {
7554     font-weight: normal;
7555     color: #7092ff;
7556     border-bottom: 1px solid #ccc;
7557     border-radius: 0;
7558     height: 160px;
7559     text-align: center;
7560     width: 100%;
7561 }
7562 .modal-actions button:hover {
7563     background-color: #ececec;
7564 }
7565
7566 .logo-small {
7567     height: 40px;
7568     width: 40px;
7569     margin: auto;
7570 }
7571
7572 .logo {
7573     height: 100px;
7574     width: 100%;
7575     max-width: 100px;
7576     margin: auto;
7577 }
7578
7579 .modal-actions > :first-child {
7580     border-right: 1px solid #ccc;
7581 }
7582
7583 .modal-section:last-child {
7584     border-bottom: 0;
7585 }
7586
7587 /* Restore Modal
7588 ------------------------------------------------------- */
7589 .modal-actions .logo-restore {
7590     color: #7092ff;
7591 }
7592 .modal-actions .logo-reset {
7593     color: #e06c5e;
7594 }
7595
7596 /* Success Screen / Community Index
7597 ------------------------------------------------------- */
7598 .save-success.body {
7599     overflow-y: scroll;
7600     overflow-x: hidden;
7601 }
7602
7603 .save-success .link-out {
7604     margin: 0px 5px;
7605     white-space: nowrap;
7606 }
7607
7608 .save-summary,
7609 .save-communityLinks {
7610     padding: 0px 20px 15px 20px;
7611 }
7612
7613 .save-communityLinks {
7614     border-top: 1px solid #ccc;
7615 }
7616
7617 .save-success table,
7618 .save-success p {
7619     margin-top: 15px;
7620 }
7621 .save-success h3 {
7622     font-size: 14px;
7623     margin-top: 15px;
7624     line-height: 1.5;
7625     padding-bottom: 0;
7626 }
7627 .save-success td {
7628     vertical-align: top;
7629 }
7630 .save-success td.cell-icon {
7631     width: 40px;
7632 }
7633 .save-success td.cell-detail {
7634     padding: 0 10px;
7635 }
7636 .save-success td.community-detail {
7637     padding-bottom: 15px;
7638 }
7639
7640 .summary-view-on-osm,
7641 .community-name {
7642     font-size: 14px;
7643     font-weight: bold;
7644 }
7645 .community-languages {
7646     margin-top: 5px;
7647     font-style: italic;
7648 }
7649 .community-languages:only-child {
7650     margin-top: 0;
7651 }
7652
7653 .community-detail a.hide-toggle,
7654 .community-detail a:visited.hide-toggle {
7655     font-size: 12px;
7656     font-weight: normal;
7657     padding-bottom: 0;
7658 }
7659 .community-detail .hide-toggle svg.icon.pre-text {
7660     width: 12px;
7661     height: 15px;
7662 }
7663
7664 .community-events {
7665     margin-top: 5px;
7666 }
7667
7668 .community-event,
7669 .community-more {
7670     background-color: #efefef;
7671     padding: 8px;
7672     border-radius: 4px;
7673     margin-bottom: 5px;
7674 }
7675
7676 .community-event-name {
7677     font-size: 14px;
7678     font-weight: bold;
7679 }
7680 .community-event-when {
7681     font-weight: bold;
7682 }
7683
7684 .community-missing {
7685     padding: 10px;
7686     text-align: center;
7687 }
7688
7689
7690 /* Splash Modal
7691 ------------------------------------------------------- */
7692 .modal-actions .logo-walkthrough,
7693 .modal-actions .logo-features {
7694     color: #7092ff;
7695 }
7696
7697
7698 /* Shortcuts Modal
7699 ------------------------------------------------------- */
7700 .modal-shortcuts {
7701     width: 90%;
7702     max-width: 950px;
7703 }
7704
7705 .modal-shortcuts .modal-section:last-child {
7706     padding-top: 10px;
7707     min-height: 275px;
7708 }
7709
7710 .modal-shortcuts .tabs-bar {
7711     text-align: center;
7712     padding-bottom: 5px;
7713     font-size: 16px;
7714     font-weight: bold;
7715 }
7716
7717 .modal-shortcuts .tab {
7718     display: inline-block;
7719     padding: 5px 10px;
7720     margin: 0 5px;
7721     cursor: pointer;
7722     color: #666;
7723 }
7724 .modal-shortcuts .tab.active {
7725     color: #7092ff;
7726     border-bottom: 2px solid;
7727 }
7728 .modal-shortcuts .tab:hover {
7729     color: #597be7;
7730     background-color: #efefef;
7731 }
7732
7733 .modal-shortcuts .shortcut-tab {
7734     display: flex;
7735     flex-flow: row wrap;
7736     justify-content: space-around;
7737 }
7738
7739 .modal-shortcuts .shortcut-column {
7740     width: auto;
7741 }
7742
7743 .modal-shortcuts .shortcut-tab-tools .shortcut-column {
7744     flex: 1 1 100%;
7745     width: 100%;
7746 }
7747
7748 .modal-shortcuts td {
7749     padding-bottom: 5px;
7750 }
7751
7752 .modal-shortcuts .shortcut-section {
7753     padding: 20px 0 10px 0;
7754 }
7755
7756 .modal-shortcuts .shortcut-keys {
7757     padding: 0 10px;
7758     color: #767676;
7759     text-align: right;
7760     white-space: nowrap;
7761 }
7762 [dir='rtl'] .modal-shortcuts .shortcut-keys {
7763     text-align: left;
7764 }
7765
7766 .modal-shortcuts .shortcut-keys kbd {
7767     color: #555;
7768 }
7769
7770 svg.mouseclick use.left {
7771     fill: rgba(112, 146, 255, 1);
7772     color: rgba(112, 146, 255, 0);
7773 }
7774 svg.mouseclick use.right {
7775     fill: rgba(112, 146, 255, 0);
7776     color: rgba(112, 146, 255, 1);
7777 }
7778
7779 .modal-shortcuts .shortcut-keys .gesture {
7780     color: #333;
7781     padding: 3px;
7782 }
7783
7784
7785 /* Settings Modals
7786 ------------------------------------------------------- */
7787 .settings-modal textarea {
7788     height: 70px;
7789     width: 100%;
7790 }
7791
7792 .settings-custom-background .instructions-template {
7793     margin-bottom: 20px;
7794 }
7795
7796 .settings-custom-data .instructions-url {
7797     margin-bottom: 10px;
7798 }
7799 .settings-custom-data .field-file,
7800 .settings-custom-data .instructions-template {
7801     margin-bottom: 20px;
7802 }
7803
7804
7805 /* Save Mode
7806 ------------------------------------------------------- */
7807 .mode-save a.user-info {
7808     display: inline-block;
7809 }
7810
7811 .mode-save .commit-form {
7812     margin-bottom: 0;
7813 }
7814
7815 .mode-save .user-info img {
7816     float: left;
7817 }
7818
7819 .mode-save h3 small.count {
7820     margin-right: 10px;
7821     text-align: center;
7822     float: left;
7823     height: 12px;
7824     min-width: 12px;
7825     font-size: 12px;
7826     line-height: 12px;
7827     border-radius: 24px;
7828     padding: 5px;
7829     background: #7092ff;
7830     color: #fff;
7831 }
7832
7833 .note-save .field-warning,
7834 .mode-save .field-warning {
7835     background: #ffb;
7836     border: 1px solid #ccc;
7837     border-radius: 4px;
7838     padding: 10px;
7839 }
7840
7841 .note-save .field-warning:empty,
7842 .mode-save .field-warning:empty {
7843     display: none;
7844 }
7845
7846 .mode-save .field-warning,
7847 .mode-save .changeset-info,
7848 .mode-save .request-review,
7849 .mode-save .commit-info {
7850     margin-bottom: 10px;
7851 }
7852
7853 .mode-save .request-review label {
7854     cursor: pointer;
7855 }
7856
7857 .mode-save .changeset-list {
7858     border: 1px solid #ccc;
7859     border-radius: 4px;
7860     background: #fff;
7861     margin-bottom: 10px;
7862 }
7863
7864 .mode-save .warning-section .changeset-list button {
7865     border-left: 1px solid #ccc;
7866 }
7867
7868 .mode-save .changeset-list li {
7869     position: relative;
7870     border-top: 1px solid #ccc;
7871     padding: 5px 10px;
7872     cursor: pointer;
7873 }
7874
7875 .mode-save .changeset-list li:hover {
7876     background-color: #ececec;
7877 }
7878
7879 .mode-save .changeset-list .alert {
7880     opacity: 0.5;
7881 }
7882
7883 .changeset-list li span.count {
7884     font-size: 10px;
7885     color: #555;
7886 }
7887
7888 .mode-save .commit-section .changeset-list button {
7889     border-left: 1px solid #ccc;
7890 }
7891
7892 .changeset-list li span.count:before { content: '('; }
7893
7894 .changeset-list li span.count:after { content: ')'; }
7895
7896 .changeset-list li:first-child { border-top: 0;}
7897
7898
7899 /* Conflict resolution
7900 ------------------------------------------------------- */
7901 .conflicts-help {
7902     padding: 20px;
7903     background-color: #ffffbb;
7904     border-bottom: 1px solid #ccc;
7905 }
7906
7907 .conflicts-buttons {
7908     padding: 20px;
7909 }
7910
7911 .mode-save button.conflicts-button {
7912     float: left;
7913 }
7914
7915 .conflict-container {
7916     border-bottom: 1px solid #ccc;
7917 }
7918
7919 .conflict-description {
7920     padding: 5px 20px;
7921     display: block;
7922 }
7923
7924 .conflicts-done {
7925     padding: 20px 20px 0 20px;
7926 }
7927
7928 .conflict-detail-container {
7929     padding: 10px 20px;
7930 }
7931
7932 .conflict-count {
7933     padding: 10px 20px;
7934 }
7935
7936 .conflict-choices {
7937     margin-top: 10px;
7938 }
7939
7940 .conflict-nav-buttons {
7941     padding: 10px 0 20px 0;
7942 }
7943
7944 .conflict-nav-button {
7945     height: 30px;
7946 }
7947
7948
7949 /* Notices (Zoom in to Edit)
7950 ------------------------------------------------------- */
7951 .notice {
7952     position: absolute;
7953     top: 15px;
7954     left: 0;
7955     right: 0;
7956     text-align: center;
7957 }
7958
7959 .notice .zoom-to {
7960     margin: auto;
7961     width: 300px;
7962     height: 70px;
7963     font-size: 150%;
7964     border-radius: 8px;
7965 }
7966
7967 .notice .zoom-to:hover,
7968 .notice .zoom-to:focus {
7969     background: rgba(0,0,0,0.6);
7970 }
7971
7972 .notice .zoom-to .icon {
7973     width: 30px;
7974     height: 30px;
7975     vertical-align: middle;
7976     margin-right: 10px;
7977 }
7978 [dir='rtl'] .notice .zoom-to .icon {
7979     margin-left: 10px;
7980     margin-right: 0;
7981 }
7982
7983
7984 /* Tooltips
7985 ------------------------------------------------------- */
7986 .popover {
7987     position: absolute;
7988     display: none;
7989 }
7990 .tooltip {
7991     color: #333;
7992     font-size: 12px;
7993     white-space: initial;
7994 }
7995 .tooltip:not(.curtain-tooltip) {
7996     pointer-events: none;
7997 }
7998 .popover.in {
7999     z-index: 5000;
8000     height: auto;
8001     display: block;
8002 }
8003 .tooltip.in {
8004     opacity: 0.95;
8005 }
8006 .popover.top {
8007     margin-top: -4px;
8008 }
8009 .popover.right {
8010     margin-left: 4px;
8011 }
8012 .popover.bottom {
8013     margin-top: 4px;
8014 }
8015 .popover.left {
8016     margin-left: -4px;
8017 }
8018 .popover.arrowed.top {
8019     margin-top: -10px;
8020 }
8021 .popover.arrowed.right {
8022     margin-left: 10px;
8023 }
8024 .popover.arrowed.bottom {
8025     margin-top: 10px;
8026 }
8027 .popover.arrowed.left {
8028     margin-left: -10px;
8029 }
8030 .bar-button .tooltip.arrowed.bottom {
8031     margin-top: 20px;
8032 }
8033 .tooltip.top {
8034     text-align: center;
8035 }
8036 .tooltip.right {
8037     text-align: left;
8038 }
8039 .tooltip.bottom {
8040     text-align: center;
8041 }
8042 .tooltip.left {
8043     text-align: right;
8044 }
8045
8046 .popover-inner {
8047     border-radius: inherit;
8048 }
8049
8050 .tooltip .popover-inner {
8051     border-radius: 4px;
8052     max-width: 200px;
8053     min-width: 80px;
8054     padding: 10px;
8055     font-weight: normal;
8056     background-color: #fff;
8057 }
8058
8059 .tail {
8060     width: 200px;
8061     height: 400px;
8062     pointer-events: none;
8063     opacity: .8;
8064     margin-top: -200px;
8065     position: absolute;
8066     background: transparent;
8067 }
8068 .tail::after {
8069     content: "";
8070     position: absolute;
8071     width: 0;
8072     height: 0;
8073     border-color: transparent;
8074     border-style: solid;
8075     top: 50%;
8076     right: -5px;
8077     margin-top: -5px;
8078     border-left-color: #fff;
8079     border-width: 5px 0 5px 5px;
8080 }
8081
8082 .tail div {
8083     border-radius: 3px;
8084     padding: 10px;
8085     background: #fff;
8086     position: absolute;
8087     top: 180px;
8088     left: 0;
8089     right: 0;
8090     margin: auto;
8091 }
8092
8093 .left.tail::after {
8094     content: "";
8095     position: absolute;
8096     width: 0;
8097     height: 0;
8098     border-color: transparent;
8099     border-style: solid;
8100     top: 50%;
8101     left: -5px;
8102     margin-top: -5px;
8103     border-right-color: #fff;
8104     border-width: 5px 5px 5px 0;
8105 }
8106 .popover-arrow {
8107     position: absolute;
8108     width: 0;
8109     height: 0;
8110     border-color: transparent;
8111     border-style: solid;
8112 }
8113 .popover.top .popover-arrow {
8114     bottom: -5px;
8115     left: 50%;
8116     margin-left: -5px;
8117     border-top-color: #fff;
8118     border-width: 5px 5px 0;
8119 }
8120 .popover.right .popover-arrow {
8121     top: 50%;
8122     left: -5px;
8123     margin-top: -5px;
8124     border-right-color: #fff;
8125     border-width: 5px 5px 5px 0;
8126 }
8127 .popover.left .popover-arrow {
8128     top: 50%;
8129     right: -5px;
8130     margin-top: -5px;
8131     border-left-color: #fff;
8132     border-width: 5px 0 5px 5px;
8133 }
8134 .popover.bottom .popover-arrow {
8135     top: -5px;
8136     left: 50%;
8137     margin-left: -5px;
8138     border-bottom-color: #fff;
8139     border-width: 0 5px 5px;
8140 }
8141 .popover:not(.arrowed) .popover-arrow {
8142     display: none;
8143 }
8144
8145 .tooltip-heading {
8146     font-weight: bold;
8147     background: #f6f6f6;
8148     padding: 10px;
8149     margin: -10px -10px 10px -10px;
8150     border-radius: 3px 3px 0 0;
8151     font-size: 14px;
8152 }
8153
8154 .keyhint-wrap {
8155     background: #f6f6f6;
8156     padding: 10px;
8157     margin: 10px -10px -10px -10px;
8158     border-radius: 0 0 3px 3px;
8159 }
8160 .popover-inner .shortcut {
8161     font-weight: bold;
8162     margin-left: 5px;
8163 }
8164
8165 [dir='rtl'] .popover-inner .shortcut {
8166     margin-left: 0;
8167     margin-right: 5px;
8168 }
8169
8170 /* dark tooltips for sidebar / panels */
8171 .tooltip.dark.top .popover-arrow,
8172 .map-pane .tooltip.top .popover-arrow,
8173 #sidebar .tooltip.top .popover-arrow {
8174     border-top-color: #000;
8175 }
8176 .tooltip.dark.bottom .popover-arrow,
8177 .map-pane .tooltip.bottom .popover-arrow,
8178 #sidebar .tooltip.bottom .popover-arrow {
8179     border-bottom-color: #000;
8180 }
8181 .tooltip.dark.left .popover-arrow,
8182 .map-pane .tooltip.left .popover-arrow,
8183 #sidebar .tooltip.left .popover-arrow {
8184     border-left-color: #000;
8185 }
8186 .tooltip.dark.right .popover-arrow,
8187 .map-pane .tooltip.right .popover-arrow,
8188 #sidebar .tooltip.right .popover-arrow {
8189     border-right-color: #000;
8190 }
8191 .tooltip.dark .popover-inner,
8192 .tooltip.dark .tooltip-heading,
8193 .tooltip.dark .keyhint-wrap,
8194 .map-pane .popover-inner,
8195 .map-pane .tooltip-heading,
8196 .map-pane .keyhint-wrap,
8197 #sidebar .popover-inner,
8198 #sidebar .tooltip-heading,
8199 #sidebar .keyhint-wrap {
8200     background: #000;
8201     color: #ccc;
8202 }
8203 .tooltip.dark kbd,
8204 .map-pane .tooltip kbd,
8205 #sidebar .tooltip kbd {
8206     background-color: #666;
8207     border: solid 1px #444;
8208     border-bottom-color: #333;
8209     box-shadow: inset 0 -1px 0 #333;
8210     color: #eee;
8211 }
8212
8213 /* Exceptions for tooltip layouts */
8214
8215 /* commit warning tooltips need to be closer */
8216 .warning-section .tooltip.top {
8217     margin-top: -5px;
8218 }
8219
8220 li:first-of-type .badge .tooltip,
8221 li.hide + li.version .badge .tooltip {
8222     left: auto !important;
8223     right: 5px !important;
8224 }
8225 [dir='rtl'] li:first-of-type .badge .tooltip,
8226 [dir='rtl'] li.hide + li.version .badge .tooltip {
8227     left: 5px !important;
8228     right: auto !important;
8229 }
8230 li:first-of-type .badge .tooltip .popover-arrow,
8231 li.hide + li.version .badge .tooltip .popover-arrow {
8232     right: 15px !important;
8233     left: auto !important;
8234 }
8235 [dir='rtl'] li:first-of-type .badge .tooltip .popover-arrow,
8236 [dir='rtl'] li.hide + li.version .badge .tooltip .popover-arrow {
8237     left: 15px !important;
8238     right: auto !important;
8239 }
8240
8241
8242 /* Contextual Radial Menu (deprecated)
8243 ------------------------------------------------------- */
8244 .radial-menu-tooltip {
8245     opacity: 0.8;
8246     display: none;
8247     position: absolute;
8248     width: 200px;
8249 }
8250
8251 .radial-menu-background {
8252     fill: none;
8253     stroke: black;
8254     stroke-opacity: 0.5;
8255 }
8256
8257 .radial-menu-item circle {
8258     fill: #eee;
8259 }
8260
8261 .radial-menu-item circle:active,
8262 .radial-menu-item circle:hover {
8263     fill: #fff;
8264 }
8265
8266 .radial-menu-item.disabled circle {
8267     cursor: auto;
8268     fill: rgba(255,255,255,.5);
8269 }
8270
8271 .radial-menu-item use {
8272     fill: #222;
8273     color: #79f;
8274 }
8275
8276 .radial-menu-item.disabled use {
8277     fill: rgba(32,32,32,.5);
8278     color: rgba(40,40,40,.5);
8279 }
8280
8281
8282 /* Contextual Edit Menu
8283 ------------------------------------------------------- */
8284 .edit-menu-tooltip {
8285     width: 200px;
8286 }
8287
8288 .edit-menu-background {
8289     fill: #eee;
8290 }
8291
8292 .edit-menu-item rect {
8293     fill: #eee;
8294     cursor: default;
8295 }
8296
8297 .edit-menu-item rect:active,
8298 .edit-menu-item rect:hover {
8299     fill: #ccc;
8300 }
8301
8302 .edit-menu-item.disabled rect {
8303     cursor: not-allowed;
8304 }
8305 .edit-menu-item.disabled rect:hover {
8306     cursor: not-allowed;
8307     fill: #eee;
8308 }
8309
8310 .edit-menu-item use {
8311     fill: #222;
8312     color: #79f;
8313     pointer-events: none;
8314 }
8315 .edit-menu-item.disabled use {
8316     fill: rgba(32,32,32,.2);
8317     color: rgba(40,40,40,.2);
8318 }
8319
8320
8321 /* Lasso
8322 ------------------------------------------------------- */
8323 .lasso-path {
8324     fill-opacity: 0.3;
8325     stroke: #fff;
8326     stroke-width: 1;
8327     stroke-opacity: 1;
8328     stroke-dasharray: 5, 5;
8329 }
8330
8331
8332 /* Scrollbars
8333  ----------------------------------------------------- */
8334 ::-webkit-scrollbar {
8335     height: 20px;
8336     overflow: visible;
8337     width: 10px;
8338     background: #fff;
8339     border-left: 1px solid #DDD;
8340 }
8341
8342 ::-webkit-scrollbar-track {
8343     background-clip: padding-box;
8344     border: solid transparent;
8345     border-width: 0;
8346 }
8347
8348 ::-webkit-scrollbar-thumb {
8349     background-color: rgba(0,0,0,.2);
8350     background-clip: padding-box;
8351     border: solid transparent;
8352     border-width: 3px 3px 3px 4px;
8353     border-radius: 6px;
8354 }
8355 ::-webkit-scrollbar-track:hover,
8356 ::-webkit-scrollbar-track:active {
8357     background-color: rgba(0,0,0,.05);
8358 }
8359
8360
8361 /* Intro walkthrough
8362  ----------------------------------------------------- */
8363 .curtain-darkness {
8364     pointer-events: all;
8365     fill-opacity: 0.7;
8366     fill: #222;
8367     fill-rule: evenodd;
8368 }
8369
8370 .intro-nav-wrap {
8371     display: flex;
8372     flex-direction: row;
8373     position: absolute;
8374     left: 0;
8375     right: 0;
8376     bottom: 30px;
8377     padding: 10px;
8378     z-index: 1001;
8379 }
8380
8381 .intro-nav-wrap .intro-nav-wrap-logo {
8382     flex: 0 0 auto;
8383     height: 40px;
8384     width: 40px;
8385     color: #fff;
8386     margin: 0px 20px;
8387     vertical-align: middle;
8388 }
8389
8390 .intro-nav-wrap .joined {
8391     flex: 1 1 auto;
8392     display: flex;
8393     flex-direction: row;
8394 }
8395
8396 .intro-nav-wrap button.chapter {
8397     flex: 1 1 100%;
8398     padding: 0px 20px;
8399 }
8400
8401 .intro-nav-wrap button.chapter.next {
8402     animation-duration: 1s;
8403     animation-name: pulse;
8404     animation-iteration-count: infinite;
8405     animation-direction: alternate;
8406 }
8407 @keyframes pulse {
8408     from  { background: #7092ff; }
8409     to    { background: #c6d4ff; }
8410 }
8411
8412 .intro-nav-wrap button.chapter.finished {
8413     background: #8cd05f;
8414 }
8415
8416 .intro-nav-wrap button.chapter .status {
8417     display: none;
8418 }
8419
8420 .intro-nav-wrap button.chapter.finished .status {
8421     display: inline-block;
8422 }
8423
8424 .curtain-tooltip.tooltip.in {
8425     opacity: 1;
8426 }
8427 .curtain-tooltip.tooltip {
8428     text-align: left;
8429 }
8430 [dir='rtl'] .curtain-tooltip.tooltip {
8431     text-align: right;
8432 }
8433
8434 .curtain-tooltip .popover-inner {
8435     font-size: 15px;
8436     position: relative;
8437     padding: 20px;
8438 }
8439
8440 .curtain-tooltip .popover-inner .button-section,
8441 .curtain-tooltip .popover-inner .instruction {
8442     font-weight: bold;
8443     display: block;
8444     border-top: 1px solid #ccc;
8445     margin-top: 10px;
8446     margin-left: -20px;
8447     margin-right: -20px;
8448     padding: 10px 20px 0 20px;
8449 }
8450
8451 .curtain-tooltip .popover-inner .button-section button {
8452     width: 66.6666%;
8453 }
8454
8455 .curtain-tooltip .popover-inner .instruction:only-child {
8456     border: 0;
8457     padding: 0;
8458     margin: 0;
8459 }
8460
8461 .curtain-tooltip .popover-inner .icon.pre-text {
8462     vertical-align: text-top;
8463     margin-right: 0;
8464     margin-left: 0;
8465     display: inline-block;
8466 }
8467
8468 .curtain-tooltip.intro-points-describe ,
8469 .curtain-tooltip.intro-lines-name_road {
8470     top: 133px !important;
8471 }
8472
8473 .tooltip-illustration {
8474     height: 80px;
8475     width: 200px;
8476     margin-left: -20px;
8477     margin-top: -10px;
8478 }
8479 [dir='rtl'] .tooltip-illustration {
8480     margin-left: auto;
8481     margin-right: -20px;
8482 }
8483
8484 .curtain-tooltip.intro-mouse {
8485     -moz-user-select: none;
8486     -webkit-user-select: none;
8487     -ms-user-select: none;
8488     user-select: none;
8489 }
8490
8491 .curtain-tooltip.intro-mouse .counter {
8492     position: absolute;
8493     display: block;
8494     top: 50px;
8495     width: 100%;
8496     text-align: center;
8497     font-weight: bold;
8498     font-size: 14px;
8499     z-index: 1003;
8500 }
8501
8502 .curtain-tooltip.intro-mouse .tooltip-illustration use {
8503     fill: rgba(112, 146, 255, 0);
8504     color: rgba(112, 146, 255, 0);
8505 }
8506 .curtain-tooltip.intro-mouse.leftclick .tooltip-illustration use {
8507     fill: rgba(112, 146, 255, 1);
8508 }
8509 .curtain-tooltip.intro-mouse.rightclick .tooltip-illustration use {
8510     color: rgba(112, 146, 255, 1);
8511 }
8512
8513 .huge-modal-button {
8514     width: 100%;
8515     height: auto;
8516     padding: 20px;
8517 }
8518
8519 .huge-modal-button .illustration {
8520     height: 100px;
8521     width: 100px;
8522     color: #7092ff;
8523 }
8524
8525
8526 .list-item-photos.list-item-mapillary-map-features .request-data-link {
8527     float: right;
8528     margin-top: -20px;
8529 }
8530 [dir='rtl'] .list-item-photos.list-item-mapillary-map-features .request-data-link {
8531     float: left;
8532 }