/*

Grid, utility, button, and typography classes the layout and posts use,
previously loaded from https://www.mapbox.com/base/latest/base.css (now 404).
Type uses the system font stack, so the page needs no external stylesheet or font.

*/

/* Base typography */
body,
input,
textarea {
  color: #404040;
  color: rgba(0, 0, 0, 0.75);
  font: 15px/20px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
body {
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  margin: 0;
}
h1 { font-size: 30px; line-height: 40px; }
h2 { font-size: 22px; line-height: 30px; padding: 5px 0; }
h3 { font-size: 15px; line-height: 20px; }
h4, h5, h6 { font-size: 12px; line-height: 20px; }

p { margin-bottom: 20px; }
p:last-child { margin-bottom: 0; }

a,
a > code {
  color: #3887be;
  text-decoration: none;
}
a:hover,
a:hover > code {
  color: #63b6e5;
}

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

/* Grid */
.col3 { float: left; width: 25.0000%; max-width: 300px; }
.col5 { float: left; width: 41.6666%; max-width: 500px; }
.col6 { float: left; width: 50.0000%; max-width: 600px; }
.col8 { float: left; width: 66.6666%; max-width: 800px; }
.col12 { width: 100%; display: block; }

/* Utilities */
.clearfix { display: block; }
.clearfix:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.fr { float: right; }
.pad1 { padding: 10px; }
.pad1y { padding-top: 10px; padding-bottom: 10px; }
.pad2y { padding-top: 20px; padding-bottom: 20px; }
.margin0 { margin-left: 4.1666%; }
.fill-light { background: #f8f8f8; }

/* Buttons (the intro call-to-action links) */
.button {
  background-color: #3887be;
  color: #fff;
  display: inline-block;
  padding: 10px;
  border: none;
  border-radius: 3px;
  font-weight: 700;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}
.button:hover { color: #fff; }
.button.fill-green { background-color: #56b881; }
.button.stroke {
  background-color: transparent;
  box-shadow: 0 0 0 2px #3887be inset;
  color: #3887be;
}
.button.stroke:hover {
  color: #52a1d8;
  box-shadow: 0 0 0 2px #52a1d8 inset;
}
.button.stroke.quiet {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15) inset;
  color: rgba(0, 0, 0, 0.5);
}
.button.stroke.quiet:hover {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3) inset;
  color: rgba(0, 0, 0, 0.75);
}

/* Wordmark (was a sprite in the original; plain text here) */
.mb-logo {
  display: inline-block;
  font-weight: 700;
  font-size: 22px;
  line-height: 40px;
  vertical-align: top;
}
