.custom-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.custom-menu > li {
  margin: 0;
  display: flex;
  align-items: center;
  position: relative;
}

.custom-menu > li .menu-item-main-info {
  display: flex;
  align-items: center;
}

.custom-menu > li .menu-item-icon {
  padding: 0 10px 0 0;
}

.custom-menu > li .menu-item-icon-svg {
  display: flex;
  align-items: center;
}

.custom-menu > li > a {
  text-transform: uppercase;
  font-weight: 600;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.custom-menu a {
  line-height: 50px;
  display: inline-block;
}

.custom-menu .sub-mega-menu,
.custom-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 180px;
}

.custom-menu .sub-menu-default {
  background-color: #fff;
  box-shadow: 1px 5px 15px rgba(0, 0, 0, 0.1);
}

.custom-menu .sub-menu > li,
.custom-menu .sub-menu-default > li {
  display: block;
  position: relative;
  margin: 0;
  width: 100%;
}

.custom-menu .sub-menu > li > a,
.custom-menu .sub-menu-default > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.6;
  padding: 12px 20px;
  text-transform: none;
  font-weight: normal;
  width: 100%;
  box-sizing: border-box;
}

.custom-menu > li > .custom-menu-child {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.custom-menu > li:hover > .custom-menu-child {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

[dir="rtl"] .custom-menu > li > .custom-menu-child {
  left: auto;
  right: 0;
}

.custom-menu > li > .custom-menu-child > .sub-menu,
.custom-menu > li > .custom-menu-child > .sub-mega-menu {
  position: relative;
  top: auto;
  left: auto;
  visibility: visible;
  opacity: 1;
  transform: none;
}

.custom-menu .sub-menu .menu-item-has-children > .custom-menu-child,
.custom-menu .sub-menu-default .menu-item-has-children > .custom-menu-child {
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  min-width: 180px;
  transform: none;
  transition: opacity 0.2s ease, visibility 0.2s;
}

[dir="rtl"] .custom-menu .sub-menu .menu-item-has-children > .custom-menu-child,
[dir="rtl"] .custom-menu .sub-menu-default .menu-item-has-children > .custom-menu-child {
  left: auto;
  right: 100%;
}

.custom-menu .sub-menu .menu-item-has-children:hover > .custom-menu-child,
.custom-menu .sub-menu-default .menu-item-has-children:hover > .custom-menu-child {
  visibility: visible;
  opacity: 1;
}

.custom-menu .sub-menu .custom-menu-child > .sub-menu,
.custom-menu .sub-menu-default .custom-menu-child > .sub-menu {
  position: relative;
  top: auto;
  left: auto;
  visibility: visible;
  opacity: 1;
  transform: none;
  background-color: #fff;
  box-shadow: 1px 5px 15px rgba(0, 0, 0, 0.1);
}

.custom-menu .sub-menu .custom-menu-child.flyout-left,
.custom-menu .sub-menu-default .custom-menu-child.flyout-left {
  left: auto;
  right: 100%;
}

[dir="rtl"] .custom-menu .sub-menu .custom-menu-child.flyout-left,
[dir="rtl"] .custom-menu .sub-menu-default .custom-menu-child.flyout-left {
  right: auto;
  left: 100%;
}

.custom-menu .menu-item-has-children > a:after {
  content: '\f3d0';
  font-family: "Ionicons";
  padding-inline-start: var(--sub-arrow-space, 5px);
}

.custom-menu .menu-item-has-children .menu-item-has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-menu-toggle {
  display: none;
}

.custom-menu-toggle .menu-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.custom-menu-toggle .menu-toggle-wrapper svg {
  width: 1em;
  height: 1em;
}

.custom-menu-sidebar {
  position: fixed;
  left: 0;
  width: 300px;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
  top: 0;
  bottom: 0;
  z-index: 999999;
  background-color: #fff;
}

.custom-menu-sidebar .boostify-dropdown-menu {
  list-style: none;
}

.custom-menu-sidebar .boostify-dropdown-menu ul {
  list-style: none;
}

.custom-menu-sidebar .boostify-dropdown-menu a {
  display: block;
  line-height: 50px;
  border-bottom: 1px solid #eee;
}

.custom-menu-sidebar .boostify-dropdown-menu .sub-menu {
  display: none;
}

.custom-menu-sidebar .boostify-dropdown-menu li.menu-item {
  margin: 0;
}

.custom-menu-sidebar .menu-item-has-children {
  position: relative;
}

.custom-menu-sidebar .menu-item-has-children .arrow {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  width: 30px;
  justify-content: flex-end;
  align-items: center;
}

.custom-menu-sidebar .menu-item-has-children .arrow:after {
  content: '\f3d0';
  font-family: "Ionicons";
}

.custom-menu-sidebar .menu-item-has-children a {
  position: relative;
}

.custom-menu-sidebar .menu-item-has-children a:after {
  display: none;
}

.boostify-overlay {
  display: none;
}

.boostify-overlay .boostify--close-menu-side-bar {
  position: fixed;
  top: 0px;
  right: 20px;
  font-size: 32px;
  color: #fff;
  z-index: 999999;
}

.custom-menu-sidebar.show-logo-yes .custom-menu-dropdown {
  max-height: calc( 100vh - 20px - 60px);
}

.custom-menu-sidebar.show-logo-yes.show-form-yes .custom-menu-dropdown {
  max-height: calc( 100vh - 20px - 130px);
}

.custom-menu-sidebar.show-form-yes .custom-menu-dropdown {
  max-height: calc( 100vh - 20px - 70px);
}

.custom-menu-sidebar .menu-item-has-children > a .arrow:after {
  content: '\f3d0';
  font-family: "Ionicons";
  transition: all 0.3s;
}

.custom-menu-sidebar .menu-item-has-children > a .arrow.up:after {
  content: '\f3d1';
  transition: all 0.3s;
}

.custom-menu-sidebar .menu-item-has-children a {
  display: flex;
  justify-content: space-between;
}

.custom-menu-sidebar .boostify-dropdown-menu {
  margin: 0;
  padding: 20px;
}

.custom-menu-sidebar .custom-menu-dropdown {
  height: 100%;
  overflow-y: scroll;
  width: 100%;
  /* width */
  /* Handle */
  /* Handle on hover */
}

.custom-menu-sidebar .custom-menu-dropdown::-webkit-scrollbar {
  width: 5px;
}

.custom-menu-sidebar .custom-menu-dropdown::-webkit-scrollbar-thumb {
  background: #1f3d70;
  border-radius: 50px;
}

.custom-menu-sidebar .custom-menu-dropdown::-webkit-scrollbar-thumb:hover {
  background: #fc1550;
}

.custom-menu-sidebar .custom-menu-sidebar--wrapper {
  padding: 20px 0px;
  height: 100vh;
}

.custom-menu-sidebar .logo-sidebar {
  padding: 0 20px;
}

.custom-menu-sidebar input[type="search"]::-webkit-search-decoration,
.custom-menu-sidebar input[type="search"]::-webkit-search-cancel-button,
.custom-menu-sidebar input[type="search"]::-webkit-search-results-button,
.custom-menu-sidebar input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.boostify--search-sidebar-wrapper {
  padding: 30px 20px 0;
}

.boostify--search-sidebar-wrapper .search-form {
  display: flex;
  position: relative;
}

.boostify--search-sidebar-wrapper .search-field {
  height: 35px;
  width: 100%;
  border-radius: 5px;
}

.boostify--search-sidebar-wrapper .btn-boostify-search-form {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 35px;
  border: none;
  border-radius: 5px;
  background-color: transparent;
  font-size: 24px;
  padding: 0;
}

.boostify--search-sidebar-wrapper ::placeholder {
  font-size: 14px;
}

@media (max-width: 991px) {
  .custom-menu-toggle {
    display: block;
    font-size: 48px;
  }
  .boostify-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    z-index: 999998;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all 0.3s ease-out;
  }
  .boostify-overlay.show {
    display: block;
    transition: all 0.3s ease-out;
  }
  .custom-menu-sidebar.show {
    transform: translateX(0);
    transition: transform 0.3s ease-out;
  }
  .custom-main-navigation,
  .boostify-main-navigation {
    display: none;
  }
}

.boostify--hover-background .custom-menu > li:hover > a {
  color: #aa3166;
}

.boostify--hover-overline .custom-menu li a:before,
.boostify--hover-underline .custom-menu li a:before {
  position: absolute;
  display: block;
  content: '';
  height: 3px;
  width: 0;
  transition: width 0.3s linear;
}

.boostify--hover-overline .custom-menu > li:hover > a,
.boostify--hover-underline .custom-menu > li:hover > a {
  position: relative;
}

.boostify--hover-overline .custom-menu > li:hover > a:before,
.boostify--hover-underline .custom-menu > li:hover > a:before {
  width: 50px;
  background-color: #000;
}

.boostify--hover-overline .custom-menu li .sub-menu > li a,
.boostify--hover-underline .custom-menu li .sub-menu > li a {
  position: relative;
}

.boostify--hover-overline .custom-menu li .sub-menu > li a:after,
.boostify--hover-underline .custom-menu li .sub-menu > li a:after {
  top: auto;
  bottom: 12px;
}

.boostify--hover-overline .custom-menu li .sub-menu > li:hover > a:after,
.boostify--hover-underline .custom-menu li .sub-menu > li:hover > a:after {
  width: 50px;
}

.boostify--hover-underline li a:before {
  bottom: 0;
}

.boostify--hover-overline .custom-menu li a:before {
  top: 0;
}

.boostify--hover-overline .custom-menu > li:hover > a {
  position: relative;
}

.boostify--hover-overline .custom-menu > li:hover > a:before {
  width: 80px;
  background-color: #000;
}
