html,
body {
  height: 100% !important;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/firacode/v17/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sJV37Nv7g.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sJVT7Nv7g.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sJVz7Nv7g.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sJVP7Nv7g.woff2) format('woff2');
  unicode-range: U+0370-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sJV77Nv7g.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sJVD7Ng.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  flex-direction: column !important;
  display: flex !important;
}

main > .container-fluid {
  padding: 60px 12px 0;
}

.navbarShadow {
  box-shadow: 0px 2px 10px 0 #d8d8d8;
}

.sidebarTree {
  background: white;
  padding: 10px;
  border-right: 1px solid #d8d8d8;
}

.sidebarTree ul {
  padding: 0;
}

.sidebarTree ul > li {
  text-decoration: none;
  list-style: none;
  padding: 5px 5px;
}

.sidebarTree ul > li > a {
  color: #303030;
  text-decoration: none;
}

.sidebarTree li.toctree-l1 > a {
  font-size: 1rem;
  font-weight: bold;
}
.sidebarTree ul > li > a.current {
  color: #7900a1;
}

.sidebarTree ul > li > a:hover {
  color: #7900a1;
}

.sidebarTree li.toctree-l2 > ul,
.sidebarTree li.toctree-l4 > ul {
  margin-left: -10px;
}

.navbar-brand {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #272727 !important;
}

.navbar-toggler {
  color: #272727 !important;
}

.docsearch {
  max-width: 320px;
}
.section {
  margin-top: 1rem !important;
}

.brand {
  display: block;
}

.brand > img {
  height: 30px;
  display: inline-block;
}

.brand > .name {
  font-family: "Fira Code", monospace;
  display: inline-block;
  font-size: 1.3rem;
  font-weight: bold;
  vertical-align: middle;
  color: #272727 !important;
}

.xdt-footer {
  background-color: #272727 !important;
  color: white !important;
}

div.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
}

.xdt-footer > .container-fluid > div {
  display: inline-block;
}

.xdt-footer .text-muted {
  font-size: 0.8rem;
  color: white !important;
}

.docversion {
  display: block;
  position: absolute;
  top: 10px;
  right: 10%;
}

.highlight-ruby,
.highlight-python,
.highlight-c {
  padding-left: 15px;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  padding-top: 10px;
}
.topic-nav {
  display: block;
  position: absolute;
  right: 10px;
  margin-top: -50px;
}

.toctree-l3,
.toctree-l4,
.toctree-l5 {
  padding-left: 10px !important;
}

img.intro-logo {
  display: none;
}

div[id*="app-logo"] img.intro-logo {
  display: inline;
  height: 30px;
}

.apple-store {
  display: inline-block;
  background-image: url("apple_store_badge.svg");
  width: 150px;
  height: 50px;
  background-position: center;
  background-repeat: no-repeat;
}

.google-store {
  display: inline-block;
  background-image: url("google-play-badge.png");
  background-size: 150px 60px;
  width: 150px;
  height: 50px;
  background-position: center;
  background-repeat: no-repeat;
}

.btn-x360 {
  background: rgb(86, 36, 126);
  background: linear-gradient(
    90deg,
    rgba(86, 36, 126, 1) 0%,
    rgba(81, 38, 128, 1) 27%,
    rgba(64, 45, 136, 1) 58%,
    rgba(20, 62, 159, 1) 100%
  );
  color: whitesmoke;
}

.btn-x360:hover {
  color: white;
  background: black;
}

@media (min-width: 992px) {
  .bd-layout {
    grid-template-columns: 1fr 5fr;
  }
}

@media (min-width: 768px) {
  .bd-layout {
    display: grid;
    gap: 1.5rem;
    grid-template-areas: "sidebar main";
    grid-template-columns: 1fr 3fr;
  }
}

.bd-sidebar {
  grid-area: sidebar;
}

.bd-main {
  grid-area: main;
}

.bd-navbar {
  padding: 0.75rem 0;
}

@media (min-width: 768px) {
  .bd-subnavbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }
}

.bd-subnavbar {
  position: relative;
  z-index: 1020;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgb(0 0 0 / 15%);
}

.bs-sidenav {
  border-right: 1px solid #d8d8d8;
}
