body {
  margin: 0;
}

.Header {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  padding-left: 32px!important;
  padding-right: 32px!important;
  z-index: 32;
  padding: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-header-text);
  background-color: var(--color-header-bg);
}

.Header-link {
  align-items: center;
  display: flex;
  font-weight: 600;
  color: var(--color-header-logo);
  white-space: nowrap;
}

.Header-item {
  margin-right: 16px;
}

.octicon {
  fill: currentColor;
}

.Header-search {
  max-width: 272px;
  width: 100%;
  transition: .2s ease-in-out;
  transition-property: max-width, padding-bottom, padding-top;
}

.Header-search:focus-within {
  max-width: 544px;
}

.Header-search-label {
  display: flex;
  width: 100%;
  max-width: 100%;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-white);
  vertical-align: middle;
  background-color: var(--color-header-search-bg);
  border: 1px solid var(--color-header-search-border);
  border-radius: 6px;
  box-shadow: none;
}

.Header-search-label:focus-within {
  background-color: hsla(0, 0%, 100%, .175);
  border-color: var(--color-state-focus-border);
  outline: none;
}

.Header-search-input {
  min-height: 28px;
  width: 100%;
  padding: 5px 12px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 14px;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 6px;
  color: #fff;
}

.Header-search-input:focus {
  border: 0;
  box-shadow: none;
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
  border-color: var(--color-state-focus-border);
  outline: none;
}

::placeholder {
  color: #c2c3c4;
  opacity: 1;
}

.switch-theme {
  top: -2px;
  left: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-profile-color-modes-toggle-thumb-bg);
  cursor: pointer;
}

.no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.details-reset>summary {
  outline: none;
}

@media (max-width: 768px) {
  .Header {
    padding-left: 24px!important;
    padding-right: 24px!important;
  }
}

@media (max-width: 480px) {
  .Header {
    padding-left: 16px!important;
    padding-right: 16px!important;
  }
  .mobile-none {
    display: none!important;
  }
  .Header-search {
    max-width: 100%;
  }
}

@media (min-width: 480px) {
  .non-mobile-none {
    display: none!important;
  }
}

.pinned-item-desc img {
  max-width: 100%;
}


.UnderlineNav-item.selected,
.UnderlineNav-item[aria-current]:not([aria-current=false]),
.UnderlineNav-item[role=tab][aria-selected=true] {
 border-bottom-color:#ff9900;
}


/* The Modal (background) */
.modal {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  z-index: 1;
  padding-top: 3em;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  transition: visibility 0.25s, opacity 0.25s;
}

.modal-content-wrapper {
  padding-left: 2em;
  padding-right: 2em;
  padding-bottom: 2em;
  min-width: calc(1000px + 4em);
}


/* Modal Content */
.modal-content {
  background-color: #2b303b;
  margin: auto;
  padding: 0;
  width: 95%;
  min-width: 1000px;
  max-width: 1400px;
  border-radius: 6px;
  display: flex;
}

.modal-pic {
  display: flex;
  align-content: center;
  cursor: pointer;
}

/* The Close Button */
/* Optimized for accessibility by using a button named close but 
      shifting the close text out of the button and only showing x */
.modal-close {
  color: white;
  background-color: transparent;
  position: fixed;
  top: .25em;
  right: .5em;
  font-size: 2em;
  font-weight: bold;
  height: 1em;
  width: 1em;
  text-indent: 10em;
  overflow: hidden;
  border: 0;
}

.modal-close::after {
  position: absolute;
  line-height: 0.5;
  top: 0.2em;
  left: 0.1em;
  text-indent: 0;
  content: "\00D7"
}

.modal-close:hover,
.modal-close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.markdown-body img[onclick] {
  cursor: pointer;
}


.markdown-body img[onclick]:hover {
  box-shadow: 0 0 8px 2px var(--color-scale-gray-4);
  transition-duration: 150ms;
  transition-property: box-shadow;
}


.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 {
  color: #ff9900;
  filter: brightness(0.85);
  margin-bottom: 6px;
  margin-top: 30px;
}

.markdown-body.toc h4 {
  color: var(--color-text-primary);
}

.markdown-body .footnotes li > p{
  margin-bottom: 4px;
  margin-top: 4px;
}

.markdown-body .footnotes hr {
  margin-bottom: 8px;
  margin-top: 30px;
}

.markdown-body .katex {
  color: #66d9ef;
  font-size: 16px;
}

.markdown-body pre {
  background-color: #2b303b !important;
}
.markdown-body figure {
  margin-left: 0;
  margin-right: 0;
}

.markdown-body img {
  background-color: #2b303b;
  border-radius: 6px;
}

.utterances {
  margin-left: 0;
  margin-right: 0;
  max-width: 2000px;
}