e9bbf9aaf74c2efd4ed1643f54dc29c6c3f32e3c
[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-landuse-flowerbed,
539 path.stroke.tag-barrier-hedge {
540     stroke: rgb(140, 208, 95);
541 }
542 path.fill.tag-natural,
543 path.fill.tag-natural-wood,
544 path.fill.tag-leisure-nature_reserve,
545 path.fill.tag-leisure-pitch,
546 path.fill.tag-leisure-track,
547 path.fill.tag-leisure-golf_course,
548 path.fill.tag-leisure-garden,
549 path.fill.tag-leisure-park,
550 path.fill.tag-landuse-recreation_ground,
551 path.fill.tag-landuse-forest,
552 path.fill.tag-landuse-grass,
553 path.fill.tag-landuse-flowerbed,
554 path.fill.tag-barrier-hedge {
555     stroke: rgba(140, 208, 95, 0.3);
556     fill: rgba(140, 208, 95, 0.3);
557 }
558 .pattern-color-forest,
559 .pattern-color-forest_broadleaved,
560 .pattern-color-forest_needleleaved,
561 .pattern-color-forest_leafless,
562 .pattern-color-wood,
563 .pattern-color-grass {
564     fill: rgba(140, 208, 95, 0.3);
565 }
566
567
568 /* Blue things */
569 path.stroke.tag-amenity-fountain,
570 path.stroke.tag-leisure-swimming_pool,
571 path.stroke.tag-natural-bay,
572 path.stroke.tag-natural-water {
573     stroke: rgb(119, 211, 222);
574 }
575 path.fill.tag-amenity-fountain,
576 path.fill.tag-leisure-swimming_pool,
577 path.fill.tag-natural-bay,
578 path.fill.tag-natural-water {
579     stroke: rgba(119, 211, 222, 0.3);
580     fill: rgba(119, 211, 222, 0.3);
581 }
582 .pattern-color-waves,
583 .pattern-color-water_standing,
584 .pattern-color-pond {
585     fill: rgba(119, 211, 222, 0.3);
586 }
587
588
589 /* Yellow things */
590 path.stroke.tag-leisure-pitch.tag-sport-beachvolleyball,
591 path.stroke.tag-leisure-pitch.tag-sport-baseball,
592 path.stroke.tag-leisure-pitch.tag-sport-softball,
593 path.stroke.tag-leisure-track,
594 path.stroke.tag-natural-beach,
595 path.stroke.tag-natural-sand,
596 path.stroke.tag-natural-scrub,
597 path.stroke.tag-amenity-childcare,
598 path.stroke.tag-amenity-kindergarten,
599 path.stroke.tag-amenity-school,
600 path.stroke.tag-amenity-college,
601 path.stroke.tag-amenity-university {
602     stroke: rgba(255, 255, 148, 0.75);
603 }
604 path.fill.tag-leisure-pitch.tag-sport-beachvolleyball,
605 path.fill.tag-leisure-pitch.tag-sport-baseball,
606 path.fill.tag-leisure-pitch.tag-sport-softball,
607 path.fill.tag-leisure-track,
608 path.fill.tag-natural-beach,
609 path.fill.tag-natural-sand,
610 path.fill.tag-natural-scrub,
611 path.fill.tag-amenity-childcare,
612 path.fill.tag-amenity-kindergarten,
613 path.fill.tag-amenity-school,
614 path.fill.tag-amenity-college,
615 path.fill.tag-amenity-university {
616     stroke: rgba(255, 255, 148, 0.25);
617     fill: rgba(255, 255, 148, 0.25);
618 }
619 .preset-icon-fill path.area.stroke.tag-leisure-pitch.tag-sport-beachvolleyball,
620 .preset-icon-fill path.area.stroke.tag-leisure-pitch.tag-sport-baseball,
621 .preset-icon-fill path.area.stroke.tag-leisure-pitch.tag-sport-softball,
622 .preset-icon-fill path.area.stroke.tag-leisure-track,
623 .preset-icon-fill path.area.stroke.tag-natural-beach,
624 .preset-icon-fill path.area.stroke.tag-natural-sand,
625 .preset-icon-fill path.area.stroke.tag-natural-scrub,
626 .preset-icon-fill path.area.stroke.tag-amenity-childcare,
627 .preset-icon-fill path.area.stroke.tag-amenity-kindergarten,
628 .preset-icon-fill path.area.stroke.tag-amenity-school,
629 .preset-icon-fill path.area.stroke.tag-amenity-college,
630 .preset-icon-fill path.area.stroke.tag-amenity-university {
631     stroke: rgb(232, 232, 0);
632 }
633 .pattern-color-beach,
634 .pattern-color-sand,
635 .pattern-color-scrub {
636     fill: rgba(255, 255, 148, 0.2);
637 }
638
639
640 /* Gold things */
641 path.stroke.tag-landuse-residential,
642 path.stroke.tag-status-construction {
643     stroke: rgb(196, 189, 25);
644 }
645 path.fill.tag-landuse-residential {
646     stroke: rgba(196, 189, 25, 0.3);
647     fill: rgba(196, 189, 25, 0.3);
648 }
649 .pattern-color-construction {
650     fill: rgba(196, 189, 25, 0.3);
651 }
652
653
654 /* Orange things */
655 path.stroke.tag-landuse-retail,
656 path.stroke.tag-landuse-commercial,
657 path.stroke.tag-landuse-landfill,
658 path.stroke.tag-military,
659 path.stroke.tag-landuse-military {
660     stroke: rgb(214, 136, 26);
661 }
662 path.fill.tag-landuse-retail,
663 path.fill.tag-landuse-commercial,
664 path.fill.tag-landuse-landfill,
665 path.fill.tag-military,
666 path.fill.tag-landuse-military {
667     stroke: rgba(214, 136, 26, 0.3);
668     fill: rgba(214, 136, 26, 0.3);
669 }
670 .pattern-color-landfill {
671     fill: rgba(214, 136, 26, 0.3);
672 }
673
674
675 /* Pink things */
676 path.stroke.tag-landuse-industrial,
677 path.stroke.tag-power-plant {
678     stroke: rgb(228, 164, 245);
679 }
680 path.fill.tag-landuse-industrial,
681 path.fill.tag-power-plant {
682     stroke: rgba(228, 164, 245, 0.3);
683     fill: rgba(228, 164, 245, 0.3);
684 }
685
686
687 /* Teal things */
688 path.stroke.tag-natural-wetland {
689     stroke: rgb(153, 225, 170);
690 }
691 .preset-icon-fill path.area.fill.tag-natural-wetland {
692     fill: rgba(153, 225, 170, 0.2);
693 }
694 .pattern-color-wetland,
695 .pattern-color-wetland_marsh,
696 .pattern-color-wetland_swamp,
697 .pattern-color-wetland_bog,
698 .pattern-color-wetland_reedbed {
699     fill: rgba(153, 225, 170, 0.3);
700 }
701
702
703 /* Light Green things */
704 path.stroke.tag-landuse-cemetery,
705 path.stroke.tag-landuse-orchard,
706 path.stroke.tag-landuse-vineyard,
707 path.stroke.tag-landuse-meadow,
708 path.stroke.tag-landuse-farmland {
709     stroke: rgb(191, 232, 63);
710 }
711 .preset-icon-fill path.area.fill.tag-landuse-cemetery,
712 .preset-icon-fill path.area.fill.tag-landuse-orchard,
713 .preset-icon-fill path.area.fill.tag-landuse-vineyard,
714 .preset-icon-fill path.area.fill.tag-landuse-meadow,
715 .preset-icon-fill path.area.fill.tag-landuse-farmland {
716     fill: rgba(191, 232, 63, 0.2);
717 }
718 .pattern-color-cemetery,
719 .pattern-color-cemetery_christian,
720 .pattern-color-cemetery_buddhist,
721 .pattern-color-cemetery_muslim,
722 .pattern-color-cemetery_jewish,
723 .pattern-color-orchard,
724 .pattern-color-vineyard,
725 .pattern-color-meadow,
726 .pattern-color-farmland {
727     fill: rgba(191, 232, 63, 0.2);
728 }
729
730
731 /* Tan things */
732 path.stroke.tag-landuse-farmyard {
733     stroke: rgb(245, 220, 186);
734 }
735 path.fill.tag-landuse-farmyard {
736     stroke: rgba(245, 220, 186, 0.3);
737     fill: rgba(245, 220, 186, 0.3);
738 }
739 .preset-icon-fill path.area.stroke.tag-landuse-farmyard {
740     stroke: rgb(226, 177, 111);
741 }
742 .pattern-color-farmyard {
743     fill: rgba(245, 220, 186, 0.3);
744 }
745
746
747 /* Dark Gray things */
748 path.stroke.tag-amenity-parking,
749 path.stroke.tag-landuse-railway,
750 path.stroke.tag-landuse-quarry,
751 path.stroke.tag-leisure-pitch.tag-sport-basketball,
752 path.stroke.tag-leisure-pitch.tag-sport-skateboard,
753 path.stroke.tag-man_made-adit,
754 path.stroke.tag-man_made-groyne,
755 path.stroke.tag-man_made-breakwater,
756 path.stroke.tag-natural-bare_rock,
757 path.stroke.tag-natural-cave_entrance,
758 path.stroke.tag-natural-cliff,
759 path.stroke.tag-natural-rock,
760 path.stroke.tag-natural-scree,
761 path.stroke.tag-natural-stone,
762 path.stroke.tag-natural-shingle,
763 path.stroke.tag-waterway-dam,
764 path.stroke.tag-waterway-weir {
765     stroke: rgb(170, 170, 170);
766 }
767 path.fill.tag-amenity-parking,
768 path.fill.tag-landuse-railway,
769 path.fill.tag-landuse-quarry,
770 path.fill.tag-leisure-pitch.tag-sport-basketball,
771 path.fill.tag-leisure-pitch.tag-sport-skateboard,
772 path.fill.tag-man_made-adit,
773 path.fill.tag-man_made-groyne,
774 path.fill.tag-man_made-breakwater,
775 path.fill.tag-natural-bare_rock,
776 path.fill.tag-natural-cliff,
777 path.fill.tag-natural-cave_entrance,
778 path.fill.tag-natural-rock,
779 path.fill.tag-natural-scree,
780 path.fill.tag-natural-stone,
781 path.fill.tag-natural-shingle,
782 path.fill.tag-waterway-dam,
783 path.fill.tag-waterway-weir {
784     stroke: rgba(140, 140, 140, 0.5);
785     fill: rgba(140, 140, 140, 0.5);
786 }
787 .pattern-color-quarry {
788     fill: rgba(140, 140, 140, 0.5);
789 }
790
791
792 /* Light gray overrides */
793 path.stroke.tag-natural-cave_entrance,
794 path.stroke.tag-natural-glacier {
795     stroke: rgb(170, 170, 170);
796 }
797 path.fill.tag-natural-cave_entrance,
798 path.fill.tag-natural-glacier {
799     stroke: rgba(255, 255, 255, 0.3);
800     fill: rgba(255, 255, 255, 0.3);
801 }
802 .preset-icon-fill path.fill.tag-natural-cave_entrance,
803 .preset-icon-fill path.fill.tag-natural-glacier {
804     stroke: rgb(170, 170, 170);
805     fill: rgba(170, 170, 170, 0.3);
806 }
807 preset-icon-container/* highways */
808
809 /* defaults */
810 .preset-icon .icon.tag-highway.other-line {
811     color: #fff;
812     fill: #777;
813 }
814 path.line.casing.tag-highway {
815     stroke: #444;
816 }
817 path.line.stroke.tag-highway {
818     stroke: #ccc;
819 }
820
821 /* wide highways */
822 path.line.shadow.tag-highway {
823     stroke-width: 20;
824 }
825 path.line.casing.tag-highway {
826     stroke-width: 10;
827 }
828 path.line.stroke.tag-highway {
829     stroke-width: 8;
830 }
831 .low-zoom path.line.shadow.tag-highway {
832     stroke-width: 16;
833 }
834 .low-zoom path.line.casing.tag-highway {
835     stroke-width: 7;
836 }
837 .low-zoom path.line.stroke.tag-highway {
838     stroke-width: 5;
839 }
840
841 .preset-icon .icon.tag-highway-motorway,
842 .preset-icon .icon.tag-highway-motorway_link {
843     color: #CF2081;
844     fill: #70372f;
845 }
846 path.line.stroke.tag-highway-motorway,
847 path.line.stroke.tag-highway-motorway_link,
848 path.line.stroke.tag-motorway {
849     stroke: #CF2081;
850 }
851 path.line.casing.tag-highway-motorway,
852 path.line.casing.tag-highway-motorway_link,
853 path.line.casing.tag-motorway {
854     stroke: #70372f;
855 }
856
857 .preset-icon .icon.tag-highway-trunk,
858 .preset-icon .icon.tag-highway-trunk_link {
859     color: #DD2F22;
860     fill: #70372f;
861 }
862 path.line.stroke.tag-highway-trunk,
863 path.line.stroke.tag-highway-trunk_link,
864 path.line.stroke.tag-trunk {
865     stroke: #DD2F22;
866 }
867 path.line.casing.tag-highway-trunk,
868 path.line.casing.tag-highway-trunk_link,
869 path.line.casing.tag-trunk {
870     stroke: #70372f;
871 }
872
873 .preset-icon .icon.tag-highway-primary,
874 .preset-icon .icon.tag-highway-primary_link {
875     color: #F99806;
876     fill: #70372f;
877 }
878 path.line.stroke.tag-highway-primary,
879 path.line.stroke.tag-highway-primary_link,
880 path.line.stroke.tag-primary {
881     stroke: #F99806;
882 }
883 path.line.casing.tag-highway-primary,
884 path.line.casing.tag-highway-primary_link,
885 path.line.casing.tag-primary {
886     stroke: #70372f;
887 }
888
889 .preset-icon .icon.tag-highway-secondary,
890 .preset-icon .icon.tag-highway-secondary_link {
891     color: #F3F312;
892     fill: #70372f;
893 }
894 path.line.stroke.tag-highway-secondary,
895 path.line.stroke.tag-highway-secondary_link,
896 path.line.stroke.tag-secondary {
897     stroke: #F3F312;
898 }
899 path.line.casing.tag-highway-secondary,
900 path.line.casing.tag-highway-secondary_link,
901 path.line.casing.tag-secondary {
902     stroke: #70372f;
903 }
904
905 .preset-icon .icon.tag-highway-tertiary,
906 .preset-icon .icon.tag-highway-tertiary_link {
907     color: #FFF9B3;
908     fill: #70372f;
909 }
910 path.line.stroke.tag-highway-tertiary,
911 path.line.stroke.tag-highway-tertiary_link,
912 path.line.stroke.tag-tertiary {
913     stroke: #FFF9B3;
914 }
915 path.line.casing.tag-highway-tertiary,
916 path.line.casing.tag-highway-tertiary_link,
917 path.line.casing.tag-tertiary {
918     stroke: #70372f;
919 }
920
921 .legacy-carto .preset-icon .icon.tag-highway-motorway,
922 .legacy-carto .preset-icon .icon.tag-highway-motorway_link {
923     color: #58a9ed;
924     fill: #2c5476;
925 }
926 .legacy-carto path.line.stroke.tag-highway-motorway,
927 .legacy-carto path.line.stroke.tag-highway-motorway_link,
928 .legacy-carto path.line.stroke.tag-motorway {
929     stroke: #58a9ed;
930 }
931 .legacy-carto path.line.casing.tag-highway-motorway,
932 .legacy-carto path.line.casing.tag-highway-motorway_link,
933 .legacy-carto path.line.casing.tag-motorway {
934     stroke: #2c5476;
935 }
936
937 .legacy-carto .preset-icon .icon.tag-highway-trunk,
938 .legacy-carto .preset-icon .icon.tag-highway-trunk_link {
939     color: #8cd05f;
940     fill: #46682f;
941 }
942 .legacy-carto path.line.stroke.tag-highway-trunk,
943 .legacy-carto path.line.stroke.tag-highway-trunk_link,
944 .legacy-carto path.line.stroke.tag-trunk {
945     stroke: #8cd05f;
946 }
947 .legacy-carto path.line.casing.tag-highway-trunk,
948 .legacy-carto path.line.casing.tag-highway-trunk_link,
949 .legacy-carto path.line.casing.tag-trunk {
950     stroke: #46682f;
951 }
952
953 .legacy-carto .preset-icon .icon.tag-highway-primary,
954 .legacy-carto .preset-icon .icon.tag-highway-primary_link {
955     color: #e06d5f;
956     fill: #70372f;
957 }
958 .legacy-carto path.line.stroke.tag-highway-primary,
959 .legacy-carto path.line.stroke.tag-highway-primary_link,
960 .legacy-carto path.line.stroke.tag-primary {
961     stroke: #e06d5f;
962 }
963 .legacy-carto path.line.casing.tag-highway-primary,
964 .legacy-carto path.line.casing.tag-highway-primary_link,
965 .legacy-carto path.line.casing.tag-primary {
966     stroke: #70372f;
967 }
968
969 .legacy-carto .preset-icon .icon.tag-highway-secondary,
970 .legacy-carto .preset-icon .icon.tag-highway-secondary_link {
971     color: #eab056;
972     fill: #75582b;
973 }
974 .legacy-carto path.line.stroke.tag-highway-secondary,
975 .legacy-carto path.line.stroke.tag-highway-secondary_link,
976 .legacy-carto path.line.stroke.tag-secondary {
977     stroke: #eab056;
978 }
979 .legacy-carto path.line.casing.tag-highway-secondary,
980 .legacy-carto path.line.casing.tag-highway-secondary_link,
981 .legacy-carto path.line.casing.tag-secondary {
982     stroke: #75582b;
983 }
984
985 .legacy-carto .preset-icon .icon.tag-highway-tertiary,
986 .legacy-carto .preset-icon .icon.tag-highway-tertiary_link {
987     color: #ffff7e;
988     fill: #7f7f3f;
989 }
990 .legacy-carto path.line.stroke.tag-highway-tertiary,
991 .legacy-carto path.line.stroke.tag-highway-tertiary_link,
992 .legacy-carto path.line.stroke.tag-tertiary {
993     stroke: #ffff7e;
994 }
995 .legacy-carto path.line.casing.tag-highway-tertiary,
996 .legacy-carto path.line.casing.tag-highway-tertiary_link,
997 .legacy-carto path.line.casing.tag-tertiary {
998     stroke: #7f7f3f;
999 }
1000
1001 .preset-icon .icon.tag-highway-residential {
1002     color: #fff;
1003     fill: #444;
1004 }
1005 path.line.stroke.tag-highway-residential,
1006 path.line.stroke.tag-residential {
1007     stroke: #fff;
1008 }
1009 path.line.casing.tag-highway-residential,
1010 path.line.casing.tag-residential {
1011     stroke: #444;
1012 }
1013
1014 .preset-icon .icon.tag-highway-unclassified {
1015     color: #dca;
1016     fill: #444;
1017 }
1018 path.line.stroke.tag-highway-unclassified,
1019 path.line.stroke.tag-unclassified {
1020     stroke: #dca;
1021 }
1022 path.line.casing.tag-highway-unclassified,
1023 path.line.casing.tag-unclassified {
1024     stroke: #444;
1025 }
1026
1027
1028 /* narrow highways */
1029 path.line.shadow.tag-highway-living_street,
1030 path.line.shadow.tag-highway-bus_guideway,
1031 path.line.shadow.tag-highway-service,
1032 path.line.shadow.tag-highway-track,
1033 path.line.shadow.tag-highway-road {
1034     stroke-width: 16;
1035 }
1036 path.line.casing.tag-highway-living_street,
1037 path.line.casing.tag-highway-bus_guideway,
1038 path.line.casing.tag-highway-service,
1039 path.line.casing.tag-highway-track,
1040 path.line.casing.tag-highway-road {
1041     stroke-width: 7;
1042 }
1043 path.line.stroke.tag-highway-living_street,
1044 path.line.stroke.tag-highway-bus_guideway,
1045 path.line.stroke.tag-highway-service,
1046 path.line.stroke.tag-highway-track,
1047 path.line.stroke.tag-highway-road {
1048     stroke-width: 5;
1049 }
1050
1051 path.line.shadow.tag-highway-path,
1052 path.line.shadow.tag-highway-footway,
1053 path.line.shadow.tag-highway-cycleway,
1054 path.line.shadow.tag-highway-bridleway,
1055 path.line.shadow.tag-highway-corridor,
1056 path.line.shadow.tag-highway-pedestrian,
1057 path.line.shadow.tag-highway-steps {
1058     stroke-width: 16;
1059 }
1060 path.line.casing.tag-highway-path,
1061 path.line.casing.tag-highway-footway,
1062 path.line.casing.tag-highway-cycleway,
1063 path.line.casing.tag-highway-bridleway,
1064 path.line.casing.tag-highway-corridor,
1065 path.line.casing.tag-highway-pedestrian,
1066 path.line.casing.tag-highway-steps {
1067     stroke-width: 5;
1068 }
1069 path.line.stroke.tag-highway-path,
1070 path.line.stroke.tag-highway-footway,
1071 path.line.stroke.tag-highway-cycleway,
1072 path.line.stroke.tag-highway-bridleway,
1073 path.line.stroke.tag-highway-corridor,
1074 path.line.stroke.tag-highway-pedestrian,
1075 path.line.stroke.tag-highway-steps {
1076     stroke-width: 3;
1077 }
1078
1079 .low-zoom path.line.shadow.tag-highway-living_street,
1080 .low-zoom path.line.shadow.tag-highway-bus_guideway,
1081 .low-zoom path.line.shadow.tag-highway-service,
1082 .low-zoom path.line.shadow.tag-highway-track,
1083 .low-zoom path.line.shadow.tag-highway-road {
1084     stroke-width: 12;
1085 }
1086 .low-zoom path.line.casing.tag-highway-living_street,
1087 .low-zoom path.line.casing.tag-highway-bus_guideway,
1088 .low-zoom path.line.casing.tag-highway-service,
1089 .low-zoom path.line.casing.tag-highway-track,
1090 .low-zoom path.line.casing.tag-highway-road {
1091     stroke-width: 5;
1092 }
1093 .low-zoom path.line.stroke.tag-highway-living_street,
1094 .low-zoom path.line.stroke.tag-highway-bus_guideway,
1095 .low-zoom path.line.stroke.tag-highway-service,
1096 .low-zoom path.line.stroke.tag-highway-track,
1097 .low-zoom path.line.stroke.tag-highway-road {
1098     stroke-width: 3;
1099 }
1100
1101 .low-zoom path.line.shadow.tag-highway-path,
1102 .low-zoom path.line.shadow.tag-highway-footway,
1103 .low-zoom path.line.shadow.tag-highway-cycleway,
1104 .low-zoom path.line.shadow.tag-highway-bridleway,
1105 .low-zoom path.line.shadow.tag-highway-corridor,
1106 .low-zoom path.line.shadow.tag-highway-pedestrian,
1107 .low-zoom path.line.shadow.tag-highway-steps {
1108     stroke-width: 12;
1109 }
1110 .low-zoom path.line.casing.tag-highway-path,
1111 .low-zoom path.line.casing.tag-highway-footway,
1112 .low-zoom path.line.casing.tag-highway-cycleway,
1113 .low-zoom path.line.casing.tag-highway-bridleway,
1114 .low-zoom path.line.casing.tag-highway-corridor,
1115 .low-zoom path.line.casing.tag-highway-pedestrian,
1116 .low-zoom path.line.casing.tag-highway-steps {
1117     stroke-width: 3;
1118 }
1119 .low-zoom path.line.stroke.tag-highway-path,
1120 .low-zoom path.line.stroke.tag-highway-footway,
1121 .low-zoom path.line.stroke.tag-highway-cycleway,
1122 .low-zoom path.line.stroke.tag-highway-bridleway,
1123 .low-zoom path.line.stroke.tag-highway-corridor,
1124 .low-zoom path.line.stroke.tag-highway-pedestrian,
1125 .low-zoom path.line.stroke.tag-highway-steps {
1126     stroke-width: 1;
1127 }
1128
1129 /* living streets */
1130 .preset-icon .icon.tag-highway-living-street {
1131     color: #bbb;
1132     fill: #ddd;
1133 }
1134 path.line.stroke.tag-highway-living_street,
1135 path.line.stroke.tag-living_street {
1136     stroke: #ccc;
1137 }
1138 path.line.casing.tag-highway-living_street,
1139 path.line.casing.tag-living_street {
1140     stroke: #fff;
1141 }
1142
1143 /* pedestrian streets and corridors */
1144 .preset-icon .icon.tag-highway-corridor,
1145 .preset-icon .icon.tag-highway-pedestrian {
1146     color: #8cd05f;
1147     fill: #fff;
1148 }
1149 path.line.stroke.tag-highway-corridor,
1150 path.line.stroke.tag-highway-pedestrian,
1151 path.line.stroke.tag-corridor,
1152 path.line.stroke.tag-pedestrian {
1153     stroke: #fff;
1154     stroke-dasharray: 2, 8;
1155 }
1156 .low-zoom path.line.stroke.tag-highway-corridor,
1157 .low-zoom path.line.stroke.tag-highway-pedestrian,
1158 .low-zoom path.line.stroke.tag-corridor,
1159 .low-zoom path.line.stroke.tag-pedestrian {
1160     stroke-dasharray: 1, 4;
1161 }
1162 path.line.casing.tag-highway-corridor,
1163 path.line.casing.tag-highway-pedestrian,
1164 path.line.casing.tag-corridor,
1165 path.line.casing.tag-pedestrian,
1166 path.line.casing.tag-highway-corridor.tag-unpaved,
1167 path.line.casing.tag-highway-pedestrian.tag-unpaved,
1168 path.line.casing.tag-corridor.tag-unpaved,
1169 path.line.casing.tag-pedestrian.tag-unpaved {
1170     stroke: #8cd05f;
1171     stroke-linecap: round;
1172     stroke-dasharray: none;
1173 }
1174
1175 /* unknown roads */
1176 .preset-icon .icon.tag-highway-road {
1177     color: #9e9e9e;
1178     fill: #666;
1179 }
1180 path.line.stroke.tag-highway-road,
1181 path.line.stroke.tag-road {
1182     stroke: #9e9e9e;
1183 }
1184 path.line.casing.tag-highway-road,
1185 path.line.casing.tag-road {
1186     stroke: #666;
1187 }
1188
1189 /* service roads */
1190 .preset-icon .icon.tag-highway-service {
1191     color: #fff;
1192     fill: #666;
1193 }
1194 path.line.stroke.tag-highway-service,
1195 path.line.stroke.tag-service {
1196     stroke: #fff;
1197 }
1198 path.line.casing.tag-highway-service,
1199 path.line.casing.tag-service {
1200     stroke: #666;
1201 }
1202
1203 /* special service roads and bus guideways */
1204 /* with `service=* tag`  (e.g. parking_aisle, alley, drive-through) */
1205 .preset-icon .icon.tag-highway-bus_guideway,
1206 .preset-icon .icon.tag-highway-service.tag-service {
1207     color: #dca;
1208     fill: #666;
1209 }
1210 path.line.stroke.tag-highway-bus_guideway,
1211 path.line.stroke.tag-highway-service.tag-service,
1212 path.line.stroke.tag-service.tag-service {
1213     stroke: #dca;
1214 }
1215 path.line.casing.tag-highway-bus_guideway,
1216 path.line.casing.tag-highway-service.tag-service,
1217 path.line.casing.tag-service.tag-service {
1218     stroke: #666;
1219 }
1220
1221 /* unmaintained track roads */
1222 path.line.stroke.tag-highway-track,
1223 path.line.stroke.tag-track {
1224     stroke: #c5b59f;
1225 }
1226 path.line.casing.tag-highway-track,
1227 path.line.casing.tag-track {
1228     stroke: #746f6f;
1229 }
1230
1231 /* paths */
1232 path.line.stroke.tag-highway-path,
1233 path.line.stroke.tag-highway-footway,
1234 path.line.stroke.tag-highway-cycleway,
1235 path.line.stroke.tag-highway-bridleway {
1236     stroke-linecap: butt;
1237     stroke-dasharray: 6, 6;
1238 }
1239 .low-zoom path.line.stroke.tag-highway-path,
1240 .low-zoom path.line.stroke.tag-highway-footway,
1241 .low-zoom path.line.stroke.tag-highway-cycleway,
1242 .low-zoom path.line.stroke.tag-highway-bridleway {
1243     stroke-linecap: butt;
1244     stroke-dasharray: 3, 3;
1245 }
1246
1247 /* style for features that should have highway=footway but don't yet */
1248 path.line.stroke.tag-crossing,
1249 path.line.stroke.tag-public_transport-platform,
1250 path.line.stroke.tag-highway-platform,
1251 path.line.stroke.tag-railway-platform,
1252 path.line.stroke.tag-man_made-pier {
1253     stroke: #dca;
1254 }
1255
1256 path.line.casing.tag-highway-path,
1257 path.line.casing.tag-highway-path.tag-unpaved,
1258 path.line.casing.tag-highway-footway.tag-public_transport-platform,
1259 path.line.casing.tag-highway-footway.tag-man_made-pier,
1260 path.line.casing.tag-highway.tag-crossing {
1261     stroke: #dca;
1262     stroke-linecap: round;
1263     stroke-dasharray: none;
1264 }
1265 path.line.casing.tag-highway-footway,
1266 path.line.casing.tag-highway-cycleway,
1267 path.line.casing.tag-highway-bridleway,
1268 path.line.casing.tag-highway-footway.tag-unpaved,
1269 path.line.casing.tag-highway-cycleway.tag-unpaved,
1270 path.line.casing.tag-highway-bridleway.tag-unpaved {
1271     stroke: #fff;
1272     stroke-linecap: round;
1273     stroke-dasharray: none;
1274 }
1275
1276 .preset-icon .icon.tag-highway-path,
1277 .preset-icon .icon.tag-highway-footway.tag-public_transport-platform,
1278 .preset-icon .icon.tag-highway-footway.tag-man_made-pier {
1279     color: #988;
1280     fill: #dca;
1281 }
1282 path.line.stroke.tag-highway-path {
1283     stroke: #988;
1284 }
1285
1286 /* footways */
1287 .preset-icon .icon.tag-route-foot,
1288 .preset-icon .icon.tag-route-hiking,
1289 .preset-icon .icon.tag-highway-footway {
1290     color: #988;
1291     fill: #fff;
1292 }
1293 path.line.stroke.tag-highway-footway,
1294 path.line.stroke.tag-highway_bus_stop,
1295 .preset-icon-container path.casing.tag-highway-footway {
1296     stroke: #988;
1297 }
1298 .preset-icon .icon.tag-highway-footway.tag-footway-sidewalk {
1299     color: #d4b4b4;
1300 }
1301 path.stroke.tag-highway-footway.tag-footway-sidewalk,
1302 .preset-icon-container path.casing.tag-highway-footway.tag-footway-sidewalk {
1303     stroke: #d4b4b4;
1304 }
1305 .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) {
1306     stroke: #fff;
1307 }
1308
1309 /* cycleways */
1310 .preset-icon .icon.tag-route-bicycle,
1311 .preset-icon .icon.tag-highway-cycleway {
1312     color: #58a9ed;
1313     fill: #fff;
1314 }
1315 path.line.stroke.tag-highway-cycleway,
1316 .preset-icon-container path.casing.tag-highway-cycleway {
1317     stroke: #58a9ed;
1318 }
1319 .preset-icon-container path.stroke.tag-highway-cycleway:not(.tag-crossing) {
1320     stroke: #fff;
1321 }
1322
1323 /* bridleways */
1324 .preset-icon .icon.tag-route-horse,
1325 .preset-icon .icon.tag-highway-bridleway {
1326     color: #e06d5f;
1327     fill: #fff;
1328 }
1329 path.line.stroke.tag-highway-bridleway,
1330 .preset-icon-container path.casing.tag-highway-bridleway {
1331     stroke: #e06d5f;
1332 }
1333 .preset-icon-container path.stroke.tag-highway-bridleway {
1334     stroke: #fff;
1335 }
1336
1337 /* racetracks */
1338 .preset-icon .icon.tag-leisure-track {
1339     color: rgb(229, 184, 43);
1340 }
1341 path.line.stroke.tag-leisure-track,
1342 .preset-icon-container path.casing.tag-highway.tag-leisure-track {
1343     stroke: rgb(229, 184, 43);
1344 }
1345 .preset-icon-container path.line.stroke.tag-highway.tag-leisure-track {
1346     stroke: #fff;
1347 }
1348
1349 /* steps */
1350 .preset-icon .icon.tag-highway-steps {
1351     color: #81d25c;
1352     fill: #fff;
1353 }
1354 path.line.stroke.tag-highway-steps {
1355     stroke-linecap: butt;
1356     stroke-dasharray: 3, 3;
1357 }
1358 .low-zoom path.line.stroke.tag-highway-steps {
1359     stroke-dasharray: 2, 2;
1360 }
1361 path.line.casing.tag-highway-steps,
1362 path.line.casing.tag-highway-steps.tag-unpaved {
1363     stroke: #fff;
1364     stroke-linecap: round;
1365     stroke-dasharray: none;
1366 }
1367 path.line.stroke.tag-highway-steps,
1368 .preset-icon-container path.line.casing.tag-highway-steps {
1369     stroke: #81d25c;
1370 }
1371 .preset-icon-container path.line.stroke.tag-highway-steps {
1372     stroke: #fff;
1373 }
1374
1375
1376 /* crossings */
1377 path.line.stroke.tag-highway.tag-crossing-unmarked {
1378     stroke-dasharray: 6, 4;
1379 }
1380 .low-zoom path.line.stroke.tag-highway.tag-crossing-unmarked {
1381     stroke-dasharray: 3, 2;
1382 }
1383 path.line.stroke.tag-highway.tag-crossing-marked {
1384     stroke-dasharray: 6, 3;
1385 }
1386 .low-zoom path.line.stroke.tag-highway.tag-crossing-marked {
1387     stroke-dasharray: 3, 1.5;
1388 }
1389 path.line.stroke.tag-highway-footway.tag-crossing-marked {
1390     stroke: #4c4444;
1391 }
1392 .preset-icon .icon.tag-highway-footway.tag-crossing-marked {
1393     color: #4c4444;
1394 }
1395 path.line.stroke.tag-highway-footway.tag-crossing-unmarked {
1396     stroke: #776a6a;
1397 }
1398 .preset-icon .icon.tag-highway-footway.tag-crossing-unmarked {
1399     color: #776a6a;
1400 }
1401 path.line.stroke.tag-highway-cycleway.tag-crossing-marked {
1402     stroke: #446077;
1403 }
1404 .preset-icon .icon.tag-highway-cycleway.tag-crossing-marked {
1405     color: #446077;
1406 }
1407
1408
1409 /* highway midpoints */
1410 g.midpoint.tag-highway-corridor .fill,
1411 g.midpoint.tag-highway-pedestrian .fill,
1412 g.midpoint.tag-highway-steps .fill,
1413 g.midpoint.tag-highway-path .fill,
1414 g.midpoint.tag-highway-footway .fill,
1415 g.midpoint.tag-highway-cycleway .fill,
1416 g.midpoint.tag-highway-bridleway .fill {
1417     fill: #fff;
1418     stroke: #333;
1419     stroke-opacity: .8;
1420     opacity: .8;
1421 }
1422 /* aeroways */
1423
1424 /* areas */
1425 path.area.stroke.tag-aeroway,
1426 .low-zoom path.area.stroke.tag-aeroway {
1427     stroke: #fff;
1428     stroke-dasharray: none;
1429     stroke-width: 1;
1430 }
1431 path.area.fill.tag-aeroway-runway {
1432     stroke: rgba(0, 0, 0, 0.6);
1433     fill: rgba(0, 0, 0, 0.6);
1434 }
1435
1436 /* lines */
1437 /* narrow aeroways (taxiway) */
1438 path.line.shadow.tag-aeroway-taxiway,
1439 path.line.shadow.tag-taxiway {
1440     stroke-width: 16;
1441 }
1442 path.line.casing.tag-aeroway-taxiway,
1443 path.line.casing.tag-taxiway {
1444     stroke-width: 7;
1445 }
1446 path.line.stroke.tag-aeroway-taxiway,
1447 path.line.stroke.tag-taxiway {
1448     stroke-width: 5;
1449 }
1450 .low-zoom path.line.shadow.tag-aeroway-taxiway,
1451 .low-zoom path.line.shadow.tag-taxiway {
1452     stroke-width: 12;
1453 }
1454 .low-zoom path.line.casing.tag-aeroway-taxiway,
1455 .low-zoom path.line.casing.tag-taxiway {
1456     stroke-width: 5;
1457 }
1458 .low-zoom path.line.stroke.tag-aeroway-taxiway,
1459 .low-zoom path.line.stroke.tag-taxiway {
1460     stroke-width: 3;
1461 }
1462
1463 .preset-icon .icon.tag-aeroway-taxiway,
1464 .preset-icon .icon.tag-taxiway {
1465     color: #ff0;
1466     fill: #666;
1467 }
1468 path.line.stroke.tag-aeroway-taxiway,
1469 path.line.stroke.tag-taxiway {
1470     stroke: #ff0;
1471 }
1472 path.line.casing.tag-aeroway-taxiway,
1473 path.line.casing.tag-taxiway {
1474     stroke: #666;
1475 }
1476
1477 /* wide aeroways (runway) */
1478 .preset-icon .icon.tag-aeroway-runway,
1479 .preset-icon .icon.tag-runway {
1480     color: #444;
1481     fill: #000;
1482 }
1483 path.line.shadow.tag-aeroway-runway {
1484     stroke-width: 20;
1485 }
1486 path.line.casing.tag-aeroway-runway {
1487     stroke-width: 10;
1488     stroke: #000;
1489     stroke-linecap: square;
1490 }
1491 path.line.stroke.tag-aeroway-runway {
1492     stroke: #fff;
1493     stroke-width: 2;
1494     stroke-linecap: butt;
1495     stroke-dasharray: 24, 48;
1496 }
1497 .low-zoom path.line.shadow.tag-aeroway-runway {
1498     stroke-width: 16;
1499 }
1500 .low-zoom path.line.casing.tag-aeroway-runway {
1501     stroke-width: 7;
1502 }
1503 .low-zoom path.line.stroke.tag-aeroway-runway {
1504     stroke-width: 2;
1505     stroke-dasharray: 12, 24;
1506 }
1507 .preset-icon-container path.line.stroke.tag-aeroway-runway {
1508     stroke-dasharray: 0, 14, 8, 14;
1509 }
1510 /* railways */
1511
1512 /* defaults */
1513 .preset-icon .icon.tag-railway.other-line {
1514     color: #fff;
1515     fill: #777;
1516 }
1517 .preset-icon .icon.tag-railway {
1518     color: #555;
1519     fill: #eee;
1520 }
1521
1522 /* lines */
1523 /* narrow widths */
1524 path.line.shadow.tag-railway {
1525     stroke-width: 16;
1526 }
1527 path.line.casing.tag-railway {
1528     stroke-width: 7;
1529 }
1530 path.line.stroke.tag-railway {
1531     stroke-width: 2;
1532     stroke-linecap: butt;
1533     stroke-dasharray: 12,12;
1534 }
1535 .low-zoom path.line.shadow.tag-railway {
1536     stroke-width: 12;
1537 }
1538 .low-zoom path.line.casing.tag-railway {
1539     stroke-width: 5;
1540 }
1541 .low-zoom path.line.stroke.tag-railway {
1542     stroke-width: 2;
1543     stroke-dasharray: 6,6;
1544 }
1545 .preset-icon-container path.line.stroke.tag-railway:not(.tag-status) {
1546     stroke-dasharray: 6;
1547 }
1548
1549 path.line.casing.tag-railway.tag-railway-platform {
1550     stroke-width: 0;
1551 }
1552 path.line.stroke.tag-railway.tag-railway-platform {
1553     stroke-dasharray: none;
1554 }
1555
1556 /* styles */
1557 path.line.casing.tag-railway {
1558     stroke: #555;
1559 }
1560 path.line.stroke.tag-railway {
1561     stroke: #eee;
1562 }
1563
1564
1565 .preset-icon .icon.tag-railway-disused,
1566 .preset-icon .icon.tag-railway-abandoned {
1567     color: #999;
1568     fill: #eee;
1569 }
1570 path.line.casing.tag-railway-disused,
1571 path.line.casing.tag-railway-abandoned {
1572     stroke: #999;
1573 }
1574 path.line.stroke.tag-railway-disused,
1575 path.line.stroke.tag-railway-abandoned {
1576     stroke: #eee;
1577 }
1578
1579
1580 path.line.casing.tag-railway-subway {
1581     stroke: #222;
1582 }
1583 path.line.stroke.tag-railway-subway {
1584     stroke: #bbb;
1585 }
1586 /* waterways */
1587
1588 /* defaults */
1589 .preset-icon .icon.tag-waterway.other-line {
1590     color: #7dd;
1591     fill: #7dd;
1592 }
1593 .preset-icon .icon.tag-type-waterway:not(.tag-waterway-dam),
1594 .preset-icon .icon.tag-waterway:not(.tag-waterway-dam) {
1595     color: #7dd;
1596     fill: #fff;
1597 }
1598
1599
1600 /* areas */
1601 path.area.stroke.tag-waterway-dock,
1602 path.area.stroke.tag-waterway-boatyard,
1603 path.area.stroke.tag-waterway-fuel {
1604     stroke: white;
1605     stroke-width: 1;
1606 }
1607 path.area.casing.tag-waterway-dock,
1608 path.area.casing.tag-waterway-boatyard,
1609 path.area.casing.tag-waterway-fuel {
1610     stroke: none;
1611 }
1612 path.area.fill.tag-waterway-dock,
1613 path.area.fill.tag-waterway-boatyard,
1614 path.area.fill.tag-waterway-fuel {
1615     stroke: rgba(255, 255, 255, 0.3);
1616     fill: rgba(255, 255, 255, 0.3);
1617 }
1618
1619 /* lines */
1620 path.line.fill.tag-waterway:not(.tag-waterway-dam) {
1621     stroke: rgba(119, 211, 222, 0.3);
1622     fill: rgba(119, 211, 222, 0.3);
1623 }
1624 path.line.casing.tag-waterway:not(.tag-waterway-dam) {
1625     stroke: #444;
1626 }
1627 path.line.stroke.tag-waterway:not(.tag-waterway-dam) {
1628     stroke: #7dd;
1629 }
1630
1631
1632 /* narrow waterways (default) */
1633 path.line.shadow.tag-waterway {
1634     stroke-width: 16;
1635 }
1636 path.line.casing.tag-waterway {
1637     stroke-width: 7;
1638 }
1639 path.line.stroke.tag-waterway {
1640     stroke-width: 5;
1641 }
1642
1643 .low-zoom path.line.shadow.tag-waterway {
1644     stroke-width: 12;
1645 }
1646 .low-zoom path.line.casing.tag-waterway {
1647     stroke-width: 5;
1648 }
1649 .low-zoom path.line.stroke.tag-waterway {
1650     stroke-width: 3;
1651 }
1652
1653
1654 /* wide waterways (river) */
1655 path.line.shadow.tag-waterway-river {
1656     stroke-width: 20;
1657 }
1658 path.line.casing.tag-waterway-river {
1659     stroke-width: 10;
1660 }
1661 path.line.stroke.tag-waterway-river {
1662     stroke-width: 8;
1663 }
1664
1665 .low-zoom path.line.shadow.tag-waterway-river {
1666     stroke-width: 16;
1667 }
1668 .low-zoom path.line.casing.tag-waterway-river {
1669     stroke-width: 7;
1670 }
1671 .low-zoom path.line.stroke.tag-waterway-river {
1672     stroke-width: 5;
1673 }
1674
1675
1676 /* ditch */
1677 .preset-icon .icon.tag-waterway-ditch {
1678     color: #39a;
1679 }
1680 path.line.stroke.tag-waterway-ditch {
1681     stroke: #39a;
1682 }
1683
1684 /* narrow width miscellanous things */
1685 path.line.shadow.tag-aerialway,
1686 path.line.shadow.tag-attraction-summer_toboggan,
1687 path.line.shadow.tag-attraction-water_slide,
1688 path.line.shadow.tag-golf-cartpath,
1689 path.line.shadow.tag-man_made-pipeline,
1690 path.line.shadow.tag-natural-tree_row,
1691 path.line.shadow.tag-piste {
1692     stroke-width: 16;
1693 }
1694 path.line.casing.tag-aerialway,
1695 path.line.casing.tag-attraction-summer_toboggan,
1696 path.line.casing.tag-attraction-water_slide,
1697 path.line.casing.tag-golf-cartpath,
1698 path.line.casing.tag-man_made-pipeline,
1699 path.line.casing.tag-natural-tree_row,
1700 path.line.casing.tag-piste {
1701     stroke-width: 7;
1702 }
1703 path.line.stroke.tag-aerialway,
1704 path.line.stroke.tag-attraction-summer_toboggan,
1705 path.line.stroke.tag-attraction-water_slide,
1706 path.line.stroke.tag-golf-cartpath,
1707 path.line.stroke.tag-man_made-pipeline,
1708 path.line.stroke.tag-natural-tree_row,
1709 path.line.stroke.tag-piste {
1710     stroke-width: 5;
1711 }
1712
1713 .low-zoom path.line.shadow.tag-aerialway,
1714 .low-zoom path.line.shadow.tag-attraction-summer_toboggan,
1715 .low-zoom path.line.shadow.tag-attraction-water_slide,
1716 .low-zoom path.line.shadow.tag-golf-cartpath,
1717 .low-zoom path.line.shadow.tag-man_made-pipeline,
1718 .low-zoom path.line.shadow.tag-natural-tree_row,
1719 .low-zoom path.line.shadow.tag-piste {
1720     stroke-width: 12;
1721 }
1722 .low-zoom path.line.casing.tag-aerialway,
1723 .low-zoom path.line.casing.tag-attraction-summer_toboggan,
1724 .low-zoom path.line.casing.tag-attraction-water_slide,
1725 .low-zoom path.line.casing.tag-golf-cartpath,
1726 .low-zoom path.line.casing.tag-man_made-pipeline,
1727 .low-zoom path.line.casing.tag-natural-tree_row,
1728 .low-zoom path.line.casing.tag-piste {
1729     stroke-width: 5;
1730 }
1731 .low-zoom path.line.stroke.tag-aerialway,
1732 .low-zoom path.line.stroke.tag-attraction-summer_toboggan,
1733 .low-zoom path.line.stroke.tag-attraction-water_slide,
1734 .low-zoom path.line.stroke.tag-golf-cartpath,
1735 .low-zoom path.line.stroke.tag-man_made-pipeline,
1736 .low-zoom path.line.stroke.tag-natural-tree_row,
1737 .low-zoom path.line.stroke.tag-piste {
1738     stroke-width: 3;
1739 }
1740
1741
1742 /* ferry routes  */
1743 .preset-icon .icon.tag-route-ferry {
1744     color: #58a9ed;
1745     fill: #fff;
1746 }
1747 path.line.shadow.tag-route-ferry {
1748     stroke-width: 16;
1749 }
1750 path.line.stroke.tag-route-ferry {
1751     stroke-width: 3;
1752     stroke-linecap: butt;
1753     stroke-dasharray: 12,8;
1754 }
1755 .low-zoom path.line.shadow.tag-route-ferry {
1756     stroke-width: 12;
1757 }
1758 .low-zoom path.line.stroke.tag-route-ferry,
1759 .preset-icon-container path.line.stroke.tag-route-ferry {
1760     stroke-width: 2;
1761     stroke-dasharray: 6,4;
1762 }
1763 path.line.stroke.tag-route-ferry {
1764     stroke: #58a9ed;
1765 }
1766 path.line.casing.tag-route-ferry {
1767     stroke: none;
1768 }
1769
1770
1771 /* aerialways */
1772 path.line.stroke.tag-aerialway {
1773     stroke: #c55;
1774 }
1775 path.line.casing.tag-aerialway {
1776     stroke: #444;
1777 }
1778
1779
1780 /* pistes */
1781 path.line.stroke.tag-piste {
1782     stroke: #a9d;
1783 }
1784 path.line.casing.tag-piste {
1785     stroke: #444;
1786 }
1787
1788
1789 /* Attractions */
1790 path.line.stroke.tag-attraction-summer_toboggan {
1791     stroke: #9e9e9e;
1792 }
1793 path.line.casing.tag-attraction-summer_toboggan {
1794     stroke: #666;
1795 }
1796
1797 path.line.stroke.tag-attraction-water_slide {
1798     stroke: #aae0cb;
1799 }
1800 path.line.casing.tag-attraction-water_slide {
1801     stroke: #3d6c71;
1802 }
1803
1804
1805 /* golf cartpaths (like service roads) */
1806 .preset-icon .icon.tag-golf-cartpath {
1807     color: #dca;
1808     fill: #666;
1809 }
1810 path.line.stroke.tag-golf-cartpath {
1811     stroke: #dca;
1812 }
1813 path.line.casing.tag-golf-cartpath {
1814     stroke: #666;
1815 }
1816
1817
1818 /* power and pipeline */
1819 .preset-icon .icon.tag-man_made-pipeline,
1820 .preset-icon .icon.tag-power {
1821     color: #939393;
1822     fill: #939393;
1823 }
1824
1825
1826 /* power */
1827 path.line.stroke.tag-power {
1828     stroke: #939393;
1829     stroke-width: 2;
1830 }
1831 path.line.casing.tag-power {
1832     stroke: none;
1833 }
1834
1835
1836 /* pipeline */
1837 path.line.stroke.tag-man_made-pipeline {
1838     stroke: #cbd0d8;
1839     stroke-linecap: butt;
1840     stroke-dasharray: 80, 1.25;
1841 }
1842 path.line.casing.tag-man_made-pipeline {
1843     stroke: #666;
1844 }
1845 .low-zoom path.line.stroke.tag-man_made-pipeline {
1846     stroke-dasharray: 40, 1;
1847 }
1848 .preset-icon-container path.line.stroke.tag-man_made-pipeline {
1849     stroke-dasharray: 19, 1;
1850 }
1851
1852
1853 /* boundaries */
1854 path.line.stroke.tag-boundary {
1855     stroke: #fff;
1856     stroke-width: 2;
1857     stroke-linecap: butt;
1858     stroke-dasharray: 20, 5, 5, 5;
1859 }
1860 path.line.casing.tag-boundary {
1861     stroke: #82b5fe;
1862     stroke-width: 6;
1863 }
1864
1865 path.line.casing.tag-boundary-protected_area,
1866 path.line.casing.tag-boundary-national_park {
1867     stroke: #b0e298;
1868 }
1869
1870
1871 /* barriers and similar */
1872 path.line.stroke.tag-barrier:not(.tag-barrier-hedge) {
1873     stroke: #ddd;
1874 }
1875 .preset-icon-container path.line.stroke.tag-barrier:not(.tag-barrier-hedge) {
1876     stroke: rgb(170, 170, 170);
1877 }
1878 path.line.casing.tag-natural,
1879 path.line.casing.tag-barrier,
1880 path.line.casing.tag-man_made-groyne,
1881 path.line.casing.tag-man_made-breakwater {
1882     stroke: none;
1883 }
1884 path.line.stroke.tag-barrier,
1885 path.line.stroke.tag-man_made-groyne,
1886 path.line.stroke.tag-man_made-breakwater {
1887     stroke-width: 3px;
1888     stroke-linecap: round;
1889     stroke-dasharray: 15, 5, 1, 5;
1890 }
1891 .low-zoom path.line.stroke.tag-barrier,
1892 .low-zoom path.line.stroke.tag-man_made-groyne,
1893 .low-zoom path.line.stroke.tag-man_made-breakwater {
1894     stroke-width: 2px;
1895     stroke-linecap: butt;
1896     stroke-dasharray: 8, 2, 2, 2;
1897 }
1898 .preset-icon-container path.line.stroke.tag-barrier,
1899 .preset-icon-container path.line.stroke.tag-man_made-groyne,
1900 .preset-icon-container path.line.stroke.tag-man_made-breakwater {
1901     stroke-dasharray: 1, 4, 6, 4;
1902 }
1903
1904
1905 /* bridges */
1906 path.line.casing.tag-bridge {
1907     stroke-opacity: 0.6;
1908     stroke: #000 !important;
1909     stroke-linecap: butt;
1910     stroke-dasharray: none;
1911 }
1912 path.line.shadow.tag-bridge {
1913     stroke-width: 24;
1914 }
1915 path.line.casing.tag-bridge {
1916     stroke-width: 16;
1917 }
1918 .low-zoom path.line.shadow.tag-bridge {
1919     stroke-width: 16;
1920 }
1921 .low-zoom path.line.casing.tag-bridge {
1922     stroke-width: 10;
1923 }
1924
1925 path.line.shadow.tag-railway.tag-bridge,
1926 path.line.shadow.tag-highway-living_street.tag-bridge,
1927 path.line.shadow.tag-highway-path.tag-bridge,
1928 path.line.shadow.tag-highway-corridor.tag-bridge,
1929 path.line.shadow.tag-highway-pedestrian.tag-bridge,
1930 path.line.shadow.tag-highway-service.tag-bridge,
1931 path.line.shadow.tag-highway-track.tag-bridge,
1932 path.line.shadow.tag-highway-steps.tag-bridge,
1933 path.line.shadow.tag-highway-footway.tag-bridge,
1934 path.line.shadow.tag-highway-cycleway.tag-bridge,
1935 path.line.shadow.tag-highway-bridleway.tag-bridge {
1936     stroke-width: 18;
1937 }
1938 path.line.casing.tag-railway.tag-bridge,
1939 path.line.casing.tag-highway-living_street.tag-bridge,
1940 path.line.casing.tag-highway-path.tag-bridge,
1941 path.line.casing.tag-highway-corridor.tag-bridge,
1942 path.line.casing.tag-highway-pedestrian.tag-bridge,
1943 path.line.casing.tag-highway-service.tag-bridge,
1944 path.line.casing.tag-highway-track.tag-bridge,
1945 path.line.casing.tag-highway-steps.tag-bridge,
1946 path.line.casing.tag-highway-footway.tag-bridge,
1947 path.line.casing.tag-highway-cycleway.tag-bridge,
1948 path.line.casing.tag-highway-bridleway.tag-bridge {
1949     stroke-width: 10;
1950 }
1951
1952 .low-zoom path.line.shadow.tag-railway.tag-bridge,
1953 .low-zoom path.line.shadow.tag-highway-living_street.tag-bridge,
1954 .low-zoom path.line.shadow.tag-highway-path.tag-bridge,
1955 .low-zoom path.line.shadow.tag-highway-corridor.tag-bridge,
1956 .low-zoom path.line.shadow.tag-highway-pedestrian.tag-bridge,
1957 .low-zoom path.line.shadow.tag-highway-service.tag-bridge,
1958 .low-zoom path.line.shadow.tag-highway-track.tag-bridge,
1959 .low-zoom path.line.shadow.tag-highway-steps.tag-bridge,
1960 .low-zoom path.line.shadow.tag-highway-footway.tag-bridge,
1961 .low-zoom path.line.shadow.tag-highway-cycleway.tag-bridge,
1962 .low-zoom path.line.shadow.tag-highway-bridleway.tag-bridge {
1963     stroke-width: 14;
1964 }
1965 .low-zoom path.line.casing.tag-railway.tag-bridge,
1966 .low-zoom path.line.casing.tag-highway-living_street.tag-bridge,
1967 .low-zoom path.line.casing.tag-highway-path.tag-bridge,
1968 .low-zoom path.line.casing.tag-highway-corridor.tag-bridge,
1969 .low-zoom path.line.casing.tag-highway-pedestrian.tag-bridge,
1970 .low-zoom path.line.casing.tag-highway-service.tag-bridge,
1971 .low-zoom path.line.casing.tag-highway-track.tag-bridge,
1972 .low-zoom path.line.casing.tag-highway-steps.tag-bridge,
1973 .low-zoom path.line.casing.tag-highway-footway.tag-bridge,
1974 .low-zoom path.line.casing.tag-highway-cycleway.tag-bridge,
1975 .low-zoom path.line.casing.tag-highway-bridleway.tag-bridge {
1976     stroke-width: 6;
1977 }
1978
1979
1980 /* tunnels */
1981 path.line.stroke.tag-tunnel,
1982 path.line.stroke.tag-location-underground,
1983 path.line.stroke.tag-location-underwater {
1984     stroke-opacity: 0.3;
1985 }
1986 path.line.casing.tag-tunnel,
1987 path.line.casing.tag-location-underground,
1988 path.line.stroke.tag-location-underwater {
1989     stroke-opacity: 0.5;
1990     stroke-linecap: butt;
1991     stroke-dasharray: none;
1992 }
1993
1994
1995 /* embankments / cuttings */
1996 path.line.shadow.tag-embankment,
1997 path.line.shadow.tag-cutting {
1998     stroke-width: 28;
1999 }
2000 path.line.casing.tag-embankment,
2001 path.line.casing.tag-cutting {
2002     stroke-opacity: 0.5;
2003     stroke: #000;
2004     stroke-width: 22;
2005     stroke-dasharray: 2, 4;
2006     stroke-linecap: butt;
2007 }
2008
2009 .low-zoom path.line.shadow.tag-embankment,
2010 .low-zoom path.line.shadow.tag-cutting {
2011     stroke-width: 14;
2012 }
2013 .low-zoom path.line.casing.tag-embankment,
2014 .low-zoom path.line.casing.tag-cutting {
2015     stroke-width: 10;
2016 }
2017
2018
2019 /* Surface - unpaved */
2020 path.line.casing.tag-unpaved {
2021     stroke: #ccc;
2022     stroke-linecap: butt;
2023     stroke-dasharray: 4, 3;
2024 }
2025 .low-zoom path.line.casing.tag-unpaved {
2026     stroke-dasharray: 3, 2;
2027 }
2028 path.line.casing.tag-bridge.tag-unpaved {
2029     stroke: #000;
2030     stroke-dasharray: 4, 3;
2031 }
2032 .low-zoom path.line.casing.tag-bridge.tag-unpaved {
2033     stroke: #000;
2034     stroke-dasharray: 3, 2;
2035 }
2036
2037
2038 /* Status (e.g. proposed, abandoned) */
2039 path.area.stroke.tag-status,
2040 path.line.stroke.tag-status,
2041 path.area.casing.tag-status,
2042 path.line.casing.tag-status {
2043     stroke-linecap: butt;
2044     stroke-dasharray: 7, 3;
2045 }
2046 .low-zoom path.area.stroke.tag-status,
2047 .low-zoom path.line.stroke.tag-status,
2048 .low-zoom path.area.casing.tag-status,
2049 .low-zoom path.line.casing.tag-status {
2050     stroke-dasharray: 5, 2;
2051 }
2052
2053 /* Road Closed Status */
2054 .preset-icon .icon.tag-highway.tag-status-construction {
2055     color: #fc6c14;
2056     fill: #fff;
2057 }
2058 path.line.shadow.tag-highway.tag-status.tag-status-construction {
2059     stroke-width: 20;
2060 }
2061 path.line.casing.tag-highway.tag-status.tag-status-construction {
2062     stroke-width: 10;
2063     stroke-linecap: butt;
2064     stroke-dasharray: none
2065 }
2066 path.line.stroke.tag-highway.tag-status.tag-status-construction {
2067     stroke-width: 8;
2068     stroke-linecap: butt;
2069     stroke-dasharray: 10, 10;
2070 }
2071 path.line.casing.tag-highway.tag-status.tag-status-construction,
2072 .preset-icon-container path.line.stroke.tag-highway.tag-status.tag-status-construction {
2073     stroke: #fff;
2074 }
2075 path.line.stroke.tag-highway.tag-status.tag-status-construction,
2076 .preset-icon-container path.line.casing.tag-highway.tag-status.tag-status-construction {
2077     stroke: #fc6c14;
2078 }
2079 .low-zoom path.line.shadow.tag-highway.tag-status.tag-status-construction {
2080     stroke-width: 16;
2081 }
2082 .low-zoom path.line.casing.tag-highway.tag-status.tag-status-construction {
2083     stroke-width: 7;
2084 }
2085 .low-zoom path.line.stroke.tag-highway.tag-status.tag-status-construction {
2086     stroke-width: 5;
2087     stroke-dasharray: 8, 8;
2088 }
2089
2090
2091 /* Buildings */
2092 path.stroke.tag-building {
2093     stroke: rgb(224, 110, 95);
2094 }
2095 path.fill.tag-building {
2096     stroke: rgba(224, 110, 95, 0.3);
2097     fill: rgba(224, 110, 95, 0.3);
2098 }
2099 /* Cursors */
2100
2101 .nope,
2102 .nope * {
2103     cursor: not-allowed !important;
2104 }
2105
2106 .map-in-map,
2107 #map {
2108     cursor: auto; /* Opera */
2109     cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
2110 }
2111
2112 .mode-browse .point,
2113 .mode-select .point {
2114     cursor: pointer; /* Opera */
2115     cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
2116 }
2117
2118 .mode-select .vertex,
2119 .mode-browse .vertex {
2120     cursor: pointer; /* Opera */
2121     cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
2122 }
2123
2124 .mode-browse .line,
2125 .mode-select .line {
2126     cursor: pointer; /* Opera */
2127     cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
2128 }
2129
2130 .mode-select .area,
2131 .mode-browse .area {
2132     cursor: pointer; /* Opera */
2133     cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
2134 }
2135
2136 .mode-select .midpoint,
2137 .mode-browse .midpoint {
2138     cursor: pointer; /* Opera */
2139     cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
2140 }
2141
2142 .mode-select .behavior-multiselect .point,
2143 .mode-select .behavior-multiselect .vertex,
2144 .mode-select .behavior-multiselect .line,
2145 .mode-select .behavior-multiselect .area {
2146     cursor: pointer; /* Opera */
2147     cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
2148 }
2149
2150 .mode-select .behavior-multiselect .selected {
2151     cursor: pointer; /* Opera */
2152     cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
2153 }
2154
2155 .mode-add-preset #map,
2156 .mode-draw-line #map,
2157 .mode-draw-area #map,
2158 .mode-add-line  #map,
2159 .mode-add-area  #map,
2160 .mode-drag-node #map,
2161 .mode-drag-note #map {
2162     cursor: crosshair; /* Opera */
2163     cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
2164 }
2165
2166 .mode-draw-line .way.target,
2167 .mode-draw-area .way.target,
2168 .mode-add-line  .way.target,
2169 .mode-add-area  .way.target,
2170 .mode-drag-node .way.target {
2171     cursor: crosshair; /* Opera */
2172     cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
2173 }
2174
2175 .mode-draw-line .vertex.target,
2176 .mode-draw-area .vertex.target,
2177 .mode-add-line  .vertex.target,
2178 .mode-add-area  .vertex.target,
2179 .mode-drag-node .vertex.target {
2180     cursor: crosshair; /* Opera */
2181     cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
2182 }
2183
2184 .mode-add-point #map,
2185 .mode-add-note #map,
2186 .mode-browse.lasso #map,
2187 .mode-browse.lasso .way,
2188 .mode-browse.lasso .vertex,
2189 .mode-browse.lasso .midpoint,
2190 .mode-select.lasso #map,
2191 .mode-select.lasso .way,
2192 .mode-select.lasso .vertex,
2193 .mode-select.lasso .midpoint {
2194     cursor: crosshair; /* Opera */
2195     cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
2196 }
2197
2198 .mode-browse .note,
2199 .mode-browse .qa_error,
2200 .mode-select .note,
2201 .mode-select .qa_error,
2202 .turn rect,
2203 .turn circle {
2204     cursor: pointer;
2205 }
2206 /* photo viewer div */
2207 #photoviewer {
2208     position: relative;
2209     flex-shrink: 0;
2210     margin-bottom: 10px;
2211     width: 330px;
2212     height: 250px;
2213     padding: 5px;
2214     background-color: #fff;
2215 }
2216 [dir='ltr'] #photoviewer {
2217     margin-left: 10px;
2218     margin-right: 2px;
2219 }
2220 [dir='rtl'] #photoviewer {
2221     margin-right: 10px;
2222     margin-left: 2px;
2223 }
2224
2225 @media screen and (min-width: 1600px) {
2226     #photoviewer {
2227         width: 490px;
2228         height: 370px;
2229     }
2230 }
2231
2232 #photoviewer button.thumb-hide {
2233     border-radius: 0;
2234     padding: 5px;
2235     position: absolute;
2236     right: 5px;
2237     top: 5px;
2238     z-index: 50;
2239 }
2240
2241 #photoviewer button.resize-handle-xy {
2242     border-radius: 0;
2243     position: absolute;
2244     top: 0;
2245     right: 0;
2246     z-index: 49;
2247     cursor: nesw-resize;
2248     height: 25px;
2249     width: 25px;
2250 }
2251
2252 #photoviewer button.resize-handle-x {
2253     border-radius: 0;
2254     position: absolute;
2255     top: 0;
2256     right: 0;
2257     bottom: 0;
2258     z-index: 48;
2259     cursor: ew-resize;
2260     height: auto;
2261     width: 6px;
2262 }
2263
2264 #photoviewer button.resize-handle-y {
2265     border-radius: 0;
2266     position: absolute;
2267     top: 0;
2268     right: 0;
2269     z-index: 48;
2270     cursor: ns-resize;
2271     height: 6px;
2272     width: 100%;
2273 }
2274
2275
2276 .photo-wrapper,
2277 .photo-wrapper img {
2278     width: 100%;
2279     height: 100%;
2280     overflow: hidden;
2281     object-fit: cover;
2282 }
2283
2284 .photo-wrapper .photo-attribution {
2285     position: absolute;
2286     bottom: 0;
2287     right: 0;
2288     width: 100%;
2289     font-size: 10px;
2290     text-align: right;
2291     line-height: 1.1em;
2292     padding: 4px 2px;
2293     z-index: 10;
2294 }
2295
2296 .photo-attribution a,
2297 .photo-attribution a:visited,
2298 .photo-attribution span {
2299     padding: 4px 2px;
2300     color: #fff;
2301 }
2302
2303 /* markers and sequences */
2304 .viewfield-group {
2305     pointer-events: none;
2306 }
2307 .mode-browse .viewfield-group,
2308 .mode-select .viewfield-group {
2309     pointer-events: visible;
2310     cursor: pointer;
2311 }
2312
2313 .viewfield-group.currentView * {
2314     fill: #ffee00 !important;
2315 }
2316 .viewfield-group.hovered * {
2317     fill: #eebb00 !important;
2318 }
2319
2320 .viewfield-group circle {
2321     stroke: #555;
2322     stroke-width: 1;
2323     stroke-opacity: 0.4;
2324     fill-opacity: 0.4;
2325 }
2326 .viewfield-group.highlighted circle {
2327     stroke: #222;
2328     stroke-opacity: 0.9;
2329     fill-opacity: 0.9;
2330 }
2331 .viewfield-group.highlighted.hovered circle {
2332     stroke: #222;
2333     stroke-width: 2;
2334     stroke-opacity: 0.9;
2335     fill-opacity: 0.9;
2336 }
2337 .viewfield-group.highlighted.currentView circle {
2338     stroke: #222;
2339     stroke-width: 2;
2340     stroke-opacity: 1;
2341     fill-opacity: 1;
2342 }
2343
2344 .viewfield-group .viewfield {
2345     stroke-width: 0;
2346     stroke: #222;
2347     fill-opacity: 0.4;
2348 }
2349 .viewfield-group.highlighted .viewfield {
2350     stroke-width: 1;
2351     fill-opacity: 0.8;
2352 }
2353 .viewfield-group.highlighted.hovered .viewfield {
2354     stroke-width: 1;
2355     fill-opacity: 0.8;
2356 }
2357 .viewfield-group.highlighted.currentView .viewfield {
2358     stroke-width: 1;
2359     fill-opacity: 0.9;
2360 }
2361
2362 .viewfield-group.currentView .viewfield-scale {
2363     transform: scale(2,2);
2364 }
2365
2366 .sequence {
2367     fill: none;
2368     stroke-width: 2;
2369     stroke-opacity: 0.4;
2370 }
2371 .sequence.highlighted,
2372 .sequence.currentView {
2373     stroke-width: 4;
2374     stroke-opacity: 1;
2375 }
2376
2377
2378 /* Streetside Image Layer */
2379 .layer-streetside-images {
2380     pointer-events: none;
2381 }
2382 .layer-streetside-images .viewfield-group * {
2383     fill: #0fffc4;
2384 }
2385 .layer-streetside-images .sequence {
2386     stroke: #0fffc4;
2387     stroke-opacity: 0.85;  /* bump opacity - only one per road */
2388 }
2389
2390
2391 /* Mapillary Image Layer */
2392 .layer-mapillary {
2393     pointer-events: none;
2394 }
2395 .layer-mapillary .viewfield-group * {
2396     fill: #55ff22;
2397 }
2398 .layer-mapillary .sequence {
2399     stroke: #55ff22;
2400 }
2401
2402
2403 /* Mapillary Sign Layer */
2404 .layer-mapillary-signs {
2405     pointer-events: none;
2406 }
2407 .layer-mapillary-signs .icon-sign {
2408     outline: 2px solid transparent;
2409     pointer-events: visible;
2410     cursor: pointer;
2411 }
2412 .layer-mapillary-signs .icon-sign:hover {
2413     outline: 5px solid #eebb00;
2414     background-color: #eebb00;
2415 }
2416 .layer-mapillary-signs .icon-sign.currentView {
2417     outline: 5px solid #ffee00;
2418     background-color: #ffee00;
2419 }
2420
2421
2422 /* OpenStreetCam Image Layer */
2423 .layer-openstreetcam {
2424     pointer-events: none;
2425 }
2426 .layer-openstreetcam .viewfield-group * {
2427     fill: #20c4ff;
2428 }
2429 .layer-openstreetcam .sequence {
2430     stroke: #20c4ff;
2431 }
2432
2433
2434 /* Streetside Viewer (pannellum) */
2435 .ms-wrapper .photo-attribution .image-link {
2436     display: block;
2437 }
2438 .ms-wrapper .photo-attribution .attribution-row {
2439     display: flex;
2440     flex-flow: row nowrap;
2441     justify-content: space-between;
2442     align-items: center;
2443     padding: 0 5px;
2444 }
2445 .ms-wrapper .photo-attribution .image-view-link {
2446     text-align: left;
2447     margin: 0 5px;
2448 }
2449 .ms-wrapper .photo-attribution .image-report-link {
2450     text-align: right;
2451 }
2452
2453 .ms-wrapper .photo-attribution a:active,
2454 .ms-wrapper .photo-attribution a:hover {
2455     color: #0fffc4;
2456 }
2457
2458 .ms-wrapper .pnlm-compass.pnlm-control {
2459     width: 26px;
2460     height: 26px;
2461     left: 4px;
2462     top: 60px;
2463     background-size: contain;
2464     background-repeat: no-repeat no-repeat;
2465 }
2466
2467 label.streetside-hires {
2468     cursor: pointer;
2469 }
2470 .streetside-hires span {
2471     margin-top: 2px;
2472 }
2473 .streetside-hires input[type="checkbox"] {
2474     float: left;
2475     width: 12px;
2476     height: 12px;
2477     margin: 0 5px;
2478 }
2479
2480
2481 /* Mapillary viewer */
2482 #mly .domRenderer .TagSymbol {
2483     font-size: 10px;
2484     background-color: rgba(0,0,0,0.4);
2485     padding: 0 4px;
2486     border-radius: 4px;
2487     top: -25px;
2488 }
2489 #mly .domRenderer .Attribution {
2490     /* we will roll our own to avoid async update issues like #4526 */
2491     display: none;
2492 }
2493
2494 .mly-wrapper .photo-attribution a:active,
2495 .mly-wrapper .photo-attribution a:hover {
2496     color: #35af6d;
2497 }
2498
2499 .mly-wrapper .mapillary-js-dom {
2500     z-index: 9;
2501 }
2502
2503
2504 /* OpenStreetCam viewer */
2505 .osc-wrapper {
2506     position: relative;
2507     background-color: #000;
2508     background-image: url(<%= asset_path("iD/img/loader-black.gif") %>);
2509     background-position: center;
2510     background-repeat: no-repeat;
2511 }
2512
2513 .osc-wrapper .photo-attribution a:active,
2514 .osc-wrapper .photo-attribution a:hover {
2515     color: #20c4ff;
2516 }
2517
2518 .osc-image-wrap {
2519     width: 100%;
2520     height: 100%;
2521     transform-origin:0 0;
2522     -ms-transform-origin:0 0;
2523     -webkit-transform-origin:0 0;
2524     -moz-transform-origin:0 0;
2525     -o-transform-origin:0 0;
2526 }
2527
2528
2529 /* photo-controls (step forward, back, rotate) */
2530 .photo-controls-wrap {
2531     text-align: center;
2532     position: absolute;
2533     top: 10px;
2534     width: 100%;
2535     z-index: 10;
2536 }
2537
2538 .photo-controls {
2539     display: inline-block;
2540     z-index: 10;
2541 }
2542
2543 .photo-controls button,
2544 .photo-controls button:focus {
2545     height: 18px;
2546     width: 18px;
2547     background: rgba(0,0,0,0.65);
2548     color: #eee;
2549     border-radius: 0;
2550 }
2551 .photo-controls button:first-of-type {
2552     border-radius: 3px 0 0 3px;
2553 }
2554 .photo-controls button:last-of-type {
2555     border-radius: 0 3px 3px 0;
2556 }
2557 .photo-controls button:hover,
2558 .photo-controls button:active {
2559     background: rgba(0,0,0,0.85);
2560     color: #fff;
2561 }
2562
2563 /* OSM Notes and KeepRight Layers */
2564
2565 .error-header-icon .qa_error-fill,
2566 .layer-keepRight .qa_error .qa_error-fill,
2567 .layer-improveOSM .qa_error .qa_error-fill {
2568     stroke: #333;
2569     stroke-width: 1.3px;  /* NOTE: likely a better way to scale the icon stroke */
2570 }
2571
2572 .note-header-icon .note-fill,
2573 .layer-notes .note .note-fill {
2574     color: #f30;
2575     stroke: #333;
2576     stroke-width: 40px;
2577 }
2578 .note-header-icon.new .note-fill,
2579 .layer-notes .note.new .note-fill {
2580     color: #fe0;
2581     stroke: #333;
2582     stroke-width: 40px;
2583 }
2584 .note-header-icon.closed .note-fill,
2585 .layer-notes .note.closed .note-fill {
2586     color: #5d0;
2587     stroke: #333;
2588     stroke-width: 40px;
2589 }
2590
2591 /* slight adjustments to preset icon for note icons */
2592 .note-header-icon .preset-icon-28 {
2593     top: 18px;
2594 }
2595 .note-header-icon .note-icon-annotation {
2596     position: absolute;
2597     top: 22px;
2598     left: 22px;
2599     margin: auto;
2600 }
2601 .note-header-icon .note-icon-annotation .icon {
2602     width: 15px;
2603     height: 15px;
2604 }
2605
2606 /* adjustment for error icon */
2607
2608 .error-header-icon .preset-icon-28 {
2609     top: auto;
2610     left: auto;
2611 }
2612
2613 .error-header-icon {
2614     display: flex;
2615     align-items: center;
2616     justify-content: center;
2617 }
2618
2619 /* Keep Right Errors
2620 ------------------------------------------------------- */
2621 .keepRight.error_type-20,     /* multiple nodes on same spot */
2622 .keepRight.error_type-40,     /* impossible oneways */
2623 .keepRight.error_type-210,    /* self intersecting ways */
2624 .keepRight.error_type-270,    /* unusual motorway connection */
2625 .keepRight.error_type-310,    /* roundabout issues */
2626 .keepRight.error_type-320,    /* improper _link */
2627 .keepRight.error_type-350 {   /* improper bridge tag */
2628     color: #ff9;
2629 }
2630
2631 .keepRight.error_type-50 {    /* almost junctions */
2632     color: #88f;
2633 }
2634
2635 .keepRight.error_type-60,     /* deprecated tags */
2636 .keepRight.error_type-70,     /* tagging issues */
2637 .keepRight.error_type-90,     /* motorway without ref */
2638 .keepRight.error_type-100,    /* place of worship without religion */
2639 .keepRight.error_type-110,    /* poi without name */
2640 .keepRight.error_type-150,    /* railway crossing without tag */
2641 .keepRight.error_type-220,    /* misspelled tag */
2642 .keepRight.error_type-380 {   /* non-physical sport tag */
2643     color: #5d0;
2644 }
2645
2646 .keepRight.error_type-130 {   /* disconnected ways */
2647     color: #fa3;
2648 }
2649
2650 .keepRight.error_type-170 {   /* FIXME tag */
2651     color: #ff0;
2652 }
2653
2654 .keepRight.error_type-190 {   /* intersection without junction */
2655     color: #f33;
2656 }
2657
2658 .keepRight.error_type-200 {   /* overlapping ways */
2659     color: #fdbf6f;
2660 }
2661
2662 .keepRight.error_type-160,    /* railway layer conflict */
2663 .keepRight.error_type-230 {   /* layer conflict */
2664     color: #b60;
2665 }
2666
2667 .keepRight.error_type-280 {   /* boundary issues */
2668     color: #5f47a0;
2669 }
2670
2671 .keepRight.error_type-180,    /* relation without type */
2672 .keepRight.error_type-290 {   /* turn restriction issues */
2673     color: #ace;
2674 }
2675
2676 .keepRight.error_type-300,    /* missing maxspeed */
2677 .keepRight.error_type-390 {   /* missing tracktype */
2678     color: #090;
2679 }
2680
2681 .keepRight.error_type-360,    /* language unknown */
2682 .keepRight.error_type-370,    /* doubled places */
2683 .keepRight.error_type-410 {   /* website issues */
2684     color: #f9b;
2685 }
2686
2687 .keepRight.error_type-120,    /* way without nodes */
2688 .keepRight.error_type-400 {   /* geometry / turn angles */
2689     color: #c35;
2690 }
2691
2692 /* ImproveOSM Errors
2693 ------------------------------------------------------- */
2694
2695 .improveOSM.error_type-ow {   /* missing one way */
2696     color: #1E90FF;
2697 }
2698
2699 .improveOSM.error_type-mr-road {   /* missing road */
2700     color: #B452CD;
2701 }
2702 .improveOSM.error_type-mr-path {   /* missing path */
2703     color: #A0522D;
2704 }
2705 .improveOSM.error_type-mr-parking {   /* missing parking */
2706     color: #EEEE00;
2707 }
2708 .improveOSM.error_type-mr-both {   /* missing road+parking */
2709     color: #FFA500;
2710 }
2711
2712 .improveOSM.error_type-tr {   /* missing turn restriction */
2713     color: #EC1C24;
2714 }
2715
2716
2717 /* Custom Map Data (geojson, gpx, kml, vector tile) */
2718 .layer-mapdata {
2719     pointer-events: none;
2720 }
2721
2722 .layer-mapdata path.shadow {
2723     pointer-events: stroke;
2724     stroke: #f6634f;
2725     stroke-width: 16;
2726     stroke-opacity: 0;
2727     fill: none;
2728 }
2729 .layer-mapdata path.MultiPoint.shadow,
2730 .layer-mapdata path.Point.shadow {
2731     pointer-events: fill;
2732     fill: #f6634f;
2733     fill-opacity: 0;
2734 }
2735 .layer-mapdata path.shadow.hover:not(.selected) {
2736     stroke-opacity: 0.4;
2737 }
2738 .layer-mapdata path.shadow.selected {
2739     stroke-opacity: 0.7;
2740 }
2741
2742 .layer-mapdata path.stroke {
2743     stroke: #ff26d4;
2744     stroke-width: 2;
2745     fill: none;
2746 }
2747
2748 .layer-mapdata path.fill {
2749     stroke-width: 0;
2750     stroke-opacity: 0.3;
2751     stroke: #ff26d4;
2752     fill: #ff26d4;
2753     fill-opacity: 0.3;
2754     fill-rule: evenodd;
2755 }
2756
2757 .layer-mapdata text.label-halo,
2758 .layer-mapdata text.label {
2759     font-size: 10px;
2760     font-weight: bold;
2761     dominant-baseline: middle;
2762 }
2763 .layer-mapdata text.label {
2764     fill: #ff26d4;
2765 }
2766 .layer-mapdata text.label.hover,
2767 .layer-mapdata text.label.selected {
2768     fill: #f6634f;
2769 }
2770 .layer-mapdata text.label-halo {
2771     opacity: 0.7;
2772     stroke: #000;
2773     stroke-width: 5px;
2774     stroke-miterlimit: 1;
2775 }
2776 /* Fill Styles */
2777
2778 .low-zoom.fill-wireframe path.stroke,
2779 .fill-wireframe path.stroke {
2780     stroke-width: 1 !important;
2781     stroke-opacity: 0.5 !important;
2782     stroke-dasharray: none !important;
2783     fill: none !important;
2784 }
2785 .low-zoom.fill-wireframe .layer-mapdata path.stroke,
2786 .fill-wireframe .layer-mapdata path.stroke {
2787     stroke-width: 2 !important;
2788     stroke-opacity: 1 !important;
2789 }
2790
2791 .low-zoom.fill-wireframe path.shadow,
2792 .fill-wireframe path.shadow {
2793     stroke-width: 12;
2794 }
2795
2796 .fill-wireframe path.shadow.related:not(.selected),
2797 .fill-wireframe path.shadow.hover:not(.selected) {
2798     stroke-opacity: 0.4;
2799 }
2800 .fill-wireframe path.shadow.selected {
2801     stroke-opacity: 0.6;
2802 }
2803
2804 .fill-wireframe .point,
2805 .fill-wireframe .areaicon,
2806 .fill-wireframe .areaicon-halo,
2807 .fill-wireframe path.casing,
2808 .fill-wireframe path.fill,
2809 .fill-wireframe path.oneway {
2810     display: none !important;
2811 }
2812
2813 .fill-partial path.area.fill {
2814     fill-opacity: 0;
2815     stroke-width: 60px;
2816     pointer-events: none;
2817 }
2818 .fill-partial path.area.fill.tag-building_part {
2819     stroke-width: 40px;
2820 }
2821 .fill-partial path.area.fill.tag-indoor {
2822     stroke-width: 20px;
2823 }
2824 .mode-browse .fill-partial path.area.fill,
2825 .mode-select .fill-partial path.area.fill {
2826     pointer-events: visibleStroke;
2827 }
2828 /* Basics
2829 ------------------------------------------------------- */
2830 /*
2831   Opera misbehaves when the window is resized vertically unless 100% width + height are
2832   applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
2833 */
2834 html, body {
2835     width: 100%;
2836     height: 100%;
2837 }
2838
2839 body {
2840     font: normal 12px/1.6667 "-apple-system", BlinkMacSystemFont,
2841         "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2842         "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2843         sans-serif;
2844     margin: 0;
2845     padding: 0;
2846     color: #333;
2847     overflow: hidden;
2848     -ms-user-select: none;
2849     -ms-content-zooming: none;
2850 }
2851
2852 .unsupported {
2853     text-align: center;
2854     vertical-align: middle;
2855     padding-top: 100px;
2856     font-size: 15px;
2857 }
2858
2859 .id-container {
2860     height: 100%;
2861     width: 100%;
2862 }
2863
2864 #content {
2865     position: relative;
2866     overflow: hidden;
2867     height: 100%;
2868 }
2869
2870 #content.active {
2871     -webkit-filter: none !important;
2872     filter: none !important;
2873     -webkit-duration: 200ms;
2874     transition-duration: 200ms;
2875 }
2876
2877 #content.inactive {
2878     -webkit-filter: grayscale(80%) brightness(80%);
2879     filter: grayscale(80%) brightness(80%);
2880     -webkit-duration: 200ms;
2881     transition-duration: 200ms;
2882 }
2883
2884 #defs {
2885     /* Can't be display: none or the clippaths are ignored. */
2886     position: absolute;
2887     width: 0;
2888     height: 0;
2889 }
2890
2891 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
2892     -moz-box-sizing: border-box;
2893     -webkit-box-sizing: border-box;
2894     box-sizing: border-box;
2895 }
2896
2897 a, button, input, textarea {
2898     -webkit-tap-highlight-color: rgba(0,0,0,0);
2899     -webkit-touch-callout: none;
2900 }
2901
2902 ul li {
2903     list-style: none;
2904 }
2905
2906 a,
2907 button,
2908 .radial-menu-item {
2909     cursor: pointer;
2910 }
2911
2912 h2 {
2913     font-size: 25px;
2914     line-height: 1.25;
2915     font-weight: bold;
2916     margin-bottom: 20px;
2917 }
2918
2919 h3:last-child,
2920 h2:last-child,
2921 h4:last-child { margin-bottom: 0;}
2922
2923 h3 {
2924     font-size: 16px;
2925     line-height: 1.25;
2926     font-weight: bold;
2927     margin-bottom: 10px;
2928 }
2929 h4, h5 {
2930     font-size: 12px;
2931     font-weight: bold;
2932     padding-bottom: 10px;
2933 }
2934
2935 :focus {
2936     outline-color: transparent;
2937     outline-style: none;
2938 }
2939
2940 ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
2941     color: #aaa;
2942     opacity: 1; /* Firefox */
2943 }
2944 :-ms-input-placeholder { /* Internet Explorer 10-11 */
2945     color: #aaa;
2946 }
2947 ::-ms-input-placeholder { /* Microsoft Edge */
2948     color: #aaa;
2949 }
2950
2951 p {
2952     font-size: 12px;
2953     margin: 0;
2954     padding: 0;
2955 }
2956 p:last-child {
2957     padding-bottom: 0;
2958 }
2959 em {
2960     font-style: italic;
2961 }
2962 strong {
2963     font-weight: bold;
2964 }
2965 a:visited, a {
2966     color: #7092ff;
2967 }
2968 a:hover {
2969     color: #597be7;
2970 }
2971
2972 /* Forms
2973 ------------------------------------------------------- */
2974 textarea  {
2975     resize: vertical;
2976     font:normal 12px/20px "-apple-system", BlinkMacSystemFont,
2977         "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2978         "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2979         sans-serif;
2980 }
2981
2982 textarea,
2983 input[type=text],
2984 input[type=search],
2985 input[type=number],
2986 input[type=url],
2987 input[type=tel],
2988 input[type=email] {
2989     background-color: #fff;
2990     color: #333;
2991     border: 1px solid #ccc;
2992     padding: 5px 20px 5px 10px;
2993     height: 30px;
2994     border-radius: 4px;
2995     text-overflow: ellipsis;
2996 }
2997 [dir='rtl'] textarea,
2998 [dir='rtl'] input[type=text],
2999 [dir='rtl'] input[type=search],
3000 [dir='rtl'] input[type=number],
3001 [dir='rtl'] input[type=url],
3002 [dir='rtl'] input[type=tel],
3003 [dir='rtl'] input[type=email] {
3004     padding: 5px 10px 5px 20px;
3005 }
3006
3007 textarea:focus,
3008 input:focus {
3009     background-color: #f1f1f1;
3010 }
3011
3012 textarea.disabled,
3013 input.disabled {
3014     color: #777;
3015     background-color: #eee;
3016     cursor: not-allowed;
3017 }
3018
3019 input[type="checkbox"],
3020 input[type="radio"] {
3021     float: left;
3022     width: 14px;
3023     height: 14px;
3024     margin-right: 5px;
3025     margin-top: 3px;
3026     cursor: pointer;
3027 }
3028 [dir='rtl'] input[type="checkbox"],
3029 [dir='rtl'] input[type="radio"] {
3030     float: right;
3031     margin-left: 5px;
3032     margin-right: 0;
3033 }
3034
3035 /* tables */
3036 table {
3037     background-color: #fff;
3038     border-collapse: collapse;
3039     width: 100%;
3040     border-spacing: 0;
3041 }
3042 table th {
3043     text-align: left;
3044 }
3045 table.tags, table.tags td, table.tags th {
3046     border: 1px solid #ccc;
3047     padding: 4px;
3048 }
3049
3050 ::-ms-clear {
3051    display: none;
3052 }
3053
3054 /* Grid
3055 ------------------------------------------------------- */
3056 .col6  { float: left; width: 50.0000%; max-width: 600px; }
3057 .col12 { float: left; width: 100.0000%; }
3058
3059
3060 /* Utility Classes
3061 ------------------------------------------------------- */
3062 .fillL {
3063     background: #fff;
3064     color: #333;
3065 }
3066 .fillL2 {
3067     background: #f6f6f6;
3068     color: #333;
3069 }
3070 .fillL3 {
3071     background: #ececec;
3072     color: #333;
3073 }
3074 .fillD {
3075     background: rgba(0,0,0,.5);
3076     color: #fff;
3077 }
3078 .fillD2 {
3079     background: rgba(0,0,0,.75);
3080     color: #fff;
3081 }
3082
3083 .fl { float: left;}
3084 .fr { float: right;}
3085 .al { left: 0; }
3086 .ar { right: 0; }
3087
3088 input.hide,
3089 textarea.hide,
3090 div.hide,
3091 form.hide,
3092 button.hide,
3093 a.hide,
3094 ul.hide,
3095 li.hide {
3096     display: none;
3097 }
3098
3099 .deemphasize {
3100     color: #a9a9a9;
3101 }
3102 .content {
3103     box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
3104 }
3105 .loading {
3106     background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
3107     background-size: 5px 5px;
3108 }
3109
3110
3111 /* Buttons
3112 ------------------------------------------------------- */
3113 button {
3114     text-align: center;
3115     line-height: 20px;
3116     border: 0;
3117     background: #fff;
3118     font-weight: bold;
3119     color: #333;
3120     font-size: 12px;
3121     display: inline-block;
3122     height: 40px;
3123     border-radius: 4px;
3124 }
3125
3126 button:focus,
3127 button:hover {
3128     background-color: #ececec;
3129 }
3130 button.active {
3131     background: #7092ff;
3132 }
3133 button.disabled {
3134     background-color: rgba(255,255,255,.25);
3135     color: rgba(0,0,0,.4);
3136     cursor: not-allowed;
3137 }
3138
3139 .joined > * {
3140     border-radius: 0;
3141     border-right: 1px solid rgba(0,0,0,.5);
3142 }
3143 [dir='rtl'] .joined > * {
3144     border-left: 1px solid rgba(0,0,0,.5);
3145     border-right: none;
3146 }
3147
3148 .fillL .joined > * {
3149     border-right: 1px solid #fff;
3150 }
3151 .joined > *:first-child {
3152     border-radius: 4px 0 0 4px;
3153 }
3154 [dir='rtl'] .joined > *:first-child {
3155     border-radius: 0 4px 4px 0;
3156 }
3157 .joined > *:last-child {
3158     border-right-width: 0;
3159     border-radius: 0 4px 4px 0;
3160 }
3161 [dir='rtl'] .joined > *.bar-button:last-child {
3162     border-radius: 4px 0 0 4px;
3163 }
3164
3165
3166 /* Action buttons */
3167 button.action {
3168     background: #7092ff;
3169     color: #fff;
3170 }
3171 button.action:focus,
3172 button.action:hover {
3173     background: #597be7;
3174 }
3175 button.secondary-action {
3176     background: #ececec;
3177 }
3178 button.secondary-action:focus,
3179 button.secondary-action:hover {
3180     background: #cccccc;
3181 }
3182
3183 button.action.disabled,
3184 button.action.disabled:hover,
3185 button[disabled].action,
3186 button[disabled].action:hover {
3187     background: #cccccc;
3188     color: #888;
3189     cursor: not-allowed;
3190 }
3191
3192
3193 /* Icons
3194 ------------------------------------------------------- */
3195 .icon {
3196     vertical-align: top;
3197     width: 20px;
3198     height: 20px;
3199 }
3200
3201 .icon.inline {
3202     vertical-align: text-top;
3203     width: 14px;
3204     height: 14px;
3205     margin: 0px 3px;
3206 }
3207
3208 .icon.pre-text {
3209     margin-right: 5px;
3210 }
3211 [dir='rtl'] .icon.pre-text {
3212     margin-left: 5px;
3213     margin-right: 0;
3214 }
3215
3216 .icon.pre-text.user-icon {
3217     margin-left: 5px;
3218     margin-right: 5px;
3219 }
3220
3221 .icon.light {
3222     color: #fff;
3223 }
3224 .icon.created {
3225     color: #00ca07;
3226 }
3227 .icon.modified {
3228     color: #666;
3229 }
3230 .icon.deleted {
3231     color: #ea0000;
3232 }
3233
3234 .user-icon {
3235     max-height: 20px;
3236     max-width: 20px;
3237     height: auto;
3238     width: auto;
3239     border-radius: 3px;
3240 }
3241
3242 .icon-annotation {
3243     color: #333;
3244 }
3245
3246 .notification-badge {
3247     display: block;
3248     position: absolute;
3249     width: 10px;
3250     height: 10px;
3251     right: 7px;
3252     top: 9px;
3253 }
3254
3255 .notification-badge.hide {
3256     display: none;
3257 }
3258
3259
3260 /* Toolbar / Persistent UI Elements
3261 ------------------------------------------------------- */
3262 #bar {
3263     display: flex;
3264     flex-flow: row nowrap;
3265     justify-content: space-between;
3266     position: absolute;
3267     padding: 10px 5px 0px 5px;
3268     left: 0;
3269     top: 0;
3270     right: 0;
3271     z-index: 101;
3272 }
3273 #bar .toolbar-item {
3274     display: flex;
3275     flex: 0 1 auto;
3276     flex-flow: column wrap;
3277     justify-content: center;
3278     position: relative;
3279 }
3280 #bar .toolbar-item .item-content {
3281     display: flex;
3282     flex: 0 1 auto;
3283     flex-flow: row nowrap;
3284     justify-content: center;
3285     position: relative;
3286     height: 40px;
3287     width: auto;
3288     margin: 0 5px;
3289 }
3290 #bar .toolbar-item .item-label {
3291     text-align: center;
3292     font-size: 11px;
3293     white-space: nowrap;
3294     margin: 1px 2px 2px 2px;
3295 }
3296 #bar .toolbar-item.spacer {
3297     width: 100%;
3298     flex-grow: 2;
3299 }
3300 #bar .toolbar-item:first-child {
3301     justify-content: flex-start;
3302 }
3303 #bar .toolbar-item:last-child {
3304     justify-content: flex-end;
3305 }
3306 #bar .toolbar-item:empty:not(.spacer) {
3307     display: none;
3308 }
3309 button.bar-button {
3310     flex: 0 0 auto;
3311     flex-flow: row nowrap;
3312     align-items: center;
3313     padding: 0 10px;
3314     min-width: 30px;
3315     white-space: nowrap;
3316     display: flex;
3317 }
3318 button.bar-button .icon {
3319     flex: 0 0 20px;
3320 }
3321 button.bar-button .label {
3322     flex: 0 1 auto;
3323     padding: 0 5px;
3324 }
3325
3326 button.bar-button.dragging {
3327     opacity: 0.75;
3328     z-index: 200;
3329 }
3330 button.bar-button.dragging .tooltip {
3331     display: none;
3332 }
3333 button.bar-button.dragging.removing {
3334     cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer;
3335 }
3336
3337 button.save .count {
3338     display: inline-block;
3339     min-width: 32px;
3340     text-align: center;
3341 }
3342
3343 .help-wrap svg.icon.pre-text.add-note,
3344 button.add-note svg.icon {
3345     height: 15px;
3346     width: 15px;
3347     color: rgba(0,0,0,0.25);
3348     stroke: #333;
3349     stroke-width: 60px;
3350     margin-top: 3px;
3351 }
3352 button.add-note svg.icon {
3353     margin-left: unset;
3354     margin-right: 4px;
3355 }
3356 [dir='rtl'] button.add-note svg.icon {
3357     margin-left: 4px;
3358     margin-right: unset;
3359 }
3360 .help-wrap svg.icon.pre-text.add-note {
3361     margin-left: 3px;
3362     margin-right: 3px;
3363 }
3364
3365 .spinner {
3366     opacity: .5;
3367     position: absolute;
3368     right: 4px;
3369     bottom: 26px;
3370 }
3371 .spinner img {
3372     height: 20px;
3373     width: 20px;
3374     background: transparent;
3375     border-radius: 100%;
3376 }
3377 [dir='rtl'] .spinner img {
3378     -moz-transform: scaleX(-1);
3379     -o-transform: scaleX(-1);
3380     -webkit-transform: scaleX(-1);
3381     transform: scaleX(-1);
3382     filter: FlipH;
3383     -ms-filter: "FlipH";
3384 }
3385
3386
3387 #bar.narrow .spinner,
3388 #bar.narrow button.bar-button .label {
3389     display: none;
3390 }
3391 #bar.narrow button .count {
3392     border-left-width: 0;
3393     border-right-width: 0;
3394 }
3395
3396 [dir='ltr'] .undo-redo button:first-of-type {
3397     margin-right: 1px;
3398 }
3399 [dir='rtl'] .undo-redo button:first-of-type {
3400     margin-left: 1px;
3401 }
3402
3403 /* Add a feature search bar
3404 ------------------------------------------------------- */
3405
3406 .search-add {
3407     width: 200%;
3408     justify-content: center;
3409     position: relative;
3410     min-width: 150px;
3411     max-width: 325px;
3412 }
3413 .search-add .search-wrap {
3414     position: relative;
3415     width: 100%;
3416 }
3417 [dir='ltr'] .search-add .search-wrap {
3418     border-radius: 20px 4px 4px 20px;
3419 }
3420 [dir='rtl'] .search-add .search-wrap {
3421     border-radius: 4px 20px 20px 4px;
3422 }
3423 .search-add .search-wrap.focused .tooltip {
3424     display: none;
3425 }
3426 .search-add .search-wrap:last-child {
3427     border-radius: 20px;
3428 }
3429 .search-add input[type='search'] {
3430     position: relative;
3431     width: 100%;
3432     height: 100%;
3433     border: none;
3434     font-size: 14px;
3435     text-indent: 25px;
3436     padding: 5px 10px;
3437     border-radius: inherit;
3438 }
3439 .search-add input[type='search'][disabled] {
3440     opacity: 0.25;
3441     cursor: not-allowed;
3442 }
3443 .search-add .search-icon {
3444     color: #333;
3445     display: block;
3446     position: absolute;
3447     left: 10px;
3448     top: 10px;
3449     pointer-events: none;
3450 }
3451 [dir='rtl'] .search-add .search-icon {
3452     left: auto;
3453     right: 10px;
3454 }
3455 .search-add .popover {
3456     border: none;
3457     border-radius: 6px;
3458     position: absolute;
3459     max-height: 600px;
3460     top: 44px;
3461     width: 200%;
3462     max-width: 325px;
3463     margin: auto;
3464     left: auto;
3465     right: auto;
3466     z-index: 300;
3467 }
3468 .search-add .popover .popover-content {
3469     overflow-y: auto;
3470     height: 100%;
3471     max-height: 60vh;
3472 }
3473 .search-add .popover,
3474 .search-add .popover .popover-content {
3475     /* ensure corners are rounded in Chrome */
3476     -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
3477 }
3478 .search-add .popover .popover-footer {
3479     padding: 5px 10px 5px 10px;
3480     background: #f6f6f6;
3481     border-top: 1px solid #DCDCDC;
3482     display: flex;
3483 }
3484 .search-add .popover .popover-footer .message {
3485     color: #666666;
3486     flex-grow: 1;
3487 }
3488 .search-add .popover .popover-footer button.filter {
3489     height: 20px;
3490     background: transparent;
3491     color: #666;
3492 }
3493 .search-add .popover .popover-footer button.filter.active {
3494     color: #7092ff;
3495 }
3496 .search-add .popover .popover-footer button.filter:hover {
3497     color: #333;
3498 }
3499 .search-add .popover .popover-footer button.filter.active:hover {
3500     color: #597be7;
3501 }
3502 .search-add .popover::-webkit-scrollbar {
3503     /* don't overlap rounded corners */
3504     background: transparent;
3505 }
3506 .search-add .popover .list {
3507     height: 100%;
3508 }
3509 .search-add .list-item > .row {
3510     display: flex;
3511     position: relative;
3512     padding: 2px;
3513 }
3514 .search-add .list-item:not(:last-of-type) .row,
3515 .search-add .subsection.subitems .list-item .row,
3516 .search-add .subsection > .tag-reference-body  {
3517     border-bottom: 1px solid #DCDCDC;
3518 }
3519 .search-add .list-item .label {
3520     font-weight: bold;
3521     font-size: 12px;
3522     padding-left: 2px;
3523     top: 0;
3524     bottom: 0;
3525     position: relative;
3526     display: flex;
3527     align-items: center;
3528     line-height: 1.3em;
3529     width: 100%;
3530 }
3531 .search-add .list-item .label .namepart:nth-child(2) {
3532     font-weight: normal;
3533 }
3534 .search-add .list-item.disabled .preset-icon-container,
3535 .search-add .list-item.disabled .label {
3536     opacity: 0.55;
3537 }
3538 [dir='ltr'] .search-add .list-item .label .icon.inline {
3539     margin-left: 0;
3540 }
3541 [dir='rtl'] .search-add .list-item .label .icon.inline {
3542     margin-right: 0;
3543 }
3544 .search-add .list-item .row > *:not(button) {
3545     pointer-events: none;
3546 }
3547 .search-add .list-item button.choose {
3548     position: absolute;
3549     border-radius: 0;
3550     height: 100%;
3551     width: 100%;
3552     top: 0;
3553     left: 0;
3554 }
3555 .search-add .list-item button.choose:hover,
3556 .search-add .list-item button.choose:focus {
3557     background: #fff;
3558 }
3559 .search-add .list-item.focused:not(.disabled) button.choose {
3560     background: #e8ebff;
3561 }
3562 .search-add .list-item button.choose.disabled {
3563     background-color: #ececec;
3564 }
3565 .search-add .subsection .list-item button.choose {
3566     opacity: 0.85;
3567 }
3568 .search-add .subsection .tag-reference-body {
3569     background: rgba(255, 255, 255, 0.85);
3570     padding: 10px;
3571 }
3572 .search-add .list-item button.accessory {
3573     position: relative;
3574     flex: 0 0 auto;
3575     color: #808080;
3576     background: transparent;
3577     padding-right: 3px;
3578     padding-left: 3px;
3579 }
3580 .search-add .list-item button.accessory:hover {
3581     color: #666;
3582 }
3583 .search-add .list-item button.tag-reference-open path {
3584     fill: #000;
3585 }
3586 .search-add .subsection {
3587     background-color: #CBCBCB;
3588 }
3589 [dir='ltr'] .search-add .subitems {
3590     padding-left: 6px;
3591 }
3592 [dir='rtl'] .search-add .subitems {
3593     padding-right: 6px;
3594 }
3595
3596 /* Add a preset mode buttons
3597 ------------------------------------------------------- */
3598
3599 button.bar-button.add-preset {
3600     border-radius: 4px;
3601 }
3602 [dir='ltr'] button.bar-button.add-preset {
3603     margin-left: 1px;
3604 }
3605 [dir='rtl'] button.bar-button.add-preset {
3606     margin-right: 1px;
3607 }
3608 [dir='ltr'] button.bar-button.add-preset.first-recent {
3609     margin-left: 10px;
3610 }
3611 [dir='rtl'] button.bar-button.add-preset.first-recent {
3612     margin-right: 10px;
3613 }
3614 button.bar-button.add-preset {
3615     padding: 0;
3616 }
3617 button.add-preset.disabled .preset-icon-container {
3618     opacity: 0.5;
3619 }
3620 /* Header for modals / panes
3621 ------------------------------------------------------- */
3622 .header {
3623     border-bottom: 1px solid #ccc;
3624     height: 60px;
3625     position: relative;
3626 }
3627
3628 .header h3 {
3629     text-align: center;
3630     margin-bottom: 0;
3631     white-space: nowrap;
3632     text-overflow: ellipsis;
3633     overflow: hidden;
3634     padding: 20px;
3635 }
3636
3637 .header button,
3638 .modal > button {
3639     border-radius: 0;
3640     width: 40px;
3641     text-align: center;
3642     overflow: hidden;
3643 }
3644
3645 .header button {
3646     position: relative;
3647     height: 100%;
3648 }
3649
3650 .field-help-title button.close,
3651 .sidebar-component .header button.data-editor-close,
3652 .sidebar-component .header button.note-editor-close,
3653 .sidebar-component .header button.error-editor-close,
3654 .entity-editor-pane .header button.preset-close,
3655 .preset-list-pane .header button.preset-choose {
3656     position: absolute;
3657     right: 0;
3658     top: 0;
3659 }
3660 [dir='rtl'] .field-help-title button.close,
3661 [dir='rtl'] .sidebar-component .header button.data-editor-close,
3662 [dir='rtl'] .sidebar-component .header button.note-editor-close,
3663 [dir='rtl'] .sidebar-component .header button.error-editor-close,
3664 [dir='rtl'] .entity-editor-pane .header button.preset-close,
3665 [dir='rtl'] .preset-list-pane .header button.preset-choose {
3666     left: 0;
3667     right: auto;
3668 }
3669
3670 .entity-editor-pane .header button.preset-choose {
3671     position: absolute;
3672     left: 0;
3673     top: 0;
3674 }
3675 [dir='rtl'] .entity-editor-pane .header button.preset-choose {
3676     left: auto;
3677     right: 0;
3678 }
3679
3680 .preset-choose {
3681     font-size: 16px;
3682     line-height: 1.25;
3683     font-weight: bold;
3684 }
3685
3686 .modal > button {
3687     position: absolute;
3688     right: 0;
3689     top: 0;
3690     height: 59px;
3691     z-index: 50;
3692 }
3693 [dir='rtl'] .modal > button {
3694     left: 0;
3695     right: unset;
3696 }
3697
3698 .footer {
3699     position: absolute;
3700     bottom: 0;
3701     margin: 0;
3702     padding: 5px 20px 5px 20px;
3703     border-top: 1px solid #ccc;
3704     background-color: #f6f6f6;
3705     width: 100%;
3706     z-index: 1;
3707     flex-wrap: wrap;
3708     justify-content: space-between;
3709     list-style: none;
3710     display: flex;
3711 }
3712
3713 .footer > a {
3714     justify-content: center;
3715 }
3716
3717 .header-container {
3718     display: flex;
3719     justify-content: space-between;
3720 }
3721
3722 .header-block-outer {
3723     width: 20%;
3724 }
3725
3726 .header-block-close {
3727     display: flex;
3728     justify-content: flex-end;
3729 }
3730
3731 /* Hide/Toggle collapsable sections (aka Disclosure)
3732 ------------------------------------------------------- */
3733 .hide-toggle .icon.pre-text {
3734     vertical-align: text-top;
3735     width: 16px;
3736     height: 16px;
3737     margin-left: -3px;
3738 }
3739 [dir='rtl'] .hide-toggle .icon.pre-text {
3740     margin-left: 0;
3741     margin-right: -3px;
3742 }
3743
3744 a:visited.hide-toggle,
3745 a.hide-toggle {
3746     display: inline-block;
3747     font-size: 14px;
3748     font-weight: bold;
3749     padding-bottom: 5px;
3750 }
3751
3752
3753 /* Sidebar / Inspector
3754 ------------------------------------------------------- */
3755 #sidebar {
3756     position: relative;
3757     float: left;
3758     height: 100%;
3759     z-index: 10;
3760     background: #f6f6f6;
3761     -ms-user-select: element;
3762     border: 0px solid #ccc;
3763     border-right-width: 1px;
3764 }
3765 [dir='rtl'] #sidebar {
3766     float: right;
3767     border-right-width: 0px;
3768     border-left-width: 1px;
3769 }
3770
3771 #sidebar-resizer {
3772     position: absolute;
3773     top: 0;
3774     right: -6px;
3775     height: 100%;
3776     width: 6px;
3777     cursor: col-resize;
3778 }
3779 [dir='rtl'] #sidebar-resizer {
3780     right: auto;
3781     left: -6px;
3782 }
3783
3784 #sidebar.collapsed #sidebar-resizer {
3785     /* make target wider to avoid the user accidentally resizing window */
3786     width: 10px;
3787     right: -10px;
3788 }
3789 [dir='rtl'] #sidebar.collapsed #sidebar-resizer {
3790     left: -10px;
3791 }
3792
3793 .sidebar-component {
3794     position: absolute;
3795     top: 0;
3796     left: 0;
3797     bottom: 0;
3798     right: 0;
3799 }
3800
3801 .sidebar-component .body {
3802     width: 100%;
3803     overflow: auto;
3804     top: 60px;
3805     bottom: 0;
3806     position: absolute;
3807 }
3808
3809 .panewrap {
3810     position: absolute;
3811     width: 200%;
3812     height: 100%;
3813     right: -100%;
3814 }
3815
3816 .pane {
3817     position: absolute;
3818     width: 50%;
3819     top: 0;
3820     bottom: 30px;
3821 }
3822
3823 .pane:first-child {
3824     left: 0;
3825 }
3826
3827 .pane:last-child {
3828     right: 0;
3829 }
3830
3831 .inspector-wrap {
3832     width: 100%;
3833     height: 100%;
3834     overflow: hidden;
3835     position: relative;
3836 }
3837
3838 .inspector-hidden {
3839     display: none;
3840 }
3841
3842 .inspector-body {
3843     overflow-y: scroll;
3844     overflow-x: hidden;
3845     position: absolute;
3846     right: 0;
3847     left: 0;
3848     bottom: 0;
3849 }
3850
3851 .feature-list-pane .inspector-body,
3852 .preset-list-pane .inspector-body {
3853     top: 120px;
3854 }
3855 .entity-editor-pane .inspector-body,
3856 .selection-list-pane .inspector-body {
3857     top: 60px;
3858 }
3859
3860 .inspector-inner {
3861     padding: 20px 20px 5px 20px;
3862     position: relative;
3863 }
3864
3865 #sidebar .search-header .icon {
3866     display: block;
3867     position: absolute;
3868     left: 10px;
3869     top: 80px;
3870     pointer-events: none;
3871 }
3872 [dir='rtl'] #sidebar .search-header .icon {
3873     left: auto;
3874     right: 10px;
3875 }
3876
3877 #sidebar .search-header input {
3878     position: absolute;
3879     top: 60px;
3880     height: 60px;
3881     width: 100%;
3882     padding: 5px 10px;
3883     border-radius: 0;
3884     border-width: 0;
3885     border-bottom-width: 1px;
3886     text-indent: 30px;
3887     font-size: 18px;
3888     font-weight: bold;
3889 }
3890
3891
3892 /* Feature List / Search Results
3893 ------------------------------------------------------- */
3894 .feature-list  {
3895     width: 100%;
3896 }
3897 .no-results-item,
3898 .geocode-item,
3899 .feature-list-item {
3900     width: 100%;
3901     position: relative;
3902     border-bottom: 1px solid #ccc;
3903     border-radius: 0;
3904 }
3905
3906 .geocode-item {
3907     width: 50%;
3908     background-color: #ccc;
3909     left: 25%;
3910     margin-top: 30px;
3911     border-radius: 2px;
3912 }
3913
3914 [dir='rtl'] .geocode-item {
3915     left: -25%;
3916 }
3917
3918 .geocode-item:hover {
3919     background-color: #aaa;
3920 }
3921
3922 .feature-list-item {
3923     background-color: #fff;
3924     font-weight: bold;
3925     height: 40px;
3926     line-height: 20px;
3927 }
3928 .feature-list-item:hover {
3929     background-color: #ececec;
3930 }
3931 .feature-list-item button {
3932     background: transparent;
3933 }
3934 .feature-list-item .label {
3935     text-align: left;
3936     padding: 10px 10px;
3937     white-space: nowrap;
3938     text-overflow: ellipsis;
3939     overflow: hidden;
3940     border-left: 1px solid rgba(0, 0, 0, .1);
3941 }
3942 [dir='rtl'] .feature-list-item .label {
3943     text-align: right;
3944 }
3945
3946 .feature-list-item .label .icon {
3947     opacity: .5;
3948 }
3949 .feature-list-item .close {
3950     float: right;
3951     padding: 10px;
3952 }
3953 .feature-list-item .close .icon {
3954     opacity: 1;
3955 }
3956 .feature-list-item .entity-type {
3957     color: #7092ff;
3958 }
3959 .feature-list-item:hover .entity-type {
3960     color: #597be7;
3961 }
3962 .feature-list-item .entity-name {
3963     font-weight: normal;
3964     color: #666;
3965     padding-left: 10px;
3966 }
3967 [dir='rtl'] .feature-list-item .entity-name {
3968     padding-left: 0;
3969     padding-right: 10px;
3970 }
3971
3972
3973 /* Preset List and Icons
3974 ------------------------------------------------------- */
3975 .preset-list  {
3976     width: 100%;
3977     padding: 20px 20px 10px 20px;
3978     border-bottom: 1px solid #ccc;
3979 }
3980
3981 .preset-list-item {
3982     margin-bottom: 10px;
3983 }
3984
3985 .preset-list-button-wrap {
3986     position: relative;
3987     height: 62px;
3988     display: flex;
3989     border: 1px solid #ccc;
3990     border-radius: 4px;
3991 }
3992
3993 .preset-list-button {
3994     width: 100%;
3995     height: 100%;
3996     position: relative;
3997     display: flex;
3998 }
3999
4000 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
4001     background: #ececec;
4002 }
4003
4004 .preset-icon-container {
4005     position: relative;
4006     width: 60px;
4007     height: 60px;
4008     text-align: center;
4009     display: flex;
4010     align-items: center;
4011     justify-content: center;
4012 }
4013 .preset-icon-container.small {
4014     width: 40px;
4015     height: 40px;
4016     flex: 0 0 auto;
4017 }
4018 .preset-icon-container img.image-icon {
4019     width: 50px;
4020     height: 50px;
4021     object-fit: contain;
4022     border-radius: 2px;
4023 }
4024
4025 .preset-icon-point-border path {
4026     stroke: #333;
4027     stroke-width: 1.2;
4028     fill: transparent;
4029 }
4030
4031 .preset-icon-line {
4032     margin: auto;
4033     position: absolute;
4034     left: 0;
4035     right: 0;
4036     top: 0;
4037     width: 100%;
4038     height: 100%;
4039 }
4040 .preset-icon-container path {
4041     cursor: inherit;
4042 }
4043 .preset-icon-container circle.vertex {
4044     fill: #fff;
4045     stroke: rgba(0, 0, 0, 0.25);
4046 }
4047 .preset-icon-fill circle.midpoint {
4048     fill: transparent;
4049     stroke: rgba(0, 0, 0, 0.25);
4050 }
4051 /* use a consistent stroke width */
4052 .preset-icon-container path.line.stroke {
4053     stroke-width: 2 !important;
4054 }
4055 .preset-icon-container path.line.casing {
4056     stroke-width: 4 !important;
4057 }
4058
4059 .preset-icon-fill {
4060     margin: auto;
4061     position: absolute;
4062     width: 100%;
4063     height: 100%;
4064     left: 0;
4065     top: 0;
4066 }
4067 .preset-icon-container svg,
4068 .preset-icon-container svg > * {
4069     cursor: inherit !important;
4070 }
4071 .preset-icon-fill path.area.stroke {
4072     fill: transparent;
4073 }
4074
4075 .preset-icon-fill-vertex circle {
4076     stroke-width: 1.5px;
4077     stroke: #333;
4078     fill: #efefef;
4079     backface-visibility: hidden;
4080 }
4081
4082 .preset-icon {
4083     width: 100%;
4084     height:100%;
4085     position: absolute;
4086     z-index: 1;
4087 }
4088 .preset-icon .icon {
4089     position: absolute;
4090     margin: auto;
4091     left: 0;
4092     right: 0;
4093     width: 100%;
4094     height: 100%;
4095     transform: scale(0.48);
4096 }
4097 .preset-icon-container.small .preset-icon.point-geom .icon {
4098     transform: translateY(-7%) scale(0.27);
4099 }
4100 .preset-icon-container.small .preset-icon.point-geom.preset-icon-iD .icon {
4101     transform: translateY(-9%) scale(0.5);
4102 }
4103 .preset-icon.framed .icon {
4104     transform: scale(0.4);
4105 }
4106 .preset-icon.framed.line-geom .icon,
4107 .preset-icon.framed.route-geom .icon {
4108     top: 20%;
4109     transform: translateY(-30%) scale(0.4);
4110 }
4111 .preset-icon-iD .icon {
4112     transform: scale(1);
4113 }
4114 .preset-icon-iD.framed .icon {
4115     transform: scale(0.74);
4116 }
4117 .preset-icon-iD.framed.line-geom .icon,
4118 .preset-icon-iD.framed.route-geom .icon {
4119     transform: translateY(-30%) scale(0.74);
4120 }
4121 .preset-icon-container.fallback .preset-icon .icon {
4122     transform: scale(0.5) !important;
4123 }
4124
4125 .preset-list-button .label {
4126     display: flex;
4127     flex-flow: row wrap;
4128     align-items: center;
4129     background-color: #f6f6f6;
4130     text-align: left;
4131     position: absolute;
4132     top: 0;
4133     bottom: 0;
4134     right: 0;
4135     padding: 5px 10px;
4136     left: 60px;
4137     border-left: 1px solid rgba(0, 0, 0, .1);
4138 }
4139 [dir='rtl'] .preset-list-button .label {
4140     text-align: right;
4141     left: 0;
4142     right: 60px;
4143     border-left: none;
4144     border-right: 1px solid rgba(0, 0, 0, .1);
4145 }
4146 [dir='ltr'] .category .preset-list-button .label {
4147     border-radius: 0px 4px 4px 0px;
4148 }
4149 [dir='rtl'] .category .preset-list-button .label {
4150     border-radius: 4px 0px 0px 4px;
4151 }
4152
4153 .preset-list-button .label-inner {
4154     width: 100%;
4155 }
4156 .preset-list-button .label-inner .namepart {
4157     height: 17px;
4158     white-space: nowrap;
4159     text-overflow: ellipsis;
4160     overflow: hidden;
4161 }
4162
4163 .preset-list-button:hover .label,
4164 .preset-list-button:focus .label,
4165 .preset-list-button.disabled,
4166 .preset-list-button.disabled .label {
4167     background-color: #ececec;
4168 }
4169
4170 .preset-list-item button.preset-favorite-button,
4171 .preset-list-item button.tag-reference-button {
4172     height: 100%;
4173     width: 32px;
4174     flex: 0 0 auto;
4175     background: #f6f6f6;
4176 }
4177 [dir='ltr'] .preset-list-item button.preset-favorite-button,
4178 [dir='ltr'] .preset-list-item button.tag-reference-button {
4179     border-left: 1px solid #ccc;
4180 }
4181 [dir='rtl'] .preset-list-item button.preset-favorite-button,
4182 [dir='rtl'] .preset-list-item button.tag-reference-button {
4183     border-right: 1px solid #ccc;
4184 }
4185 [dir='ltr'] .preset-list-item button:last-child {
4186     border-radius: 0 4px 4px 0;
4187 }
4188 [dir='rtl'] .preset-list-item button:last-child {
4189     border-radius: 4px 0 0 4px;
4190 }
4191
4192 .preset-list-item button.preset-favorite-button:hover,
4193 .preset-list-item button.tag-reference-button:hover {
4194     background: #f1f1f1;
4195 }
4196 .preset-list-item button.preset-favorite-button .icon,
4197 .preset-list-item button.tag-reference-button .icon {
4198     opacity: .5;
4199 }
4200
4201 button.preset-favorite-button .icon {
4202     fill-opacity: 0;
4203     stroke-width: 1;
4204 }
4205 button.preset-favorite-button.active .icon {
4206     fill-opacity: inherit;
4207 }
4208
4209
4210 .current .preset-list-button,
4211 .current .preset-list-button .label {
4212     background-color: #e8ebff;
4213 }
4214
4215 .category .preset-list-button:after,
4216 .category .preset-list-button:before {
4217     content: "";
4218     position: absolute;
4219     top: -5px;
4220     left: -1px; right: -1px;
4221     border: 1px solid #ccc;
4222     border-bottom: none;
4223     border-radius: 6px 6px 0 0;
4224     height: 6px;
4225 }
4226
4227 .category .preset-list-button:before {
4228     top: -3px;
4229 }
4230
4231 .subgrid .preset-list {
4232     padding: 10px;
4233     margin-top: 0;
4234     border: 0;
4235     border-radius: 8px;
4236     width: -webkit-calc(100% + 20px);
4237     margin-left: -10px;
4238 }
4239 .subgrid .preset-list > *:last-child {
4240     margin-bottom: 0;
4241 }
4242
4243 .subgrid .arrow {
4244     border: solid rgba(0, 0, 0, 0);
4245     border-width: 10px;
4246     border-bottom-color: #ececec;
4247     width: 0;
4248     height: 0;
4249     margin-left: 50%;
4250     margin-left: -webkit-calc(50% - 10px);
4251 }
4252
4253
4254 /* Quick links
4255 ------------------------------------------------------- */
4256 .quick-links {
4257     display: flex;
4258     flex-flow: row wrap;
4259     justify-content: flex-end;
4260     padding: 0 20px;
4261 }
4262 .quick-link {
4263     margin: 0 5px;
4264 }
4265
4266 .data-editor .quick-links,
4267 .error-editor .quick-links,
4268 .note-editor .quick-links {
4269     padding: 5px 0 0 0;
4270 }
4271
4272
4273 /* Entity/Preset Editor
4274 ------------------------------------------------------- */
4275 .entity-issues,
4276 .preset-editor {
4277     overflow: hidden;
4278     padding: 10px 0px 5px 0px;
4279 }
4280 .entity-issues a.hide-toggle,
4281 .preset-editor a.hide-toggle {
4282     margin: 0 20px 5px 20px;
4283 }
4284 .entity-issues .disclosure-wrap-entity_issues,
4285 .preset-editor .form-fields-container {
4286     padding: 10px;
4287     margin: 0 10px 10px 10px;
4288     border-radius: 8px;
4289     background: #ececec;
4290 }
4291 .entity-issues .disclosure-wrap-entity_issues:empty,
4292 .preset-editor .form-fields-container:empty {
4293     display: none;
4294 }
4295 .entity-editor-pane .preset-list-item {
4296     margin-bottom: 0;
4297 }
4298
4299 /*
4300     The parts of a field:
4301     - `.form-field` is a `div` wraps the entire thing
4302     - `.field-label` is a `label` that wraps the top part, it contains;
4303        - `span` classed `label-text`
4304        - 0..n buttons for "remove", "modified", "tag reference"
4305     - `.form-field-input-wrap` is a `label` or `div` that wraps the bottom part, it contains;
4306        - usually an `input`
4307        - sometimes some buttons (translate, increment, decrement)
4308        - or could just be a `div` with anything really
4309     - `.tag-reference-body` at the bottom (usually hidden)
4310
4311    .------------------.                             -
4312    |  Name        | i |  <- .field-label        |
4313    +------------------+                               |
4314    |  Starbucks   | + |  <- .form-field-input-wrap     >  .form-field
4315    '------------------'                               |
4316      tag reference       <- .tag-reference-body      |
4317                                                     -
4318 */
4319
4320 .form-field {
4321     display: flex;
4322     flex-flow: row wrap;
4323     margin-bottom: 10px;
4324     width: 100%;
4325     -webkit-transition: margin-bottom 200ms;
4326        -moz-transition: margin-bottom 200ms;
4327          -o-transition: margin-bottom 200ms;
4328             transition: margin-bottom 200ms;
4329 }
4330
4331 .form-field.nowrap,
4332 .wrap-form-field:last-child .form-field {
4333     margin-bottom: 0;
4334 }
4335
4336 /* A `label` element that wraps the top section */
4337 .field-label {
4338     display: flex;
4339     flex-flow: row nowrap;
4340     flex: 1 1 100%;
4341     height: 30px;
4342     position: relative;
4343     font-weight: bold;
4344     color: #333;
4345     background: #f6f6f6;
4346     border: 1px solid #ccc;
4347     border-radius: 4px 4px 0 0;
4348     overflow: hidden;
4349 }
4350 .field-label .label-text {
4351     flex: 1 1 auto;
4352     padding: 5px 0 5px 10px;
4353 }
4354 [dir='rtl'] .field-label .label-text {
4355     padding: 5px 10px 5px 0;
4356 }
4357
4358 .label-text .label-textannotation svg.icon {
4359     margin: 0 8px;
4360     color: #333;
4361     opacity: 0.5;
4362     width: 14px;
4363     height: 14px;
4364     vertical-align: text-top;
4365 }
4366
4367 .field-label button {
4368     flex: 0 0 32px;
4369     border-left: 1px solid #ccc;
4370     width: 32px;
4371     height: 100%;
4372     border-radius: 0;
4373     background: #f6f6f6;
4374 }
4375 [dir='rtl'] .field-label button {
4376     border-left: none;
4377     border-right: 1px solid #ccc;
4378 }
4379 .field-label button:hover {
4380     background: #f1f1f1;
4381 }
4382 .field-label .icon {
4383     opacity: .5;
4384 }
4385
4386 .field-label .modified-icon,
4387 .field-label .remove-icon,
4388 .field-label .remove-icon-multilingual {
4389     display: none;
4390 }
4391 .modified:not(.locked) .field-label .modified-icon,
4392 .present:not(.locked) .field-label .remove-icon,
4393 .present:not(.locked) .field-label .remove-icon-multilingual {
4394     display: inline-block;
4395 }
4396
4397 /* A `div` element that wraps the bottom section */
4398 .form-field-input-wrap {
4399     display: flex;
4400     flex-flow: row nowrap;
4401     width: 100%;
4402     flex: 1 1 auto;
4403     min-height: 30px;
4404     border-top: 0;
4405     border-radius: 0 0 4px 4px;
4406 }
4407 .nowrap .form-field-input-wrap {
4408     border-radius: 0;
4409 }
4410
4411
4412 .form-field-input-wrap > input,
4413 .form-field-input-wrap > label,
4414 .form-field-input-wrap > textarea,
4415 .form-field-input-wrap > ul.chiplist {
4416     flex: 1 1 auto;
4417     min-height: 30px;
4418     border: 1px solid #ccc;
4419     border-top: 0;
4420     border-radius: 0;
4421     overflow: hidden;
4422     position: relative;
4423 }
4424 .form-field-input-wrap > textarea {
4425     height: 65px;
4426     border-radius: 0 0 4px 4px;
4427     overflow: auto;
4428 }
4429
4430 /* Buttons inside fields */
4431 .form-field-button {
4432     flex: 0 0 auto;
4433     height: 30px;
4434     width: 32px;
4435     position: relative;
4436     background-color: #fff;
4437     border: 1px solid #ccc;
4438     border-radius: 0;
4439     border-top-width: 0;
4440     border-left-width: 0;
4441     vertical-align: top;
4442 }
4443 [dir='rtl'] .form-field-button {
4444     border-left-width: 1px;
4445     border-right-width: 0;
4446 }
4447 .form-field-button:hover {
4448     background-color: #f1f1f1;
4449 }
4450 .form-field-button .icon {
4451     fill: #333;
4452     opacity: .5;
4453 }
4454
4455
4456 /* round corners of first/last child elements */
4457 .form-field-input-wrap > button:last-of-type {
4458     border-bottom-right-radius: 4px;
4459 }
4460 [dir='rtl'] .form-field-input-wrap > button:last-of-type {
4461     border-bottom-left-radius: 4px;
4462 }
4463
4464
4465 /* Field - Access, Cycleway
4466 ------------------------------------------------------- */
4467 .form-field-input-access,
4468 .form-field-input-cycleway {
4469     flex: 1 1 auto;
4470     display: flex;
4471     flex-flow: row wrap;
4472 }
4473
4474 /* Field - lists with labeled input items
4475 ------------------------------------------------------- */
4476 .form-field ul.rows {
4477     flex: 1 1 auto;
4478     border: 1px solid #ccc;
4479     border-top: 0;
4480     border-radius: 0 0 4px 4px;
4481     overflow: hidden;
4482     width: 100%;
4483 }
4484 .form-field ul.rows li {
4485     border-top: 1px solid #ccc;
4486 }
4487 .form-field ul.rows li:first-child {
4488     border-top: 0;
4489 }
4490 .form-field ul.rows li {
4491     display: flex;
4492     flex-flow: row nowrap;
4493 }
4494 .form-field ul.rows li.labeled-input > span,
4495 .form-field ul.rows li.labeled-input > div {
4496     flex: 1 1 auto;
4497     width: 100%;
4498     border-radius: 0;
4499 }
4500 .form-field ul.rows li input {
4501     border-radius: 0;
4502     border-width: 0;
4503     width: 100%;
4504 }
4505 .form-field ul.rows li button {
4506     border-width: 0;
4507 }
4508 [dir='ltr'] .form-field ul.rows li.labeled-input input,
4509 [dir='ltr'] .form-field ul.rows li button {
4510     border-left-width: 1px;
4511 }
4512 [dir='rtl'] .form-field ul.rows li.labeled-input input,
4513 [dir='rtl'] .form-field ul.rows li button {
4514     border-right-width: 1px;
4515 }
4516
4517
4518 /* Field - Structure
4519 ------------------------------------------------------- */
4520 .structure-extras-wrap {
4521     width: 100%;
4522     padding: 10px 10px;
4523     background: #fff;
4524     border: 1px solid #ccc;
4525     border-top: 0px;
4526     border-radius: 0 0 4px 4px;
4527 }
4528 .structure-extras-wrap > ul.rows {
4529     border: 1px solid #ccc;
4530     border-radius: 4px;
4531 }
4532
4533
4534 /* Field - Combo / Multicombo
4535 ------------------------------------------------------- */
4536 .form-field-input-combo > input:only-of-type {
4537     border-radius: 0 0 4px 4px;
4538 }
4539 .form-field-input-combo.empty-combobox input,
4540 .form-field-input-multicombo .empty-combobox input {
4541     padding-right: 10px;
4542     padding-left: 10px;
4543 }
4544 .form-field-input-combo.empty-combobox .combobox-caret,
4545 .form-field-input-multicombo .empty-combobox .combobox-caret {
4546     display: none;
4547 }
4548
4549 .form-field-input-multicombo ul.chiplist {
4550     padding: 5px 8px 5px 8px;
4551     background: #fff;
4552     display: block;
4553     border-radius: 0 0 4px 4px;
4554     width: 100%;
4555 }
4556
4557 .form-field-input-multicombo li {
4558     display: inline-flex;
4559     flex-flow: row nowrap;
4560     align-items: center;
4561     margin-bottom: 3px;
4562     margin-top: 3px;
4563     border-radius: 4px;
4564 }
4565 [dir='ltr'] .form-field-input-multicombo li {
4566     margin-right: 6px;
4567 }
4568 [dir='rtl'] .form-field-input-multicombo li {
4569     margin-left: 6px;
4570 }
4571
4572 .form-field-input-multicombo li.chips {
4573     background-color: #eff2f7;
4574     border: 1px solid #ccd5e3;
4575     line-height: 25px;
4576     max-width: 100%;
4577 }
4578 [dir='ltr'] .form-field-input-multicombo li.chips {
4579     padding: 2px 0px 2px 5px;
4580 }
4581 [dir='rtl'] .form-field-input-multicombo li.chips {
4582     padding: 2px 5px 2px 0px;
4583 }
4584
4585 .form-field-input-multicombo li.chips span {
4586     display: block;
4587     flex: 1 1 auto;
4588     overflow: hidden;
4589     word-wrap: break-word;
4590 }
4591
4592 .form-field-input-multicombo a {
4593     font-family: Arial, Helvetica, sans-serif !important;
4594     font-size: 16px !important;
4595     padding: 0px 5px 0px 5px;
4596     margin: 0;
4597     cursor: pointer;
4598     color: #a6b4ce;
4599     display: block;
4600     text-align: center;
4601     flex: 0 0 auto;
4602 }
4603
4604 .form-field-input-multicombo .input-wrap {
4605     border: 1px solid #ddd;
4606     width: 100px;
4607     height: 31px;
4608 }
4609 .form-field-input-multicombo input {
4610     border: none;
4611     width: 100%;
4612     height: 100%;
4613 }
4614
4615 .form-field-input-multicombo input:focus {
4616     border-radius: 4px !important;
4617 }
4618
4619 .form-field-input-multicombo .full-line-chips li.chips {
4620     width: 100%;
4621 }
4622 .form-field-input-multicombo .full-line-chips .input-wrap {
4623     width: auto;
4624 }
4625
4626
4627 /* Field - Text / Numeric
4628 ------------------------------------------------------- */
4629 .form-field-input-text > input:only-of-type,
4630 .form-field-input-tel > input:only-of-type,
4631 .form-field-input-email > input:only-of-type,
4632 .form-field-input-url > input:only-of-type {
4633     border-radius: 0 0 4px 4px;
4634 }
4635 .form-field-input-number > input:only-of-type {
4636     border-radius: 0 0 0 4px;
4637 }
4638 [dir='rtl'] .form-field-input-number > input:only-of-type {
4639     border-radius: 0 0 4px 0;
4640 }
4641 .form-field-input-number > button:last-of-type {
4642     border-radius: 0 0 4px 0;
4643 }
4644 [dir='rtl'] .form-field-input-number > button:last-of-type {
4645     border-radius: 0 0 0 4px;
4646 }
4647
4648 /* draw the up/down on the buttons */
4649 .form-field-input-number button.decrement::after,
4650 .form-field-input-number button.increment::after {
4651     content: "";
4652     height: 0; width: 0;
4653     position: absolute;
4654     left: 0; right: 0; bottom: 0; top: 0;
4655     margin: auto;
4656 }
4657 .form-field-input-number button.decrement::after {
4658     border-top: 5px solid #ccc;
4659     border-left: 5px solid transparent;
4660     border-right: 5px solid transparent;
4661 }
4662 .form-field-input-number button.increment::after {
4663     border-bottom: 5px solid #ccc;
4664     border-left: 5px solid transparent;
4665     border-right: 5px solid transparent;
4666 }
4667
4668
4669 /* Field - Checkbox
4670 ------------------------------------------------------- */
4671 .form-field-input-check {
4672     display: flex;
4673     align-items: end;
4674     background: #fff;
4675     padding: 5px 10px;
4676     color: #7092ff;
4677     border: 1px solid #ccc;
4678     border-top: 0;
4679     cursor: pointer;
4680 }
4681 .form-field-input-check > input[type="checkbox"] {
4682     flex: 0 1 auto;
4683     min-height: 20px;
4684     width: 20px;
4685 }
4686 .form-field-input-check > span {
4687     flex: 1 1 auto;
4688 }
4689 .form-field-input-check > .reverser.button {
4690     flex: 0 1 auto;
4691     background-color: #eff2f7;
4692     border: 1px solid #ccd5e3;
4693     border-radius: 2px;
4694     padding: 0px 8px;
4695 }
4696 .form-field-input-check > .reverser.button.hide {
4697     display: none;
4698 }
4699
4700 .form-field-input-check:hover {
4701     background: #f1f1f1;
4702 }
4703 .form-field-input-check .set {
4704     color: inherit;
4705 }
4706 .form-field-input-check label:not(.set) input[type="checkbox"] {
4707     opacity: .5;
4708 }
4709
4710
4711 /* Field - Radio button
4712 ------------------------------------------------------- */
4713 .form-field-input-radio {
4714     flex: 1 1 auto;
4715     display: flex;
4716     flex-flow: row wrap;
4717 }
4718 .form-field-input-radio > label {
4719     flex: 1 1 auto;
4720     display: flex;
4721     flex-flow: row nowrap;
4722     width: 100%;
4723     padding: 5px 10px;
4724     height: 30px;
4725     background-color: #fff;
4726     color: #7092ff;
4727     cursor: pointer;
4728 }
4729 .form-field-input-radio > label:last-child {
4730     border-radius: 0 0 4px 4px;
4731 }
4732 .form-field-input-radio > label:hover {
4733     background-color: #ececec;
4734 }
4735 .form-field-input-radio > label.active {
4736     background-color: #e8ebff;
4737 }
4738 .form-field-input-radio > label:not(:last-of-type) {
4739     border-bottom: 1px solid #ccc;
4740 }
4741 .form-field-input-radio > label > input[type="radio"] {
4742     flex: 0 1 auto;
4743     width: 20px;
4744 }
4745 .form-field-input-radio > label > span {
4746     flex: 1 1 auto;
4747     overflow: hidden;
4748     white-space: nowrap;
4749     text-overflow: ellipsis;
4750 }
4751
4752 /* Hide placeholder for radio buttons if another is active, or not in hover state */
4753 .form-field-input-radio label.active ~ .placeholder,
4754 .form-field-input-radio .placeholder {
4755     padding: 0;
4756     opacity: 0;
4757     width: 0;
4758     line-height: 0;
4759     display: block;
4760     overflow: hidden;
4761 }
4762
4763
4764 /* Field - Maxspeed
4765 ------------------------------------------------------- */
4766 .form-field-input-maxspeed > input:first-of-type {
4767     border-radius: 0 0 0 4px;
4768 }
4769 [dir='rtl'] .form-field-input-maxspeed > input:first-of-type {
4770     border-radius: 0 0 4px 0;
4771 }
4772 .form-field-input-maxspeed > input:last-of-type {  /* unit field */
4773     flex: 0 1 80px;
4774     width: 80px;
4775     border-left: 0;
4776     border-radius: 0 0 4px 0;
4777 }
4778 [dir='rtl'] .form-field-input-maxspeed > input:last-of-type {
4779     border-right: 0;
4780     border-radius: 0 0 0 4px;
4781 }
4782
4783
4784 /* Field - Localized Name
4785 ------------------------------------------------------- */
4786 .form-field-input-localized > input.localized-main {
4787     border-radius: 0 0 0 4px;
4788 }
4789 [dir='rtl'] .form-field-input-localized > input.localized-main {
4790     border-radius: 0 0 4px 0;
4791 }
4792 .form-field-input-localized > button.localized-add {
4793     border-radius: 0 0 4px 0;
4794 }
4795 [dir='rtl'] .form-field-input-localized > button.localized-add {
4796     border-radius: 0 0 0 4px;
4797 }
4798
4799 .form-field-input-localized button.localized-add.disabled,
4800 .form-field-input-localized input.localized-main.disabled,
4801 .form-field-input-localized input.localized-lang.disabled,
4802 .form-field-input-localized input.localized-value.disabled {
4803     color: #777;
4804     background-color: #eee;
4805     cursor: not-allowed;
4806 }
4807
4808 /* nested subfields for name in different languages */
4809 .localized-multilingual {
4810     padding: 0 10px;
4811     flex-basis: 100%;
4812 }
4813 .localized-multilingual .entry {
4814     position: relative;
4815     overflow: hidden;
4816 }
4817
4818 /* draws a little line connecting the multilingual field up to the name field */
4819 .localized-multilingual .entry::before {
4820     content: "";
4821     display: block;
4822     position: absolute;
4823     background: #ccc;
4824     height: 11px;
4825     width: 1px;
4826     left: 0;
4827     right: 0;
4828     top: -11px;
4829     margin: auto;
4830 }
4831
4832 .localized-multilingual .entry .localized-lang {
4833     border-radius: 0;
4834     border-top-width: 0;
4835     width: 100%;
4836 }
4837 .localized-multilingual .entry .localized-value {
4838     border-top-width: 0;
4839     border-radius: 0 0 4px 4px;
4840     width: 100%;
4841 }
4842
4843
4844 /* Field - Address
4845 ------------------------------------------------------- */
4846 .form-field-input-address {
4847     flex: 1 1 auto;
4848     display: flex;
4849     flex-flow: row wrap;
4850     border: 1px solid #ccc;
4851     border-top: 0px;
4852 }
4853
4854 .addr-row {
4855     flex: 1 1 auto;
4856     display: flex;
4857     width: 100%;
4858     min-height: 30px;
4859 }
4860
4861 .addr-row > input {
4862     flex: 1 1 auto;
4863     border-radius: 0;
4864     border-right: 0;
4865     border-bottom: 0;
4866 }
4867 [dir='rtl'] .addr-row input {
4868     border-right: 1px solid #ccc;
4869     border-left: 0;
4870 }
4871
4872 .addr-row:first-of-type input {
4873     border-top: 0;
4874 }
4875 .addr-row input:first-of-type {
4876     border-left: 0;
4877 }
4878 [dir='rtl'] .addr-row input:first-of-type {
4879     border-right: 0;
4880 }
4881 .addr-row:last-of-type input:first-of-type {
4882     border-radius: 0 0 0 4px;
4883 }
4884 [dir='rtl'] .addr-row:last-of-type input:first-of-type {
4885     border-radius: 0 0 4px 0;
4886 }
4887 .addr-row:last-of-type input:last-of-type {
4888     border-radius: 0 0 4px 0;
4889 }
4890 [dir='rtl'] .addr-row:last-of-type input:last-of-type {
4891     border-radius: 0 0 0 4px;
4892 }
4893
4894
4895 /* Field - Wikipedia
4896 ------------------------------------------------------- */
4897 .form-field-input-wikipedia {
4898     display: flex;
4899     flex-flow: row wrap;
4900     flex: 1 1 auto;
4901 }
4902
4903 .wiki-lang-container,
4904 .wiki-title-container {
4905     display: flex;
4906     flex-flow: row nowrap;
4907     flex: 1 1 auto;
4908     width: 100%;
4909 }
4910
4911 .wiki-lang-container > input.wiki-lang,
4912 .wiki-title-container > input.wiki-title {
4913     flex: 1 1 auto;
4914     border-top: 0;
4915     border-radius: 0;
4916 }
4917 .wiki-title-container > input.wiki-title {
4918     border-radius: 0 0 0 4px;
4919 }
4920 [dir='rtl'] .wiki-title-container > input.wiki-title {
4921     border-radius: 0 0 4px 0;
4922 }
4923 .wiki-title-container > button.wiki-link,
4924 .form-field-wikidata ul.rows li:last-child button.form-field-button:last-child {
4925     border-radius: 0 0 4px 0;
4926 }
4927 [dir='rtl'] .wiki-title-container > button.wiki-link,
4928 [dir='rtl'] .form-field-wikidata ul.rows li:last-child button.form-field-button:last-child {
4929     border-radius: 0 0 0 4px;
4930 }
4931
4932
4933 /* Field - Restriction Editor
4934 ------------------------------------------------------- */
4935 .form-field-input-restrictions {
4936     display: block;
4937     border: 1px solid #ccc;
4938     border-top: 0;
4939     border-radius: 0 0 4px 4px;
4940 }
4941
4942 .form-field-input-restrictions .restriction-controls-container {
4943     background-color: #fff;
4944     width: 100%;
4945     padding: 5px;
4946     border-top: 1px solid #ccc;
4947     border-radius: 0 0 4px 4px;
4948 }
4949
4950 .restriction-controls-container .restriction-controls {
4951     display: table;
4952     -moz-user-select: none;
4953     -webkit-user-select: none;
4954     -ms-user-select: none;
4955     user-select: none;
4956 }
4957
4958 .restriction-controls .restriction-control {
4959     display: table-row;
4960     padding: 5px 10px;
4961     height: 25px;
4962 }
4963
4964 .restriction-control input,
4965 .restriction-control span {
4966     display: table-cell;
4967     text-align: start;
4968     padding: 0px 5px;
4969 }
4970
4971 .restriction-control span.restriction-control-label {
4972     text-align: end;
4973 }
4974
4975 .restriction-control input {
4976     width: 60px;
4977     padding: 0;
4978     margin: 0px 5px;
4979     vertical-align: middle;
4980 }
4981
4982 .form-field-input-restrictions .restriction-container {
4983     position: relative;
4984     height: 370px;
4985 }
4986 /* zero width space, so container takes up space */
4987 .form-field-input-restrictions .restriction-container:after {
4988     content: '\200b';
4989 }
4990
4991 .form-field-input-restrictions svg.surface {
4992     width: 100%;
4993     height: 100%;
4994 }
4995
4996 .restriction-container .restriction-help {
4997     z-index: 1;
4998     position: absolute;
4999     top: 0;
5000     left: 0;
5001     right: 0;
5002     padding: 2px 6px;
5003     background-color: rgba(255, 255, 255, .8);
5004     color: #888;
5005     text-align: center;
5006     pointer-events: none;
5007
5008     -moz-user-select: none;
5009     -webkit-user-select: none;
5010     -ms-user-select: none;
5011     user-select: none;
5012 }
5013
5014 .restriction-help span {
5015     margin: 2px;
5016 }
5017
5018 .restriction-help .qualifier {
5019     color: #666;
5020     font-weight: bold;
5021 }
5022 .restriction-help .qualifier.allow {
5023     color: #8b5;
5024 }
5025 .restriction-help .qualifier.restrict {
5026     color: #d53;
5027 }
5028 .restriction-help .qualifier.only {
5029     color: #78f;
5030 }
5031
5032
5033 /* Field - Changeset Comment
5034 ------------------------------------------------------- */
5035 .form-field-comment:not(.present) #preset-input-comment {
5036     border-color: rgb(230, 100, 100);
5037 }
5038 .form-field-comment:not(.present) .field-label {
5039     border-color: rgb(230, 100, 100);
5040     background: rgba(230, 100, 100, 0.2);
5041 }
5042 .form-field-comment:not(.present) button {
5043     border-color: rgb(230, 100, 100);
5044 }
5045
5046
5047 /* Field - Combobox
5048 ------------------------------------------------------- */
5049 div.combobox {
5050     z-index: 9999;
5051     display: none;
5052     box-shadow: 0 4px 10px 1px rgba(0,0,0,.2);
5053     margin-top: -1px;
5054     background: #fff;
5055     max-height: 245px;
5056     overflow-y: auto;
5057     overflow-x: hidden;
5058     border: 1px solid #ccc;
5059     border-radius: 0 0 4px 4px;
5060 }
5061
5062 .combobox a {
5063     display: block;
5064     padding: 5px 10px;
5065     border-top: 1px solid #ccc;
5066     text-overflow: ellipsis;
5067     white-space: nowrap;
5068     overflow: hidden;
5069 }
5070
5071 .combobox a.selected,
5072 .combobox a:hover {
5073     background: #ececec;
5074 }
5075
5076 .combobox a:first-child {
5077     border-top: 0;
5078     padding: 4px 10px;
5079 }
5080
5081 .combobox-caret {
5082     display: inline-block;
5083     position: relative;
5084     height: 30px;
5085     width: 30px !important;
5086     margin-left: -30px;
5087     vertical-align: top;
5088     cursor: pointer;
5089 }
5090 [dir='rtl'] .combobox-caret {
5091   margin-left: 0;
5092   margin-right: -30px;
5093 }
5094
5095 .combobox-caret::after {
5096     content: "";
5097     height: 0; width: 0;
5098     position: absolute;
5099     left: 0; right: 0; bottom: 0; top: 0;
5100     margin: auto;
5101     border-top: 5px solid #ccc;
5102     border-left: 5px solid transparent;
5103     border-right: 5px solid transparent;
5104 }
5105
5106
5107 /* Field Help
5108 ------------------------------------------------------- */
5109 .field-help-body {
5110     display: block;
5111     position: absolute;
5112     top: 0;
5113     left: 20px;
5114     right: 20px;
5115     margin: 5px;
5116     padding: 8px;
5117     border: 1px solid #ccc;
5118     border-top: 0;
5119     border-radius: 0 0 4px 4px;
5120     z-index: 20;
5121     background: rgba(255,255,255,0.95);
5122     box-shadow: 0 0 30px 5px rgba(0,0,0,.4);
5123 }
5124
5125 .field-help-title h2 {
5126     padding: 10px;
5127     margin-bottom: 0px;
5128     font-size: 17px;
5129 }
5130 .field-help-title button {
5131     width: 45px;
5132     height: 55px;
5133     border-radius: 0;
5134 }
5135
5136 .field-help-nav {
5137     font-size: 13px;
5138     font-weight: bold;
5139     margin-bottom: 10px;
5140 }
5141 .field-help-nav-item {
5142     display: inline-block;
5143     padding: 5px 10px;
5144     cursor: pointer;
5145     color: #666;
5146 }
5147 .field-help-nav-item.active {
5148     color: #7092ff;
5149     border-bottom: 2px solid;
5150 }
5151 .field-help-nav-item:hover {
5152     color: #597be7;
5153     background-color: #efefef;
5154 }
5155
5156 .field-help-content {
5157     padding: 10px;
5158     overflow-y: auto;
5159     overflow-x: hidden;
5160 }
5161 .field-help-content h3 {
5162     font-size: 12px;
5163     margin-bottom: 5px;
5164 }
5165 .field-help-content p {
5166     margin-bottom: 15px;
5167 }
5168 .field-help-content ul li {
5169     list-style: inside;
5170     margin-bottom: 5px;
5171 }
5172
5173 .field-help-content .field-help-image {
5174     width: 100%;
5175     margin-bottom: 15px;
5176 }
5177
5178 .field-help-content svg.turn {
5179     width: 40px;
5180     height: 20px;
5181 }
5182 .field-help-content svg.shadow {
5183     opacity: 0.7;
5184     width: 60px;
5185     height: 20px;
5186 }
5187 .field-help-content svg.from {
5188     color: #777;
5189 }
5190 .field-help-content svg.allow {
5191     color: #5b3;
5192 }
5193 .field-help-content svg.restrict {
5194     color: #d53;
5195 }
5196 .field-help-content svg.only {
5197     color: #68f;
5198 }
5199
5200 .field-help-content p.from_shadow,
5201 .field-help-content p.allow_shadow,
5202 .field-help-content p.restrict_shadow,
5203 .field-help-content p.allow_turn,
5204 .field-help-content p.restrict_turn {
5205     margin-bottom: 5px;
5206 }
5207
5208
5209 /* More Fields dropdown
5210 ------------------------------------------------------- */
5211 .more-fields {
5212     padding: 0 20px 20px 20px;
5213     font-weight: bold;
5214 }
5215 .changeset-editor .more-fields {
5216     padding: 15px 20px 0 20px;
5217 }
5218
5219 .more-fields label {
5220     display: flex;
5221     flex-flow: row nowrap;
5222     justify-content: space-between;
5223     align-items: center;
5224 }
5225
5226 .more-fields input {
5227     margin-left: 10px;
5228     flex: 1 1 50%;
5229 }
5230 [dir='rtl'] .more-fields input {
5231     margin-left: auto;
5232     margin-right: 10px;
5233 }
5234
5235 .form-field-input-wrap .label {
5236     height: 30px;
5237     background: #f6f6f6;
5238     padding: 5px 10px;
5239 }
5240
5241
5242 /* Raw Tag Editor
5243 ------------------------------------------------------- */
5244 .raw-tag-options {
5245     display: flex;
5246     flex-flow: row nowrap;
5247     flex-direction: row-reverse;
5248     margin-top: -25px;
5249     padding: 0 3px;
5250 }
5251 button.raw-tag-option {
5252     flex: 0 0 20px;
5253     height: 20px;
5254     width: 20px;
5255     background: #aaa;
5256     color: #eee;
5257     margin: 0 3px;
5258 }
5259 button.raw-tag-option:focus,
5260 button.raw-tag-option:hover,
5261 button.raw-tag-option.active {
5262     color: #fff;
5263     background: #597be7;
5264 }
5265 button.raw-tag-option.selected {
5266     color: #fff;
5267     background: #7092ff;
5268 }
5269 button.raw-tag-option svg.icon {
5270     width: 14px;
5271     height: 14px;
5272     vertical-align: text-bottom;
5273 }
5274 [dir='ltr'] button.raw-tag-option-list {
5275     -moz-transform: scaleX(-1);
5276     -o-transform: scaleX(-1);
5277     -webkit-transform: scaleX(-1);
5278     transform: scaleX(-1);
5279     filter: FlipH;
5280     -ms-filter: "FlipH";
5281 }
5282
5283
5284 .tag-text {
5285 &nb