html {
  scroll-behavior: smooth;
}

.custom-sidebar {
  position: fixed;
  right: 0;
  background-color: var(--white);
  padding: 0px;
  transition: transform 0.3s ease;
  top: 210px;
  opacity: 0;
  max-width: 300px;
  box-shadow: 1px 3px 3px 1px rgb(16 40 33 / 28%);
  z-index: 99;
  transform: translateX(100%);
}

.custom-sidebar.sidebar-active {
  transform: translateX(0%);
  opacity: 1;
}

.custom-sidebar .heading-32 {
  font-size: 20px;
  background-color: #201E1E;
  color: #fff;
  padding: 20px;
  line-height: normal;
  height: 65px;
  margin-bottom: 0;
}

.custom-sidebar a {
  padding: 0 0 0 30px;
  position: relative;
  display: inline-block;
  line-height: 20px;
  margin-bottom: 0;
  width: 100%;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
}

.custom-sidebar .sidebar-close {
  position: absolute;
  right: 10px;
  top: 17px;
  color: #fff;
  cursor: pointer;
  background-color: #201E1E;
  width: 30px;
  height: 30px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #fdfdfd;
  border-radius: 100%;
  padding: 5px;
}

.sidebar-close:before {
  position: absolute;
  content: "X";
  width: 20px;
  height: 20px;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.custom-sidebar ul {
  counter-reset: custom;
  list-style-type: none;
  padding: 20px;
  margin: 0px;
  display: flex;
  flex-wrap: wrap;
  max-height: 400px;
  overflow-y: scroll;
}

.custom-sidebar ul li {
  counter-increment: custom;
  padding: 0;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
  align-items: center;
  width: 100%;
}

.custom-sidebar ul li.active>a {
  color: #ff0000;
  font-weight: 600;
}

.custom-sidebar ul li.active::before {
  background-color: #2E3045;
}

.custom-sidebar ul li:before {
  content: counters(custom, ".") " ";
  width: 20px;
  height: 20px;
  font-size: 12px;
  margin-right: 15px;
  background: #201E1E;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0px;
}

.custom-sidebar li.active a {
  color: #2E3045;
}

button.sidebar-toggle-button {
  position: fixed;
  right: 0;
  z-index: 4;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform-origin: 100% 100%;
  -webkit-transform-origin: 100% 0%;
  border-radius: 8px 8px 0 0;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  top: 55%;
  outline: none;
  background-color: #201E1E;
  color: #fff;
  padding: 12px 14px;
  border-radius: 2px;
  border: 1px solid #201E1E;
  font-family: var(--font-body-family);
  font-size: 16px;
}

button.sidebar-toggle-button i {
  margin-left: 10px;
  font-size: 18px;
}

button.sidebar-toggle-button.btn-theme:hover {
  border-color: #201E1E;
  background-color: #201E1E;
  z-index: 99;
}

.custom-sidebar ul li a {
  color: #000000;
  text-decoration: none !important;
}

.custom-sidebar ul li a:hover {
  color: #ff0000;
}

.custom-sidebar ul li.active::before {
  background-color: #ff0000;
}

.custom-sidebar ul li:hover a:before {
  background-color: #ff0000;
}

/*  */



@media (max-width: 575.98px) {
  button.sidebar-toggle-button {
    font-size: 14px;
  }
}