/* 导航栏 */
.nav-container {
  background: #fd9c33;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  min-height: 60px;
}

.nav-container .nav-toggle {
  background: none;
  border: none;
  display: none;
  width: 0px;
  height: 60px;
  position: relative;
}

.nav-container .nav-toggle .nav-toggle-line {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #fdfffe;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  position: absolute;
  content: " ";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fdfffe;
}

.nav-toggle-line::before {
  top: -8px;
}

.nav-toggle-line::after {
  top: 8px;
}

.nav-container .nav-list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
}

.nav-container .nav-item {
  width: 100px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  font-size: 16px;
  color: #fdfffe;
}

.nav-container .nav-item > a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.nav-item:hover {
  background-color: #572d00;
}

.nav-container .dont-select:hover {
  background-color: transparent;
}

.nav-container .dont-select {
  display: none;
}

/* !!!!!!!!! 响应式 !!!!!!!!! */
@media screen and (max-width: 768px) {
  .nav-container {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .nav-container .nav-toggle {
    width: 25%;
    display: block;
  }

  .nav-container .nav-list {
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    background: #fd9c33;
    max-height: 180px;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
  }

  .nav-container .nav-list.h5-shrink {
    max-height: 60px;
  }

  .nav-container .nav-item {
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    width: 25%;
  }

  .nav-container .nav-list.active {
    display: -ms-flexbox;
    display: flex;
  }

  .nav-container .dont-select {
    display: block;
  }
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  padding: 0;
  margin: 0;
}
