3 /* Styles common to large and small screens */
 
   5 /* Minimal CSS reset */
 
   7 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
 
  14 fieldset,img { border: 0; }
 
  16 legend { color: #000; }
 
  18 sup { vertical-align: text-top; }
 
  20 sub { vertical-align: text-bottom; }
 
  23   border-collapse: collapse;
 
  27 li { list-style: none; }
 
  32 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
 
  35   border-bottom: .1em dotted;
 
  44 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
 
  58 .col0    { float:left; width:04.1666%; }
 
  59 .col1    { float:left; width:08.3333%; }
 
  60 .col2    { float:left; width:16.6666%; }
 
  61 .col3    { float:left; width:25.0000%; }
 
  62 .col4    { float:left; width:33.3333%; }
 
  63 .col5    { float:left; width:41.6666%; }
 
  64 .col6    { float:left; width:50.0000%; }
 
  65 .col7    { float:left; width:58.3333%; }
 
  66 .col8    { float:left; width:66.6666%; }
 
  67 .col9    { float:left; width:75.0000%; }
 
  68 .col10   { float:left; width:83.3333%; }
 
  69 .col11   { float:left; width:91.6666%; }
 
  70 .col12   { width:100%; }
 
  72 .margin0  { margin-left:04.1666%; }
 
  73 .margin1  { margin-left:08.3333%; }
 
  74 .margin2  { margin-left:16.6666%; }
 
  75 .margin3  { margin-left:25.0000%; }
 
  76 .margin4  { margin-left:33.3333%; }
 
  77 .margin5  { margin-left:41.6666%; }
 
  78 .margin6  { margin-left:50.0000%; }
 
  79 .margin7  { margin-left:58.3333%; }
 
  80 .margin8  { margin-left:66.6666%; }
 
  81 .margin9  { margin-left:75.0000%; }
 
  82 .margin10 { margin-left:83.3333%; }
 
  83 .margin11 { margin-left:91.6666%; }
 
  84 .margin12 { margin-left:100.0000%; }
 
  86 .fillL { background-color: white; }
 
  88 /* Default rules for the body of every page */
 
  91   -webkit-box-sizing: border-box;
 
  92      -moz-box-sizing: border-box;
 
  93           box-sizing: border-box;
 
  97   font-family: 'Helvetica Neue',Arial,sans-serif;
 
  98   font-size: $typeheight;
 
 101   background-color: #fff;
 
 109   background-color: #f0f0f0;
 
 140 #container { position: relative; }
 
 144   margin: 0 0 $lineheight/2 0;
 
 148   vertical-align: middle;
 
 149   margin-right: $lineheight/4;
 
 152 .red { color: $red; }
 
 154 /* Rules for icons */
 
 157   display:inline-block;
 
 161   background:transparent image-url("sprite.png") no-repeat 0 0;
 
 166 .icon.search      { background-position: 0 0; }
 
 167 .icon.donate      { background-position: -20px 0; }
 
 168 .icon.zoomin      { background-position: -40px 0; }
 
 169 .icon.zoomout     { background-position: -60px 0; }
 
 170 .icon.geolocate   { background-position: -80px 0; }
 
 171 .active .icon.geolocate   { background-position: -80px -20px; }
 
 172 .icon.layers      { background-position: -100px 0; }
 
 173 .icon.key         { background-position: -120px 0; }
 
 174 .icon.share       { background-position: -140px 0; }
 
 175 .icon.clipboard   { background-position: -160px 0; }
 
 176 .icon.link        { background-position: -180px 0; }
 
 177 .icon.close       { background-position: -200px 0; }
 
 178 .icon.close:hover { background-position: -200px -20px; }
 
 179 .icon.check       { background-position: -220px 0; }
 
 180 .icon.note        { background-position: -240px 0; }
 
 181 .icon.gear        { background-position: -260px 0; }
 
 183 /* Rules for links */
 
 187   text-decoration: none;
 
 188   -webkit-appearance: none;
 
 191     text-decoration: underline;
 
 195 /* Rules for horizontal lines */
 
 199   background-color: #ccc;
 
 204 /* General styles for tables */
 
 208   margin-bottom: $lineheight;
 
 211     padding: $lineheight/4;
 
 212     line-height: $lineheight;
 
 220     vertical-align: middle;
 
 224 /* Utility for de-emphasizing content */
 
 233 /* Rules for the header */
 
 236   display: none !important;
 
 238   background: image-url("menu-icon.png") no-repeat;
 
 239   background-size: 30px 30px;
 
 243   margin: 14px 10px 0 0;
 
 248   height: $headerHeight;
 
 253   h1, nav, nav > ul, nav > ul > li, .dropdown {
 
 254     display: inline-block;
 
 259     padding: $lineheight/2;
 
 267     text-decoration: none;
 
 274     vertical-align: middle;
 
 289     $border: 1px solid $green;
 
 292     border-radius: $border-radius;
 
 295       border-right: $border;
 
 300       > a:hover { background: lighten($green, 30%); }
 
 301       &.current > a:hover { background: $green; }
 
 302       &.disabled > a:hover { background: lighten($green, 38%); }
 
 304         > a.tab { border-right: 1px solid lighten($green, 30%); }
 
 305         &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
 
 312     display: inline-block;
 
 324     border-top-color: $green;
 
 333       border-top-color: #ccc;
 
 338     background-color: $green;
 
 345       border-top-color: #fff;
 
 355     vertical-align: middle;
 
 356     a, .dropdown-toggle {
 
 357       display: inline-block;
 
 358       text-decoration: none;
 
 362       &:hover { color: darken($darkgrey, 25%); }
 
 367     color: darken($darkgrey, 25%);
 
 371     $border: 1px solid $grey;
 
 375     border-radius: $border-radius;
 
 379       border-right: $border;
 
 385           border-radius: 0 $border-radius $border-radius 0;
 
 388       &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
 
 389       &:hover a { background: lighten($darkgrey, 30%); }
 
 400         padding: 5px 10px 5px 6px;
 
 401         display: inline-block;
 
 404       &:hover > .user-button { color: darken($darkgrey, 5%); }
 
 409     border-top-color: $grey;
 
 413   img.user_thumbnail_tiny {
 
 422     display: inline-block;
 
 425     margin: 3px 0 3px 3px;
 
 426     background-color: lighten($grey, 10%);
 
 434     border-radius: 3px 0 3px 3px;
 
 444 #compact-secondary-nav {
 
 449     &:hover { color: #fff; }
 
 453 @media only screen and (max-width:960px) {
 
 454   #compact-secondary-nav {
 
 455     display: inline-block;
 
 462 /* Utility for styling notification numbers */
 
 465   padding: 2px $lineheight/4;
 
 467   background: lighten($green, 30%);
 
 473 /* Rules for the message shown in place of the map when javascript is disabled */
 
 482 /* Rules for bootstrap tooltips */
 
 520   display: inline-block;
 
 523   background-color: white;
 
 530   border-color: transparent;
 
 534 .tooltip.top .tooltip-arrow {
 
 538   border-top-color: white;
 
 539   border-width: 5px 5px 0;
 
 542 .tooltip.right .tooltip-arrow {
 
 546   border-right-color: white;
 
 547   border-width: 5px 5px 5px 0;
 
 550 .tooltip.left .tooltip-arrow {
 
 554   border-left-color: white;
 
 555   border-width: 5px 0 5px 5px;
 
 558 .tooltip.bottom .tooltip-arrow {
 
 562   border-bottom-color: white;
 
 563   border-width: 0 5px 5px;
 
 566 /* Rules for Leaflet maps */
 
 568 .leaflet-control .control-button {
 
 572   background-color: #333;
 
 573   background-color: rgba(0,0,0,.6);
 
 574   border-radius: 4px 0 0 4px;
 
 579     background-color: black;
 
 583     background-color: #9ed485;
 
 587     background-color: #333;
 
 588     background-color: rgba(0,0,0,.5);
 
 597 .leaflet-control .zoomin,
 
 598 .control-layers .control-button {
 
 600   border-radius: 4px 0 0 0;
 
 603 .leaflet-control .zoomout,
 
 604 .control-key .control-button {
 
 609 .control-locate .control-button,
 
 610 .control-share .control-button {
 
 611   border-radius: 0 0 0 4px;
 
 614 /* Rules for the sidebar and main map area */
 
 634     width: $sidebarWidth;
 
 639       padding: $lineheight $lineheight $lineheight/2;
 
 643       margin-top: $lineheight;
 
 644       margin-bottom: $lineheight/2;
 
 653   .overlay-sidebar #sidebar {
 
 657     border-bottom-right-radius: 5px;
 
 663       padding: $lineheight/2 $lineheight $lineheight;
 
 678         border-right: 1px solid #fff;
 
 698       border-bottom: 1px solid #DDD;
 
 708       border:1px solid #ddd;
 
 731       border: 2px solid #fff;
 
 734       transition: border-color 0.08s ease-in;
 
 741         border-bottom-right-radius: 3px;
 
 746         text-stroke: 2px #fff;
 
 747         background: rgba(255,255,255,.9);
 
 748         z-index: 2; // For IE9
 
 749         input[type="radio"] {
 
 754       &.active { border-color: darken($green, 10%); }
 
 757         &.active { border-color: darken($green, 20%); }
 
 776       text-decoration: none;
 
 777       background-color: $lightblue;
 
 782       border-right: 1px solid #fff;
 
 783       border-radius: 4px 0 0 4px;
 
 787       border-left: 1px solid #fff;
 
 788       border-radius: 0 4px 4px 0;
 
 792       background-color: $blue;
 
 804       font-family: monospace;
 
 826   top: $lineheight/2 !important;
 
 828     margin-right: 0px !important;
 
 829     margin-top: 0px !important;
 
 833 .leaflet-popup-scrolled {
 
 834   padding-right: $lineheight;
 
 835   border-bottom: 0px !important;
 
 836   border-top: 0px !important;
 
 839 .leaflet-popup-content-wrapper {
 
 840   border-radius: 4px !important;
 
 841   -webkit-border-radius: 4px !important;
 
 844 /* Rules for attribution text under the main map shown on printouts */
 
 850 .attribution_license,
 
 851 .attribution_project {
 
 855 .attribution_notice {
 
 859 .donate-attr { color: darken($green, 10%) !important; }
 
 861 /* Rules for the sidebar */
 
 865   padding: $lineheight/2 $lineheight;
 
 866   // background: $offwhite;
 
 867   // border-bottom: 1px solid #ccc;
 
 877     padding: $lineheight;
 
 886     margin: $lineheight auto;
 
 892 /* Rules for the search box */
 
 894 header .search_form {
 
 900   padding: $lineheight/2;
 
 901   background-color: $lightgrey;
 
 906     border-radius: 2px 0 0 2px;
 
 914     transition: 300ms linear;
 
 915     -webkit-transition: 300ms linear;
 
 916     -moz-transition: 300ms linear;
 
 921     box-shadow: 0px 0px 7px #9ED485;
 
 928     border-radius: 0 2px 2px 0;
 
 940 /* Rules for the map key which appears in the popout sidebar */
 
 943  .mapkey-table-key img {
 
 949     padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
 
 953 /* Rules for search sidebar */
 
 955 .search_results_entry {
 
 957     border-bottom: $keyline;
 
 958     &:first-child { border-top: $keyline; }
 
 970 .search_results_error {
 
 974 /* Rules for entity history */
 
 979     border-bottom: $keyline;
 
 987 /* Rules for the history sidebar */
 
 989 #sidebar .changesets {
 
 991     padding: $lineheight;
 
 992     border-bottom: $keyline;
 
 995     &.selected { background: #FFFFE6; }
 
 996     /* color is derived from changeset bbox fillColor in history.js */
 
1007 /* Rules for the browse sidebar */
 
1011     padding: $lineheight/2 $lineheight;
 
1021     border: 1px solid #eee;
 
1030     margin-bottom: 10px;
 
1033       padding: 5px 0 5px 10px;
 
1035       border: 1px solid #CCC;
 
1036       border-radius: 4px 4px 0 0;
 
1037       background-color: #F6F6F6;
 
1043       background-color: #FFF;
 
1044       border: 1px solid #CCC;
 
1046       border-radius: 0 0 4px 4px;
 
1051     background-color: #F6F6F6;
 
1052     border: 1px solid #ddd;
 
1057       border-bottom: 1px solid #ddd;
 
1066       display: inline-block;
 
1075       background-color: #F6F6F6;
 
1079       border-left: 1px solid #ddd;
 
1080       background-color: #fff;
 
1085     margin: $lineheight/2 0;
 
1086     padding: $lineheight/2;
 
1091     margin: $lineheight/2 0;
 
1098   .note-description p {
 
1103 /* Rules for export sidebar */
 
1106   padding: $lineheight;
 
1108   .export_area_inputs,
 
1113   .export_area_inputs {
 
1114     margin-bottom: $lineheight/2;
 
1115     input[type="text"] {
 
1122     margin: $lineheight/4;
 
1126     margin-top: $lineheight;
 
1130     padding-left: $lineheight/2;
 
1133       margin-bottom: 10px;
 
1138 /* Rules for edit pages */
 
1153 /* Rules for non-map content pages */
 
1156   background: $lightgrey;
 
1158   h1 { font-size: 22px; }
 
1163     margin-bottom: $lineheight;
 
1167     margin-top: $lineheight/2;
 
1175   padding: $lineheight;
 
1178 /* Overrides for pages that use new layout conventions */
 
1183   .content-body .content-inner {
 
1192   .content-heading .content-inner {
 
1197 .header-illustration {
 
1198   background-position: 0 0;
 
1199   background-repeat: no-repeat;
 
1207     background-image: image-url("sign-up-illustration.png");
 
1211     background-image: image-url("confirm-illustration.png");
 
1215     background-image: image-url("terms-illustration.png");
 
1223     background-image: image-url("sign-up-illustration-arm.png");
 
1228 #content.maximised {
 
1241 #slim_container_content {
 
1243   background-color: #FFFFFF;
 
1244   margin: $lineheight/2 auto;
 
1246   border-radius: 25px;
 
1247   -moz-border-radius: 25px;
 
1248   border: 1px solid #e6e6e6;
 
1252   margin: $lineheight/2;
 
1257     margin-bottom: 15px;
 
1262   margin: 30px $lineheight/2;
 
1265   margin-right: $lineheight/4;
 
1267     vertical-align: middle;
 
1268     margin-bottom: $lineheight/4;
 
1269     margin-right: $lineheight/4;
 
1273 /* Rules for small maps in content areas */
 
1279   border: 1px solid #ccc;
 
1280   margin-bottom: $lineheight;
 
1284 /* Rules for the trace list shown by the traces tab etc */
 
1287   font-size: $lineheight/2;
 
1304   .trace_identifiable {
 
1317 /* Rules for the user profile page */
 
1322   .userinformation-inner {
 
1337 .admin-user-info small {
 
1338   margin-bottom: $lineheight/2;
 
1340   margin-right: $lineheight;
 
1345   border-bottom: 1px solid #ccc;
 
1346   padding-bottom: $lineheight;
 
1349     margin-bottom: $lineheight/2;
 
1354   margin-top: $lineheight;
 
1358 .activity-details p {
 
1363 #friends-container .contact-activity ul {
 
1368   p#no_home_location {
 
1369     margin: $lineheight;
 
1372     margin-top: $lineheight/4;
 
1377 /* Rules for the user map */
 
1379 .content_map .leaflet-popup-content {
 
1380   margin: $lineheight/2;
 
1384 /* Rules for user popups on maps */
 
1390     margin-top: 0 0 0 60px;
 
1393   img.user_thumbnail {
 
1395     margin: 0 $lineheight/2 0 0;
 
1399 /* Rules for the user list */
 
1402   font-size: $lineheight/2;
 
1406     vertical-align: middle;
 
1415 #user_list_actions {
 
1417   margin-top: $lineheight/2;
 
1420 /* Rules for the diary list page */
 
1424   margin-top: $lineheight/2;
 
1425   padding-top: $lineheight;
 
1426   border-top: 1px solid #ccc;
 
1429     margin-bottom: $lineheight;
 
1433       margin-bottom: $lineheight/2;
 
1438   img.user_thumbnail {
 
1447   ul.secondary-actions {
 
1448     display: inline-block;
 
1452 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
 
1456 /* Rules for the diary entry page */
 
1463     border: 1px solid #ccc;
 
1465     margin-bottom: $lineheight;
 
1468     border-top: 1px solid #ccc;
 
1469     padding-top: $lineheight;
 
1470     margin-top: $lineheight/2;
 
1476     margin-top: $lineheight/2;
 
1477     border-top: 1px dashed #ccc;
 
1478     padding-top: $lineheight/2;
 
1480       margin-top: $lineheight;
 
1481       padding-top: $lineheight;
 
1482       border-top: 1px solid #ccc;
 
1485       margin-bottom: $lineheight/2;
 
1494 .diary_entry-view img.user_thumbnail {
 
1498 /* Rules for the log in page */
 
1500 #login_openid_buttons {
 
1504 #login_openid_buttons li {
 
1506   padding: $lineheight/4 $lineheight/2;
 
1509 /* Rules for the account confirmation page */
 
1513     border: 1px solid #ccc;
 
1514     padding: $lineheight;
 
1515     margin-bottom: $lineheight;
 
1521     background: $lightblue;
 
1523       background: darken($lightblue, $hovercolor);
 
1533 /* Rules for the account settings page */
 
1535 #accountForm .user_map {
 
1539   border: 1px solid #ccc;
 
1542 #accountForm .user_image {
 
1546 #accountForm #user_image {
 
1550 #accountForm ul.accountImage-options {
 
1563   display: inline !important;
 
1566 .content_map.settings_map {
 
1571 /* Rules for the oauth settings page */
 
1573 .oauth_clients .buttons .oauth-edit {
 
1574   border-radius: 2px 0 0 2px;
 
1577 .oauth_clients .buttons .oauth-delete {
 
1578   border-radius: 0 2px 2px 0;
 
1581 /* Rules for messages pages */
 
1585   border: 1px solid #ddd;
 
1587   input[type="submit"] {
 
1591     border-top: 1px solid #ccc;
 
1595     background: #f8f8ff;
 
1608     padding: $lineheight/4;
 
1619     border-right: 1px solid $lightgrey;
 
1623 .inbox-row .inbox-mark-read {
 
1628   margin-bottom: $lineheight;
 
1629   padding: $lineheight/4 0px 4px 0px;
 
1630   border-bottom: 1px solid #ccc;
 
1637 .info-line .user_thumbnail_tiny {
 
1638   vertical-align: middle;
 
1647 .inbox-row-unread .inbox-mark-unread {
 
1651 .message-read .message-buttons {
 
1652   margin-top: $lineheight;
 
1653   padding-top: $lineheight;
 
1654   border-top: 1px solid $lightgrey;
 
1657 .message-read .buttons .mark-unread-button {
 
1661 /* Rules for "flash" notice boxes shown at the top of the content area */
 
1664   padding: $lineheight;
 
1665   background-color: #ff7070;
 
1669   padding: $lineheight;
 
1670   background-color: #ffe0cc;
 
1674   padding: $lineheight;
 
1675   background-color: #CBEEA7;
 
1678 /* Rules for highlighting fields with rails validation errors */
 
1680 .field_with_errors {
 
1682   background-color: #ff7070;
 
1683   display: inline-block;
 
1687   display: inline-block;
 
1693   background-color: #ff7070;
 
1696 /* Rules for rails validation error boxes */
 
1700   border: 2px solid #ff7070;
 
1701   padding: 0 $lineheight/2;
 
1702   margin-bottom: $lineheight;
 
1703   background-color: #f0f0f0;
 
1706     margin: 0 -10px 10px -10px;
 
1707     padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
 
1711     background-color: #c00;
 
1719     padding: $lineheight/4;
 
1723     padding-left: $lineheight;
 
1732 /* Rules for forms */
 
1736     margin-bottom: $lineheight;
 
1738   label.standard-label {
 
1740     margin-bottom: $lineheight/4;
 
1741     font-size: $typeheight;
 
1746   label.standard-label.secondary {
 
1747     display: inline-block;
 
1748     font-weight: normal;
 
1751     font-weight: normal;
 
1758     margin-top: $lineheight;
 
1759     padding-top: $lineheight;
 
1760     border-top: 1px solid $lightgrey;
 
1762   .horizontal-list .form-row { 
 
1764     padding-right: 10px;
 
1767     margin-bottom: $lineheight/2;
 
1775   input[type="checkbox"],
 
1776   input[type="radio"] {
 
1782 #remember_me_openid {
 
1786 input[type="checkbox"],
 
1787 input[type="radio"] {
 
1792 input[type="email"],
 
1794 input[type="password"],
 
1796   border: 1px solid #ccc;
 
1807 /* Rules for user images */
 
1812   border: 1px solid #ccc;
 
1813   margin-bottom: $lineheight;
 
1815   margin-right: $lineheight;
 
1818 img.user_thumbnail {
 
1821   border: 1px solid #ccc;
 
1822   margin-right: $lineheight;
 
1825 img.user_thumbnail_tiny {
 
1828   border: 1px solid #ccc;
 
1831 /* Rules for geo microformats */
 
1834   border-bottom: none;
 
1837 /* Rules for RSS buttons */
 
1844 /* General styles for action lists / subnavs / pager navs */
 
1846 ul.secondary-actions {
 
1851     display: inline-block;
 
1858     border-left: 1px solid #ccc;
 
1859     padding-left: $lineheight/2;
 
1860     margin-right: $lineheight/2;
 
1871 div.secondary-actions {
 
1873   border-top: 1px solid #ccc;
 
1877 /* Utility for managing inner content areas */
 
1879 .inner22 { padding: $lineheight;}
 
1881 .inner12 { padding: $lineheight/2 $lineheight;}
 
1883 .inner11 { padding: $lineheight/2;}
 
1885 .inner20 { padding: $lineheight 0;}
 
1887 .inner02 { padding: 0 $lineheight;}
 
1889 /* Utility for general button styles */
 
1891 input[type="button"],
 
1892 input[type="submit"],
 
1893 input[type="reset"],
 
1897   display: inline-block;
 
1899   padding: $lineheight/4 $lineheight/2;
 
1900   min-height: 20px + $lineheight/2;
 
1902   margin: 0 0 $lineheight/2 0;
 
1907   -moz-border-radius: 2px;
 
1909     background: darken($blue, $hovercolor);
 
1910     text-decoration: none;
 
1913     background: $lightblue;
 
1915       background: darken($lightblue, $hovercolor);
 
1919     background: $lightgrey;
 
1921       background: $lightgrey;
 
1931   input[type="submit"],
 
1932   input[type="button"],
 
1933   input[type="reset"],
 
1935     box-sizing: border-box;
 
1941     border-right:1px solid white;
 
1942     text-overflow: ellipsis;
 
1943     white-space: nowrap;
 
1947   .button:first-child {
 
1948     border-radius:2px 0 0 2px;
 
1951   .button:last-child {
 
1952     border-radius:0 2px 2px 0;
 
1953     border-right-width: 0;
 
1957   *[value="Hide"] + input:last-child,
 
1958   *[value="Hide"] + .button:last-child {
 
1960     border-right-width: 0;
 
1962     /* if a 3-button set has a hidden middle button */
 
1963   *[value="Hide"] + input:nth-child(3),
 
1964   *[value="Hide"] + .button:nth-child(3) {
 
1965     border-radius:0 2px 2px 0;
 
1966     border-right-width: 0;
 
1968   /* if a 3-button set starts with a hidden button */
 
1969   *[value="Hide"] + input:nth-child(2):not(:last-child),
 
1970   *[value="Hide"] + .button:nth-child(2):not(:last-child) {
 
1971     border-radius:2px 0 0 2px;
 
1972     border-right-width: 1px;
 
1976 /* Rules for doing distinct colour of alternate table rows */
 
1980   background: $offwhite;
 
1988 /* Rules for OpenID logo */
 
1991   vertical-align: text-bottom;
 
1995 /* Rules for rich text */
 
2000     padding-bottom: $lineheight/2;
 
2001     border-bottom: 1px dashed #cccccc;
 
2002     margin-bottom: $lineheight/2;
 
2014     font-size: $typeheight;
 
2019     background: #e8e8e8;
 
2025     background: #e8e8e8;
 
2034     padding: $lineheight;
 
2035     background-color: $offwhite;
 
2042     border-left: $lineheight solid $offwhite;
 
2043     padding-left: $lineheight;
 
2049     padding-left: $lineheight;
 
2050     margin-bottom: $lineheight;
 
2051     margin-left: $lineheight;
 
2059     list-style: decimal;
 
2063 .diary_post .richtext {
 
2064     margin-top: $lineheight;
 
2067 .comments .richtext {
 
2072 /* Rules for rich text editors */
 
2074 .richtext_container {
 
2075   margin-bottom: $lineheight;
 
2079     display: inline-block;
 
2080     vertical-align: top;
 
2083       display: inline-block;
 
2084       padding: $lineheight;
 
2085       background-color: $offwhite;
 
2089         background-image: image-url("loading.gif");
 
2090         background-repeat: no-repeat;
 
2091         background-position: center;
 
2101     display: inline-block;
 
2102     vertical-align: top;
 
2104     background-color: #f8f8ff;
 
2105     padding: $lineheight/2;
 
2113       border-bottom: 1px solid #ccc;
 
2114       margin-bottom: $lineheight/4;
 
2115       padding-bottom: $lineheight/4;
 
2118     li h4, li span, li p {
 
2119       display: inline-block;
 
2120       vertical-align: top;
 
2131       margin-left: $lineheight/2;
 
2132       margin-bottom: $lineheight/4;
 
2133       white-space: nowrap;
 
2138 /* Rules for the user notes list */
 
2142     background-color: #eeeeee;
 
2154 /* Rules for the iD editor */
 
2161 /* Rules for dropdown menus */
 
2168   *margin-bottom: -3px;
 
2171 .dropdown-toggle:active,
 
2172 .open .dropdown-toggle {
 
2177   display: inline-block;
 
2180   vertical-align: top;
 
2181   border-top: 4px solid #000000;
 
2182   border-right: 4px solid transparent;
 
2183   border-left: 4px solid transparent;
 
2203   background-color: #ffffff;
 
2204   border: 1px solid #ccc;
 
2205   border-radius: 0 3px 3px;
 
2206   *border-right-width: 2px;
 
2207   *border-bottom-width: 2px;
 
2208   -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
2209      -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
2210           box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
2211   -webkit-background-clip: padding-box;
 
2212      -moz-background-clip: padding;
 
2213           background-clip: padding-box;
 
2216 .dropdown-menu.pull-right {
 
2221 .dropdown-menu .divider {
 
2225   *margin: -5px 0 5px;
 
2227   background-color: #e5e5e5;
 
2228   border-bottom: 1px solid #ffffff;
 
2231 .dropdown-menu > li > a {
 
2235   font-weight: normal;
 
2238   white-space: nowrap;
 
2241 .dropdown-menu > li > a:hover,
 
2242 .dropdown-menu > li > a:focus,
 
2243 .dropdown-submenu:hover > a,
 
2244 .dropdown-submenu:focus > a {
 
2246   text-decoration: none;
 
2247   background-color: $green;
 
2250 .dropdown-menu > .active > a,
 
2251 .dropdown-menu > .active > a:hover,
 
2252 .dropdown-menu > .active > a:focus {
 
2254   text-decoration: none;
 
2255   background-color: $green;
 
2259 .dropdown-menu > .disabled > a,
 
2260 .dropdown-menu > .disabled > a:hover,
 
2261 .dropdown-menu > .disabled > a:focus {
 
2265 .dropdown-menu > .disabled > a:hover,
 
2266 .dropdown-menu > .disabled > a:focus {
 
2267   text-decoration: none;
 
2269   background-color: transparent;
 
2270   background-image: none;
 
2277 .open > .dropdown-menu {
 
2281 .dropdown-backdrop {
 
2290 /* Rules for the "Welcome" page */
 
2301     background-image: image-url("welcome-sprite.png");
 
2302     background-size: 500px 250px;
 
2308     padding-bottom: 20px;
 
2310       margin-bottom: 10px;
 
2322     background-position: -50px 0;
 
2327     vertical-align: middle;
 
2331     background-position: -100px 0;
 
2335     background-position: -150px 0;
 
2339     background-position: -200px 0;
 
2343     background-position: -250px 0;
 
2347     background-position: -300px 0;
 
2356     text-decoration: none;
 
2361     background-color: $offwhite;
 
2365     background-color: #333;
 
2370 .site-about #content {
 
2371   //background-color: #000;
 
2372   background-color: #eee;
 
2373   background-position: 50% 50%;
 
2374   background-repeat: no-repeat;
 
2375   background-size: cover;
 
2376   background-attachment: fixed;
 
2378   &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
 
2379   &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
 
2380   &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
 
2381   &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
 
2382   &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
 
2383   &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
 
2387     font: 13px/20px Helvetica, Arial, sans-serif;
 
2392     text-shadow: #000 0px 1px 5px;
 
2400     white-space: nowrap;
 
2401     text-decoration: none;
 
2412     text-indent: -9999px;
 
2414     background: image-url('about/sprite.png') -120px 0px no-repeat;
 
2415     background-color: #000;
 
2416     background-color: rgba(0, 0, 0, 0.5);
 
2426       margin-bottom: 30px;
 
2429     .section:last-child {
 
2441     padding: 170px 40px 20px;
 
2443     background: rgba(0, 0, 0, .8);
 
2450       font-weight: normal;
 
2464       background-position: 0 50%;
 
2465       background-repeat: no-repeat;
 
2466       background-image: image-url('about/osm.png');
 
2467       background-size: cover;
 
2468       background-color: #76c551;
 
2478       padding: 20px 20px 20px 40px;
 
2479       font: 500 20px/24px Helvetica, Arial, sans-serif;
 
2480       white-space: nowrap;
 
2482       background: #76c551;
 
2486       display: inline-block;
 
2493     margin-bottom: 10px;
 
2500     vertical-align: middle;
 
2501     background: 40px 40px image-url('about/sprite.png') no-repeat;
 
2503     &.local        { background-position: 0px    0px; }
 
2504     &.community    { background-position: 0px  -40px; }
 
2505     &.open         { background-position: 0px  -80px; }
 
2506     &.partners     { background-position: 0px -120px; }
 
2507     &.infringement { background-position: 0px -160px; }
 
2513 @media only screen and (max-width:960px) {
 
2514   .header-illustration.new-user-arm {