/* Linked wheels and touch controls, including Safari 9. */
.rain-pace-entry { position: relative; padding-bottom: 13px; }
.pace-button { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; border: 0; padding: 0; background: transparent; border-radius: 3px; text-align: left; -webkit-appearance: none; -webkit-tap-highlight-color: transparent; }
.pace-button span { position: absolute; bottom: 0; left: 0; font-size: 8px; line-height: 11px; color: #a9c7b3; }
.pace-button:hover { background: rgba(196, 237, 177, .05); }
.pace-overlay { z-index: 45; padding-top: 20px; padding-bottom: 20px; }
.pace-details { max-width: 960px; padding: 24px; }
.pace-details h2 { margin-right: 30px; }
.pace-details .close-button { width: 44px; height: 44px; }
.pace-presets { margin: 14px -3px 0; }
.pace-presets .quiet-button { min-height: 44px; margin: 3px; padding: 8px 14px; border-radius: 8px; font-size: 12px; }
.pace-presets [aria-pressed="true"] { background: #233932; border-color: #8fae80; color: #d9f4c8; }
.pace-groups { margin: 14px 0 0; }
.pace-group { display: inline-block; width: 30%; vertical-align: top; padding: 12px 9px; border: 1px solid #536e4a; border-radius: 10px; }
.pace-group + .pace-group { margin-left: 2%; }
.pace-distance-group { width: 26%; background: #19333e; border-color: #406274; }
.pace-time-group { width: 40%; background: #22372e; }
.pace-speed-group { background: #382f22; border-color: #786044; }
.pace-details .pace-group h3 { margin: 0 0 10px; font-size: 15px; }
.pace-details .pace-distance-group h3 { color: #b8e3f7; }
.pace-details .pace-speed-group h3 { color: #f4d49a; }
.pace-group h3 span { font-size: 11px; font-weight: 400; color: #a6bcbd; margin-left: 5px; }
.pace-group h3 b { color: #edbc7b; font-size: 16px; }
.pace-wheel { display: inline-block; width: 100%; vertical-align: top; padding: 0 3px; text-align: center; }
.pace-half-wheel { width: 50%; }
.pace-third-wheel { width: 33.333%; }
.pace-distance-group .pace-wheel { width: 50%; }
.pace-distance-group .pace-wheel-row { font-size: 20px; }
.pace-wheel-label { display: block; color: #9dafb2; font-size: 10px; margin-bottom: 5px; }
.pace-step { display: inline-block; width: 50%; height: 44px; padding: 0; font-size: 21px; color: #c4edb1; border: 1px solid #3d5157; background: #233236; border-radius: 7px; }
.pace-step:disabled { color: #627776; cursor: default; }
.pace-spinner { position: relative; height: 132px; overflow: hidden; background: #111b1f; margin: 4px 0; border-radius: 7px; cursor: ns-resize; touch-action: none; -webkit-user-select: none; user-select: none; }
.pace-spinner:focus { outline: 2px solid #c4edb1; outline-offset: 1px; }
.pace-spinner:before { content: ""; position: absolute; top: 44px; left: 0; right: 0; height: 44px; background: #233932; border-top: 1px solid #678263; border-bottom: 1px solid #678263; }
.pace-track { position: absolute; top: -44px; left: 0; right: 0; pointer-events: none; }
.pace-wheel-row { height: 44px; line-height: 44px; color: #81999d; font-size: 23px; font-variant-numeric: tabular-nums; }
.pace-wheel-row.is-selected { color: #d9f4c8; font-weight: 500; }
.pace-distance-group .pace-spinner:before { background: #244757; border-color: #588ba2; }
.pace-distance-group .pace-wheel-row.is-selected { color: #c2eaff; }
.pace-distance-group .pace-step { background: #24404c; border-color: #406274; color: #b8e3f7; }
.pace-speed-group .pace-spinner:before { background: #4b3e28; border-color: #a3874d; }
.pace-speed-group .pace-wheel-row.is-selected { color: #ffe1a5; }
.pace-speed-group .pace-step { background: #473b29; border-color: #786044; color: #f4d49a; }
.pace-group .pace-step:disabled { opacity: .45; }
.pace-distance-label { display: inline-block; width: 42%; vertical-align: top; margin: 50px 0 0 5%; color: #a6bcbd; font-size: 10px; }
.pace-distance-label input { display: block; width: 100%; height: 44px; margin-top: 5px; padding: 6px 9px; border: 1px solid #52696e; border-radius: 7px; background: #111b1f; color: #edf3ed; font: inherit; font-size: 16px; }
.pace-distance-label input:focus { outline: 2px solid #c4edb1; outline-offset: 1px; }
.details .pace-summary { margin-top: 16px; padding: 12px; background: #233932; border-radius: 8px; color: #d9f4c8; font-size: 21px; font-variant-numeric: tabular-nums; }
.details #pace-error, .details #pace-storage-status { margin-top: 12px; color: #edbc7b; }
.pace-details .pace-limits { font-size: 10px; }
.night .pace-distance-group { background: #152a33; border-color: #345363; }
.night .pace-time-group { background: #1b2d26; border-color: #40583b; }
.night .pace-speed-group { background: #2c271e; border-color: #625037; }
.night .pace-time-group .pace-step { background: #1b2c2d; }
.night .pace-spinner, .night .pace-distance-label input { background: #0b1518; }
@media (max-width: 880px) {
  .pace-overlay { padding: 12px 8px; }
  .pace-details { padding: 20px 16px; }
  .pace-group { display: block; width: 100%; margin-top: 16px; }
  .pace-group + .pace-group { margin-left: 0; }
  .details .pace-summary { font-size: 18px; }
}
