@charset "utf-8";
/* @import url('/logo/logo.css'); */

.main-logo {
  width: 60px;
  height: 60px;
  position: relative;
  top: 16px;
}

.main-logo a {
	background: url('../imgs/logo_KL3D.png?v=3') center center no-repeat;
    background-size: contain;

    width: 100%;
    height: 100%;
    display: block;
    text-indent: -9999em;
    overflow: hidden;
}

.nav-menu {
  position: absolute;
  z-index: 10;
  height: 93px;
  width: 1920px;
  top: 0px;
  left: 50%;
  margin-left: -960px;
  /* transition: .5s; */
  transform-origin: 50% 0;
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)); */
}

.nav-menu::before {
  content: ' ';
  position: fixed;
  z-index: -1;
  height: 90px;
  width: 1920px;
  width: 100%;
  min-width: 120vw;
  top: 0px;
  left: 50%;
  /* margin-left: -960px; */
  /* transition: .5s; */
  /* transform-origin: 50% 0; */
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.nav-menu.on {
  top: 0;
}

.nav-menu.show {
  height: 250px;
}

.nav-menu>.center {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav-menu>.center .logo {
  top: 1px;
  /* position: absolute;
  right: 1470px; */
  transform: scale(3) !important;
  transform-origin: center center;
  left: -177px;
}

.nav-menu>.center>ul {
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  box-sizing: border-box;
  padding-top: 17px;
}

.nav-menu>.center>ul li.nav_item {
  position: relative;
  float: none;
  flex: 0 0 auto;
  width: auto;
  min-width: 140px;
  padding: 0 14px;
  box-sizing: border-box;
  font-size: 24px;
  font-family: 'MyCustomSong', sans-serif;
  color: #fff;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.nav-menu>.center>ul li.nav_item a {
  display: block;
  color: #02675c;
  line-height: 1.25;
  white-space: nowrap;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 600;
}

.nav-menu>.center>ul li.nav-user-item a {
  color: #02675c;
}


.nav-menu>.center>ul li.nav_item span {
  font-size: 10px;
  opacity: .2;
  margin-top: 5px;
  letter-spacing: 2px;
  display: none;
}

.nav-menu>.center>ul span.line {
  flex: 0 0 3px;
  width: 3px;
  height: 40px;
  display: inline-block;
  background: none 0 0 no-repeat;
  background-size: 100% 100%;
}



.nav-menu.dark>.center>ul li:hover,
.nav-menu.dark>.center>ul li.act {
  color: #ffffff;
}

.nav-menu>.center>ul li:hover:after,
.nav-menu>.center>ul li.act:after {
  opacity: 1;
}

.nav-menu>.center>ul li:first-child::before {
  display: none;
}

.nav-menu .more-menu-info {
  width: 100%;
  height: 175px;
  position: absolute;
  top: 82px;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.nav-menu .more-menu-info.show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.nav-menu .more-menu-info .select-menu ul {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}

.nav-menu .more-menu-info li {
  float: left;
  width: 140px;
  opacity: 0;
  text-align: center;
  background: linear-gradient(to bottom, rgba(164, 136, 102, 0.12), rgba(164, 136, 102, 0.5), rgba(164, 136, 102, 0.12));
}

.nav-menu .more-menu-info.show li {
  opacity: 1;
}

.nav-menu .more-menu-info li.on {
  visibility: visible;
  opacity: 1;
}




/* 二级类目 */
ul.erji_more {
  display: none;
  position: absolute;
  top: 24px;
  padding: 10px 0;
  /* background: linear-gradient(to bottom, rgba(164, 136, 102, 0.02), rgba(164, 136, 102, 0.5), rgba(164, 136, 102, 0.02)); */
  background: none no-repeat center 40%;
  background-size: 100% 140%;
}

ul.erji_more.act {
  display: block;
}

.erji_more li {
  width: 140px;
  text-align: center;
}

.erji_more>li:hover,
.erji_more>li.act {
  color: #d4b070;
}

.erji_more li a {
  text-align: center;
  display: block;
  color: #fff;
  font-size: 1em;
  line-height: 40px;
  transition: transform 0.3s ease;
  margin: 0 auto;
  font-family: 'MyCustomSong', sans-serif;
  background: none no-repeat 50% 100%/72px 5px;
  position: relative;
}

.erji_more li:nth-last-of-type(1) a {
  background: none;
}

.erji_more li a:hover {
  color: #d4b070 !important;
}

.menus>li.nav_item:hover .erji_more {
  display: block;
}
.nav-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--thiennu-nav-height, 90px);
  margin-left: 0;
  background: #ffffee;
  box-shadow: 0 1px 0 rgb(2 103 92 / 10%);
  transform: none !important;
}
.thiennu-age-badge {
  position: absolute;
  z-index: 9;
  top: var(--thiennu-nav-height, 90px);
  right: 0;
  display: block;
  width: clamp(120px, 10vw, 192px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .thiennu-age-badge { width: clamp(96px, 18vw, 130px); }
}