/* 侧边栏下划线（download页特殊） */

#sidebar>li>a {
  display: block;
}

/* 侧边栏区分大类显示小类目 */
.download-subcategory {
  display: flex !important;
}

.qa-subcategory {
  display: none;
}

.title-mobile {
  display: none;
}


/* 图标选中效果 */

.active-img,
.nav-item:hover>svg path {
  fill: rgb(233, 140, 17);
}

.nav-item:hover>a {
  color: rgb(233, 140, 17) !important;
}

.unactive-img path {
  fill: rgb(102, 102, 102);
}


/* 下载图片悬浮效果 */

.download-img:hover path {
  fill: rgb(233, 140, 17);
}


/* 商品 */

.product-item {
  flex: 0 0 25%;
  max-width: 25%;
  text-align: center;
}

.product-item>img {
  width: 80%;
  display: block;
  margin: auto;
  border: 1px solid rgb(210, 210, 210);
}

.product-item>span {
  height: 26px;
  display: block;
  margin: 3vw auto;
}


/* 鼠标悬浮动画 */

.product-item:hover>img {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.product-item:hover>span {
  font-size: large;
  font-weight: bolder;
  color: rgb(233, 140, 17);
}

/* sp页面跳转按钮 */
.sp-link-box {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 85%;
  max-width: 85%;
  margin-bottom: 1.5vh;
  margin-left: auto;
  margin-right: auto;
}

.sp-link {
  display: block;
  width: 8rem;
  float: right;
  text-align: center;
  background-color: rgb(233, 140, 17);
  color: #fff;
  border-radius: 5px 5px;
}

.sp-link:hover {
  color: #fff;
  text-decoration: none;
}

/* 表格 */
.table-box {
  display: flex;
  flex: 0 0 85%;
  max-width: 85%;
  margin-bottom: 10vh;
  margin-left: auto;
  margin-right: auto;
}

.table-head {
  background-color: rgb(204, 204, 204);
}


/* 激活码标题 */
.active-code-title-box {
  flex: 0 0 95%;
  max-width: 95%;
  margin-bottom: 2.5vh;
  margin-left: auto;
  margin-right: auto;
}

.active-code-title {
  display: inline-block;
  padding-bottom: 0.5rem;
  font-size: 1.5rem;
  border-bottom: 3px solid rgb(233, 140, 17);
}

/* 表单 */
.form-box {
  flex: 0 0 95%;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

/* 自动填充 */
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 9999;
  top: 100%;
  left: 0;
  right: 0;
  margin-left: 15px;
  margin-right: 15px;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}


/* 提交按钮 */

.sub-btn button {
  width: 100%;
  height: 100%;
  font-size: 0.8rem;
  padding: 0 15px;
  color: #fff;
  background-color: rgb(233, 140, 17);
}

.sub-btn:hover button {
  color: #fff;
  font-weight: bolder;
}


/* 平板横屏 */

@media (max-width: 1024px) {
  .product-item {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 1rem;
  }
}


/* 平板 */

@media (max-width: 768px) {  
  .product-item {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  /* 表格 */
  .table-box {
    flex: 0 0 95%;
    max-width: 95%;
    margin-bottom: 8vh;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
  }
}


/* 移动端 */

@media (max-width: 576px) {

  .title-mobile {
    display: block;
    width: 100%;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .title-mobile>span {
    padding-bottom: 0.6rem;
    border-bottom: 3px solid rgb(233, 140, 17);
  }

  .product-item {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  /* 跳转链接 */
  .sp-link {
    float: inherit;
    margin: auto;
  }

  /* 表格 */
  .table-box {
    flex: 0 0 95%;
    max-width: 95%;
    margin-bottom: 8vh;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
  }

  /* 提交按钮 */
  .sub-btn button {
    font-size: 1rem;
    line-height: 3;
  }
}
