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