body {
  font-size: .875rem;
  overflow-y: scroll;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
  .sidebar {
    top: 0rem;
  }
}

.sidebar-sticky {
  position: relative;
  top: 0;
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #727272;
}

.accordion .accordion-button .feather {
  margin-right: 4px;
  color: #727272;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.accordion .accordion-button:hover .feather,
.accordion .accordion-button.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/*
 * Navbar
 */


.navbar {
  background-color: rgb(0, 149, 219);
} 

.navbar-brand {
  font-size: 18px;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 0, 0);
  box-shadow: inset -1px 0 0 rgb(0, 0, 0);
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.nav-link {
  color: rgb(255, 255, 255);
}

/*
 * Sidebar
 */

.b-example-divider {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.bi {
  vertical-align: -.125em;
  pointer-events: none;
  fill: currentColor;
}

.dropdown-toggle { outline: 0; }

.nav-flush .nav-link {
  border-radius: 0;
}

.btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: .25rem .5rem;
  font-weight: 600;
  color: rgba(0, 0, 0, .65);
  background-color: transparent;
  border: 0;
}
.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(0, 0, 0, .85);
  background-color: #d2f4ea;
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(0, 0, 0, .85);
}
.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  display: inline-flex;
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.75rem;
  text-decoration: none;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: #d2f4ea;
}

.scrollarea {
  overflow-y: auto;
}

.fw-semibold { font-weight: 600; }
.lh-tight { line-height: 1.25; }

/*
 * Custom elements sidebarMenu
 */

/* Apply the same background color to accordion items */
#sidebarMenu .accordion-item {
  background-color: inherit; /* Inherit the background color from the parent */
  border: none; /* Remove borders if any */
}

/* Style the accordion headers */
#sidebarMenu .accordion-header {
  background-color: inherit; /* Inherit the background color */
}

/* Style the accordion buttons */
#sidebarMenu .accordion-button {
  font-size: 18px; /* Adjust the font size */
  box-shadow: none; /* Remove the default box shadow */
  background-color: inherit; /* Inherit the background color */
  color: #000; /* Adjust text color as needed */
}

/* Style the accordion bodies */
#sidebarMenu .accordion-body {
  background-color: inherit; /* Inherit the background color */
}

#sidebarMenu .accordion-body li {
  font-size: 16px;
}

#sidebarMenu .item-button, #sidebarMenu .item-button::after{
  text-decoration-line: none;
  background-image: none;
  content: none;
}

/* Style of icons in accordion headers */
#sidebarMenu .accordion-header i {
  font-size: 0.8em;
  color: rgb(0, 82, 134);;
}

/*
 * Custom elements DataTable
 */
 
#customers_wrapper {
  margin-top: 20px;
}

#customers_wrapper .btn-group {
  background-color: inherit;
  color: #212529;
}

.btn-primary, .btn-check:checked+.btn, .active>.page-link {
  background-color: rgb(0, 149, 219);
  border-color: rgb(0, 149, 219);
  color: rgb(255, 255, 255);
}

.btn-outline-primary {
  border-color: rgb(0, 149, 219);
  color: rgb(0, 149, 219);
}

.btn-secondary {
  background-color: inherit;
  border-color: #dee2e6;
  color: inherit;
}

.card-header, .btn-link, .secondary-text, tbody a {
  color: rgb(0, 82, 134);
  text-decoration-line: none;
}

.report-text {
  color: rgb(0, 149, 219);
}

.image-text {
  color: rgb(0, 82, 134);
}

.crispy-form {
  margin-bottom: 20px;
}

/*
 * Chart
 */

#loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}