/*--------------------------------------------------------------
  header
  --------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  width: 100%;
  height: 120px;
  position: fixed;
  border-bottom: 1px solid transparent;
}

.header.sticked {
  background: #000000e6;
}

.header .logo img {
  max-height: 60px;
  z-index: 998;
}

.header.navhover {
  background: #000000e6;
  border-bottom: 1px solid #ffffff33;
}

/*--------------------------------------------------------------
  desktop nav
  --------------------------------------------------------------*/
.header .menu_bg {
  width: 100%;
  height: 190px;
  background: #000000e6;
  position: absolute;
  top: 120px;
  left: 0;
  border-bottom: 1px solid #ffffff33;
  display: none;
}

.header .depth1 {
  text-align: center;
  font-size: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header .depth1 li {
  display: inline-block;
  position: relative;
}

.header .depth1 li a {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 120px;
  transition: 0.2s;
  color: #ffffff;
  text-transform: uppercase;
}

.header .depth1 li:hover > a {
  color: #5cb2f5;
}

.header .depth2 {
  position: absolute;
  left: 0;
  right: 0;
  padding: 20px 0;
  border-left: 1px solid #ffffff33;
  display: none;
}

.header .depth2 li {
  display: block;
  width: 100%;
}

.header .depth2 li a {
  font-family: var(--font-default);
  font-size: 16px;
  font-weight: 300;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  color: #ffffff;
  transition: 0.2s;
  text-transform: inherit;
}

.header .depth2 li a:hover {
  color: #5cb2f5;
}

.header .sitemap-open-btn {
  width: 40px;
  height: 40px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 0;
  display: block;
  z-index: 998;
}

.header .sitemap-open-btn svg {
  height: 20px;
  fill: #ffffff;
}

.header .sitemap-wrap {
  width: 100%;
  height: 100vh;
  position: fixed;
  background-color: #000000;
  z-index: 99999;
  top: 0;
  left: 0;
  display: none;
}

.header .sitemap-header {
  width: 100%;
  height: 120px;
  transition: all 0.5s;
}

.header .sitemap-header .sitemap-logo img {
  max-height: 60px;
}

.header .sitemap-close-btn {
  width: 40px;
  height: 40px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 0;
  display: inline-block;
}

.header .sitemap-close-btn svg {
  height: 22px;
  fill: #ffffff;
}

.notScroll {
  overflow: hidden;
  width: 100%;
  height: 100vh;
  touch-action: none;
}

.header .sitemap-wrap .sub-nav {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.header .sitemap-wrap .sub-nav > li > a {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 40px;
  display: block;
  padding: 0.5em 1.25em;
  transition: all 0.5s;
  font-family: var(--font-primary);
}

.header .sitemap-wrap .sub-nav .nav {
  display: block;
  padding: 0;
  margin: 0;
}

.header .sitemap-wrap .sub-nav .nav > li > a {
  color: #ffffff;
  font-weight: 500;
  font-size: 20px;
  display: block;
  line-height: 3.5em;
  height: 3.5em;
  word-break: keep-all;
  transition: all 0.5s;
}

@media (max-width: 1024px) {
  .header .sitemap-wrap .sub-nav > li > a {
    font-size: 30px;
  }

  .header .sitemap-wrap .sub-nav .nav > li > a {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
  mobile nav
  --------------------------------------------------------------*/
@media (max-width: 992px) {
  .header {
    height: 100px;
  }

  .header .logo img {
    height: 45px;
  }

  .header .depth1 {
    display: none;
  }

  .header .sitemap-header {
    height: 100px;
  }

  .header .sitemap-header .sitemap-logo img {
    height: 45px;
  }

  .header .sitemap-wrap .sub-nav {
    text-align: inherit;
    display: flex;
    flex-direction: column;
    justify-content: inherit;
    padding: 0 80px;
    margin: 0;
  }

  .header .sitemap-wrap .sub-nav > li {
    display: flex;
  }

  .header .sitemap-wrap .sub-nav > li > a {
    padding: 0;
    display: inline-block;
  }

  .header .sitemap-wrap .sub-nav .nav {
    display: block;
    padding: 0;
    margin-bottom: 40px;
  }

  .header .sitemap-wrap .sub-nav .nav > li > a {
    height: inherit;
    line-height: inherit;
    margin: 10px 0 20px 40px;
  }
}

@media (max-width: 768px) {
  .header .sitemap-wrap .sub-nav > li > a {
    font-size: 22px;
  }

  .header .sitemap-wrap .sub-nav .nav > li > a {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .header .sitemap-wrap .sub-nav {
    padding: 0 30px;
  }
}
