/* ==========================================================================
   Hub Sidebar
   ========================================================================== */

.hub-sidebar {
    align-self: flex-start;
    position: sticky;
    top: 60px;
    background: white;
    z-index: 1;
    padding-top: 40px;
    box-shadow: 1px 1px 5px #e5e5e5;
}

.hub-sidebar__inner {
  padding-right: 0px;
  border-radius: 8px;
  position: sticky;
  top: 20px;
  z-index: 10;
}

.hub-sidebar__mobile-nav {
  width: 100%;
}

.hub-sidebar__select {
  cursor: pointer;
}

.hub-sidebar__item {
  transition: background-color 0.2s ease;
}

.hub-sidebar__link {
  display: block;
  color: inherit;
  width: 100%;
}

.hub-sidebar__link--active {
  padding: 25px 0 25px 20px;
  border-right: 5px solid var(--vibrant-blue, #0d6efd);
  margin-right: 20px;
  margin-left: -20px;
  box-shadow: 1px 4px 5px 1px #dfdfdf;
  border-bottom-left-radius: 15px;
  font-weight: 700;
  margin-bottom: 15px;
}


/* ==========================================================================
   Hub Accordion Overrides 
   ========================================================================== */

 .hub-sidebar .accordion-button {
  padding-left: 30px;
  position: relative;
  color: inherit;
}


.hub-sidebar .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
  color: inherit;
}

.hub-sidebar .accordion-button::after {
  position: absolute;
  left: 0;
  right: auto;
  margin-left: 0;
}

.hub-sidebar .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: inherit;
  box-shadow: none;
}

.hub-sidebar .accordion-button::after{
     
  width: 15px;
  height: 15px;
  background-size: contain;
}

.hub-sidebar .accordion-button:not(.collapsed)::after {
  background-image: var(--bs-accordion-btn-active-icon);
  transform: var(--bs-accordion-btn-icon-transform);
  position: absolute;
  left: 0;
  right: auto;
  margin-left: 5px;
  width: 15px;
  height: 15px;
  background-size: contain;

}

.hub-accordion .accordion-body {
  padding-left: 30px;
}

.hub-accordion .text-primary {
  color: black;
}

.hub-text__active::after {
    content: "";
    background: #f5f8ff;
    position: absolute;
    height: 100%;
    width: 125%;
    left: -45px;
    top: -1px;
    z-index: -1;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 991px) {
  .hub-sidebar {
    position: sticky;
    box-shadow: none;
    padding-top: 40px; 
    
  }



  .hub-sidebar__inner {
  padding-right: 40px;
  }
}