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