]> git.openstreetmap.org Git - rails.git/blob - vendor/assets/iD/iD.css.erb
Merge remote-tracking branch 'openstreetmap/pull/1208'
[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: textfield; /* 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 /* tiles */
165 img.tile {
166     position:absolute;
167     transform-origin:0 0;
168     -ms-transform-origin:0 0;
169     -webkit-transform-origin:0 0;
170     -moz-transform-origin:0 0;
171     -o-transform-origin:0 0;
172
173     opacity: 0;
174
175     -webkit-transition: opacity 200ms linear;
176     transition: opacity 200ms linear;
177     -moz-transition: opacity 200ms linear;
178 }
179
180 img.tile-loaded {
181     opacity: 1;
182 }
183 img.tile-removing {
184     opacity: 0;
185 }
186
187 use { pointer-events: none; }
188
189 /* base styles */
190 .layer-osm path:not(.oneway) { fill: none; }     /* IE needs :not(.oneway) */
191
192 /* the above fill: none rule affects paths in <use> shadow dom only in Firefox */
193 .layer-osm use.icon path { fill: #333; }                       /* FF svg Maki icons */
194 .layer-osm .turn use path { fill: #000; }                      /* FF turn restriction icons */
195 #turn-only-shape2, #turn-only-u-shape2 { fill: #7092FF; }  /* FF turn-only, turn-only-u */
196 #turn-no-shape2, #turn-no-u-shape2     { fill: #E06D5F; }  /* FF turn-no, turn-no-u */
197 #turn-yes-shape2, #turn-yes-u-shape2   { fill: #8CD05F; }  /* FF turn-yes, turn-yes-u */
198
199 g.point .shadow,
200 g.vertex .shadow,
201 g.midpoint .shadow {
202     pointer-events: all;
203 }
204
205 path.shadow {
206     pointer-events: stroke;
207 }
208
209
210 /* points */
211
212 g.point .stroke {
213     stroke: #444;
214     stroke-width: 1;
215     fill: #fff;
216 }
217
218 g.point .shadow {
219     fill: none;
220     stroke: #f6634f;
221     stroke-width: 8;
222     stroke-opacity: 0;
223 }
224
225 g.point.hover:not(.selected) .shadow {
226     stroke-opacity: 0.5;
227 }
228
229 g.point.selected .shadow {
230     stroke-opacity: 0.7;
231 }
232
233 g.point.active, g.point.active * {
234     pointer-events: none;
235 }
236
237 /* vertices and midpoints */
238
239 g.vertex .fill {
240     fill: #000;
241 }
242
243 g.vertex .stroke {
244     stroke: #666;
245     stroke-width: 1;
246     fill: white;
247 }
248
249 g.vertex.shared .stroke {
250     fill: #aaa;
251 }
252
253 g.midpoint .fill {
254     fill: #eee;
255     stroke: #444;
256     stroke-opacity: .6;
257     opacity: .7;
258 }
259
260 g.midpoint.tag-highway-corridor .fill,
261 g.midpoint.tag-highway-pedestrian .fill,
262 g.midpoint.tag-highway-steps .fill,
263 g.midpoint.tag-highway-path .fill,
264 g.midpoint.tag-highway-footway .fill,
265 g.midpoint.tag-highway-cycleway .fill,
266 g.midpoint.tag-highway-bridleway .fill {
267     fill: #fff;
268     stroke: #333;
269     stroke-opacity: .8;
270     opacity: .8;
271 }
272
273 g.vertex .shadow,
274 g.midpoint .shadow {
275     fill: #f6634f;
276     fill-opacity: 0;
277 }
278
279 g.vertex.vertex-hover {
280     display: none;
281 }
282
283 .mode-draw-area g.vertex.vertex-hover,
284 .mode-draw-line g.vertex.vertex-hover,
285 .mode-add-area  g.vertex.vertex-hover,
286 .mode-add-line  g.vertex.vertex-hover,
287 .mode-add-point g.vertex.vertex-hover,
288 .mode-drag-node g.vertex.vertex-hover {
289     display: block;
290 }
291
292 g.vertex.hover:not(.selected) .shadow,
293 g.midpoint.hover:not(.selected) .shadow {
294     fill-opacity: 0.5;
295 }
296
297 g.vertex.selected .shadow {
298     fill-opacity: 0.7;
299 }
300
301 .mode-draw-area g.midpoint,
302 .mode-draw-line g.midpoint,
303 .mode-add-area g.midpoint,
304 .mode-add-line g.midpoint,
305 .mode-add-point g.midpoint {
306   display: none;
307 }
308
309 /* lines */
310
311 .preset-icon .icon.other-line {
312     color: #fff;
313     fill: #777;
314 }
315
316 path.line {
317     stroke-linecap: round;
318     stroke-linejoin: bevel;
319 }
320
321 path.stroke {
322     stroke: #000;
323     stroke-width: 4;
324 }
325
326 path.shadow {
327     stroke: #f6634f;
328     stroke-width: 10;
329     stroke-opacity: 0;
330 }
331
332 path.shadow.hover:not(.selected) {
333     stroke-opacity: 0.4;
334 }
335
336 path.shadow.selected {
337     stroke-opacity: 0.7;
338 }
339
340 path.line.stroke {
341     stroke: #fff;
342     stroke-width: 2;
343 }
344
345 path.area.stroke {
346     stroke: #fff;
347     stroke-width: 1;
348 }
349 path.area.fill {
350     stroke-width: 0;
351     stroke: rgba(255, 255, 255, 0.3);
352     fill: rgba(255, 255, 255, 0.3);
353     fill-rule: evenodd;
354 }
355 .preset-icon-fill-area {
356     border: 1px solid rgb(170, 170, 170);
357     background-color: rgba(170, 170, 170, 0.3);
358 }
359
360 path.stroke.tag-natural {
361     stroke: rgb(182, 225, 153);
362 }
363 path.fill.tag-natural {
364     stroke: rgba(182, 225, 153, 0.3);
365     fill: rgba(182, 225, 153, 0.3);
366 }
367 .preset-icon-fill-area.tag-natural {
368     border-color: rgb(182, 225, 153);
369     background-color: rgba(182, 225, 153, 0.3);
370 }
371
372 path.stroke.tag-landuse,
373 path.stroke.tag-natural-wood,
374 path.stroke.tag-natural-tree,
375 path.stroke.tag-natural-grassland,
376 path.stroke.tag-natural-grass,
377 path.stroke.tag-leisure-nature_reserve,
378 path.stroke.tag-leisure-pitch,
379 path.stroke.tag-leisure-park {
380     stroke: rgb(140, 208, 95);
381 }
382 path.fill.tag-landuse,
383 path.fill.tag-natural-wood,
384 path.fill.tag-natural-tree,
385 path.fill.tag-natural-grassland,
386 path.fill.tag-natural-grass,
387 path.fill.tag-leisure-nature_reserve,
388 path.fill.tag-leisure-pitch,
389 path.fill.tag-leisure-park {
390     stroke: rgba(140, 208, 95, 0.3);
391     fill: rgba(140, 208, 95, 0.3);
392 }
393 .preset-icon-fill-area.tag-landuse,
394 .preset-icon-fill-area.tag-natural-wood,
395 .preset-icon-fill-area.tag-natural-tree,
396 .preset-icon-fill-area.tag-natural-grassland,
397 .preset-icon-fill-area.tag-natural-grass,
398 .preset-icon-fill-area.tag-leisure-nature_reserve,
399 .preset-icon-fill-area.tag-leisure-pitch,
400 .preset-icon-fill-area.tag-leisure-park {
401     border-color: rgb(140, 208, 95);
402     background-color: rgba(140, 208, 95, 0.3);
403 }
404
405 path.stroke.tag-amenity-swimming_pool,
406 path.stroke.tag-leisure-swimming_pool,
407 path.stroke.tag-natural-water,
408 path.stroke.tag-landuse-basin,
409 path.stroke.tag-landuse-reservoir {
410     stroke: rgb(119, 211, 222);
411 }
412 path.fill.tag-amenity-swimming_pool,
413 path.fill.tag-leisure-swimming_pool,
414 path.fill.tag-landuse-basin,
415 path.fill.tag-landuse-reservoir,
416 path.fill.tag-natural-water {
417     stroke: rgba(119, 211, 222, 0.3);
418     fill: rgba(119, 211, 222, 0.3);
419 }
420 .preset-icon-fill-area.tag-amenity-swimming_pool,
421 .preset-icon-fill-area.tag-leisure-swimming_pool,
422 .preset-icon-fill-area.tag-landuse-basin,
423 .preset-icon-fill-area.tag-landuse-reservoir,
424 .preset-icon-fill-area.tag-natural-water {
425     border-color: rgb(119, 211, 222);
426     background-color: rgba(119, 211, 222, 0.3);
427 }
428
429 path.stroke.tag-amenity-childcare,
430 path.stroke.tag-amenity-kindergarten,
431 path.stroke.tag-amenity-school,
432 path.stroke.tag-amenity-college,
433 path.stroke.tag-amenity-university {
434     stroke: rgb(255, 255, 148);
435 }
436 path.fill.tag-amenity-childcare,
437 path.fill.tag-amenity-kindergarten,
438 path.fill.tag-amenity-school,
439 path.fill.tag-amenity-college,
440 path.fill.tag-amenity-university {
441     stroke: rgba(255, 255, 148, 0.15);
442     fill: rgba(255, 255, 148, 0.15);
443 }
444 .preset-icon-fill-area.tag-amenity-childcare,
445 .preset-icon-fill-area.tag-amenity-kindergarten,
446 .preset-icon-fill-area.tag-amenity-school,
447 .preset-icon-fill-area.tag-amenity-college,
448 .preset-icon-fill-area.tag-amenity-university {
449     border-color: rgb(255, 255, 148);
450     background-color: rgba(255, 255, 148, 0.15);
451 }
452
453 path.stroke.tag-landuse-residential {
454     stroke: rgb(196, 189, 25);
455 }
456 path.fill.tag-landuse-residential {
457     stroke: rgba(196, 189, 25, 0.3);
458     fill: rgba(196, 189, 25, 0.3);
459 }
460 .preset-icon-fill-area.tag-landuse-residential {
461     border-color: rgb(196, 189, 25);
462     background: rgba(196, 189, 25, 0.3);
463 }
464
465 path.stroke.tag-landuse-retail,
466 path.stroke.tag-landuse-commercial {
467     stroke: rgb(214, 136, 26);
468 }
469 path.fill.tag-landuse-retail,
470 path.fill.tag-landuse-commercial {
471     stroke: rgba(214, 136, 26, 0.3);
472     fill: rgba(214, 136, 26, 0.3);
473 }
474 .preset-icon-fill-area.tag-landuse-retail,
475 .preset-icon-fill-area.tag-landuse-commercial {
476     border-color: rgb(214, 136, 26);
477     background-color: rgba(214, 136, 26, 0.3);
478 }
479
480 path.stroke.tag-landuse-industrial {
481     stroke: rgb(228, 164, 245);
482 }
483 path.fill.tag-landuse-industrial {
484     stroke: rgba(228, 164, 245, 0.3);
485     fill: rgba(228, 164, 245, 0.3);
486 }
487 .preset-icon-fill-area.tag-landuse-industrial {
488     border-color: rgb(228, 164, 245);
489     background-color: rgba(228, 164, 245, 0.3);
490 }
491
492 path.stroke.tag-landuse-quarry {
493     stroke: rgb(166, 149, 123);
494 }
495 path.fill.tag-landuse-quarry {
496     stroke: rgba(166, 149, 123, 0.2);
497     fill: rgba(166, 149, 123, 0.2);
498 }
499 .preset-icon-fill-area.tag-landuse-quarry {
500     border-color: rgb(166, 149, 123);
501     background-color: rgba(166, 149, 123, 0.2);
502 }
503
504 path.stroke.tag-landuse-landfill {
505     stroke: rgb(255, 153, 51);
506 }
507 path.fill.tag-landuse-landfill {
508     stroke: rgba(255, 153, 51, 0.2);
509     fill: rgba(255, 153, 51, 0.2);
510 }
511 .preset-icon-fill-area.tag-landuse-landfill {
512     border-color: rgb(255, 153, 51);
513     background-color: rgba(255, 153, 51, 0.2);
514 }
515
516 .pattern-color-construction {
517     fill: rgba(196, 189, 25, 0.2);
518 }
519 path.stroke.tag-landuse.tag-status {
520     stroke: rgb(196, 189, 25);
521 }
522 .preset-icon-fill-area.tag-landuse.tag-status {
523     border-color: rgb(196, 189, 25);
524     background-color: rgba(196, 189, 25, 0.2);
525 }
526
527 path.stroke.tag-landuse-military {
528     stroke: rgb(214, 136, 26);
529 }
530 path.fill.tag-landuse-military {
531     stroke: rgba(214, 136, 26, 0.2);
532     fill: rgba(214, 136, 26, 0.2);
533 }
534 .preset-icon-fill-area.tag-landuse-military {
535     border-color: rgb(214, 136, 26);
536     background-color: rgba(214, 136, 26, 0.2);
537 }
538
539 .pattern-color-wetland {
540     fill: rgba(182, 225, 153, 0.2);
541 }
542 path.stroke.tag-natural-wetland {
543     stroke: rgb(182, 225, 153);
544 }
545 .preset-icon-fill-area.tag-natural-wetland {
546     border-color: rgb(182, 225, 153);
547     background-color: rgba(182, 225, 153, 0.2);
548 }
549
550 .pattern-color-meadow {
551     fill: rgba(182, 225, 153, 0.2);
552 }
553 path.stroke.tag-landuse-meadow {
554     stroke: rgb(182, 225, 153);
555 }
556 .preset-icon-fill-area.tag-landuse-meadow {
557     border-color: rgb(182, 225, 153);
558     background-color: rgba(182, 225, 153, 0.2);
559 }
560
561 .pattern-color-beach {
562     fill: rgba(255, 255, 126, 0.2);
563 }
564 path.stroke.tag-natural-beach {
565     stroke: rgb(255, 255, 126);
566 }
567 .preset-icon-fill-area.tag-natural-beach {
568     border-color: rgb(255, 255, 126);
569     background-color: rgba(255, 255, 126, 0.2);
570 }
571
572 .pattern-color-scrub {
573     fill: rgba(219, 240, 139, 0.2);
574 }
575 path.stroke.tag-natural-scrub {
576     stroke: rgb(219, 240, 139);
577 }
578 .preset-icon-fill-area.tag-natural-scrub {
579     border-color: rgb(219, 240, 139);
580     background-color: rgba(219, 240, 139, 0.2);
581 }
582
583 .pattern-color-farm,
584 .pattern-color-farmland {
585     fill: rgba(140, 208, 95, 0.2);
586 }
587 path.stroke.tag-landuse-farm,
588 path.stroke.tag-landuse-farmland {
589     stroke: rgb(140, 208, 95);
590 }
591 .preset-icon-fill-area.tag-landuse-farm,
592 .preset-icon-fill-area.tag-landuse-farmland {
593     background-color: rgba(140, 208, 95, 0.2);
594 }
595
596 .pattern-color-cemetery,
597 .pattern-color-orchard {
598     fill: rgba(140, 208, 95, 0.2);
599 }
600 path.stroke.tag-landuse-cemetery,
601 path.stroke.tag-landuse-orchard {
602     stroke: rgb(140, 208, 95);
603 }
604 .preset-icon-fill-area.tag-landuse-cemetery,
605 .preset-icon-fill-area.tag-landuse-orchard {
606     background-color: rgba(140, 208, 95, 0.2);
607 }
608
609 path.stroke.tag-amenity-parking {
610     stroke: rgb(170, 170, 170);
611 }
612 path.fill.tag-amenity-parking {
613     stroke: rgba(170, 170, 170, 0.3);
614     fill: rgba(170, 170, 170, 0.3);
615 }
616 .preset-icon-fill-area.tag-amenity-parking {
617     border-color: rgb(170, 170, 170);
618     background-color: rgba(170, 170, 170, 0.3);
619 }
620
621
622 /* highway areas */
623
624 path.stroke.area.tag-highway {
625     stroke:#fff;
626     stroke-dasharray: none;
627     stroke-width: 2;
628 }
629
630 /* wide highways */
631
632 .preset-icon .icon.tag-highway.other-line {
633     color: #fff;
634     fill: #777;
635 }
636
637 path.shadow.tag-highway {
638     stroke-width:16;
639 }
640 path.casing.tag-highway {
641     stroke:#444;
642     stroke-width:10;
643 }
644 path.stroke.tag-highway {
645     stroke:#ccc;
646     stroke-width:8;
647 }
648
649 .low-zoom path.shadow.tag-highway {
650     stroke-width:12;
651 }
652 .low-zoom path.casing.tag-highway {
653     stroke-width:6;
654 }
655 .low-zoom path.stroke.tag-highway {
656     stroke-width:4;
657 }
658
659 .preset-icon .icon.highway-motorway,
660 .preset-icon .icon.highway-motorway-link {
661     color: #CF2081;
662     fill: #70372f;
663 }
664 path.stroke.tag-highway-motorway,
665 path.stroke.tag-highway-motorway_link,
666 path.stroke.tag-motorway {
667     stroke:#CF2081;
668 }
669 path.casing.tag-highway-motorway,
670 path.casing.tag-highway-motorway_link,
671 path.casing.tag-motorway {
672     stroke:#70372f;
673 }
674
675 .preset-icon .icon.highway-trunk,
676 .preset-icon .icon.highway-trunk-link {
677     color: #DD2F22;
678     fill: #70372f;
679 }
680 path.stroke.tag-highway-trunk,
681 path.stroke.tag-highway-trunk_link,
682 path.stroke.tag-trunk {
683     stroke:#DD2F22;
684 }
685 path.casing.tag-highway-trunk,
686 path.casing.tag-highway-trunk_link,
687 path.casing.tag-trunk {
688     stroke:#70372f;
689 }
690
691 .preset-icon .icon.highway-primary,
692 .preset-icon .icon.highway-primary-link {
693     color: #F99806;
694     fill: #70372f;
695 }
696 path.stroke.tag-highway-primary,
697 path.stroke.tag-highway-primary_link,
698 path.stroke.tag-primary {
699     stroke:#F99806;
700 }
701 path.casing.tag-highway-primary,
702 path.casing.tag-highway-primary_link,
703 path.casing.tag-primary {
704     stroke:#70372f;
705 }
706
707 .preset-icon .icon.highway-secondary,
708 .preset-icon .icon.highway-secondary-link {
709     color: #F3F312;
710     fill: #70372f;
711 }
712 path.stroke.tag-highway-secondary,
713 path.stroke.tag-highway-secondary_link,
714 path.stroke.tag-secondary {
715     stroke:#F3F312;
716 }
717 path.casing.tag-highway-secondary,
718 path.casing.tag-highway-secondary_link,
719 path.casing.tag-secondary {
720     stroke:#70372f;
721 }
722
723 .preset-icon .icon.highway-tertiary,
724 .preset-icon .icon.highway-tertiary-link {
725     color: #FFF9B3;
726     fill: #70372f;
727 }
728 path.stroke.tag-highway-tertiary,
729 path.stroke.tag-highway-tertiary_link,
730 path.stroke.tag-tertiary {
731     stroke:#FFF9B3;
732 }
733 path.casing.tag-highway-tertiary,
734 path.casing.tag-highway-tertiary_link,
735 path.casing.tag-tertiary {
736     stroke:#70372f;
737 }
738
739 .legacy-carto .preset-icon .icon.highway-motorway,
740 .legacy-carto .preset-icon .icon.highway-motorway-link {
741     color: #58a9ed;
742     fill: #2c5476;
743 }
744 .legacy-carto path.stroke.tag-highway-motorway,
745 .legacy-carto path.stroke.tag-highway-motorway_link,
746 .legacy-carto path.stroke.tag-motorway {
747     stroke:#58a9ed;
748 }
749 .legacy-carto path.casing.tag-highway-motorway,
750 .legacy-carto path.casing.tag-highway-motorway_link,
751 .legacy-carto path.casing.tag-motorway {
752     stroke:#2c5476;
753 }
754
755 .legacy-carto .preset-icon .icon.highway-trunk,
756 .legacy-carto .preset-icon .icon.highway-trunk-link {
757     color: #8cd05f;
758     fill: #46682f;
759 }
760 .legacy-carto path.stroke.tag-highway-trunk,
761 .legacy-carto path.stroke.tag-highway-trunk_link,
762 .legacy-carto path.stroke.tag-trunk {
763     stroke:#8cd05f;
764 }
765 .legacy-carto path.casing.tag-highway-trunk,
766 .legacy-carto path.casing.tag-highway-trunk_link,
767 .legacy-carto path.casing.tag-trunk {
768     stroke:#46682f;
769 }
770
771 .legacy-carto .preset-icon .icon.highway-primary,
772 .legacy-carto .preset-icon .icon.highway-primary-link {
773     color: #e06d5f;
774     fill: #70372f;
775 }
776 .legacy-carto path.stroke.tag-highway-primary,
777 .legacy-carto path.stroke.tag-highway-primary_link,
778 .legacy-carto path.stroke.tag-primary {
779     stroke:#e06d5f;
780 }
781 .legacy-carto path.casing.tag-highway-primary,
782 .legacy-carto path.casing.tag-highway-primary_link,
783 .legacy-carto path.casing.tag-primary {
784     stroke:#70372f;
785 }
786
787 .legacy-carto .preset-icon .icon.highway-secondary,
788 .legacy-carto .preset-icon .icon.highway-secondary-link {
789     color: #eab056;
790     fill: #75582b;
791 }
792 .legacy-carto path.stroke.tag-highway-secondary,
793 .legacy-carto path.stroke.tag-highway-secondary_link,
794 .legacy-carto path.stroke.tag-secondary {
795     stroke:#eab056;
796 }
797 .legacy-carto path.casing.tag-highway-secondary,
798 .legacy-carto path.casing.tag-highway-secondary_link,
799 .legacy-carto path.casing.tag-secondary {
800     stroke:#75582b;
801 }
802
803 .legacy-carto .preset-icon .icon.highway-tertiary,
804 .legacy-carto .preset-icon .icon.highway-tertiary-link {
805     color: #ffff7e;
806     fill: #7f7f3f;
807 }
808 .legacy-carto path.stroke.tag-highway-tertiary,
809 .legacy-carto path.stroke.tag-highway-tertiary_link,
810 .legacy-carto path.stroke.tag-tertiary {
811     stroke:#ffff7e;
812 }
813 .legacy-carto path.casing.tag-highway-tertiary,
814 .legacy-carto path.casing.tag-highway-tertiary_link,
815 .legacy-carto path.casing.tag-tertiary {
816     stroke:#7f7f3f;
817 }
818
819 .preset-icon .icon.highway-residential {
820     color: #fff;
821     fill: #444;
822 }
823 path.stroke.tag-highway-residential,
824 path.stroke.tag-residential {
825     stroke:#fff;
826 }
827 path.casing.tag-highway-residential,
828 path.casing.tag-residential {
829     stroke:#444;
830 }
831
832 .preset-icon .icon.highway-unclassified {
833     color: #dcd9b9;
834     fill: #444;
835 }
836 path.stroke.tag-highway-unclassified,
837 path.stroke.tag-unclassified {
838     stroke:#dcd9b9;
839 }
840 path.casing.tag-highway-unclassified,
841 path.casing.tag-unclassified {
842     stroke:#444;
843 }
844
845
846 /* narrow highways */
847 path.stroke.tag-highway-living_street,
848 path.stroke.tag-highway-service,
849 path.stroke.tag-highway-track,
850 path.stroke.tag-highway-path,
851 path.stroke.tag-highway-footway,
852 path.stroke.tag-highway-cycleway,
853 path.stroke.tag-highway-bridleway,
854 path.stroke.tag-highway-corridor,
855 path.stroke.tag-highway-pedestrian,
856 path.stroke.tag-highway-steps,
857 path.stroke.tag-highway-road,
858 path.stroke.tag-living_street,
859 path.stroke.tag-service,
860 path.stroke.tag-track,
861 path.stroke.tag-path,
862 path.stroke.tag-footway,
863 path.stroke.tag-cycleway,
864 path.stroke.tag-bridleway,
865 path.stroke.tag-corridor,
866 path.stroke.tag-pedestrian,
867 path.stroke.tag-steps,
868 path.stroke.tag-road {
869     stroke-width:4;
870 }
871 path.casing.tag-highway-living_street,
872 path.casing.tag-highway-service,
873 path.casing.tag-highway-track,
874 path.casing.tag-highway-path,
875 path.casing.tag-highway-footway,
876 path.casing.tag-highway-cycleway,
877 path.casing.tag-highway-bridleway,
878 path.casing.tag-highway-corridor,
879 path.casing.tag-highway-pedestrian,
880 path.casing.tag-highway-steps,
881 path.casing.tag-highway-road,
882 path.casing.tag-living_street,
883 path.casing.tag-service,
884 path.casing.tag-track,
885 path.casing.tag-path,
886 path.casing.tag-footway,
887 path.casing.tag-cycleway,
888 path.casing.tag-bridleway,
889 path.casing.tag-corridor,
890 path.casing.tag-pedestrian,
891 path.casing.tag-steps,
892 path.casing.tag-road {
893     stroke-width:6;
894 }
895
896 .low-zoom path.stroke.tag-highway-living_street,
897 .low-zoom path.stroke.tag-highway-service,
898 .low-zoom path.stroke.tag-highway-track,
899 .low-zoom path.stroke.tag-highway-path,
900 .low-zoom path.stroke.tag-highway-footway,
901 .low-zoom path.stroke.tag-highway-cycleway,
902 .low-zoom path.stroke.tag-highway-bridleway,
903 .low-zoom path.stroke.tag-highway-corridor,
904 .low-zoom path.stroke.tag-highway-pedestrian,
905 .low-zoom path.stroke.tag-highway-steps,
906 .low-zoom path.stroke.tag-highway-road,
907 .low-zoom path.stroke.tag-living_street,
908 .low-zoom path.stroke.tag-service,
909 .low-zoom path.stroke.tag-track,
910 .low-zoom path.stroke.tag-path,
911 .low-zoom path.stroke.tag-footway,
912 .low-zoom path.stroke.tag-cycleway,
913 .low-zoom path.stroke.tag-bridleway,
914 .low-zoom path.stroke.tag-corridor,
915 .low-zoom path.stroke.tag-pedestrian,
916 .low-zoom path.stroke.tag-steps,
917 .low-zoom path.stroke.tag-road {
918     stroke-width:2;
919 }
920 .low-zoom path.casing.tag-highway-living_street,
921 .low-zoom path.casing.tag-highway-service,
922 .low-zoom path.casing.tag-highway-track,
923 .low-zoom path.casing.tag-highway-path,
924 .low-zoom path.casing.tag-highway-footway,
925 .low-zoom path.casing.tag-highway-cycleway,
926 .low-zoom path.casing.tag-highway-bridleway,
927 .low-zoom path.casing.tag-highway-corridor,
928 .low-zoom path.casing.tag-highway-pedestrian,
929 .low-zoom path.casing.tag-highway-steps,
930 .low-zoom path.casing.tag-highway-road,
931 .low-zoom path.casing.tag-living_street,
932 .low-zoom path.casing.tag-service,
933 .low-zoom path.casing.tag-track,
934 .low-zoom path.casing.tag-path,
935 .low-zoom path.casing.tag-footway,
936 .low-zoom path.casing.tag-cycleway,
937 .low-zoom path.casing.tag-bridleway,
938 .low-zoom path.casing.tag-corridor,
939 .low-zoom path.casing.tag-pedestrian,
940 .low-zoom path.casing.tag-steps,
941 .low-zoom path.casing.tag-road {
942     stroke-width:4;
943 }
944
945 .preset-icon .icon.highway-living-street {
946     color: #ccc;
947     fill: #fff;
948 }
949 path.stroke.tag-highway-living_street,
950 path.stroke.tag-living_street {
951     stroke:#ccc;
952 }
953 path.casing.tag-highway-living_street,
954 path.casing.tag-living_street {
955     stroke:#fff;
956 }
957
958 .preset-icon .icon.highway-footway.tag-highway-corridor,
959 .preset-icon .icon.highway-footway.tag-highway-pedestrian {
960     color: #8cd05f;
961     fill: #fff;
962 }
963 path.stroke.tag-highway-corridor,
964 path.stroke.tag-highway-pedestrian,
965 path.stroke.tag-corridor,
966 path.stroke.tag-pedestrian {
967     stroke:#fff;
968     stroke-dasharray: 2, 8;
969 }
970 path.casing.tag-highway-corridor,
971 path.casing.tag-highway-pedestrian,
972 path.casing.tag-corridor,
973 path.casing.tag-pedestrian,
974 path.casing.tag-highway-corridor.tag-unpaved,
975 path.casing.tag-highway-pedestrian.tag-unpaved,
976 path.casing.tag-corridor.tag-unpaved,
977 path.casing.tag-pedestrian.tag-unpaved {
978     stroke: #8cd05f;
979     stroke-linecap: round;
980     stroke-dasharray: none;
981 }
982
983 .preset-icon .icon.highway-road {
984     color: #9e9e9e;
985     fill: #666;
986 }
987 path.stroke.tag-highway-road,
988 path.stroke.tag-road {
989     stroke:#9e9e9e;
990 }
991 path.casing.tag-highway-road,
992 path.casing.tag-road {
993     stroke:#666;
994 }
995
996 .preset-icon .icon.highway-service {
997     color: #fff;
998     fill: #666;
999 }
1000 path.stroke.tag-highway-service,
1001 path.stroke.tag-service {
1002     stroke:#fff;
1003 }
1004 path.casing.tag-highway-service,
1005 path.casing.tag-service {
1006     stroke:#666;
1007 }
1008
1009 .preset-icon .icon.highway-track {
1010     color: #eaeaea;
1011     fill: #c5b59f;
1012 }
1013 path.stroke.tag-highway-track,
1014 path.stroke.tag-track {
1015     stroke: #c5b59f;
1016 }
1017 path.casing.tag-highway-track,
1018 path.casing.tag-track {
1019     stroke: #746f6f;
1020 }
1021
1022 path.stroke.tag-highway-path,
1023 path.stroke.tag-highway-footway,
1024 path.stroke.tag-highway-cycleway,
1025 path.stroke.tag-highway-bridleway {
1026     stroke-linecap: butt;
1027     stroke-dasharray: 6, 6;
1028 }
1029
1030 path.casing.tag-highway-path,
1031 path.casing.tag-highway-path.tag-unpaved {
1032     stroke: #c5b59f;
1033     stroke-linecap: round;
1034     stroke-dasharray: none;
1035 }
1036 path.casing.tag-highway-footway,
1037 path.casing.tag-highway-cycleway,
1038 path.casing.tag-highway-bridleway,
1039 path.casing.tag-highway-footway.tag-unpaved,
1040 path.casing.tag-highway-cycleway.tag-unpaved,
1041 path.casing.tag-highway-bridleway.tag-unpaved {
1042     stroke: #fff;
1043     stroke-linecap: round;
1044     stroke-dasharray: none;
1045 }
1046
1047 .preset-icon .icon.category-path,
1048 .preset-icon .icon.highway-path {
1049     color: #746f6f;
1050     fill: #c5b59f;
1051 }
1052 path.stroke.tag-highway-path {
1053     stroke: #746f6f;
1054 }
1055
1056 .preset-icon .icon.tag-route-foot,
1057 .preset-icon .icon.tag-route-hiking,
1058 .preset-icon .icon.highway-footway {
1059     color: #ae8681;
1060     fill: #fff;
1061 }
1062 path.stroke.tag-highway-footway {
1063     stroke: #ae8681;
1064 }
1065
1066 .preset-icon .icon.highway-footway.tag-crossing {
1067     color: #444;
1068 }
1069 path.stroke.tag-highway-footway.tag-crossing {
1070     stroke: #444;
1071     stroke-dasharray: 6, 4;
1072 }
1073
1074 .preset-icon .icon.tag-route-bicycle,
1075 .preset-icon .icon.highway-cycleway {
1076     color: #58a9ed;
1077     fill: #fff;
1078 }
1079 path.stroke.tag-highway-cycleway {
1080     stroke: #58a9ed;
1081 }
1082
1083 .preset-icon .icon.highway-bridleway {
1084     color: #e06d5f;
1085     fill: #fff;
1086 }
1087 path.stroke.tag-highway-bridleway {
1088     stroke: #e06d5f;
1089 }
1090
1091 .preset-icon .icon.highway-steps {
1092     color: #81d25c;
1093     fill: #fff;
1094 }
1095 path.stroke.tag-highway-steps {
1096     stroke: #81d25c;
1097     stroke-linecap: butt;
1098     stroke-dasharray: 3, 3;
1099 }
1100 path.casing.tag-highway-steps,
1101 path.casing.tag-highway-steps.tag-unpaved {
1102     stroke: #fff;
1103     stroke-linecap: round;
1104     stroke-dasharray: none;
1105 }
1106
1107
1108 /* aeroways */
1109 path.stroke.tag-aeroway-taxiway {
1110     stroke: #805C80;
1111     stroke-width: 4;
1112 }
1113 path.shadow.tag-aeroway-runway {
1114     stroke-width: 20;
1115 }
1116 path.stroke.tag-aeroway-runway {
1117     stroke: #fff;
1118     stroke-width: 2;
1119     stroke-linecap: butt;
1120     stroke-dasharray: 24, 48;
1121 }
1122 path.casing.tag-aeroway-runway {
1123     stroke-width: 10;
1124     stroke: #000;
1125     stroke-linecap: square;
1126 }
1127 path.fill.tag-aeroway-runway {
1128     stroke: rgba(0, 0, 0, 0.6);
1129     fill: rgba(0, 0, 0, 0.6);
1130 }
1131 path.stroke.tag-aeroway-apron {
1132     stroke: #805C80;
1133 }
1134 path.fill.tag-aeroway-apron {
1135     stroke: rgba(128, 92, 128, 0.2);
1136     fill: rgba(128, 92, 128, 0.2);
1137 }
1138
1139
1140 /* railways */
1141 .preset-icon .icon.tag-railway.other-line {
1142     color: #fff;
1143     fill: #777;
1144 }
1145 .preset-icon .icon.tag-railway {
1146     color: #555;
1147     fill: #eee;
1148 }
1149 path.stroke.tag-railway {
1150     stroke: #eee;
1151     stroke-width: 2;
1152     stroke-linecap: butt;
1153     stroke-dasharray: 12,12;
1154 }
1155 path.casing.tag-railway {
1156     stroke: #555;
1157     stroke-width: 4;
1158 }
1159
1160 .preset-icon .icon.tag-railway-disused,
1161 .preset-icon .icon.tag-railway-abandoned {
1162     color: #999;
1163     fill: #eee;
1164 }
1165 path.stroke.tag-railway-abandoned {
1166     stroke: #eee;
1167 }
1168 path.casing.tag-railway-abandoned {
1169     stroke: #999;
1170 }
1171
1172 .preset-icon .icon.tag-railway-subway {
1173     color: #222;
1174     fill: #bbb;
1175 }
1176 path.stroke.tag-railway-subway {
1177     stroke: #bbb;
1178 }
1179 path.casing.tag-railway-subway {
1180     stroke: #222;
1181 }
1182
1183 path.stroke.tag-railway-platform {
1184     stroke: #999;
1185     stroke-width: 4;
1186     stroke-dasharray: none;
1187 }
1188 path.casing.tag-railway-platform {
1189     stroke: none;
1190 }
1191
1192 .area.stroke.tag-railway {
1193     stroke: white;
1194     stroke-width: 1;
1195     stroke-dasharray: none;
1196 }
1197 .area.casing.tag-railway {
1198     stroke: none;
1199 }
1200
1201
1202 /* waterways */
1203 .preset-icon .icon.tag-waterway.other-line {
1204     color: #77d3de;
1205     fill: #77d3de;
1206 }
1207 .preset-icon .icon.category-water,
1208 .preset-icon .icon.tag-route-ferry,
1209 .preset-icon .icon.tag-waterway {
1210     color: #77d3de;
1211     fill: #fff;
1212 }
1213
1214 path.fill.tag-waterway {
1215     stroke: rgba(119, 211, 222, 0.3);
1216     fill: rgba(119, 211, 222, 0.3);
1217 }
1218
1219 path.stroke.tag-waterway {
1220     stroke: #77d3de;
1221     stroke-width: 2;
1222 }
1223 path.casing.tag-waterway {
1224     stroke: #77d3de;
1225     stroke-width: 4;
1226 }
1227
1228 path.stroke.tag-waterway-river {
1229     stroke-width: 4;
1230 }
1231 path.casing.tag-waterway-river {
1232     stroke-width: 6;
1233 }
1234
1235 .preset-icon .icon.tag-waterway-ditch {
1236     color: #6591ff;
1237 }
1238 path.stroke.tag-waterway-ditch {
1239     stroke: #6591ff;
1240     stroke-width: 1;
1241 }
1242 path.casing.tag-waterway-ditch {
1243     stroke: #6591ff;
1244     stroke-width: 3;
1245 }
1246
1247 path.area.stroke.tag-waterway-dock,
1248 path.area.stroke.tag-waterway-boatyard,
1249 path.area.stroke.tag-waterway-fuel {
1250     stroke: white;
1251     stroke-width: 1;
1252 }
1253 path.area.casing.tag-waterway-dock,
1254 path.area.casing.tag-waterway-boatyard,
1255 path.area.casing.tag-waterway-fuel {
1256     stroke: none;
1257 }
1258 path.area.fill.tag-waterway-dock,
1259 path.area.fill.tag-waterway-boatyard,
1260 path.area.fill.tag-waterway-fuel {
1261     stroke: rgba(255, 255, 255, 0.3);
1262     fill: rgba(255, 255, 255, 0.3);
1263 }
1264
1265
1266 /* power */
1267 .preset-icon .icon.tag-man_made-pipeline,
1268 .preset-icon .icon.tag-power {
1269     color: #939393;
1270     fill: #939393;
1271 }
1272
1273 path.stroke.tag-power {
1274     stroke: #939393;
1275     stroke-width: 2;
1276 }
1277 path.casing.tag-power {
1278     stroke: none;
1279 }
1280
1281
1282 /* boundaries */
1283 path.stroke.tag-boundary {
1284     stroke: #fff;
1285     stroke-width: 2;
1286     stroke-linecap: butt;
1287     stroke-dasharray: 20, 5, 5, 5;
1288 }
1289 path.casing.tag-boundary {
1290     stroke: #82B5FE;
1291     stroke-width: 6;
1292 }
1293
1294 path.casing.tag-boundary-protected_area,
1295 path.casing.tag-boundary-national_park {
1296     stroke: #b0e298;
1297 }
1298
1299
1300 /* barriers */
1301 path.stroke.tag-barrier {
1302     stroke: #ddd;
1303     stroke-width: 3px;
1304     stroke-linecap: round;
1305     stroke-dasharray: 15, 5, 1, 5;
1306 }
1307 .low-zoom path.stroke.tag-barrier {
1308     stroke-width: 2px;
1309     stroke-linecap: butt;
1310     stroke-dasharray: 8, 2, 2, 2;
1311 }
1312
1313
1314 /* bridges */
1315 path.casing.tag-bridge {
1316     stroke-width: 16;
1317     stroke-opacity: 0.6;
1318     stroke: #000;
1319     stroke-linecap: butt;
1320     stroke-dasharray: none;
1321 }
1322
1323 path.shadow.tag-bridge {
1324     stroke-width: 22;
1325 }
1326 path.casing.line.tag-railway.tag-bridge,
1327 path.casing.tag-highway-living_street.tag-bridge,
1328 path.casing.tag-highway-path.tag-bridge,
1329 path.casing.tag-highway-corridor.tag-bridge,
1330 path.casing.line.tag-highway-pedestrian.tag-bridge,
1331 path.casing.tag-highway-service.tag-bridge,
1332 path.casing.tag-highway-track.tag-bridge,
1333 path.casing.tag-highway-steps.tag-bridge,
1334 path.casing.tag-highway-footway.tag-bridge,
1335 path.casing.tag-highway-cycleway.tag-bridge,
1336 path.casing.tag-highway-bridleway.tag-bridge {
1337     stroke-width: 10;
1338 }
1339 path.shadow.line.tag-railway.tag-bridge,
1340 path.shadow.tag-highway-living_street.tag-bridge,
1341 path.shadow.tag-highway-path.tag-bridge,
1342 path.shadow.tag-highway-corridor.tag-bridge,
1343 path.shadow.line.tag-highway-pedestrian.tag-bridge,
1344 path.shadow.tag-highway-service.tag-bridge,
1345 path.shadow.tag-highway-track.tag-bridge,
1346 path.shadow.tag-highway-steps.tag-bridge,
1347 path.shadow.tag-highway-footway.tag-bridge,
1348 path.shadow.tag-highway-cycleway.tag-bridge,
1349 path.shadow.tag-highway-bridleway.tag-bridge {
1350     stroke-width: 17;
1351 }
1352 .low-zoom path.casing.tag-bridge {
1353     stroke-width: 10;
1354 }
1355 .low-zoom path.shadow.tag-bridge {
1356     stroke-width: 14;
1357 }
1358
1359 .low-zoom path.casing.line.tag-railway.tag-bridge,
1360 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1361 .low-zoom path.casing.tag-highway-path.tag-bridge,
1362 .low-zoom path.casing.tag-highway-corridor.tag-bridge,
1363 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1364 .low-zoom path.casing.tag-highway-service.tag-bridge,
1365 .low-zoom path.casing.tag-highway-track.tag-bridge,
1366 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1367 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1368 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1369 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1370     stroke-width: 6;
1371 }
1372
1373 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1374 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1375 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1376 .low-zoom path.shadow.tag-highway-corridor.tag-bridge,
1377 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1378 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1379 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1380 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1381 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1382 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1383 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1384     stroke-width: 13;
1385 }
1386
1387
1388 /* tunnels */
1389 path.stroke.tag-tunnel {
1390     stroke-opacity: 0.3;
1391 }
1392 path.casing.tag-tunnel {
1393     stroke-opacity: 0.5;
1394     stroke-linecap: butt;
1395     stroke-dasharray: none;
1396 }
1397
1398
1399 /* embankments / cuttings */
1400 path.casing.tag-embankment,
1401 path.casing.tag-cutting {
1402     stroke-opacity: 0.5;
1403     stroke: #000;
1404     stroke-width: 22;
1405     stroke-dasharray: 2, 4;
1406     stroke-linecap: butt;
1407 }
1408
1409 path.shadow.tag-embankment,
1410 path.shadow.tag-cutting {
1411     stroke-width: 28;
1412 }
1413
1414 .low-zoom path.casing.tag-embankment,
1415 .low-zoom path.casing.tag-cutting {
1416     stroke-width: 10;
1417 }
1418
1419 .low-zoom path.shadow.tag-embankment,
1420 .low-zoom path.shadow.tag-cutting {
1421     stroke-width: 14;
1422 }
1423
1424
1425 /* Surface - unpaved */
1426 path.casing.tag-unpaved {
1427     stroke: #ccc;
1428     stroke-linecap: butt;
1429     stroke-dasharray: 4, 3;
1430 }
1431 .low-zoom path.casing.tag-unpaved {
1432     stroke-dasharray: 3, 2;
1433 }
1434 path.casing.tag-bridge.tag-unpaved {
1435     stroke: #000;
1436     stroke-dasharray: 4, 3;
1437 }
1438 .low-zoom path.casing.tag-bridge.tag-unpaved {
1439     stroke: #000;
1440     stroke-dasharray: 3, 2;
1441 }
1442
1443
1444 /* Status (e.g. construction, proposed, abandoned) */
1445 path.stroke.tag-status,
1446 path.casing.tag-status {
1447     stroke-linecap: butt;
1448     stroke-dasharray: 7, 3;
1449 }
1450 .low-zoom path.stroke.tag-status,
1451 .low-zoom path.casing.tag-status {
1452     stroke-dasharray: 5, 2;
1453 }
1454
1455
1456 /* Buildings */
1457 path.stroke.tag-building,
1458 path.stroke.tag-amenity-shelter {
1459     stroke: rgb(224, 110, 95);
1460 }
1461 path.fill.tag-building,
1462 path.fill.tag-amenity-shelter {
1463     stroke: rgba(224, 110, 95, 0.3);
1464     fill: rgba(224, 110, 95, 0.3);
1465 }
1466 .preset-icon-fill-area.tag-building,
1467 .preset-icon-fill-area.tag-amenity-shelter {
1468     border-color: rgb(224, 110, 95);
1469     background-color: rgba(224, 110, 95, 0.3);
1470 }
1471
1472
1473 /* Labels / Markers */
1474
1475 text {
1476     font-size:10px;
1477     pointer-events: none;
1478     color: #222;
1479     opacity: 1;
1480 }
1481
1482 .oneway .textpath.tag-waterway {
1483     fill: #002F35;
1484 }
1485
1486 path.oneway {
1487     stroke-width: 6px;
1488 }
1489
1490
1491 text.arealabel-halo,
1492 text.linelabel-halo,
1493 text.pointlabel-halo,
1494 text.arealabel,
1495 text.linelabel,
1496 text.pointlabel {
1497     font-size: 12px;
1498     font-weight: bold;
1499     fill: #333;
1500     text-anchor: middle;
1501     pointer-events: none;
1502     -webkit-transition: opacity 100ms linear;
1503     transition: opacity 100ms linear;
1504     -moz-transition: opacity 100ms linear;
1505 }
1506
1507 .linelabel-halo .textpath,
1508 .linelabel .textpath {
1509   dominant-baseline: middle;
1510 }
1511
1512 /* Opera doesn't support dominant-baseline. See #715 */
1513 .opera .linelabel-halo .textpath,
1514 .opera .linelabel .textpath {
1515   baseline-shift: -33%;
1516   dominant-baseline: auto;
1517 }
1518
1519 .layer-halo text {
1520     opacity: 0.7;
1521     stroke: #fff;
1522     stroke-width: 5px;
1523     stroke-miterlimit: 1;
1524 }
1525
1526 text.proximate {
1527     opacity: 0;
1528 }
1529
1530 text.point {
1531   font-size: 10px;
1532 }
1533
1534 /* Turns */
1535
1536 g.turn rect,
1537 g.turn circle {
1538     fill: none;
1539     pointer-events: all;
1540 }
1541
1542 .form-field-restrictions .vertex {
1543     pointer-events: none;
1544     cursor: auto !important;
1545 }
1546
1547 /* Cursors */
1548
1549 .map-in-map,
1550 #map {
1551     cursor: auto; /* Opera */
1552     cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1553 }
1554
1555 .mode-browse .point,
1556 .mode-select .point {
1557     cursor: pointer; /* Opera */
1558     cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1559 }
1560
1561 .mode-select .vertex,
1562 .mode-browse .vertex {
1563     cursor: pointer; /* Opera */
1564     cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1565 }
1566
1567 .mode-browse .line,
1568 .mode-select .line {
1569     cursor: pointer; /* Opera */
1570     cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1571 }
1572
1573 .mode-select .area,
1574 .mode-browse .area {
1575     cursor: pointer; /* Opera */
1576     cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1577 }
1578
1579 .mode-select .midpoint,
1580 .mode-browse .midpoint {
1581     cursor: pointer; /* Opera */
1582     cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1583 }
1584
1585 .mode-select .behavior-multiselect .point,
1586 .mode-select .behavior-multiselect .vertex,
1587 .mode-select .behavior-multiselect .line,
1588 .mode-select .behavior-multiselect .area {
1589     cursor: pointer; /* Opera */
1590     cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1591 }
1592
1593 .mode-select .behavior-multiselect .selected {
1594     cursor: pointer; /* Opera */
1595     cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1596 }
1597
1598 #map .point:active,
1599 #map .vertex:active,
1600 #map .line:active,
1601 #map .area:active,
1602 #map .midpoint:active,
1603 #map .mode-select .selected {
1604     cursor: pointer; /* Opera */
1605     cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1606 }
1607
1608 .mode-draw-line #map,
1609 .mode-draw-area #map,
1610 .mode-add-line  #map,
1611 .mode-add-area  #map,
1612 .mode-drag-node #map {
1613     cursor: crosshair; /* Opera */
1614     cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1615 }
1616
1617 .mode-draw-line .way.hover,
1618 .mode-draw-area .way.hover,
1619 .mode-add-line  .way.hover,
1620 .mode-add-area  .way.hover,
1621 .mode-drag-node .way.hover {
1622     cursor: crosshair; /* Opera */
1623     cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1624 }
1625
1626 .mode-draw-line .vertex.hover,
1627 .mode-draw-area .vertex.hover,
1628 .mode-add-line  .vertex.hover,
1629 .mode-add-area  .vertex.hover,
1630 .mode-drag-node .vertex.hover {
1631     cursor: crosshair; /* Opera */
1632     cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1633 }
1634
1635 .mode-add-point #map,
1636 .mode-browse.lasso #map,
1637 .mode-browse.lasso .way,
1638 .mode-browse.lasso .vertex,
1639 .mode-browse.lasso .midpoint,
1640 .mode-select.lasso #map,
1641 .mode-select.lasso .way,
1642 .mode-select.lasso .vertex,
1643 .mode-select.lasso .midpoint {
1644     cursor: crosshair; /* Opera */
1645     cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1646 }
1647
1648 .turn rect,
1649 .turn circle {
1650     cursor: pointer; /* Opera */
1651     cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1652 }
1653
1654 .lasso #map {
1655     pointer-events: visibleStroke;
1656 }
1657
1658 /* GPX Paths */
1659 .layer-gpx {
1660     pointer-events: none;
1661 }
1662
1663 path.gpx {
1664     stroke: #FF26D4;
1665     stroke-width: 2;
1666     fill: none;
1667 }
1668
1669 text.gpx {
1670     fill: #FF26D4;
1671 }
1672
1673 /* Mapillary Image Layer */
1674
1675 .layer-mapillary-images {
1676     pointer-events: none;
1677 }
1678
1679 .layer-mapillary-images .viewfield-group {
1680     pointer-events: visible;
1681     cursor: pointer; /* Opera */
1682     cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1683 }
1684
1685 .layer-mapillary-images .viewfield-group * {
1686     stroke-width: 1;
1687     stroke: #444;
1688     fill: #ffc600;
1689     z-index: 50;
1690 }
1691
1692 .layer-mapillary-images .viewfield-group:hover * {
1693     stroke-width: 1;
1694     stroke: #333;
1695     fill: #ff9900;
1696     z-index: 60;
1697 }
1698
1699 .layer-mapillary-images .viewfield-group.selected  * {
1700     stroke-width: 2;
1701     stroke: #222;
1702     fill: #ff5800;
1703     z-index: 60;
1704 }
1705
1706 .layer-mapillary-images .viewfield-group:hover path.viewfield,
1707 .layer-mapillary-images .viewfield-group.selected path.viewfield,
1708 .layer-mapillary-images .viewfield-group path.viewfield {
1709     stroke-width: 0;
1710     fill-opacity: 0.6;
1711 }
1712
1713 /* Mapillary Sign Layer */
1714
1715 .layer-mapillary-signs {
1716     pointer-events: none;
1717 }
1718
1719 .layer-mapillary-signs .icon-sign body {
1720     min-width: 20px;
1721     height: 28px;
1722     width: 28px;
1723     border: 2px solid transparent;
1724     pointer-events: visible;
1725     cursor: pointer; /* Opera */
1726     cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1727     z-index: 70;
1728 }
1729
1730 .layer-mapillary-signs .icon-sign:hover body {
1731     border: 2px solid rgba(255,198,0,0.8);
1732     z-index: 80;
1733  }
1734
1735 .layer-mapillary-signs .icon-sign.selected body {
1736     border: 2px solid rgba(255,0,0,0.8);
1737     z-index: 80;
1738  }
1739
1740 .layer-mapillary-signs .icon-sign .t {
1741     font-size: 28px;
1742     z-index: 70;
1743     position: absolute;
1744 }
1745
1746 .layer-mapillary-signs .icon-sign:hover .t,
1747 .layer-mapillary-signs .icon-sign.selected .t {
1748     z-index: 80;
1749 }
1750
1751 /* Modes */
1752
1753 .mode-draw-line .vertex.active,
1754 .mode-draw-area .vertex.active,
1755 .mode-drag-node .vertex.active {
1756     display: none;
1757 }
1758
1759 .mode-draw-line .way.active,
1760 .mode-draw-area .way.active,
1761 .mode-drag-node .active {
1762     pointer-events: none;
1763 }
1764
1765 /* Ensure drawing doesn't interact with area fills. */
1766 .mode-add-point .area.fill,
1767 .mode-draw-line .area.fill,
1768 .mode-draw-area .area.fill,
1769 .mode-add-line .area.fill,
1770 .mode-add-area .area.fill,
1771 .mode-drag-node .area.fill {
1772     pointer-events: none;
1773 }
1774
1775
1776 /* Fill Styles */
1777 .low-zoom.fill-wireframe path.stroke,
1778 .fill-wireframe path.stroke {
1779     stroke-width: 1;
1780     stroke-opacity: 0.5;
1781     stroke-dasharray: none;
1782     fill: none;
1783 }
1784
1785 .low-zoom.fill-wireframe path.shadow,
1786 .fill-wireframe path.shadow {
1787     stroke-width: 8;
1788 }
1789
1790 .fill-wireframe path.shadow.hover:not(.selected) {
1791     stroke-opacity: 0.4;
1792 }
1793 .fill-wireframe path.shadow.selected {
1794     stroke-opacity: 0.6;
1795 }
1796
1797 .fill-wireframe .point,
1798 .fill-wireframe .areaicon,
1799 .fill-wireframe path.casing,
1800 .fill-wireframe path.fill,
1801 .fill-wireframe path.oneway {
1802     display: none;
1803 }
1804
1805 .fill-partial path.fill {
1806     fill-opacity: 0;
1807     stroke-width: 60px;
1808     pointer-events: visibleStroke;
1809 }
1810 /* Basics
1811 ------------------------------------------------------- */
1812
1813 /*
1814   Opera misbehaves when the window is resized vertically unless 100% width + height are
1815   applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
1816 */
1817 html, body {
1818     width: 100%;
1819     height: 100%;
1820 }
1821
1822 body {
1823     font:normal 12px/1.6667 'Helvetica Neue', Arial, sans-serif;
1824     margin:0;
1825     padding:0;
1826     min-width: 768px;
1827     color:#333;
1828     overflow: hidden;
1829 }
1830
1831 .unsupported {
1832     text-align: center;
1833     vertical-align: middle;
1834     padding-top: 100px;
1835     font-size: 15px;
1836 }
1837
1838 .id-container {
1839     height: 100%;
1840     width: 100%;
1841     min-width: 768px;
1842 }
1843
1844 #content {
1845     position: relative;
1846     overflow: hidden;
1847     height: 100%;
1848 }
1849
1850 #defs {
1851     /* Can't be display: none or the clippaths are ignored. */
1852     position: absolute;
1853     width: 0;
1854     height: 0;
1855 }
1856
1857 .spacer {
1858     height: 40px;
1859     margin-right: 10px;
1860 }
1861
1862 .limiter {
1863     position: relative;
1864     max-width: 1200px;
1865 }
1866
1867 .spinner {
1868     opacity: .5;
1869     float: right;
1870 }
1871
1872 .spinner img {
1873     height: 40px;
1874     width: 40px;
1875     border-radius: 4px;
1876     margin-right: 10px;
1877     background: black;
1878 }
1879
1880 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
1881     -moz-box-sizing: border-box;
1882     -webkit-box-sizing: border-box;
1883     box-sizing: border-box;
1884 }
1885
1886 a, button, input, textarea {
1887     -webkit-tap-highlight-color:rgba(0,0,0,0);
1888     -webkit-touch-callout:none;
1889 }
1890
1891 a,
1892 button,
1893 .checkselect label:hover,
1894 .opacity-options li,
1895 .radial-menu-item {
1896     cursor: pointer; /* Opera */
1897     cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1898 }
1899
1900 h2 {
1901     font-size: 25px;
1902     line-height: 1.25;
1903     font-weight: bold;
1904     margin-bottom: 20px;
1905 }
1906
1907 h3:last-child,
1908 h2:last-child,
1909 h4:last-child { margin-bottom: 0;}
1910
1911 h3 {
1912     font-size: 16px;
1913     line-height: 1.25;
1914     font-weight: bold;
1915     margin-bottom: 10px;
1916 }
1917
1918 h4, h5 {
1919     font-size: 12px;
1920     font-weight: bold;
1921     padding-bottom: 10px;
1922 }
1923
1924 :focus {
1925     outline-color: transparent;
1926     outline-style: none;
1927 }
1928
1929 p {
1930     font-size: 12px;
1931     margin:0;
1932     padding:0;
1933 }
1934
1935 p:last-child {
1936     padding-bottom: 0;
1937 }
1938
1939 em {
1940     font-style: italic;
1941 }
1942
1943 strong {
1944     font-weight: bold;
1945 }
1946
1947 a:visited, a {
1948     color: #7092ff;
1949 }
1950
1951 a:hover {
1952     color:#597be7;
1953 }
1954
1955 /* Forms
1956 ------------------------------------------------------- */
1957
1958 textarea  {
1959     resize: vertical;
1960     font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
1961 }
1962
1963 textarea,
1964 input[type=text],
1965 input[type=search],
1966 input[type=number],
1967 input[type=url],
1968 input[type=tel],
1969 input[type=email] {
1970     background-color: white;
1971     border:1px solid #ccc;
1972     padding:5px 10px;
1973     height:30px;
1974     width: 100%;
1975     border-radius:4px;
1976     text-overflow: ellipsis;
1977 }
1978
1979 textarea:focus,
1980 input:focus {
1981     background-color: #F1F1F1;
1982 }
1983
1984 input[type="checkbox"],
1985 input[type="radio"] {
1986     float: left;
1987     width: 14px;
1988     height: 14px;
1989     margin-right: 5px;
1990     margin-top: 3px;
1991 }
1992
1993 /* remove bottom border radius when combobox is open */
1994 .combobox + * textarea:focus,
1995 .combobox + * input:focus {
1996     border-bottom-left-radius: 0 !important;
1997     border-bottom-right-radius: 0 !important;
1998 }
1999
2000 /* tables */
2001
2002 table {
2003     background-color: white;
2004     border-collapse: collapse;
2005     width:100%;
2006     border-spacing:0;
2007 }
2008
2009 table th {
2010     text-align:left;
2011 }
2012
2013 table.tags, table.tags td, table.tags th {
2014     border: 1px solid #CCC;
2015     padding: 4px;
2016 }
2017
2018 ::-ms-clear {
2019    display: none;
2020 }
2021
2022 /* Grid
2023 ------------------------------------------------------- */
2024
2025 .col0    { float:left; width:04.1666%; }
2026 .col1    { float:left; width:08.3333%; }
2027 .col2    { float:left; width:16.6666%; }
2028 .col3    { float:left; width:25.0000%; max-width: 300px; }
2029 .col4    { float:left; width:33.3333%; max-width: 400px; }
2030 .col5    { float:left; width:41.6666%; max-width: 500px; }
2031 .col6    { float:left; width:50.0000%; max-width: 600px; }
2032 .col7    { float:left; width:58.3333%; }
2033 .col8    { float:left; width:66.6666%; }
2034 .col9    { float:left; width:75.0000%; }
2035 .col10   { float:left; width:83.3333%; }
2036 .col11   { float:left; width:91.6666%; }
2037 .col12   { float:left; width:100.0000%; }
2038
2039 /* UI Lists
2040 ------------------------------------------------------- */
2041
2042 ul li { list-style: none;}
2043
2044 .toggle-list > label {
2045     position: relative;
2046     padding: 5px 10px;
2047     display: block;
2048     height: 30px;
2049     background-color: white;
2050     color: #7092FF;
2051     cursor: pointer;
2052 }
2053
2054 .toggle-list > label:hover {
2055     background-color: #ececec;
2056 }
2057
2058 .toggle-list > label:not(:last-child) {
2059     border-bottom: 1px solid #ccc;
2060 }
2061
2062 .toggle-list > label:last-child {
2063     border-radius: 0 0 3px 3px;
2064 }
2065
2066 .toggle-list label > span {
2067     display: block;
2068     overflow: hidden;
2069     white-space: nowrap;
2070     text-overflow: ellipsis;
2071 }
2072
2073 .toggle-list > label.active {
2074     background: #E8EBFF;
2075 }
2076
2077
2078 /* Utility Classes
2079 ------------------------------------------------------- */
2080 .fillL {
2081     background: white;
2082     color: #333;
2083 }
2084
2085 .fillL2 {
2086     background: #f6f6f6;
2087     color: #333;
2088 }
2089
2090 .fillL3 {
2091     background: #ececec;
2092     color: #333;
2093 }
2094
2095 .fillD {
2096     background:rgba(0,0,0,.5);
2097     color: white;
2098 }
2099
2100 .fillD2 {
2101     background:rgba(0,0,0,.75);
2102     color: white;
2103 }
2104
2105 .fl { float: left;}
2106 .fr { float: right;}
2107 .al { left: 0; }
2108 .ar { right: 0; }
2109
2110 div.hide,
2111 form.hide,
2112 button.hide,
2113 a.hide,
2114 li.hide {
2115     display: none;
2116 }
2117
2118 .deemphasize {
2119     color: #a9a9a9;
2120 }
2121
2122 .content {
2123     box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2124 }
2125
2126 .loading {
2127     background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2128     background-size:5px 5px;
2129 }
2130
2131 .panewrap {
2132     position:absolute;
2133     width:200%;
2134     height:100%;
2135     right: -100%;
2136 }
2137
2138
2139 .pane {
2140     position:absolute;
2141     width:50%;
2142     top: 0;
2143     bottom: 30px;
2144 }
2145
2146 .pane:first-child {
2147     left: 0;
2148 }
2149
2150 .pane:last-child {
2151     right: 0;
2152 }
2153
2154 /* Buttons */
2155
2156 button {
2157     text-align: center;
2158     line-height:20px;
2159     border:0;
2160     background: white;
2161     font-weight: bold;
2162     color:#333;
2163     font-size:12px;
2164     display: inline-block;
2165     height:40px;
2166     border-radius:4px;
2167 }
2168
2169 button:focus,
2170 button:hover {
2171     background-color: #ececec;
2172 }
2173
2174 button[disabled],
2175 button.disabled {
2176     background-color: rgba(255,255,255,.25);
2177     color: rgba(0,0,0,.5);
2178     cursor: auto;
2179 }
2180
2181 button.active {
2182     background: #7092ff;
2183 }
2184
2185 button.minor {
2186     position: absolute;
2187     top: 0;
2188     right: 0;
2189     height: 100%;
2190     width: 10%;
2191     border-radius: 0;
2192     background-color: #fafafa;
2193 }
2194
2195 button.minor .icon {
2196     opacity: .5;
2197 }
2198
2199 button.minor:hover {
2200     background-color: #f1f1f1;
2201 }
2202
2203 .button-wrap {
2204     display: inline-block;
2205     padding-right:10px;
2206     margin: 0;
2207 }
2208
2209 .button-wrap button:only-child {
2210     width: 100%;
2211 }
2212
2213 .button-wrap:last-of-type {
2214     padding-right: 0;
2215 }
2216
2217 .joined button {
2218     border-radius:0;
2219     border-right: 1px solid rgba(0,0,0,.5);
2220 }
2221
2222 .fillL .joined button {
2223     border-right: 1px solid white;
2224 }
2225
2226 .joined button:first-child {
2227     border-radius:4px 0 0 4px;
2228 }
2229
2230 .joined button:last-child {
2231     border-right-width: 0;
2232     border-radius:0 4px 4px 0;
2233 }
2234
2235 button.action {
2236     background: #7092ff;
2237     color: white;
2238 }
2239
2240 button[disabled].action,
2241 button[disabled].action:hover {
2242     background: #cccccc;
2243     color: #888;
2244 }
2245
2246 button.action:focus,
2247 button.action:hover {
2248     background: #597BE7;
2249 }
2250
2251 button.secondary-action {
2252     background: #ececec;
2253 }
2254
2255 button.secondary-action:focus,
2256 button.secondary-action:hover {
2257     background: #cccccc;
2258 }
2259
2260 button.save.has-count {
2261     padding: 9px;
2262 }
2263
2264 button.save .count {
2265     display: none;
2266 }
2267
2268 button.save.has-count .count {
2269     display: block;
2270     position: absolute;
2271     top: 5px;
2272     background: rgba(255, 255, 255, .5);
2273     color: #333;
2274     padding: 10px;
2275     height: 30px;
2276     line-height: 12px;
2277     border-radius: 4px;
2278     margin: auto;
2279     margin-left: 8.3333%;
2280 }
2281
2282 button.save.has-count .count::before {
2283     content: "";
2284     margin: auto;
2285     width: 0;
2286     height: 0;
2287     position: absolute;
2288     left: -6px;
2289     top: 0;
2290     bottom: 0;
2291     border-top:    6px solid transparent;
2292     border-bottom: 6px solid transparent;
2293     border-right:  6px solid rgba(255,255,255,.5);
2294 }
2295
2296 /* Icons */
2297
2298 .icon {
2299     vertical-align: top;
2300     width: 20px;
2301     height: 20px;
2302 }
2303
2304 .icon.inline {
2305     vertical-align: text-top;
2306     width: 14px;
2307     height: 14px;
2308     margin: 0px 3px;
2309 }
2310
2311 .icon.pre-text {
2312     margin-right: 3px;
2313 }
2314
2315 .icon.light {
2316     color: #fff;
2317 }
2318
2319 .icon.created {
2320     color: #00ca07;
2321 }
2322
2323 .icon.modified {
2324     color: #666;
2325 }
2326
2327 .icon.deleted {
2328     color: #ea0000;
2329 }
2330
2331 .user-icon {
2332     max-height: 20px;
2333     max-width: 20px;
2334     height: auto;
2335     width: auto;
2336     border-radius: 3px;
2337 }
2338
2339
2340 /* ToolBar / Persistent UI Elements
2341 ------------------------------------------------------- */
2342
2343 #bar {
2344     position: fixed;
2345     padding: 10px 0;
2346     left:0;
2347     top:0;
2348     right:0;
2349     height:60px;
2350     z-index: 9;
2351     min-width: 768px;
2352 }
2353
2354 /* Header for modals / panes
2355 ------------------------------------------------------- */
2356
2357 .header {
2358     border-bottom: 1px solid #ccc;
2359     height: 60px;
2360     position: relative;
2361 }
2362
2363 .header h3 {
2364     text-align: left;
2365     margin-bottom: 0;
2366     white-space: nowrap;
2367     text-overflow: ellipsis;
2368     overflow: hidden;
2369     padding: 20px 20px 20px 40px;
2370 }
2371
2372 .header button,
2373 .modal > button {
2374     border-radius: 0;
2375     width: 40px;
2376     text-align: center;
2377     overflow: hidden;
2378 }
2379
2380 .header button {
2381     position: relative;
2382     height: 100%;
2383 }
2384
2385 .entity-editor-pane .header button.preset-close,
2386 .preset-list-pane .header button.preset-choose {
2387     position: absolute;
2388     right: 0;
2389     top: 0;
2390 }
2391
2392 .entity-editor-pane .header button.preset-choose {
2393     position: absolute;
2394     left: 0;
2395     top: 0;
2396 }
2397
2398 .preset-choose {
2399     font-size: 16px;
2400     line-height: 1.25;
2401     font-weight: bold;
2402 }
2403
2404 .modal > button {
2405     position: absolute;
2406     right: 0;
2407     top: 0;
2408     height: 59px;
2409     z-index: 50;
2410 }
2411
2412 .footer {
2413     position: absolute;
2414     bottom: 0;
2415     padding: 5px 20px 5px 20px;
2416     border-top: 1px solid #ccc;
2417     background-color: #fafafa;
2418     width: 100%;
2419 }
2420
2421 .sidebar-component .body {
2422     width: 100%;
2423     overflow: auto;
2424     top: 60px;
2425     bottom: 0;
2426     position: absolute;
2427 }
2428
2429 /* Inspector
2430 ------------------------------------------------------- */
2431
2432 #sidebar {
2433     position: relative;
2434     float: left;
2435     height: 100%;
2436     overflow: hidden;
2437     z-index: 10;
2438     background: #f6f6f6;
2439 }
2440
2441 .sidebar-component {
2442     position: absolute;
2443     top: 0;
2444     left: 0;
2445     bottom: 0;
2446     right: 0;
2447 }
2448
2449 .inspector-wrap {
2450     width: 100%;
2451     height: 100%;
2452 }
2453
2454 .inspector-hidden {
2455     display: none;
2456 }
2457
2458 .inspector-body {
2459     overflow-y: scroll;
2460     overflow-x: hidden;
2461     position: absolute;
2462     right: 0;
2463     left: 0;
2464     bottom: 0;
2465 }
2466
2467 .mapillary-image {
2468     position: absolute;
2469     bottom: 30px;
2470     width: 330px;
2471     height: 250px;
2472     padding: 5px;
2473     background-color: #fff;
2474 }
2475
2476 .mapillary-image a {
2477     display: block;
2478     position: absolute;
2479     height: auto;
2480     background-color: rgba(0,0,0,.5);
2481     bottom: 0;
2482     padding: 5px 10px;
2483 }
2484
2485 .mapillary-image img {
2486     width: 100%;
2487     height: auto;
2488     display: block;
2489 }
2490
2491 .mapillary-image.hidden {
2492     visibility: hidden;
2493 }
2494
2495 .mapillary-image.temp button {
2496     display: none;
2497 }
2498
2499 .mapillary-image button {
2500     border-radius: 0;
2501     padding: 5px;
2502     position: absolute;
2503     right: 0;
2504     top: 0;
2505 }
2506
2507 .feature-list-pane .inspector-body {
2508     top: 120px;
2509 }
2510
2511 .preset-list-pane .inspector-body {
2512     top: 120px;
2513 }
2514
2515 .entity-editor-pane .inspector-body {
2516     top: 60px;
2517 }
2518
2519 .selection-list-pane .inspector-body {
2520     top: 60px;
2521 }
2522
2523 .inspector-inner {
2524     padding: 20px;
2525     position: relative;
2526 }
2527
2528 #sidebar .search-header .icon {
2529     display: block;
2530     position: absolute;
2531     left: 10px;
2532     top: 80px;
2533     pointer-events: none;
2534 }
2535
2536 #sidebar .search-header input {
2537     position: absolute;
2538     top: 60px;
2539     height: 60px;
2540     width: 100%;
2541     padding: 5px 10px;
2542     border-radius: 0;
2543     border-width: 0;
2544     border-bottom-width: 1px;
2545     text-indent: 30px;
2546     font-size: 18px;
2547     font-weight: bold;
2548 }
2549
2550 /* Feature list */
2551
2552 .feature-list  {
2553     width:100%;
2554 }
2555
2556 .no-results-item,
2557 .geocode-item,
2558 .feature-list-item {
2559     width: 100%;
2560     position: relative;
2561     border-bottom: 1px solid #ccc;
2562     border-radius: 0;
2563 }
2564
2565 .feature-list-item .label {
2566     text-align: left;
2567     padding: 5px 10px;
2568     white-space: nowrap;
2569     text-overflow: ellipsis;
2570     overflow: hidden;
2571     border-left: 1px solid rgba(0, 0, 0, .1);
2572 }
2573
2574 .feature-list-item .label .icon {
2575     opacity: .5;
2576 }
2577
2578 .feature-list-item:hover .label {
2579     background-color: #ececec;
2580 }
2581
2582 .feature-list-item .entity-type {
2583     color:#7092ff;
2584 }
2585
2586 .feature-list-item:hover .entity-type {
2587     color:#597be7;
2588 }
2589
2590 .feature-list-item .entity-name {
2591     font-weight: normal;
2592     color: #666;
2593     padding-left: 10px;
2594 }
2595
2596 /* Presets
2597 ------------------------------------------------------- */
2598
2599 /* Preset grid  */
2600
2601 .preset-list  {
2602     width:100%;
2603     padding: 20px 20px 10px 20px;
2604     border-bottom: 1px solid #ccc;
2605 }
2606
2607 .preset-list-button-wrap {
2608     position: relative;
2609     margin-bottom: 10px;
2610     height: 60px;
2611 }
2612
2613 .preset-list-button {
2614     width: 100%;
2615     height: 100%;
2616     position: relative;
2617     border: 1px solid #ccc;
2618 }
2619
2620 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
2621     background: #ececec;
2622 }
2623
2624 .preset-icon-fill-area {
2625     cursor: inherit;
2626     height: 40px;
2627     width: 40px;
2628     margin: auto;
2629     position: absolute;
2630     left: 10px;
2631     top: 10px;
2632 }
2633
2634 .preset-icon-frame {
2635     position: absolute;
2636     top: 7px;
2637     left: 7px;
2638     height: 42px;
2639     width: 42px;
2640     margin: auto;
2641 }
2642
2643 .preset-icon-frame .icon {
2644     width: 46px;
2645     height: 46px;
2646 }
2647
2648 .preset-icon-60 {
2649     position: absolute;
2650     top: 0px;
2651     left: 0px;
2652     margin: auto;
2653 }
2654
2655 .preset-icon-60 .icon {
2656     width: 60px;
2657     height: 60px;
2658 }
2659
2660 .preset-icon-44 {
2661     position: absolute;
2662     top: 9px;
2663     left: 8px;
2664     margin: auto;
2665 }
2666
2667 .preset-icon-44 .icon {
2668     width: 44px;
2669     height: 44px;
2670 }
2671
2672 .preset-icon-32 {
2673     position: absolute;
2674     top: 14px;
2675     left: 13px;   /* Maki icons off center? */
2676     margin: auto;
2677 }
2678
2679 .preset-icon-32 .icon {
2680     width: 32px;
2681     height: 32px;
2682 }
2683
2684 .preset-list-button .label {
2685     background-color: #f6f6f6;
2686     text-align: left;
2687     position: absolute;
2688     top: 0;
2689     bottom: 0;
2690     right: 0;
2691     padding: 5px 10px;
2692     left: 60px;
2693     line-height: 50px;
2694     white-space: nowrap;
2695     text-overflow: ellipsis;
2696     overflow: hidden;
2697     border-left: 1px solid rgba(0, 0, 0, .1);
2698     border-radius: 0 3px 3px 0;
2699     }
2700
2701 .preset-list-button:hover .label {
2702     background-color: #ececec;
2703 }
2704
2705 .preset-list-item button.tag-reference-button {
2706     height: 100%;
2707     border: 1px solid #CCC;
2708     border-radius: 0 3px 3px 0;
2709     position: absolute;
2710     top: 0;
2711     right: 0;
2712     width: 10%;
2713     background: #fafafa;
2714 }
2715
2716 .preset-list-item button.tag-reference-button:hover {
2717     background: #f1f1f1;
2718 }
2719
2720 .preset-list-item button.tag-reference-button .icon {
2721     opacity: .5;
2722 }
2723
2724 .current .preset-list-button,
2725 .current .preset-list-button .label {
2726     background-color: #E8EBFF;
2727 }
2728
2729 .category .preset-list-button:after,
2730 .category .preset-list-button:before {
2731     content: "";
2732     position: absolute;
2733     top: -5px;
2734     left: -1px; right: -1px;
2735     border: 1px solid #ccc;
2736     border-bottom: none;
2737     border-radius: 6px 6px 0 0;
2738     height: 6px;
2739 }
2740
2741 .category .preset-list-button:before {
2742     top: -3px;
2743 }
2744
2745 .subgrid .preset-list {
2746     padding: 10px 10px 0 10px;
2747     margin-top: 0;
2748     border: 0;
2749     border-radius: 8px;
2750     width: -webkit-calc(100% + 20px);
2751     margin-left: -10px;
2752 }
2753
2754 .subgrid .arrow {
2755     border: solid rgba(0, 0, 0, 0);
2756     border-width: 10px;
2757     border-bottom-color: #f1f1f1;
2758     width: 0;
2759     height: 0;
2760     margin-left: 50%;
2761     margin-left: -webkit-calc(50% - 10px);
2762     margin-top: -10px;
2763 }
2764
2765
2766 /* preset form basics */
2767
2768 .inspector-preset {
2769     overflow: hidden;
2770     padding-bottom: 10px;
2771 }
2772
2773 .inspector-preset a.hide-toggle {
2774     margin: 0 20px 10px 20px;
2775 }
2776
2777 .inspector-preset .preset-form {
2778     padding: 10px;
2779     margin: 0 10px 10px 10px;
2780     border-radius: 8px;
2781 }
2782
2783 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
2784     margin-bottom: 0;
2785 }
2786
2787 .form-field {
2788     margin-bottom: 10px;
2789     width: 100%;
2790     -webkit-transition: margin-bottom 200ms;
2791        -moz-transition: margin-bottom 200ms;
2792          -o-transition: margin-bottom 200ms;
2793             transition: margin-bottom 200ms;
2794 }
2795
2796 .form-field:last-child {
2797     margin-bottom: 0;
2798 }
2799
2800 .form-label {
2801     position: relative;
2802     font-weight: bold;
2803     border: 1px solid #cfcfcf;
2804     padding: 5px 0 5px 10px;
2805     background: #f6f6f6;
2806     display: block;
2807     border-radius: 4px 4px 0 0;
2808     overflow: hidden;
2809 }
2810
2811 .form-label-button-wrap {
2812     position: absolute;
2813     top: 0;
2814     right: 0;
2815     height: 100%;
2816     width: 100%;
2817     background: transparent;
2818     text-align: right;
2819 }
2820
2821 .form-label-button-wrap .tag-reference-button {
2822     border-radius: 0 3px 0 0;
2823 }
2824
2825 .form-label-button-wrap .icon {
2826     opacity: .5;
2827 }
2828
2829 .form-label button {
2830     border-left: 1px solid #CCC;
2831     width: 10%;
2832     height: 100%;
2833     border-radius: 0;
2834     background: #f6f6f6;
2835 }
2836 .form-label button:hover {
2837     background: #f1f1f1;
2838 }
2839
2840 .form-label .modified-icon,
2841 .form-field .remove-icon {
2842     display: none;
2843 }
2844
2845 .modified .form-label .modified-icon,
2846 .present .form-label .remove-icon {
2847     display: inline-block;
2848 }
2849
2850 .form-field > input,
2851 .form-field > textarea,
2852 .form-field .preset-input-wrap {
2853     border: 1px solid #CCC;
2854     min-height: 30px;
2855     border-top: 0;
2856     border-radius: 0 0 4px 4px;
2857     overflow: hidden;
2858 }
2859
2860 .form-field textarea {
2861     height: 65px;
2862 }
2863
2864 .inspector-border {
2865     border-bottom: 1px solid #CCC
2866 }
2867
2868 /* Preset form (hover mode) */
2869
2870 .inspector-hover .checkselect label:last-of-type,
2871 .inspector-hover .preset-input-wrap .label,
2872 .inspector-hover input,
2873 .inspector-hover label {
2874     background: #ececec;
2875 }
2876
2877 .inspector-hover a,
2878 .inspector-hover .checkselect label:last-of-type {
2879     color: #666;
2880 }
2881
2882 /* hide and remove from layout */
2883 .inspector-hidden,
2884 .inspector-hover label input[type="checkbox"],
2885 .inspector-hover label input[type="radio"],
2886 .inspector-hover .toggle-list label,
2887 .inspector-hover .toggle-list label span,
2888 .inspector-hover .inspector-inner .add-tag,
2889 .inspector-hover .inspector-inner .add-relation,
2890 .inspector-hover .toggle-list label.remove .icon {
2891     height: 0;
2892     width: 0;
2893     overflow: hidden;
2894     opacity: 0 !important;
2895     border-width: 0;
2896     margin: 0;
2897     padding: 0;
2898 }
2899
2900 /* hide but preserve in layout */
2901 .inspector-hover .entity-editor-pane button.minor,
2902 .inspector-hover .combobox-caret,
2903 .inspector-hover .entity-editor-pane .header button,
2904 .inspector-hover .spin-control,
2905 .inspector-hover .hide-toggle:before,
2906 .inspector-hover .more-fields,
2907 .inspector-hover .form-label-button-wrap,
2908 .inspector-hover .tag-reference-button,
2909 .inspector-hover .view-on-osm {
2910     opacity: 0;
2911 }
2912
2913 /* Styles for raw tag inspector on hover */
2914 .inspector-hover .tag-row .key-wrap,
2915 .inspector-hover .tag-row .form-field.input-wrap-position {
2916     width: 50%;
2917 }
2918
2919 .inspector-hover .tag-row:first-child input.value {
2920     border-top-right-radius: 4px;
2921 }
2922
2923 .inspector-hover .tag-row:last-child input.value {
2924     border-bottom-right-radius: 4px;
2925 }
2926
2927 .inspector-hover .tag-row:last-child input.key {
2928     border-bottom-left-radius: 4px;
2929 }
2930
2931 .inspector-hover .more-fields {
2932     max-height: 0;
2933     margin-bottom: -10px;
2934 }
2935
2936 /* Unstyle button fields */
2937 .inspector-hover .toggle-list label.active,
2938 .inspector-hover .entity-editor-pane a.hide-toggle {
2939     opacity: 1;
2940     background-color: transparent;
2941     color: #666;
2942     padding-left: 0;
2943     border-width: 0;
2944 }
2945
2946 .inspector-hover .toggle-list button.active {
2947     padding-left: 10px;
2948 }
2949
2950 /* Add placeholder only on hover for radio buttons */
2951 .inspector-hover .toggle-list .placeholder {
2952     color: #a9a9a9;
2953     padding: 5px 10px;
2954     opacity: 1;
2955     line-height: 20px;
2956     width: 100%;
2957 }
2958
2959 /* Hide placeholder for radio buttons if another is active, or not in hover state */
2960 .toggle-list label.active ~ .placeholder,
2961 .toggle-list .placeholder {
2962     padding: 0;
2963     opacity: 0;
2964     width: 0;
2965     line-height: 0;
2966     display: block;
2967     overflow: hidden;
2968 }
2969
2970 /* adding additional preset fields */
2971
2972 .more-fields {
2973     padding: 0 20px 20px 20px;
2974     font-weight: bold;
2975 }
2976
2977 .more-fields label { padding: 5px 10px 5px 0; }
2978 .more-fields input { width: 50%;}
2979
2980 /* preset form access */
2981
2982 .preset-input-wrap .label {
2983     height: 30px;
2984     background: #F6F6F6;
2985     padding: 5px 10px;
2986 }
2987
2988 .form-field-access .preset-input-wrap li {
2989     border-bottom: 1px solid #CCC;
2990 }
2991 .form-field-access .preset-input-wrap li:last-child {
2992     border-bottom: 0;
2993 }
2994
2995 .preset-input-access-wrap input {
2996     border-radius: 0;
2997     border-width: 0;
2998     border-left-width: 1px;
2999 }
3000
3001 .preset-input-wrap li:last-child input {
3002     border-bottom-right-radius: 4px;
3003 }
3004
3005 /* preset form cycleway */
3006
3007 .form-field-cycleway .preset-input-wrap li {
3008     border-bottom: 1px solid #CCC;
3009 }
3010 .form-field-cycleway .preset-input-wrap li:last-child {
3011     border-bottom: 0;
3012 }
3013
3014 .preset-input-cycleway-wrap input {
3015     border-radius: 0;
3016     border-width: 0;
3017     border-left-width: 1px;
3018 }
3019
3020 /* preset form numbers */
3021
3022 input[type=number] {
3023     position: relative;
3024     padding-right: 20%;
3025 }
3026
3027 .spin-control {
3028     width: 20%;
3029     height: 29px;
3030     display: inline-block;
3031     margin-left: -20%;
3032     margin-bottom: -11px;
3033     position: relative;
3034 }
3035
3036 .spin-control button {
3037     right: 1px;
3038     position: relative;
3039     float: left;
3040     height: 100%;
3041     width: 50%;
3042     border-left: 1px solid #CCC;
3043     border-radius: 0;
3044     background: rgba(0, 0, 0, 0);
3045 }
3046
3047 .spin-control button.decrement {
3048     border-bottom-right-radius: 3px;
3049 }
3050
3051 .spin-control button.decrement::after,
3052 .spin-control button.increment::after {
3053     content:"";
3054     height: 0; width: 0;
3055     position: absolute;
3056     left: 0; right: 0; bottom: 0; top: 0;
3057     margin: auto;
3058 }
3059
3060 .spin-control button.decrement::after {
3061     border-top: 5px solid #CCC;
3062     border-left: 5px solid transparent;
3063     border-right: 5px solid transparent;
3064 }
3065
3066 .spin-control button.increment::after {
3067     border-bottom: 5px solid #CCC;
3068     border-left: 5px solid transparent;
3069     border-right: 5px solid transparent;
3070 }
3071
3072 /* preset form checkbox */
3073
3074 .checkselect label:last-of-type {
3075     display: block;
3076     background: white;
3077     padding: 5px 10px;
3078     color: #7092FF;
3079 }
3080
3081 .checkselect label:hover {
3082     background: #f1f1f1;
3083 }
3084
3085 .checkselect .set {
3086     color: inherit;
3087 }
3088
3089 .checkselect label:not(.set) input[type="checkbox"] {
3090     opacity: .5;
3091 }
3092
3093 /* Preset form radio button */
3094
3095 .toggle-list button.remove {
3096     border-radius: 0 0 3px 3px;
3097 }
3098
3099 .toggle-list button.remove .icon {
3100     position: absolute;
3101     left: 5px;
3102 }
3103
3104 .toggle-list button.remove::before {
3105     content: none;
3106 }
3107
3108 .form-field .wiki-lang {
3109     border-radius: 0;
3110 }
3111
3112 .form-field .wiki-title {
3113     padding-right: 10%;
3114 }
3115
3116 .form-field .wiki-title ~ .combobox-caret {
3117     margin-left: -18%;
3118     margin-right: 9%;
3119 }
3120
3121 .form-field .wiki-link {
3122     float: right;
3123     background: #fafafa;
3124     padding: 5px;
3125     text-align: center;
3126 }
3127
3128 .form-field .wiki-link:hover {
3129     background: #f1f1f1;
3130 }
3131
3132 #preset-input-maxspeed {
3133     border-right: none;
3134     border-radius: 0 0 0 4px;
3135     width: 80%;
3136 }
3137
3138 .form-field .maxspeed-unit {
3139     border-radius: 0 0 4px 0;
3140     width: 20%;
3141 }
3142
3143 /* Name + translate form */
3144
3145 .form-field .localized-main {
3146     padding-right: 10%;
3147 }
3148
3149 .form-field .button-input-action {
3150     position: relative;
3151     right: 1px;
3152     width: 10%;
3153     margin-left: -10%;
3154     border: 1px solid #CCC;
3155     border-top-width: 0;
3156     border-right-width: 0;
3157     border-radius: 0 0 4px 0;
3158     height: 30px;
3159     vertical-align: top;
3160 }
3161
3162 .form-field .localized-wrap {
3163     padding: 0 10px;
3164 }
3165
3166 .form-field .localized-wrap .entry {
3167     position: relative;
3168     overflow: hidden;
3169 }
3170
3171 .form-field .localized-wrap .entry::before {
3172     content: "";
3173     display: block;
3174     position: absolute;
3175     background:#ccc;
3176     height: 11px;
3177     width: 1px;
3178     left: 0;
3179     right: 0;
3180     top: -11px;
3181     margin: auto;
3182 }
3183
3184 .form-field .localized-wrap .entry .localized-lang {
3185     border-radius: 0;
3186     border-top-width: 0;
3187 }
3188
3189 .form-field .localized-wrap .entry .localized-value {
3190     border-top-width: 0;
3191     border-radius: 0 0 4px 4px;
3192 }
3193
3194 .form-field .localized-wrap .form-label button {
3195     border-top-right-radius: 3px;
3196 }
3197
3198 /* Preset form address */
3199
3200 .addr-row input {
3201     border-right: 0;
3202     border-bottom: 0;
3203 }
3204
3205 .addr-row:first-of-type input {
3206     border-top: 0;
3207 }
3208
3209 .addr-row input:first-of-type {
3210     border-left: 0;
3211 }
3212
3213 .addr-row input {
3214     border-radius: 0;
3215 }
3216
3217 .addr-row:last-of-type input:first-of-type {
3218     border-radius: 0 0 0 4px;
3219 }
3220
3221 .addr-row:last-of-type input:last-of-type {
3222     border-radius: 0 0 4px 0;
3223 }
3224
3225 /* Restrictions editor */
3226
3227 .form-field-restrictions .preset-input-wrap {
3228     position: relative;
3229     height: 300px;
3230 }
3231
3232 .form-field-restrictions svg {
3233     width: 100%;
3234     height: 100%;
3235 }
3236
3237 .form-field-restrictions .restriction-help {
3238     z-index: 1;
3239     position: absolute;
3240     top: 0;
3241     left: 0;
3242     right: 0;
3243     padding: 2px 6px;
3244     background-color: rgba(255, 255, 255, .8);
3245     color: #999;
3246     text-align: center;
3247 }
3248
3249 /* combobox dropdown */
3250
3251 div.combobox {
3252     z-index: 9999;
3253     display: none;
3254     box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
3255     margin-top: -1px;
3256     background: white;
3257     max-height: 120px;
3258     overflow-y: auto;
3259     overflow-x: hidden;
3260     border: 1px solid #ccc;
3261     border-radius: 0 0 4px 4px;
3262 }
3263
3264 .combobox a {
3265     display: block;
3266     padding: 5px 10px;
3267     border-top:1px solid #ccc;
3268     text-overflow: ellipsis;
3269     white-space: nowrap;
3270     overflow: hidden;
3271 }
3272
3273 .combobox a.selected,
3274 .combobox a:hover {
3275     background: #ececec;
3276 }
3277
3278 .combobox a:first-child {
3279     border-top: 0;
3280 }
3281
3282 .combobox-caret {
3283     display: inline-block;
3284     position: relative;
3285     height: 30px;
3286     width: 30px;
3287     margin-left: -30px;
3288     vertical-align: top;
3289 }
3290
3291 .combobox-caret::after {
3292     content:"";
3293     height: 0; width: 0;
3294     position: absolute;
3295     left: 0; right: 0; bottom: 0; top: 0;
3296     margin: auto;
3297     border-top: 5px solid #ccc;
3298     border-left: 5px solid transparent;
3299     border-right: 5px solid transparent;
3300 }
3301
3302 /* Raw Tag Editor */
3303
3304 .tag-list {
3305     padding-top: 10px;
3306 }
3307
3308 .tag-row {
3309     width: 100%;
3310     position: relative;
3311     clear: both;
3312 }
3313
3314 .tag-row input {
3315     height: 31px;
3316     border: 0;
3317     border-radius: 0;
3318     border-bottom: 1px solid #CCC;
3319     border-left: 1px solid #CCC;
3320 }
3321
3322 .tag-row .key-wrap,
3323 .tag-row .input-wrap-position {
3324     width: 40%;
3325     float: left;
3326     height: 30px;
3327 }
3328
3329 .tag-row input.key {
3330     font-weight: bold;
3331     background-color: #f6f6f6;
3332 }
3333
3334 .tag-row input.value {
3335     border-right: 1px solid #CCC;
3336 }
3337
3338 .tag-row:first-child input.key {
3339     border-top: 1px solid #CCC;
3340     border-top-left-radius: 4px;
3341 }
3342
3343 .tag-row:first-child input.value {
3344     border-top: 1px solid #CCC;
3345 }
3346
3347 .tag-row button {
3348     position: absolute;
3349     height: 31px;
3350     right: 10%;
3351     border: 1px solid #CCC;
3352     border-top-width: 0;
3353     border-left-width: 0;
3354 }
3355
3356 .tag-row button:hover {
3357     background: #f1f1f1;
3358 }
3359
3360 .tag-row button .icon {
3361     opacity: .5;
3362 }
3363
3364 .tag-row:first-child button {
3365     border-top-width: 1px;
3366 }
3367
3368 .tag-row:first-child .tag-reference-button {
3369     border-top-right-radius: 4px;
3370 }
3371
3372 .tag-row:last-child .tag-reference-button {
3373     border-bottom-right-radius: 4px;
3374 }
3375
3376 .tag-row .tag-reference-button {
3377     right: 0;
3378     border-radius: 0;
3379     width: 10%;
3380     top: 0;
3381     background: #fafafa;
3382 }
3383
3384 /* Adding form fields to tag editor */
3385
3386 .inspector-inner .add-tag {
3387     width: 40%;
3388     height: 30px;
3389     border-top: 0;
3390     background: rgba(0,0,0,.5);
3391     border-radius: 0 0 4px 4px;
3392 }
3393
3394 .inspector-inner .add-tag:hover {
3395     background: rgba(0,0,0,.8);
3396 }
3397
3398 .inspector-inner .add-tag .label {
3399     display: none;
3400 }
3401
3402 /* Tag reference */
3403
3404 button.minor.tag-reference-loading {
3405     background-color: #f5f5f5;
3406 }
3407
3408 .tag-reference-loading .icon {
3409     background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
3410     background-position: 0 0;
3411 }
3412
3413 .tag-reference-body {
3414     overflow: hidden;
3415     clear: both;
3416 }
3417
3418 .tag-reference-body p,
3419 .tag-reference-body img {
3420     margin-top: 20px;
3421 }
3422
3423 .tag-reference-body p:last-child {
3424     padding-bottom: 10px;
3425 }
3426
3427 .tag-reference-body a {
3428     display: block;
3429     padding-bottom: 10px;
3430 }
3431
3432 .preset-list .tag-reference-body {
3433     position: relative;
3434     width: 100%;
3435 }
3436
3437 .preset-list .tag-reference-body a {
3438     padding-bottom: 20px;
3439 }
3440
3441 .preset-list .tag-reference-body p,
3442 .preset-list .tag-reference-body img {
3443     margin-top: 10px;
3444 }
3445
3446 .raw-tag-editor .tag-reference-body {
3447     border-bottom: 1px solid #ccc;
3448     float: left;
3449     width: 100%;
3450 }
3451
3452 .raw-tag-editor .tag-reference-body p:last-child {
3453     padding-bottom: 20px;
3454 }
3455
3456 .raw-tag-editor .tag-reference-body a {
3457     padding-bottom: 20px;
3458 }
3459
3460 img.wiki-image {
3461     float: right;
3462     width: 33.3333%;
3463     width: -webkit-calc(33.3333% - 10px);
3464     width: calc(33.3333% - 10px);
3465     margin-left: 20px;
3466     margin-right: 10px;
3467     border-radius: 4px;
3468     max-height: 200px;
3469     margin-bottom: 20px;
3470 }
3471
3472 /* Raw relation membership editor */
3473
3474 .raw-member-editor .member-list li:first-child,
3475 .raw-membership-editor .member-list li:first-child {
3476     padding-top: 10px;
3477 }
3478
3479 .raw-member-editor .member-row,
3480 .raw-membership-editor .member-row {
3481     position: relative;
3482 }
3483
3484 .raw-member-editor .member-row .member-entity-name,
3485 .raw-membership-editor .member-row .member-entity-name {
3486     font-weight: normal;
3487     padding-left: 10px;
3488 }
3489
3490 .member-incomplete .member-delete {
3491     display: none;
3492 }
3493
3494 .member-row-new .member-entity-input {
3495     border-radius: 4px 4px 0 0;
3496     border: 1px solid #cfcfcf;
3497 }
3498
3499 .add-relation {
3500     width: 40%;
3501     height: 30px;
3502     background: rgba(0,0,0,.5);
3503     border-radius: 4px;
3504     margin-top: 10px;
3505 }
3506
3507 .add-relation:hover {
3508     background: rgba(0,0,0,.8);
3509 }
3510
3511 /* Fullscreen button */
3512 div.full-screen {
3513     float: right;
3514     width: 40px;
3515     margin-right: 10px;
3516 }
3517
3518 div.full-screen .tooltip {
3519     min-width: 160px;
3520 }
3521
3522 div.full-screen > button, div.full-screen > button.active {
3523     width: 40px;
3524     height: 40px;
3525     background: transparent;
3526 }
3527
3528 div.full-screen > button:hover {
3529     background-color: rgba(0, 0, 0, .8);
3530 }
3531
3532 /* Map Controls */
3533
3534 .map-controls {
3535     right: 0;
3536     top: 70px;
3537     width: 40px;
3538     position: fixed;
3539     z-index: 100;
3540 }
3541
3542 .map-control > button {
3543     width: 40px;
3544     background: rgba(0,0,0,.5);
3545     border-radius: 0;
3546 }
3547
3548 .map-control > button:hover {
3549     background: rgba(0, 0, 0, .8);
3550 }
3551
3552 .map-control > button.active,
3553 .map-control > button.active:hover {
3554     background: #7092ff;
3555 }
3556
3557 /* Zoomer */
3558
3559 .zoombuttons button.zoom-in {
3560     border-radius: 4px 0 0 0;
3561 }
3562
3563 /* Background / Map Data Settings */
3564
3565
3566 .map-data-control button {
3567     border-radius: 0;
3568 }
3569
3570 .background-control button {
3571     border-radius: 4px 0 0 0;
3572 }
3573
3574 .map-data-control,
3575 .background-control {
3576     position: relative;
3577 }
3578
3579 .nudge-container {
3580     border: 1px solid #CCC;
3581 }
3582
3583 .imagery-faq {
3584   margin-bottom: 10px;
3585 }
3586
3587 .background-control .adjustments button:last-child {
3588     border: 0;
3589 }
3590
3591 .map-data-control .hide-toggle,
3592 .background-control .hide-toggle {
3593     padding-bottom: 10px;
3594 }
3595
3596 .layer-list, .controls-list {
3597     margin-bottom: 10px;
3598     border: 1px solid #CCC;
3599     border-radius: 4px;
3600 }
3601
3602 .layer-list li {
3603     position: relative;
3604     height: 30px;
3605     background-color: white;
3606     color: #7092FF;
3607 }
3608
3609 .layer-list:empty {
3610     display: none;
3611 }
3612
3613 .layer-list > li:first-child {
3614     border-radius: 3px 3px 0 0;
3615 }
3616
3617 .layer-list > li:last-child {
3618     border-radius: 0 0 3px 3px;
3619 }
3620
3621 .layer-list > li:only-child {
3622     border-radius: 3px;
3623 }
3624
3625 .layer-list li:not(:last-child) {
3626     border-bottom: 1px solid #ccc;
3627 }
3628
3629 .layer-list li:hover {
3630     background-color: #ececec;
3631 }
3632
3633 .layer-list li.active {
3634     background: #E8EBFF;
3635 }
3636
3637 .layer-list li.best > div.best {
3638     display: inline-block;
3639     padding: 5px;
3640     float: right;
3641 }
3642
3643 /* make sure tooltip fits in map-control panel */
3644 /* if too wide, placement will be wrong the first time it displays */
3645 .layer-list li.best .tooltip-inner {
3646     max-width: 160px;
3647 }
3648
3649 .layer-list label {
3650     display: block;
3651     padding: 5px 10px;
3652     cursor: pointer;
3653 }
3654
3655 .layer-list label > span {
3656     display: block;
3657     overflow: hidden;
3658     white-space: nowrap;
3659     text-overflow: ellipsis;
3660 }
3661
3662 .minimap-toggle {
3663     display: block;
3664     padding: 5px 10px;
3665     cursor: pointer;
3666     color: #7092FF;
3667     border-radius: 3px;
3668 }
3669
3670 .minimap-toggle.active {
3671     background: #E8EBFF;
3672 }
3673
3674 .minimap-toggle:hover {
3675     background-color: #ececec;
3676 }
3677
3678 .hide-toggle {
3679     display: block;
3680     padding-left:12px;
3681     position: relative;
3682 }
3683
3684 .hide-toggle:before {
3685     content: '';
3686     display: block;
3687     position: absolute;
3688     height: 0;
3689     width: 0;
3690     left: 0;
3691     top: 5px;
3692     border-top:  4px solid transparent;
3693     border-bottom:  4px solid transparent;
3694     border-left:  8px solid #7092ff;
3695 }
3696
3697 .hide-toggle.expanded:before {
3698     border-top:  8px solid #7092ff;
3699     border-bottom: 0;
3700     border-right:  4px solid transparent;
3701     border-left:  4px solid transparent;
3702 }
3703
3704 .background-control .nudge-container button {
3705     float: left;
3706     display: block;
3707     width:20%;
3708     border-right: 1px solid #CCC;
3709     position: relative;
3710 }
3711
3712 .background-control .nudge::after {
3713     content: '';
3714     display: block;
3715     position: absolute;
3716     margin: auto;
3717     left: 0; right: 0; top: 0; bottom: 0;
3718     height: 0;
3719     width: 0;
3720 }
3721
3722 .background-control .nudge.left::after {
3723     border-top:  5px solid transparent;
3724     border-bottom:  5px solid transparent;
3725     border-left:  5px solid #222;
3726 }
3727
3728 .background-control .nudge.right::after {
3729     border-top:  5px solid transparent;
3730     border-bottom:  5px solid transparent;
3731     border-right:  5px solid #222;
3732 }
3733
3734 .background-control .nudge.top::after {
3735     border-right:  5px solid transparent;
3736     border-left:  5px solid transparent;
3737     border-bottom:  5px solid #222;
3738 }
3739
3740 .background-control .nudge.bottom::after {
3741     border-right:  5px solid transparent;
3742     border-left:  5px solid transparent;
3743     border-top:  5px solid #222;
3744 }
3745
3746 .opacity-options {
3747     background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
3748     height:20px;
3749     width:82px;
3750     position: absolute;
3751     right: 50px;
3752     top: 20px;
3753     border: 1px solid #ccc;
3754 }
3755
3756 .opacity-options li {
3757     height: 100%;
3758     display: block;
3759     float: left;
3760 }
3761
3762 .opacity-options li .select-box{
3763     position: absolute;
3764     width:20px;
3765     height:18px;
3766     z-index: 9999;
3767 }
3768
3769 .map-data-control li:hover .select-box,
3770 .map-data-control li.selected .select-box,
3771 .background-control li:hover .select-box,
3772 .background-control li.selected .select-box {
3773     border: 2px solid #7092ff;
3774     background: rgba(89, 123, 231, .5);
3775     opacity: .5;
3776 }
3777
3778 .map-data-control li.selected:hover .select-box,
3779 .map-data-control li.selected .select-box,
3780 .background-control li.selected:hover .select-box,
3781 .background-control li.selected .select-box {
3782     opacity: 1;
3783 }
3784
3785 .background-control .opacity {
3786     background:#222;
3787     display:inline-block;
3788     width:20px;
3789     height:18px;
3790 }
3791
3792 .map-data-control .layer-list button,
3793 .background-control .layer-list button {
3794     float: right;
3795     height: 100%;
3796     width: 10%;
3797     border-left: 1px solid #CCC;
3798     border-radius: 0;
3799 }
3800
3801 .map-data-control .layer-list button .icon,
3802 .background-control .layer-list button .icon {
3803     opacity: 0.5;
3804 }
3805
3806 .map-data-control .layer-list button:first-of-type,
3807 .background-control .layer-list button:first-of-type {
3808     border-radius: 0 3px 3px 0;
3809 }
3810
3811 .map-data-control .map-overlay,
3812 .background-control .map-overlay,
3813 .help-control .map-overlay {
3814     z-index: -1;
3815 }
3816
3817
3818 /* Geolocator */
3819
3820 .geolocate-control {
3821     margin-bottom: 10px;
3822 }
3823
3824 .geolocate-control button {
3825     border-radius: 0 0 0 4px;
3826 }
3827
3828 .map-overlay.content {
3829     position: fixed;
3830     top:60px;
3831     bottom: 30px;
3832     padding: 20px 50px 20px 20px;
3833     right: 0;
3834     overflow: auto;
3835 }
3836
3837 /* Help */
3838
3839 .help-control button {
3840     border-radius: 0 0 0 4px;
3841 }
3842
3843 .help-wrap p {
3844     font-size: 15px;
3845     margin-bottom: 20px;
3846 }
3847
3848 .help-wrap .left-content .body p code {
3849     padding:2px 4px;
3850     background:#eee;
3851 }
3852
3853 .help-wrap .toc {
3854     /* This is two columns, 41.66666 x .4 = 16.6666 */
3855     width:40%;
3856     float:right;
3857     margin-left: 20px;
3858     margin-bottom: 20px;
3859     padding-left: 5px
3860 }
3861
3862 .help-wrap .toc li a,
3863 .help-wrap .nav a {
3864     display: block;
3865     border: 1px solid #CCC;
3866     padding: 5px 10px;
3867 }
3868
3869 .help-wrap .toc li a {
3870     border-bottom: 0;
3871 }
3872
3873 .help-wrap .toc li a:hover,
3874 .help-wrap .nav a:hover  {
3875     background: #ececec;
3876 }
3877
3878 .help-wrap .toc li a.selected {
3879     background: #E8EBFF;
3880 }
3881
3882 .help-wrap .toc li:first-child a {
3883     border-radius: 4px 4px 0 0;
3884 }
3885
3886 .help-wrap .toc li:nth-last-child(2) a {
3887     border-bottom: 1px solid #CCC;
3888     border-radius: 0 0 4px 4px
3889 }
3890
3891 .help-wrap .toc li.walkthrough a {
3892     overflow: hidden;
3893     margin-top: 10px;
3894     border-bottom: 1px solid #ccc;
3895     border-radius: 4px;
3896 }
3897
3898 .help-wrap .nav {
3899     position: relative;
3900 }
3901
3902 .help-wrap .nav a {
3903     float: left;
3904     width: 50%;
3905     text-align: center;
3906 }
3907
3908 .help-wrap .nav a:first-child {
3909     border-radius: 4px 0 0 4px;
3910 }
3911
3912 .help-wrap .nav a:last-child:not(:only-child) {
3913     border-radius: 0 4px 4px 0;
3914     border-left: 0;
3915 }
3916
3917 .help-wrap .nav a:only-child {
3918     width: 100%;
3919     border-radius: 4px;
3920 }
3921
3922 /* Map
3923 ------------------------------------------------------- */
3924
3925 #map {
3926     position:relative;
3927     overflow:hidden;
3928     height:100%;
3929     background:#000;
3930 }
3931
3932 #supersurface {
3933     transform-origin:0 0;
3934     -ms-transform-origin:0 0;
3935     -webkit-transform-origin:0 0;
3936     -moz-transform-origin:0 0;
3937     -o-transform-origin:0 0;
3938     -moz-user-select: none;
3939     -webkit-user-select: none;
3940     -ms-user-select: none;
3941     user-select: none;
3942 }
3943
3944 #supersurface, .layer {
3945     position: absolute;
3946     top: 0;
3947     left: 0;
3948     right: 0;
3949     bottom: 0;
3950 }
3951
3952 /* Map-In-Map
3953 ------------------------------------------------------- */
3954
3955 .map-in-map {
3956     position: absolute;
3957     overflow: hidden;
3958     top: 60px;
3959     width: 200px;
3960     height: 150px;
3961     z-index: 5;
3962     background: #000;
3963     border: #aaa 1px solid;
3964     box-shadow: 0 0 2em black;
3965 }
3966
3967 .map-in-map-tiles {
3968     transform-origin:0 0;
3969     -ms-transform-origin:0 0;
3970     -webkit-transform-origin:0 0;
3971     -moz-transform-origin:0 0;
3972     -o-transform-origin:0 0;
3973     -moz-user-select: none;
3974     -webkit-user-select: none;
3975     -ms-user-select: none;
3976     user-select: none;
3977 }
3978
3979 .map-in-map-svg,
3980 .map-in-map-gpx {
3981     top: 0;
3982     left: 0;
3983     overflow: hidden;
3984     height: 100%;
3985     width: 100%;
3986 }
3987
3988 .map-in-map-svg {
3989     position: absolute;
3990 }
3991
3992 .map-in-map-gpx {
3993     position: relative;
3994     z-index: 10;
3995 }
3996
3997 .map-in-map-bbox {
3998     fill: none;
3999     stroke: rgba(255, 255, 0, 0.75);
4000     stroke-width: 1;
4001     shape-rendering: crispEdges;
4002 }
4003
4004 .map-in-map-bbox.thick {
4005     stroke-width: 5;
4006 }
4007
4008 /* Info Box
4009 ------------------------------------------------------- */
4010 .infobox {
4011     position: absolute;
4012     z-index: 1;
4013     right: 0;
4014     bottom: 30px;
4015     width: 240px;
4016     border-radius: 4px 0 0 0;
4017     border-bottom: 1px solid black;
4018 }
4019
4020 .infobox .infobox-heading {
4021     display: block;
4022     border-radius: 4px 0 0 0;
4023     padding: 5px 10px;
4024     height: 30px;
4025 }
4026
4027 .infobox ul {
4028     padding: 5px 10px;
4029 }
4030
4031 .infobox .button {
4032     position: absolute;
4033     background: #7092ff;
4034     border-radius: 2px;
4035     padding: 0 4px;
4036     color: white;
4037     top: 40px;
4038     right: 10px;
4039 }
4040
4041 /* About Section
4042 ------------------------------------------------------- */
4043
4044 #about {
4045     width: 100%;
4046     position: absolute;
4047     right:0;
4048     bottom:0;
4049     border-radius: 0;
4050     pointer-events: none;
4051 }
4052
4053 #attrib {
4054     width: 100%;
4055     height: 20px;
4056     margin-bottom: 5px;
4057     float: left;
4058     clear: both;
4059 }
4060
4061 #attrib * { pointer-events: all; }
4062
4063 .base-layer-attribution,
4064 .overlay-layer-attribution {
4065     position: absolute;
4066     color: #888;
4067     font-size: 10px;
4068 }
4069
4070 .base-layer-attribution {
4071     left: 10px;
4072 }
4073
4074 .overlay-layer-attribution {
4075     right: 10px;
4076 }
4077
4078 .overlay-layer-attribution .attribution:not(:last-child):after {
4079     content: '; ';
4080 }
4081
4082 .source-image {
4083     height:20px;
4084     vertical-align:top;
4085 }
4086
4087 #footer {
4088     width: 100%;
4089     float: left;
4090     clear: both;
4091     pointer-events: all;
4092 }
4093
4094 #scale-block {
4095     display: table-cell;
4096     vertical-align: bottom;
4097     width: 250px;
4098     max-height: 30px;
4099     float: left;
4100     clear: left;
4101 }
4102
4103 #info-block {
4104     max-height: 30px;
4105     clear: right;
4106 }
4107
4108 #scale {
4109     height: 30px;
4110     width: 100%;
4111 }
4112
4113 #scale text {
4114     font: 12px sans-serif;
4115     stroke: none;
4116     fill: #ccc;
4117     text-anchor: start;
4118 }
4119
4120 #scale path {
4121     fill: none;
4122     stroke: #ccc;
4123     stroke-width: 1;
4124     shape-rendering: crispEdges;
4125 }
4126
4127 #about-list {
4128     text-align: right;
4129     margin-right: 10px;
4130     clear: right;
4131     overflow: hidden;
4132 }
4133
4134 #about-list li {
4135     float: right;
4136     border-left: 1px solid rgba(255,255,255,.5);
4137     padding: 5px 0 5px 5px;
4138     margin-left: 5px;
4139 }
4140
4141 #about-list li:last-child {
4142     border-left: 0;
4143     margin-left: 0;
4144     padding-left: 0;
4145 }
4146
4147 .source-switch a {
4148     padding: 2px 4px 4px 4px;
4149     border-radius: 2px;
4150 }
4151 .source-switch a.live {
4152     background: #d32232;
4153     color:#fff;
4154 }
4155
4156 .feature-warning a {
4157     background: #1e90ff;
4158     padding: 2px 4px 4px 4px;
4159     border-radius: 2px;
4160     color: #eee;
4161 }
4162
4163 .user-list a:not(:last-child):after {
4164     content: ', ';
4165 }
4166
4167 .api-status {
4168     float: right;
4169     clear: both;
4170     text-align: right;
4171     width: 100%;
4172     padding: 0px 10px;
4173 }
4174
4175 .api-status.offline,
4176 .api-status.readonly,
4177 .api-status.error {
4178     background: red;
4179 }
4180
4181 /* Modals
4182 ------------------------------------------------------- */
4183
4184 .modal {
4185     top: 40px;
4186     display: inline-block;
4187     position:absolute;
4188     border-radius: 3px;
4189     overflow: hidden;
4190     left: 0;
4191     right: 0;
4192     margin: auto;
4193     z-index: 50;
4194 }
4195
4196 .modal .loader {
4197     margin-bottom: 10px;
4198 }
4199
4200 .modal .description {
4201     text-align: center;
4202 }
4203
4204 .shaded {
4205     z-index: 49;
4206     position: absolute;
4207     top: 0;
4208     bottom: 0;
4209     left: 0;
4210     right: 0;
4211     overflow: auto;
4212 }
4213
4214 .shaded:before {
4215     content:'';
4216     background:rgba(0,0,0,0.5);
4217     position:fixed;
4218     left:0px; right:0px; top:0px; bottom:0px;
4219 }
4220
4221 .modal-section {
4222     padding: 20px;
4223     border-bottom: 1px solid #CCC;
4224 }
4225
4226 .modal-section.header h3 {
4227     padding: 0;
4228 }
4229
4230 .modal-section.buttons {
4231     text-align: center;
4232 }
4233
4234 .modal-section.buttons .action {
4235     display: inline-block;
4236     margin: 0 10px;
4237     text-align: center;
4238     vertical-align: middle;
4239 }
4240
4241 .save-section .buttons .action {
4242     display: inline-block;
4243     margin: 0 20px 0 0;
4244     text-align: center;
4245     vertical-align: middle;
4246 }
4247
4248 .loading-modal {
4249     text-align: center;
4250 }
4251
4252 .modal-actions button,
4253 .save-success a.button {
4254     font-weight: normal;
4255     color: #7092FF;
4256     border-bottom: 1px solid #CCC;
4257     border-radius: 0;
4258     height: 160px;
4259     text-align: center;
4260     display: inline-block;
4261 }
4262
4263 .modal-actions button:hover
4264 .save-success a.button:hover {
4265     background-color: #ececec;
4266 }
4267
4268 .modal-actions button:before,
4269 .save-success a.button.osm:before,
4270 .walkthrough a:before {
4271     display: block;
4272     content: '';
4273     height: 100px;
4274     width: 100%;
4275     max-width: 100px;
4276     margin: auto;
4277     margin-bottom: 10px;
4278     background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -200px -460px;
4279 }
4280
4281 .modal-actions :first-child {
4282     border-right: 1px solid #CCC;
4283 }
4284
4285 .modal-section:last-child {
4286     border-bottom: 0;
4287 }
4288
4289 /* Restore Modal
4290 ------------------------------------------------------- */
4291
4292 .modal-actions .restore:before {
4293     background-position: -500px -460px;
4294 }
4295
4296 .modal-actions .reset:before {
4297     background-position: -600px -460px;
4298 }
4299
4300 /* Success Modal
4301 ------------------------------------------------------- */
4302
4303 .save-success p {
4304     padding: 15px 15px 0 15px;
4305 }
4306 .save-success a.details {
4307   padding-left: 15px;
4308 }
4309 .save-success .button {
4310     padding-top: 15px;
4311 }
4312
4313 .save-success a.button.social {
4314     height: auto;
4315 }
4316
4317 .save-success .icon.social {
4318     height: 80px;
4319     width: 80px;
4320     color: #7092FF;
4321 }
4322
4323 .save-success .button.osm:before {
4324     background-position: -200px -460px;
4325 }
4326
4327 /* Splash Modal
4328 ------------------------------------------------------- */
4329
4330 .modal-actions .walkthrough:before,
4331 .walkthrough a:before {
4332     background-position: -300px -460px;
4333 }
4334
4335 .modal-actions .start:before {
4336     background-position: -400px -460px;
4337 }
4338
4339 /* Commit Modal
4340 ------------------------------------------------------- */
4341
4342 .mode-save a.user-info {
4343     display: inline-block;
4344 }
4345
4346 .mode-save .commit-form {
4347     margin-bottom: 0;
4348 }
4349
4350 .mode-save .user-info img {
4351     float: left;
4352 }
4353
4354 .mode-save h3 small.count {
4355     margin-right: 10px;
4356     text-align: center;
4357     float: left;
4358     height: 12px;
4359     min-width: 12px;
4360     font-size:12px;
4361     line-height: 12px;
4362     border-radius:24px;
4363     padding:5px;
4364     background:#7092ff;
4365     color:#fff;
4366 }
4367
4368 .mode-save .commit-info {
4369     margin-bottom: 10px;
4370 }
4371
4372 .mode-save .changeset-list {
4373     border:1px solid #ccc;
4374     border-radius: 4px;
4375     background:#fff;
4376 }
4377
4378 .mode-save .warning-section .changeset-list button {
4379     border-left: 1px solid #CCC;
4380 }
4381
4382 .mode-save .changeset-list li {
4383     position: relative;
4384     border-top:1px solid #ccc;
4385     padding:5px 10px;
4386     cursor: pointer;
4387 }
4388
4389 .mode-save .changeset-list li:hover {
4390     background-color: #ececec;
4391 }
4392
4393 .mode-save .changeset-list .alert {
4394     opacity: 0.5;
4395 }
4396
4397 .changeset-list li span.count {
4398     font-size:10px;
4399     color:#555;
4400 }
4401
4402 .mode-save .commit-section .changeset-list button {
4403     border-left: 1px solid #CCC;
4404 }
4405
4406 .changeset-list li span.count:before { content: '('; }
4407
4408 .changeset-list li span.count:after { content: ')'; }
4409
4410 .changeset-list li:first-child { border-top: 0;}
4411
4412 /* Conflict resolution
4413 ------------------------------------------------------- */
4414
4415 .conflicts-help {
4416     padding: 20px;
4417     background-color: #ffffbb;
4418     border-bottom: 1px solid #ccc;
4419 }
4420
4421 .conflicts-buttons {
4422     padding: 20px;
4423 }
4424
4425 .mode-save button.conflicts-button {
4426     float: left;
4427 }
4428
4429 .conflict-container {
4430     border-bottom: 1px solid #ccc;
4431 }
4432
4433 .conflict-description {
4434     padding: 5px 20px;
4435     display: block;
4436 }
4437
4438 .conflicts-done {
4439     padding: 20px 20px 0 20px;
4440 }
4441
4442 .conflict-detail-container {
4443     padding: 10px 20px;
4444 }
4445
4446 .conflict-count {
4447     padding: 10px 20px;
4448 }
4449
4450 .conflict-choices {
4451     margin-top: 10px;
4452 }
4453
4454 .conflict-nav-buttons {
4455     padding: 10px 0 20px 0;
4456 }
4457
4458 .conflict-nav-button {
4459     height: 30px;
4460 }
4461
4462 /* Notices
4463 ------------------------------------------------------- */
4464
4465 .notice {
4466     position: absolute;
4467     top: 0;
4468     bottom: 0;
4469     left: 0;
4470     right: 0;
4471     text-align: center;
4472     background: #fff;
4473 }
4474
4475 .notice .zoom-to {
4476     margin: auto;
4477     width: 80%;
4478     height: 100px;
4479     border-radius: 5px;
4480     line-height: 40px;
4481     color: #000;
4482     opacity: 0.9;
4483 }
4484
4485 .notice .zoom-to:hover {
4486     background: #d8e1ff;
4487 }
4488
4489 .notice .zoom-to .icon {
4490     margin-top:10px;
4491     margin-right:10px;
4492 }
4493
4494 /* Tooltips
4495 ------------------------------------------------------- */
4496
4497 .tooltip {
4498     position: absolute;
4499     display: none;
4500     color:#333;
4501     text-align: left;
4502     font-size: 12px;
4503 }
4504
4505 .tooltip.in {
4506     opacity: 0.8;
4507     z-index: 1030;
4508     height: auto;
4509     display: block;
4510 }
4511
4512 .tooltip.top {
4513     margin-top: -20px;
4514     text-align: center;
4515 }
4516
4517 .tooltip.right {
4518     margin-left: 20px;
4519 }
4520
4521 .tooltip.bottom {
4522     margin-top: 20px;
4523     text-align: center;
4524 }
4525
4526 .tooltip.left {
4527     margin-left: -20px;
4528     text-align: right;
4529 }
4530
4531 .tooltip-inner {
4532     display: inline-block;
4533     border-radius: 3px;
4534     max-width: 200px;
4535     min-width: 80px;
4536     padding: 10px;
4537     font-weight: normal;
4538     background-color: white;
4539 }
4540
4541 .tail {
4542     width: 200px;
4543     height: 400px;
4544     pointer-events: none;
4545     opacity: .8;
4546     margin-top: -200px;
4547     position: absolute;
4548     background: transparent;
4549 }
4550
4551 .tail::after {
4552     content: "";
4553     position: absolute;
4554     width: 0;
4555     height: 0;
4556     border-color: transparent;
4557     border-style: solid;
4558     top: 50%;
4559     right: -5px;
4560     margin-top: -5px;
4561     border-left-color: white;
4562     border-width: 5px 0 5px 5px;
4563 }
4564
4565 .tail div {
4566     border-radius: 3px;
4567     padding: 10px;
4568     background: white;
4569     position: absolute;
4570     top: 180px;
4571     left: 0;
4572     right: 0;
4573     margin: auto;
4574 }
4575
4576 .left.tail::after {
4577     content: "";
4578     position: absolute;
4579     width: 0;
4580     height: 0;
4581     border-color: transparent;
4582     border-style: solid;
4583     top: 50%;
4584     left: -5px;
4585     margin-top: -5px;
4586     border-right-color: white;
4587     border-width: 5px 5px 5px 0;
4588 }
4589
4590 .tooltip-arrow {
4591     position: absolute;
4592     width: 0;
4593     height: 0;
4594     border-color: transparent;
4595     border-style: solid;
4596 }
4597
4598 .tooltip.top .tooltip-arrow {
4599     bottom: -5px;
4600     left: 50%;
4601     margin-left: -5px;
4602     border-top-color: white;
4603     border-width: 5px 5px 0;
4604 }
4605
4606 .tooltip.right .tooltip-arrow {
4607     top: 50%;
4608     left: -5px;
4609     margin-top: -5px;
4610     border-right-color: white;
4611     border-width: 5px 5px 5px 0;
4612 }
4613
4614 .tooltip.left .tooltip-arrow {
4615     top: 50%;
4616     right: -5px;
4617     margin-top: -5px;
4618     border-left-color: white;
4619     border-width: 5px 0 5px 5px;
4620 }
4621
4622 .tooltip.bottom .tooltip-arrow {
4623     top: -5px;
4624     left: 50%;
4625     margin-left: -5px;
4626     border-bottom-color: white;
4627     border-width: 0 5px 5px;
4628 }
4629
4630 .keyhint-wrap {
4631     background: #F6F6F6;
4632     padding: 10px;
4633     margin: 10px -10px -10px;
4634     border-radius: 0 0 3px 3px;
4635 }
4636
4637 .tooltip-inner .keyhint {
4638     font-weight: bold;
4639 }
4640
4641 /* Exceptions for tooltip layouts */
4642
4643 /* make tooltips in panels dark */
4644 .map-overlay .tooltip.top .tooltip-arrow,
4645 .entity-editor-pane .tooltip.top .tooltip-arrow,
4646 .warning-section .tooltip.top .tooltip-arrow {
4647     border-top-color: #000;
4648 }
4649
4650 .map-overlay .tooltip.bottom .tooltip-arrow,
4651 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
4652 .warning-section .tooltip.bottom .tooltip-arrow {
4653     border-bottom-color: #000;
4654 }
4655
4656 .map-overlay .tooltip.left .tooltip-arrow,
4657 .entity-editor-pane .tooltip.left .tooltip-arrow,
4658 .warning-section .tooltip.left .tooltip-arrow {
4659     border-left-color: #000;
4660 }
4661
4662 .map-overlay .tooltip.right .tooltip-arrow,
4663 .entity-editor-pane .tooltip.right .tooltip-arrow,
4664 .warning-section .tooltip.right .tooltip-arrow {
4665     border-right-color: #000;
4666 }
4667
4668 .map-overlay .tooltip-inner,
4669 .map-overlay .keyhint-wrap,
4670 .entity-editor-pane .tooltip-inner,
4671 .warning-section .tooltip-inner {
4672     background: #000;
4673     color: #ccc;
4674 }
4675 /* commit warning tooltips need to be closer */
4676 .warning-section .tooltip.top {
4677     margin-top: -5px;
4678 }
4679
4680 /* Uncramp map-control tooltips */
4681 .map-control .tooltip {
4682     min-width: 160px;
4683 }
4684 /* Move over tooltips that are near the edge of screen */
4685 .add-point .tooltip {
4686     left: 33.3333% !important;
4687 }
4688
4689 .curtain-tooltip.intro-points-add .tooltip-arrow,
4690 .add-point .tooltip .tooltip-arrow {
4691     left: 60px;
4692 }
4693
4694 .radial-menu-tooltip {
4695     opacity: 0.8;
4696     display: none;
4697     position: absolute;
4698     width: 200px;
4699 }
4700
4701 .radial-menu-background {
4702     fill: none;
4703     stroke: black;
4704     stroke-opacity: 0.5;
4705 }
4706
4707 .radial-menu-item circle {
4708     fill: #eee;
4709 }
4710
4711 .radial-menu-item circle:active,
4712 .radial-menu-item circle:hover {
4713     fill: #fff;
4714 }
4715
4716 .radial-menu-item.disabled circle {
4717     cursor: auto;
4718     fill: rgba(255,255,255,.5);
4719 }
4720
4721 .radial-menu-item use {
4722     fill: #222;
4723     color: #79f;
4724 }
4725
4726 .radial-menu-item.disabled use {
4727     fill: rgba(32,32,32,.5);
4728     color: rgba(40,40,40,.5);
4729 }
4730
4731 .lasso-path {
4732     fill-opacity:0.3;
4733     stroke: #fff;
4734     stroke-width: 1;
4735     stroke-opacity: 1;
4736     stroke-dasharray: 5, 5;
4737 }
4738
4739 /* Media Queries
4740 ------------------------------------------------------- */
4741
4742 @media only screen and (max-width: 840px) {
4743     /* override hide for save button */
4744     #bar .save .label { display: block;}
4745 }
4746
4747 @media screen and (max-width: 1200px) {
4748     .user-list { display: none !important; }
4749 }
4750
4751 @media screen and (max-width: 1000px) {
4752     #userLink { display: none !important; }
4753 }
4754
4755 @media screen and (max-width: 900px) {
4756     #scale-block { display: none !important; }
4757 }
4758
4759
4760 /* Scrollbars
4761  ----------------------------------------------------- */
4762
4763 ::-webkit-scrollbar {
4764     height: 20px;
4765     overflow: visible;
4766     width: 10px;
4767     background: white;
4768     border-left: 1px solid #DDD;
4769 }
4770
4771 ::-webkit-scrollbar-track {
4772     background-clip: padding-box;
4773     border: solid transparent;
4774     border-width: 0;
4775 }
4776
4777 ::-webkit-scrollbar-thumb {
4778     background-color: rgba(0,0,0,.2);
4779     background-clip: padding-box;
4780     border: solid transparent;
4781     border-width: 3px 3px 3px 4px;
4782     border-radius: 6px;
4783 }
4784 ::-webkit-scrollbar-track:hover,
4785 ::-webkit-scrollbar-track:active {
4786     background-color: rgba(0,0,0,.05);
4787 }
4788
4789 /* Intro walkthrough
4790  ----------------------------------------------------- */
4791
4792 .curtain-darkness {
4793     pointer-events: all;
4794     fill-opacity: 0.7;
4795     fill: #222;
4796     fill-rule: evenodd;
4797 }
4798
4799 .intro-nav-wrap {
4800     position: absolute;
4801     left: 0;
4802     right: 0;
4803     bottom: 30px;
4804     padding: 10px;
4805     z-index: 1001;
4806 }
4807
4808 .intro-nav-wrap button.step {
4809     width: 20%;
4810 }
4811
4812 .intro-nav-wrap button.step.finished {
4813     background: #8cd05f;
4814 }
4815
4816 .intro-nav-wrap button.step .icon {
4817     display: none;
4818 }
4819
4820 .intro-nav-wrap button.step.finished .icon {
4821     display: inline-block;
4822 }
4823
4824
4825 .curtain-tooltip .tooltip-inner {
4826     text-align: left;
4827     padding: 20px;
4828 }
4829
4830 .curtain-tooltip .tooltip-inner {
4831     font-size: 15px;
4832 }
4833
4834 .curtain-tooltip .tooltip-inner .bold {
4835     font-weight: bold;
4836     display: block;
4837     border-top: 1px solid #CCC;
4838     margin-top: 10px;
4839     margin-left: -20px;
4840     margin-right: -20px;
4841     padding: 10px 20px 0 20px;
4842 }
4843
4844 .curtain-tooltip .tooltip-inner .bold:only-child {
4845     border: 0;
4846     padding: 0;
4847     margin: 0;
4848 }
4849
4850 .curtain-tooltip.intro-points-describe {
4851     top: 133px !important;
4852 }
4853
4854 /* Tooltip illustrations */
4855
4856 .intro-points-add .tooltip-inner::before,
4857 .intro-areas-add .tooltip-inner::before,
4858 .intro-lines-add .tooltip-inner::before {
4859     margin-left: -20px;
4860     display: block;
4861     content: "";
4862     height: 80px;
4863     width: 200px;
4864     background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat 0 -320px;
4865 }
4866
4867 .intro-areas-add .tooltip-inner::before {
4868     background-position: 0 -400px;
4869 }
4870
4871 .intro-lines-add .tooltip-inner::before {
4872     background-position: 0 -480px;
4873 }
4874
4875 .huge-modal-button {
4876     width: 100%;
4877     height: auto;
4878     padding: 20px;
4879 }
4880
4881 .huge-modal-button .illustration {
4882     height: 100px;
4883     width: 100px;
4884     background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -300px -460px;
4885     margin: auto;
4886 }