/** Styles for the Table Grid docs.*/

html {
  font-size: 14px;
}
@media (min-width: 600px) {
  html {
    font-size: 18px;
  }
}

body {
  margin: 0;
  padding-bottom: 2rem;
  font: 1rem/1.5 "Helvetica Neue", sans-serif;
  color: #555;
  text-align: center;
  background-color: #fff;
}

.container {
  max-width: 54rem;
  padding: 0 1rem;
}

a {
  color: #1874cd;
  text-decoration: none;
}
a:hover {
  color: #104e8b;
}

h1, h2, h3 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.1;
  color: #333;
}
h1 {
  font-size: 2.5rem;
}
h1 small {
  font-size: 80%;
  color: #777;
}
h2 {
  margin-top: 2.5rem;
  font-size: 2rem;
}

p {
  margin-top: 0;
  margin-bottom: .5rem;
  text-align: left;
}

.muted {
  color: #BBB;
  text-align: left;
}

.container > p {
  margin: .5rem auto .5rem;
  max-width: 800px;
}

.subtitle {
  color: #BBB;
  text-align: center;
}

hr {
  max-width: 150px;
  margin: 1rem auto;
  border: 0;
  border-top: .1rem solid #eee;
}

code {
  padding: .15rem .3rem;
  font-family: Menlo, "Courier New", monospace;
  font-size: 90%;
  color: #cd3333;
  background-color: #f5f5f5;
  border-radius: .15rem;
  white-space: nowrap;
}

/* Display utility classes */
.inline-block {
  display: inline-block;
}

/* Masthead */
.masthead {
  padding: 3rem 1rem;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  text-align: center;
  background-color: #f77f00;
}
.masthead a,
.masthead strong {
  font-weight: normal;
  color: #fff;
}
.masthead p {
  font-size: 1.25rem;
}

.grid-example .col {
  line-height: 2;
  text-align: center;
  color: #333;
}

/* Nested grid examples need outdenting because padding. */
.grid-example .grid-example {
  margin-top: .5rem;
  margin-bottom: 0;
}

/* Increase height of vertically centered example */
.grid-example.grid-align-middle {
  height: 200px;
}
.grid-example.grid-align-middle .col {
  min-height: 3rem;
  line-height: 1.5;
}
