/* basic required HTML styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

body {
  background-color: rgb(237, 237, 237);
  color: rgb(66, 81, 90);
  font-family: Catamaran, sans-serif;
  font-size: 1.1rem;
}

nav {
  margin: 0;
  padding: 0;
}

  nav a {
    color: rgb(85, 100, 109);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    text-decoration: none;
  }

  nav a:hover {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 600;
  }

h1 {
  font-size: 2rem;
  padding: 1rem 0 1.5rem 0;
  margin: 0;
  font-weight: 600;
}

h2 {
  font-weight: 600;
}

h3 {
  color: rgb(145, 153, 158);
  font-weight: 300;
}

.grid_container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-rows: 1fr;
  grid-template-areas:
    "nav body"
}

.grid-navigation {
  background-color: rgb(25, 36, 42);
  grid-area: nav;
  height: 100%;
}

.grid-body {
  background-color: rgb(255, 255, 255);
  border: 1px solid rgba(25, 36, 42, 0.1);
  grid-area: body;
  padding: 1.5rem 3rem;
  margin: 1.6rem 0.6rem 1.6rem 1.2rem;
}

  .grid-body section {
    border-top: 1px solid rgb(221, 224, 225);
    margin: 2.5rem 0;
  }

  .grid-body a {
    color: rgb(41, 187, 179);
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.15s ease-in-out 0s
  }

    .grid-body a:hover {
      color: rgb(102, 128, 135);
    }

    .grid-body a.warning-link {
      color: rgb(220, 53, 69);
    }

.nav-header {
  background-color: rgb(13, 19, 23);
  box-sizing: border-box;
  padding: 1.5rem 2rem 1.5rem 0.75rem;
  width: 100%
}

  .nav-header img {
    display: block;
    width: 100%;
  }

  .nav-header a {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 1rem;
  }

#navigation-items {
  list-style: none;
  margin: 0.5rem 2rem 1rem 2rem;
  padding: 0;
}

  #navigation-items li {
    display: block;
    margin: 0;
    padding: 0;
  }

  #navigation-items > li {
    border-bottom: 1px solid rgb(13, 19, 23);
    padding: 0.25rem 0 0.75rem 0;
  }

  #navigation-items > li:last-child {
    border-bottom: none;
    padding: 4rem 0 0 0;
  }

  #navigation-items > li > a {
    display: block;
    margin: 1rem 0;
  }

  #navigation-items ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

    #navigation-items ul li {
      margin: 0.25rem 0;
    }

  #navigation-items .first-item {
    font-size: 1.2rem;
  }

  #navigation-items .project-toc {
    padding-left: 0.5rem;
  }

  #navigation-items .project-toc .toctree-l1,
  #navigation-items .project-toc .toctree-l1 a  {
    font-size: 0.9rem;
  }

  #navigation-items .project-toc .toctree-l2 {
    display: none;
  }

  #navigation-items .project-toc .toctree-l3 {
    display: none;
  }

button, a.button, input.button {
  background-color: rgb(41, 187, 179);
  border-radius: 3px;
  border-style: none;
  box-sizing: border-box;
  color: rgb(255, 255, 255);
  cursor: pointer;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2rem;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.15s ease-in-out 0s, color 0.15s ease-in-out 0s;
}

  button:hover, a.button:hover, input.button:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(102, 128, 135);
  }

  button.warning, a.button.warning, input.button.warning {
    color: rgb(255, 255, 255);
    background-color: rgb(220, 53, 69);
  }

  button.warning:hover, a.button.warning:hover, input.button.warning:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(148, 27, 39);
  }

  button:disabled, a.button:disabled, input.button:disabled {
    background-color: rgb(145, 153, 158);
    cursor: default;
  }

  a.button {
    text-decoration: none;
  }

  button.text-button {
    background-color: transparent;
    border-style: none;
    color: rgb(41, 187, 179);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0;
    text-transform: uppercase;
    transition: color 0.15s ease-in-out 0s;
  }

  button.text-button:hover {
    color: rgb(102, 128, 135);
  }

input, select {
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(221, 224, 225);
  border-radius: 2px;
  box-sizing: border-box;
  color: rgb(25, 36, 42);
  font-size: 0.8rem;
  padding: 0.5rem;
}

.messages {
  background-color: rgb(246, 190, 21);
  box-sizing: border-box;
  color: rgb(255, 255, 255);
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  list-style: none;
  padding: 1rem;
  margin: 0;
  width: 100%;
}

.hide {
  display: none;
}

.pagination-top {
  border-bottom: 1px solid rgb(235, 235, 235);
  padding-bottom: 2rem;
}

.pagination-bottom {
  border-top: 1px solid rgb(235, 235, 235);
  padding-top: 2rem;
}

  .pagination-top .breadcrumbs,
  .pagination-bottom .breadcrumbs {
    padding: 2rem 0;
  }

  .pagination-top .pagination,
  .pagination-bottom .pagination {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .pagination-top .pagination .previous a,
  .pagination-top .pagination .next a,
  .pagination-bottom .pagination .previous a,
  .pagination-bottom .pagination .next a {
    align-items: center;
    background-color: rgb(245, 245, 245);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: rgb(66, 81, 90);
    display: flex;
    padding: 0.5rem 1rem;
    text-decoration: none;
  }

    .pagination-top .pagination .previous a:hover,
    .pagination-top .pagination .next a:hover,
    .pagination-bottom .pagination .previous a:hover,
    .pagination-bottom .pagination .next a:hover {
      background-color: rgb(235, 235, 235);
    }
  .pagination-top .pagination .previous a::before,
  .pagination-bottom .pagination .previous a::before {
    background-image: url("../images/chevron-circle-left-gray.png");
    background-size: 1.1rem 1.1rem;
    content: " ";
    display: inline-block;
    height: 1.1rem;
    margin-right: 0.5rem;
    width: 1.1rem;
  }

  .pagination-top .pagination .next a::after,
  .pagination-bottom .pagination .next a::after {
    background-image: url("../images/chevron-circle-right-gray.png");
    background-size: 1.1rem 1.1rem;
    content: " ";
    display: inline-block;
    height: 1.1rem;
    margin-left: 0.5rem;
    width: 1.1rem;
  }

  .pagination-bottom .meta {
    font-size: 0.9rem;
    padding: 1rem 0;
    margin-top: 1rem;
  }
