main {
  background-color: #f2f2f2;
}
.expandable-form {
  width: 100%;
}

.form-toggle {
  /* display: none; */
}

.expand-button {
  display: block;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.6s;
}

.expand-button:hover {
  background-color: #d0d0d0;
}

.form-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-out;
  border: 1px solid transparent;
  border-radius: 0 0 4px 4px;
  max-height: 800px;
  border-color: #ddd;
  /* padding: 15px; */
  margin-top: 5px;
}

.form-toggle:checked ~ .form-content {
  /* max-height: 800px; 
  border-color: #ddd;
  padding: 15px;
  margin-top: 5px; */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-out;
  border: 1px solid transparent;
  border-radius: 0 0 4px 4px;
  /* padding: 15px; */
}

.form-toggle:checked ~ .expand-button::after {
  /* content: "▲"; */
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
main .expandable-form {
  padding: 20px 3vw;
}
main .expandable-form .top {
  font-weight: 700;
  font-size: 20px;
}
main .expandable-form .forms {
  display: grid;
  /* grid-template-columns: repeat(20, 1fr); 筛选改后新代码*/ 
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  overflow-x: auto;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}
main .expandable-form .forms .item {
  /* background-color: #fff;  筛选改后新代码*/
  /* padding: 16px 24px; 筛选改后新代码 */
  padding:5px 34px;
  /* margin-left: 12px; */
  border-radius: 10px;
  /* width: 260px;筛选改后新代码 */
  /* margin-bottom: 20px;筛选改后新代码 */
}
main .expandable-form .forms .item .label {
  margin-bottom: 8px;
  /* border-bottom: 1px solid #ccc;筛选改后新代码 */
  padding-bottom: 8px;
  /* font-weight: 700; 筛选改后新代码*/
}
main .expandable-form .forms .item .content {
  /* height: 200px;
  overflow-y: auto;
  white-space: nowrap; 筛选改后新代码 */
}
main .expandable-form .forms .form-item {
  background-color: #ffffff;
  border: 1px #cfcfcf solid;
  width: 90px;
}
main .expandable-form .form-item-1 {
  background-color: #ffffff;
  border: 1px #cfcfcf solid;
  width: 180px;
}

main .expandable-form .form-item-checkbox-flex {
  display: flex;
  margin-bottom: 4px;
}

main .expandable-form .form-item-checkbox {
  appearance: auto;
  width: 20px;
  margin-right: 16px;
}

main .expandable-form .bottom {
  margin-top: 12px;
  justify-content: end;
}
main .expandable-form .menu {
  margin-top: 24px;
  padding-left: 12px;
  display: none;
}
main .expandable-form .bottom .query-btns {
  margin-top: 12px;
  margin-bottom: 12px;
}
main .expandable-form .bottom .query-btns .btn {
  padding: 6px 16px;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  margin-right: 12px;
}
main .expandable-form .bottom .query-btns .reset {
  background-color: #313131;
}
main .expandable-form .bottom .query-btns .btn:hover {
  background-color: #00a79d;
}
main .product-page {
  position: relative;
}
main .product-page .menu .menu-item {
  border-bottom: 1px #b5b5b5 solid;
  cursor: pointer;
}
main .product-page .menu .menu-item li {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 50px;
  list-style-type: circle;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
main .product-page .menu .menu-item li::marker {
  content: "◎ ";
  color: #d0d0d0;
}
main .product-page .menu .active li::marker {
  color: #333;
}
main .product-page .menu .menu-item .menu-children .children-item {
  padding: 10px;
  padding-left: 80px;
  padding-right: 40px;
  color: #313131;
  font-weight: 500;
  cursor: pointer;
}
main .product-page .menu .menu-item .menu-children .children-item:hover {
  background-color: #00a79d;
  color: #fff;
}
main .product-page .menu .menu-item .menu-children .active-children {
  background-color: #00a79d;
  color: #fff;
}
main .product-page .content {
  position: relative;
  min-height: 85vh;
  flex: 1;
  background-color: #fff;
  margin: 40px;
  margin-top: 0;
  padding: 20px 30px;
  width: 100%;
}
main .product-page .content .content-tit {
  position: relative;
}

main .product-page .menu-content {
  position: absolute;
  top: 100%;
  right: 0;
  max-height: 0;
  overflow: hidden;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  border-radius: 0 0 4px 4px;
  transition: max-height 0.3s ease-out;
  z-index: 1;
}
main .product-page .menu-content .menu_1 {
  min-width: 150px;
}
main .product-page .menu-content ul li a {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  background-color: #c3c2c3b0;
}
main .product-page .content .data-table {
  overflow-x: auto;
}
main .product-page .content .ODM_OEM {
  margin-top: 56px;
}
main .product-page .content .ODM_OEM .ODM_OEM-txt {
  width: 60%;
}
main .product-page .content .data-table {
  padding: 30px 0;
  padding-bottom: 76px;
}
main .product-page .content .data-table table {
  width: 100%;
  color: #313131;
  border-collapse: collapse;
}
main .product-page .content .data-table table td {
  text-align: center;
}
main .product-page .content .data-table table thead {
  font-weight: 600;
}
main .product-page .content .data-table table thead td {
  border-bottom: 2px #333 solid;
  padding: 0 8px;
  white-space: nowrap;
}
main .product-page .content .data-table table thead td span:first-child {
  display: block;
}
main .product-page .content .data-table table thead td span:last-child {
  display: none;
}
main .product-page .content .data-table table tbody tr:hover {
  background-color: #f2f2f2;
  cursor: pointer;
}
main .product-page .content .data-table table tbody td {
  border-bottom: 1px #a3a3a3 solid;
  padding: 8px 6px;
}
main .product-page .content .data-table table tbody td a {
  text-decoration: underline;
}
main .product-page .content .data-table table tbody td a:hover {
  color: #00a79d;
}
main .product-page .content .data-table table tbody td img {
  width: 60px;
  margin: auto;
}
main .product-page .content .pagination {
  /* text-align: center; */
  /* width: 50%; */
  /* margin: 0 auto; */
  overflow: hidden;
  display: flex;
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
}
main .product-page .content .pagination .pagination-prev {
  display: inline-block;
  text-transform: uppercase;
  line-height: 2;
  margin-top: 2px;
  padding: 0 8px;
  height: 36px;
  min-width: 38px;
  border-radius: 38px;
  border: 1px #a3a3a3 solid;
  cursor: pointer;
  letter-spacing: 0.03em;
  text-align: center;
}
main .product-page .content .pagination .pagination-prev:hover {
  background-color: #00a79d;
  color: #fff;
}
main .product-page .content .pagination .pagination-item {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 2;
  text-align: center;
  border-radius: 50%;
  border: 1px #a3a3a3 solid;
  cursor: pointer;
  margin: 3px 6px;
}
main .product-page .content .pagination .active {
  background-color: #00a79d;
  color: #fff;
}

@media (max-width: 1200px) {
  main .product-page .menu {
    display: none;
  }
  main .expandable-form .menu {
    display: inline-flex;
  }
  main .expandable-form .forms {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 10px;
    overflow-x: auto;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
  }
  main .expandable-form .forms .item:nth-child(1) {
    width: 220px;
  }
  main .expandable-form .forms .item {
    width: 180px;
  }
  main .product-page .content .pagination {
    bottom: 40px;
  }
}
@media (max-width: 767px) {
  main .expandable-form .forms {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 10px;
    overflow-x: auto;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
  }
  main .expandable-form .forms .item:nth-child(1) {
    width: 220px;
  }
  main .expandable-form .forms .item {
    width: 180px;
  }
  main .expandable-form .forms .form-item {
    width: 65px;
  }
  main .expandable-form .form-item-1 {
    width: 130px;
  }
  main .product-page .content .ODM_OEM .ODM_OEM-txt {
    width: 100%;
  }
  main .product-page .content {
    margin: 0;
    padding: 15px 15px;
  }
  main .product-page .content .data-table table thead td {
    padding: 0 6px;
    white-space: nowrap;
  }
  main .product-page .content .data-table table thead td span:last-child {
    display: block;
  }
  main .product-page .content .data-table table thead td span:first-child {
    display: none;
  }
  main .product-page .content .pagination {
    /* width: 100%; */
    bottom: 40px;
  }
  main .product-page .content .pagination .pagination-item {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 18;
  }
  main .product-page .content .pagination .pagination-prev {
    font-size: 12px;
    height: 28px;
  }
}
