@font-face {
  font-family: 'Espuma Pro';
  src: url('<?php echo get_template_directory_uri(); ?>/assets/fonts/ESPUMAPRO-REGULAR.OTF') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Espuma Pro';
  src: url('<?php echo get_template_directory_uri(); ?>/assets/fonts/ESPUMAPRO-BOOK.OTF') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Espuma Pro';
  src: url('<?php echo get_template_directory_uri(); ?>/assets/fonts/ESPUMAPRO-BOOKITALIC.OTF') format('opentype');
  /* font-weight: 300; */
  font-style: italic;
}

@font-face {
  font-family: 'Espuma Pro';
  src: url('<?php echo get_template_directory_uri(); ?>/assets/fonts/ESPUMAPRO-LIGHT.OTF') format('opentype');
  /* font-weight: 200; */
  font-style: normal;
}

@font-face {
  font-family: 'Espuma Pro';
  src: url('<?php echo get_template_directory_uri(); ?>/assets/fonts/ESPUMAPRO-MEDIUM.OTF') format('opentype');
  /* font-weight: 500; */
  font-style: normal;
}

@font-face {
  font-family: 'Sansita';
  src: url('<?php echo get_template_directory_uri(); ?>/assets/fonts/Sansita-Bold.ttf') format('truetype');
  /* font-weight: bold; */
  font-style: normal;
}

@font-face {
  font-family: 'Sansita';
  src: url('<?php echo get_template_directory_uri(); ?>/assets/fonts/Sansita-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Apply font */
/* body {
  font-family: 'Espuma Pro', sans-serif;
} */


body {
  /* margin-top: 100px !important; */
}

@media (max-width: 1000px) {
  body {
    margin-top: 50px !important;
  }
}

.bsearch-autocomplete-results {
  width: 500px;
  left: -300px;
  border-radius: 20px !important;
  padding: 10px;
}

.bsearch-autocomplete-results ul li a {
  text-decoration: none;
}

/* ----------------------------------- */
.b5-alert-show {
  animation: slideIn 0.5s forwards;
}

.b5-alert-hide {
  animation: slideOut 0.5s forwards;
}

@keyframes slideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.alertDiv {
  position: fixed;
  top: 8%;
  left: 38%;
  transform: translateX(-50%);
  width: 50%;
  z-index: 1060;
}

@media (max-width: 767px) {
  .alertDiv {
    /* left: 10%; */
    left: 0;
    transform: none;
    /* max-width: 1000px; */
    min-width: 100%;
    /* margin-left: 10px;
      margin-right: 10px; */
    z-index: 1060;
    /* width: auto; */
  }
}

/* ----------------------------------------------------------------------------------------------------------------- */
/* New Menu  */
.bg-gray {
  background-color: #f4f5f7;
  z-index: 999;
}

nav p,
nav a,
nav button {
  font-size: 14px !important;
}

.nav-link {
  /* font-weight: 400; */
  font-size: 14px !important;
  letter-spacing: 0.2px;
}

.nav-link:hover,
.nav-link:focus {
  text-decoration: none !important;
}

.dropdown-toggle.show::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 8px;
  width: 90%;
  height: 5px;
  background-color: #000000;
}

#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;
}

@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: 1100px;
  }

  #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: 57px;
    left: -100%;
    width: 100vw;
    height: calc(100% - 57px);
    background-color: #f8f9fa;
    z-index: 1050;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
  }

  .offcanvas-menu.active {
    transform: translateX(100%);
  }

  .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 - 130px);
  }


}

/* 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: #ECF3D7;
  border-radius: 10px;
}

.mobile-nav-logo img {
  width: 65px;
  height: auto;
}

.mobile-navbar {
  height: 57px;
}

.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;
} */

.fixed-nav-mobile {
  position: fixed !important;
  top: 0;
  z-index: 99;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */
/* Course Menu */
.tab-btn {
  width: 50%;
  text-align: center;
  padding: 15px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
}

.active-tab {
  background-color: var(--primary-color);
  color: white;
}

.inactive-tab {
  background-color: white;
  color: black;
}

.category-list {
  list-style: none;
  padding: 0;
}

.category-list li {
  padding: 10px;
  cursor: pointer;
}

.category-list li.active-category {
  background-color: white;
  font-weight: bold;
  border-radius: 10px;
}


.course-box {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  text-align: left;
  height: 100%;
}

.dropdown-item:hover {
  background-color: #fffbe5;
}

.accordion-header {
  font-size: 20px;
  font-weight: 600;
}

.main-menu {
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.main-menu-mobile {
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.nav-item-main {
  transition: transform 0.3s ease-in-out;
  margin-right: 0px;
}

.nav-item-main .nav-link {
  font-size: 13.5px !important;
  font-weight: 400;
  color: var(--primary-color);
}

/* .nav-item-main:hover {
  transform: translateY(-4px);
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
} */

.side-nav-bar {
  background-color: #006ea6;
  border-radius: 5px;
}


.fixed-active {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}

.mobile-menu-common-heading {
  text-decoration: none;
  color: white;
  padding: 30px;
  font-size: 20px;
}

.mobile-menu-common-heading:hover {
  color: #006ea6;
}


.mobile-menu-heading {
  text-decoration: none;
  color: #3b66ad;
  padding: 20px;
}

.mobile-menu-heading-top {
  text-decoration: none;
  color: #3b66ad;
  padding: 20px;
}

.mobile-menu-sub-heading {
  padding: 20px;
  text-align: center;
  color: #3b66ad;
}

.common-mobile-heading {
  font-size: 40px;
}

/* Course Menu */
/*
----------------------------------------------------------------------------------------------------------------------------
*/


.butonHover:hover {
  color: white;
  /* Change text color to white on hover */
}