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