/** Header **/
.mst-header {
  grid-column-start: 1;
  grid-column-end: span 14;
  grid-row-start: span 1;
  display: flex;
  width: 100%;
  position: sticky;
  top:0;
  z-index: 11;
  background-color: var(--color-white);
  display: grid;
  grid-template-columns: 1fr minmax(min-content, 1220px) 1fr;
  grid-column-gap: 32px;
}

@media screen and (max-width: 1440px) {
  .mst-header {
    grid-template-columns: 80px minmax(min-content, 1220px) 80px;
  }
}

@media screen and (max-width: 1100px) {
  .mst-header {
    grid-template-columns: 40px minmax(min-content, 1220px) 80px;
  }
}

@media screen and (max-width: 1024px) {
  .mst-header {
    grid-template-columns: 0px minmax(min-content, 1220px) 0px;
  }
}

@media screen and (max-width: 500px){
  .mst-header {
    grid-template-columns: 16px minmax(min-content, 1220px) 16px;
    grid-column-gap: 0;
  }
}

.mst-header__logo {
  width: 90px;
  margin-right: 54px;
}

.mst-header__wrapper {
  display: flex;
  justify-content: space-between;
}

@media (min-width: 320px) {
  .mst-header__wrapper {
    padding: 10px 0;
  }
}
@media (min-width: 1024px) {
  .mst-header__wrapper {
    padding: 12px 0;
  }
}
@media (min-width: 1220px) {
  .mst-header__wrapper {
    padding: 24px 0;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}
.mst-header__block {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (min-width: 1024px) {
  .mst-header__block {
    margin: 0 0 0 40px;
  }
}
.mst-header__menu {
  cursor: pointer;
}

.mst-header__search-icon {
  display: block;
  width: 30px;
  height: 30px;
  background: url("../images/search-icon.svg") center no-repeat;
  cursor: pointer;
}

.mst-header__cart {
  position: relative;
}

.mst-header__cart-icon {
  text-decoration: none;
  position: relative;
  margin-left: 32px;
  display: block;
  width: 30px;
  height: 30px;
  background: url("../images/cart-icon.svg") center no-repeat;
  cursor: pointer;
}

.mst-header__cart-amount {
  background: #284cc4;
  font-size: 10px;
  font-weight: 600;
  position: absolute;
  border-radius: 50%;
  top: 2px;
  text-align: center;
  left: 30px;
  width: 12px;
  height: 12px;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.mst-header__menu-icon {
  margin: 0 3px 0 16px;
  display: block;
  width: 20px;
  height: 20px;
  background: url("../images/menu-icon.svg") center no-repeat;
}

.mst-header__menu-icon_close {
  background: url("../images/close-icon.svg") center no-repeat;
}

@media (min-width: 1024px) {
  .mst-header__menu-icon {
    display: none;
  }
}
.mst-header__close-icon {
  margin: 0 10px;
  display: none;
  width: 20px;
  height: 20px;
  background: url("../images/close-icon.svg") center no-repeat;
}

@media (min-width: 1024px) {
  .mst-header__nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: auto;
    width: 100%;
    justify-content: space-between;
  }
}
.mst-header__nav_active {
  height: 96vh;
}

.mst-header__nav-list {
  list-style: none;
  background: var(--color-white);
  z-index: 2;
  display: none;
}

@media (min-width: 1024px) {
  .mst-header__nav-list {
    padding: 0;
    margin: 0;
    position: static;
    height: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
}
@media (min-width: 1220px) {
  .mst-header__nav {
    width: 100%;
    justify-content: space-between;
  }
}
.mst-header__nav-list_active {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 56px;
  left: 0;
  font-weight: 600;
  padding: 18px 30px;
}

.mst-header__flex-wrap {
  display: flex;
}

.mst-header__item-link {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.mst-header__item-link:hover .mst-header__submenu {
  display: block;
}

.mst-header__item-link:hover .mst-header__item-arrow {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

@media (min-width: 1024px) {
  .mst-header__item-link {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .mst-header__item-link:hover .mst-header__submenu {
    display: block;
  }

  .mst-header__item-link:hover .mst-header__link_wrapper {
    cursor: pointer;
  }

  .mst-header__item-link:hover .mst-header__item-arrow {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}
@media (min-width: 1024px) and (min-width: 1024px) {
  .mst-header__item-link:hover .mst-header__item-arrow a {
    color: var(--color-blue);
  }
}
@media (min-width: 1024px) and (min-width: 1024px) {
  .mst-header__item-link:hover .mst-header__item-arrow span {
    margin: 0 11px;
    display: block;
    width: 8px;
    top: 2px;
    background: url("../images/arrow-icon-blue.svg") center no-repeat;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}
.mst-header__link_wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-align-self: baseline;
  -ms-flex-item-align: baseline;
  align-self: baseline;
  position: relative;
}


.mst-header__link_wrapper_active a {
  color: var(--color-blue) !important;
}

.mst-header__item-arrow {
  width: 12px;
  height: 10px;
  left: 12px;
  position: relative;
  background: url("../images/arrow-icon.svg") center no-repeat;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mst-header__item-arrow {
    margin-right: 18px;
    position: relative;
    width: 10px;
    top: 0px;
    left: 0.6vw;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}
@media (min-width: 2560px) {
  .mst-header__item-arrow {
    left: 0.5vw;
  }
}
@media (min-width: 3600px) {
  .mst-header__item-arrow {
    left: 0.3vw;
  }
}
.mst-header__nav-item {
  margin: 16px 0;
  font-size: 16px;
  line-height: 24px;
  padding: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

@media (min-width: 768px) {
  .mst-header__nav-item {
    margin: 22px 0;
  }
}
@media (min-width: 1024px) {
  .mst-header__nav-item {
    margin: 0 14px;
  }
}
.mst-header__nav-item a {
  font-family: var(--font-family-regular);
}

@media (min-width: 768px) {
  .mst-header__nav-item a {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}
@media (min-width: 1024px) {
  .mst-header__nav-item a {
    font-size: 0.6rem;
    line-height: 1.5rem;
    font-weight: 400;
    width: inherit;
  }

  .mst-header__nav-item a:hover {
    text-decoration: none;
    color: var(--color-blue);
  }
}
@media (min-width: 1220px) {
  .mst-header__nav-item a {
    font-size: 1rem;
  }
}
.mst-header__submenu {
  display: none;
  list-style: none;
}

@media (min-width: 1024px) {
  .mst-header__submenu {
    position: absolute;
    padding: 0 20px 0 0;
    border-radius: 8px;
    background: var(--color-white);
    border: 1px solid var(--color-grey);
    top: 53px;
  }
}
@media (min-width: 1220px) {
  .mst-header__submenu {
    top: 74px;
  }
}
.mst-header__submenu-item {
  margin: 16px 0;
  padding: 0 20px;
}

.mst-header__submenu-item a {
  font-weight: 200;
  font-family: var(--font-family-regular);
}

.mst-header__action {
  display: none;
  position: absolute;
  padding: 0px 32px;
  left: 0;
  bottom: 0;
  z-index: 2;
  background: var(--color-white);
}

@media (min-width: 1024px) {
  .mst-header__action {
    position: static;
    height: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
  }
}
.mst-header__action_active {
  display: block;
}

.mst-header__action-wrapper {
  padding: 20px 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border-top: 1px solid var(--color-grey);
}

@media (min-width: 1024px) {
  .mst-header__action-wrapper {
    padding: 0;
    border: none;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }
}
.mst-header__auth-user {
  display: none;
}

.mst-header__languages {
  cursor: pointer;
}

.mst-header__languages-icon {
  display: block;
  width: 24px;
  height: 24px;
}

@media (min-width: 1024px) {
  .mst-header__languages-icon {
    display: none;
  }
}
.mst-header__desktop-lang {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (min-width: 1024px) {
  .mst-header__desktop-lang {
    margin: 0 0 0 10px;
  }
}
.mst-header__desktop-lang {
  display: none;
}

@media (min-width: 1024px) {
  .mst-header__desktop-lang {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}
.mst-header__desktop-item:hover {
  color: var(--color-blue);
}

.mst-header__desktop-item-icon {
  margin: 0 10px;
  display: block;
  width: 10px;
  height: 8px;
  background: url("../images/arrow-icon.svg") center no-repeat;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.mst-header__languages {
  position: relative;
}

.mst-header__languages-list {
  display: none;
  list-style: none;
  top: -160px;
  right: 0px;
  background: var(--color-white);
  border: 1px solid var(--color-grey);
  border-radius: 8px;
  padding: 15px 18px;
  position: absolute;
  margin: 0;
}

.mst-header__languages:hover .mst-header__languages-list {
  display: block;
}

@media (min-width: 1024px) {
  .mst-header__languages-list {
    top: 36px;
    right: 0px;
  }
}
@media (min-width: 1220px) {
  .mst-header__languages-list {
    top: 44px;
  }
}
.mst-header__languages-item {
  margin: 10px 0;
}

.mst-header__languages-item a {
  color: var(--color-grey-dark);
}

.mst-header__languages-item a:hover {
  color: var(--color-blue);
  text-decoration: none;
}

.mst-header__auth-user {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (min-width: 1024px) {
  .mst-header__auth-user {
    margin: 0 0 0 30px;
  }
}
.auth-logout {
  position: relative;
  background: url("../images/log_out.svg") center no-repeat;
  width: 18px;
  height: 18px;
  margin-left: 12px;
}

.hover-helper {
  height: 18px;
  background: transparent;
  width: 100%;
  top: 22px;
  display: block;
  position: absolute;
}

@media (min-width: 1220px) {
  .hover-helper {
    height: 30px;
  }
}
.auth-user {
  color: var(--color-grey-dark);
  font-weight: 200;
  font-family: var(--font-family-regular);
}

.auth-user:hover {
  text-decoration: none;
}

.auth-login {
  color: var(--color-blue);
  font-weight: 600;
  font-family: var(--font-family-regular);
  text-decoration: none;
}

@media (min-width: 1024px) {
  .auth-login {
    margin: 0 0 0 20px;
  }
}
.auth-true {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.auth-false {
  display: none;
}

.mst-header__submenu_active {
  display: block;
}

.mst-header__item-arrow_active {
  background: url("../images/arrow-icon.svg") center no-repeat;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.mst-header__item-arrow_hover {
  width: 10px;
  left: 2px;
  background: url("../images/arrow-icon-blue.svg") center no-repeat;
  background-size: contain;
  -webkit-transform: rotate(0deg) !important;
  -ms-transform: rotate(0deg) !important;
  transform: rotate(0deg) !important;
}

.mst-header__languages-list_active {
  display: block;
}

.mst-header__menu_true {
  display: block;
}

.mst-header__menu_false {
  display: none;
}

.download__block_active {
  display: block;
}

.download__block_hidden {
  display: none;
}

@media screen and (max-width: 900px) {
  .mst-header__nav {
    align-self: center;
  }
}

.mst-header__login {
  display: none;
}

@media (min-width: 1216px) {
  .mst-header__login {
    display: block;
    margin-left: 32px;
  }
  .mst-header__login .mst-header__login_false {
    font-size: 1rem;
    line-height: 1.5rem;
    color: #002EA6;
    font-family: "Montserrat-SemiBold", "Arial", sans-serif;
    text-decoration: none;
  }
  .mst-header__login .mst-header__login_false:hover {
    color: #0032B2;
  }
  .mst-header__login_false.fenix3-account-dropdown {
    color: #484953;
    font-family: "Montserrat-Regular", "Arial", sans-serif;
    margin-top: 2px;
  }
  .mst-header__login .mst-header__login_true {
    display: none;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #484953;
    font-family: "Montserrat-Regular", "Arial", sans-serif;
    text-decoration: none;
  }
  .mst-header__login .mst-header__login_true svg {
    margin: 0 0 0 11px;
  }
  .mst-header__login .mst-header__login_unauth {
    color: #0032B2;
    font-family: "Montserrat-SemiBold", "Arial", sans-serif;
  }
}