.bg-custom-blue {
  color: #fff;
  background: #3358f4;
  background: -webkit-linear-gradient(-90deg, #3358f4 0%, #1d8cf8 100%);
  background: -o-linear-gradient(-90deg, #3358f4 0%, #1d8cf8 100%);
  background: -moz-linear-gradient(-90deg, #3358f4 0%, #1d8cf8 100%);
  background: linear-gradient(-90deg, #3358f4 0%, #1d8cf8 100%);
}

#sidebarCollapse {
  width: 40px;
  height: 40px;
  background: #ffffff00;
}


#sidebarCollapse span {
  width: 80%;
  height: 2px;
  margin: 0 auto;
  display: block;
  background: #1d253b;
  transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
}

#sidebarCollapse span:first-of-type {
    /* rotate first one */
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    /* second one is not visible */
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    /* rotate third one */
    transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
    /* no rotation */
    transform: none;
    /* all bars are visible */
    opacity: 1;
    margin: 5px auto; 
}

.wrapper {
  display: flex;
  width: 100%;
  /* align-items: stretch; */
}

.main-panel {
  position: relative;
  /*padding-left: 275px;*/
  float: right;
  width: 100%;
  min-height: 100vh;
  border-top: 2px solid #aedef0a6;
  background: #f5f6fa;
  -webkit-transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
  -moz-transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
  -o-transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
  -ms-transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
  transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
}

.main-panel>.content {
  padding: 78px 30px 30px 280px;
  min-height: calc(100vh - 70px);
}


#sidebar .sidebar-header {
    padding: 20px;
    /* background: #0b5ed7; */
} 

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul p {
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}
#sidebar ul li a:hover {
    color: #4287fe;
    background: #fff;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    background: #0b5ed7;
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #0b5ed7;
}

#sidebar {
  width: 300px;
  /*height: 85vh;*/
  /* min-width: 250px; */
  /* max-width: 250px; */
  /* min-height: 100vh; */
  overflow-x: hidden;
  background: #3358f4;
  background: -webkit-linear-gradient(0deg, #3358f4 0%, #1d8cf8 100%);
  background: -o-linear-gradient(0deg, #3358f4 0%, #1d8cf8 100%);
  background: -moz-linear-gradient(0deg, #3358f4 0%, #1d8cf8 100%);
  background: linear-gradient(0deg, #3358f4 0%, #1d8cf8 100%);
  z-index: 999;
  /*position: fixed;*/
  overflow: visible;
  border-radius: 12px;
  /* padding-left: var(--bs-gutter-x,.75rem); */
  transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
  transform-origin: center left; /* Set the transformed position of sidebar to center left side. */
}

#sidebar > .row {
  --bs-gutter-x: 0;
}

#sidebar.active {
    margin-left: -300px;
    transform: rotateY(100deg); /* Rotate sidebar vertically by 100 degrees. */
}

.card  {
    border-radius: 12px;
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.15);
    background-color: #FFFFFF;
    color: #252422;
    margin-bottom: 20px;
    position: relative;
    border: 0 none;
    transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease; 
}
.card .card-body {
    padding: 15px 15px 10px 15px; 
}

@media (max-width: 768px) {
  .main-panel {
    padding-left: 0px;
  }
  /* Reversing the behavior of the sidebar:
      it'll be rotated vertically and off canvas by default,
      collapsing in on toggle button click with removal of
      the vertical rotation.   */
  #sidebar {
      margin-left: -300px;
      transform: rotateY(100deg);
  }
  #sidebar.active {
      margin-left: 0;
      transform: none;
  }

  /* Reversing the behavior of the bars:
      Removing the rotation from the first,
      last bars and reappear the second bar on default state,
      and giving them a vertical margin */
  #sidebarCollapse span:first-of-type,
  #sidebarCollapse span:nth-of-type(2),
  #sidebarCollapse span:last-of-type {
      transform: none;
      opacity: 1;
      margin: 5px auto;
  }

  /* Removing the vertical margin and make the first and last bars rotate again when the sidebar is open, hiding the second bar */
  #sidebarCollapse.active span {
      margin: 0 auto;
  }
  #sidebarCollapse.active span:first-of-type {
      transform: rotate(45deg) translate(2px, 2px);
  }
  #sidebarCollapse.active span:nth-of-type(2) {
      opacity: 0;
  }
  #sidebarCollapse.active span:last-of-type {
      transform: rotate(-45deg) translate(1px, -1px);
  }
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-color: #fff;
}

.table {
  border-color: #fff;
  --bs-table-striped-bg: rgba(6, 127, 255, 0.14)
}

.table > :not(:last-child) > :last-child > * {
  border-bottom-color: #6dadff;
}

.select-header {
  color: #fff;
  background-color: #0a92e3d4;
  border: none;
}

.btn-header {
  color: #fff;
}
.btn-header:hover {
  color: #8bbaff;
}

.anchorjs-link{
  font-size: 1.5rem;
  font-weight:400;
  color:rgba(13,110,253,0.5);
  transition:color 0.15s ease-in-out
}
@media (prefers-reduced-motion: reduce){
  .anchorjs-link{
    transition:none;
  }
}
.anchorjs-link:focus,.anchorjs-link:hover{
  color:#0d6efd;
  text-decoration:none
}

.padding {
  padding-left: 0px;
}

#scroll-list > .list-group-item-action:hover {
  color: #fff;
  background-color: #0d6efd;
}

#scroll-list > .list-group-item {
  color: #fff;
  background-color: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

#scroll-list > .list-group-item.active {
  color: #495057;
  background-color: #fff;
  border-color: #fff;
}

.center-block {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.icon-panel{
    width:150px;
    max-width:100%;
}

.no-padding {
  padding: 0;
  margin: 0; }

.overlay {
  display: none;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 2;
  background: rgba(39, 42, 43, 0.8);
  transition: opacity 200ms ease-in-out;
  border-radius: 4px;
  margin: -15px 0 0 -15px;
}

.overlay img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 128px;
    height: 128px;
    margin-left: -64px; /* Half the width */
    margin-top: -64px; /* Half the height */
    z-index: 3;
}

.width100percent{
    width: 100%;
}

.onepx-padding {
  padding: 1px;
  margin: 0; }

.rounded-corners{
  border-radius: 10%;
}

.txt-panel-main {
    font-size: 20px;
    font-weight: 600;
    line-height: 38px
}

.color-blue2 {
    color: #4787ff;
}
