16 $keyline: 1px solid $lightgrey;
 
  19 /* Styles common to large and small screens */
 
  21 /* Minimal CSS reset */
 
  23 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
 
  30 fieldset,img { border: 0; }
 
  32 legend { color: #000; }
 
  34 sup { vertical-align: text-top; }
 
  36 sub { vertical-align: text-bottom; }
 
  39   border-collapse: collapse;
 
  43 li { list-style: none; }
 
  48 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
 
  51   border-bottom: .1em dotted;
 
  55 strong { font-weight: 500; }
 
  57 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
 
  71 .col0    { float:left; width:04.1666%; }
 
  72 .col1    { float:left; width:08.3333%; }
 
  73 .col2    { float:left; width:16.6666%; }
 
  74 .col3    { float:left; width:25.0000%; }
 
  75 .col4    { float:left; width:33.3333%; }
 
  76 .col5    { float:left; width:41.6666%; }
 
  77 .col6    { float:left; width:50.0000%; }
 
  78 .col7    { float:left; width:58.3333%; }
 
  79 .col8    { float:left; width:66.6666%; }
 
  80 .col9    { float:left; width:75.0000%; }
 
  81 .col10   { float:left; width:83.3333%; }
 
  82 .col11   { float:left; width:91.6666%; }
 
  83 .col12   { width:100%; }
 
  85 .margin0  { margin-left:04.1666%; }
 
  86 .margin1  { margin-left:08.3333%; }
 
  87 .margin2  { margin-left:16.6666%; }
 
  88 .margin3  { margin-left:25.0000%; }
 
  89 .margin4  { margin-left:33.3333%; }
 
  90 .margin5  { margin-left:41.6666%; }
 
  91 .margin6  { margin-left:50.0000%; }
 
  92 .margin7  { margin-left:58.3333%; }
 
  93 .margin8  { margin-left:66.6666%; }
 
  94 .margin9  { margin-left:75.0000%; }
 
  95 .margin10 { margin-left:83.3333%; }
 
  96 .margin11 { margin-left:91.6666%; }
 
  97 .margin12 { margin-left:100.0000%; }
 
  99 .fillL { background-color: white; }
 
 101 /* Default rules for the body of every page */
 
 104   -webkit-box-sizing: border-box;
 
 105      -moz-box-sizing: border-box;
 
 106           box-sizing: border-box;
 
 110   font-family: 'Helvetica Neue',Arial,sans-serif;
 
 111   font-size: $typeheight;
 
 114   background-color: #fff;
 
 122   background-color: #f0f0f0;
 
 130 h4, h5 { font-weight: 500; }
 
 149 #container { position: relative; }
 
 153   margin: 0 0 $lineheight/2 0;
 
 157   vertical-align: middle;
 
 158   margin-right: $lineheight/4;
 
 161 .red { color: $red; }
 
 163 /* Rules for icons */
 
 166   display:inline-block;
 
 170   background:transparent image-url("sprite.png") no-repeat 0 0;
 
 175 .icon.search      { background-position: 0 0; }
 
 176 .icon.donate      { background-position: -20px 0; }
 
 177 .icon.zoomin      { background-position: -40px 0; }
 
 178 .icon.zoomout     { background-position: -60px 0; }
 
 179 .icon.geolocate   { background-position: -80px 0; }
 
 180 .active .icon.geolocate   { background-position: -80px -20px; }
 
 181 .icon.layers      { background-position: -100px 0; }
 
 182 .icon.key         { background-position: -120px 0; }
 
 183 .icon.share       { background-position: -140px 0; }
 
 184 .icon.clipboard   { background-position: -160px 0; }
 
 185 .icon.link        { background-position: -180px 0; }
 
 186 .icon.close       { background-position: -200px 0; }
 
 187 .icon.close:hover { background-position: -200px -20px; }
 
 188 .icon.check       { background-position: -220px 0; }
 
 189 .icon.note        { background-position: -240px 0; }
 
 190 .icon.gear        { background-position: -260px 0; }
 
 192 /* Rules for links */
 
 196   text-decoration: none;
 
 197   -webkit-appearance: none;
 
 200     text-decoration: underline;
 
 204 /* Rules for horizontal lines */
 
 208   background-color: #ccc;
 
 213 /* General styles for tables */
 
 217   margin-bottom: $lineheight;
 
 220     padding: $lineheight/4;
 
 221     line-height: $lineheight;
 
 228     vertical-align: middle;
 
 232 /* Utility for de-emphasizing content */
 
 241 /* Rules for the header */
 
 244   display: none !important;
 
 246   background: image-url("menu-icon.png") no-repeat;
 
 247   background-size: 30px 30px;
 
 251   margin: 14px 10px 0 0;
 
 256   height: $headerHeight;
 
 261   h1, nav, nav > ul, nav > ul > li, .dropdown {
 
 262     display: inline-block;
 
 267     padding: $lineheight/2 $lineheight;
 
 275     text-decoration: none;
 
 282     vertical-align: middle;
 
 287     padding: ($lineheight - 3) $lineheight ($lineheight + 3);
 
 297     $border: 1px solid $green;
 
 300     border-radius: $border-radius;
 
 303       border-right: $border;
 
 308       > a:hover { background: lighten($green, 30%); }
 
 309       &.current > a:hover { background: $green; }
 
 310       &.disabled > a:hover { background: lighten($green, 38%); }
 
 312         > a.tab { border-right: 1px solid lighten($green, 30%); }
 
 313         &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
 
 320     display: inline-block;
 
 331     border-top-color: $green;
 
 340       border-top-color: #ccc;
 
 345     background-color: $green;
 
 352       border-top-color: #fff;
 
 362     vertical-align: middle;
 
 363     a, .dropdown-toggle {
 
 364       display: inline-block;
 
 365       text-decoration: none;
 
 369       &:hover { color: darken($darkgrey, 10%); }
 
 374     color: darken($darkgrey, 25%);
 
 378     $border: 1px solid $grey;
 
 382     border-radius: $border-radius;
 
 386       border-right: $border;
 
 392           border-radius: 0 $border-radius $border-radius 0;
 
 395       &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
 
 396       &:hover a { background: lighten($darkgrey, 30%); }
 
 407         padding: 5px 10px 5px 6px;
 
 408         display: inline-block;
 
 411       &:hover > .user-button { color: darken($darkgrey, 5%); }
 
 416     border-top-color: $grey;
 
 420   img.user_thumbnail_tiny {
 
 429     display: inline-block;
 
 432     margin: 3px 0 3px 3px;
 
 433     background-color: lighten($grey, 10%);
 
 441     border-radius: 3px 0 3px 3px;
 
 451 #compact-secondary-nav {
 
 456     &:hover { color: #fff; }
 
 460 @media only screen and (max-width:960px) {
 
 461   #compact-secondary-nav {
 
 462     display: inline-block;
 
 470 /* Utility for styling notification numbers */
 
 473   padding: 2px $lineheight/4;
 
 475   background: lighten($green, 30%);
 
 481 /* Rules for the message shown in place of the map when javascript is disabled */
 
 490 /* Rules for bootstrap tooltips */
 
 528   display: inline-block;
 
 531   background-color: white;
 
 538   border-color: transparent;
 
 542 .tooltip.top .tooltip-arrow {
 
 546   border-top-color: white;
 
 547   border-width: 5px 5px 0;
 
 550 .tooltip.right .tooltip-arrow {
 
 554   border-right-color: white;
 
 555   border-width: 5px 5px 5px 0;
 
 558 .tooltip.left .tooltip-arrow {
 
 562   border-left-color: white;
 
 563   border-width: 5px 0 5px 5px;
 
 566 .tooltip.bottom .tooltip-arrow {
 
 570   border-bottom-color: white;
 
 571   border-width: 0 5px 5px;
 
 574 /* Rules for Leaflet maps */
 
 576 .leaflet-control .control-button {
 
 580   background-color: #333;
 
 581   background-color: rgba(0,0,0,.6);
 
 582   border-radius: 4px 0 0 4px;
 
 587     background-color: black;
 
 591     background-color: #9ed485;
 
 595     background-color: #333;
 
 596     background-color: rgba(0,0,0,.5);
 
 605 .leaflet-control .zoomin,
 
 606 .control-layers .control-button {
 
 608   border-radius: 4px 0 0 0;
 
 611 .leaflet-control .zoomout,
 
 612 .control-key .control-button {
 
 617 .control-locate .control-button,
 
 618 .control-share .control-button {
 
 619   border-radius: 0 0 0 4px;
 
 622 /* Rules for the sidebar and main map area */
 
 641     width: $sidebarWidth;
 
 644       padding: $lineheight $lineheight $lineheight/2;
 
 697       border-bottom: 1px solid #DDD;
 
 707       border:1px solid #ddd;
 
 730       border: 2px solid #fff;
 
 733       transition: border-color 0.08s ease-in;
 
 740         border-bottom-right-radius: 3px;
 
 744         text-stroke: 2px #fff;
 
 745         background: rgba(255,255,255,.9);
 
 751         input[type="radio"] {
 
 756       &.active { border-color: darken($green, 10%); }
 
 759         &.active { border-color: darken($green, 20%); }
 
 778       text-decoration: none;
 
 779       background-color: $lightblue;
 
 784       border-right: 1px solid #fff;
 
 785       border-radius: 4px 0 0 4px;
 
 789       border-left: 1px solid #fff;
 
 790       border-radius: 0 4px 4px 0;
 
 794       background-color: $blue;
 
 806       font-family: monospace;
 
 828   top: $lineheight !important;
 
 830     margin-right: 0px !important;
 
 831     margin-top: 0px !important;
 
 835 .leaflet-popup-scrolled {
 
 836   padding-right: $lineheight;
 
 837   border-bottom: 0px !important;
 
 838   border-top: 0px !important;
 
 841 .leaflet-popup-content-wrapper {
 
 842   border-radius: 4px !important;
 
 843   -webkit-border-radius: 4px !important;
 
 846 /* Rules for attribution text under the main map shown on printouts */
 
 852 .attribution_license,
 
 853 .attribution_project {
 
 857 .attribution_notice {
 
 861 .donate-attr { color: darken($green, 10%) !important; }
 
 863 /* Rules for the sidebar */
 
 867   padding: $lineheight/2 $lineheight;
 
 868   // background: $offwhite;
 
 869   // border-bottom: 1px solid #ccc;
 
 887     margin: $lineheight auto;
 
 893 /* Rules for the search box */
 
 897   padding: $lineheight/2 $lineheight;
 
 898   background-color: $lightgrey;
 
 909     border-radius: 2px 0 0 2px;
 
 911     transition: 300ms linear;
 
 912     -webkit-transition: 300ms linear;
 
 913     -moz-transition: 300ms linear;
 
 918     box-shadow: 0px 0px 7px #9ED485;
 
 925     border-radius: 0 2px 2px 0;
 
 937 /* Rules for donation request box */
 
 941   padding: $lineheight/4 $lineheight;
 
 942   border: 1px solid $green;
 
 943   font-size: $typeheight;
 
 948   margin: $lineheight/2 $lineheight;
 
 952     text-decoration: none;
 
 956 /* Rules for rotating sidebar ads */
 
 964   border-bottom: 1px solid #ccc;
 
 979 /* Rules for the map key which appears in the popout sidebar */
 
 982  .mapkey-table-key img {
 
 988     padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
 
 992 /* Rules for search results which appear in the popout sidebar */
 
 994 .search_results_entry {
 
 996     border-bottom: $keyline;
 
 997     &:first-child { border-top: $keyline; }
 
1009 .search_results_error {
 
1013 /* Rules for data browser information which appears in the popout sidebar */
 
1017   .browse_show_list.button {
 
1034 /* Rules for entity history */
 
1038     border-bottom: $keyline;
 
1046 /* Rules for the changeset list shown by the history tab */
 
1048 #sidebar .changesets {
 
1050     padding: $lineheight;
 
1051     border-bottom: $keyline;
 
1054     &.selected { background: #FFFFE6; }
 
1055     /* color is derived from changeset bbox fillColor in history.js */
 
1068 /* Rules for the data browser */
 
1081       border: 1px solid #eee;
 
1086   .paginate ul, .note-comments ul {
 
1091     margin-bottom: 10px;
 
1094       padding: 5px 0 5px 10px;
 
1096       border: 1px solid #CCC;
 
1097       border-radius: 4px 4px 0 0;
 
1098       background-color: #F6F6F6;
 
1104       background-color: #FFF;
 
1105       border: 1px solid #CCC;
 
1107       border-radius: 0 0 4px 4px;
 
1112     background-color: #F6F6F6;
 
1113     border-top: 1px solid #ddd;
 
1114     border-bottom: 1px solid #ddd;
 
1116     margin-left: -$lineheight;
 
1117     margin-right: -$lineheight;
 
1120       border-bottom: 1px solid #ddd;
 
1129       display: inline-block;
 
1132       padding: 6px 10px 6px $lineheight;
 
1137       background-color: #F6F6F6;
 
1141       border-left: 1px solid #ddd;
 
1142       background-color: #fff;
 
1147 /* Rules for export information which appears in the popout sidebar */
 
1149 .export_bounds, .export_button {
 
1153 .export_area_inputs {
 
1154   margin-bottom: $lineheight/2;
 
1155   input[type="text"] {
 
1162   margin: $lineheight/4;
 
1170     padding-bottom: 5px; 
 
1179       margin-bottom: 10px;
 
1184 /* Rules for edit pages */
 
1199 /* Rules for non-map content pages */
 
1202   background: $lightgrey;
 
1204   h1 { font-size: 22px; }
 
1209     margin-bottom: $lineheight;
 
1213     margin-top: $lineheight/2;
 
1221   padding: $lineheight;
 
1224 /* Overrides for pages that use new layout conventions */
 
1229   .content-body .content-inner {
 
1238   .content-heading .content-inner {
 
1243 .header-illustration {
 
1244   background-position: 0 0;
 
1245   background-repeat: no-repeat;
 
1253     background-image: image-url("sign-up-illustration.png");
 
1257     background-image: image-url("confirm-illustration.png");
 
1261     background-image: image-url("terms-illustration.png");
 
1269     background-image: image-url("sign-up-illustration-arm.png");
 
1274 #content.maximised {
 
1287 #slim_container_content {
 
1289   background-color: #FFFFFF;
 
1290   margin: $lineheight/2 auto;
 
1292   border-radius: 25px;
 
1293   -moz-border-radius: 25px;
 
1294   border: 1px solid #e6e6e6;
 
1298   margin: $lineheight/2;
 
1303     margin-bottom: 15px;
 
1308   margin: 30px $lineheight/2;
 
1311   margin-right: $lineheight/4;
 
1313     vertical-align: middle;
 
1314     margin-bottom: $lineheight/4;
 
1315     margin-right: $lineheight/4;
 
1319 /* Rules for small maps in content areas */
 
1325   border: 1px solid #ccc;
 
1326   margin-bottom: $lineheight;
 
1330 /* Rules for the trace list shown by the traces tab etc */
 
1333   font-size: $lineheight/2;
 
1350   .trace_identifiable {
 
1363 /* Rules for the user profile page */
 
1368   .userinformation-inner {
 
1383 .admin-user-info small {
 
1384   margin-bottom: $lineheight/2;
 
1386   margin-right: $lineheight;
 
1391   border-bottom: 1px solid #ccc;
 
1392   padding-bottom: $lineheight;
 
1395     margin-bottom: $lineheight/2;
 
1400   margin-top: $lineheight;
 
1404 .activity-details p {
 
1409 #friends-container .contact-activity ul {
 
1414   p#no_home_location {
 
1415     margin: $lineheight;
 
1418     margin-top: $lineheight/4;
 
1423 /* Rules for the user map */
 
1425 .content_map .leaflet-popup-content {
 
1426   margin: $lineheight/2;
 
1430 /* Rules for user popups on maps */
 
1436     margin-top: 0 0 0 60px;
 
1439   img.user_thumbnail {
 
1441     margin: 0 $lineheight/2 0 0;
 
1445 /* Rules for the user list */
 
1448   font-size: $lineheight/2;
 
1452     vertical-align: middle;
 
1461 #user_list_actions {
 
1463   margin-top: $lineheight/2;
 
1466 /* Rules for the diary list page */
 
1470   margin-top: $lineheight/2;
 
1471   padding-top: $lineheight;
 
1472   border-top: 1px solid #ccc;
 
1475     margin-bottom: $lineheight;
 
1479       margin-bottom: $lineheight/2;
 
1484   img.user_thumbnail {
 
1493   ul.secondary-actions {
 
1494     display: inline-block;
 
1498 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
 
1502 /* Rules for the diary entry page */
 
1509     border: 1px solid #ccc;
 
1511     margin-bottom: $lineheight;
 
1514     border-top: 1px solid #ccc;
 
1515     padding-top: $lineheight;
 
1516     margin-top: $lineheight/2;
 
1522     margin-top: $lineheight/2;
 
1523     border-top: 1px dashed #ccc;
 
1524     padding-top: $lineheight/2;
 
1526       margin-top: $lineheight;
 
1527       padding-top: $lineheight;
 
1528       border-top: 1px solid #ccc;
 
1531       margin-bottom: $lineheight/2;
 
1540 .diary_entry-view img.user_thumbnail {
 
1544 /* Rules for the log in page */
 
1546 #login_openid_buttons {
 
1550 #login_openid_buttons li {
 
1552   padding: $lineheight/4 $lineheight/2;
 
1555 /* Rules for the account confirmation page */
 
1559     border: 1px solid #ccc;
 
1560     padding: $lineheight;
 
1561     margin-bottom: $lineheight;
 
1567     background: $lightblue;
 
1569       background: darken($lightblue, $hovercolor);
 
1579 /* Rules for the account settings page */
 
1581 #accountForm .user_map {
 
1585   border: 1px solid #ccc;
 
1588 #accountForm .user_image {
 
1592 #accountForm #user_image {
 
1596 #accountForm ul.accountImage-options {
 
1609   display: inline !important;
 
1612 .content_map.settings_map {
 
1617 /* Rules for the oauth settings page */
 
1619 .oauth_clients .buttons .oauth-edit {
 
1620   border-radius: 2px 0 0 2px;
 
1623 .oauth_clients .buttons .oauth-delete {
 
1624   border-radius: 0 2px 2px 0;
 
1627 /* Rules for messages pages */
 
1631   border: 1px solid #ddd;
 
1633   input[type="submit"] {
 
1637     border-top: 1px solid #ccc;
 
1641     background: #f8f8ff;
 
1654     padding: $lineheight/4;
 
1665     border-right: 1px solid $lightgrey;
 
1669 .inbox-row .inbox-mark-read {
 
1674   margin-bottom: $lineheight;
 
1675   padding: $lineheight/4 0px 4px 0px;
 
1676   border-bottom: 1px solid #ccc;
 
1683 .info-line .user_thumbnail_tiny {
 
1684   vertical-align: middle;
 
1693 .inbox-row-unread .inbox-mark-unread {
 
1697 .message-read .message-buttons {
 
1698   margin-top: $lineheight;
 
1699   padding-top: $lineheight;
 
1700   border-top: 1px solid $lightgrey;
 
1703 .message-read .buttons .mark-unread-button {
 
1707 /* Rules for "flash" notice boxes shown at the top of the content area */
 
1710   padding: $lineheight;
 
1711   background-color: #ff7070;
 
1715   padding: $lineheight;
 
1716   background-color: #ffe0cc;
 
1720   padding: $lineheight;
 
1721   background-color: #CBEEA7;
 
1724 /* Rules for highlighting fields with rails validation errors */
 
1726 .field_with_errors {
 
1728   background-color: #ff7070;
 
1729   display: inline-block;
 
1733   display: inline-block;
 
1739   background-color: #ff7070;
 
1742 /* Rules for rails validation error boxes */
 
1746   border: 2px solid #ff7070;
 
1747   padding: 0 $lineheight/2;
 
1748   margin-bottom: $lineheight;
 
1749   background-color: #f0f0f0;
 
1752     margin: 0 -10px 10px -10px;
 
1753     padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
 
1756     background-color: #c00;
 
1764     padding: $lineheight/4;
 
1768     padding-left: $lineheight;
 
1777 /* Rules for forms */
 
1781     margin-bottom: $lineheight;
 
1783   label.standard-label {
 
1785     margin-bottom: $lineheight/4;
 
1786     font-size: $typeheight;
 
1790   label.standard-label.secondary {
 
1791     display: inline-block;
 
1792     font-weight: normal;
 
1795     font-weight: normal;
 
1802     margin-top: $lineheight;
 
1803     padding-top: $lineheight;
 
1804     border-top: 1px solid $lightgrey;
 
1806   .horizontal-list .form-row { 
 
1808     padding-right: 10px;
 
1811     margin-bottom: $lineheight/2;
 
1819   input[type="checkbox"],
 
1820   input[type="radio"] {
 
1826 #remember_me_openid {
 
1830 input[type="checkbox"],
 
1831 input[type="radio"] {
 
1836 input[type="email"],
 
1838 input[type="password"],
 
1840   border: 1px solid #ccc;
 
1851 /* Rules for user images */
 
1856   border: 1px solid #ccc;
 
1857   margin-bottom: $lineheight;
 
1859   margin-right: $lineheight;
 
1862 img.user_thumbnail {
 
1865   border: 1px solid #ccc;
 
1866   margin-right: $lineheight;
 
1869 img.user_thumbnail_tiny {
 
1872   border: 1px solid #ccc;
 
1875 /* Rules for geo microformats */
 
1878   border-bottom: none;
 
1881 /* Rules for RSS buttons */
 
1888 /* General styles for action lists / subnavs / pager navs */
 
1890 ul.secondary-actions {
 
1895     display: inline-block;
 
1902     border-left: 1px solid #ccc;
 
1903     padding-left: $lineheight/2;
 
1904     margin-right: $lineheight/2;
 
1915 div.secondary-actions {
 
1917   border-top: 1px solid #ccc;
 
1921 /* Utility for managing inner content areas */
 
1923 .inner22 { padding: $lineheight;}
 
1925 .inner12 { padding: $lineheight/2 $lineheight;}
 
1927 .inner11 { padding: $lineheight/2;}
 
1929 .inner20 { padding: $lineheight 0;}
 
1931 .inner02 { padding: 0 $lineheight;}
 
1933 /* Utility for general button styles */
 
1935 input[type="button"],
 
1936 input[type="submit"],
 
1937 input[type="reset"],
 
1941   display: inline-block;
 
1943   padding: $lineheight/4 $lineheight/2;
 
1944   min-height: 20px + $lineheight/2;
 
1946   margin: 0 0 $lineheight/2 0;
 
1951   -moz-border-radius: 2px;
 
1953     background: darken($blue, $hovercolor);
 
1954     text-decoration: none;
 
1957     background: $lightblue;
 
1959       background: darken($lightblue, $hovercolor);
 
1963     background: $lightgrey;
 
1965       background: $lightgrey;
 
1975   input[type="submit"],
 
1976   input[type="button"],
 
1977   input[type="reset"],
 
1979     box-sizing: border-box;
 
1985     border-right:1px solid white;
 
1986     text-overflow: ellipsis;
 
1987     white-space: nowrap;
 
1991   .button:first-child {
 
1992     border-radius:2px 0 0 2px;
 
1995   .button:last-child {
 
1996     border-radius:0 2px 2px 0;
 
1997     border-right-width: 0;
 
2001   *[value="Hide"] + input:last-child,
 
2002   *[value="Hide"] + .button:last-child {
 
2004     border-right-width: 0;
 
2006     /* if a 3-button set has a hidden middle button */
 
2007   *[value="Hide"] + input:nth-child(3),
 
2008   *[value="Hide"] + .button:nth-child(3) {
 
2009     border-radius:0 2px 2px 0;
 
2010     border-right-width: 0;
 
2012   /* if a 3-button set starts with a hidden button */
 
2013   *[value="Hide"] + input:nth-child(2):not(:last-child),
 
2014   *[value="Hide"] + .button:nth-child(2):not(:last-child) {
 
2015     border-radius:2px 0 0 2px;
 
2016     border-right-width: 1px;
 
2020 /* Rules for doing distinct colour of alternate table rows */
 
2024   background: $offwhite;
 
2032 /* Rules for OpenID logo */
 
2035   vertical-align: text-bottom;
 
2039 /* Rules for rich text */
 
2044     padding-bottom: $lineheight/2;
 
2045     border-bottom: 1px dashed #cccccc;
 
2046     margin-bottom: $lineheight/2;
 
2058     font-size: $typeheight;
 
2063     background: #e8e8e8;
 
2069     background: #e8e8e8;
 
2078     padding: $lineheight;
 
2079     background-color: $offwhite;
 
2086     border-left: $lineheight solid $offwhite;
 
2087     padding-left: $lineheight;
 
2093     padding-left: $lineheight;
 
2094     margin-bottom: $lineheight;
 
2095     margin-left: $lineheight;
 
2103     list-style: decimal;
 
2107 .diary_post .richtext {
 
2108     margin-top: $lineheight;
 
2111 .comments .richtext {
 
2116 /* Rules for rich text editors */
 
2118 .richtext_container {
 
2119   margin-bottom: $lineheight;
 
2123     display: inline-block;
 
2124     vertical-align: top;
 
2127       display: inline-block;
 
2128       padding: $lineheight;
 
2129       background-color: $offwhite;
 
2133         background-image: image-url("loading.gif");
 
2134         background-repeat: no-repeat;
 
2135         background-position: center;
 
2145     display: inline-block;
 
2146     vertical-align: top;
 
2148     background-color: #f8f8ff;
 
2149     padding: $lineheight/2;
 
2157       border-bottom: 1px solid #ccc;
 
2158       margin-bottom: $lineheight/4;
 
2159       padding-bottom: $lineheight/4;
 
2162     li h4, li span, li p {
 
2163       display: inline-block;
 
2164       vertical-align: top;
 
2175       margin-left: $lineheight/2;
 
2176       margin-bottom: $lineheight/4;
 
2177       white-space: nowrap;
 
2182 /* Rules for the user notes list */
 
2186     background-color: #eeeeee;
 
2198 /* Rules for the notes interface */
 
2200 .leaflet-popup-content .note {
 
2201   padding-top: $lineheight/2;
 
2204 .leaflet-popup-content .note {
 
2206     margin-bottom: $lineheight/2;
 
2210     margin-top: $lineheight/2;
 
2216     left: $lineheight/4;
 
2223     padding-left: $lineheight;
 
2226   .permalink:hover span {
 
2232     background-color: #ffe0cc;
 
2234     margin-bottom: $lineheight/2;
 
2253     margin-top: $lineheight/4;
 
2258 /* Rules for the iD editor */
 
2265 /* Rules for dropdown menus */
 
2272   *margin-bottom: -3px;
 
2275 .dropdown-toggle:active,
 
2276 .open .dropdown-toggle {
 
2281   display: inline-block;
 
2284   vertical-align: top;
 
2285   border-top: 4px solid #000000;
 
2286   border-right: 4px solid transparent;
 
2287   border-left: 4px solid transparent;
 
2307   background-color: #ffffff;
 
2308   border: 1px solid #ccc;
 
2309   border-radius: 0 3px 3px;
 
2310   *border-right-width: 2px;
 
2311   *border-bottom-width: 2px;
 
2312   -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
2313      -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
2314           box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
2315   -webkit-background-clip: padding-box;
 
2316      -moz-background-clip: padding;
 
2317           background-clip: padding-box;
 
2320 .dropdown-menu.pull-right {
 
2325 .dropdown-menu .divider {
 
2329   *margin: -5px 0 5px;
 
2331   background-color: #e5e5e5;
 
2332   border-bottom: 1px solid #ffffff;
 
2335 .dropdown-menu > li > a {
 
2339   font-weight: normal;
 
2342   white-space: nowrap;
 
2345 .dropdown-menu > li > a:hover,
 
2346 .dropdown-menu > li > a:focus,
 
2347 .dropdown-submenu:hover > a,
 
2348 .dropdown-submenu:focus > a {
 
2350   text-decoration: none;
 
2351   background-color: $green;
 
2354 .dropdown-menu > .active > a,
 
2355 .dropdown-menu > .active > a:hover,
 
2356 .dropdown-menu > .active > a:focus {
 
2358   text-decoration: none;
 
2359   background-color: $green;
 
2363 .dropdown-menu > .disabled > a,
 
2364 .dropdown-menu > .disabled > a:hover,
 
2365 .dropdown-menu > .disabled > a:focus {
 
2369 .dropdown-menu > .disabled > a:hover,
 
2370 .dropdown-menu > .disabled > a:focus {
 
2371   text-decoration: none;
 
2373   background-color: transparent;
 
2374   background-image: none;
 
2381 .open > .dropdown-menu {
 
2385 .dropdown-backdrop {
 
2394 /* Rules for the "Welcome" page */
 
2405     background-image: image-url("welcome-sprite.png");
 
2406     background-size: 500px 250px;
 
2412     padding-bottom: 20px;
 
2414       margin-bottom: 10px;
 
2426     background-position: -50px 0;
 
2431     vertical-align: middle;
 
2435     background-position: -100px 0;
 
2439     background-position: -150px 0;
 
2443     background-position: -200px 0;
 
2447     background-position: -250px 0;
 
2451     background-position: -300px 0;
 
2460     text-decoration: none;
 
2465     background-color: $offwhite;
 
2469     background-color: #333;
 
2474 .site-about #content {
 
2475   //background-color: #000;
 
2476   background-color: #eee;
 
2477   background-position: 50% 50%;
 
2478   background-repeat: no-repeat;
 
2479   background-size: cover;
 
2480   background-attachment: fixed;
 
2482   &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
 
2483   &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
 
2484   &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
 
2485   &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
 
2486   &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
 
2487   &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
 
2491     font: 13px/20px Helvetica, Arial, sans-serif;
 
2496     text-shadow: #000 0px 1px 5px;
 
2504     white-space: nowrap;
 
2505     text-decoration: none;
 
2516     text-indent: -9999px;
 
2518     background: image-url('about/sprite.png') -120px 0px no-repeat;
 
2519     background-color: #000;
 
2520     background-color: rgba(0, 0, 0, 0.5);
 
2530       margin-bottom: 30px;
 
2533     .section:last-child {
 
2545     padding: 170px 40px 20px;
 
2547     background: rgba(0, 0, 0, .8);
 
2567       background-position: 0 50%;
 
2568       background-repeat: no-repeat;
 
2569       background-image: image-url('about/osm.png');
 
2570       background-size: cover;
 
2571       background-color: #76c551;
 
2581       padding: 20px 20px 20px 40px;
 
2582       font: 500 20px/24px Helvetica, Arial, sans-serif;
 
2583       white-space: nowrap;
 
2585       background: #76c551;
 
2589       display: inline-block;
 
2596     margin-bottom: 10px;
 
2603     vertical-align: middle;
 
2604     background: 40px 40px image-url('about/sprite.png') no-repeat;
 
2606     &.local        { background-position: 0px    0px; }
 
2607     &.community    { background-position: 0px  -40px; }
 
2608     &.open         { background-position: 0px  -80px; }
 
2609     &.partners     { background-position: 0px -120px; }
 
2610     &.infringement { background-position: 0px -160px; }
 
2616 @media only screen and (max-width:960px) {
 
2617   .header-illustration.new-user-arm {