.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

@media (min-width: 768px) {
  .header {
    position: relative;
    z-index: 1;
  }
}


.header__search {
  display: none;
}

@media (min-width: 768px) {
  .header__search {
    display: block;
    margin-left: -15px;
  }
}

.header__center {
  padding: 14px 23px 5px 23px;
  border-bottom: 1px solid #ebebeb;
}

.header__center > div {
  flex: 1 1 0;
}

@media (min-width: 768px) {
  .header__center {
    padding: 30px 40px 29px 40px;
    border-bottom: 0;
  }

  .header__center > div {
    gap: 20px;
  }
}

.header__center .profile {
  padding: 0 16px;
  box-sizing: border-box;
}

@media (min-width: 1440px) {
  .header__center .profile {
    display: none;
  }
}

.header__center .login,
.header__center .logout {
  display: none;
  padding-left: 21px;
  border-left: 1px solid #ebebeb;
}


@media (min-width: 768px) {
  .header__center .login,
  .header__center .logout {
    display: block;
    font-size: 14px;
  }
}

.header__center .text-background {
  margin: 0 21px;
  margin-right: 0;
}

@media (min-width: 768px) {
  .header__center .registration small {
    font-size: 12px;
  }
}

.header__center--left {
  display: none;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .header__center--left {
    display: flex;
    position: relative;
    top: -3px;
  }
}

.header__center--left .menu-icon {
  margin-right: 17px;
  margin-top: 3px;
}

.header__center--left .search-icon {
  position: relative;
  margin-right: 0;
  stroke: #3d3434;
}

.header__center--middle {
  display: flex;
  align-items: center;
  justify-content: start;
}

@media (min-width: 768px) {
  .header__center--middle  {
    justify-content: center;
  }
}

.header__center--middle img.region {
  height: 28px;
  width: auto;
  margin-top: 0;
}

.single .header__center--middle img.region {
 padding: 2.5px;
}

.header__center--middle svg,
.header__center--middle img {
  width: 122px;
  margin-top: -2px;
}

@media (min-width: 768px) {
  .header__center--middle svg,
  .header__center--middle img {
    width: 198px;
  }

  .header__center--middle img.region {
    height: 82px;
    width: auto;
    padding-top: 10px;
    margin-bottom: -11px;
  }
}

.header__center--right {
  justify-content: flex-end;
  position: relative;
  margin-top: -3px;
}

@media (min-width: 768px) {
  .header__center--right {
    align-items: center;
    margin-top: -8px;
  }
}

.header__center--right .mobile-menu-close,
.header__center--right .mobile-menu {
  height: 48px;
  width: 48px;
  position: relative;
  right: -20px;
  display: none;
}

.header__center--right .mobile-menu-close.active,
.header__center--right .mobile-menu.active {
  display: block;
  opacity: 1;
}

.header__center--right .mobile-menu{
  opacity: 0;
}

@media (min-width: 768px) {
  .header__center--right .mobile-menu,
  .header__center--right .mobile-menu-close.active,
  .header__center--right .mobile-menu.active {
    display: none;
  }
}

.header__bottom {
  display: none;
  overflow: visible;
}

@media (min-width: 768px) {
  .header__bottom {
    display: block;
  }
}

.header__bottom .navigation {
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 0;
  padding-bottom: 1px;
  margin: 0;
  margin-bottom: -1px;
}

.header__bottom .navigation::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .header__bottom .navigation::-webkit-scrollbar {
    height: 0;
    width: 0;
    background: transparent;
  }
}

.header__bottom .navigation__wrap {
  display: flex;
  align-items: center;
  position: relative;
}

.header__bottom .navigation__wrap .hidden {
  display: none;
  flex-shrink: 0;
}

.header__bottom .navigation__wrap .hidden:nth-of-type(2) {
  margin-left: auto;
}

.header__bottom .navigation__wrap .hidden button {
  border-right: 1px solid #ebebeb;
  padding-right: 15px;
  margin-right: 15px;
}

.header__bottom .navigation__wrap .hidden a .icon {
  margin: 0;
}

.header__bottom .navigation__wrap .hidden a span {
  display: none;
}

.header__bottom .navigation__wrap .hidden .header__search--icon {
  left: 0;
}

.header__bottom .navigation__wrap .hidden .line-break {
  background: red;
  display: block;
  position: relative;
  top: 12px;
  width: 1px;
  height: 24px;
  background: #ebebeb;
}

.header__bottom .navigation li {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  flex-shrink: 0;
  list-style: none;
  white-space: nowrap;
  margin-left: 17px;
  font-size: 0.875rem;
  line-height: 1.5rem;
  transition: opacity 0.32s ease;
}

.header__bottom .navigation li a {
  position: relative;
  padding: 0 4px;
}

.header__bottom .navigation li:hover,
.header__bottom .navigation li:focus {
  opacity: 0.6;
}

.header__bottom .navigation li:hover::after,
.header__bottom .navigation li:focus::after {
  opacity: 1;
}

.header__bottom .navigation li:first-of-type {
  margin-left: 0;
}

.header__bottom .navigation li .current-page {
  position: relative;
  z-index: 10;
}

.header__bottom .navigation li .current-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  right: -4px;
  bottom: 0;
  background: #f4f4f4;
  z-index: -1;
}

.header__bottom .navigation li .text-background {
  padding: 1px 3px;
  line-height: 1.2;
  text-transform: capitalize;
}


/* Top header part  */
.header-top {
  display: flex;
  justify-content: space-between;
  background-color: #000;
  padding: 0 24px;
  color: #fff;
  height: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .header-top {
    padding: 0 40px;
  }
}

.header-top__left svg {
  max-width: 77px;
  height: 24px;
  fill: #fff;
  position: relative;
  top: 4px;
  padding-right: 3px;
  box-sizing: content-box;
}

.header-top__left .undo-icon {
  position: relative;
  top: 2px;
  padding-right: 5px;
}

.header-top__right {
  display: flex;
  align-items: center;
}


.header-top__right .login,
.header-top__right .logout {
  color: #fff;
  font-size: 14px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid #707070;
  /* display: none; */
}


@media (min-width: 768px) {
  .header-top__right .login,
  .header-top__right .logout input {
    display: block;
  }
}

.red-bar {
  color: #fff;
  width: calc(100% + 48px);
  max-width: calc(100% + 48px);
  overflow: hidden;
  white-space: nowrap;
  background-color: #900;
  position: relative;
  left: -24px;
  right: 24px;
}

@media (min-width: 768px) {
  .red-bar {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
  }
}

.red-bar .red-bar__link  {
  display: flex;
  gap: 50px;
  box-sizing: content-box;
  color: #fff;
  font-size: 16px;
  padding: 3px 0;
  padding-left: 40px;
  font-weight: normal;
  margin-left: 0px;
  width: 10000px;
  animation: marquee 150s linear infinite;

}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}