#aff_sidemenu {
  background: transparent;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  transition: width 0.5s ease;
  width: 90px;
  z-index: 100;
}

#aff_sidemenu .fa {
  font-size: 14px;
}

#aff_sidemenu .fa-chevron-left:before {
  padding-right: 2px;
}

#aff_sidemenu .fa-chevron-right:before {
  padding-left: 2px;
}

#aff_sidemenu .gridnav {
  align-items: center;
  color: inherit;
  display: flex;
  height: 40px;
  justify-content: center;
  margin: 5px 0;
  transition: width 0.6s ease;
  width: 40px;
}

#aff_sidemenu .gridnav-hover.active,
#aff_sidemenu .gridnav-hover:hover {
  background: transparent
    linear-gradient(90deg, rgba(6, 134, 221, 1) 0%, rgba(0, 96, 161, 1) 100%) 0%
    0% no-repeat padding-box;
  border-radius: 25px;
  color: white;
}

#aff_sidemenu .sidemenu-content .nav-icon {
  height: 30px;
  margin-left: 0px;
  width: 30px;
}

#aff_sidemenu .sidemenu-content .nav-icon img {
  height: 30px;
  width: 30px;
}

#aff_sidemenu .sidemenu-content .nav-text {
  font-size: 1em;
  font-weight: 700;
  height: 30px;
  line-height: 2em;
  margin: 0;
  min-height: 30px;
  opacity: 0;
  text-align: left;
  transition: width 0.4s, visibility 0.5s, opacity 0.5s linear;
  visibility: hidden;
  width: 0;
}

#aff_sidemenu .sidemenu-profile a {
  background: transparent;
  padding: 0px;
}

#aff_sidemenu .sidemenu-profile img {
  border-radius: 50%;
  height: 40px;
  object-fit: cover;
  width: 40px;
}

#aff_sidemenu .sidemenu-toggle {
  background: transparent !important;
  height: 50px;
  margin: 0;
  padding: 15px 0 0 0;
  position: relative;
  width: calc(100% - 20px);
  z-index: 10;
}

#aff_sidemenu .sidemenu-toggle .toggle-burger {
  -moz-box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.2);
  align-items: center;
  background: transparent
    linear-gradient(180deg, rgb(6, 134, 221) 0%, rgb(0, 96, 161) 100%) 0% 0%
    no-repeat padding-box;
  border-color: transparent;
  border-radius: 50%;
  box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.2);
  color: white;
  display: flex;
  height: 30px;
  justify-content: center;
  position: absolute;
  right: 20px;
  transition: right 0.8s ease;
  width: 30px;
}

#aff_sidemenu > .sidemenu-content {
  background-color: #fff;
  box-shadow: 3px 0px 6px rgba(0, 96, 161, 0.16);
  height: 100%;
  margin-top: -50px;
  overflow: hidden;
  padding-top: 50px;
  position: relative;
  width: calc(100% - 20px);
}

#aff_sidemenu > .sidemenu-content .sidemenu-content-scroll {
  direction: rtl;
  height: 100%;
  overflow-y: auto;
  padding: 13px;
  width: 100%;
}

#aff_sidemenu > .sidemenu-content .sidemenu-group {
  direction: ltr;
}

#aff_sidemenu > .sidemenu-content .sidemenu-group .headercard_bold {
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
}

#aff_sidemenu img.game-icon {
  height: 25px;
  width: 25px;
}

#aff_sidemenu.nav-show {
  transition: width 0.5s ease;
  width: 320px;
}

#aff_sidemenu.nav-show .gridnav {
  color: inherit;
  height: auto;
  justify-content: left;
  margin: 5px 0;
  transition: width 0.4s ease;
  width: 100%;
}

#aff_sidemenu.nav-show .sidemenu-content .nav-icon {
  margin-left: 10px;
}

#aff_sidemenu.nav-show .sidemenu-content .nav-text {
  height: fit-content;
  opacity: 1;
  padding-left: 1em;
  transition: width 0.4s, visibility 0.5s, opacity 1s linear;
  visibility: visible;
  width: 100%;
}

#aff_sidemenu.nav-show .sidemenu-profile .nav-icon {
  height: 50px;
  width: 50px;
}

#aff_sidemenu.nav-show .sidemenu-profile .nav-text .headercard_bold {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.44;
  text-align: left;
}

#aff_sidemenu.nav-show .sidemenu-profile .nav-text .headercard_cont {
  font-size: 12px;
  line-height: 1;
  text-align: left;
}

#aff_sidemenu.nav-show .sidemenu-profile a {
  background: #f3f3f3;
  border-radius: 0.5em;
  padding: 15px 5px !important;
}

#aff_sidemenu.nav-show .sidemenu-profile img {
  height: 50px;
  width: 50px;
}

#aff_sidemenu.nav-show .sidemenu-toggle {
  background: transparent !important;
  width: 100%;
}

#aff_sidemenu.nav-show .sidemenu-toggle .toggle-burger {
  right: 5px;
  transition: right 0.8s ease;
}

@media (max-width: 1559px) {
  #aff_sidemenu.show .sidemenu-toggle .toggle-burger .fa::before {
    content: "\f054";
    padding-left: 2px;
  }
}

@media (min-width: 1560px) {
  #aff_sidemenu.show {
    transition: width 0.5s ease;
    width: 320px;
  }

  #aff_sidemenu.show .gridnav {
    height: auto;
    margin: 5px 0;
    transition: width 0.4s ease;
    width: 100%;
  }

  #aff_sidemenu.show .sidemenu-content .nav-icon {
    margin-left: 10px;
  }

  #aff_sidemenu.show .sidemenu-content .nav-text {
    height: fit-content;
    opacity: 1;
    padding-left: 1em;
    transition: width 0.4s, visibility 0.5s, opacity 1s linear;
    visibility: visible;
    width: 100%;
  }

  #aff_sidemenu.show .sidemenu-profile .nav-icon {
    height: 50px;
    width: 50px;
  }

  #aff_sidemenu.show .sidemenu-profile a {
    background: #f3f3f3;
    border-radius: 0.5em;
    padding: 15px 5px !important;
  }

  #aff_sidemenu.show .sidemenu-profile img {
    height: 50px;
    width: 50px;
  }

  #aff_sidemenu.show .sidemenu-toggle {
    width: 100%;
  }

  #aff_sidemenu.show .sidemenu-toggle .toggle-burger {
    right: 5px;
    transition: right 0.8s ease;
  }
}
