header {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 9999;
  background: var(--header_bg_color, #ffffff);
  -webkit-transition: padding 0.3s linear;
  -moz-transition: padding 0.3s linear;
  transition: padding 0.3s linear;
}

header.active, .other_header {
  -webkit-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
  -ms-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
  -o-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
}

.logo a {
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu li {
  position: relative;
  margin-left: 39px;
  padding: 0px !important;
  line-height: initial !important;
  font-size: initial !important;
}

.menu li:after {
  content: none !important;
}

.menu li:first-child {
  margin-left: 0px;
}

.menu li a {
  display: block;
  font-size: 16px;
  color: var(--header_font_color, #000);
  font-family: 'Metropolis Semi';
  font-weight: 600;
  line-height: 19px;
  letter-spacing: 0.32px;
}

.menu li a:after {
  position: absolute;
  content: "";
  left: 0px;
  width: 100%;
  height: 4px;
}

header.active .menu li a:after {
  top: -42px;
}

.menu li.active a:after, .menu li a:hover:after {
  background: var(--header_active_color, #000);
}

.header_btn {
  margin-left: 39px;
  transform: translateY(6px);
}

header .btn-black, header .btn-black-small {
  background-color: var(--header_active_color, black);
  border-color: var(--header_active_color, black);
}

header .btn-black:hover, header .btn-black-small:hover {
  color: var(--header_active_color, black) !important;
}

.toggleMenu {
  cursor: pointer;
  display: none;
}

.toggleMenu span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--header_font_color, #000);
  margin: 5px 0px;
}

.closeMenu {
  height: 25px;
  width: 30px;
  cursor: pointer;
  margin-top: 10px;
  position: relative;
  margin-left: 10px;
  display: none;
}

.closeMenu:before, .closeMenu:after {
  position: absolute;
  left: 13px;
  content: ' ';
  height: 20px;
  width: 2px;
  background-color: var(--header_font_color, #000);
  top: 2px;
}

.closeMenu:before {
  transform: rotate(45deg);
}

.closeMenu:after {
  transform: rotate(-45deg);
}

.pageOverlay {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 8;
  display: none;
}

.pageOverlay.active {
  display: block;
}

.submenu {
  position: absolute;
  min-width: 270px;
  background: var(--header_active_color, #000);
  border-radius: 0px 0px 5px 5px;
  top: 46px;
  left: 0px;
  visibility: hidden;
  opacity: 0;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
  -webkit-transition: transform 0.3s linear;
  -moz-transition: transform 0.3s linear;
  transition: transform 0.3s linear;
}

.submenu:after {
  position: absolute;
  content: "";
  top: -29px;
  left: 0px;
  height: 29px;
  width: 100%;
  background: transparent;
}

.submenu:before {
  position: absolute;
  content: "";
  height: 6px;
  width: 52px;
  left: 0px;
  top: -6px;
  background: var(--header_active_color, #000);
}

.hasmenu:hover .submenu {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.submenu li {
  margin-left: 0px !important;
}

.submenu a {
  display: block;
  letter-spacing: 0.32px;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: bold;
  line-height: 22px !important;
  padding: 11.8px 26px !important;
}

.submenu a:after {
  content: none !important;
}

.submenu li:last-child a {
  border-radius: 0px 0px 5px 5px;
}

.submenu a:hover, .submenu li.active a {
  background: #434343;
}

.openMenu {
  display: none;
}

.dropdown-lang {
  margin-left: 15px;
  position: relative;
  transform: translateY(-2px);
  display: inline-block;
}

.dropdown-lang img {
  max-width: 30px;
  max-height: 30px;
  transform: translateY(-1px);
}

.btn-language {
  display: block;
  min-width: 47px;
  height: 47px;
  padding: 0px 15px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 47px;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  text-align: center;
  cursor: pointer;
}

.dropdown-lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  background-color: #fff;
  border: 1px solid #ced4da;
  width: 100%;
  line-height: 47px;
  border-radius: 0.25rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  color: #212529;
}

.dropdown-lang-menu.active {
  display: block;
}

.dropdown-lang-item {
  display: inline-block;
  width: 100%;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
}

.dropdown-lang-item:hover {
  cursor: pointer;
}

.dropdown-lang.open .dropdown-lang-menu {
  display: inline-block;
  min-width: auto;
  transition: all 0.5s ease-out;
  top: 33px;
}

@media (min-width: 1460px) and (max-width: 1559px) {
  header {
    padding: 17px 0px;
  }

  .logo a img {
    height: 76px;
  }

  .menu li a:after {
    top: -46px;
  }

  header.active .menu li a:after {
    top: -42px;
  }
}

@media (min-width: 1360px) and (max-width: 1459px) {
  header {
    padding: 17px 0px;
  }

  .logo a img {
    height: 76px;
  }

  .menu li a:after {
    top: -46px;
  }

  header.active .menu li a:after {
    top: -42px;
  }
}

@media (min-width: 1200px) and (max-width: 1359px) {
  header {
    padding: 15px 0px;
  }

  .logo a img {
    height: 68px !important;
  }

  .menu li {
    margin-left: 35px;
  }

  .header_btn {
    margin-left: 35px;
  }

  .menu li a:after {
    top: -40px !important;
  }

  .submenu {
    min-width: 245px;
  }

  .submenu a {
    font-size: 14px !important;
    line-height: 20px !important;
    padding: 10px 15px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  header {
    padding: 15px 0px;
  }

  .logo a img {
    height: 51px !important;
  }

  .menu li {
    margin-left: 23px;
  }

  .menu li a {
    font-size: 15px;
  }

  .header_btn {
    margin-left: 23px;
  }

  .menu li a:after {
    height: 3px;
    top: -31px !important;
  }

  .submenu {
    min-width: 245px;
  }

  .submenu a {
    font-size: 14px !important;
    line-height: 20px !important;
    padding: 10px 15px !important;
  }
}

@media (max-width: 991px) {
  header {
    padding: 10px 0px !important;
  }

  .logo a img {
    height: 56px !important;
  }

  .header-menu {
    position: fixed;
    top: 0px;
    right: -300px;
    width: 280px;
    background: var(--header_bg_color, #fff);
    z-index: 10;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    display: block;
    box-shadow: 0px 2px 3px rgb(0 0 0 / 10%);
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
  }

  .header-menu.active {
    right: 0px;
  }

  .menu {
    display: block;
  }

  .menu li {
    margin-left: 0px;
  }

  .menu li a {
    font-size: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }

  .menu li a:after {
    height: 2px;
    top: auto !important;
  }

  .closeMenu {
    display: block;
  }

  .header_btn {
    margin-left: 0px;
    padding: 15px;
  }

  .header_btn .btn {
    width: 100%;
  }

  .toggleMenu {
    display: block;
    cursor: pointer;
  }

  .openMenu {
    display: flex;
    position: absolute;
    right: 0px;
    top: 0px;
    height: 44px;
    width: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .submenu {
    position: relative;
    min-width: 100%;
    background: #000000;
    border-radius: 0px;
    top: 0px;
    display: none;
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
  }

  .openMenu img {
    width: 16px;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
  }

  .openMenu.active img {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }

  .submenu:before, .submenu:after {
    content: none;
  }

  .submenu a {
    font-size: 15px !important;
    line-height: 20px !important;
    padding: 10px 15px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
}