]> git.openstreetmap.org Git - rails.git/blob - vendor/assets/iD/iD.css.erb
Fix alignment issues with icons in browse pages
[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
184 /* base styles */
185 path {
186     fill: none;
187 }
188
189 use {
190     pointer-events: none;
191 }
192
193 g.point .shadow,
194 g.vertex .shadow,
195 g.midpoint .shadow {
196     pointer-events: all;
197 }
198
199 path.shadow {
200     pointer-events: stroke;
201 }
202
203 .shadow {
204     -webkit-transition: 200ms;
205        -moz-transition: 200ms;
206             transition: 200ms;
207 }
208
209 /* points */
210
211 g.point .stroke {
212     stroke: #444;
213     stroke-width: 1;
214     fill: #fff;
215 }
216
217 g.point .shadow {
218     fill: none;
219     stroke: #f6634f;
220     stroke-width: 8;
221     stroke-opacity: 0;
222 }
223
224 .behavior-hover g.point.hover:not(.selected) .shadow {
225     stroke-opacity: 0.5;
226 }
227
228 g.point.selected .shadow {
229     stroke-opacity: 0.7;
230 }
231
232 g.point.active, g.point.active * {
233     pointer-events: none;
234 }
235
236 /* vertices and midpoints */
237
238 g.vertex .fill {
239     fill: none;
240 }
241
242 g.vertex .stroke {
243     stroke: #666;
244     stroke-width: 1;
245     fill: white;
246 }
247
248 g.vertex.shared .stroke {
249     fill: #aaa;
250 }
251
252 g.vertex.tagged .fill {
253     fill: #000;
254 }
255
256 g.midpoint .fill {
257     fill: #ddd;
258     stroke: black;
259     stroke-opacity: .5;
260     opacity: .5;
261 }
262
263 g.vertex .shadow,
264 g.midpoint .shadow {
265     fill: #f6634f;
266     fill-opacity: 0;
267 }
268
269 g.vertex.vertex-hover {
270     display: none;
271 }
272
273 .mode-draw-area .behavior-hover g.vertex.vertex-hover,
274 .mode-draw-line .behavior-hover g.vertex.vertex-hover,
275 .mode-add-area  .behavior-hover g.vertex.vertex-hover,
276 .mode-add-line  .behavior-hover g.vertex.vertex-hover,
277 .mode-add-point .behavior-hover g.vertex.vertex-hover,
278 .mode-drag-node .behavior-hover g.vertex.vertex-hover {
279     display: block;
280 }
281
282 .behavior-hover g.vertex.hover:not(.selected) .shadow,
283 .behavior-hover g.midpoint.hover:not(.selected) .shadow {
284     fill-opacity: 0.3;
285 }
286
287 g.vertex.selected .shadow {
288     fill-opacity: 0.5;
289 }
290
291 .mode-draw-area g.midpoint,
292 .mode-draw-line g.midpoint,
293 .mode-add-area g.midpoint,
294 .mode-add-line g.midpoint,
295 .mode-add-point g.midpoint,
296 .mode-drag-node g.midpoint {
297   display: none;
298 }
299
300 /* lines */
301
302 path.line {
303     stroke-linecap: round;
304     stroke-linejoin: bevel;
305 }
306
307 path.stroke {
308     stroke: black;
309     stroke-width: 4;
310 }
311
312 path.shadow {
313     stroke: #f6634f;
314     stroke-width: 10;
315     stroke-opacity: 0;
316 }
317
318 .behavior-hover path.shadow.hover:not(.selected) {
319     stroke-opacity: 0.3;
320 }
321
322 path.shadow.selected {
323     stroke-opacity: 0.7;
324 }
325
326 path.area.stroke,
327 path.line.member-type-multipolygon.stroke {
328     stroke-width:2;
329 }
330 path.area.stroke.selected,
331 path.line.member-type-multipolygon.stroke.selected {
332     stroke-width:4 !important;
333 }
334
335 path.area.stroke {
336     stroke:#fff;
337 }
338 path.area.fill {
339     fill:#fff;
340     fill-opacity:0.3;
341     fill-rule: evenodd;
342 }
343
344 path.line.stroke {
345     stroke: white;
346     stroke-width: 2;
347 }
348
349 path.stroke.tag-natural {
350     stroke: #b6e199;
351     stroke-width:1;
352 }
353 path.fill.tag-natural {
354     fill: #b6e199;
355 }
356
357 path.stroke.tag-natural-water {
358     stroke: #77d3de;
359 }
360 path.fill.tag-natural-water {
361     fill: #77d3de;
362 }
363
364 path.stroke.tag-amenity-school {
365     stroke: #ffff94;
366     stroke-width: 1;
367 }
368 path.fill.tag-amenity-school {
369     fill: #ffff94;
370     fill-opacity: 0.2;
371 }
372
373 path.stroke.tag-amenity-university {
374     stroke: #ffff94;
375 }
376 path.fill.tag-amenity-university {
377     fill: #ffff94;
378     fill-opacity: 0.1;
379 }
380
381 path.stroke.tag-building {
382     stroke: #e06e5f;
383     stroke-width: 1;
384 }
385 path.fill.tag-building {
386     fill: #e06e5f;
387 }
388
389 /* Landuse */
390
391
392 path.stroke.tag-landuse,
393 path.stroke.tag-natural-wood,
394 path.stroke.tag-natural-tree,
395 path.stroke.tag-natural-grassland,
396 path.stroke.tag-leisure-pitch,
397 path.stroke.tag-leisure-park {
398     stroke: #8cd05f;
399     stroke-width: 1;
400 }
401
402 path.stroke.tag-landuse-residential {
403     stroke: #e06e5f;
404 }
405
406 path.stroke.tag-landuse-retail,
407 path.stroke.tag-landuse-commercial {
408     stroke: #eab056;
409 }
410
411 path.stroke.tag-landuse-industrial {
412     stroke: #e4a4f5;
413 }
414
415 path.stroke.tag-landuse-basin,
416 path.stroke.tag-landuse-reservoir {
417     stroke: #77d3de;
418 }
419
420 path.stroke.tag-landuse-quarry {
421     stroke: #a6957b;
422 }
423
424 path.stroke.tag-landuse-residential,
425 path.stroke.tag-landuse-construction {
426     stroke: #e06e5f;
427 }
428
429 path.stroke.tag-landuse-meadow,
430 path.stroke.tag-natural-wetland {
431     stroke: #b6e199;
432 }
433
434 path.stroke.tag-natural-beach {
435     stroke: #ffff7e;
436 }
437
438 path.stroke.tag-natural-scrub {
439     stroke: #dbf08b;
440 }
441
442 path.fill.tag-landuse,
443 path.fill.tag-natural-wood,
444 path.fill.tag-natural-tree,
445 path.fill.tag-natural-grassland,
446 path.fill.tag-natural-grass,
447 path.fill.tag-leisure-pitch,
448 path.fill.tag-leisure-park {
449     fill: #8cd05f;
450     fill-opacity: 0.2;
451 }
452
453 path.fill.tag-landuse-retail,
454 path.fill.tag-landuse-residential,
455 path.fill.tag-landuse-commercial,
456 path.fill.tag-landuse-industrial {
457     fill-opacity: 0.1;
458 }
459
460 path.fill.tag-natural-wetland,
461 path.fill.tag-natural-beach,
462 path.fill.tag-natural-scrub,
463 path.fill.tag-landuse-cemetery,
464 path.fill.tag-landuse-meadow,
465 path.fill.tag-landuse-farm,
466 path.fill.tag-landuse-farmland,
467 path.fill.tag-landuse-construction,
468 path.fill.tag-landuse-orchard {
469     /* background color is applied a further opacity later */
470     fill-opacity: 0.8;
471 }
472
473 .pattern-color-beach,
474 .pattern-color-scrub,
475 .pattern-color-meadow,
476 .pattern-color-wetland,
477 .pattern-color-cemetery,
478 .pattern-color-farm,
479 .pattern-color-farmland,
480 .pattern-color-construction,
481 .pattern-color-orchard {
482     fill-opacity: 0.2;
483 }
484
485 path.fill.tag-landuse-basin,
486 path.fill.tag-landuse-reservoir {
487     fill: #77d3de;
488 }
489
490 path.fill.tag-landuse-quarry {
491     fill: #a6957b;
492 }
493
494 path.fill.tag-landuse-residential {
495     fill: #e06e5f;
496 }
497
498 path.fill.tag-landuse-farm,
499 path.fill.tag-landuse-farmland {
500     fill: url(#pattern-farmland) #8cd05f;
501 }
502
503 .pattern-color-farm,
504 .pattern-color-farmland {
505     fill: url(#pattern-farmland) #8cd05f;
506 }
507
508 path.fill.tag-landuse-meadow {
509     fill: url(#pattern-meadow) #b6e199;
510 }
511 .pattern-color-meadow {
512     fill: #b6e199;
513 }
514
515 path.fill.tag-natural-wetland {
516     fill: url(#pattern-wetland) #b6e199;
517 }
518 .pattern-color-wetland {
519     fill: #B6E199;
520 }
521
522 path.fill.tag-natural-beach {
523     fill: url(#pattern-beach) #ffff7e;
524 }
525 .pattern-color-beach {
526     fill: #ffff7e;
527 }
528
529 path.fill.tag-natural-scrub {
530     fill: url(#pattern-scrub) #dbf08b;
531 }
532 .pattern-color-scrub {
533     fill: #dbf08b;
534 }
535
536 path.fill.tag-landuse-cemetery {
537     fill: url(#pattern-cemetery) #8cd05f;
538 }
539 .pattern-color-cemetery {
540     fill: #8cd05f
541 }
542
543 path.fill.tag-landuse-orchard {
544     fill: url(#pattern-orchard) #8cd05f;
545 }
546 .pattern-color-orchard {
547     fill: #8cd05f
548 }
549
550 path.fill.tag-landuse-construction {
551     fill: url(#pattern-construction) #e06e5f;
552 }
553 .pattern-color-construction {
554     fill: #e06e5f;
555 }
556
557 path.fill.tag-landuse-retail,
558 path.fill.tag-landuse-commercial {
559     fill: #eab056;
560 }
561
562 path.fill.tag-landuse-industrial {
563     fill: #e4a4f5;
564 }
565
566 path.stroke.tag-amenity-parking {
567     stroke: #aaa;
568     stroke-width: 1;
569 }
570 path.fill.tag-amenity-parking {
571     fill: #aaa;
572 }
573
574 path.fill.tag-place,
575 path.fill.tag-boundary {
576     fill: none;
577 }
578
579 /* highways */
580
581 path.shadow.tag-highway {
582     stroke-width:16;
583 }
584 path.casing.tag-highway {
585     stroke:#444;
586     stroke-width:10;
587 }
588 path.stroke.tag-highway {
589     stroke:#ccc;
590     stroke-width:8;
591 }
592
593 svg[data-zoom="16"] path.shadow.tag-highway {
594     stroke-width:12;
595 }
596 svg[data-zoom="16"] path.casing.tag-highway {
597     stroke-width:6;
598 }
599 svg[data-zoom="16"] path.stroke.tag-highway {
600     stroke-width:4;
601 }
602
603 path.stroke.tag-highway-motorway,
604 path.stroke.tag-highway-motorway_link,
605 path.stroke.tag-construction-motorway {
606     stroke:#58a9ed;
607 }
608
609 path.casing.tag-highway-motorway,
610 path.casing.tag-highway-motorway_link,
611 path.casing.tag-construction-motorway {
612     stroke:#2c5476;
613 }
614
615 path.stroke.tag-highway-trunk,
616 path.stroke.tag-highway-trunk_link,
617 path.stroke.tag-construction-trunk {
618     stroke:#8cd05f;
619 }
620 path.casing.tag-highway-trunk,
621 path.casing.tag-highway-trunk_link,
622 path.casing.tag-construction-trunk {
623     stroke:#46682f;
624 }
625
626 path.stroke.tag-highway-primary,
627 path.stroke.tag-highway-primary_link,
628 path.stroke.tag-construction-primary {
629     stroke:#e06d5f;
630 }
631 path.casing.tag-highway-primary,
632 path.casing.tag-highway-primary_link,
633 path.casing.tag-construction-primary {
634     stroke:#70372f;
635 }
636
637 path.stroke.tag-highway-secondary,
638 path.stroke.tag-highway-secondary_link,
639 path.stroke.tag-construction-secondary {
640     stroke:#eab056;
641 }
642 path.casing.tag-highway-secondary,
643 path.casing.tag-highway-secondary_link,
644 path.casing.tag-construction-secondary {
645     stroke:#75582b;
646 }
647
648 path.stroke.tag-highway-tertiary,
649 path.stroke.tag-highway-tertiary_link,
650 path.stroke.tag-construction-tertiary {
651     stroke:#ffff7e;
652 }
653 path.casing.tag-highway-tertiary,
654 path.casing.tag-highway-tertiary_link,
655 path.casing.tag-construction-tertiary {
656     stroke:#7f7f3f;
657 }
658
659 path.stroke.tag-highway-unclassified,
660 path.stroke.tag-construction-unclassified {
661     stroke:#eaeaea;
662 }
663 path.casing.tag-highway-unclassified,
664 path.casing.tag-construction-unclassified {
665     stroke:#444;
666 }
667
668 path.stroke.tag-highway-residential,
669 path.stroke.tag-construction-residential {
670     stroke:#fff;
671 }
672 path.casing.tag-highway-residential,
673 path.casing.tag-construction-residential {
674     stroke:#444;
675 }
676
677 path.stroke.tag-highway-living_street {
678     stroke:#ccc;
679     stroke-width:4;
680 }
681 path.casing.tag-highway-living_street {
682     stroke:#fff;
683     stroke-width:6;
684 }
685
686 path.stroke.line.tag-highway-pedestrian {
687     stroke:#fff;
688     stroke-dasharray: 2, 8;
689     stroke-width:4 !important;
690     shapeRendering: auto;
691 }
692 path.casing.line.tag-highway-pedestrian {
693     stroke:#8cd05f;
694     stroke-width:6 !important;
695 }
696 path.stroke.area.tag-highway-pedestrian {
697     stroke:#fff;
698     stroke-width: 2;
699 }
700 path.fill.area.tag-highway-pedestrian {
701     fill:#ccc;
702 }
703
704 path.stroke.tag-highway-service {
705     stroke:#fff;
706     stroke-width:4;
707 }
708 path.casing.tag-highway-service {
709     stroke:#666;
710     stroke-width:6;
711 }
712 svg[data-zoom="16"] path.stroke.tag-highway-service {
713     stroke-width:2;
714 }
715 svg[data-zoom="16"] path.casing.tag-highway-service {
716     stroke-width:4;
717 }
718
719 path.stroke.tag-highway-track {
720     stroke: #fff;
721     stroke-width: 4;
722 }
723 path.casing.tag-highway-track {
724     stroke: #996600;
725     stroke-width: 6;
726     stroke-linecap: butt;
727     stroke-dasharray: 6, 6;
728 }
729 svg[data-zoom="16"] path.stroke.tag-highway-track {
730     stroke-width:2;
731 }
732 svg[data-zoom="16"] path.casing.tag-highway-track {
733     stroke-width:4;
734 }
735
736 path.stroke.tag-highway-path {
737     stroke: #000;
738     stroke-width: 1 !important;
739     stroke-linecap: butt;
740     stroke-dasharray: 8, 4;
741 }
742 path.casing.tag-highway-path {
743     stroke-width: 1 !important;
744     stroke: #fff;
745 }
746
747 path.stroke.tag-highway-footway,
748 path.stroke.tag-highway-cycleway,
749 path.stroke.tag-highway-bridleway {
750     stroke-width: 4;
751     stroke-linecap: butt;
752     stroke-dasharray: 6, 6;
753 }
754 path.casing.tag-highway-footway,
755 path.casing.tag-highway-cycleway,
756 path.casing.tag-highway-bridleway {
757     stroke-width: 6;
758     stroke: #fff;
759 }
760
761 svg[data-zoom="16"] path.stroke.tag-highway-footway,
762 svg[data-zoom="16"] path.stroke.tag-highway-cycleway,
763 svg[data-zoom="16"] path.stroke.tag-highway-bridleway {
764     stroke-width: 2;
765 }
766 svg[data-zoom="16"] path.casing.tag-highway-footway,
767 svg[data-zoom="16"] path.casing.tag-highway-cycleway,
768 svg[data-zoom="16"] path.casing.tag-highway-bridleway {
769     stroke-width: 4;
770 }
771
772 path.stroke.tag-highway-footway {
773     stroke: #ae8681;
774 }
775 path.stroke.tag-highway-cycleway {
776     stroke: #58a9ed;
777 }
778 path.stroke.tag-highway-bridleway {
779     stroke: #e06d5f;
780 }
781
782 path.stroke.tag-highway-steps {
783     stroke: #81d25c;
784     stroke-width: 4;
785     stroke-linecap: butt;
786     stroke-dasharray: 3, 3;
787 }
788 path.casing.tag-highway-steps {
789     stroke-width: 6;
790     stroke: #fff;
791 }
792
793 /* aeroways */
794
795 path.stroke.tag-aeroway-taxiway {
796     stroke: #805C80;
797     stroke-width: 4;
798 }
799 path.shadow.tag-aeroway-runway {
800     stroke-width: 20;
801 }
802 path.stroke.tag-aeroway-runway {
803     stroke: #fff;
804     stroke-width: 2;
805     stroke-linecap: butt;
806     stroke-dasharray: 24, 48;
807 }
808 path.casing.tag-aeroway-runway {
809     stroke-width: 10;
810     stroke: #000;
811     stroke-linecap: square;
812 }
813 path.fill.tag-aeroway-runway {
814     fill: #000;
815     fill-opacity: 0.6;
816 }
817 path.stroke.tag-aeroway-apron {
818     stroke: #805C80;
819 }
820 path.fill.tag-aeroway-apron {
821     fill: #805C80;
822     fill-opacity: 0.2;
823 }
824
825
826 /* bridges */
827
828 path.casing.tag-bridge-yes {
829     stroke-width: 14;
830     stroke-opacity: 0.5;
831     stroke: #000;
832 }
833
834 path.casing.tag-highway-living_street.tag-bridge-yes,
835 path.casing.tag-highway-path.tag-bridge-yes {
836     stroke-width: 6;
837 }
838
839 path.casing.line.tag-highway-pedestrian,
840 path.casing.tag-highway-service.tag-bridge-yes,
841 path.casing.tag-highway-track.tag-bridge-yes,
842 path.casing.tag-highway-steps.tag-bridge-yes,
843 path.casing.tag-highway-footway.tag-bridge-yes,
844 path.casing.tag-highway-cycleway.tag-bridge-yes,
845 path.casing.tag-highway-bridleway.tag-bridge-yes {
846     stroke-width: 8;
847 }
848
849 path.shadow.tag-highway-residential.tag-bridge {
850     stroke-width:22;
851 }
852
853 path.shadow.tag-highway-living_street.tag-bridge-yes,
854 path.shadow.tag-highway-path.tag-bridge-yes,
855 path.shadow.line.tag-highway-pedestrian,
856 path.shadow.tag-highway-service.tag-bridge-yes,
857 path.shadow.tag-highway-track.tag-bridge-yes,
858 path.shadow.tag-highway-steps.tag-bridge-yes,
859 path.shadow.tag-highway-footway.tag-bridge-yes,
860 path.shadow.tag-highway-cycleway.tag-bridge-yes,
861 path.shadow.tag-highway-bridleway.tag-bridge-yes {
862     stroke-width: 16;
863 }
864
865 /* tunnels */
866
867 path.stroke.tag-highway.tag-tunnel-yes {
868     stroke-opacity: 0.3;
869 }
870
871 path.casing.tag-highway.tag-tunnel-yes {
872     stroke-opacity: 0.5;
873 }
874
875 path.stroke.tag-highway-construction,
876 path.casing.tag-highway-construction {
877     stroke-linecap: butt;
878     stroke-dasharray: 7, 7;
879 }
880
881 /* construction */
882
883 svg[data-zoom="16"] path.stroke.tag-highway-construction,
884 svg[data-zoom="16"] path.casing.tag-highway-construction {
885     stroke-linecap: butt;
886     stroke-dasharray: 5, 5;
887 }
888
889 /* railways */
890
891 .line.stroke.tag-railway {
892     stroke: #eee;
893     stroke-width: 2;
894     stroke-linecap: butt;
895     stroke-dasharray: 12,12;
896 }
897 .line.casing.tag-railway {
898     stroke: #555;
899     stroke-width: 4;
900 }
901
902 .line.stroke.tag-railway-abandoned {
903     stroke: #eee;
904 }
905 .line.casing.tag-railway-abandoned {
906     stroke: #999;
907 }
908
909 .line.stroke.tag-railway-subway {
910     stroke: #666;
911 }
912 .line.casing.tag-railway-subway {
913     stroke: #222;
914 }
915
916 .line.stroke.tag-railway-platform {
917     stroke: #999;
918     stroke-width: 4;
919     stroke-dasharray: none;
920 }
921 .line.casing.tag-railway-platform {
922     stroke: none;
923 }
924
925 /* waterways */
926
927 path.fill.tag-waterway {
928     fill: #77d3de;
929 }
930
931 path.stroke.tag-waterway {
932     stroke: #77d3de;
933     stroke-width: 2;
934 }
935 path.casing.tag-waterway {
936     stroke: #77d3de;
937     stroke-width: 4;
938 }
939
940 path.stroke.tag-waterway-river {
941     stroke-width: 4;
942 }
943 path.casing.tag-waterway-river {
944     stroke-width: 6;
945 }
946
947 svg[data-zoom="16"] path.stroke.tag-waterway-river {
948     stroke-width: 4;
949 }
950 svg[data-zoom="16"] path.casing.tag-waterway-river {
951     stroke-width: 6;
952 }
953
954 path.stroke.tag-waterway-ditch {
955     stroke: #6591ff;
956     stroke-width: 1;
957 }
958 path.casing.tag-waterway-ditch {
959     stroke: #6591ff;
960     stroke-width: 3;
961 }
962
963 /* power */
964
965 path.stroke.tag-power {
966     stroke: #939393;
967     stroke-width: 2;
968 }
969 path.casing.tag-power {
970     stroke: none;
971 }
972
973 /* boundary */
974
975 path.stroke.tag-boundary {
976     stroke: #fff;
977     stroke-width: 2;
978     stroke-linecap: butt;
979     stroke-dasharray: 20, 5, 5, 5;
980 }
981 path.casing.tag-boundary {
982     stroke: #82B5FE;
983     stroke-width: 6;
984 }
985
986 path.casing.tag-boundary-protected_area,
987 path.casing.tag-boundary-national_park {
988     stroke: #b0e298;
989 }
990
991
992 text {
993     font-size:10px;
994     pointer-events: none;
995     color: #222;
996     opacity: 1;
997 }
998
999 .oneway .textpath.tag-waterway {
1000     fill: #002F35;
1001 }
1002
1003 marker#oneway-marker path {
1004     fill:#000;
1005     opacity: .5;
1006 }
1007
1008 path.oneway {
1009     stroke-width: 6px;
1010 }
1011
1012 /*
1013  * Labels
1014  */
1015
1016 text.arealabel-halo,
1017 text.linelabel-halo,
1018 text.pointlabel-halo,
1019 text.arealabel,
1020 text.linelabel,
1021 text.pointlabel {
1022     font-size: 12px;
1023     font-weight: bold;
1024     fill: #333;
1025     text-anchor: middle;
1026     pointer-events: none;
1027     -webkit-transition: opacity 100ms linear;
1028     transition: opacity 100ms linear;
1029     -moz-transition: opacity 100ms linear;
1030 }
1031
1032 .linelabel-halo .textpath,
1033 .linelabel .textpath {
1034   dominant-baseline: middle;
1035 }
1036
1037 /* Opera doesn't support dominant-baseline. See #715 */
1038 .opera .linelabel-halo .textpath,
1039 .opera .linelabel .textpath {
1040   baseline-shift: -33%;
1041   dominant-baseline: auto;
1042 }
1043
1044 .layer-halo text {
1045     opacity: 0.7;
1046     stroke: #fff;
1047     stroke-width: 5px;
1048     stroke-miterlimit: 1;
1049 }
1050
1051 text.point {
1052   font-size: 10px;
1053 }
1054
1055 /* Cursors */
1056
1057 #map:hover {
1058     cursor: auto; /* Opera */
1059     cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1060     cursor: -webkit-image-set(
1061         url(<%= asset_path("iD/img/cursor-grab.png") %>) 1x,
1062         url(<%= asset_path("iD/img/cursor-grab2x.png") %>) 2x
1063         ) 9 9, auto;
1064 }
1065
1066 #map:active {
1067     cursor: pointer; /* Opera */
1068     cursor: url(<%= asset_path("iD/img/cursor-grabbing.png") %>) 9 9, auto; /* FF */
1069     cursor: -webkit-image-set(
1070         url(<%= asset_path("iD/img/cursor-grabbing.png") %>) 1x,
1071         url(<%= asset_path("iD/img/cursor-grabbing2x.png") %>) 2x
1072         ) 9 9, auto;
1073 }
1074
1075 .mode-browse .point,
1076 .mode-select .point {
1077     cursor: pointer; /* Opera */
1078     cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1079     cursor: -webkit-image-set(
1080         url(<%= asset_path("iD/img/cursor-select-point.png") %>) 1x,
1081         url(<%= asset_path("iD/img/cursor-select-point2x.png") %>) 2x
1082         ), pointer;
1083 }
1084
1085 .mode-select .vertex,
1086 .mode-browse .vertex {
1087     cursor: pointer; /* Opera */
1088     cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1089     cursor: -webkit-image-set(
1090         url(<%= asset_path("iD/img/cursor-select-vertex.png") %>) 1x,
1091         url(<%= asset_path("iD/img/cursor-select-vertex2x.png") %>) 2x
1092         ), pointer;
1093 }
1094
1095 .mode-browse .line,
1096 .mode-select .line {
1097     cursor: pointer; /* Opera */
1098     cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1099     cursor: -webkit-image-set(
1100         url(<%= asset_path("iD/img/cursor-select-line.png") %>) 1x,
1101         url(<%= asset_path("iD/img/cursor-select-line2x.png") %>) 2x
1102         ), pointer;
1103 }
1104
1105 .mode-select .area,
1106 .mode-browse .area {
1107     cursor: pointer; /* Opera */
1108     cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1109     cursor: -webkit-image-set(
1110         url(<%= asset_path("iD/img/cursor-select-area.png") %>) 1x,
1111         url(<%= asset_path("iD/img/cursor-select-area2x.png") %>) 2x
1112         ), pointer;
1113 }
1114
1115 .mode-select .midpoint,
1116 .mode-browse .midpoint {
1117     cursor: pointer; /* Opera */
1118     cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1119     cursor: -webkit-image-set(
1120         url(<%= asset_path("iD/img/cursor-select-split.png") %>) 1x,
1121         url(<%= asset_path("iD/img/cursor-select-split2x.png") %>) 2x
1122         ), pointer;
1123 }
1124
1125 .mode-select .behavior-multiselect .point,
1126 .mode-select .behavior-multiselect .vertex,
1127 .mode-select .behavior-multiselect .line,
1128 .mode-select .behavior-multiselect .area {
1129     cursor: pointer; /* Opera */
1130     cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1131     cursor: -webkit-image-set(
1132         url(<%= asset_path("iD/img/cursor-select-add.png") %>) 1x,
1133         url(<%= asset_path("iD/img/cursor-select-add2x.png") %>) 2x
1134         ), pointer;
1135 }
1136
1137 .mode-select .behavior-multiselect .selected {
1138     cursor: pointer; /* Opera */
1139     cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1140     cursor: -webkit-image-set(
1141         url(<%= asset_path("iD/img/cursor-select-remove.png") %>) 1x,
1142         url(<%= asset_path("iD/img/cursor-select-remove2x.png") %>) 2x
1143         ), pointer;
1144 }
1145
1146 #map .point:active,
1147 #map .vertex:active,
1148 #map .line:active,
1149 #map .area:active,
1150 #map .midpoint:active,
1151 #map .mode-select .selected {
1152     cursor: pointer; /* Opera */
1153     cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1154     cursor: -webkit-image-set(
1155         url(<%= asset_path("iD/img/cursor-select-acting.png") %>) 1x,
1156         url(<%= asset_path("iD/img/cursor-select-acting2x.png") %>) 2x
1157         ), pointer;
1158 }
1159
1160 .mode-draw-line #map:hover,
1161 .mode-draw-area #map:hover,
1162 .mode-add-line  #map:hover,
1163 .mode-add-area  #map:hover,
1164 .mode-drag-node #map:hover {
1165     cursor: crosshair; /* Opera */
1166     cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1167     cursor: -webkit-image-set(
1168         url(<%= asset_path("iD/img/cursor-draw.png") %>) 1x,
1169         url(<%= asset_path("iD/img/cursor-draw2x.png") %>) 2x
1170         ) 9 9, crosshair;
1171 }
1172
1173 .mode-draw-line .behavior-hover .way,
1174 .mode-draw-area .behavior-hover .way,
1175 .mode-add-line  .behavior-hover .way,
1176 .mode-add-area  .behavior-hover .way,
1177 .mode-drag-node .behavior-hover .way {
1178     cursor: crosshair; /* Opera */
1179     cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1180     cursor: -webkit-image-set(
1181         url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 1x,
1182         url(<%= asset_path("iD/img/cursor-draw-connect-line2x.png") %>) 2x
1183         ) 9 9, crosshair;
1184 }
1185
1186 .mode-draw-line .behavior-hover .vertex,
1187 .mode-draw-area .behavior-hover .vertex,
1188 .mode-add-line  .behavior-hover .vertex,
1189 .mode-add-area  .behavior-hover .vertex,
1190 .mode-drag-node .behavior-hover .vertex {
1191     cursor: crosshair; /* Opera */
1192     cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1193     cursor: -webkit-image-set(
1194         url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 1x,
1195         url(<%= asset_path("iD/img/cursor-draw-connect-vertex2x.png") %>) 2x
1196         ) 9 9, crosshair;
1197 }
1198
1199 .mode-add-point #map:hover,
1200 .lasso #map:hover,
1201 .lasso .way,
1202 .lasso .vertex {
1203     cursor: crosshair; /* Opera */
1204     cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1205     cursor: -webkit-image-set(
1206         url(<%= asset_path("iD/img/cursor-draw.png") %>) 1x,
1207         url(<%= asset_path("iD/img/cursor-draw2x.png") %>) 2x
1208         ) 9 9, crosshair;
1209 }
1210
1211 .lasso #map {
1212     pointer-events: visibleStroke;
1213 }
1214
1215 /* GPX Paths */
1216 path.gpx {
1217     stroke:#6AFF25;
1218     stroke-width:2;
1219     fill:transparent;
1220     pointer-events: none;
1221 }
1222
1223 /* Modes */
1224
1225 .mode-draw-line .vertex.active,
1226 .mode-draw-area .vertex.active,
1227 .mode-drag-node .vertex.active {
1228     display: none;
1229 }
1230
1231 .mode-draw-line .way.active,
1232 .mode-draw-area .way.active,
1233 .mode-drag-node .active {
1234     pointer-events: none;
1235 }
1236
1237 /* Ensure drawing doesn't interact with area fills. */
1238 .mode-add-point .area.fill,
1239 .mode-draw-line .area.fill,
1240 .mode-draw-area .area.fill,
1241 .mode-add-line .area.fill,
1242 .mode-add-area .area.fill,
1243 .mode-drag-node .area.fill {
1244     pointer-events: none;
1245 }
1246 /* Basics
1247 ------------------------------------------------------- */
1248
1249 body {
1250     font:normal 12px/1.6666 'Helvetica Neue', Arial, sans-serif;
1251     margin:0;
1252     padding:0;
1253     min-width: 768px;
1254     color:#333;
1255     overflow: hidden;
1256     -webkit-font-smoothing: subpixel-antialiased;
1257 }
1258
1259 .unsupported {
1260     text-align: center;
1261     vertical-align: middle;
1262     padding-top: 100px;
1263     font-size: 15px;
1264 }
1265
1266 .id-container {
1267     height: 100%;
1268     width: 100%;
1269     position: fixed;
1270     min-width: 768px;
1271 }
1272
1273 .limiter {
1274     position: relative;
1275     max-width: 1200px;
1276 }
1277
1278 .spinner {
1279     opacity: .5;
1280     z-index: 2;
1281     position: relative;
1282 }
1283
1284 .spinner img {
1285     position: fixed;
1286     height: 40px;
1287     width: 40px;
1288     right: 10px;
1289     top: 10px;
1290     margin: auto;
1291     border-radius: 4px;
1292     background: black;
1293 }
1294
1295 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
1296     -moz-box-sizing: border-box;
1297     -webkit-box-sizing: border-box;
1298     box-sizing: border-box;
1299 }
1300
1301 a, button, input, textarea {
1302     -webkit-tap-highlight-color:rgba(0,0,0,0);
1303     -webkit-touch-callout:none;
1304 }
1305
1306 a,
1307 button,
1308 .checkselect label:hover,
1309 .opacity-options li,
1310 .radial-menu-item {
1311     cursor: pointer; /* Opera */
1312     cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1313     cursor: -webkit-image-set(
1314         url(<%= asset_path("iD/img/cursor-pointer.png") %>) 1x,
1315         url(<%= asset_path("iD/img/cursor-pointer2x.png") %>) 2x
1316         ) 6 1, pointer;
1317 }
1318
1319 h2 {
1320     font-size: 25px;
1321     line-height: 1.25;
1322     font-weight: bold;
1323     margin-bottom: 20px;
1324 }
1325
1326 h3:last-child,
1327 h2:last-child,
1328 h4:last-child { margin-bottom: 0;}
1329
1330 h3 {
1331     font-size: 16px;
1332     line-height: 1.25;
1333     font-weight: bold;
1334     margin-bottom: 10px;
1335 }
1336
1337 h4, h5 {
1338     font-size: 12px;
1339     font-weight: bold;
1340     padding-bottom: 10px;
1341 }
1342
1343 :focus {
1344     outline-color: transparent;
1345     outline-style: none;
1346 }
1347
1348 p {
1349     font-size: 12px;
1350     margin:0;
1351     padding:0;
1352 }
1353
1354 p:last-child {
1355     padding-bottom: 0;
1356 }
1357
1358 em {
1359     font-style: italic;
1360 }
1361
1362 strong {
1363     font-weight: bold;
1364 }
1365
1366 a:visited, a {
1367     color: #7092ff;
1368     -webkit-transition: all 100ms;
1369        -moz-transition: all 100ms;
1370          -o-transition: all 100ms;
1371             transition: all 100ms;
1372 }
1373
1374 a:hover {
1375     color:#597be7;
1376 }
1377
1378 /* Forms
1379 ------------------------------------------------------- */
1380
1381 textarea  {
1382     resize: vertical;
1383     font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
1384 }
1385
1386 textarea,
1387 input[type=text],
1388 input[type=search],
1389 input[type=number],
1390 input[type=url],
1391 input[type=tel],
1392 input[type=email] {
1393     background-color: white;
1394     border:1px solid #ccc;
1395     padding:5px 10px;
1396     height:30px;
1397     width: 100%;
1398     border-radius:4px;
1399     -webkit-transition: all 100ms;
1400        -moz-transition: all 100ms;
1401        -o-transition: all 100ms;
1402             transition: all 100ms;
1403 }
1404
1405 textarea:focus,
1406 input:focus {
1407     background-color: #F1F1F1;
1408 }
1409
1410 input.major {
1411     width: 100%;
1412     padding:5px 10px;
1413     font-size: 18px;
1414     font-weight: bold;
1415     height:60px;
1416 }
1417
1418 /* remove bottom border radius when combox is open */
1419 .combobox + div textarea:focus,
1420 .combobox + div input:focus {
1421     border-bottom-left-radius: 0;
1422     border-bottom-right-radius: 0;
1423 }
1424
1425 /* tables */
1426
1427 table {
1428     background-color: white;
1429     border-collapse: collapse;
1430     width:100%;
1431     border-spacing:0;
1432 }
1433
1434 table th {
1435     text-align:left;
1436 }
1437
1438 table.tags, table.tags td, table.tags th {
1439     border: 1px solid #CCC;
1440     padding: 4px;
1441 }
1442
1443 /* Grid
1444 ------------------------------------------------------- */
1445
1446 .col0    { float:left; width:04.1666%; }
1447 .col1    { float:left; width:08.3333%; }
1448 .col2    { float:left; width:16.6666%; }
1449 .col3    { float:left; width:25.0000%; max-width: 300px; }
1450 .col4    { float:left; width:33.3333%; max-width: 400px; }
1451 .col5    { float:left; width:41.6666%; max-width: 500px; }
1452 .col6    { float:left; width:50.0000%; max-width: 600px; }
1453 .col7    { float:left; width:58.3333%; }
1454 .col8    { float:left; width:66.6666%; }
1455 .col9    { float:left; width:75.0000%; }
1456 .col10   { float:left; width:83.3333%; }
1457 .col11   { float:left; width:91.6666%; }
1458 .col12   { float:left; width:100.0000%; }
1459
1460 /* UI Lists
1461 ------------------------------------------------------- */
1462
1463 ul li { list-style: none;}
1464
1465 ul.toggle-list {
1466     border-radius: 4px;
1467     border: 1px solid #CCC;
1468     margin-bottom: 10px;
1469 }
1470
1471 ul.toggle-list li a {
1472     position: relative;
1473     padding: 5px 10px 5px 25px;
1474     display:block;
1475     border-top: 1px solid #ccc;
1476 }
1477
1478 ul.toggle-list li:first-child a {
1479     border-top: 0;
1480     border-radius: 3px 3px 0 0;
1481 }
1482
1483 ul.toggle-list li:last-child a {
1484     border-radius: 0 0 3px 3px;
1485 }
1486
1487 ul.toggle-list li:only-child a {
1488     border-radius: 3px;
1489 }
1490
1491 ul.toggle-list li a:hover { background-color: #ececec;}
1492
1493 ul.toggle-list li a.selected { background-color: #e8ebff;}
1494
1495 ul.link-list li {
1496     float: right;
1497     border-left: 1px solid rgba(255,255,255,.5);
1498     padding: 5px 0 5px 5px;
1499     margin-left: 5px;
1500 }
1501
1502 ul.link-list li:last-child {
1503     border-left: 0;
1504     margin-left: 0;
1505     padding-left: 0;
1506 }
1507
1508 .toggle-list a::before {
1509     content: "";
1510     display: inline-block;
1511     border-radius: 50%;
1512     height: 12px;
1513     width: 12px;
1514     margin-right: 10px;
1515     border: 1px solid #CCC;
1516     position: absolute;
1517     left: 5px;
1518     top: 8px;
1519 }
1520
1521 .toggle-list a:hover::before {
1522     box-shadow: inset 0 0 0 2px white;
1523 }
1524
1525 .toggle-list a.selected::before {
1526     background: #7092ff;
1527     box-shadow: inset 0 0 0 2px white;
1528 }
1529
1530 /* Utility Classes
1531 ------------------------------------------------------- */
1532 .fillL {
1533     background: white;
1534     color: #333;
1535 }
1536
1537 .fillL2 {
1538     background: #f7f7f7 url(<%= asset_path("iD/img/background-pattern-1.png") %>) repeat;
1539     color: #333;
1540 }
1541
1542 .fillL3 {
1543     background: #f1f1f1;
1544     color: #333;
1545 }
1546
1547 .fillD {
1548     background:rgba(0,0,0,.5);
1549     color: white;
1550 }
1551
1552 .fl { float: left;}
1553 .fr { float: right;}
1554
1555 div.hide,
1556 form.hide,
1557 button.hide,
1558 a.hide {
1559     display: none;
1560 }
1561
1562 .deemphasize {
1563     color: #a9a9a9;
1564 }
1565
1566 .content {
1567     box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
1568 }
1569
1570 .loading {
1571     background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
1572     background-size:5px 5px;
1573 }
1574
1575 .panewrap {
1576     position:absolute;
1577     width:200%;
1578     height:100%;
1579     right: -100%;
1580 }
1581
1582 .pane {
1583     position:absolute;
1584     width:50%;
1585     height:100%;
1586 }
1587
1588 .pane:first-child {
1589     left: 0;
1590 }
1591
1592 .pane:last-child {
1593     right: 0;
1594 }
1595
1596 /* Buttons */
1597
1598 button {
1599     text-align: center;
1600     font-weight:bold;
1601     line-height:20px;
1602     border:0;
1603     background: white;
1604     color:#333;
1605     font-size:12px;
1606     display: inline-block;
1607     height:40px;
1608     border-radius:4px;
1609     /* Crashes Safari: https://github.com/systemed/iD/issues/1188 */
1610     /*-webkit-transition: all 100ms;*/
1611        -moz-transition: all 100ms;
1612          -o-transition: all 100ms;
1613             transition: all 100ms;
1614 }
1615
1616 button:focus,
1617 button:hover {
1618     background-color: #ececec;
1619 }
1620
1621 button[disabled],
1622 button.disabled {
1623     background-color: rgba(255,255,255,.25);
1624     color: rgba(0,0,0,.5);
1625     cursor: auto;
1626 }
1627
1628 button.active:not([disabled]):not(.disabled) {
1629     background: #7092ff;
1630 }
1631
1632 button.minor {
1633     position: absolute;
1634     top: 0;
1635     right: 0;
1636     height: 100%;
1637     width: 20px;
1638     opacity: .5;
1639     border-radius: 0;
1640 }
1641
1642 .button-wrap {
1643     display: inline-block;
1644     padding-right:10px;
1645     margin: 0;
1646 }
1647
1648 .button-wrap button:only-child { width: 100%;}
1649 .button-wrap:last-of-type { padding-right: 0;}
1650
1651 .joined button {
1652     border-radius:0;
1653     border-right: 1px solid rgba(0,0,0,.5);
1654 }
1655
1656 .joined button:first-child {
1657     border-radius:4px 0 0 4px;
1658 }
1659
1660 .joined button:last-child {
1661     border-right-width: 0;
1662     border-radius:0 4px 4px 0;
1663 }
1664
1665 button.action {
1666     background: #7092ff;
1667 }
1668
1669 button.action:focus,
1670 button.action:hover {
1671     background: #597BE7;
1672 }
1673
1674 button.save.has-count {
1675     padding: 9px;
1676 }
1677
1678 button.save .count {
1679     display: none;
1680 }
1681
1682 button.save.has-count .count {
1683     display: block;
1684     position: absolute;
1685     top: 5px;
1686     background: rgba(255, 255, 255, .5);
1687     color: #333;
1688     padding: 10px;
1689     height: 30px;
1690     line-height: 12px;
1691     border-radius: 4px;
1692     margin: auto;
1693     margin-left: 8.3333%;
1694 }
1695
1696 button.save.has-count .count::before {
1697     content: "";
1698     margin: auto;
1699     width: 0;
1700     height: 0;
1701     position: absolute;
1702     left: -6px;
1703     top: 0;
1704     bottom: 0;
1705     border-top:    6px solid transparent;
1706     border-bottom: 6px solid transparent;
1707     border-right:  6px solid rgba(255,255,255,.5);
1708 }
1709
1710 /* Icons */
1711
1712 .icon {
1713   display:inline-block;
1714   vertical-align:top;
1715   width:20px;
1716   height:20px;
1717   background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 0;
1718   text-indent:-9999px;
1719   overflow:hidden;
1720   }
1721
1722 .icon-pre-text {
1723     margin-right: 3px;
1724 }
1725
1726 .user-icon {
1727     max-height: 20px;
1728     max-width: 20px;
1729     height: auto;
1730     width: auto;
1731     border-radius: 3px;
1732 }
1733
1734 /* Definitions for every icon */
1735 .icon.browse     { background-position:   0 0;}
1736 .icon.add-point  { background-position: -20px 0;}
1737 .icon.add-line   { background-position: -40px 0;}
1738 .icon.add-area   { background-position: -60px 0;}
1739 .icon.undo       { background-position: -80px 0;}
1740 .icon.redo       { background-position: -100px 0;}
1741 .icon.apply      { background-position: -120px 0;}
1742 .icon.save       { background-position: -140px 0;}
1743 .icon.close      { background-position: -160px 0;}
1744 .icon.delete     { background-position: -180px 0;}
1745 .icon.remove     { background-position: -200px 0;}
1746 .icon.inspect    { background-position: -220px 0;}
1747 .icon.zoom-in    { background-position: -240px 0;}
1748 .icon.zoom-out   { background-position: -260px 0;}
1749 .icon.plus       { background-position: -240px 0;}
1750 .icon.search     { background-position: -280px 0;}
1751 .icon.geocode    { background-position: -280px 0;}
1752 .icon.layers     { background-position: -300px 0;}
1753 .icon.avatar     { background-position: -320px 0;}
1754 .icon.nearby     { background-position: -340px 0;}
1755 .icon.geolocate  { background-position: -360px 0;}
1756 .icon.warning    { background-position: -380px 0;}
1757 .icon.back       { background-position: -420px 0;}
1758 .icon.forward    { background-position: -440px 0;}
1759 .icon.help       { background-position: -460px 0;}
1760
1761 .icon.inspect.light    { background-position: -220px -20px;}
1762 .icon.geocode.light    { background-position: -280px -20px;}
1763 .icon.help.light       { background-position: -460px -20px;}
1764 .icon.avatar.light     { background-position: -320px -20px;}
1765 .icon.nearby.light     { background-position: -340px -20px;}
1766
1767 .icon.back.blue        { background-position: -420px -20px;}
1768 .icon.forward.blue     { background-position: -440px -20px;}
1769
1770 button[disabled] .icon.browse     { background-position:   0 -40px;}
1771 button[disabled] .icon.add-point  { background-position: -20px -40px;}
1772 button[disabled] .icon.add-line   { background-position: -40px -40px;}
1773 button[disabled] .icon.add-area   { background-position: -60px -40px;}
1774 button.disabled  .icon.undo       { background-position: -80px -40px;}
1775 button.disabled  .icon.redo       { background-position: -100px -40px;}
1776 button[disabled] .apply.icon      { background-position: -120px -40px;}
1777 button[disabled] .close.icon      { background-position: -160px -40px;}
1778 button[disabled] .delete.icon     { background-position: -180px -40px;}
1779 button[disabled] .icon.remove     { background-position: -200px -40px;}
1780 button[disabled] .icon.inspect    { background-position: -220px -40px;}
1781 button[disabled] .icon.zoom-in    { background-position: -240px -40px;}
1782 button[disabled] .icon.zoom-out   { background-position: -260px -40px;}
1783 button[disabled] .icon.geocode    { background-position: -280px -40px;}
1784 button[disabled] .icon.layers     { background-position: -300px -40px;}
1785 button[disabled] .icon.avatar     { background-position: -320px -40px;}
1786 button[disabled] .icon.nearby     { background-position: -340px -40px;}
1787
1788 /* Out link is special */
1789
1790 .icon.out-link   { height: 14px; width: 14px; background-position: -500px 0;}
1791 a:hover .icon.out-link   { background-position: -500px -14px;}
1792
1793 .icon.plus-dark    { background-position: -240px -40px;}
1794
1795 /* Universal preset icons */
1796
1797 .icon.source     { background-position:   0 -200px;}
1798 .icon.address    { background-position: -20px -200px;}
1799 .icon.telephone  { background-position: -40px -200px;}
1800 .icon.website    { background-position: -60px -200px;}
1801 .icon.elevation  { background-position: -80px -200px;}
1802 .icon.wikipedia  { background-position: -100px -200px;}
1803 .icon.note       { background-position: -120px -200px;}
1804 .icon.wheelchair { background-position: -140px -200px;}
1805
1806 /* ToolBar / Persistent UI Elements
1807 ------------------------------------------------------- */
1808
1809 #bar {
1810     position:absolute;
1811     padding: 10px;
1812     left:0;
1813     top:0;
1814     right:0;
1815     height:60px;
1816 }
1817
1818 /* Header for modals / panes
1819 ------------------------------------------------------- */
1820
1821 .header {
1822     border-bottom: 1px solid #ccc;
1823     z-index: 2;
1824     height: 60px;
1825     position: relative;
1826 }
1827
1828 .header h3 {
1829     margin-right: 40px;
1830     margin-bottom: 0;
1831     white-space: nowrap;
1832     text-overflow: ellipsis;
1833     overflow: hidden;
1834 }
1835
1836 .modal > button,
1837 .header button {
1838     height: 100%;
1839     border-radius: 0;
1840     border-left: 1px solid #CCC;
1841     width: 40px;
1842     text-align: center;
1843     overflow: hidden;
1844     position: absolute;
1845     right: 0;
1846     top: 0;
1847 }
1848
1849 .modal > button {
1850     height: 59px;
1851     z-index: 3;
1852 }
1853
1854 /* Inspector
1855 ------------------------------------------------------- */
1856
1857 .inspector-wrap {
1858     position: absolute;
1859     height: 100%;
1860     right: 0;
1861     overflow: hidden;
1862 }
1863
1864 .inspector-body {
1865     overflow-y: scroll;
1866     overflow-x: hidden;
1867     position: absolute;
1868     right: 0;
1869     left: 0;
1870     bottom: 30px;
1871     top: 60px;
1872 }
1873
1874 .pane:first-child .inspector-body {
1875     top: 120px;
1876 }
1877
1878 .inspector-inner {
1879     padding: 20px;
1880     position: relative;
1881 }
1882
1883 .inspector-wrap .header button.preset-reset {
1884     border-right: 1px solid #CCC;
1885     position: relative;
1886 }
1887
1888 .inspector-wrap .header button.preset-reset > div {
1889     height: 100%;
1890     padding: 20px 0;
1891 }
1892
1893 .inspector-wrap .header button.preset-reset .col12:last-child {
1894     position: absolute;
1895     width: 100%;
1896     padding: 20px 0;
1897     opacity: 0;
1898 }
1899
1900 .inspector-wrap .header button:hover .col12:first-child {
1901     opacity: 0;
1902 }
1903
1904 .inspector-wrap .header button:hover .col12:last-child {
1905     opacity: 1;
1906 }
1907
1908 .inspector-wrap .header button.line > div {
1909     padding: 0;
1910 }
1911
1912 .inspector-toggle {
1913     color:#fff;
1914     width: 100%;
1915     display: block;
1916     background:#7092ff;
1917     border: 0;
1918 }
1919
1920 /* Presets
1921 ------------------------------------------------------- */
1922
1923 /* Preset grid  */
1924
1925 .preset-grid  {
1926     width:100%;
1927     padding: 20px 20px 10px 20px;
1928     border-bottom: 1px solid #ccc;
1929 }
1930
1931 .grid-button-wrap {
1932     padding-bottom: 10px;
1933     height: 70px;
1934 }
1935
1936 .grid-entry {
1937     width: 100%;
1938     height: 100%;
1939     position: relative;
1940     border: 1px solid #ccc;
1941     float: left;
1942 }
1943
1944 .grid-inner {
1945     margin-bottom: 20px;
1946 }
1947
1948 .preset-grid.filtered .grid-button-wrap:first-child .grid-entry {
1949     background: #ececec;
1950 }
1951
1952 .preset-icon {
1953     position: absolute;
1954     top: 17px;
1955     left: 17px;
1956     margin: auto;
1957 }
1958
1959 .preset-icon-line {
1960     top: 0;
1961     left: 0;
1962 }
1963
1964 .grid-entry .label {
1965     background: #f6f6f6;
1966     text-align: left;
1967     position: absolute;
1968     padding: 5px 10px;
1969     height: 100%;
1970     bottom: 0;
1971     left: 60px;
1972     right: 0;
1973     white-space: nowrap;
1974     text-overflow: ellipsis;
1975     overflow: hidden;
1976     border-left: 1px solid rgba(0, 0, 0, .1);
1977     line-height: 50px;
1978     }
1979
1980 .grid-entry:hover .label {
1981     background: none;
1982 }
1983
1984 .grid-button-wrap button.tag-reference-button {
1985     float: right;
1986     position: static;
1987     margin-top: -60px;
1988     height: 100%;
1989     border: 1px solid #CCC;
1990     border-radius: 0 3px 3px 0;
1991 }
1992
1993 .current .grid-entry,
1994 .current .grid-entry .label {
1995     background-color: #E8EBFF;
1996 }
1997
1998 .category .grid-entry:after,
1999 .category .grid-entry:before {
2000     content: "";
2001     position: absolute;
2002     top: -5px;
2003     left: -1px; right: -1px;
2004     border: 1px solid #ccc;
2005     border-bottom: none;
2006     border-radius: 6px 6px 0 0;
2007     height: 6px;
2008 }
2009
2010 .category .grid-entry:before {
2011     top: -3px;
2012 }
2013
2014 .preset-grid-search-wrap .icon {
2015     display: block;
2016     position: absolute;
2017     left: 10px;
2018     top: 80px;
2019     pointer-events: none;
2020 }
2021
2022 .preset-grid-search-wrap input {
2023     position: absolute;
2024     top: 60px;
2025     border-radius: 0;
2026     border-width: 0;
2027     border-bottom-width: 1px;
2028     text-indent: 30px;
2029 }
2030
2031 .preset-search-result {
2032     padding: 0 10px;
2033     height:30px;
2034     margin: 5px;
2035 }
2036
2037 .subgrid .preset-grid {
2038     padding: 10px 10px 0 10px;
2039     border: 1px solid #CCC;
2040     margin-top: 0;
2041     border-radius: 8px;
2042 }
2043
2044 .subgrid .arrow {
2045     border: solid rgba(0, 0, 0, 0);
2046     border-width: 10px;
2047     border-bottom-color: #CCC;
2048     width: 0;
2049     height: 0;
2050     margin-left: 50%;
2051     margin-left: -webkit-calc(50% - 10px);
2052     margin-top: -10px;
2053 }
2054
2055 .show-more {
2056     text-align: center;
2057     width: 100%;
2058     border-bottom: 1px solid #ccc;
2059     border-radius: 0;
2060 }
2061
2062 .show-more a {
2063     color: #222;
2064 }
2065
2066 /* Preset icon colors */
2067
2068 .inspector-body-line .icon.feature-marker-stroked {
2069     top: 30px;
2070 }
2071
2072 .preset-icon-fill.icon-area {
2073     cursor: inherit;
2074     height: 45px;
2075     width: 45px;
2076     margin: auto;
2077     position: absolute;
2078     left: 7px; top: 7px;
2079     background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -240px -80px;
2080 }
2081
2082 .preset-icon-fill.tag-shop,
2083 .preset-icon-fill.tag-building {
2084     background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -80px;
2085 }
2086
2087 .preset-icon-fill.tag-natural-water {
2088     background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -60px -80px;
2089 }
2090
2091 .preset-icon-fill.tag-landuse,
2092 .preset-icon-fill.tag-natural-wood,
2093 .preset-icon-fill.tag-natural-tree,
2094 .preset-icon-fill.tag-natural-grassland,
2095 .preset-icon-fill.tag-leisure-park {
2096     background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -120px -80px;
2097 }
2098
2099 .preset-icon-fill.tag-amenity-parking {
2100     background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -180px -80px;
2101 }
2102
2103 /* preset form basics */
2104
2105 .tag-wrap .preset-icon-wrap {
2106     border-bottom: 1px solid #CCC;
2107     background-color: #e8ebff;
2108 }
2109
2110 .tag-wrap .preset-icon-wrap::after {
2111     content: "";
2112     position: absolute;
2113     height: 0;
2114     width: 0;
2115     bottom: 0;
2116     left: 0;
2117     right: 0;
2118     margin: auto;
2119     border: solid rgba(0, 0, 0, 0);
2120     border-width: 10px;
2121     border-bottom-color: #CCC;
2122 }
2123
2124 .tag-wrap .preset-icon-wrap > div {
2125     height: 60px;
2126     width: 60px;
2127     margin: auto;
2128     border-radius: 4px;
2129     border: 1px solid #CCC;
2130     position: relative;
2131 }
2132
2133 .inspector-preset .form-field {
2134     padding-left: 20px;
2135     padding-right: 20px;
2136 }
2137
2138 .form-label {
2139     position: relative;
2140     font-weight: bold;
2141     border: 1px solid #cfcfcf;
2142     padding: 5px 0 5px 10px;
2143     background: #f6f6f6;
2144     display: block;
2145     border-radius: 4px 4px 0 0;
2146 }
2147
2148 .form-label button {
2149     border-left: 1px solid #CCC;
2150 }
2151
2152 .form-label .modified-icon {
2153     border-right: 0;
2154     opacity: 0;
2155     right: 20px;
2156 }
2157
2158 .modified .form-label .modified-icon {
2159     opacity: .5;
2160 }
2161
2162 .form-label button.tag-reference-button {
2163     border-top-right-radius: 3px;
2164 }
2165
2166 .form-field > input,
2167 .form-field > textarea,
2168 .form-field .preset-input-wrap {
2169     border: 1px solid #CCC;
2170     border-top: 0;
2171     border-radius: 0 0 4px 4px;
2172 }
2173
2174 .form-field textarea {
2175     height: 65px;
2176 }
2177
2178 .form-field-name input.localized-main {
2179     height: 35px;
2180     font-size: 18px;
2181     font-weight: bold;
2182 }
2183
2184 /* adding additional preset fields */
2185
2186 .more-buttons {
2187     margin-top: 20px;
2188     border-top: 1px solid #CCC;
2189 }
2190
2191 .more-buttons:nth-last-child(2) {
2192     border-bottom: 1px solid #CCC;
2193 }
2194
2195 button.preset-add-field {
2196     width: 25%;
2197     height: 40px;
2198     -webkit-transition: width 200ms;
2199     -moz-transition: width 200ms;
2200     -o-transition: width 200ms;
2201     transition: width 200ms;
2202 }
2203
2204 /* set width based on # of buttons */
2205
2206 button.preset-add-field:nth-last-child(4),
2207 button.preset-add-field:nth-last-child(4) ~ button.preset-add-field {
2208     width: 25%;
2209 }
2210
2211 button.preset-add-field:nth-last-child(5),
2212 button.preset-add-field:nth-last-child(5) ~ button.preset-add-field {
2213     width: 20%;
2214 }
2215
2216 button.preset-add-field:nth-last-child(6),
2217 button.preset-add-field:nth-last-child(6) ~ button.preset-add-field {
2218     width: 16.6666%;
2219 }
2220
2221 button.preset-add-field:nth-last-child(7),
2222 button.preset-add-field:nth-last-child(7) ~ button.preset-add-field {
2223     width: 14.2857%;
2224 }
2225
2226 button.preset-add-field:nth-last-child(8),
2227 button.preset-add-field:nth-last-child(8) ~ button.preset-add-field {
2228     width: 12.5%;
2229 }
2230
2231 .preset-add-field .tooltip.top .tooltip-arrow {
2232     border-top-color: #000;
2233 }
2234
2235 .preset-add-field .tooltip-inner {
2236     background: #000;
2237     color: #ccc;
2238 }
2239
2240 .preset-fav button.fav {
2241     height: 30px;
2242     margin: 5px;
2243     padding: 0 10px;
2244 }
2245
2246 /* preset form access */
2247
2248 .preset-input-wrap li {
2249     border-bottom: 1px solid #CCC;
2250 }
2251 .preset-input-wrap li:last-child {
2252     border-bottom: 0;
2253 }
2254
2255 .preset-input-wrap .label {
2256     background: #F6F6F6;
2257     padding: 5px;
2258 }
2259
2260 .preset-input-access-wrap input {
2261     border-radius: 0;
2262     border-width: 0;
2263     border-left-width: 1px;
2264 }
2265
2266 .preset-input-wrap li:last-child input {
2267     border-bottom-right-radius: 4px;
2268 }
2269
2270 /* preset form numbers */
2271
2272 input[type=number] {
2273     position: relative;
2274     padding-right: 65px;
2275 }
2276
2277 .spin-control {
2278     width: 41px;
2279     height: 29px;
2280     border-left: 1px solid #CCC;
2281     display: inline-block;
2282     margin-left: -41px;
2283     margin-bottom: -11px;
2284     position: relative;
2285 }
2286
2287 .spin-control button {
2288     position: relative;
2289     float: left;
2290     height: 100%;
2291     width: 50%;
2292     border-left: 1px solid #CCC;
2293     border-right: 1px solid #CCC;
2294     border-radius: 0;
2295     border-left: 0;
2296     background: rgba(0, 0, 0, 0);
2297 }
2298
2299 .spin-control button.decrement {
2300     border-bottom-right-radius: 3px;
2301 }
2302
2303 .spin-control button.decrement::after,
2304 .spin-control button.increment::after {
2305     content:"";
2306     height: 0; width: 0;
2307     position: absolute;
2308     left: 0; right: 0; bottom: 0; top: 0;
2309     margin: auto;
2310 }
2311
2312 .spin-control button.decrement::after {
2313     border-top: 5px solid #CCC;
2314     border-left: 5px solid transparent;
2315     border-right: 5px solid transparent;
2316 }
2317
2318 .spin-control button.increment::after {
2319     border-bottom: 5px solid #CCC;
2320     border-left: 5px solid transparent;
2321     border-right: 5px solid transparent;
2322 }
2323
2324 /* preset form checkbox */
2325
2326 .checkselect label:last-of-type {
2327     display: block;
2328     padding: 5px;
2329     box-sizing: border-box;
2330     color: #999;
2331 }
2332
2333 .checkselect label:hover {
2334     background: #f1f1f1;
2335 }
2336
2337 .checkselect .set {
2338     color: inherit;
2339 }
2340
2341 .checkselect input[type="checkbox"] {
2342     margin-right: 5px;
2343     width: 20px;
2344     vertical-align: middle;
2345     opacity: 0.5;
2346 }
2347
2348 .checkselect .set input[type="checkbox"] {
2349     opacity: 1;
2350 }
2351
2352 /* Preset form radio button */
2353
2354 .radio-wrap button {
2355     position: relative;
2356     text-align: left;
2357     font-weight: normal;
2358     height: 30px;
2359     border-radius: 0;
2360     border-bottom: 1px solid #CCC;
2361     color: #7092FF;
2362     width: 100%;
2363     padding-left: 25px;
2364 }
2365
2366 .radio-wrap button::before {
2367     content: "";
2368     display: inline-block;
2369     border-radius: 50%;
2370     height: 12px;
2371     width: 12px;
2372     margin-right: 10px;
2373     border: 1px solid #CCC;
2374     position: absolute;
2375     left: 5px;
2376     top: 8px;
2377 }
2378
2379 .radio-wrap button:hover::before {
2380     box-shadow: inset 0 0 0 2px white;
2381 }
2382
2383 .radio-wrap button.active::before {
2384     background: #7092ff;
2385     box-shadow: inset 0 0 0 2px white;
2386 }
2387
2388 .radio-wrap button:last-child {
2389     border-bottom: 0;
2390 }
2391
2392 .radio-wrap button.active {
2393     background-color: #E8EBFF !important;
2394 }
2395
2396 .radio-wrap button.remove {
2397     border-radius: 0 0 3px 3px;
2398 }
2399 .radio-wrap button.remove .icon {
2400     position: absolute;
2401     left: 2px;
2402 }
2403
2404 .radio-wrap button.remove::before {
2405     content: none;
2406 }
2407
2408 .form-field .localized-main {
2409     width: 90%;
2410     border-radius: 0 0 0 4px;
2411 }
2412
2413 .form-field .localized-add {
2414     width: 10%;
2415     height: 35px;
2416     border-radius: 0 0 4px 0;
2417     border-bottom: 1px solid #ccc;
2418     border-right: 1px solid #ccc;
2419     vertical-align: top;
2420 }
2421
2422 .form-field .localized-wrap .entry .localized-lang {
2423     border-top: none;
2424     border-right: none;
2425     border-radius: 0;
2426     width: 30%;
2427 }
2428
2429 .form-field .localized-wrap .entry .localized-value {
2430     border-top: none;
2431     border-radius: 0;
2432     width: 60%;
2433 }
2434
2435 .form-field .localized-wrap .entry .localized-remove {
2436     height: 30px;
2437     border-radius: 0;
2438     border-bottom: 1px solid #ccc;
2439     border-right: 1px solid #ccc;
2440     vertical-align: top;
2441     width: 10%;
2442 }
2443
2444 .form-field .localized-wrap .entry:last-child .localized-lang {
2445     border-radius: 0 0 0 4px;
2446 }
2447
2448 .form-field .localized-wrap .entry:last-child .localized-remove {
2449     border-radius: 0 0 4px 0;
2450 }
2451
2452 .form-field .wiki-lang {
2453     width: 30%;
2454     border-right: none;
2455     border-radius: 0 0 0 4px;
2456 }
2457
2458 .form-field .wiki-title {
2459     width: 60%;
2460     border-right: none;
2461     border-radius: 0;
2462 }
2463
2464 .form-field .wiki-link {
2465     border-radius: 0 0 4px 0;
2466     border: 1px solid #ccc;
2467     border-top: none;
2468     height: 30px;
2469     width: 10%;
2470     float: right;
2471     padding: 5px;
2472     text-align: center;
2473     -webkit-transition: all 100ms;
2474        -moz-transition: all 100ms;
2475          -o-transition: all 100ms;
2476             transition: all 100ms;
2477 }
2478
2479 .form-field .wiki-link:hover {
2480     background: #ececec;
2481 }
2482
2483 #preset-input-maxspeed {
2484     border-right: none;
2485     border-radius: 0 0 0 4px;
2486     width: 80%;
2487 }
2488
2489 .form-field .maxspeed-unit {
2490     border-radius: 0 0 4px 0;
2491     border: 1px solid #ccc;
2492     border-top: none;
2493     height: 30px;
2494     width: 20%;
2495     float: right;
2496     padding: 5px;
2497     text-align: center;
2498     color: #A9A9A9;
2499     font-weight: bold;
2500 }
2501
2502 /* Preset form address */
2503
2504 .form-field .addr-housename {
2505     border: 0;
2506 }
2507
2508 .form-field .addr-number {
2509     width: 33%;
2510     border-left: 0;
2511     border-right: 0;
2512     border-bottom: 0;
2513     border-radius: 0;
2514 }
2515
2516 .form-field .addr-street {
2517     width: 66%;
2518     border-right: 0;
2519     border-bottom: 0;
2520     border-radius: 0;
2521 }
2522
2523 .form-field .addr-city {
2524     width: 66%;
2525     border-left: 0;
2526     border-right: 0;
2527     border-bottom: 0;
2528     border-radius: 0 0 0 4px;
2529 }
2530
2531 .form-field .addr-postcode {
2532     width: 33%;
2533     border-right: 0;
2534     border-bottom: 0;
2535     border-radius: 0 0 4px 0;
2536 }
2537 /* combobox dropdown */
2538
2539 div.combobox {
2540     z-index: 9999;
2541     display: none;
2542     box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
2543     margin-top: -1px;
2544     background: white;
2545     max-height: 120px;
2546     overflow-y: auto;
2547     overflow-x: hidden;
2548     border: 1px solid #ccc;
2549     border-radius: 0 0 4px 4px;
2550 }
2551
2552 .combobox a {
2553     display: block;
2554     padding: 5px 10px;
2555     border-top:1px solid #ccc;
2556     text-overflow: ellipsis;
2557     white-space: nowrap;
2558     overflow: hidden;
2559 }
2560
2561 .combobox a.selected,
2562 .combobox a:hover {
2563     background: #ececec;
2564 }
2565
2566 .combobox a:first-child {
2567     border-top: 0;
2568 }
2569
2570 .combobox-carat {
2571     margin-left: -20px;
2572     margin-right: 10px;
2573     display:inline-block;
2574     border-top: 5px solid #ccc;
2575     border-left: 5px solid transparent;
2576     border-right: 5px solid transparent;
2577 }
2578
2579 /* tag editor */
2580
2581 .inspector-inner.additional-tags {
2582     border-top: 1px solid #ccc;
2583 }
2584
2585 .tag-list {
2586     margin-right: 40px;
2587 }
2588
2589 .tag-row {
2590     width: 100%;
2591     position: relative;
2592     clear: both;
2593 }
2594
2595 .tag-row input {
2596     border: 0;
2597     border-radius: 0;
2598     border-bottom: 1px solid #CCC;
2599     border-left: 1px solid #CCC;
2600 }
2601
2602 .tag-row input.key {
2603     background-color: #f6f6f6;
2604 }
2605
2606 .tag-row input.value {
2607     border-right: 1px solid #CCC;
2608 }
2609
2610 .tag-row:first-child input.key {
2611     border-top: 1px solid #CCC;
2612     border-top-left-radius: 4px;
2613 }
2614
2615 .tag-row:first-child input.value {
2616     border-top: 1px solid #CCC;
2617 }
2618
2619 .tag-row button {
2620     position: absolute;
2621     height: 30px;
2622     right: -20px;
2623     border: 1px solid #CCC;
2624     border-top-width: 0; border-left-width: 0;
2625     border-radius: 0;
2626     opacity: 1;
2627     background: #fafafa;
2628 }
2629
2630 .tag-row button:hover {
2631     background: #f1f1f1;
2632 }
2633
2634 .tag-row button .icon {
2635     opacity: .5;
2636 }
2637
2638 .tag-row:first-child button {
2639     border-top-width: 1px;
2640 }
2641
2642 .tag-row:first-child button.tag-help-button {
2643     border-top-right-radius: 4px;
2644 }
2645
2646 .tag-row:last-child button.tag-help-button {
2647     border-bottom-right-radius: 4px;
2648 }
2649
2650 .tag-row button.tag-help-button {
2651     right: -40px;
2652 }
2653
2654 /* Adding form fields to tag editor */
2655
2656 .inspector-inner .add-tag {
2657     width: -webkit-calc(50% - 20px);
2658     width: calc(50% - 20px);
2659     height: 30px;
2660     border-top: 0;
2661     background: rgba(0,0,0,.5);
2662     border-radius: 0 0 4px 4px;
2663 }
2664
2665 .inspector-inner .add-tag:hover {
2666     background: rgba(0,0,0,.8);
2667 }
2668
2669 .inspector-inner .add-tag .label {
2670     display: none;
2671 }
2672
2673 /* Tag reference */
2674
2675 .preset-inspect {
2676     position: relative;
2677 }
2678
2679 .tag-help {
2680     overflow: hidden;
2681 }
2682
2683 .tag-help a {
2684     margin-top: 5px;
2685     display: block;
2686 }
2687
2688 .grid-pane .tag-reference-wrap {
2689     padding: 10px 0 20px 0;
2690 }
2691
2692 .tag-pane .tag-reference-wrap {
2693     padding-top: 20px;
2694 }
2695
2696 .additional-tags .tag-reference-wrap {
2697     border-bottom: 1px solid #ccc;
2698     padding: 20px 0;
2699 }
2700
2701 .additional-tags div.tag-help {
2702     float: left;
2703     width: 100%;
2704     width: -webkit-calc(100% + 40px);
2705     width: calc(100% + 40px);
2706 }
2707
2708 img.wiki-image {
2709     float: right;
2710     width: 33.3333%;
2711     width: -webkit-calc(33.3333% - 10px);
2712     width: calc(33.3333% - 10px);
2713     margin-left: 20px;
2714     margin-right: 10px;
2715     border-radius: 4px;
2716     max-height: 200px;
2717 }
2718
2719 /* Map Controls */
2720
2721 .map-controls {
2722     left: 0;
2723     top: 80px;
2724     width: 30px;
2725     position: absolute;
2726     z-index: 100;
2727 }
2728
2729 .map-control > button {
2730     width: 30px;
2731     background: rgba(0,0,0,.5);
2732     border-radius: 0;
2733 }
2734
2735 .map-control > button:hover {
2736     background: rgba(0, 0, 0, .8);
2737 }
2738
2739 .map-control > button.active:hover {
2740     background: #7092ff;
2741 }
2742
2743 .map-overlay {
2744     z-index: -1;
2745     right: 75%;
2746     max-width: 260px;
2747     min-width: 210px;
2748     position: fixed;
2749     left: 30px;
2750     display: block;
2751     padding: 10px 10px 0 10px;
2752 }
2753
2754 /* Zoomer */
2755
2756 .zoombuttons button.zoom-in {
2757     border-radius:0 4px 0 0;
2758 }
2759
2760 /* Background Settings */
2761
2762 .background-control button {
2763     border-radius:0 4px 0 0;
2764 }
2765
2766 .background-control button.active {
2767     border-radius: 0;
2768 }
2769
2770 .nudge-container {
2771     border-top: 1px solid #CCC;
2772     margin: 0 -10px;
2773 }
2774
2775 .background-control .adjustments button:last-child {
2776     border: 0;
2777 }
2778
2779 .hide-toggle {
2780     display: block;
2781     padding: 0 0 10px 12px;
2782     position: relative;
2783 }
2784
2785 .hide-toggle:before {
2786     content: '';
2787     display: block;
2788     position: absolute;
2789     height: 0;
2790     width: 0;
2791     left: 0;
2792     top: 5px;
2793     border-top:  4px solid transparent;
2794     border-bottom:  4px solid transparent;
2795     border-left:  8px solid #7092ff;
2796 }
2797
2798 .hide-toggle.expanded:before {
2799     border-top:  8px solid #7092ff;
2800     border-bottom: 0;
2801     border-right:  4px solid transparent;
2802     border-left:  4px solid transparent;
2803 }
2804
2805 .background-control .nudge-container button {
2806     float: left;
2807     display: block;
2808     width:20%;
2809     border-radius: 0;
2810     border-right: 1px solid #CCC;
2811     position: relative;
2812 }
2813
2814 .background-control .nudge::after {
2815     content: '';
2816     display: block;
2817     position: absolute;
2818     margin: auto;
2819     left: 0; right: 0; top: 0; bottom: 0;
2820     height: 0;
2821     width: 0;
2822 }
2823
2824 .background-control .nudge.left::after {
2825     border-top:  5px solid transparent;
2826     border-bottom:  5px solid transparent;
2827     border-left:  5px solid #222;
2828 }
2829
2830 .background-control .nudge.right::after {
2831     border-top:  5px solid transparent;
2832     border-bottom:  5px solid transparent;
2833     border-right:  5px solid #222;
2834 }
2835
2836 .background-control .nudge.top::after {
2837     border-right:  5px solid transparent;
2838     border-left:  5px solid transparent;
2839     border-bottom:  5px solid #222;
2840 }
2841
2842 .background-control .nudge.bottom::after {
2843     border-right:  5px solid transparent;
2844     border-left:  5px solid transparent;
2845     border-top:  5px solid #222;
2846 }
2847
2848 .opacity-options {
2849     background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
2850     height:20px;
2851     width:62px;
2852     position: absolute;
2853     right: 10px;
2854     top: 10px;
2855     border: 1px solid #ccc;
2856 }
2857
2858 .opacity-options li {
2859     height: 100%;
2860     display: block;
2861     float: left;
2862 }
2863
2864 .opacity-options li .select-box{
2865     position: absolute;
2866     width:20px;
2867     height:18px;
2868     z-index: 9999;
2869 }
2870
2871 .background-control li:hover .select-box,
2872 .background-control li.selected .select-box {
2873     border: 2px solid #7092ff;
2874     background: rgba(89, 123, 231, .5);
2875     opacity: .5;
2876 }
2877
2878 .background-control li.selected:hover .select-box,
2879 .background-control li.selected .select-box {
2880     opacity: 1;
2881 }
2882
2883 .background-control .opacity {
2884     background:#222;
2885     display:inline-block;
2886     width:20px;
2887     height:18px;
2888 }
2889
2890 .background-control .layer-toggle-gpx .layer-extent {
2891     border-left: 1px solid #CCC;
2892 }
2893
2894 .background-control .layer-toggle-gpx.selected .layer-extent {
2895     display:inline-block;
2896 }
2897
2898 /* Geocoder */
2899
2900 .geocode-control form {
2901     top:260px;
2902 }
2903
2904 .geocode-control form {
2905     padding: 5px;
2906 }
2907
2908 .geocode-control input {
2909     width: 100%;
2910 }
2911
2912 .geocode-control div.map-overlay {
2913     border-top: 1px solid #CCC;
2914     z-index: 100;
2915     max-height: 240px;
2916     overflow-y: auto;
2917     padding: 0;
2918     margin-top: 40px;
2919 }
2920
2921 .geocode-control div.map-overlay span {
2922     display: inline-block;
2923     border-bottom: 1px solid #CCC;
2924     padding: 5px 10px;
2925 }
2926 .geocode-control div.map-overlay span.not-found {
2927     line-height: 28px;
2928     width: 100%;
2929 }
2930
2931 .geocode-control a:focus {
2932     text-decoration: underline;
2933 }
2934
2935 /* Geolocator */
2936
2937 .geolocate-control button {
2938     border-radius: 0 0 4px 0;
2939 }
2940
2941 /* Help */
2942
2943 .help-control {
2944     margin-bottom: 20px;
2945 }
2946
2947 .help-control button {
2948     border-radius: 0 0 4px 0;
2949 }
2950
2951 .help-wrap {
2952     position: absolute;
2953     top:60px;
2954     bottom: 30px;
2955     padding: 20px 20px 20px 50px;
2956     left: 0;
2957     overflow-y: scroll;
2958 }
2959
2960 .help-wrap p {
2961     font-size: 15px;
2962     margin-bottom: 20px;
2963 }
2964
2965 .help-wrap .left-content .body p code {
2966     padding:2px 4px;
2967     background:#eee;
2968 }
2969
2970 .help-wrap .toc {
2971     /* This is two columns, 41.66666 x .4 = 16.6666 */
2972     width:40%;
2973     float:right;
2974     margin-left: 20px;
2975     margin-bottom: 20px;
2976     padding-left: 5px
2977 }
2978
2979 .help-wrap .toc li a,
2980 .help-wrap .nav a {
2981     display: block;
2982     border: 1px solid #CCC;
2983     padding: 5px 10px;
2984 }
2985
2986 .help-wrap .toc li a {
2987     border-bottom: 0;
2988 }
2989
2990 .help-wrap .toc li a:hover,
2991 .help-wrap .nav a:hover  {
2992     background: #ececec;
2993 }
2994
2995 .help-wrap .toc li a.selected {
2996     background: #E8EBFF;
2997 }
2998
2999 .help-wrap .toc li:first-child a {
3000     border-radius: 4px 4px 0 0;
3001 }
3002
3003 .help-wrap .toc li:nth-last-child(2) a {
3004     border-bottom: 1px solid #CCC;
3005     border-radius: 0 0 4px 4px
3006 }
3007
3008 .help-wrap .toc li.walkthrough a {
3009     overflow: hidden;
3010     margin-top: 10px;
3011     border-bottom: 1px solid #ccc;
3012     border-radius: 4px;
3013 }
3014
3015 .help-wrap .nav {
3016     position: relative;
3017 }
3018
3019 .help-wrap .nav a {
3020     float: left;
3021     width: 50%;
3022     text-align: center;
3023 }
3024
3025 .help-wrap .nav a:first-child {
3026     border-radius: 4px 0 0 4px;
3027 }
3028
3029 .help-wrap .nav a:last-child:not(:only-child) {
3030     border-radius: 0 4px 4px 0;
3031     border-left: 0;
3032 }
3033
3034 .help-wrap .nav a:only-child {
3035     width: 100%;
3036     border-radius: 4px;
3037 }
3038
3039 /* Map
3040 ------------------------------------------------------- */
3041
3042 #map {
3043     display:block;
3044     position:absolute;
3045     overflow:hidden;
3046     top:0px;
3047     left:0;
3048     right:0;
3049     bottom:0;
3050     background:#000;
3051 }
3052
3053 #supersurface {
3054     transform-origin:0 0;
3055     -ms-transform-origin:0 0;
3056     -webkit-transform-origin:0 0;
3057     -moz-transform-origin:0 0;
3058     -o-transform-origin:0 0;
3059     -moz-user-select: none;
3060     -webkit-user-select: none;
3061     -ms-user-select: none;
3062     user-select: none;
3063 }
3064
3065 #surface, #layer-g, .layer-layer {
3066     position: absolute;
3067 }
3068
3069 /* About Section
3070 ------------------------------------------------------- */
3071
3072 .about-block {
3073     position: absolute;
3074     right:0px;
3075     bottom:0px;
3076     overflow: hidden;
3077     white-space: nowrap;
3078     text-overflow: ellipsis;
3079     border-radius: 0;
3080     opacity: .625;
3081     -webkit-transition: opacity 200ms;
3082     -moz-transition: opacity 200ms;
3083     transition: opacity 200ms;
3084 }
3085
3086 .about-block:hover {
3087     opacity: 1;
3088 }
3089
3090 #about {
3091     text-align: right;
3092     margin-right: 10px;
3093 }
3094
3095 .source-switch a {
3096     padding: 2px 4px 4px 4px;
3097     border-radius: 2px;
3098 }
3099 .source-switch a.live {
3100     background: #d32232;
3101     color:#fff;
3102 }
3103
3104 /* Attribution overlay */
3105 .attribution {
3106     position: absolute;
3107     bottom: 35px;
3108     left:10px;
3109     color:#888;
3110     font-size:10px;
3111 }
3112
3113 .source-image {
3114     height:20px;
3115     vertical-align:top;
3116 }
3117
3118 .user-list a:not(:last-child):after {
3119     content: ', ';
3120 }
3121
3122 /* API Status */
3123
3124 .api-status {
3125     float: left;
3126 }
3127
3128 .api-status.offline,
3129 .api-status.readonly {
3130     background: red;
3131     padding: 5px 10px;
3132 }
3133
3134 /* Account Information */
3135
3136 .account {
3137     float: left;
3138     padding: 5px 10px;
3139 }
3140
3141 .account .logout {
3142     margin-left:10px;
3143     border-left: 1px solid white;
3144     padding-left: 10px;
3145 }
3146
3147 /* Modals
3148 ------------------------------------------------------- */
3149
3150 .modal {
3151     display: inline-block;
3152     position:absolute;
3153     left: 0;
3154     right: 0;
3155     margin: auto;
3156     z-index: 3;
3157 }
3158
3159 .modal .loader {
3160     margin-bottom: 10px;
3161 }
3162
3163 .modal .description {
3164     text-align: center;
3165 }
3166
3167 .shaded {
3168     z-index: 2;
3169     position: absolute;
3170     height: 100%;
3171     width: 100%;
3172     overflow: auto;
3173 }
3174
3175 .shaded:before {
3176     content:'';
3177     background:rgba(0,0,0,0.5);
3178     position:fixed;
3179     left:0px; right:0px; top:0px; bottom:0px;
3180 }
3181
3182 .modal-section {
3183     padding: 20px;
3184     border-bottom: 1px solid #CCC;
3185 }
3186
3187 .modal-section:last-child {
3188     border-bottom: 0;
3189 }
3190
3191 .loading-modal {
3192     text-align: center;
3193 }
3194
3195 .modal-actions button,
3196 .modal-actions a {
3197     background-size: white;
3198     font-weight: normal;
3199     color: #7092FF;
3200     border-bottom: 1px solid #CCC;
3201     border-radius: 0;
3202     height: 180px;
3203     text-align: center;
3204     display: inline-block;
3205 }
3206
3207 .modal-actions a {
3208     /* `button` elements have box-algin: auto, need
3209     compensate this for `a`*/
3210     padding-top: 25px;
3211 }
3212
3213 .modal-actions button:hover,
3214 .modal-actions a:hover {
3215     background-color: #ececec;
3216 }
3217
3218 .modal-actions a:before,
3219 .modal-actions button:before,
3220 .walkthrough a:before {
3221     background-size: white;
3222     display: block;
3223     content: '';
3224     height: 100px;
3225     width: 100px;
3226     margin: auto;
3227     margin-bottom: 10px;
3228     background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -220px;
3229 }
3230
3231 .modal-actions :first-child {
3232     border-right: 1px solid #CCC;
3233 }
3234
3235 /* Restore Modal
3236 ------------------------------------------------------- */
3237
3238 .modal-actions .restore:before {
3239     background-position: -500px -220px;
3240 }
3241
3242 .modal-actions .reset:before {
3243     background-position: -600px -220px;
3244 }
3245
3246 /* Success Modal
3247 ------------------------------------------------------- */
3248
3249 .modal-actions .twitter:before {
3250     background-position: -100px -220px;
3251 }
3252
3253 .modal-actions .facebook {
3254     border-left: 1px solid #ccc;
3255 }
3256
3257 .modal-actions .facebook:before {
3258     background-position: -200px -220px;
3259 }
3260
3261 /* Splash Modal
3262 ------------------------------------------------------- */
3263
3264 .modal-actions .walkthrough:before,
3265 .walkthrough a:before {
3266     background-position: -300px -220px;
3267 }
3268
3269 .modal-actions .start:before {
3270     background-position: -400px -220px;
3271 }
3272
3273 /* Commit Modal
3274 ------------------------------------------------------- */
3275
3276 .commit-modal a.user-info {
3277     display: inline-block;
3278 }
3279
3280 .commit-modal .commit-info {
3281     margin-top: 10px;
3282     padding-bottom: 20px;
3283 }
3284
3285 .commit-modal .user-info img {
3286     float: left;
3287 }
3288
3289 .commit-modal h3 small.count {
3290     margin-right: 10px;
3291     text-align: center;
3292     float: left;
3293     height: 12px;
3294     min-width: 12px;
3295     font-size:12px;
3296     line-height: 12px;
3297     border-radius:24px;
3298     padding:5px;
3299     background:#7092ff;
3300     color:#fff;
3301 }
3302
3303 .commit-modal .changeset-list {
3304     overflow: auto;
3305     border:1px solid #ccc;
3306     border-radius: 4px;
3307     background:#fff;
3308     max-height: 160px;
3309 }
3310
3311 .commit-modal .warning-section .changeset-list button {
3312     border-left: 1px solid #CCC;
3313 }
3314
3315 .commit-modal .changeset-list li {
3316     position: relative;
3317     border-top:1px solid #ccc;
3318     padding:5px 10px;
3319 }
3320
3321 .changeset-list li span.count {
3322     font-size:10px;
3323     color:#555;
3324 }
3325
3326 .changeset-list li span.count:before { content: '('; }
3327
3328 .changeset-list li span.count:after { content: ')'; }
3329
3330 .changeset-list li:first-child { border-top: 0;}
3331
3332 /* Notices
3333 ------------------------------------------------------- */
3334
3335 .notice {
3336     float:left;
3337     width:25%;
3338     padding-right: 10px;
3339     text-align:center;
3340 }
3341
3342 .notice .zoom-to {
3343     width:100%;
3344     height: 40px;
3345     border-radius: 5px;
3346     line-height: 40px;
3347     background: #fff;
3348     color: #000;
3349     opacity: 0.9;
3350 }
3351
3352 .notice .zoom-to:hover {
3353     background: #d8e1ff;
3354 }
3355
3356 .notice .zoom-to .icon {
3357     margin-top:10px;
3358     margin-right:10px;
3359 }
3360
3361 .icon.zoom-in-invert {
3362     background-position: -240px -40px;
3363 }
3364
3365 /* Tooltips
3366 ------------------------------------------------------- */
3367
3368 .tooltip {
3369     width: 200px;
3370     position: absolute;
3371     display: none;
3372     color:#333;
3373     text-align: left;
3374     font-size: 12px;
3375 }
3376
3377 .tooltip.in {
3378     opacity: 0.8;
3379     z-index: 1030;
3380     height: auto;
3381     display: block;
3382 }
3383
3384 .tooltip.top {
3385     margin-top: -20px;
3386     text-align: center;
3387 }
3388
3389 .tooltip.right {
3390     margin-left: 20px;
3391 }
3392
3393 .tooltip.bottom {
3394     margin-top: 20px;
3395     text-align: center;
3396 }
3397
3398 .tooltip.left {
3399     margin-left: -20px;
3400 }
3401
3402 .tooltip-inner {
3403     display: inline-block;
3404     padding: 10px;
3405     font-weight: normal;
3406     background-color: white;
3407 }
3408
3409 .tail {
3410     width: 200px;
3411     height: 400px;
3412     pointer-events: none;
3413     opacity: .8;
3414     margin-top: -200px;
3415     position: absolute;
3416     background: transparent;
3417 }
3418
3419 .tail::after {
3420     content: "";
3421     position: absolute;
3422     width: 0;
3423     height: 0;
3424     border-color: transparent;
3425     border-style: solid;
3426     top: 50%;
3427     right: -5px;
3428     margin-top: -5px;
3429     border-left-color: white;
3430     border-width: 5px 0 5px 5px;
3431 }
3432
3433 .tail div {
3434     padding: 10px;
3435     background: white;
3436     position: absolute;
3437     top: 180px;
3438     left: 0;
3439     right: 0;
3440     margin: auto;
3441 }
3442
3443 .left.tail::after {
3444     content: "";
3445     position: absolute;
3446     width: 0;
3447     height: 0;
3448     border-color: transparent;
3449     border-style: solid;
3450     top: 50%;
3451     left: -5px;
3452     margin-top: -5px;
3453     border-right-color: white;
3454     border-width: 5px 5px 5px 0;
3455 }
3456
3457 .tooltip-arrow {
3458     position: absolute;
3459     width: 0;
3460     height: 0;
3461     border-color: transparent;
3462     border-style: solid;
3463 }
3464
3465 .tooltip.top .tooltip-arrow {
3466     bottom: -5px;
3467     left: 50%;
3468     margin-left: -5px;
3469     border-top-color: white;
3470     border-width: 5px 5px 0;
3471 }
3472
3473 .tooltip.right .tooltip-arrow {
3474     top: 50%;
3475     left: -5px;
3476     margin-top: -5px;
3477     border-right-color: white;
3478     border-width: 5px 5px 5px 0;
3479 }
3480
3481 .tooltip.left .tooltip-arrow {
3482     top: 50%;
3483     right: -5px;
3484     margin-top: -5px;
3485     border-left-color: white;
3486     border-width: 5px 0 5px 5px;
3487 }
3488
3489 .tooltip.bottom .tooltip-arrow {
3490     top: -5px;
3491     left: 50%;
3492     margin-left: -5px;
3493     border-bottom-color: white;
3494     border-width: 0 5px 5px;
3495 }
3496
3497
3498 /* Exceptions for tooltips that are up against the edge of the screen */
3499 .add-point .tooltip {
3500     left: -20px !important; }
3501
3502 .curtain-tooltip.intro-points-add .tooltip-arrow,
3503 .add-point .tooltip .tooltip-arrow {
3504     left: 60px;
3505 }
3506
3507 .tooltip .keyhint-wrap {
3508     padding: 5px 0 5px 0;
3509 }
3510
3511 .tooltip-inner .keyhint {
3512     color: #222;
3513     font-size: 10px;
3514     padding: 0 7px;
3515     font-weight: bold;
3516     display: inline-block;
3517     border-radius: 2px;
3518     border: 1px solid #CCC;
3519     position: relative;
3520     z-index: 1;
3521     text-align: left;
3522     clear: both;
3523 }
3524
3525 .tooltip .keyhint .keyhint-label {
3526     display: inline-block;
3527 }
3528
3529 .tooltip-inner .keyhint::after {
3530     content: "";
3531     position: absolute;
3532     border-radius: 2px;
3533     height: 10px;
3534     width: 100%;
3535     z-index: 0;
3536     bottom: -4px;
3537     left: -1px;
3538     border: 1px solid #CCC;
3539     border-top: 0;
3540 }
3541
3542 .radial-menu-tooltip {
3543     background-color: rgba(255, 255, 255, 0.8);
3544     display: none;
3545     position: absolute;
3546     width: 200px;
3547 }
3548
3549 .radial-menu-background {
3550     stroke: black;
3551     stroke-opacity: 0.5;
3552 }
3553
3554 .radial-menu-item {
3555     fill: white;
3556 }
3557
3558 .radial-menu-item:hover {
3559     fill: #ececec;
3560 }
3561
3562 .radial-menu-item:active {
3563     fill: #ececec;
3564 }
3565
3566 .radial-menu-item.disabled {
3567     cursor: auto;
3568     fill: rgba(255,255,255,.5);
3569 }
3570
3571 .radial-menu .icon {
3572     pointer-events: none;
3573 }
3574
3575 .lasso-box {
3576     fill-opacity:0.1;
3577     stroke: #fff;
3578     stroke-width: 1;
3579     stroke-opacity: 1;
3580     stroke-dasharray: 5, 5;
3581 }
3582
3583 /* Media Queries
3584 ------------------------------------------------------- */
3585
3586 @media only screen and (max-width: 840px) {
3587     #bar .label {display: none;}
3588     #bar .icon.icon-pre-text { margin-right: 0;}
3589     /* override hide for save button */
3590     #bar .save .label { display: block;}
3591 }
3592
3593 /* Scrollbars
3594  ----------------------------------------------------- */
3595
3596 ::-webkit-scrollbar {
3597     height: 20px;
3598     overflow: visible;
3599     width: 10px;
3600     background: white;
3601     border-left: 1px solid #DDD;
3602 }
3603
3604 ::-webkit-scrollbar-track {
3605     background-clip: padding-box;
3606     border: solid transparent;
3607     border-width: 0;
3608 }
3609
3610 ::-webkit-scrollbar-thumb {
3611     background-color: rgba(0,0,0,.2);
3612     background-clip: padding-box;
3613     border: solid transparent;
3614     border-width: 3px 3px 3px 4px;
3615     border-radius: 6px;
3616 }
3617 ::-webkit-scrollbar-track:hover,
3618 ::-webkit-scrollbar-track:active {
3619     background-color: rgba(0,0,0,.05);
3620 }
3621
3622 /* Intro walkthrough
3623  ----------------------------------------------------- */
3624
3625 .curtain-darkness {
3626     pointer-events: all;
3627     fill-opacity: 0.7;
3628     fill: #222;
3629     fill-rule: evenodd;
3630 }
3631
3632 .intro-nav-wrap {
3633     position: absolute;
3634     left: 0;
3635     right: 0;
3636     bottom: 30px;
3637     padding: 10px;
3638     z-index: 1001;
3639 }
3640
3641 .intro-nav-wrap button.step {
3642     width: 20%;
3643 }
3644
3645 .intro-nav-wrap button.step.finished {
3646     background: #8cd05f;
3647 }
3648
3649 .intro-nav-wrap button.step .icon {
3650     display: none;
3651 }
3652
3653 .intro-nav-wrap button.step.finished .icon {
3654     display: inline-block;
3655 }
3656
3657
3658 .curtain-tooltip .tooltip-inner {
3659     text-align: left;
3660     padding: 20px;
3661 }
3662
3663 .curtain-tooltip .tooltip-inner {
3664     font-size: 15px;
3665 }
3666
3667 .curtain-tooltip .tooltip-inner .bold {
3668     font-weight: bold;
3669     display: block;
3670     border-top: 1px solid #CCC;
3671     margin-top: 10px;
3672     margin-left: -20px;
3673     margin-right: -20px;
3674     padding: 10px 20px 0 20px;
3675 }
3676
3677 .curtain-tooltip .tooltip-inner .bold:only-child {
3678     border: 0;
3679     padding: 0;
3680     margin: 0;
3681 }
3682
3683 .curtain-tooltip.intro-points-describe {
3684     top: 133px !important;
3685 }
3686
3687 /* Tooltip illustrations */
3688
3689 .intro-points-add .tooltip-inner::before,
3690 .intro-areas-add .tooltip-inner::before,
3691 .intro-lines-add .tooltip-inner::before {
3692     display: block;
3693     content: "";
3694     height: 80px;
3695     width: 200px;
3696     background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -320px;
3697 }
3698
3699 .intro-areas-add .tooltip-inner::before {
3700     background-position: 0 -400px;
3701 }
3702
3703 .intro-lines-add .tooltip-inner::before {
3704     background-position: 0 -480px;
3705 }
3706
3707 .huge-modal-button {
3708     width: 100%;
3709     height: auto;
3710     padding: 20px;
3711 }
3712
3713 .huge-modal-button .illustration {
3714     height: 100px;
3715     width: 100px;
3716     background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -301px -220px;
3717     margin: auto;
3718 }
3719 /* This file is generated by make. Do NOT edit manually. */
3720
3721 .preset-icon{background-image:url(<%= asset_path("iD/img/maki-sprite.png") %>);background-repeat:no-repeat;width:24px;height:24px;}
3722 .preset-icon-line{background-image:url(<%= asset_path("iD/img/line-presets.png") %>);background-repeat:no-repeat;width:60px;height:60px;}
3723 .feature-airfield{background-position:-0px -34px;}
3724 .feature-airport{background-position:-0px -94px;}
3725 .feature-alcohol-shop{background-position:-0px -154px;}
3726 .feature-america-football{background-position:-0px -214px;}
3727 .feature-art-gallery{background-position:-0px -274px;}
3728 .feature-bank{background-position:-0px -334px;}
3729 .feature-bar{background-position:-0px -394px;}
3730 .feature-baseball{background-position:-0px -454px;}
3731 .feature-basketball{background-position:-0px -514px;}
3732 .feature-beer{background-position:-0px -574px;}
3733 .feature-bicycle{background-position:-0px -634px;}
3734 .feature-building{background-position:-0px -694px;}
3735 .feature-bus{background-position:-0px -754px;}
3736 .feature-cafe{background-position:-0px -814px;}
3737 .feature-campsite{background-position:-0px -874px;}
3738 .feature-cemetery{background-position:-0px -934px;}
3739 .feature-cinema{background-position:-0px -994px;}
3740 .feature-circle{background-position:-0px -1054px;}
3741 .feature-circle-stroked{background-position:-0px -1114px;}
3742 .feature-college{background-position:-0px -1174px;}
3743 .feature-commercial{background-position:-0px -1234px;}
3744 .feature-cricket{background-position:-0px -1294px;}
3745 .feature-cross{background-position:-0px -1354px;}
3746 .feature-dam{background-position:-0px -1414px;}
3747 .feature-danger{background-position:-0px -1474px;}
3748 .feature-disability{background-position:-0px -1534px;}
3749 .feature-embassy{background-position:-0px -1594px;}
3750 .feature-emergency-telephone{background-position:-0px -1654px;}
3751 .feature-fast-food{background-position:-0px -1714px;}
3752 .feature-ferry{background-position:-0px -1774px;}
3753 .feature-fire-station{background-position:-0px -1834px;}
3754 .feature-fuel{background-position:-0px -1894px;}
3755 .feature-garden{background-position:-0px -1954px;}
3756 .feature-golf{background-position:-0px -2014px;}
3757 .feature-grocery{background-position:-0px -2074px;}
3758 .feature-harbor{background-position:-0px -2134px;}
3759 .feature-heliport{background-position:-0px -2194px;}
3760 .feature-hospital{background-position:-0px -2254px;}
3761 .feature-industrial{background-position:-0px -2314px;}
3762 .feature-library{background-position:-0px -2374px;}
3763 .feature-lodging{background-position:-0px -2434px;}
3764 .feature-logging{background-position:-0px -2494px;}
3765 .feature-marker{background-position:-0px -2554px;}
3766 .feature-marker-stroked{background-position:-0px -2614px;}
3767 .feature-monument{background-position:-0px -2674px;}
3768 .feature-museum{background-position:-0px -2734px;}
3769 .feature-music{background-position:-0px -2794px;}
3770 .feature-oil-well{background-position:-0px -2854px;}
3771 .feature-park{background-position:-0px -2914px;}
3772 .feature-park2{background-position:-0px -2974px;}
3773 .feature-parking{background-position:-0px -3034px;}
3774 .feature-parking-garage{background-position:-0px -3094px;}
3775 .feature-pharmacy{background-position:-0px -3154px;}
3776 .feature-pitch{background-position:-0px -3214px;}
3777 .feature-place-of-worship{background-position:-0px -3274px;}
3778 .feature-police{background-position:-0px -3334px;}
3779 .feature-post{background-position:-0px -3394px;}
3780 .feature-prison{background-position:-0px -3454px;}
3781 .feature-rail{background-position:-0px -3514px;}
3782 .feature-rail-above{background-position:-0px -3574px;}
3783 .feature-rail-underground{background-position:-0px -3634px;}
3784 .feature-religious-christian{background-position:-0px -3694px;}
3785 .feature-religious-jewish{background-position:-0px -3754px;}
3786 .feature-religious-muslim{background-position:-0px -3814px;}
3787 .feature-restaurant{background-position:-0px -3874px;}
3788 .feature-roadblock{background-position:-0px -3934px;}
3789 .feature-school{background-position:-0px -3994px;}
3790 .feature-shop{background-position:-0px -4054px;}
3791 .feature-skiing{background-position:-0px -4114px;}
3792 .feature-slaughterhouse{background-position:-0px -4174px;}
3793 .feature-soccer{background-position:-0px -4234px;}
3794 .feature-square{background-position:-0px -4294px;}
3795 .feature-square-stroked{background-position:-0px -4354px;}
3796 .feature-star{background-position:-0px -4414px;}
3797 .feature-star-stroked{background-position:-0px -4474px;}
3798 .feature-swimming{background-position:-0px -4534px;}
3799 .feature-telephone{background-position:-0px -4594px;}
3800 .feature-tennis{background-position:-0px -4654px;}
3801 .feature-theatre{background-position:-0px -4714px;}
3802 .feature-toilets{background-position:-0px -4774px;}
3803 .feature-town-hall{background-position:-0px -4834px;}
3804 .feature-triangle{background-position:-0px -4894px;}
3805 .feature-triangle-stroked{background-position:-0px -4954px;}
3806 .feature-warehouse{background-position:-0px -5014px;}
3807 .feature-waste-basket{background-position:-0px -5074px;}
3808 .feature-water{background-position:-0px -5134px;}
3809 .feature-wetland{background-position:-0px -5194px;}
3810 .feature-zoo{background-position:-0px -5254px;}
3811 .preset-icon-line.feature-highway-motorway{background-position:-20px -25px;}
3812 .preset-icon-line.feature-highway-trunk{background-position:-80px -25px;}
3813 .preset-icon-line.feature-highway-primary{background-position:-140px -25px;}
3814 .preset-icon-line.feature-highway-secondary{background-position:-200px -25px;}
3815 .preset-icon-line.feature-highway-tertiary{background-position:-260px -25px;}
3816 .preset-icon-line.feature-highway-motorway-link{background-position:-320px -25px;}
3817 .preset-icon-line.feature-highway-trunk-link{background-position:-380px -25px;}
3818 .preset-icon-line.feature-highway-primary-link{background-position:-440px -25px;}
3819 .preset-icon-line.feature-highway-secondary-link{background-position:-500px -25px;}
3820 .preset-icon-line.feature-highway-tertiary-link{background-position:-560px -25px;}
3821 .preset-icon-line.feature-highway-residential{background-position:-620px -25px;}
3822 .preset-icon-line.feature-highway-unclassified{background-position:-680px -25px;}
3823 .preset-icon-line.feature-highway-service{background-position:-740px -25px;}
3824 .preset-icon-line.feature-highway-road{background-position:-800px -25px;}
3825 .preset-icon-line.feature-highway-track{background-position:-860px -25px;}
3826 .preset-icon-line.feature-highway-living-street{background-position:-920px -25px;}
3827 .preset-icon-line.feature-highway-path{background-position:-980px -25px;}
3828 .preset-icon-line.feature-highway-cycleway{background-position:-1040px -25px;}
3829 .preset-icon-line.feature-highway-footway{background-position:-1100px -25px;}
3830 .preset-icon-line.feature-highway-bridleway{background-position:-1160px -25px;}
3831 .preset-icon-line.feature-highway-steps{background-position:-1220px -25px;}
3832 .preset-icon-line.feature-railway-rail{background-position:-1280px -25px;}
3833 .preset-icon-line.feature-railway-disused{background-position:-1340px -25px;}
3834 .preset-icon-line.feature-railway-abandoned{background-position:-1400px -25px;}
3835 .preset-icon-line.feature-railway-subway{background-position:-1460px -25px;}
3836 .preset-icon-line.feature-railway-light-rail{background-position:-1520px -25px;}
3837 .preset-icon-line.feature-railway-monorail{background-position:-1580px -25px;}
3838 .preset-icon-line.feature-waterway-river{background-position:-1640px -25px;}
3839 .preset-icon-line.feature-waterway-stream{background-position:-1700px -25px;}
3840 .preset-icon-line.feature-waterway-canal{background-position:-1760px -25px;}
3841 .preset-icon-line.feature-waterway-ditch{background-position:-1820px -25px;}
3842 .preset-icon-line.feature-power-line{background-position:-1880px -25px;}
3843 .preset-icon-line.feature-other-line{background-position:-1940px -25px;}
3844 .preset-icon-line.feature-category-roads{background-position:-2000px -25px;}
3845 .preset-icon-line.feature-category-rail{background-position:-2060px -25px;}
3846 .preset-icon-line.feature-category-path{background-position:-2120px -25px;}
3847 .preset-icon-line.feature-category-water{background-position:-2180px -25px;}