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