/*----------хедер---------*/

.az-header {
  height: 0;
  box-shadow: none !important;
  border-bottom: none !important;

  width: calc(100% - 35vw);
  position: absolute;
  right: 0;
  top: 0;
}

.az-header .container-fluid {
  padding: 0 40px !important;
}

.az-header-left {
  position: relative;
  height: 20px;
}

.logo-wrap-mobile {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
}

.circle-base-mobile {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--gray-color);

  position: absolute;
}

.circle-main-mobile, .circle2-mobile, .circle3-mobile {
  left: 0;
  top: 0;
}


.az-header-right {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;

  grid-column-start: 3;
  grid-column-end: 4;
}

.az-header-menu-icon {
  width: 40px;
  height: auto;
  position: absolute;
  right: 15px;
  top: 22px;
  margin: 0;

  display: none;
  z-index: 2;
}

.profile-menu-wrap > .az-img-user {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 50px;
  transform: translate(14px, -13px);
  background-color: transparent;
  transition: all .3s ease;
}

.profile-menu-wrap > .az-img-user.hovered {
  background-color: var(--cyan-color);
}

#accountButtonSVG, #mobileBurgerSVG {
  transform: scale(0);
}


.profile-menu-wrap.show .az-img-user::before {
  display: none;
}

.az-header-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 20px 0;
  margin: 0 10px 20px;
  border-bottom: 1px solid var(--black-opa02);
}

.az-header-profile h6 {
  color: var(--black-color);
  font-size: 20px;
  font-weight: 400 !important;
  text-transform: uppercase;
}

.profile-menu {
  padding: 50px 20px 40px;
  width: calc(100% + var(--gap20));
  background: #FFFFFF;
  border-radius: 30px;
  border: none;
  position: absolute;
  top: 7px;
  right: 7px;

  z-index: 3;

  overflow: hidden;
  transform: scale(0);
  transform-origin: top right;
  transition: all .2s ease-out;
}

.profile-menu.active {
  transform: scale(1);
  left: 0;
  top: -22px;
}

.profile-inner {
  /*opacity: 0;*/
}

.az-img-user::after {
  display: none;
}

.profile-menu-wrap .img-user-wrap {
  position: absolute;
  top: 23px;
  right: 21px;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.profile-sub-info-wrap {
  display: flex;
  flex-direction: column;
  padding: 0 10px 30px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--black-color);
}

.profile-menu-wrap .dropdown-link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: var(--radius30);
  padding: 0 10px;
  height: 30px;
  font-size: 20px;
  text-transform: uppercase;
  /*padding-bottom: 0;*/
  font-weight: 400;
  color: var(--purple-color);
  transition: color .3s ease;
}

.profile-menu-wrap .dropdown-link.active {
  background-color: var(--purple-color);
  color: var(--gray-color);
}

.profile-inner .dropdown-link:hover, .translate-inner .dropdown-link:hover {
  color: var(--cyan-color);
}
.profile-inner .dropdown-link.active:hover {
  color: var(--gray-color);
}

.az-header .container-fluid {
  position: absolute !important;
  top: 42px;
  height: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: var(--gap20);
}

.profile-menu-wrap {
  width: 100%;
  margin-left: 0;

  display: flex;
  align-items: center;
  justify-content: flex-end;
}


.az-navbar-show .az-navbar-backdrop {
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 9 !important;
}

#translateButton {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(14px, -13px);
  background-color: transparent;
  transition: all .3s ease;
}

#translateButton.hovered {
  background-color: var(--cyan-color);
}

#translateButton svg {
  width: 65%;
  height: 65%;
}

#translateButtonSVG {
  transform: scale(0);
}

.translate-menu {
  padding: 50px 20px 40px;
  width: calc(100% + var(--gap20));
  background: #FFFFFF;
  border-radius: 30px;
  border: none;
  position: absolute;
  top: 7px;
  right: 55px;

  z-index: 3;

  overflow: hidden;
  transform: scale(0);
  transform-origin: top right;
  transition: all .2s ease-out;
}

.translate-svg-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  position: absolute;
  top: 9px;
  right: 5px;
  cursor: pointer;
}

.translate-svg-wrap svg {
  width: 65%;
  height: 65%;
}

.translate-menu.active {
  top: -22px;
  /*left: -19px;*/
  width: 300px;
  left: initial;
  right: 29px;
  transform: scale(1);
}

@media (max-width: 1399.98px) {
  .profile-menu.active {
    width: 300px;
    left: initial;
    right: -19px;
  }
}


@media (max-width: 991.98px) {
  .az-header .container-fluid {
    padding: 0 15px !important;
    top: 22px;
  }

  .az-header-right {
    width: calc(100% - 60px);
  }

  .logo-wrap-mobile {
    display: block;
    z-index: 2;
  }

  .profile-menu-wrap > .az-img-user {
    height: 20px;
    width: 20px;
    transform: translate(0, 0);
    /*margin-right: 60px;*/
  }

  #translateButton {
    height: 20px;
    width: 28px;
    transform: translate(0, 0);
    margin-right: 15px;
  }

  #translateButton svg {
    width: initial;
    height: initial;
  }

  .profile-menu-wrap.show .dropdown-menu {
    top: 47px;
    left: auto;
    width: 300px;
  }

  .az-header-menu-icon {
    display: block;
  }

  .profile-menu-wrap .img-user-wrap {
    display: none;
  }

  #translateButtonSVGPurple {
    display: none;
  }

  .profile-menu.active, .translate-menu.active {
    top: calc(-22px + 70px);
  }



  .profile-menu-wrap > .az-img-user.hovered {
    background-color: transparent !important;
  }

  #translateButton.hovered {
    background-color: transparent !important;
  }
}

@media (max-width: 575.98px) {
  .profile-menu-wrap {
    position: initial !important;
  }

  .profile-menu.active, .translate-menu.active {
    top: 70px;
    left: 35px;
    width: calc(100% - 70px);
  }
}

@media (min-width: 992px) {

  .az-header .az-header-menu-icon {
    display: none !important;
  }

  .az-header .header-logo {
    display: none !important;
  }
}


