a,
a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

/* ---------------------------------------------------
    OFFCANVAS ESSENTIALS
----------------------------------------------------- */
.offcanvas-start {
  width: 20% !important;
}

.offcanvas {
  width: 20% !important;
}
/* Desktop view */
@media (min-width: 576px) {
  .offcanvas-backdrop {
    display: none;
  }
  #sidebarCollapse,
  button#sidebarCollapse {
    visibility: hidden;
    z-index: 9999;
  }
}

@media screen and (max-width: 600px) {
  .offcanvas-start {
    width: 70%;
  }
  footer {
    padding-left: 0;
  }
  main {
    margin-left: 0;
  }
  .offcanvas {
    width: 70% !important;
  }
}

/* ---------------------------------------------------
    MENU TOGGLE BUTTON ANIMATIONS
----------------------------------------------------- */

#sidebarCollapse {
  height: 60px;
  width: 60px;
  color: white;
  position: fixed;
  right: 20px;
  top: 10px;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  background: none;
  box-shadow: none;
  outline: none !important;
  border: none;
}

button#sidebarCollapse {
  z-index: 9999;
  display: block;
  position: fixed;
  border-radius: 50%;
  opacity: 1;
  background-color: rgb(15, 133, 0);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

/* ---------------------------------------------------
    SIDEBAR STYLES
----------------------------------------------------- */

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

.btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
  background-color: transparent;
  border: 0;
}
.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(0, 0, 0, 0.85);
  background-color: #e5e5e5;
}

.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 0.35s ease;
  transform-origin: 0.5em 50%;
}

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

.btn-toggle-nav a {
  display: inline-flex;
  padding: 0.1875rem 0.5rem;
  margin-top: 0.125rem;
  margin-left: 1.25rem;
  text-decoration: none;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: #e5e5e5;
}
.btn-toggle-nav a.active {
  font-weight: bold;
}

/* ---------------------------------------------------
    OPTIONAL NAVBAR HEADER THEME
----------------------------------------------------- */

.offcanvas-header {
  background-color: #157347 !important;
  color: white !important;
  height: 3rem;
}

/* ---------------------------------------------------
    OPTIONAL DARK SIDEBAR THEME
----------------------------------------------------- */
/*
nav,
nav .btn{
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important;
  --bs-text-opacity: 1;
  color: rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important;
}

.btn-toggle::before {
  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='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
}

.btn-toggle:hover,
.btn-toggle:focus,
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: #949494!important;
}*/
