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