@import "conestack.css";
@import "Rubik-Regular.ttf";
@import "bootstrap.css";
@import "iconfont.css";

@font-face {
  font-family: "Rubik";
  src: url("Rubik-Regular.ttf") format("truetype");
}

:root {
  --doc-header: 60px;
  --bs-font-sans-serif: Rubik, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --color-sidebar-item-background--hover: linear-gradient(
    90deg,
    var(--color-background-hover--transparent) 0%,
    var(--color-background-hover) var(--sidebar-item-spacing-horizontal),
    var(--color-background-hover) 100%
  );
}

html { scroll-padding-top: 0; }
[id] { scroll-margin-top: 0; }

ol,
ul {
  list-style: none;
}

.gm-show {
  display: block !important;
}

.gm-hide {
  display: none !important;
}

#header {
  background-color: rgba(255, 255, 255, 1);
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  z-index: 100;
}

#header .user-profile {
  margin-right: 1rem;
  user-select: none;
}

#header.navbar {
  flex-direction: column;
  align-items: flex-end;
}

.search-div {
  position: absolute;
  top: 60px;
  padding-top: 14px;
  right: 10px;
  height: 76px;
  background: linear-gradient(179deg, #f6f6f6, #fff);
}

#cs-layout.my-md-4 {
  margin-top: 6.5rem !important;
  margin-bottom: 130px !important;
}

#cs-layout .cs-local-toc {
  margin-top: 30px !important;
}

#cs-layout .cs-local-toc {
  max-height: calc(100vh - 220px);
  overflow-y: hidden;
}

#cs-layout .cs-local-toc:hover {
  overflow-y: auto;
}

#cs-sidebar {
  top: 6rem;
  font-size: 18px;
  max-height: calc(100vh - 16rem);
}

.custom-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 120px;
  display: flex;
  color: #565a75;
  background-color: #e6e7f0;
  align-items: center;
  line-height: 2rem;
  z-index: 100;
}

.custom-footer .footer-content {
  margin: 0 2.375rem;
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.custom-footer .footer-logo {
  width: 11.25rem;
  height: 1.375rem;
}

.flex-row-nowrap {
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

ul.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

ul.link-list > li {
  font-size: 16px;
  margin-left: 1.875rem;
}

ul.link-list > li > a {
  color: #565a75;
  text-decoration: none;
}

ul.link-list > li > a:hover {
  text-decoration: underline;
}

.custom-footer .text-container {
  justify-content: flex-end;
  font-size: 14px;
}

.custom-footer .text-container > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.custom-footer .text-container > ul > li {
  margin-left: 1.875rem;
}

.cs-nav-toc li.toctree-l1.current > a {
  color: var(--bs-gray-800);
}

.cs-nav-toc .reference:hover {
  background: linear-gradient(90deg, #efeff400 0%, #efeff4 1rem, #efeff4 100%);
}

.cs-nav-toc .reference {
  box-sizing: border-box;
  display: inline-block;
  height: 100%;
  line-height: 1rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  width: 100%;
}

.cs-nav-toc .current.reference {
  font-weight: 700;
}

.cs-nav-toc li {
  text-indent: 0;
}

#nav-search {
  width: 320px;
}

.form-control {
  border-width: 2px !important;
}

.form-control:hover {
  box-shadow: 0 7px 19px -10px rgba(0, 0, 0, 0.75);
}

.form-control:focus {
  box-shadow: 0 7px 19px -10px rgba(0, 0, 0, 0.75);
  border: 2px solid #ced4da;
}

main.cs-main section {
  margin-top: -3rem;
  padding-top: 3rem;
}

h3 {
  font-size: 1.4em;
}

h4 {
  font-size: 1.2em;
}
