* {
  box-sizing: border-box;
}


.maintab ::-webkit-scrollbar  {
  display: none;
}
.item-wrap ::-webkit-scrollbar  {
  display: none;
}
.tocFloat-wrap ::-webkit-scrollbar  {
  display: none;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: normal;
  margin: 0;
  min-height: 100vh;
  background: var(--main-bg-colour);
  color: var(--text-colour);
}

body.no-scroll {
  overflow: hidden;
}

main {
  max-width: 100%;
  padding: 40px 20px;
  flex: 1;
}

section {
  background: var(--section-bg-colour);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--section-shadow);
  color: var(--text-colour);
  text-align: justify;
  font-size: 1em;
}

section :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 0;
  margin-bottom: 0.6em;
  padding-bottom: 0.1em;
  color: var(--header-colour);
}

footer {
  padding: 24px;
  text-align: center;
  background: var(--section-bg-colour);
  color: var(--text-colour);
  font-size: 0.9rem;
  bottom: 0%;
  height: 100px;
  width: 100%;
  position: relative;
}
.disc {
  margin-top: 2em;
  font-size: 0.6em;
}

/* Style Lists */
.list-p {
    margin: 0;
}
.title-list {
    list-style-type: none;
    padding: 0;
}
.nohang-list {
    padding: 0;
    margin-left: 0;
    list-style-position: inside;
}
.list-title {
    font-weight: bold;
}

.catLi {
    padding-bottom: 0.6em;
}

.linkerLi {
    margin-top: 0em;
}

.linker {
  margin-top: 0.5em;
}

/* Scroll Fade */
.scroll-cont.showtop {
  background-image: radial-gradient(ellipse at top, var(--scroll-indicator-gradient-colour));
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100% 12px;
}

.scroll-cont.showbottom {
  background-image: radial-gradient(ellipse at bottom, var(--scroll-indicator-gradient-colour));
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100% 12px;
}

.scroll-cont.showtop.showbottom {
  background-image:
    radial-gradient(ellipse at top, var(--scroll-indicator-gradient-colour)),
    radial-gradient(ellipse at bottom, var(--scroll-indicator-gradient-colour));
  background-position: top, bottom;
  background-repeat: no-repeat;
  background-size: 100% 12px, 100% 12px;
}
