html {
  scroll-behavior: smooth;
}

.custom-sidebar {
  position: fixed;
  right: 0;
  background-color: var(--white);
  padding: 0px;
  transition: transform 0.3s ease;
  top: 127px;
  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: #f5b222;
  color: #fff;
  padding: 20px;
  line-height: 1.2;
  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: #f5b222;
  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: 2px;
  left: 4px;
}
.custom-sidebar ul {
  counter-reset: custom;
  list-style-type: none;
  padding: 20px;
  margin: 0px;
  display: flex;
  flex-wrap: wrap;
}
.custom-sidebar ul li {
  counter-increment: custom;
  padding: 0;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
  align-items: center;
}
.custom-sidebar ul li.active > a {
  color: #2E3045;
  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: #2E3045;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 5px;
}
.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: 0 0 8px 8px;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  top: 55%;
  outline: none;
  border:0;
}
button.sidebar-toggle-button i {
  margin-left: 10px;
  font-size: 18px;
}

.custom-sidebar ul li a {
  color: #000000;
  text-decoration: none !important;
}

/* ******* Start medis query ******* */

@media screen and (max-width: 1199.98px){
  .custom-sidebar{top: 105px;}
}

@media screen and (max-width: 767.98px){
  .custom-sidebar .heading-32{font-size: 16px;padding: 10px 20px;}
  .custom-sidebar .sidebar-close{width: 25px;height: 25px;top: 7px;}
  .sidebar-close:before {width: 15px;height: 15px;top: -2px;font-size: 14px;}
  .custom-sidebar ul{padding: 15px 20px;}
  .custom-sidebar ul li{margin-bottom: 6px;}
  .custom-sidebar {top: 168px;}
}

@media screen and (max-width: 575.98px){
  .custom-sidebar{top: 137px;}
}