@import "DocsDefault.css";
uix-docs-view {
  max-width: 1800px;
  margin: auto;
  display: flex;
  overflow: unset !important;
  border-radius: 0px !important;
  flex-direction: column;
  width: 80%;
  /* #currentRoute a:hover {
		color: var(--accent); 
	}*/
}
uix-docs-view #markdownViewer * {
  scroll-margin-top: calc(70px + 10px);
  /* header + padding */
}
uix-docs-view #currentRoute {
  display: flex;
  margin-top: 22px;
  font-size: large;
  align-items: center;
}
uix-docs-view #currentRoute * {
  color: var(--text);
  margin-left: 1px;
  margin-right: 1px;
  display: flex;
  flex-wrap: wrap;
}
uix-docs-view #currentRoute span {
  opacity: 0.5;
}
uix-docs-view #currentRoute div:hover > a {
  color: var(--accent) !important;
}
uix-docs-view #currentRoute div:hover > span {
  color: var(--accent) !important;
}
uix-docs-view #currentRoute > span.fa {
  margin-right: 4px;
  opacity: 1;
  transition: all 0.1s;
  /* */
}
uix-docs-view #currentRoute > span.fa:hover {
  color: var(--accent);
}
uix-docs-view #currentRoute > span.fa:active {
  transform: scale(0.96);
}
@media screen and (min-width: 1200px) {
  uix-docs-view uix-markdown-wrapper {
    max-width: 80%;
    min-width: 80%;
    width: 80%;
  }
}
uix-docs-view #main .sidebar {
  flex-direction: column;
  position: sticky;
  top: 0;
  /* padding-top: 100px;
		margin-top: -70px; */
  padding-top: 0px;
  margin-top: -70px;
  width: 35%;
  margin-left: 20px;
  margin-right: 10px;
  /* height: fit-content; */
  display: flex;
  min-height: 100dvh;
  height: fit-content;
  /* height: fit-content; */
}
uix-docs-view #main .sidebar.small {
  height: fit-content;
}
uix-docs-view #tableOfContents {
  padding-top: 100px;
}
uix-docs-view #scrollTopAnchor {
  position: sticky;
  place-self: flex-end;
  float: right;
  margin-top: auto;
  bottom: 25px;
}
uix-docs-view #main {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}
uix-docs-view #main > div {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
}
@media screen and (min-width: 1200px) {
  uix-docs-view #tableOfContents label {
    position: absolute;
    height: calc(100dvh - 200px);
    overflow-y: auto;
  }
  uix-docs-view #tableOfContents label::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
  }
  uix-docs-view #tableOfContents label::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
  }
}
@media screen and (max-width: 1200px) {
  uix-docs-view #tableOfContents {
    position: relative;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    display: table;
    /* CSS bug? */
    height: fit-content;
  }
  uix-docs-view #main .sidebar {
    position: relative;
    width: 100%;
    height: fit-content;
    padding-top: 0px;
    margin-top: 0px;
    min-height: unset;
  }
  uix-docs-view #main > div {
    flex-direction: column-reverse;
  }
  uix-docs-view #main #scrollTopAnchor {
    display: none;
  }
}
uix-docs-view .article-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding-top: 10px !important;
  margin: auto !important;
  justify-content: space-between;
  flex-direction: row !important;
}
@media screen and (min-width: 1200px) {
  uix-docs-view .article-navigation {
    max-width: 80%;
    min-width: 80%;
    width: 80%;
    margin: 0 !important;
  }
}
uix-docs-view .article-navigation a {
  text-decoration: none;
  transition: filter 0.1s, transform 0.1s;
  padding: 10px;
  background: var(--bg-button);
  border-radius: 8px;
  color: var(--text);
  box-sizing: border-box;
}
uix-docs-view .article-navigation a:hover {
  text-decoration: none;
  filter: contrast(1.2);
}
uix-docs-view .article-navigation a:hover:active {
  transform: scale(0.98);
}
uix-docs-view .outdated-version {
  padding: 10px 20px !important;
  border: 2px solid #ec0000;
  border-radius: 12px;
  margin-left: 20px;
  font-size: larger;
  text-align: center;
  justify-content: center;
  align-items: center;
}
uix-docs-view .outdated-version a {
  cursor: pointer;
}
