/*-- bottom to top -- */
#topButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background-color: #121212;
  padding: 0;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s ease;
  box-shadow: 0 0px 20px 0 rgba(0, 0, 0, 0.1);
}
#topButton .progress-circle {
  width: 100%;
  height: 100%;
}
#topButton .progress-circle .progress-svg {
  width: 100%;
  height: 100%;
}
#topButton .progress-circle .progress-svg .progress-background {
  fill: none;
  stroke: transparent;
  stroke-width: 4;
}
#topButton .progress-circle .progress-svg .progress-bar {
  fill: none;
  stroke: #ffffff;
  stroke-width: 8px;
  transform: translate(0px, 0px);
  transition: stroke-dashoffset 0.3s ease;
}
#topButton .progress-circle .font {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: #ffffff;
  display: flex;
}
#topButton .progress-circle .font i {
  transform: rotate(180deg);
  line-height: 0px;
}
#topButton .progress-circle .font i:after {
  font-weight: 700 !important;
}
#topButton.show {
  opacity: 1;
  visibility: visible;
}
#topButton:hover {
  transform: translateY(-10px);
}

@media only screen and (max-width: 575px) {
  #topButton {
    width: 50px;
    height: 50px;
  }
}

/*-- scrollbar -- */
/* Customize the entire scrollbar */
.wooprex-sidebar-content::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

/* Customize the track (background) */
.wooprex-sidebar-content::-webkit-scrollbar-track {
  background: #f7f7f7;
}

/* Customize the handle (scrollbar tab) */
.wooprex-sidebar-content::-webkit-scrollbar-thumb {
  background: #272a2f;
  border-radius: 5px;
}

/* Handle on hover */
.wooprex-sidebar-content::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

/*-- header -- */
/* Start Wooprex Header & Light header */
header.wooprex-header-section {
  position: relative;
  width: 100%;
  top: 0px;
  z-index: 9999;
  transition: top 0.6s, background 0.4s, box-shadow 0.4s, padding 0.3s;
  border-bottom: 1px solid #f4f4f4;
  padding-top: 20px;
  padding-bottom: 20px;
}
header.wooprex-header-section.sticky {
  position: sticky;
  top: 0px;
  background-color: #ffffff;
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.1);
  animation: 0.95s ease 0s normal forwards 1 running stickyAnimation;
  -webkit-animation: 0.95s ease 0s normal forwards 1 running stickyAnimation;
}

@keyframes stickyAnimation {
  0% {
    top: -150px;
  }
  100% {
    top: 0;
  }
}

/*-- nav/mega menu -- */
/* Wooprex menu css that applies to all section */
header.wooprex-header-section .header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.wooprex-header-section .header-main .header-logo .logo {
  max-width: 170px;
  min-width: 170px;
}
header.wooprex-header-section .header-main .header-logo .logo img {
  width: 100%;
  height: 100%;
}
header.wooprex-header-section .header-main .header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
}
header.wooprex-header-section .header-main .header-right a {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid #FFDF28;
  padding: 8px 20px;
}
header.wooprex-header-section .header-main .header-right a.btn-outline {
  background: #ffffff;
  color: #272a2f;
  border-color: #272a2f;
}
header.wooprex-header-section .header-main .header-right a.btn-outline:hover {
  color: #ffffff;
  background: #272a2f;
}
header.wooprex-header-section .header-main .header-right a.btn-fill {
  background: #FFDF28;
  color: #272a2f;
}
header.wooprex-header-section .header-main .header-right a.btn-fill:hover {
  border-color: #272a2f;
  background: #fff;
}

/* Main body */
.wooprex-documentation-wrapper {
  margin-top: 40px;
}
.wooprex-documentation-wrapper .inner-main {
  display: flex;
  flex-wrap: wrap;
}
.wooprex-sidebar-content {
  width: 20%;
  padding: 20px;
  background: #f8f8ff;
  position: sticky;
  top: 120px;
  height: calc(100vh - 150px);
  overflow-y: auto;
}
.wooprex-main-content {
  width: 80%;
  padding: 50px 0px 50px 70px;
}

/* Sidebar content */
.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 20px;
  margin-bottom: 25px;
}
.sidebar-logo a {
  max-width: 60px;
}
.sidebar-logo a img {
  width: 100%;
  height: 100%;
}
.sidebar-logo .details h5 {
  font-size: 20px;
  line-height: 1.3em;
}
.navigation ol.main-menu {
  display: flex;
  flex-direction: column;
  align-items: normal;
  row-gap: 15px;
}
.main-menu a:hover,
.main-menu a.active {
  color: #000000;
  text-decoration: underline;
}
.navigation ol {
  padding-left: 20px;
}
.navigation ol {
  counter-reset: section;
}
.navigation ol li a {
  padding: 3px 0px;
}
.navigation ol li a:before {
  counter-increment: section;
  content: counters(section, ".") ". ";
}

/* Main content */
.main-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}
.main-wrapper section {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
.main-wrapper h3 {
  font-size: 32px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgb(239 239 239);
  /* margin-bottom: 25px; */
}
.main-wrapper p {
  color: #212121;
  /* margin-bottom: 15px; */
}
.main-wrapper ul {
  padding-left: 40px;
}
.main-wrapper ul li {
  list-style-type: disc;
  padding: 3px 0px;
}
.main-wrapper ul li a {
  color: #272a2f;
  font-weight: 600;
}
.main-wrapper ul li a:hover {
  color: #000;
  text-decoration: underline;
}
.main-wrapper img {
  width: 100%;
}
.main-wrapper img.terminal-image {
  max-width: 600px;
}
/* ============= Footer ============= */
.wooprex-footer {
  padding-top: 30px;
  padding-bottom: 30px;
  background: #121212;
}
.wooprex-footer p {
  color: #d5d4eb;
  text-align: center;
}
