.bg-gray {
  background-color: #f4f5f7;
}

nav p,
nav a,
nav button {
  font-size: 14px !important;
}
.vr {
  border-left: 1px solid black !important;
  height: 100%; /* Adjust as needed */
  width: auto !important;
  margin: auto;
}

.nav-link:hover,
.nav-link:focus {
  text-decoration: none !important;
}
.bg-hover:hover{
background-color: var(--color-light-cream);
}
nav .dropdown-menu a .nav-icon img {
  width: 20px;
}
 .nav-icon-mobile img {
  width: 20px;
}
nav .dropdown-menu a:has(.nav-icon) {
  display: flex;
  width: 100%;
  align-items: center;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  min-height: 40px; /* or whatever height you want */
  display: flex; /* ensures the <a> can stretch */
  padding: 0px !important;
}

nav li a {
  display: flex; /* allows for centering content */
  align-items: center;
  justify-content: start;
  width: 100%;
  height: 100%;
}

nav .dropdown-menu a .nav-icon,.splash {
  position: relative; /* Ensure positioning for ::before */
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(../images/icons/icon-bg-yellow.svg);
  background-position: center;
  background-size: cover;
}

/* nav .dropdown-menu a span::before {
  content: "";
  display: flex;
  width: 20px;
  position: absolute;
  z-index: -1;
  height: 20px;
  left: -7px;
  top: -2px;
  background-image: url(../images/icons/icon-bg-yellow.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
} */

.dropdown-toggle.show::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 8px;
  width: 90%;
  height: 5px;
  background-color: #fcaf1b;
}
#global-location.show::before {
  left: -25px;
  width: 75px;
}
.dropdown-menu[data-bs-popper] {
  top: 120%;
}

#global-location + .dropdown-menu[data-bs-popper] {
  left: -65px;
  top: 120%;
}
#download-dropdown + .dropdown-menu[data-bs-popper] {
  left: -185%;
  top: 120%;
}

#download-dropdown::before {
  display: none;
}
.nav-slider-img {
  width: 100px;
}
#global-location::after {
  display: none;
}
.reachUsIcon {
    width: 20px;
}
@media (min-width: 1000px) and (max-width: 1200px) {
  #customerHubDropdown + .dropdown-menu[data-bs-popper] {
    left: -200%;
  }

  #communityDropdown + .dropdown-menu[data-bs-popper] {
    left: -155%;
  }

  .communityDropdown {
    min-width: 1000px;
  }
}
@media (min-width: 1200px) and (max-width: 1300px) {
  #customerHubDropdown + .dropdown-menu[data-bs-popper] {
    left: -60%;
  }

  #communityDropdown + .dropdown-menu[data-bs-popper] {
    left: -155%;
  }

  .communityDropdown {
    min-width: 1000px;
  }
}
@media (min-width: 1200px) {
  .communityDropdown {
    min-width: 530px;
  }

  #communityDropdown + .dropdown-menu[data-bs-popper] {
    /* top: 115%; */
    left: -130px;
  }
}

@media (min-width: 1400px) {
  #communityDropdown + .dropdown-menu[data-bs-popper] {
    /* top: 115%; */
    left: 0px;
  }
}

/* mobile navbar css start */

@media (max-width: 1000px) {
  .offcanvas-menu {
    position: fixed;
    top: 68px;
    left: -100vw;
    width: 0vw;
    height: calc(100% - 68px);
    background-color: #f8f9fa;
    z-index: -1050;
    overflow: hidden;
    transition: width 0.3s ease-in-out;
    /* display: none; */
  }

  .offcanvas-menu.active {
    left: 0vw;
    width: 100vw;
  }

  .menu-panel {
    position: absolute;
    top: 0px;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    transition: transform 0.3s ease-in-out;
  }

  .menu-panel.active {
    left: 0;
    transform: translateX(0);
  }

  .menu-panel.exit-right {
    transform: translateX(100%);
  }

  .menu-panel.exit-left {
    transform: translateX(-100%);
  }

  .menu-overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
  }

  .menu-overlay.active {
    display: block;
  }

  #mainMenu {
    height: calc(100vh - 68px);
  }
}
.positon-fixed {
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 9999;
}
/* Hide scrollbar for all browsers */
.hide-scrollbar {
  overflow: auto;
  /* Enables scrolling */
  scrollbar-width: none;
  /* Hides scrollbar for Firefox */
  -ms-overflow-style: none;
  /* Hides scrollbar for Internet Explorer */
}

/* Hides scrollbar for WebKit browsers (Chrome, Safari, Edge) */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.dropdown-max-height {
  max-height: calc(100vh - 115px) !important;
}
.shadow-top {
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

nav .list-unstyled li:hover {
  background-color: #fffbe5;
}

.mobile-nav-logo img {
  width: 45px;
  height: auto;
}

.tally-logo img {
  width: 150px;
  margin: 10px 0 30px -20px;
}

.tally-edge-logo img {
  width: 138px;
}
.tally-capital-logo img {
  width: 162px;
}
.tally-prime-logo img {
  width: 150px;
}

.tally-edu-logo img {
  width: 200px;
}
.fixed-nav {
  position: fixed !important;
  top: 0;
  z-index: 99;
}
/* .menu-panel-icon img{
  width: 20px;
}
#menu-items img{
  width: 25px;
} */
