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