.category {
  max-width: 250px;
  border: 1px solid #ddd;
  margin-bottom: 30px;
}
@media (max-width: 992px) {
  .category {
    max-width: 100%;
  }
}
.category .cate-title {
  background-color: #57C1CF;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 1.3rem;
}
@media (max-width: 992px) {
  .category .cate-title {
    display: none;
  }
}
.category ul {
  padding: 0;
  margin: 0;
}
.category .cate-list ul {
  display: none;
}
.category > ul > li a {
  color: #000;
  border-top: 1px solid #eee;
  padding: 10px 20px 10px 20px;
  display: block;
}
.category > ul > li a:hover {
  background-color: #c9f0f5;
}
.category > ul > li a.current {
  background-color: #c9f0f5;
}
.category > ul > li > ul > li > a {
  background-color: #fbfbfb;
  padding-left: 35px;
  position: relative;
}
.category > ul > li > ul > li > a:before {
  position: absolute;
  left: 20px;
  top: 8px;
  display: block;
  content: "...";
  color: #57C1CF;
}
.category > ul > li.open a:after {
  transform: rotate(0deg);
}
.category li {
  list-style: none;
}
.category li a {
  text-decoration: none;
}
.category li.hasul {
  position: relative;
}
.category li.hasul > a:before, .category li.hasul > a:after {
  position: absolute;
  right: 15px;
  top: 20px;
  display: block;
  content: "";
  width: 9px;
  height: 1px;
  background: #57C1CF;
  transition: all 0.2s ease-in-out;
}
.category li.hasul > a:after {
  transform: rotate(90deg);
}
.category .cate-switch {
  display: none;
  position: relative;
}
.category .cate-switch:after {
  content: "";
  position: absolute;
  top: 14px;
  right: 20px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: all 0.3s ease-in-out;
}
@media (max-width: 992px) {
  .category .cate-switch {
    display: block;
    cursor: pointer;
    background: #57C1CF;
    color: #fff;
    padding: 10px;
    text-align: center;
  }
}
@media (max-width: 992px) {
  .category .cate-list {
    display: none;
  }
}
.category.open .cate-list {
  display: block;
}
.category.open .cate-switch:after {
  transform: rotate(135deg);
}