@import url("search.css");
@import url("syntax.css");

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  padding-top: 20px;
}

.mdg-nav {
  font-size: .9rem;
}

.jotbird-banner {
  display: block;
  color: #0b1f35;
  background: linear-gradient(120deg, #f5f9ff 0%, #e6f3ff 50%, #f8fdff 100%);
  border-bottom: 1px solid #d6e9f6;
  box-shadow: 0 6px 18px rgba(0, 49, 79, 0.08);
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease;
  opacity: 0.93;
  position: relative;
}

.jotbird-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 49, 79, 0.12);
  color: #0b1f35;
  opacity: 1;
}

.jotbird-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
}

.jotbird-banner__logo {
  height: 26px;
  width: auto;
}

.jotbird-banner__text {
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.jotbird-banner__close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #0b1f35;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.jotbird-banner__close:hover,
.jotbird-banner__close:focus {
  background: #ffffff;
  outline: none;
}

@media (max-width: 576px) {
  .jotbird-banner__inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .jotbird-banner__text {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .jotbird-banner__close {
    right: 10px;
    top: 10px;
    transform: none;
  }
}

.jumbotron h1 {
  font-weight: 300;
  font-size: 3.2rem;
  margin-top: -45px;
}

.jumbotron p {
  padding: 5px 0 0 0;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 10px;
}

@media(max-width: 576px) {
  .jumbotron p {
    padding: 5px 0 0 0;
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 10px;
  }
  .jumbotron h1 {
    font-size: 1.5rem;
    margin-top: 0px;
  }
}

.jumbotron {
  background: #03A7DD;
  color: #FFFFFF;
  margin-bottom: 20px;
  border-radius: 0;
  height: 195px;
}

.page-header {
  font-weight: 600;
}

.list-group {
  padding: 45px 0;
}

.page-header .anchorjs-link {
  text-decoration: none
}

h2 .anchorjs-link {
  text-decoration: none
}

h3 .anchorjs-link {
  text-decoration: none
}

h4 .anchorjs-link {
  text-decoration: none
}

.site-footer {
  padding-top: 35px;
  padding-bottom: 20px;
  margin-top: 50px;
  color: #99979c;
  background-color: #dbdbdb;
}

.about {
  padding-top: 45px;
  font-size: 21px;
  font-weight: 300;
  margin-bottom: 20px;
}

.panel-default {
  margin-top: 50px;
}

/* css for the sidebar */
/* https://afeld.github.io/bootstrap-toc/ */

nav[data-toggle='toc'] {
  padding-top: 28px;
}

nav[data-toggle='toc'] .nav > li > a:hover,
nav[data-toggle='toc'] .nav-link.active,
nav[data-toggle='toc'] .nav-link.active:focus,
nav[data-toggle='toc'] .nav-link.active:hover,
nav[data-toggle='toc'] .nav > li > a:focus {
  color: #03A7DD;
  border-left: 1px solid #03A7DD;
}
nav[data-toggle='toc'] .nav > .active > a,
nav[data-toggle='toc'] .nav > .active:hover > a,
nav[data-toggle='toc'] .nav > .active:focus > a {
  color: #03A7DD;
  border-left: 2px solid #03A7DD;
}

/* small screens */
@media (max-width: 768px) {
  /* override the Affix plugin so that the navigation isn't sticky */
  nav.affix[data-toggle='toc'] {
    position: static;
  }
}

.footnotes {
  margin-top: 40px;
  padding-top: 20px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgb(238, 238, 238);
}

.highlight {
  padding-top: 10px;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 1px;
  margin-bottom: 20px;
}

.form-control-lg {
  display: block;
  width: 100%;
  padding: .5rem 1rem;
  font-size: 1.1rem;
  height: 2.5rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .3rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

textarea {
  height: 250px;
}

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 1em 10px 0.1em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}

code {
  color: #212529;
}
