.navbar {
    background: #e7ce8e;
}
.navbar-brand .title {
    font-weight: 600;
}
.navbar-brand .logo {
    height: 1.5em;
    padding-right: .5em;
}

.navbar-item svg {
    height: 20px;
    width: 20px;
    margin-right: .5ex;
}

.navbar,
.navbar-brand .navbar-item {
    color: black;
}

.navbar-brand>a.navbar-item:last-child {
    margin-left: auto;
}

.navbar-brand>a.navbar-item:last-child:hover {
    background: rgba(0, 0, 0, 0.1);
}

.version-banner {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    font-size: .88889rem;
    padding: 1rem 1rem .75rem;
    margin: 1.5rem 0;
}

/* Restore railscasts theme colours that are overidden default UI */
.doc pre.highlight > code.hljs {
  background: #232323;
  box-shadow: none;
}

.hljs-class .hljs-title {
  color: #ffc66d;
}

.hljs-tag .hljs-attr {
  color: #6d9cbe;
}

.hljs-literal,
.hljs-doctag {
  color: inherit;
}

/* Component tiles of the home layout */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.doc .tile {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  border: 1px solid #e1e1e1;
  border-radius: .25rem;
  color: #333;
  font-weight: 600;
  text-decoration: none;
}

.doc .tile:hover,
.doc .tile:focus {
  border-color: #e7ce8e;
  background: #fdf9ee;
}

.tile-description {
  margin-top: .5rem;
  color: #5d5d5d;
  font-size: .88889rem;
  font-weight: normal;
}

.home .toolbar {
  height: 0;
  box-shadow: none;
}

/* Keep the footer at the bottom of the window on a short home page */
body.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.home .body {
  flex: auto;
}
