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