/* DROPDOWN WITHOUT AFTER ARROW */
.d-no-after a::after {
  content: unset !important;
}
.d-no-after a::before {
  content: unset !important;
}
.d-no-after button::after {
  content: unset !important;
  background-color: unset !important;
}
.d-no-after button::before {
  content: unset !important;
  background-color: unset !important;
}

.menu-item .dropdown-toggle,
.menu-item .dropdown-toggle:active {
  background-color: unset !important;
}

.d-no-after .menu-link {
  color: #7e8299 !important;
  font-weight: 500 !important;
  font-size: 1.075rem !important;
}
.d-no-after .dropdown-item.active,
.d-no-after .dropdown-item:active {
  color: unset !important;
  background-color: unset !important;
}

.d-no-after > div {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/*  Al darle click a admin se queda el color del background  */

.btn-check:active + .btn.btn-active-light-primary,
.btn-check:checked + .btn.btn-active-light-primary,
.btn.btn-active-light-primary.active,
.btn.btn-active-light-primary.show,
.btn.btn-active-light-primary:active:not(.btn-active),
.btn.btn-active-light-primary:focus:not(.btn-active),
.btn.btn-active-light-primary:hover:not(.btn-active),
.show > .btn.btn-active-light-primary {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Nested Dropdown */
.dropdown-menu2 li {
  position: relative;
}
.dropdown-menu2 .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}
.dropdown-menu2 .dropdown-submenu-left {
  right: 100%;
  left: auto;
}
.dropdown-menu2 > li:hover > .dropdown-submenu {
  display: block;
}

ul {
  list-style-type: none;
  margin-bottom: 0px;
}

/* OFFCANVAS */
.offcanvas {
  position: fixed;
  bottom: 0;
  z-index: 1045;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  visibility: hidden;
  background-color: #fff;
  background-clip: padding-box;
  outline: 0;
  transition: transform 0.3s ease-in-out;
}
.offcanvas-end {
  top: 0;
  right: 0;
  width: 100%;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
}
.offcanvas.show {
  transform: none;
}
.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}
.offcanvas-title {
  margin-bottom: 0;
  line-height: 1.5;
}
.offcanvas-header .btn-close {
  padding: 0.5rem;
  margin-top: -0.5rem;
  margin-right: -0.5rem;
  margin-bottom: -0.5rem;
}
.offcanvas-body {
  flex-grow: 1;
  padding: 1rem;
  overflow-y: auto;
}
.navbar-light .navbar-toggler {
  border-color: unset !important;
  border: unset !important;
}
@media (max-width: 991px) {
  a.nav-link.text-active-primary.text-dark {
    color: #181c32 !important;
  }
}
.calendar-container {
  right: unset !important;
}

/* MENU DROPDOWN */
.menu-dropdown{
  font-size: unset !important;
}